Index: ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/basedatamanager/toussedefinition/TousseDefinition.java =================================================================== diff -u -r20280 -r20430 --- ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/basedatamanager/toussedefinition/TousseDefinition.java (.../TousseDefinition.java) (revision 20280) +++ ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/basedatamanager/toussedefinition/TousseDefinition.java (.../TousseDefinition.java) (revision 20430) @@ -97,56 +97,100 @@ */ private String wbCode; - private Double price = 0.0; // 价格 + /** + * 价格 + */ + private Double price = 0.0; /** * 折扣价(德阳市人民医院提出的问题:DYSYY-15 折扣价问题的个性化需求改进) * 默认值为器械包价格 */ private Double discountPrice = 0.0; - private Double borrowPrice = 0.0; // 借出价格(元/天) + /** + * 借出价格(元/天) + */ + private Double borrowPrice = 0.0; - private Double proxyDisinfectionPrice = 0.0; // 代理灭菌费 + /** + * 代理灭菌费 + */ + private Double proxyDisinfectionPrice = 0.0; - private String taskGroup; // 所属任务组 + /** + * 所属任务组 + */ + private String taskGroup; - private String assetsBelong; // 资产归属 + /** + * 资产归属 + */ + private String assetsBelong; - private String isCleanedEntirely; // 是否整包清洗 - - private String packageCode;//物资编码 + /** + * 是否整包清洗 + */ + private String isCleanedEntirely; + /** + * 物资编码 + */ + private String packageCode; - private String packageType; // 默认包装类型 /** + * 默认包装类型 + */ + private String packageType; + /** * 允许修改包装类型 */ private String allowModifyPackageType = STR_YES; - - private Integer packingAmountPerVirtualBasket;//默认每虚拟篮筐装配该器械包的数量(可配置) - + /** + * 默认每虚拟篮筐装配该器械包的数量(可配置) + */ + private Integer packingAmountPerVirtualBasket; + /** + * 包含的器械 + */ @JsonIgnore - private List materialInstances = new ArrayList(); // 包含的器械 - + private List materialInstances = new ArrayList(); + /** + * 包含的耗材 + */ @JsonIgnore - private List diposableGoodsItems = new ArrayList(); // 包含的耗材 + private List diposableGoodsItems = new ArrayList(); private JSONArray tousseDefinitionMaterials = new JSONArray(); - private String supplierName;// 供应商 + /** + * 供应商 + */ + private String supplierName; - private Integer includeImplant = UNINCLUDE_IMPLANT;// 是否包含植入物 + /** + * 是否包含植入物 + */ + private Integer includeImplant = UNINCLUDE_IMPLANT; - public static final int INCLUDE_IMPLANT = 0;// 包含植入物 - public static final int UNINCLUDE_IMPLANT = 1;// 不包含植入物 + /** + * 包含植入物 + */ + public static final int INCLUDE_IMPLANT = 0; + /** + * 不包含植入物 + */ + public static final int UNINCLUDE_IMPLANT = 1; /** * 是否包含植入物(值为是或否) */ private String includeImplantStr = Constants.STR_NO; public static final String PACKAGE_TYPE_INSIDE = "器械包"; - public static final String PACKAGE_TYPE_INSIDE_AND_DISINFECTION = "器械包与消毒物品";//器械包(含敷料包和消毒物品) + /** + * 器械包(含敷料包和消毒物品) + */ + public static final String PACKAGE_TYPE_INSIDE_AND_DISINFECTION = "器械包与消毒物品"; public static final String PACKAGE_TYPE_CAN_CUSTOM_PACKING = "允许自定义装配的器械包"; public static final String PACKAGE_TYPE_INSIDE_AND_DRESSING = "器械包与敷料包"; public static final String PACKAGE_TYPE_FOREIGN = "外来器械包"; @@ -174,37 +218,63 @@ */ public static final String PACKAGE_TYPE_PROXY = "代理灭菌包"; - private static String MATERIALSMD5_SEPARATOR = "_#$&_";// 材料md5分隔符 - - private String tousseType = PACKAGE_TYPE_INSIDE; // 器械包类型(外来器械包、器械包、自定义器械包) + /** + * 材料md5分隔符 + */ + private static String MATERIALSMD5_SEPARATOR = "_#$&_"; + /** + * 器械包类型(外来器械包、器械包、自定义器械包) + */ + private String tousseType = PACKAGE_TYPE_INSIDE; - private String sterilingMethod;// 灭菌程序 + /** + * 灭菌程序 + */ + private String sterilingMethod; - private String cleanMethod;// 清洗程序(消毒方式) + /** + * 清洗程序(消毒方式) + */ + private String cleanMethod; - private String externalCode;// 外部编码 + /** + * 外部编码 + */ + private String externalCode; public static final String STR_YES = "是"; public static final String STR_NO = "否"; + /** + * 是否整包申请(只针对消毒物品) + */ + private String isApplyEntireTousse = STR_NO; + /** + * 是否回收 + */ + private String isRecycling = STR_YES; + /** + * 是否装配 + */ + private String isPacking = STR_YES; + /** + * 是否打印标签 + */ + private String isPrint = STR_YES; + /** + * 自定义装配是否打印标签 + */ + private String isPrintOnDirectPacking = STR_NO; - private String isApplyEntireTousse = STR_NO;//是否整包申请(只针对消毒物品) - - private String isRecycling = STR_YES;//是否回收 - - private String isPacking = STR_YES;//是否装配 - - private String isPrint = STR_YES; //是否打印标签 - - private String isPrintOnDirectPacking = STR_NO; // 自定义装配是否打印标签 - /** * 是否限定发货科室,(默认为“否”,如果为“是”则发货扫描时自动过滤掉不属于当前发货科室的器械包。 * */ private String limitInvoiceDepart = STR_NO; + /** + * 是否打印科室(默认不打印,省医提出问题) + */ + private String isPrintOrg = STR_NO; - private String isPrintOrg = STR_NO; //是否打印科室(默认不打印,省医提出问题) - /** * 打印科室来源,默认为无 * 有资产归属、回收科室、无三个选择可选,对应之前的是否打印科室字段是和否 @@ -215,70 +285,117 @@ public final static String PRINGORGSOURCE_RECYCLINGDEPART = "回收科室"; public final static String PRINGORGSOURCE_NONE = "无"; - private String isTraceable = STR_YES; //是否追溯 + /** + * 是否追溯 + */ + private String isTraceable = STR_YES; + /** + * 是否审核 + */ + private String isReview = STR_YES; + /** + * 是否灭菌 + */ + private String isSterile; - private String isReview = STR_YES; //是否审核 - - private String isSterile; //是否灭菌 - /** * 是否发货(德阳市人民医院提出的问题:DYSYY-10 器械包定义增加【是否发货】字段) * 默认为是 * 如果为否,则所该物品对的应的申请项不需要在发货计划的待发货物品中显示 */ private String isInvoice = STR_YES; - private String isCustomPacking = STR_YES;// 是否允许自定义装配 - + /** + * 是否允许自定义装配 + */ + private String isCustomPacking = STR_YES; + /** + * 包数量,消毒物品,自定义包,外来器械包,按材料数量计算,普通包按1个计算 + */ + private Integer tousseAmount; + /** + * 每次扫描数量 + */ + private Integer scanAmount; + /** + * 工作量统计方式 + * TODO:重构:重命名属性为如下名字:workloadStatisticType。关钟明,20140806 + */ + private String workLoadStatisticalMethod; - private Integer tousseAmount; // 包数量,消毒物品,自定义包,外来器械包,按材料数量计算,普通包按1个计算 - private Integer scanAmount; //每次扫描数量 - - //TODO:重构:重命名属性为如下名字:workloadStatisticType。关钟明,20140806 - private String workLoadStatisticalMethod; // 工作量统计方式 - public static final String WORKLOAD_STATISTICAL_METHOD_PACK = "按包"; public static final String WORKLOAD_STATISTICAL_METHOD_MATERIAL = "按材料"; public static final String WORKLOAD_STATISTICAL_METHOD_MATERIAL_AND_DIPOSABLES = "材料加耗材"; + /** + * 是否超大超重物品(拆包时使用,超大超重物品必须是P2灭菌程序) + */ + private String isBigPackage; - private String isBigPackage;//是否超大超重物品(拆包时使用,超大超重物品必须是P2灭菌程序) - public static final String BIG_PACKAGE_TRUE = "是"; public static final String BIG_PACKAGE_FALSE = "否"; public static final String BARCODEPAPER_TYPE_100x100 = "加大标签"; public static final String BARCODEPAPER_TYPE_100x80 = "大标签"; public static final String BARCODEPAPER_TYPE_80x50 = "中标签"; public static final String BARCODEPAPER_TYPE_50x30 = "小标签"; - private String barcodePaperType = BARCODEPAPER_TYPE_50x30; //打印标签纸类型 + /** + * 打印标签纸类型 + */ + private String barcodePaperType = BARCODEPAPER_TYPE_50x30; /** * 标识牌的标签类型,默认为大标签 */ private String idCardPaperType = "大标签"; + /** + * 是否已上传图片 + */ + public String isUploadImage; + /** + * 是否已上传视频 + */ + public String isUploadVideo; + /** + * 处理科室编码 + */ + private String handlerDepartCode; + /** + * 处理科室名称 + */ + private String handlerDepartName; + /** + * 是否显示(程序生产的包或者手工录入的包) + */ + private boolean isForDisplay = true; + /** + * 注意事项(装配的时候) + */ + private String note; + /** + * 配包教学视频名称,目前只支持一个 + */ + private String uuid_vedioNames; + /** + * 快速回收 + */ + private String expressRecycling; + /** + * 是否禁用标识牌 + */ + private String isDisableIDCard = STR_YES; + /** + * 整包清洗的包 入筐最大数量 + */ + private Integer intoBasketMaxAmount; + /** + * 是否停用 + */ + private String isDisable = STR_NO; + /** + * 是否转换申请物品 + */ + private String isConvertApplyGoods = STR_YES; - public String isUploadImage;//是否已上传图片 - - public String isUploadVideo;//是否已上传视频 - - private String handlerDepartCode; //处理科室编码 - - private String handlerDepartName; //处理科室名称 - - private boolean isForDisplay = true;//是否显示(程序生产的包或者手工录入的包) - private String note;//注意事项(装配的时候) - private String uuid_vedioNames;//配包教学视频名称,目前只支持一个 - - private String expressRecycling;//快速回收 - - private String isDisableIDCard = STR_YES; // 是否禁用标识牌 - - private Integer intoBasketMaxAmount;//整包清洗的包 入筐最大数量 - - private String isDisable = STR_NO;//是否停用 - - private String isConvertApplyGoods = STR_YES;//是否转换申请物品 - /** * 器械包分组的id,分组也适用于消毒物品。分组id为0或null的分组可以打印所有消毒物品 */ @@ -288,10 +405,15 @@ * 器械包分组的名字 */ private String tousseGroupName; + /** + * 保养间隔时间 单位为天 + */ + private Integer maintainIntervalTime; + /** + * 保养间隔次数 + */ + private Integer maintainIntervalCount; - private Integer maintainIntervalTime;//保养间隔时间 单位为天 - private Integer maintainIntervalCount; // 保养间隔次数 - /** * 是否特殊器械包(是否或,为空默认为否),中大六院项目新增的字段,其它医院暂时不用 */ @@ -306,13 +428,22 @@ * 装配时是否打印材料 */ private String isPrintMaterialForPacking; - - private Long recyclingApplicationID;// 回收申请单ID - - private Long invoicePlanID;// 申请单ID - - private Long parentID;// 父包定义ID - private Long ancestorID;// 祖先包定义ID + /** + * 回收申请单ID + */ + private Long recyclingApplicationID; + /** + * 申请单ID + */ + private Long invoicePlanID; + /** + * 父包定义ID + */ + private Long parentID; + /** + * 祖先包定义ID + */ + private Long ancestorID; private String materialsMD5; /**