| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | @TableField("target_location") |
| | | private String targetLocation; |
| | | |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getOrderType$() { |
| | | if (null == this.targetLocation) { |
| | | return null; |
| | | } |
| | | if (this.targetLocation.equals("2")) { |
| | | return OrderWkType.ORDER_WK_ORDER_OUT_SO.desc; |
| | | } else if (this.targetLocation.equals("3")){ |
| | | return OrderWkType.ORDER_WK_ORDER_OUT_EO.desc; |
| | | } else { |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | public String getDocType$(){ |
| | | DocTypeService service = SpringUtils.getBean(DocTypeService.class); |
| | | DocType docType = service.selectById(this.docType); |