#
whycq
2024-07-11 332420e29973a6768c50558df5775554882f6be7
zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java
@@ -189,9 +189,15 @@
    @ApiModelProperty(value= "堆垛机号")
    private Integer crnNo;
    @ApiModelProperty(value= "拍照图片")
    private String pic;
    @ApiModelProperty(value= "货主")
    private Integer owner;
    public WrkMast() {}
    public WrkMast(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 oveMk, String invWh, Integer crnNo) {
    public WrkMast(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 oveMk, String invWh, Integer crnNo,Integer owner) {
        this.wrkNo = wrkNo;
        this.wrkSts = wrkSts;
        this.ioType = ioType;
@@ -220,6 +226,7 @@
        this.oveMk = oveMk;
        this.invWh = invWh;
        this.crnNo = crnNo;
        this.owner = owner;
    }
    //    WrkMast wrkMast = new WrkMast(
@@ -251,6 +258,18 @@
//            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);