1
zhang
2025-09-10 58bb9d3e0a8d8c385085f8cce3492eccf5448ec4
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -28,9 +28,16 @@
     * 工作号
     */
    @ApiModelProperty(value= "工作号")
    @TableId(value = "wrk_no", type = IdType.INPUT)
    @TableId(value = "wrk_no", type = IdType.AUTO)
    @TableField("wrk_no")
    private Integer wrkNo;
    private Long wrkNo;
    /**
     * 工作号
     */
    @ApiModelProperty(value= "工作号")
    @TableField("plc_wrk_no")
    private Integer plcWrkNo;
    @ApiModelProperty(value= "")
    @TableField("inv_wh")
@@ -65,7 +72,7 @@
     */
    @ApiModelProperty(value= "堆垛机")
    @TableField("crn_no")
    private Integer crnNo;
    private String crnNo;
    @ApiModelProperty(value= "")
    @TableField("sheet_no")
@@ -89,19 +96,6 @@
    @TableField("loc_no")
    private String locNo;
    /**
     * 目标站
     */
    @ApiModelProperty(value= "目标站")
    @TableField("sta_no")
    private Integer staNo;
    /**
     * 源站
     */
    @ApiModelProperty(value= "源站")
    @TableField("source_sta_no")
    private Integer sourceStaNo;
    /**
     * 源库位
@@ -358,23 +352,7 @@
        return null;
    }
    public String getStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.staNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }
    public String getSourceStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.sourceStaNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }
    public String getSourceLocNo$(){
        LocMastService service = SpringUtils.getBean(LocMastService.class);
@@ -470,12 +448,6 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime);
    }
    public void setErrorMemo(String errorMemo) {
        if (errorMemo.length() > 255) {
            errorMemo = errorMemo.substring(0, 150);
        }
        this.errorMemo = errorMemo;
    }
    public String getLogErrTime$(){
        if (Cools.isEmpty(this.logErrTime)){