Fix Bug #550: AI修复
This commit is contained in:
@@ -1,72 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 就诊账户管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_account")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Account extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 状态枚举 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 结账状态枚举 */
|
||||
private Integer billingStatusEnum;
|
||||
|
||||
// 2025.04.10 经确认此处原有的【1 CASH 个人现金账户 | 2 医保账户】改为【01医保电子凭证 | 02 居民身份证 | 03 社会保障卡 | 04 个人现金账户】
|
||||
/** 账户类型编码 */
|
||||
private String typeCode;
|
||||
|
||||
/** 编码 */
|
||||
private String no;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 患者id */
|
||||
private Long patientId;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 账户余额 */
|
||||
private BigDecimal balanceAmount;
|
||||
|
||||
/** 医保区域编码 */
|
||||
private String ybAreaNo;
|
||||
|
||||
/** 合同编码 */
|
||||
private String contractNo;
|
||||
|
||||
/** 欠费限制额度 */
|
||||
private BigDecimal limitAccount;
|
||||
|
||||
/** 是否为就诊登记使用 */
|
||||
private Integer encounterFlag;
|
||||
|
||||
/** 险种类型 */
|
||||
private String insutype;
|
||||
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_user")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BizUser extends HisBaseEntity {
|
||||
|
||||
/** 用户ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long userId;
|
||||
|
||||
/** 部门ID */
|
||||
private Long deptId;
|
||||
|
||||
/** 用户账号 */
|
||||
private String userName;
|
||||
|
||||
/** 用户昵称 */
|
||||
private String nickName;
|
||||
|
||||
/** 用户类型 */
|
||||
private String userType;
|
||||
|
||||
/** 用户邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 手机号码 */
|
||||
private String phonenumber;
|
||||
|
||||
/** 用户性别 */
|
||||
private String sex;
|
||||
|
||||
/** 用户头像 */
|
||||
private String avatar;
|
||||
|
||||
/** 密码 */
|
||||
private String password;
|
||||
|
||||
/** 帐号状态(0正常 1停用) */
|
||||
private String status;
|
||||
|
||||
/** 删除标志(0代表存在 2代表删除) */
|
||||
private String delFlag;
|
||||
|
||||
/** 最后登录IP */
|
||||
private String loginIp;
|
||||
|
||||
/** 最后登录时间 */
|
||||
private Date loginDate;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 用户角色Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_user_role")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BizUserRole {
|
||||
|
||||
/** 用户ID */
|
||||
@TableId(type = IdType.INPUT)
|
||||
private Long userId;
|
||||
|
||||
/** 角色ID */
|
||||
private Long roleId;
|
||||
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 身体部位管理Entity实体
|
||||
*
|
||||
* @author liuhr
|
||||
* @date 2025-07-22
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_body_structure")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BodyStructure extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 部位名称 */
|
||||
private String name;
|
||||
|
||||
/** 状态枚举 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 修改价格记录Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_change_price_record")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ChangePriceRecord extends HisBaseEntity {
|
||||
|
||||
/** 本表id */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 仓库位置 */
|
||||
private Long locationId;
|
||||
|
||||
/** 改价申请人id */
|
||||
private Long applicantId;
|
||||
|
||||
/** 目标枚举 药品、耗材、诊疗、挂号 */
|
||||
private Integer itemCategoryEnum;
|
||||
|
||||
/** 药品ID、耗材ID、诊疗ID、挂号ID */
|
||||
private Long itemId;
|
||||
|
||||
/** 原进货价 */
|
||||
private BigDecimal originBuyingPrice;
|
||||
|
||||
/** 原新价格 */
|
||||
private BigDecimal originRetailPrice;
|
||||
|
||||
/** 审批人ID */
|
||||
private Long approverId;
|
||||
|
||||
/** 审批时间 */
|
||||
private Date approvalTime;
|
||||
|
||||
/** 删除标识 默认 0 未删除 */
|
||||
private String deleteFlag;
|
||||
|
||||
/** 当前品库存量 */
|
||||
private BigDecimal itemQuantity;
|
||||
|
||||
/** 零售价盈负差*/
|
||||
private BigDecimal differenceRetailPrice;
|
||||
/**进货价盈负差*/
|
||||
private BigDecimal differenceBuyingPrice;
|
||||
|
||||
/** 当前业务批次号 */
|
||||
private String busNo;
|
||||
|
||||
/** 改价原因 */
|
||||
private String description;
|
||||
|
||||
/** 改价申请时间 */
|
||||
private Date applicantTime;
|
||||
|
||||
/** 业务表名药品、耗材、诊疗、挂号 */
|
||||
private String itemTable;
|
||||
|
||||
/** 新进货价 */
|
||||
private BigDecimal newBuyingPrice;
|
||||
|
||||
/** 新零售价 */
|
||||
private BigDecimal newRetailPrice;
|
||||
|
||||
/** 物品计量单位 */
|
||||
private String unitCode;
|
||||
|
||||
/** 审批状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 批次号 */
|
||||
private String lotNumber;
|
||||
|
||||
/** 条件理由 */
|
||||
private String reason;
|
||||
|
||||
}
|
||||
@@ -1,247 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 费用项管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_charge_item")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ChargeItem extends HisBaseEntity {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer statusEnum;
|
||||
|
||||
/**
|
||||
* 账单生成来源
|
||||
*/
|
||||
private Integer generateSourceEnum;
|
||||
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/**
|
||||
* 处方号
|
||||
*/
|
||||
private String prescriptionNo;
|
||||
|
||||
/**
|
||||
* 患者ID
|
||||
*/
|
||||
private Long patientId;
|
||||
|
||||
/**
|
||||
* 类别
|
||||
*/
|
||||
private Integer contextEnum;
|
||||
|
||||
/**
|
||||
* 就诊ID
|
||||
*/
|
||||
private Long encounterId;
|
||||
|
||||
/**
|
||||
* 发生时间
|
||||
*/
|
||||
private Date occurrenceTime;
|
||||
|
||||
/**
|
||||
* 执行人Id
|
||||
*/
|
||||
private Long performerId;
|
||||
|
||||
/**
|
||||
* 执行科室
|
||||
*/
|
||||
private Long performingOrgId;
|
||||
|
||||
/**
|
||||
* 开立科室
|
||||
*/
|
||||
private Long requestingOrgId;
|
||||
|
||||
/**
|
||||
* 成本科室
|
||||
*/
|
||||
private Long costOrgId;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
private BigDecimal quantityValue;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String quantityUnit;
|
||||
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
/**
|
||||
* 总价
|
||||
*/
|
||||
private BigDecimal totalPrice;
|
||||
|
||||
/**
|
||||
* 费用定价ID
|
||||
*/
|
||||
private Long definitionId;
|
||||
|
||||
/**
|
||||
* 定价子表主键
|
||||
*/
|
||||
private Long defDetailId;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private BigDecimal baseAmount;
|
||||
|
||||
/**
|
||||
* 折后价格
|
||||
*/
|
||||
private BigDecimal discountAmount;
|
||||
|
||||
/**
|
||||
* 附加价格
|
||||
*/
|
||||
private BigDecimal surchargeAmount;
|
||||
|
||||
/**
|
||||
* 改价原因
|
||||
*/
|
||||
private String overrideReasonCode;
|
||||
|
||||
/**
|
||||
* 改价原因文本
|
||||
*/
|
||||
private String overrideReasonText;
|
||||
|
||||
/**
|
||||
* 开立人ID
|
||||
*/
|
||||
private Long entererId;
|
||||
|
||||
/**
|
||||
* 开立时间
|
||||
*/
|
||||
private Date enteredDate;
|
||||
|
||||
/**
|
||||
* 医疗服务所在表
|
||||
*/
|
||||
private String serviceTable;
|
||||
|
||||
/**
|
||||
* 医疗服务ID
|
||||
*/
|
||||
private Long serviceId;
|
||||
|
||||
/**
|
||||
* 产品所在表
|
||||
*/
|
||||
private String productTable;
|
||||
|
||||
/**
|
||||
* 产品ID
|
||||
*/
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 索赔结果
|
||||
*/
|
||||
private Integer claimStateEnum;
|
||||
|
||||
/**
|
||||
* 打印次数
|
||||
*/
|
||||
private Integer printCount;
|
||||
|
||||
/**
|
||||
* 关联账户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* 机构
|
||||
*/
|
||||
private Long orgId;
|
||||
|
||||
/**
|
||||
* 退费ID
|
||||
*/
|
||||
private Long refundId;
|
||||
|
||||
/**
|
||||
* 子项json
|
||||
*/
|
||||
private String childrenJson;
|
||||
|
||||
/**
|
||||
* 诊断id
|
||||
*/
|
||||
private Long conditionId;
|
||||
|
||||
/**
|
||||
* 就诊诊断id
|
||||
*/
|
||||
private Long encounterDiagnosisId;
|
||||
|
||||
/**
|
||||
* 中医标识
|
||||
*/
|
||||
private Integer tcmFlag;
|
||||
|
||||
/**
|
||||
* 执行id
|
||||
*/
|
||||
private Long procedureId;
|
||||
|
||||
/**
|
||||
* 发放所在表
|
||||
*/
|
||||
private String dispenseTable;
|
||||
|
||||
/**
|
||||
* 发放ID
|
||||
*/
|
||||
private Long dispenseId;
|
||||
|
||||
/**
|
||||
* 系统优惠价格
|
||||
*/
|
||||
private BigDecimal systemDiscountPrice;
|
||||
|
||||
/**
|
||||
* 人为二次调价
|
||||
*/
|
||||
private BigDecimal manualAdjustedPrice;
|
||||
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.openhis.common.enums.ActPriority;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 费用定价管理子Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_charge_item_def_detail")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ChargeItemDefDetail extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 费用定价主键ID */
|
||||
private Long definitionId;
|
||||
|
||||
/** 条件规则 */
|
||||
private Long conditionRuleId;
|
||||
|
||||
/** 条件 */
|
||||
private String conditionCode;
|
||||
|
||||
/** 命中值 */
|
||||
private String conditionValue;
|
||||
|
||||
/** 优先级 */
|
||||
private Integer priority;
|
||||
|
||||
/** 价格 */
|
||||
private BigDecimal amount;
|
||||
|
||||
public ChargeItemDefDetail() {
|
||||
// 默认优先级:常规
|
||||
this.priority = ActPriority.ROUTINE.getValue();
|
||||
}
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 费用定价管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_charge_item_definition")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ChargeItemDefinition extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
private String chargeName;
|
||||
|
||||
/** 标题 */
|
||||
private String title;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 机构ID */
|
||||
private Long orgId;
|
||||
|
||||
/** 描述 */
|
||||
private String description;
|
||||
|
||||
/** 代码 */
|
||||
private String instanceTable;
|
||||
|
||||
/** 关联项目 */
|
||||
private Long instanceId;
|
||||
|
||||
/** 有效时间开始 */
|
||||
private Date effectiveStart;
|
||||
|
||||
/** 有效时间结束 */
|
||||
private Date effectiveEnd;
|
||||
|
||||
/** 财务类别 */
|
||||
private String typeCode;
|
||||
|
||||
/** 医保类别 */
|
||||
private String ybType;
|
||||
|
||||
/** 是否使用详细价格规则 */
|
||||
private Integer conditionFlag;
|
||||
|
||||
/** 基础价格 */
|
||||
private BigDecimal price;
|
||||
|
||||
/**
|
||||
* 物价编码
|
||||
*/
|
||||
private String priceCode;
|
||||
}
|
||||
@@ -1,93 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.openhis.common.enums.DeviceSafety;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 器材基本信息管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_device")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class Device extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 器材编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 器材定义编号 */
|
||||
private Long deviceDefId;
|
||||
|
||||
/** 器材状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 器材可用状态 */
|
||||
private Integer availabilityEnum;
|
||||
|
||||
/** 厂家 */
|
||||
private String manufacturer;
|
||||
|
||||
/** 生产日期 */
|
||||
private Date manufactureDate;
|
||||
|
||||
/** 到期日期 */
|
||||
private Date expirationDate;
|
||||
|
||||
/** 批号 */
|
||||
private String lotNumber;
|
||||
|
||||
/** 厂家序列号 */
|
||||
private String serialNumber;
|
||||
|
||||
/** 器材名称 */
|
||||
private String name;
|
||||
|
||||
/** 器材别名 */
|
||||
private String alias;
|
||||
|
||||
/** 制造商编号 */
|
||||
private String modelNumber;
|
||||
|
||||
/** 零件编号 */
|
||||
private String partNumber;
|
||||
|
||||
/** 器材种类 */
|
||||
private Integer categoryEnum;
|
||||
|
||||
/** 器材类型 */
|
||||
private String typeCode;
|
||||
|
||||
/** 器材版本 */
|
||||
private String version;
|
||||
|
||||
/** 器材规格 */
|
||||
private String deviceSpecifications;
|
||||
|
||||
/** 归属科室 */
|
||||
private Long orgId;
|
||||
|
||||
/** 所在位置 */
|
||||
private Long locationId;
|
||||
|
||||
/** 负责人/科室 */
|
||||
private String support;
|
||||
|
||||
/** 器材安全 */
|
||||
private DeviceSafety safetyEnum;
|
||||
|
||||
}
|
||||
@@ -1,131 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 器材定义管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_device_definition")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class DeviceDefinition extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 器材名称 */
|
||||
private String name;
|
||||
|
||||
/** 器材名称拼音 */
|
||||
private String pyStr;
|
||||
|
||||
/** 器材五笔拼音 */
|
||||
private String wbStr;
|
||||
|
||||
/** 器材分类 */
|
||||
private String categoryCode;
|
||||
|
||||
/** 器材种类 */
|
||||
private String typeCode;
|
||||
|
||||
/** 包装单位 */
|
||||
private String unitCode;
|
||||
|
||||
/** 包装规格 */
|
||||
private String size;
|
||||
|
||||
/** 最小库存警戒数量(常规单位) */
|
||||
private BigDecimal itemMinQuantity;
|
||||
|
||||
/** 最大库存警戒数量(常规单位) */
|
||||
private BigDecimal itemMaxQuantity;
|
||||
|
||||
/** 拆零比 */
|
||||
private BigDecimal partPercent;
|
||||
|
||||
/** 最小使用单位 */
|
||||
private String minUnitCode;
|
||||
|
||||
/** 所属科室 */
|
||||
private Long orgId;
|
||||
|
||||
/** 所在位置 */
|
||||
private Long locationId;
|
||||
|
||||
/** 产品型号 */
|
||||
private String modelNumber;
|
||||
|
||||
/** 高值器材标志 */
|
||||
private Integer hvcmFlag;
|
||||
|
||||
/** 销售单位 */
|
||||
private String salesUnitCode;
|
||||
|
||||
/** 批准文号 */
|
||||
private String approvalNumber;
|
||||
|
||||
/** 医保标记 */
|
||||
private Integer ybFlag;
|
||||
|
||||
/** 医保编码 */
|
||||
private String ybNo;
|
||||
|
||||
/** 医药机构目录编码 */
|
||||
private String ybOrgNo;
|
||||
|
||||
/** 医保对码标记 */
|
||||
private Integer ybMatchFlag;
|
||||
|
||||
/** 医保等级 */
|
||||
private Integer chrgitmLv;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 生产厂家 */
|
||||
private Long manufacturerId;
|
||||
|
||||
/** 生产厂家 */
|
||||
private String manufacturerText;
|
||||
|
||||
/** 供应商 */
|
||||
private Long supplyId;
|
||||
|
||||
/** 说明 */
|
||||
private String description;
|
||||
|
||||
/** 适用范围 */
|
||||
private String jurisdiction;
|
||||
|
||||
/** 器材版本 */
|
||||
private String version;
|
||||
|
||||
/** 主要成分 */
|
||||
private String substanceText;
|
||||
|
||||
/** 过敏标记 */
|
||||
private Integer allergenFlag;
|
||||
|
||||
/** 处方标志 */
|
||||
private Integer rxFlag;
|
||||
|
||||
}
|
||||
@@ -1,159 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 就诊管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_encounter")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Encounter extends HisBaseEntity {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 患者ID
|
||||
*/
|
||||
private Long patientId;
|
||||
|
||||
/**
|
||||
* 群组ID
|
||||
*/
|
||||
private Long groupId;
|
||||
|
||||
/**
|
||||
* 就诊编码
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/**
|
||||
* 状态编码
|
||||
*/
|
||||
private Integer statusEnum;
|
||||
|
||||
/**
|
||||
* 类别编码
|
||||
*/
|
||||
private Integer classEnum;
|
||||
|
||||
/**
|
||||
* 类别医保编码
|
||||
*/
|
||||
private Integer ybClassEnum;
|
||||
|
||||
/**
|
||||
* 类别医保文本
|
||||
*/
|
||||
private String ybClassText;
|
||||
|
||||
/**
|
||||
* 类别编码补充
|
||||
*/
|
||||
private String classJson;
|
||||
|
||||
/**
|
||||
* 优先级编码
|
||||
*/
|
||||
private Integer priorityEnum;
|
||||
|
||||
/**
|
||||
* 分类编码
|
||||
*/
|
||||
private Integer typeEnum;
|
||||
|
||||
/**
|
||||
* 服务ID
|
||||
*/
|
||||
private Long serviceTypeId;
|
||||
|
||||
/**
|
||||
* 就诊对象状态
|
||||
*/
|
||||
private Integer subjectStatusEnum;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 接诊时间
|
||||
*/
|
||||
private Date receptionTime;
|
||||
|
||||
/**
|
||||
* 机构id
|
||||
*/
|
||||
private Long organizationId;
|
||||
|
||||
/**
|
||||
* 就诊序号
|
||||
*/
|
||||
private Integer displayOrder;
|
||||
|
||||
/**
|
||||
* 初复诊
|
||||
*/
|
||||
private Integer firstEnum;
|
||||
|
||||
/**
|
||||
* 入院类型
|
||||
*/
|
||||
private String admitSourceCode;
|
||||
|
||||
/**
|
||||
* 入院方式
|
||||
*/
|
||||
private String inWayCode;
|
||||
|
||||
/**
|
||||
* 出院方式
|
||||
*/
|
||||
private String outWayCode;
|
||||
|
||||
/**
|
||||
* 门诊就诊id
|
||||
*/
|
||||
private Long ambEncounterId;
|
||||
|
||||
/**
|
||||
* 登记员id
|
||||
*/
|
||||
private Long registrarId;
|
||||
|
||||
/**
|
||||
* 过号时间
|
||||
*/
|
||||
@TableField("missed_time")
|
||||
private Date missedTime;
|
||||
|
||||
/**
|
||||
* 预约订单ID
|
||||
*/
|
||||
private Long orderId;
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 就诊诊断管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_encounter_diagnosis")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class EncounterDiagnosis extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 诊断_id */
|
||||
private Long conditionId;
|
||||
|
||||
/** 住院患者疾病诊 */
|
||||
private Integer iptDiseCrsp;
|
||||
|
||||
/** 住院患者疾病诊断类型代码 */
|
||||
private Integer iptDiseTypeCode;
|
||||
|
||||
/** 入院疾病病情代码 */
|
||||
private Integer admDiseCondCode;
|
||||
|
||||
/** 医疗类型 */
|
||||
private String medTypeCode;// 2025/05/23 该字段改为med_type 与医保同步
|
||||
|
||||
/** 主诊断标记 */
|
||||
private Integer maindiseFlag;
|
||||
|
||||
/** 最高诊断依据标记 */
|
||||
private Integer highDiseEvidFlag;
|
||||
|
||||
/** 诊断排序(医保文档要求数值型字符长度为2) */
|
||||
private Integer diagSrtNo;
|
||||
|
||||
/**
|
||||
* 中医证候组号
|
||||
*/
|
||||
private String syndromeGroupNo;
|
||||
|
||||
/**
|
||||
* 中医标识
|
||||
*/
|
||||
private Integer tcmFlag;
|
||||
|
||||
/**
|
||||
* 诊断描述
|
||||
*/
|
||||
private String diagnosisDesc;
|
||||
|
||||
/**
|
||||
* 医生
|
||||
*/
|
||||
private String doctor;
|
||||
|
||||
/**
|
||||
*病名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
*分类
|
||||
*/
|
||||
private String classification;
|
||||
|
||||
/**
|
||||
* 长诊断标识
|
||||
*/
|
||||
private Integer longTermFlag;
|
||||
|
||||
/**
|
||||
* 发病日期
|
||||
*/
|
||||
private Date onsetDate;
|
||||
|
||||
/**
|
||||
* 诊断日期
|
||||
*/
|
||||
private Date diagnosisTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 就诊位置管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_encounter_location")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class EncounterLocation extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 位置ID */
|
||||
private Long locationId;
|
||||
|
||||
/** 状态枚举 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 物理形式枚举 */
|
||||
private Integer formEnum;
|
||||
|
||||
/** 开始时间 */
|
||||
private Date startTime;
|
||||
|
||||
/** 结束时间 */
|
||||
private Date endTime;
|
||||
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 就诊参与者管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_encounter_participant")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class EncounterParticipant extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 参与者类型 */
|
||||
private String typeCode;
|
||||
|
||||
/** 开始时间 */
|
||||
private Date startTime;
|
||||
|
||||
/** 结束时间 */
|
||||
private Date endTime;
|
||||
|
||||
/** 参与者ID */
|
||||
private Long practitionerId;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
/**
|
||||
* 租户ID(新增字段,和数据库的tenant_id对应)
|
||||
*/
|
||||
@TableField("tenant_id") // 显式映射数据库字段名,避免MyBatis-Plus自动转换出错
|
||||
private Integer tenantId;
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 就诊原因管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_encounter_reason")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class EncounterReason extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 原因编码 */
|
||||
private String useCode;
|
||||
|
||||
/** 具体原因类型 */
|
||||
private String valueTable;
|
||||
|
||||
/** 原因ID */
|
||||
private Long valueId;
|
||||
|
||||
/** 原因描述 */
|
||||
private String note;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
package com.openhis.administration.domain
|
||||
;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 频次配置表,用于频次、周期和相关信息
|
||||
* @TableName adm_frequency
|
||||
*/
|
||||
@Data
|
||||
@TableName(value ="adm_frequency")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class Frequency extends HisBaseEntity {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 频次代码,唯一标识与字典表对应
|
||||
*/
|
||||
private String rateCode;
|
||||
|
||||
/**
|
||||
* 频次名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 每天执行的次数
|
||||
*/
|
||||
private Integer dayCount;
|
||||
|
||||
/**
|
||||
* 每次执行之间的间隔(天数)
|
||||
*/
|
||||
private Integer dayInterval;
|
||||
|
||||
/**
|
||||
* 每天的具体执行时间点,逗号分隔
|
||||
*/
|
||||
private String dayTimes;
|
||||
|
||||
/**
|
||||
* 是否周期性每周执行,0 为否,1 为是
|
||||
*/
|
||||
private Integer weekCycleFlag;
|
||||
|
||||
/**
|
||||
* 每周执行的间隔,单位为周
|
||||
*/
|
||||
private Integer weekInterval;
|
||||
|
||||
/**
|
||||
* 每周执行的次数
|
||||
*/
|
||||
private Integer weekTimes;
|
||||
|
||||
/**
|
||||
* 是否为连续执行,0 为否,1 为是
|
||||
*/
|
||||
private Integer continueFlag;
|
||||
|
||||
/**
|
||||
* 执行总次数,记录任务累计执行次数
|
||||
*/
|
||||
private Integer totalExecutionCount;
|
||||
|
||||
/**
|
||||
* 任务执行周期长度
|
||||
*/
|
||||
private Integer executionPeriod;
|
||||
|
||||
/**
|
||||
* 任务执行周期的单位,如 day、week、month
|
||||
*/
|
||||
private String executionPeriodUnit;
|
||||
|
||||
/**
|
||||
* 第三方代码,外部系统使用
|
||||
*/
|
||||
private String thirdCode;
|
||||
|
||||
/**
|
||||
* 备注信息
|
||||
*/
|
||||
private String memo;
|
||||
|
||||
/**
|
||||
* 并发戳,用于版本控制和并发冲突检测
|
||||
*/
|
||||
private Integer concurrencyStamp;
|
||||
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 服务项目管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_healthcare_service")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class HealthcareService extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/** 活动标记 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 提供部门ID */
|
||||
private Long offeredOrgId;
|
||||
|
||||
/** 服务分类 */
|
||||
private String categoryCode;
|
||||
|
||||
/** 服务类型 */
|
||||
private String typeCode;
|
||||
|
||||
/** 服务专业 */
|
||||
private String specialtyCode;
|
||||
|
||||
/** 地点 */
|
||||
private Long locationId;
|
||||
|
||||
/** 服务名称 */
|
||||
private String name;
|
||||
|
||||
/** 说明 */
|
||||
private String comment;
|
||||
|
||||
/** 额外细节 */
|
||||
private String extraDetails;
|
||||
|
||||
/** 联系方式 */
|
||||
private String contact;
|
||||
|
||||
/** 预约要求 */
|
||||
private Integer appointmentRequiredFlag;
|
||||
|
||||
/** 出诊医生ID */
|
||||
private Long practitionerId;
|
||||
|
||||
/** 医保编码 */
|
||||
private String ybNo;
|
||||
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.EnumValue;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
// 添加访问修饰符,确保枚举值可以被外部访问
|
||||
public enum IdentifierUse {
|
||||
USUAL(1, "USUAL", "Usual item"),
|
||||
OFFICIAL(2, "OFFICIAL", "Official item"),
|
||||
TEMP(3, "TEMP", "Temporary item"),
|
||||
SECONDARY(4, "SECONDARY", "Secondary item"),
|
||||
OLD(5, "OLD", "Old item");
|
||||
|
||||
@EnumValue
|
||||
private final Integer value;
|
||||
private final String code;
|
||||
private final String info;
|
||||
|
||||
// 为枚举添加构造函数
|
||||
IdentifierUse(Integer value, String code, String info) {
|
||||
this.value = value;
|
||||
this.code = code;
|
||||
this.info = info;
|
||||
}
|
||||
}
|
||||
@@ -1,164 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 传染病报告卡实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-03-04
|
||||
*/
|
||||
@Data
|
||||
@TableName("infectious_card")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class InfectiousDiseaseReport extends HisBaseEntity {
|
||||
|
||||
/** 卡片编号(主键) */
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String cardNo;
|
||||
|
||||
/** 本次就诊ID */
|
||||
// removed
|
||||
private Long visitId;
|
||||
|
||||
/** 诊断记录唯一ID */
|
||||
// removed
|
||||
private Long diagId;
|
||||
|
||||
/** 患者主索引 */
|
||||
// removed
|
||||
private Long patId;
|
||||
|
||||
/** 证件类型 */
|
||||
private Integer idType;
|
||||
|
||||
/** 证件号码 */
|
||||
private String idNo;
|
||||
|
||||
/** 患者姓<E88085>?*/
|
||||
private String patName;
|
||||
|
||||
/** 家长姓名(≤14岁必填) */
|
||||
private String parentName;
|
||||
|
||||
/** 性别 1<>?2<>?0未知 */
|
||||
private String sex;
|
||||
|
||||
/** 出生日期 */
|
||||
private Date birthday;
|
||||
|
||||
/** 实足年龄 */
|
||||
private Integer age;
|
||||
|
||||
/** 年龄单位 1<>?2<>?3<>?*/
|
||||
private String ageUnit;
|
||||
|
||||
/** 工作单位(学生填学校<E5ADA6>?*/
|
||||
private String workplace;
|
||||
|
||||
/** 联系电话(患者本人电话) */
|
||||
private String phone;
|
||||
|
||||
/** 紧急联系人电话 */
|
||||
private String contactPhone;
|
||||
|
||||
/** 现住址<E4BD8F>?*/
|
||||
private String addressProv;
|
||||
|
||||
/** 现住址<E4BD8F>?*/
|
||||
private String addressCity;
|
||||
|
||||
/** 现住址<E4BD8F>?*/
|
||||
private String addressCounty;
|
||||
|
||||
/** 现住址街道 */
|
||||
private String addressTown;
|
||||
|
||||
/** 现住址<E4BD8F>?居委 */
|
||||
private String addressVillage;
|
||||
|
||||
/** 现住址门牌<E997A8>?*/
|
||||
private String addressHouse;
|
||||
|
||||
/** 病人属于 1本县<E69CAC>?2本市其他/3本省其他/4外省/5港澳<E6B8AF>?6外籍 */
|
||||
private Integer patientBelong;
|
||||
|
||||
/** 职业 */
|
||||
private String occupation;
|
||||
|
||||
/** 疾病名称(WS 218-2020<32>?*/
|
||||
private String diseaseCode;
|
||||
|
||||
/** 分型<E58886>?类必分型疾病必填<E5BF85>?*/
|
||||
private String diseaseType;
|
||||
|
||||
/** 其他法定管理以及重点监测传染<E4BCA0>?*/
|
||||
private String otherDisease;
|
||||
|
||||
/** 病例分类 1疑似病例/2临床诊断病例/3确诊病例/4病原携带/5阳性检测结<E6B58B>?*/
|
||||
private Integer caseClass;
|
||||
|
||||
/** 发病日期(默认诊断时间,病原携带者填初检日期<E697A5>?*/
|
||||
private Date onsetDate;
|
||||
|
||||
/** 诊断日期(精确到小时<E5B08F>?*/
|
||||
private Date diagDate;
|
||||
|
||||
/** 死亡日期(死亡病例必填) */
|
||||
private Date deathDate;
|
||||
|
||||
/** 订正病名(订正报告必填) */
|
||||
private String correctName;
|
||||
|
||||
/** 退卡原因(退卡时必填) */
|
||||
@TableField("return_reason")
|
||||
private String withdrawReason;
|
||||
|
||||
/** 报告单位(统一信用代码/医院名称<E5908D>?*/
|
||||
private String reportOrg;
|
||||
|
||||
/** 报告单位联系电话 */
|
||||
private String reportOrgPhone;
|
||||
|
||||
/** 报告医生 */
|
||||
private String reportDoc;
|
||||
|
||||
/** 填卡日期 */
|
||||
private Date reportDate;
|
||||
|
||||
/** 报卡名称代码 1-中华人民共和国传染病报告<E68AA5>?*/
|
||||
private Integer cardNameCode;
|
||||
|
||||
/** 登记来源 1门诊/2住院 */
|
||||
private Integer registrationSource;
|
||||
|
||||
/** 状<>?0暂存 1已提<E5B7B2>?2已审<E5B7B2>?3已上<E5B7B2>?4失败 5作废 */
|
||||
private Integer status;
|
||||
|
||||
/** 失败原因(国家平台返回) */
|
||||
private String failMsg;
|
||||
|
||||
/** 上报XML(日志) */
|
||||
private String xmlContent;
|
||||
|
||||
/** 科室ID */
|
||||
// removed
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long deptId;
|
||||
|
||||
/** 医生ID */
|
||||
// removed
|
||||
private Long doctorId;
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 存储各类仪器的信息,包括设备基本信息、状态、维护记录等Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_instrument")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class Instrument extends HisBaseEntity {
|
||||
|
||||
/** 仪器的唯一标识符,使用自增序列 */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 仪器编号,唯一且不能为空 */
|
||||
private String instrumentCode;
|
||||
|
||||
/** 仪器名称,必填项 */
|
||||
private String instrumentName;
|
||||
|
||||
/** 仪器主编号 */
|
||||
private String instrumentMainCode;
|
||||
|
||||
/** 仪器类型,选择项 */
|
||||
private Integer instrumentTypeEnum;
|
||||
|
||||
/** 仪器型号 */
|
||||
private String instrumentModel;
|
||||
|
||||
/** 生产厂家 */
|
||||
private String manufacturer;
|
||||
|
||||
/** 仪器序列号 */
|
||||
private String serialNumber;
|
||||
|
||||
/** 购买公司 */
|
||||
private String purchasingCompany;
|
||||
|
||||
/** 联系人员 */
|
||||
private String contactPerson;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
/** 购买日期 */
|
||||
private Date purchaseDate;
|
||||
|
||||
/** 原价格 */
|
||||
private BigDecimal originalPrice;
|
||||
|
||||
/** 成交价格 */
|
||||
private BigDecimal transactionPrice;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
/** 安装日期 */
|
||||
private Date installationDate;
|
||||
|
||||
/** 安装人员 */
|
||||
private String installationPerson;
|
||||
|
||||
/** 维护人员 */
|
||||
private String maintenancePerson;
|
||||
|
||||
/** 使用科室 */
|
||||
private Long orgId;
|
||||
|
||||
/** 鉴定人员 */
|
||||
private String identificationPerson;
|
||||
|
||||
/** 记录温度,选择项 */
|
||||
private String recordedTemperature;
|
||||
|
||||
/** 仪器附件 */
|
||||
private String accessories;
|
||||
|
||||
/** 仪器状态 */
|
||||
private Integer instrumentStatusEnum;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
/** 报损日期 */
|
||||
private Date damageReportDate;
|
||||
|
||||
/** 可复查仪器 是否 */
|
||||
private Integer recheckableInstrumentEnum;
|
||||
|
||||
/** 使用状态,是否 */
|
||||
private Integer usageStatusEnum;
|
||||
|
||||
/** 停用原因 */
|
||||
private String decommissionReason;
|
||||
|
||||
/** 备注 */
|
||||
private String remarks;
|
||||
|
||||
}
|
||||
@@ -1,126 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.openhis.common.enums.InvoiceStatus;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发票管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_invoice")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Invoice extends HisBaseEntity {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 患者ID
|
||||
*/
|
||||
private Long patientId;
|
||||
|
||||
/**
|
||||
* 付款ID
|
||||
*/
|
||||
private Long reconciliationId;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private InvoiceStatus statusEnum;
|
||||
|
||||
/**
|
||||
* 类别
|
||||
*/
|
||||
private String typeCode;
|
||||
|
||||
/**
|
||||
* 取消原因
|
||||
*/
|
||||
private String cancelledReason;
|
||||
|
||||
/**
|
||||
* 收费项
|
||||
*/
|
||||
private String chargeItemIds;
|
||||
|
||||
/**
|
||||
* 发票净额总记
|
||||
*/
|
||||
private BigDecimal totalNet;
|
||||
|
||||
/**
|
||||
* 发票总计金额
|
||||
*/
|
||||
private BigDecimal totalGross;
|
||||
|
||||
/**
|
||||
* 付款详情
|
||||
*/
|
||||
private String paymentTerms;
|
||||
|
||||
/**
|
||||
* 发票编号
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/**
|
||||
* 开票员
|
||||
*/
|
||||
private Long invoicingStaffId;
|
||||
/**
|
||||
* 电子票据代码
|
||||
*/
|
||||
private String billBatchCode;
|
||||
/**
|
||||
* 电子票据号码
|
||||
*/
|
||||
private String billNo;
|
||||
/**
|
||||
* 电子校验码
|
||||
*/
|
||||
private String random;
|
||||
/**
|
||||
* 电子票据生成时间
|
||||
*/
|
||||
private String billCreateTime;
|
||||
/**
|
||||
* 电子票据二维码图片数据
|
||||
*/
|
||||
private String billQrCode;
|
||||
/**
|
||||
* 电子票据H5页面URL
|
||||
*/
|
||||
private String pictureUrl;
|
||||
/**
|
||||
* 电子票据外网H5页面URL
|
||||
*/
|
||||
private String pictureNetUrl;
|
||||
/**
|
||||
* 微信插卡URL
|
||||
*/
|
||||
private String wxCardUrl;
|
||||
/**
|
||||
* 票据营业日期
|
||||
*/
|
||||
private Date billBusDate;
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发票段管理 Entity 实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-11-18
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_invoice_segment")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class InvoiceSegment extends HisBaseEntity {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 段 ID
|
||||
*/
|
||||
private Long segmentId;
|
||||
|
||||
/**
|
||||
* 开始号码
|
||||
*/
|
||||
private String beginNumber;
|
||||
|
||||
/**
|
||||
* 结束号码
|
||||
*/
|
||||
private String endNumber;
|
||||
|
||||
/**
|
||||
* 员工 ID
|
||||
*/
|
||||
private Long employeeId;
|
||||
|
||||
/**
|
||||
* 员工姓名
|
||||
*/
|
||||
private String employeeName;
|
||||
|
||||
/**
|
||||
* 开票员 ID
|
||||
*/
|
||||
private Long invoicingStaffId;
|
||||
|
||||
/**
|
||||
* 开票员姓名
|
||||
*/
|
||||
private String invoicingStaffName;
|
||||
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.openhis.common.enums.LocationMode;
|
||||
import com.openhis.common.enums.LocationStatus;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 位置管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_location")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Location extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 状态编码 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 操作状态 */
|
||||
private Integer operationalEnum;
|
||||
|
||||
/** 模式编码 */
|
||||
// private LocationMode modeEnum;
|
||||
private Integer modeEnum;
|
||||
|
||||
/** 功能编码 */
|
||||
private String typeJson;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 物理形式枚举 */
|
||||
private Integer formEnum;
|
||||
|
||||
/** 机构编码 */
|
||||
private Long organizationId;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer displayOrder;
|
||||
|
||||
public Location() {
|
||||
this.statusEnum = LocationStatus.ACTIVE.getValue();
|
||||
this.modeEnum = LocationMode.INSTANCE.getValue();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 观测定义Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-23
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_observation_definition")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ObservationDefinition extends HisBaseEntity {
|
||||
|
||||
/** $column.columnComment */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 观测名称,用于标识观测的具体名称 */
|
||||
private String name;
|
||||
|
||||
/** 观测代码,用于唯一标识一个观测项 */
|
||||
private String code;
|
||||
|
||||
/** 观测类型,例如:实验室、临床症状等 */
|
||||
private Integer observationTypeEnum;
|
||||
|
||||
/** 参考范围,例如:3.0-6.0 mg/dL,用于指示正常范围 */
|
||||
private String referenceRange;
|
||||
|
||||
/** 观测仪器id */
|
||||
private Long instrumentId;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 删除状态) */
|
||||
private String deleteFlag;
|
||||
|
||||
}
|
||||
@@ -1,84 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.openhis.common.annotation.Dict;
|
||||
import com.openhis.common.enums.LocationStatus;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 手术室管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_operating_room")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class OperatingRoom extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 手术室名称 */
|
||||
private String name;
|
||||
|
||||
/** 手术室类型 */
|
||||
private Integer roomTypeEnum;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String roomTypeEnum_dictText;
|
||||
|
||||
/** 所属机构ID */
|
||||
private Long organizationId;
|
||||
|
||||
/** 所属机构名称 */
|
||||
@TableField(exist = false)
|
||||
private String organizationName;
|
||||
|
||||
/** 位置描述 */
|
||||
private String locationDescription;
|
||||
|
||||
/** 设备配置 */
|
||||
private String equipmentConfig;
|
||||
|
||||
/** 容纳人数 */
|
||||
private Integer capacity;
|
||||
|
||||
/** 状态编码(1-启用,0-停用) */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer displayOrder;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
public OperatingRoom() {
|
||||
this.statusEnum = LocationStatus.ACTIVE.getValue();
|
||||
}
|
||||
|
||||
public Integer getRoomTypeEnum() {
|
||||
return roomTypeEnum;
|
||||
}
|
||||
|
||||
public void setRoomTypeEnum(Integer roomTypeEnum) {
|
||||
this.roomTypeEnum = roomTypeEnum;
|
||||
}
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 【对照表】Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-04-25
|
||||
*/
|
||||
@Data
|
||||
@TableName("org_contrast")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class OrgContrast extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 字典编码 */
|
||||
private Long dictCode;
|
||||
|
||||
/** 项目代码 */
|
||||
private String code;
|
||||
|
||||
/** 类型 */
|
||||
private Integer typeEnum;
|
||||
|
||||
}
|
||||
@@ -1,99 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 机构管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_organization")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Organization extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 编码 */
|
||||
private String busNo;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 活动标识 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 机构类型枚举 */
|
||||
private Integer typeEnum;
|
||||
|
||||
/** 机构分类枚举 */
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private String classEnum;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 医保码 */
|
||||
private String ybNo;
|
||||
|
||||
/** 医保名称 */
|
||||
private String ybName;
|
||||
|
||||
/** 科别 */
|
||||
private String caty;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer displayOrder;
|
||||
|
||||
/** 医疗服务机构标识 */
|
||||
private String medinsId;
|
||||
|
||||
/** 医疗机构行政区划编码 */
|
||||
private String medinsAdmdvs;
|
||||
|
||||
/** 医疗服务机构类型 */
|
||||
private String medinsType;
|
||||
|
||||
/** 医疗机构等级 */
|
||||
private String medinsLv;
|
||||
|
||||
/** 默认挂号医生 */
|
||||
private Long defDoctorId;
|
||||
|
||||
/** 挂号科室标记 */
|
||||
private Integer registerFlag;
|
||||
|
||||
/** 科室位置 */
|
||||
private String location;
|
||||
|
||||
/** 科室简介 */
|
||||
private String intro;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
/** 租户名称(从 sys_tenant 表关联查询,非数据库字段) */
|
||||
@TableField(exist = false)
|
||||
private String tenantName;
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.openhis.common.annotation.Dict;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.sql.Time;
|
||||
|
||||
/**
|
||||
* 机构位置关系管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-22
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_organization_location")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class OrganizationLocation extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 机构编码 */
|
||||
@Dict(dictTable = "adm_organization", dictCode = "id", dictText = "name")
|
||||
private Long organizationId;
|
||||
|
||||
/** 默认发药药房 */
|
||||
@Dict(dictTable = "adm_location", dictCode = "id", dictText = "name")
|
||||
private Long defLocationId;
|
||||
|
||||
/** 发放类别 */
|
||||
@Dict(dictCode = "distribution_category_code")
|
||||
private String distributionCategoryCode;
|
||||
|
||||
/**
|
||||
* 诊疗定义id
|
||||
*/
|
||||
private Long activityDefinitionId;
|
||||
|
||||
/**
|
||||
* 诊疗类型
|
||||
*/
|
||||
private String activityCategoryCode;
|
||||
|
||||
/** 开始时间 */
|
||||
private Time startTime;
|
||||
|
||||
/** 结束时间 */
|
||||
private Time endTime;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer displayOrder;
|
||||
|
||||
/**
|
||||
* 项目编码 | 药品:1 耗材:2
|
||||
*/
|
||||
private String itemCode;
|
||||
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 门诊号码段管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-01-XX
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_outpatient_no_segment")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class OutpatientNoSegment extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 操作员ID */
|
||||
private Long operatorId;
|
||||
|
||||
/** 操作员姓名 */
|
||||
private String operatorName;
|
||||
|
||||
/** 员工工号 */
|
||||
private String staffNo;
|
||||
|
||||
/** 领用日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date receiveDate;
|
||||
|
||||
/** 起始号码 */
|
||||
private String startNo;
|
||||
|
||||
/** 终止号码 */
|
||||
private String endNo;
|
||||
|
||||
/** 使用号码 */
|
||||
private String usedNo;
|
||||
}
|
||||
|
||||
@@ -1,133 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 患者管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_patient")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Patient extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 活动标记 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 临时标识 */
|
||||
private Integer tempFlag;
|
||||
|
||||
/** 患者姓名 */
|
||||
private String name;
|
||||
|
||||
/** 患者其他名称 */
|
||||
private String nameJson;
|
||||
|
||||
/** 患者院内编码/病历号 */
|
||||
private String busNo;
|
||||
|
||||
/** 性别编码 */
|
||||
private Integer genderEnum;
|
||||
|
||||
/** 生日 */
|
||||
private Date birthDate;
|
||||
|
||||
/** 死亡时间 */
|
||||
private Date deceasedDate;
|
||||
|
||||
/**
|
||||
* 死亡原因
|
||||
*/
|
||||
private String deceasedReason;
|
||||
|
||||
/** 婚姻状态 */
|
||||
private Integer maritalStatusEnum;
|
||||
|
||||
/** 职业编码 */
|
||||
private Integer prfsEnum;
|
||||
|
||||
/** 电话 */
|
||||
private String phone;
|
||||
|
||||
/** 地址 */
|
||||
private String address;
|
||||
|
||||
/** 地址省 */
|
||||
private String addressProvince;
|
||||
|
||||
/** 地址市 */
|
||||
private String addressCity;
|
||||
|
||||
/** 地址区 */
|
||||
private String addressDistrict;
|
||||
|
||||
/** 地址街道 */
|
||||
private String addressStreet;
|
||||
|
||||
/** 患者其他地址 */
|
||||
private String addressJson;
|
||||
|
||||
/** 民族 */
|
||||
private String nationalityCode;
|
||||
|
||||
/** 身份证号 */
|
||||
private String idCard;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 血型ABO */
|
||||
private Integer bloodAbo;
|
||||
|
||||
/** 血型RH */
|
||||
private Integer bloodRh;
|
||||
|
||||
/** 工作单位 */
|
||||
private String workCompany;
|
||||
|
||||
/** 籍贯 */
|
||||
private String nativePlace;
|
||||
|
||||
/** 国家编码 */
|
||||
private String countryCode;
|
||||
|
||||
/** 联系人 */
|
||||
private String linkName;
|
||||
|
||||
/** 联系人关系 */
|
||||
private Integer linkRelationCode;
|
||||
|
||||
/** 联系人电话 */
|
||||
private String linkTelcom;
|
||||
|
||||
/** 其他联系人 */
|
||||
private String linkJsons;
|
||||
|
||||
/** 机构Id */
|
||||
private Long organizationId;
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 患者标识管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_patient_identifier")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PatientIdentifier extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 患者ID */
|
||||
private Long patientId;
|
||||
|
||||
/** 标识类型编码 */
|
||||
private String typeCode;
|
||||
|
||||
/** 标识号 */
|
||||
private String identifierNo;
|
||||
|
||||
/** 标识状态枚举 */
|
||||
private Integer stateEnum;
|
||||
|
||||
/** 有效时间Start */
|
||||
private Date startTime;
|
||||
|
||||
/** 有效时间end */
|
||||
private Date endTime;
|
||||
|
||||
}
|
||||
@@ -1,89 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 公费医疗学生名单管理表Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_patient_student")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PatientStudent extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 姓名 */
|
||||
private String name;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 性别 */
|
||||
private Integer gender;
|
||||
|
||||
/** 年龄 */
|
||||
private Integer age;
|
||||
|
||||
/** 学号 */
|
||||
private String studentId;
|
||||
|
||||
/** 身份证号 */
|
||||
private String idNumber;
|
||||
|
||||
/** 电话 */
|
||||
private String phone;
|
||||
|
||||
/** 学院 */
|
||||
private String college;
|
||||
|
||||
/** 专业 */
|
||||
private String major;
|
||||
|
||||
/** 学历层次(0预科生1本科生2硕士研究生3博士研究生) */
|
||||
private Integer educationLevel;
|
||||
|
||||
/** 入校时间 */
|
||||
private Date enrollmentDate;
|
||||
|
||||
/** 离校时间 */
|
||||
private Date graduationDate;
|
||||
|
||||
/** 年级 */
|
||||
private String grade;
|
||||
|
||||
/** 学习形式(1全日制2非全日制) */
|
||||
private Integer studyMode;
|
||||
|
||||
/** 在校状态(0在校1休学2离校) */
|
||||
private Integer studentStatus;
|
||||
|
||||
/** 体检结果(0未体检1体检不合格2体检合格) */
|
||||
private Integer physicalExamResult;
|
||||
|
||||
/** 辅导员 */
|
||||
private String counselor;
|
||||
|
||||
/** 辅导员电话 */
|
||||
private String counselorPhone;
|
||||
|
||||
/** 患者ID */
|
||||
private Long patientId;
|
||||
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 医疗参与者管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_practitioner")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
|
||||
public class Practitioner extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 活动标记 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 姓名 */
|
||||
private String name;
|
||||
|
||||
/** 其他名称 */
|
||||
private String nameJson;
|
||||
|
||||
/** 性别编码 */
|
||||
private Integer genderEnum;
|
||||
|
||||
/** 生日 */
|
||||
private Date birthDate;
|
||||
|
||||
/** 死亡时间 */
|
||||
private Date deceasedDate;
|
||||
|
||||
/** 电话 */
|
||||
private String phone;
|
||||
|
||||
/** 地址 */
|
||||
private String address;
|
||||
|
||||
/** 地址省 */
|
||||
private String addressProvince;
|
||||
|
||||
/** 地址市 */
|
||||
private String addressCity;
|
||||
|
||||
/** 地址区 */
|
||||
private String addressDistrict;
|
||||
|
||||
/** 地址街道 */
|
||||
private String addressStreet;
|
||||
|
||||
/** 患者其他地址 */
|
||||
private String addressJson;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 患者院内编码/病历号 */
|
||||
private String busNo;
|
||||
|
||||
/** 医保码 */
|
||||
private String ybNo;
|
||||
|
||||
/** 机构id */
|
||||
private Long orgId;
|
||||
|
||||
/** 系统用户id */
|
||||
private Long userId;
|
||||
|
||||
/** 医生职称 */
|
||||
private String drProfttlCode;
|
||||
|
||||
/** 证件类型 */
|
||||
private String prscDrCertCode;
|
||||
|
||||
/** 职业证件编号 */
|
||||
private String pharPracCertNo;
|
||||
|
||||
/** 开票点编码 */
|
||||
private String kpdCode;
|
||||
|
||||
/** 签名图片 */
|
||||
private String signature;
|
||||
|
||||
/** pos机编号 */
|
||||
private String posNo;
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 医生患者关系管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-02
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_practitioner_patient")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PractitionerPatient extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 医生ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long practitionerId;
|
||||
|
||||
/** 患者ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
|
||||
/** 关系类型:1-主治医生,2-签约医生,3-管床医生,4-家庭医生,5-会诊医生,6-随访医生 */
|
||||
private Integer relationshipType;
|
||||
|
||||
/** 机构ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long organizationId;
|
||||
|
||||
/** 关系开始时间 */
|
||||
private Date startDate;
|
||||
|
||||
/** 关系结束时间 */
|
||||
private Date endDate;
|
||||
|
||||
/** 状态:1-有效,0-无效 */
|
||||
private Integer status;
|
||||
|
||||
/** 备注信息 */
|
||||
private String remark;
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 岗位管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_practitioner_role")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PractitionerRole extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 角色编码 */
|
||||
private String roleCode;
|
||||
|
||||
/** 活动标识 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 参与者Id */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long practitionerId;
|
||||
|
||||
/** 机构 */
|
||||
private Long orgId;
|
||||
|
||||
/** 位置ID */
|
||||
private Long locationId;
|
||||
|
||||
/** 服务id */
|
||||
private Long healthcareServiceId;
|
||||
|
||||
/** 专业编码枚举 */
|
||||
private Integer specialtyEnum;
|
||||
|
||||
/** 岗位类型 */
|
||||
private String typeCode;
|
||||
|
||||
/** 有效时间 */
|
||||
private String availabilityJson;
|
||||
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 处方点评记录实体类
|
||||
*
|
||||
* @author swb
|
||||
* @date 2026/1/29
|
||||
*/
|
||||
@Data
|
||||
@TableName("prescription_review_record")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class PrescriptionReviewRecord extends HisBaseEntity {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 处方号
|
||||
*/
|
||||
private String prescriptionNo;
|
||||
|
||||
/**
|
||||
* 就诊ID
|
||||
*/
|
||||
private Long encounterId;
|
||||
|
||||
/**
|
||||
* 药品请求ids
|
||||
*/
|
||||
private String medRequestIds;
|
||||
|
||||
/**
|
||||
* 是否合理标识(0:不合理,1:合理,2:待点评)
|
||||
*/
|
||||
private Integer reasonableFlag;
|
||||
|
||||
/**
|
||||
* 存在问题
|
||||
*/
|
||||
private String reasonEnum;
|
||||
|
||||
/**
|
||||
* 其他问题
|
||||
*/
|
||||
private String reasonText;
|
||||
|
||||
/**
|
||||
* 点评药师ID
|
||||
*/
|
||||
private Long practitionerId;
|
||||
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 样本定义Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-05
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_specimen_definition")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class SpecimenDefinition extends HisBaseEntity {
|
||||
|
||||
/** $column.columnComment */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
|
||||
private Long id;
|
||||
|
||||
/** 样本类型 */
|
||||
private Integer specimenTypeEnum;
|
||||
|
||||
/** 样本名称 */
|
||||
private String specimenName;
|
||||
|
||||
/** 自定义码 */
|
||||
private String customCode;
|
||||
|
||||
/** 类型顺序 */
|
||||
private Integer typeOrder;
|
||||
|
||||
/** 外部代码 */
|
||||
private String externalCode;
|
||||
|
||||
/** 序号 */
|
||||
private Integer serialNumber;
|
||||
|
||||
/** 全网型 */
|
||||
private String globalType;
|
||||
|
||||
/** 拼音 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔 */
|
||||
private String wbStr;
|
||||
|
||||
/** 样本类 */
|
||||
private String specimenClass;
|
||||
|
||||
/** 扩展类型 */
|
||||
private String extendedType;
|
||||
|
||||
/** WHONET代码 */
|
||||
private String whonetCode;
|
||||
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 供应商管理Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_supplier")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class Supplier extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 编号 */
|
||||
private String busNo;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 类型 */
|
||||
private Integer typeEnum;
|
||||
|
||||
/** 地址 */
|
||||
private String address;
|
||||
|
||||
/** 拼音码 */
|
||||
private String pyStr;
|
||||
|
||||
/** 五笔码 */
|
||||
private String wbStr;
|
||||
|
||||
/** 联系人电话 */
|
||||
private String phone;
|
||||
|
||||
/** 联系人邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 活动标识 */
|
||||
private Integer activeFlag;
|
||||
|
||||
/** 机构编号 */
|
||||
private Long orgId;
|
||||
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
package com.openhis.administration.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 【追溯码管理】Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-07-07
|
||||
*/
|
||||
@Data
|
||||
@TableName("adm_trace_no_manage")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class TraceNoManage extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 项目所属表 */
|
||||
private String itemTable;
|
||||
|
||||
/** 项目id */
|
||||
private Long itemId;
|
||||
|
||||
/** 仓库类型 */
|
||||
private Integer locationTypeEnum;
|
||||
|
||||
/** 仓库 */
|
||||
private Long locationId;
|
||||
|
||||
/** 仓位 */
|
||||
private Long locationStoreId;
|
||||
|
||||
/** 产品批号 */
|
||||
private String lotNumber;
|
||||
|
||||
/** 追溯码 */
|
||||
private String traceNo;
|
||||
|
||||
/** 追溯码状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 追溯码单位 */
|
||||
private String unitCode;
|
||||
|
||||
/** 操作类型 */
|
||||
private Integer operationType;
|
||||
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @ClassName ChangePricePageDto
|
||||
* @Description TODO
|
||||
* @Author raymond
|
||||
* @Date 2025/10/31 17:35
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class ChangePriceDataDto {
|
||||
|
||||
/** 批次号 */
|
||||
private String originLotNumber;
|
||||
|
||||
/** 改价申请人id */
|
||||
private Long applicantId;
|
||||
|
||||
/** 目标枚举 药品、耗材、诊疗、挂号 */
|
||||
private Integer itemCategoryEnum;
|
||||
private String itemCategoryEnum_Text;
|
||||
|
||||
/** 药品ID、耗材ID、诊疗ID、挂号ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long itemId;
|
||||
/**
|
||||
* 获取名称
|
||||
*/
|
||||
private String itemName;
|
||||
/** 原进货价 */
|
||||
private BigDecimal originBuyingPrice;
|
||||
|
||||
/** 原零售价价格 */
|
||||
private BigDecimal originRetailPrice;
|
||||
|
||||
/** 当前品库存量 */
|
||||
private BigDecimal itemQuantity;
|
||||
|
||||
/** 当前业务批次号 */
|
||||
private String busNo;
|
||||
|
||||
/** 改价申请时间 */
|
||||
private Date applicantTime;
|
||||
|
||||
/** 新进货价 */
|
||||
private BigDecimal newBuyingPrice;
|
||||
|
||||
/** 新零售价 */
|
||||
private BigDecimal newRetailPrice;
|
||||
|
||||
/** 物品计量单位 */
|
||||
private String unitCode;
|
||||
|
||||
/** 审批状态 */
|
||||
private Integer statusEnum;
|
||||
private Integer statusEnum_Text;
|
||||
|
||||
/** 批次号 */
|
||||
private String lotNumber;
|
||||
|
||||
/** 条件理由 */
|
||||
private String reason;
|
||||
|
||||
/** 零售价盈负差*/
|
||||
private BigDecimal differenceRetailPrice;
|
||||
/**进货价盈负差*/
|
||||
private BigDecimal differenceBuyingPrice;
|
||||
/**
|
||||
* 科室名称
|
||||
*/
|
||||
private String orgName;
|
||||
/**
|
||||
* 价格主表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long chargeId;
|
||||
/**
|
||||
* 调价表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long changePriceRecordId;
|
||||
|
||||
private String label;
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
private String totalVolume;
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.openhis.administration.domain.ChargeItem;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ChargeItemBaseInfoDto extends ChargeItem {
|
||||
|
||||
/** 药品编号 */
|
||||
private String baseBusNo;
|
||||
|
||||
/** 药品名称 */
|
||||
private String name;
|
||||
|
||||
/** 药品分类 */
|
||||
private String categoryCode;
|
||||
|
||||
/** 批准文号 */
|
||||
private String approvalNumber;
|
||||
|
||||
/** 医保编码 */
|
||||
private String ybNo;
|
||||
|
||||
/** 儿童用药标志 */
|
||||
private Integer childrenFlag;
|
||||
|
||||
/** 医保等级 */
|
||||
private Integer chrgitmLv;
|
||||
|
||||
/** 处方标志 */
|
||||
private Integer rxFlag;
|
||||
|
||||
/** 药品请求编码 */
|
||||
private String requestBusNo;
|
||||
|
||||
/** 处方号 */
|
||||
private String prescriptionNo;
|
||||
|
||||
/** 分组id */
|
||||
private Long groupId;
|
||||
|
||||
/** 类别医保编码 */
|
||||
private Integer ybClassEnum;
|
||||
|
||||
/** 追溯码 */
|
||||
private String traceNo;
|
||||
|
||||
/** 代煎标识 | 0:否 , 1:是 */
|
||||
private Integer sufferingFlag;
|
||||
|
||||
/** 中医标识 */
|
||||
private Integer tcmFlag;
|
||||
|
||||
/** 开单科室名称 */
|
||||
private String deptName;
|
||||
|
||||
/** 开单科室医保码 */
|
||||
private String deptYbNo;
|
||||
|
||||
/** 开单医生名称 */
|
||||
private String doctName;
|
||||
|
||||
/** 开单科室医保码 */
|
||||
private String doctYbNo;
|
||||
|
||||
/** 自费还是医保收费 */
|
||||
private String contractNo;
|
||||
|
||||
/** 名称 */
|
||||
private String chargeName;
|
||||
|
||||
/** 标题 */
|
||||
private String title;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 机构ID */
|
||||
private Long orgId;
|
||||
|
||||
/** 描述 */
|
||||
private String description;
|
||||
|
||||
/** 代码 */
|
||||
private String instanceTable;
|
||||
|
||||
/** 关联项目 */
|
||||
private Long instanceId;
|
||||
|
||||
/** 有效时间开始 */
|
||||
private Date effectiveStart;
|
||||
|
||||
/** 有效时间结束 */
|
||||
private Date effectiveEnd;
|
||||
|
||||
/** 财务类别 */
|
||||
private String typeCode;
|
||||
|
||||
/** 医保类别 */
|
||||
private String ybType;
|
||||
|
||||
/** 是否使用详细价格规则 */
|
||||
private Integer conditionFlag;
|
||||
|
||||
/** 基础价格 */
|
||||
private BigDecimal price;
|
||||
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @ClassName ChargeItemDefDetailPriceDto
|
||||
* @Description 获取 药品或耗材 进货价和零售价的DTO
|
||||
* @Author raymond
|
||||
* @Date 2025/11/1 21:40
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class ChargeItemDefDetailPriceDto {
|
||||
/**
|
||||
* 进货价或者零售价
|
||||
*/
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 拆零比
|
||||
*/
|
||||
private BigDecimal partPercent;
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright ©2023 CJB-CNIT Team. All rights reserved
|
||||
*/
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.openhis.administration.domain.ChargeItem;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* chargeItem 关联def的信息
|
||||
*
|
||||
* @author SunJQ
|
||||
* @date 2025-08-07
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ChargeItemDefInfo extends ChargeItem {
|
||||
|
||||
/** 名称 */
|
||||
private String chargeName;
|
||||
|
||||
/** 标题 */
|
||||
private String title;
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 机构ID */
|
||||
private Long orgId;
|
||||
|
||||
/** 描述 */
|
||||
private String description;
|
||||
|
||||
/** 代码 */
|
||||
private String instanceTable;
|
||||
|
||||
/** 关联项目 */
|
||||
private Long instanceId;
|
||||
|
||||
/** 有效时间开始 */
|
||||
private Date effectiveStart;
|
||||
|
||||
/** 有效时间结束 */
|
||||
private Date effectiveEnd;
|
||||
|
||||
/** 财务类别 */
|
||||
private String typeCode;
|
||||
|
||||
/** 医保类别 */
|
||||
private String ybType;
|
||||
|
||||
/** 是否使用详细价格规则 */
|
||||
private Integer conditionFlag;
|
||||
|
||||
/** 基础价格 */
|
||||
private BigDecimal price;
|
||||
|
||||
/** 基础价格 */
|
||||
private BigDecimal manualAdjustedPrice;
|
||||
|
||||
/** 基础价格 */
|
||||
private BigDecimal systemDiscountPrice;
|
||||
}
|
||||
@@ -1,144 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.core.common.annotation.Excel;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 费用明细Dto
|
||||
*
|
||||
* @author swb
|
||||
* @date 2025-12-16
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CostDetailDto {
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
@Excel(name = "项目名称", sort = 2)
|
||||
private String chargeName;
|
||||
|
||||
/**
|
||||
* 费用类型
|
||||
*/
|
||||
private Integer chargeItemEnum;
|
||||
@Excel(name = "费用类型", sort = 3)
|
||||
private String chargeItemEnum_enumText;
|
||||
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
@Excel(name = "单价", sort = 4, scale = 2)
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@Excel(name = "数量", sort = 5, scale = 0)
|
||||
private BigDecimal quantityValue;
|
||||
|
||||
/**
|
||||
* 金额
|
||||
*/
|
||||
@Excel(name = "金额", sort = 6, scale = 2)
|
||||
private BigDecimal totalPrice;
|
||||
|
||||
/**
|
||||
* 执行科室
|
||||
*/
|
||||
private Long orgId;
|
||||
@Excel(name = "执行科室", sort = 7)
|
||||
private String orgName;
|
||||
|
||||
/**
|
||||
* 执行人
|
||||
*/
|
||||
@Excel(name = "执行人", sort = 8)
|
||||
private String practitioner;
|
||||
|
||||
/**
|
||||
* 执行日期
|
||||
*/
|
||||
@Excel(name = "执行日期", sort = 9, dateFormat = "yyyy-MM-dd")
|
||||
private Date recordedTime;
|
||||
|
||||
/**
|
||||
* 医保类型
|
||||
*/
|
||||
private Integer chrgitmLv;
|
||||
@Excel(name = "医保类型", sort = 10)
|
||||
private String chrgitmLv_enumText;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Excel(name = "备注", sort = 11)
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 住院患者id
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
|
||||
/**
|
||||
* 患者id
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
/**
|
||||
* 患者姓名
|
||||
*/
|
||||
private String patientName;
|
||||
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
private Date birthDate;
|
||||
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
private String age;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
private Integer genderEnum;
|
||||
private String genderEnum_enumText;
|
||||
|
||||
/**
|
||||
* 诊断
|
||||
*/
|
||||
private String conditionNames;
|
||||
/**
|
||||
* 住院医生
|
||||
*/
|
||||
private String admittingDoctorName;
|
||||
|
||||
/**
|
||||
* 余额
|
||||
*/
|
||||
private BigDecimal balanceAmount;
|
||||
|
||||
/**
|
||||
* 住院号
|
||||
*/
|
||||
private String BusNo;
|
||||
|
||||
/**
|
||||
* 床位名称
|
||||
*/
|
||||
private String bedName;
|
||||
|
||||
/**
|
||||
* 费别
|
||||
*/
|
||||
private String contractName;
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 费用明细查询条件
|
||||
*
|
||||
* @author swb
|
||||
* @date 2025-12-15
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CostDetailSearchParam {
|
||||
/**
|
||||
* 就诊ID列表
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private List<Long> encounterIds;
|
||||
|
||||
/**
|
||||
* 科室ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long orgId;
|
||||
|
||||
/**
|
||||
* 费用类型ID
|
||||
*/
|
||||
private String chargeItemEnum;
|
||||
|
||||
public List<Long> getEncounterIds() {
|
||||
return encounterIds;
|
||||
}
|
||||
|
||||
public void setEncounterIds(List<Long> encounterIds) {
|
||||
this.encounterIds = encounterIds;
|
||||
}
|
||||
}
|
||||
@@ -1,163 +0,0 @@
|
||||
/*
|
||||
* Copyright ©2023 CJB-CNIT Team. All rights reserved
|
||||
*/
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 挂号和账户的集合实体
|
||||
*
|
||||
* @author SunJQ
|
||||
* @date 2025-08-04
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EncounterAccountDto {
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 状态枚举 */
|
||||
private Integer statusEnum;
|
||||
|
||||
/** 结账状态枚举 */
|
||||
private Integer billingStatusEnum;
|
||||
|
||||
// 2025.04.10 经确认此处原有的【1 CASH 个人现金账户 | 2 医保账户】改为【01医保电子凭证 | 02 居民身份证 | 03 社会保障卡 | 04 个人现金账户】
|
||||
/** 账户类型编码 */
|
||||
private String typeCode;
|
||||
|
||||
/** 编码 */
|
||||
private String no;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 患者id */
|
||||
private Long patientId;
|
||||
|
||||
/** 就诊id */
|
||||
private Long encounterId;
|
||||
|
||||
/** 账户余额 */
|
||||
private BigDecimal balanceAmount;
|
||||
|
||||
/** 医保区域编码 */
|
||||
private String ybAreaNo;
|
||||
|
||||
/** 合同编码 */
|
||||
private String contractNo;
|
||||
|
||||
/** 欠费限制额度 */
|
||||
private BigDecimal limitAccount;
|
||||
|
||||
/** 是否为就诊登记使用 */
|
||||
private Integer encounterFlag;
|
||||
|
||||
/**
|
||||
* 群组ID
|
||||
*/
|
||||
private Long groupId;
|
||||
|
||||
/**
|
||||
* 就诊编码
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/**
|
||||
* 类别编码
|
||||
*/
|
||||
private Integer classEnum;
|
||||
|
||||
/**
|
||||
* 类别医保编码
|
||||
*/
|
||||
private Integer ybClassEnum;
|
||||
|
||||
/**
|
||||
* 类别医保文本
|
||||
*/
|
||||
private String ybClassText;
|
||||
|
||||
/**
|
||||
* 类别编码补充
|
||||
*/
|
||||
private String classJson;
|
||||
|
||||
/**
|
||||
* 优先级编码
|
||||
*/
|
||||
private Integer priorityEnum;
|
||||
|
||||
/**
|
||||
* 分类编码
|
||||
*/
|
||||
private Integer typeEnum;
|
||||
|
||||
/**
|
||||
* 服务ID
|
||||
*/
|
||||
private Long serviceTypeId;
|
||||
|
||||
/**
|
||||
* 就诊对象状态
|
||||
*/
|
||||
private Integer subjectStatusEnum;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 接诊时间
|
||||
*/
|
||||
private Date receptionTime;
|
||||
|
||||
/**
|
||||
* 机构id
|
||||
*/
|
||||
private Long organizationId;
|
||||
|
||||
/**
|
||||
* 就诊序号
|
||||
*/
|
||||
private Integer displayOrder;
|
||||
|
||||
/**
|
||||
* 初复诊
|
||||
*/
|
||||
private Integer firstEnum;
|
||||
|
||||
/**
|
||||
* 入院类型
|
||||
*/
|
||||
private String admitSourceCode;
|
||||
|
||||
/**
|
||||
* 入院方式
|
||||
*/
|
||||
private String inWayCode;
|
||||
|
||||
/**
|
||||
* 门诊就诊id
|
||||
*/
|
||||
private Long ambEncounterId;
|
||||
|
||||
/**
|
||||
* 登记员id
|
||||
*/
|
||||
private Long registrarId;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @ClassName EncounterDataDto
|
||||
* @Description
|
||||
* @Author raymond
|
||||
* @Date 2025/10/27 16:01
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class EncounterDataDto {
|
||||
/**
|
||||
* 换着ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
/**
|
||||
* 就诊表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @ClassName EncounterLocationDataDto
|
||||
* @Description
|
||||
* @Author raymond
|
||||
* @Date 2025/10/27 16:01
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class EncounterLocationDataDto {
|
||||
/**
|
||||
* 区域ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long locationId;
|
||||
/**
|
||||
* 就诊表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @ClassName HealcareDto
|
||||
* @Description TODO
|
||||
* @Author raymond
|
||||
* @Date 2025/10/18 14:59
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class HealthcareDto {
|
||||
|
||||
private Long itemId;
|
||||
/**
|
||||
* 科室id
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long orgId;
|
||||
/**
|
||||
* 科室名称
|
||||
*/
|
||||
private String orgName;
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
private String categoryCode;
|
||||
/**
|
||||
* 服务类型
|
||||
*/
|
||||
private String typeCode;
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName roleDataList
|
||||
* @Description 权限集合
|
||||
* @Author raymond
|
||||
* @Date 2025/10/27 16:01
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class LocationDataDto {
|
||||
/**
|
||||
* 区域ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long locationId;
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer statusEnum;
|
||||
/**
|
||||
* 模式编码
|
||||
*/
|
||||
private Integer modeEnum;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
private Integer operationalEnum;
|
||||
/**
|
||||
* 岗位类型
|
||||
*/
|
||||
private String busNo;
|
||||
/**
|
||||
* 区域名称
|
||||
*/
|
||||
private String areaName;
|
||||
/**
|
||||
* 患者详细信息
|
||||
*/
|
||||
private List<PatientBedInfoDto> patientBedInfoDtoList;
|
||||
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import com.openhis.medication.dto.AdjustPriceMedListDto;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName OrgDataDto
|
||||
* @Description TODO
|
||||
* @Author raymond
|
||||
* @Date 2025/10/22 09:44
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class OrgDataDto {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long orgId;
|
||||
/**
|
||||
* 科室名称
|
||||
*/
|
||||
private String orgName;
|
||||
/**
|
||||
* 挂号集合
|
||||
*/
|
||||
private List<AdjustPriceMedListDto> healthDataList;
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.core.common.annotation.Excel;
|
||||
import liquibase.pro.packaged.E;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 门诊就诊记录Dto
|
||||
*
|
||||
* @author swb
|
||||
* @date 2026/2/27
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class OutpatientManageDto {
|
||||
/**
|
||||
* 患者姓名
|
||||
*/
|
||||
@Excel(name = "患者姓名",sort = 1, width = 20)
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 患者身份证号
|
||||
*/
|
||||
@Excel(name = "患者身份证号",sort = 2, width = 20)
|
||||
private String idCard;
|
||||
|
||||
/**
|
||||
* 疾病(主诊断)
|
||||
*/
|
||||
@Excel(name = "疾病(主诊断)",sort = 3, width = 20)
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 患者ID
|
||||
*/
|
||||
@Excel(name = "患者ID",sort = 4, width = 20)
|
||||
private String patientBusNo;
|
||||
|
||||
/**
|
||||
* 门诊号
|
||||
*/
|
||||
@Excel(name = "门诊号",sort = 5, width = 20)
|
||||
private String encounterBusNo;
|
||||
|
||||
/**
|
||||
* 性别枚举
|
||||
*/
|
||||
private Integer genderEnum;
|
||||
@Excel(name = "性别",sort = 6, width = 20)
|
||||
private String genderEnum_enumText;
|
||||
|
||||
/**
|
||||
* 出生日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date birthDate;
|
||||
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
private String age;
|
||||
|
||||
/**
|
||||
* 患者手机号
|
||||
*/
|
||||
@Excel(name = "患者手机号",sort = 7, width = 20)
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 就诊时间
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "就诊时间",sort = 8, width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date encounterTime;
|
||||
|
||||
/**
|
||||
* 就诊状态
|
||||
*/
|
||||
private Integer subjectStatusEnum;
|
||||
@Excel(name = "就诊状态",sort = 9, width = 20)
|
||||
private String subjectStatusEnum_enumText;
|
||||
|
||||
/**
|
||||
* 医院名称
|
||||
*/
|
||||
@Excel(name = "医院名称",sort = 10, width = 20)
|
||||
private String organizationName;
|
||||
|
||||
/**
|
||||
* 接诊医生姓名
|
||||
*/
|
||||
@Excel(name = "接诊医生姓名",sort = 11, width = 20)
|
||||
private String doctorName;
|
||||
|
||||
/**
|
||||
* 医生ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private String doctorId;
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @ClassName PatientBedInfoDto
|
||||
* @Description 患者详细信息
|
||||
* @Author raymond
|
||||
* @Date 2025/10/30 08:10
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class PatientBedInfoDto {
|
||||
|
||||
/**
|
||||
* 床位
|
||||
*/
|
||||
private String bedName;
|
||||
/**
|
||||
* 患者姓名
|
||||
*/
|
||||
private String patientName;
|
||||
/**
|
||||
* 患者编号ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
/**
|
||||
* 患者性别
|
||||
*/
|
||||
private String patientGenderText;
|
||||
/**
|
||||
* 患者编号
|
||||
*/
|
||||
private String patientNumber;
|
||||
/**
|
||||
* 就诊号ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long locationId;
|
||||
/**
|
||||
* 床位ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long bedLocationId;
|
||||
/** 生日 */
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date birthDate;
|
||||
private String patientAgeText;
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @ClassName EncounterDataDto
|
||||
* @Description
|
||||
* @Author raymond
|
||||
* @Date 2025/10/27 16:01
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class PatientDataDto {
|
||||
/**
|
||||
* 换着ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
private String patientName;
|
||||
private Integer gender;
|
||||
private String idCard;
|
||||
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 医生患者关系DTO
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-02
|
||||
*/
|
||||
@Data
|
||||
public class PractitionerPatientDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 医生ID */
|
||||
private Long practitionerId;
|
||||
|
||||
/** 患者ID */
|
||||
private Long patientId;
|
||||
|
||||
/** 关系类型:1-主治医生,2-签约医生,3-管床医生,4-家庭医生,5-会诊医生,6-随访医生 */
|
||||
private Integer relationshipType;
|
||||
|
||||
/** 机构ID */
|
||||
private Long organizationId;
|
||||
|
||||
/** 关系开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startDate;
|
||||
|
||||
/** 备注信息 */
|
||||
private String remark;
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import com.openhis.common.annotation.Dict;
|
||||
import com.openhis.common.enums.ReviewReasonableStatus;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 处方点评信息Dto
|
||||
*
|
||||
* @author swb
|
||||
* @date 2026/1/29
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class PrescriptionReviewRecordDto {
|
||||
/**
|
||||
* 审方记录ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 就诊id
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
|
||||
/**
|
||||
* 处方号
|
||||
*/
|
||||
private String prescriptionNo;
|
||||
|
||||
/**
|
||||
* 药品请求ids
|
||||
*/
|
||||
private String medRequestIds;
|
||||
|
||||
/**
|
||||
* 是否合理标识(0:不合理,1:合理,2:待点评)
|
||||
*/
|
||||
private Integer reasonableFlag;
|
||||
|
||||
/**
|
||||
* 存在问题
|
||||
*/
|
||||
private String reasonEnum;
|
||||
|
||||
/**
|
||||
* 其他问题
|
||||
*/
|
||||
private String reasonText;
|
||||
|
||||
/**
|
||||
* 审方人
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@Dict(dictTable = "ad_practitioner", dictCode = "id", dictText = "name")
|
||||
private Long practitioner;
|
||||
private String practitioner_dictText;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @ClassName roleDataList
|
||||
* @Description 权限集合
|
||||
* @Author raymond
|
||||
* @Date 2025/10/27 16:01
|
||||
* @Version 1.0
|
||||
**/
|
||||
@Data
|
||||
public class RoleDataDto {
|
||||
/**
|
||||
* 权限表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long roleId;
|
||||
/**
|
||||
* 科室ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long orgId;
|
||||
/**
|
||||
* 区域ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long locationId;
|
||||
/**
|
||||
* 专业编码枚举
|
||||
*/
|
||||
private Integer specialtyEnum;
|
||||
/**
|
||||
* 岗位类型
|
||||
*/
|
||||
private String typeCode;
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.openhis.administration.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 药品追溯患者信息Dto
|
||||
*
|
||||
* @author swb
|
||||
* @date 2025-12-15
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class TracePatientInfoDto {
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
private Integer genderEnum;
|
||||
private String genderEnum_enumText;
|
||||
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
private Date birthDate;
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
private String age;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 挂号时间
|
||||
*/
|
||||
|
||||
private Date registerTime;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Account;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 就诊账户管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface AccountMapper extends BaseMapper<Account> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.BizUser;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 用户管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface BizUserMapper extends BaseMapper<BizUser> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.BizUserRole;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 用户角色Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface BizUserRoleMapper extends BaseMapper<BizUserRole> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.BodyStructure;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 身体部位管理Mapper接口
|
||||
*
|
||||
* @author liuhr
|
||||
* @date 2025-07-22
|
||||
*/
|
||||
@Repository
|
||||
public interface BodyStructureMapper extends BaseMapper<BodyStructure> {
|
||||
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.ChangePriceRecord;
|
||||
import com.openhis.administration.dto.ChangePriceDataDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 修改价格记录Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-10-15
|
||||
*/
|
||||
@Repository
|
||||
public interface ChangePriceRecordMapper extends BaseMapper<ChangePriceRecord> {
|
||||
/**
|
||||
* Desc: 根据条件 查询 药品调价单
|
||||
* @param busNo
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 09:46 2025/11/2
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchMedChangePriceByBusNo(@Param("busNo") String busNo,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 药品调价单
|
||||
* @param itemId
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 07:34 2025/11/4
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchMedChangePriceByItemId(@Param("itemId") Long itemId,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 耗材调价单
|
||||
* @param busNo
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 09:46 2025/11/2
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchDeviceChangePriceByBusNo(@Param("busNo") String busNo,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 耗材调价单
|
||||
* @param itemId
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 07:33 2025/11/4
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchDeviceChangePriceByItemId(@Param("itemId") Long itemId,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
|
||||
/**
|
||||
* Desc: 根据条件 查询 诊疗调价单
|
||||
* @param busNo
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 09:46 2025/11/2
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchActivityChangePriceByBusNo(@Param("busNo") String busNo,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 诊疗调价单
|
||||
* @param itemId
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 07:32 2025/11/4
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchActivityChangePriceByItemId(@Param("itemId") Long itemId,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
|
||||
/**
|
||||
* Desc: 根据条件 查询 挂号调价单
|
||||
* @param busNo
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 09:46 2025/11/2
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchHealthChangePriceByBusNo(@Param("busNo") String busNo,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 挂号调价单
|
||||
* @param itemId
|
||||
* @param categoryEnum
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 07:31 2025/11/4
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchHealthChangePriceByItemId(@Param("itemId") Long itemId,@Param("categoryEnum") Integer categoryEnum,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据条件 查询 审批单 审核中的数据
|
||||
* @param busNo
|
||||
* @param statusEnum
|
||||
* @Author raymond
|
||||
* @Date 10:36 2025/11/2
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceDataDto> searchChangePriceRecordDataByBusNo(@Param("busNo") String busNo,@Param("statusEnum") Integer statusEnum);
|
||||
/**
|
||||
* Desc: 根据编号分组查询 数据
|
||||
* @param busNo
|
||||
* @Author raymond
|
||||
* @Date 09:39 2025/11/5
|
||||
* @return java.util.List<com.openhis.administration.dto.ChangePriceDataDto>
|
||||
**/
|
||||
List<ChangePriceRecord> searchChangePriceDataGroupByBusNo(@Param("busNo") String busNo);
|
||||
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.ChargeItemDefDetail;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 费用定价管理子Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface ChargeItemDefDetailAppMapper extends BaseMapper<ChargeItemDefDetail> {
|
||||
|
||||
/**
|
||||
* Desc: 根据 参数加载数据
|
||||
* @param value
|
||||
* @param code
|
||||
* @Author raymond
|
||||
* @Date 08:13 2025/10/29
|
||||
* @return java.util.List<com.openhis.administration.domain.ChargeItemDefDetail>
|
||||
**/
|
||||
List<ChargeItemDefDetail> searchChargeDetailDataByBusNo(@Param("value") String value, @Param("code") String code);
|
||||
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.ChargeItemDefinition;
|
||||
import com.openhis.administration.dto.ChargeItemDefDetailPriceDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 费用定价管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface ChargeItemDefinitionMapper extends BaseMapper<ChargeItemDefinition> {
|
||||
/**
|
||||
* Desc: 根据 conditionCode 和 药品ID 获取 原价和零售价
|
||||
*
|
||||
* @param conditionCode
|
||||
* @param instanceId
|
||||
* @Author raymond
|
||||
* @Date 21:44 2025/11/1
|
||||
* @return com.openhis.administration.domain.ChargeItemDefinition
|
||||
**/
|
||||
ChargeItemDefDetailPriceDto getMedPriceByParam(@Param("conditionCode") String conditionCode,
|
||||
@Param("instanceId") Long instanceId);
|
||||
|
||||
/**
|
||||
* Desc: 根据 conditionCode 和 耗材ID 获取 原价和零售价
|
||||
*
|
||||
* @param conditionCode
|
||||
* @param instanceId
|
||||
* @Author raymond
|
||||
* @Date 07:23 2025/11/4
|
||||
* @return com.openhis.administration.dto.ChargeItemDefDetailPriceDto
|
||||
**/
|
||||
ChargeItemDefDetailPriceDto getDevicePriceByParam(@Param("conditionCode") String conditionCode,
|
||||
@Param("instanceId") Long instanceId);
|
||||
|
||||
/**
|
||||
* Desc: 根据 状态和货品ID 加载诊疗或挂号的最新零售价
|
||||
*
|
||||
* @param statusEnum
|
||||
* @param instanceId
|
||||
* @Author raymond
|
||||
* @Date 22:02 2025/11/1
|
||||
* @return com.openhis.administration.dto.ChargeItemDefDetailPriceDto
|
||||
**/
|
||||
ChargeItemDefDetailPriceDto getProductPrice(@Param("statusEnum") Integer statusEnum,
|
||||
@Param("instanceId") Long instanceId);
|
||||
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import com.openhis.administration.domain.ChargeItem;
|
||||
import com.openhis.administration.dto.ChargeItemBaseInfoDto;
|
||||
import com.openhis.administration.dto.ChargeItemDefInfo;
|
||||
import com.openhis.administration.dto.CostDetailDto;
|
||||
import com.openhis.administration.dto.CostDetailSearchParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 费用项管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface ChargeItemMapper extends BaseMapper<ChargeItem> {
|
||||
|
||||
/**
|
||||
* 根据收费项的ID查找基础信息
|
||||
*
|
||||
* @param chargeItemIds
|
||||
* @return
|
||||
*/
|
||||
List<ChargeItemBaseInfoDto> getChargeItemBaseInfoByIds(@Param("chargeItemIds") List<Long> chargeItemIds);
|
||||
|
||||
/**
|
||||
* 收费项关联Def项目集合
|
||||
*
|
||||
* @param chargeItemIds 集合
|
||||
* @return 集合
|
||||
*/
|
||||
List<ChargeItemDefInfo> getChargeItemDefInfoByIds(@Param("chargeItemIds") List<Long> chargeItemIds);
|
||||
|
||||
/**
|
||||
* 查询费用明细
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @param billable 待结算
|
||||
* @param billed 已收费
|
||||
* @param refunded 已退费
|
||||
* @param active 使用中
|
||||
* @param bed 床位
|
||||
* @param admittingDoctor 住院医生
|
||||
* @param personalCashAccount 个人现金账户
|
||||
* @return 费用明细分页列表
|
||||
*/
|
||||
List<CostDetailDto> getCostDetails(@Param(Constants.WRAPPER) QueryWrapper<CostDetailSearchParam> queryWrapper,
|
||||
@Param("billable") Integer billable, @Param("billed") Integer billed, @Param("refunded") Integer refunded,
|
||||
@Param("active") Integer active, @Param("bed") Integer bed, @Param("admittingDoctor") String admittingDoctor,
|
||||
@Param("personalCashAccount") String personalCashAccount);
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.DeviceDefinition;
|
||||
import com.openhis.medication.dto.AdjustPriceMedListDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 器材定义管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface DeviceDefinitionMapper extends BaseMapper<DeviceDefinition> {
|
||||
/** 根据关键字查询 如果关键字为空,查询10条,否则返回查询到的所有
|
||||
* Desc:
|
||||
* @param keyWord
|
||||
* @Author raymond
|
||||
* @Date 20:23 2025/10/21
|
||||
* @return java.util.List<com.openhis.medication.dto.AdjustPriceMedListDto>
|
||||
**/
|
||||
List<AdjustPriceMedListDto> searchDeviceListByKeyWord(@Param("keyWord") String keyWord);
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Device;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 器材基本信息管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface DeviceMapper extends BaseMapper<Device> {
|
||||
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.EncounterDiagnosis;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 就诊诊断管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface EncounterDiagnosisMapper extends BaseMapper<EncounterDiagnosis> {
|
||||
|
||||
/**
|
||||
* 删除就诊信息
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
*/
|
||||
void deleteByEncounterId(@Param("encounterId") Long encounterId);
|
||||
|
||||
/**
|
||||
* 删除中医就诊信息
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
*/
|
||||
void deleteTcmByEncounterId(@Param("encounterId") Long encounterId);
|
||||
|
||||
/**
|
||||
* 根据就诊id定义id等查询就诊诊断
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @param conditionDefId 定义id
|
||||
* @param tenantId 租户
|
||||
* @return 查询结果
|
||||
*/
|
||||
EncounterDiagnosis getEncounterDiagnosisByEncounterConDefId(@Param("encounterId") Long encounterId,
|
||||
@Param("conditionDefId") Long conditionDefId, @Param("tenantId") Integer tenantId);
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.EncounterLocation;
|
||||
import com.openhis.administration.dto.PatientBedInfoDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 就诊位置管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface EncounterLocationMapper extends BaseMapper<EncounterLocation> {
|
||||
|
||||
/**
|
||||
* Desc: 根据区域ID查询所有 就诊信息
|
||||
*
|
||||
* @param locationId
|
||||
* @param statusEnum
|
||||
* @param formEnum
|
||||
* @Author raymond
|
||||
* @Date 12:20 2025/10/28
|
||||
* @return java.util.List<com.openhis.administration.dto.EncounterDataDto>
|
||||
**/
|
||||
PatientBedInfoDto searchEncounterDataByLocationId(@Param("locationId") Long locationId,
|
||||
@Param("statusEnum") Integer statusEnum,@Param("formEnum") Integer formEnum);
|
||||
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Encounter;
|
||||
import com.openhis.administration.dto.EncounterAccountDto;
|
||||
import com.openhis.administration.dto.EncounterDataDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 就诊管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface EncounterMapper extends BaseMapper<Encounter> {
|
||||
|
||||
/**
|
||||
* 查询挂号信息
|
||||
*
|
||||
* @param startDate 开始时间
|
||||
* @param endDate 结束时间
|
||||
* @return 集合
|
||||
*/
|
||||
List<EncounterAccountDto> getEncounterInfoByTime(@Param("startDate") Date startDate,
|
||||
@Param("endDate") Date endDate);
|
||||
/**
|
||||
* Desc: 根据条件查询 encounter 数据
|
||||
* @param imp
|
||||
* @param amb
|
||||
* @param encounterStatus
|
||||
* @param encounterIds
|
||||
* @Author raymond
|
||||
* @Date 12:36 2025/10/28
|
||||
* @return java.util.List<com.openhis.administration.dto.EncounterDataDto>
|
||||
**/
|
||||
List<EncounterDataDto> searchEncounterDataByIds(@Param("imp") Integer imp, @Param("amb") Integer amb,
|
||||
@Param("encounterStatus") Long encounterStatus, @Param("encounterIds") List<Long> encounterIds);
|
||||
/**
|
||||
* Desc: 根据参数加载 患者记录信息
|
||||
* @param classEnum
|
||||
* @param encounterId
|
||||
* @Author raymond
|
||||
* @Date 12:34 2025/11/3
|
||||
* @return com.openhis.administration.dto.EncounterDataDto
|
||||
**/
|
||||
EncounterDataDto getPatientIdByParam(@Param("classEnum") Integer classEnum,
|
||||
@Param("encounterId") Long encounterId);
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.EncounterParticipant;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 就诊参与者管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface EncounterParticipantMapper extends BaseMapper<EncounterParticipant> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.EncounterReason;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 就诊原因管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface EncounterReasonMapper extends BaseMapper<EncounterReason> {
|
||||
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Frequency;
|
||||
|
||||
/**
|
||||
* @author 47826
|
||||
* @description 针对表【adm_frequency(频次配置表,用于频次、周期和相关信息)】的数据库操作Mapper
|
||||
* @createDate 2025-08-21 14:22:11
|
||||
* @Entity com/openhis/administration.domain.Frequency
|
||||
*/
|
||||
public interface FrequencyMapper extends BaseMapper<Frequency> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.HealthcareService;
|
||||
import com.openhis.administration.dto.HealthcareDto;
|
||||
import com.openhis.medication.dto.AdjustPriceMedListDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 服务项目管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface HealthcareServiceMapper extends BaseMapper<HealthcareService> {
|
||||
/**
|
||||
* Desc: 根据 项目id数组 加载 挂号数据集合
|
||||
*
|
||||
* @param itemIds
|
||||
* @Author raymond
|
||||
* @Date 15:36 2025/10/18
|
||||
* @return java.util.List<com.openhis.administration.dto.HealthcareDto>
|
||||
**/
|
||||
List<HealthcareDto> searchHealthByIds(@Param("itemIds") List<Long> itemIds);
|
||||
/**
|
||||
* Desc: 查询所有 挂号数据
|
||||
* @param orgId
|
||||
* @Author raymond
|
||||
* @Date 08:32 2025/10/22
|
||||
* @return java.util.List<com.openhis.medication.dto.AdjustPriceMedListDto>
|
||||
**/
|
||||
List<AdjustPriceMedListDto> searchAllHeathData(@Param("orgId") Long orgId,@Param("statusEnum") Integer statusEnum);
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.InfectiousDiseaseReport;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 传染病报告卡Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-03-04
|
||||
*/
|
||||
@Repository
|
||||
public interface InfectiousDiseaseReportMapper extends BaseMapper<InfectiousDiseaseReport> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Instrument;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 存储各类仪器的信息,包括设备基本信息、状态、维护记录等Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-19
|
||||
*/
|
||||
@Repository
|
||||
public interface InstrumentMapper extends BaseMapper<Instrument> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Invoice;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 发票管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface InvoiceMapper extends BaseMapper<Invoice> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.InvoiceSegment;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 发票段管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-11-18
|
||||
*/
|
||||
@Repository
|
||||
public interface InvoiceSegmentMapper extends BaseMapper<InvoiceSegment> {
|
||||
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Location;
|
||||
import com.openhis.administration.dto.LocationDataDto;
|
||||
import com.openhis.administration.dto.PatientBedInfoDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 位置管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface LocationMapper extends BaseMapper<Location> {
|
||||
|
||||
/**
|
||||
* Desc: 根据区域id数组查询 区域表
|
||||
*
|
||||
* @param locationIds
|
||||
* @Author raymond
|
||||
* @Date 07:46 2025/10/28
|
||||
* @return java.util.List<com.openhis.administration.dto.LocationDataDto>
|
||||
*
|
||||
*/
|
||||
List<LocationDataDto> searchLocationDataByIds(@Param("locationIds") List<Long> locationIds);
|
||||
|
||||
/**
|
||||
* Desc: 根据病区bus_no 查询病床
|
||||
*
|
||||
* @param busNo
|
||||
* @param formEnum
|
||||
* @Author raymond
|
||||
* @Date 14:01 2025/10/28
|
||||
* @return java.util.List<com.openhis.administration.dto.LocationDataDto>
|
||||
*
|
||||
*/
|
||||
List<PatientBedInfoDto> searchLocationDataByBusNo(@Param("busNo") String busNo, @Param("formEnum") Integer formEnum,
|
||||
@Param("statusEnum") Integer statusEnum);
|
||||
|
||||
/**
|
||||
* 判断是否存在相同名字
|
||||
*
|
||||
* @param name 名字
|
||||
* @param busNo 病区号/病房号/病床号
|
||||
* @param locId 病区ID/病房ID/病床ID
|
||||
* @param delFlag 删除标志
|
||||
* @return true/false
|
||||
*/
|
||||
boolean isExistName(@Param("name") String name, @Param("busNo") String busNo, @Param("locId") Long locId,
|
||||
@Param("delFlag") String delFlag);
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.ObservationDefinition;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 观测定义Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-23
|
||||
*/
|
||||
@Repository
|
||||
public interface ObservationDefinitionMapper extends BaseMapper<ObservationDefinition> {
|
||||
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.OperatingRoom;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 手术室Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@Mapper
|
||||
public interface OperatingRoomMapper extends BaseMapper<OperatingRoom> {
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.OrgContrast;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 【对照表】Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-04-25
|
||||
*/
|
||||
@Repository
|
||||
public interface OrgContrastMapper extends BaseMapper<OrgContrast> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.OrganizationLocation;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 机构位置关系管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-22
|
||||
*/
|
||||
@Repository
|
||||
public interface OrganizationLocationMapper extends BaseMapper<OrganizationLocation> {
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.openhis.administration.domain.Organization;
|
||||
import com.openhis.administration.dto.OrgDataDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 机构管理 Mapper 接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface OrganizationMapper extends BaseMapper<Organization> {
|
||||
/**
|
||||
* Desc:
|
||||
* @param
|
||||
* @Author raymond
|
||||
* @Date 09:46 2025/10/22
|
||||
* @return List<OrgDataDto>
|
||||
**/
|
||||
List<OrgDataDto> searchOrgDataByHealth();
|
||||
|
||||
/**
|
||||
* 分页查询挂号科室列表,关联租户表获取租户名称
|
||||
* @param page 分页对象
|
||||
* @param registerFlag 挂号标记
|
||||
* @param deleteFlag 删除标记
|
||||
* @param name 机构名称
|
||||
* @param orgName 机构名称筛选
|
||||
* @return 分页结果
|
||||
*/
|
||||
@InterceptorIgnore(tenantLine = "true")
|
||||
IPage<Organization> selectRegisterOrganizationsWithTenant(
|
||||
IPage<Organization> page,
|
||||
@Param("registerFlag") Integer registerFlag,
|
||||
@Param("deleteFlag") String deleteFlag,
|
||||
@Param("name") String name,
|
||||
@Param("orgName") String orgName
|
||||
);
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.OutpatientNoSegment;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 门诊号码段管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-01-XX
|
||||
*/
|
||||
@Repository
|
||||
public interface OutpatientNoSegmentMapper extends BaseMapper<OutpatientNoSegment> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.PatientIdentifier;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 患者标识管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface PatientIdentifierMapper extends BaseMapper<PatientIdentifier> {
|
||||
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Patient;
|
||||
import com.openhis.administration.dto.PatientDataDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 患者管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface PatientMapper extends BaseMapper<Patient> {
|
||||
/**
|
||||
* Desc: 根据属性查询用户信息
|
||||
* @param patientId
|
||||
* @param activeFlag
|
||||
* @Author raymond
|
||||
* @Date 12:53 2025/10/28
|
||||
* @return java.util.List<com.openhis.administration.dto.PatientDataDto>
|
||||
**/
|
||||
List<PatientDataDto> searchPatientDataByPatientId(@Param("patientId") Long patientId,@Param("activeFlag") Integer activeFlag);
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.PatientStudent;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 公费医疗学生名单管理表Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface PatientStudentMapper extends BaseMapper<PatientStudent> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Practitioner;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 医疗参与者管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface PractitionerMapper extends BaseMapper<Practitioner> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.PractitionerPatient;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 医生患者关系管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-02
|
||||
*/
|
||||
@Repository
|
||||
public interface PractitionerPatientMapper extends BaseMapper<PractitionerPatient> {
|
||||
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.PractitionerRole;
|
||||
import com.openhis.administration.dto.RoleDataDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 岗位管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface PractitionerRoleMapper extends BaseMapper<PractitionerRole> {
|
||||
/**
|
||||
* Desc: 根据员工ID 查询
|
||||
* @param practitionerId
|
||||
* @param roleCode
|
||||
* @Author raymond
|
||||
* @Date 16:43 2025/10/27
|
||||
* @return java.util.List<com.openhis.administration.dto.RoleDataDto>
|
||||
**/
|
||||
List<RoleDataDto> searchPractitionerRoleByPractitionerId(@Param("practitionerId") Long practitionerId,@Param("roleCode") String roleCode);
|
||||
/**
|
||||
* Desc: 根据员工ID数组 查询
|
||||
* @param practitionerIds
|
||||
* @Author raymond
|
||||
* @Date 16:49 2025/10/27
|
||||
* @return java.util.List<com.openhis.administration.dto.RoleDataDto>
|
||||
**/
|
||||
List<RoleDataDto> searchPractitionerRoleByPractitionerIds(@Param("practitionerIds") Long practitionerIds);
|
||||
/**
|
||||
* Desc: 根据员工ID 查询 locationId数组
|
||||
* @param practitionerId
|
||||
* @param roleCode
|
||||
* @Author raymond
|
||||
* @Date 16:50 2025/10/27
|
||||
* @return java.util.List<java.lang.Long>
|
||||
**/
|
||||
List<Long> searchPractitionerRoleLocationIds(@Param("practitionerId") Long practitionerId,@Param("roleCode") String roleCode);
|
||||
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.PrescriptionReviewRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 处方点评记录Mapper接口
|
||||
*
|
||||
* @author swb
|
||||
* @date 2026/1/29
|
||||
*/
|
||||
@Repository
|
||||
public interface PrescriptionReviewRecordMapper extends BaseMapper<PrescriptionReviewRecord> {}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.SpecimenDefinition;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 样本定义Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-09-05
|
||||
*/
|
||||
@Repository
|
||||
public interface SpecimenDefinitionMapper extends BaseMapper<SpecimenDefinition> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.Supplier;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 供应商管理Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Repository
|
||||
public interface SupplierMapper extends BaseMapper<Supplier> {
|
||||
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.openhis.administration.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.administration.domain.TraceNoManage;
|
||||
import com.openhis.administration.dto.TracePatientInfoDto;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【追溯码管理】Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-07-07
|
||||
*/
|
||||
@Repository
|
||||
public interface TraceNoManageMapper extends BaseMapper<TraceNoManage> {
|
||||
|
||||
/**
|
||||
* 查询追溯码信息
|
||||
*
|
||||
* @param itemTable 表名
|
||||
* @param itemId 项目id
|
||||
* @param locationId 药房id
|
||||
* @param lotNumber 批号
|
||||
* @return
|
||||
*/
|
||||
List<TraceNoManage> getItemTraceNoInfo(@Param("itemTable") String itemTable, @Param("itemId") Long itemId,
|
||||
@Param("locationId") Long locationId, @Param("lotNumber") String lotNumber);
|
||||
|
||||
/**
|
||||
* 追溯患者信息
|
||||
*
|
||||
* @param medId 药品定义ID
|
||||
* @param dispenseStatus 药品发放状态
|
||||
* @return 患者信息列表
|
||||
*/
|
||||
List<TracePatientInfoDto> tracePatient(@Param("medId") Long medId, @Param("dispenseStatus") Integer dispenseStatus,
|
||||
@Param("traceNo") String traceNo);
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
package com.openhis.administration.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.administration.domain.Account;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 就诊账户管理Service接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
public interface IAccountService extends IService<Account> {
|
||||
|
||||
/**
|
||||
* 门诊挂号时保存账号信息
|
||||
*
|
||||
* @param account 账号信息
|
||||
*/
|
||||
Long saveAccountByRegister(Account account);
|
||||
|
||||
/**
|
||||
* 获取就诊患者的自费账户id
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户id
|
||||
*/
|
||||
Long getSelfPayAccount(Long encounterId);
|
||||
|
||||
/**
|
||||
* 获取就诊患者的医保账户id
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户id
|
||||
*/
|
||||
Long getMedicalInsuranceAccount(Long encounterId);
|
||||
|
||||
/**
|
||||
* 插入或更新 Account 实体
|
||||
*
|
||||
* @param account 实体对象
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean saveOrUpdateAccount(Account account);
|
||||
|
||||
/**
|
||||
* 插入或更新 Account 实体
|
||||
*
|
||||
* @param account 实体对象
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean isSelfPay(Account account);
|
||||
|
||||
/**
|
||||
* 查找挂号时使用的账户
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户实体
|
||||
*/
|
||||
Account getAccountByEncounterFlag(Long encounterId);
|
||||
|
||||
/**
|
||||
* 查找挂号时使用的账户
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户实体
|
||||
*/
|
||||
Account getYbAccount(Long encounterId);
|
||||
|
||||
/**
|
||||
* 查找挂号时使用的账户
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户实体
|
||||
*/
|
||||
Account getSelfAccount(Long encounterId);
|
||||
|
||||
/**
|
||||
* 查询就诊的所有账户
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户集合
|
||||
*/
|
||||
List<Account> getAccountListByEncounter(Long encounterId);
|
||||
|
||||
/**
|
||||
* 学生医保转学生自费
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户id
|
||||
*/
|
||||
Long getStudentSelfAccount(Long encounterId);
|
||||
|
||||
/**
|
||||
* 学生自费转学生医保
|
||||
*
|
||||
* @param encounterId 就诊id
|
||||
* @return 账户id
|
||||
*/
|
||||
Long getStudentYbAccount(Long encounterId);
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.openhis.administration.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.administration.domain.BizUserRole;
|
||||
|
||||
/**
|
||||
* 用户角色Service接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
public interface IBizUserRoleService extends IService<BizUserRole> {
|
||||
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.openhis.administration.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.administration.domain.BizUser;
|
||||
|
||||
/**
|
||||
* 用户管理Service接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
public interface IBizUserService extends IService<BizUser> {
|
||||
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
package com.openhis.administration.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.administration.domain.BodyStructure;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 身体部位管理Service接口
|
||||
*
|
||||
* @author liuhr
|
||||
* @date 2025-07-22
|
||||
*/
|
||||
public interface IBodyStructureService extends IService<BodyStructure> {
|
||||
|
||||
/**
|
||||
* 身体部位启用
|
||||
*
|
||||
* @param id 身体部位id
|
||||
* @return 操作结果
|
||||
*/
|
||||
boolean activeBodyStructure(Long id);
|
||||
|
||||
/**
|
||||
* 身体部位停用
|
||||
*
|
||||
* @param id 身体部位id
|
||||
* @return 操作结果
|
||||
*/
|
||||
boolean inactiveBodyStructure(Long id);
|
||||
|
||||
/**
|
||||
* 获取身体部位下拉列表
|
||||
*
|
||||
* @return 机构下拉列表
|
||||
*/
|
||||
List<BodyStructure> getList();
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user