Index: ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoiceGoodsVo.java =================================================================== diff -u -r25485 -r25646 --- ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoiceGoodsVo.java (.../InvoiceGoodsVo.java) (revision 25485) +++ ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoiceGoodsVo.java (.../InvoiceGoodsVo.java) (revision 25646) @@ -58,6 +58,9 @@ private String externalCode; + /** + * 校验是否通过 + */ private boolean validatePass = VALIDATE_PASS_TRUE; private String showResult = ""; Index: ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoicePlan.java =================================================================== diff -u -r25365 -r25646 --- ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoicePlan.java (.../InvoicePlan.java) (revision 25365) +++ ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/invoicemanager/InvoicePlan.java (.../InvoicePlan.java) (revision 25646) @@ -40,8 +40,9 @@ import com.forgon.tools.util.ForgonDateUtils; /** + * 发货计划单 * @author WangYi - * @date 2012-04-24 发货计划单 + * @date 2012-04-24 */ @Entity @DynamicInsert(false) @@ -58,7 +59,7 @@ private Long id; /** - * 编号 + * 申请单的编号 */ private String serialNumber; /** @@ -89,42 +90,65 @@ * */ private Date recyclingTime; - /** * 申请单的最后修改时间。 * 申请单创建后,可能会进行多次修改,本属性记录的是最后一次修改的时间。 */ private Date submitTime; + /** + * 打印时间 + */ + private Date printTime; + /** + * 申请科室部门编码 + */ + private String departCoding; + /** + * 申请科室 + */ + private String depart; + /** + * 结算科室 + */ + private String settleAccountsDepart; + /** + * 结算科室部门编码 + */ + private String settleAccountsDepartCoding; + /** + * 处理科室部门编码 + */ + private String handleDepartCoding; + /** + * 处理科室 + */ + private String handleDepart; + /** + * 归还状态 + */ + private String returnStatus; - private Date printTime; // 打印时间 - - private String departCoding;// 申请科室部门编码 - - private String depart; // 申请科室 - - private String settleAccountsDepart;// 结算科室 - - private String settleAccountsDepartCoding;// 结算科室部门编码 - - private String handleDepartCoding;// 处理科室部门编码 - - private String handleDepart; // 处理科室 - - private String returnStatus; // 归还状态 - /** * 是否可编辑(不持久化到数据库) */ private String editable; - + /** + * 排序的字段名 + */ private Integer orderByFiled; + /** + * 拼音简码 + */ + private String spelling; + /** + * 五笔简码 + */ + private String wbCode; + /** + * 手术间 + */ + private String operationRoom; - private String spelling; // 拼音 - - private String wbCode;// 五笔 - - private String operationRoom;//手术间 - /** * 手术间拼音码 */ @@ -195,40 +219,70 @@ public static final int PRINT_STATUS_PRINTED = 2; // 已打印 private int printed = PRINT_STATUS_UNPRINT; //默认未打印 - + /** + * 申请单的类型 + * 包括如下多种类型:通用申请单、器械包申请单、一次性物品申请单、借物申请单等等。 + * 单据类型详见本类中的以TYPE_前缀开头的常量定义 + */ private String type; + /** + * 终止状态(部分终止、已终止等) + */ + private String endStatus; + /** + * 终止申请单时间 + */ + private String applicationEndTime; + /** + * 终止人,终止单据的人员 + */ + private String applicationEnd; + /** + * 终止单据的原因,由用户输入或从终止原因列表中选择 + */ + private String endCause; - private String endStatus;// 终止状态(部分终止、已终止等) - - private String applicationEndTime; // 终止申请单时间 - - private String applicationEnd; // 终止人 - - private String endCause; // 终止原因 - + /** + * 申请的物品 + */ @JsonIgnore - private List applicationItems;// 申请的物品 - + private List applicationItems; + /** + * 发货单 + * 发货计划单与发货单是多对多的关系 + */ @JsonIgnore - private List invoice; // 发货单 - + private List invoice; + /** + * 估计是排序的字段 + */ private Integer sequence; - // 签收状态//当存在一个或一个以上发货单已签收,则该状态为1,否则为0 + /** + * 签收状态//当存在一个或一个以上发货单已签收,则该状态为1,否则为0 + */ private Integer invoiceSignedStatus = SIGNED_FALSE; private Integer urgencyNum = 0; - // 是否包含待回收物品,用于通用申请单 + /** + * 是否包含待回收物品,用于通用申请单 + */ private Integer includeRecyclingItems = 0; - // 是否已预回收 + /** + * 是否已预回收 + */ private Integer isPrepareRecycled = 0; - //预回收操作人 + /** + * 预回收操作人 + */ private String prepareRecycleOperator; - //预回收确认人 + /** + * 预回收确认人 + */ private String prepareRecycleComfirmor; private Date prepareRecycleDateTime; @@ -433,6 +487,9 @@ */ private Long tousseReturnDisinfectRecordId; + /** + * 发货计划的ID,数据库的主键,自增类型 + */ @Override @Id @GeneratedValue(strategy = GenerationType.AUTO) Index: ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/recyclingapplication/RecyclingApplication.java =================================================================== diff -u -r24852 -r25646 --- ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/recyclingapplication/RecyclingApplication.java (.../RecyclingApplication.java) (revision 24852) +++ ssts-basedata/src/main/java/com/forgon/disinfectsystem/entity/recyclingapplication/RecyclingApplication.java (.../RecyclingApplication.java) (revision 25646) @@ -41,6 +41,8 @@ import com.forgon.tools.string.StringTools; /** + * 申请单 + * 父类为InvoicePlan,与父类共用ID属性,大部分属性都在父类中进行了定义 * @author SongWei 2012-2-20 下午04:55:28 */