#
whycq
2024-07-11 0430c84aa26eaaad039803dad9c24d55f36b3050
zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMastLog.java
@@ -191,11 +191,11 @@
    @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;
@@ -254,17 +254,6 @@
//            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);