| | |
| | | @ApiModelProperty(value= "拍照图片") |
| | | private String pic; |
| | | @ApiModelProperty(value= "货主") |
| | | private Integer owner; |
| | | private String owner; |
| | | |
| | | public WrkMastLog() {} |
| | | |
| | | public WrkMastLog(Long id,Integer wrkNo,Long wrkSts,Integer ioType,Double ioPri,String locNo,Integer staNo,Integer sourceStaNo,String sourceLocNo,String picking,String exitMk,Integer pltType,String emptyMk,Date ioTime,Integer ctnType,String modiUser,Date modiTime,String appeUser,Date appeTime,Date errorTime,String errorMemo,String manuType,String memo,String barcode,String fullPlt,Long hostId,Integer owner) { |
| | | public WrkMastLog(Long id,Integer wrkNo,Long wrkSts,Integer ioType,Double ioPri,String locNo,Integer staNo,Integer sourceStaNo,String sourceLocNo,String picking,String exitMk,Integer pltType,String emptyMk,Date ioTime,Integer ctnType,String modiUser,Date modiTime,String appeUser,Date appeTime,Date errorTime,String errorMemo,String manuType,String memo,String barcode,String fullPlt,Long hostId,String owner) { |
| | | this.id = id; |
| | | this.wrkNo = wrkNo; |
| | | this.wrkSts = wrkSts; |
| | |
| | | // null, // 满板(checkBox) |
| | | // null // 授权商户 |
| | | // ); |
| | | public String getOwner$(){ |
| | | if (null == this.owner){ return null; } |
| | | switch (this.owner){ |
| | | case 1: |
| | | return "宁波"; |
| | | case 2: |
| | | return "新昌"; |
| | | default: |
| | | return String.valueOf(this.owner); |
| | | } |
| | | } |
| | | public String getWrkSts$(){ |
| | | BasWrkStatusService service = SpringUtils.getBean(BasWrkStatusService.class); |
| | | BasWrkStatus basWrkStatus = service.getById(this.wrkSts); |