From 10d7b3239e4baec952b9ee8a3e948399916d336c Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期一, 20 十月 2025 08:23:58 +0800 Subject: [PATCH] 13 --- src/main/java/com/zy/asrs/entity/BasCrnp.java | 93 +++++++++++++++++++++++----------------------- 1 files changed, 47 insertions(+), 46 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/BasCrnp.java b/src/main/java/com/zy/asrs/entity/BasCrnp.java index 73d632e..0fbfe51 100644 --- a/src/main/java/com/zy/asrs/entity/BasCrnp.java +++ b/src/main/java/com/zy/asrs/entity/BasCrnp.java @@ -4,14 +4,14 @@ import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; +import com.core.common.Cools; +import com.core.common.SpringUtils; import com.zy.asrs.service.BasCrnErrorService; import com.zy.asrs.service.BasCrnStatusService; import com.zy.asrs.service.BasDevpService; import com.zy.asrs.service.LocMastService; import com.zy.system.entity.User; import com.zy.system.service.UserService; -import com.core.common.Cools; -import com.core.common.SpringUtils; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @@ -26,7 +26,7 @@ /** * 缂栧彿 */ - @ApiModelProperty(value= "缂栧彿") + @ApiModelProperty(value = "缂栧彿") @TableId(value = "crn_no", type = IdType.INPUT) @TableField("crn_no") private Integer crnNo; @@ -34,131 +34,132 @@ /** * 鍙叆 */ - @ApiModelProperty(value= "鍙叆") + @ApiModelProperty(value = "鍙叆") @TableField("in_enable") private String inEnable; /** * 鍙嚭 */ - @ApiModelProperty(value= "鍙嚭") + @ApiModelProperty(value = "鍙嚭") @TableField("out_enable") private String outEnable; /** * 鐘舵�� */ - @ApiModelProperty(value= "鐘舵��") + @ApiModelProperty(value = "鐘舵��") @TableField("crn_sts") private Integer crnSts; /** * 宸ヤ綔鍙� */ - @ApiModelProperty(value= "宸ヤ綔鍙�") + @ApiModelProperty(value = "宸ヤ綔鍙�") @TableField("wrk_no") private Integer wrkNo; /** * 鍥炲師鐐� */ - @ApiModelProperty(value= "鍥炲師鐐�") + @ApiModelProperty(value = "鍥炲師鐐�") private Integer origin; /** * 寮傚父鐮� */ - @ApiModelProperty(value= "寮傚父鐮�") + @ApiModelProperty(value = "寮傚父鐮�") @TableField("crn_err") private Long crnErr; /** * 婧愬簱浣� */ - @ApiModelProperty(value= "婧愬簱浣�") + @ApiModelProperty(value = "婧愬簱浣�") @TableField("frm_locno") private String frmLocno; /** * 婧愮珯 */ - @ApiModelProperty(value= "婧愮珯") + @ApiModelProperty(value = "婧愮珯") @TableField("frm_sta") private Integer frmSta; /** * 鐩爣绔� */ - @ApiModelProperty(value= "鐩爣绔�") + @ApiModelProperty(value = "鐩爣绔�") @TableField("to_sta") private Integer toSta; /** * 鐩爣搴撲綅 */ - @ApiModelProperty(value= "鐩爣搴撲綅") + @ApiModelProperty(value = "鐩爣搴撲綅") @TableField("to_locno") private String toLocno; /** * 鍒涘缓鑰� */ - @ApiModelProperty(value= "鍒涘缓鑰�") + @ApiModelProperty(value = "鍒涘缓鑰�") @TableField("appe_user") private Long appeUser; /** * 鍒涘缓鏃堕棿 */ - @ApiModelProperty(value= "鍒涘缓鏃堕棿") + @ApiModelProperty(value = "鍒涘缓鏃堕棿") @TableField("appe_time") private Date appeTime; /** * 淇敼浜哄憳 */ - @ApiModelProperty(value= "淇敼浜哄憳") + @ApiModelProperty(value = "淇敼浜哄憳") @TableField("modi_user") private Long modiUser; /** * 淇敼鏃堕棿 */ - @ApiModelProperty(value= "淇敼鏃堕棿") + @ApiModelProperty(value = "淇敼鏃堕棿") @TableField("modi_time") private Date modiTime; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("hp_mk") private String hpMk; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("retrieve_mk") private String retrieveMk; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("ctl_hp") private String ctlHp; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("ctl_rest") private String ctlRest; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("emp_in") private String empIn; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("tank_qty") private Integer tankQty; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("tank_qty1") private Integer tankQty1; - public BasCrnp() {} + public BasCrnp() { + } - public BasCrnp(String inEnable,String outEnable,Integer crnSts,Integer wrkNo,Long crnErr,String frmLocno,Integer frmSta,Integer toSta,String toLocno,Long appeUser,Date appeTime,Long modiUser,Date modiTime,String hpMk,String retrieveMk,String ctlHp,String ctlRest,String empIn,Integer tankQty,Integer tankQty1) { + public BasCrnp(String inEnable, String outEnable, Integer crnSts, Integer wrkNo, Long crnErr, String frmLocno, Integer frmSta, Integer toSta, String toLocno, Long appeUser, Date appeTime, Long modiUser, Date modiTime, String hpMk, String retrieveMk, String ctlHp, String ctlRest, String empIn, Integer tankQty, Integer tankQty1) { this.inEnable = inEnable; this.outEnable = outEnable; this.crnSts = crnSts; @@ -232,10 +233,10 @@ return crnSts; } - public String getCrnSts$(){ + public String getCrnSts$() { BasCrnStatusService service = SpringUtils.getBean(BasCrnStatusService.class); BasCrnStatus basCrnStatus = service.selectById(this.crnSts); - if (!Cools.isEmpty(basCrnStatus)){ + if (!Cools.isEmpty(basCrnStatus)) { return String.valueOf(basCrnStatus.getStsDesc()); } return null; @@ -265,10 +266,10 @@ return crnErr; } - public String getCrnErr$(){ + public String getCrnErr$() { BasCrnErrorService service = SpringUtils.getBean(BasCrnErrorService.class); BasCrnError basCrnError = service.selectById(this.crnErr); - if (!Cools.isEmpty(basCrnError)){ + if (!Cools.isEmpty(basCrnError)) { return String.valueOf(basCrnError.getErrName()); } return null; @@ -282,10 +283,10 @@ return frmLocno; } - public String getFrmLocno$(){ + public String getFrmLocno$() { LocMastService service = SpringUtils.getBean(LocMastService.class); LocMast locMast = service.selectById(this.frmLocno); - if (!Cools.isEmpty(locMast)){ + if (!Cools.isEmpty(locMast)) { return String.valueOf(locMast.getLocNo()); } return null; @@ -299,10 +300,10 @@ return frmSta; } - public String getFrmSta$(){ + public String getFrmSta$() { BasDevpService service = SpringUtils.getBean(BasDevpService.class); BasDevp basDevp = service.selectById(this.frmSta); - if (!Cools.isEmpty(basDevp)){ + if (!Cools.isEmpty(basDevp)) { return String.valueOf(basDevp.getDevNo()); } return null; @@ -316,10 +317,10 @@ return toSta; } - public String getToSta$(){ + public String getToSta$() { BasDevpService service = SpringUtils.getBean(BasDevpService.class); BasDevp basDevp = service.selectById(this.toSta); - if (!Cools.isEmpty(basDevp)){ + if (!Cools.isEmpty(basDevp)) { return String.valueOf(basDevp.getDevNo()); } return null; @@ -333,10 +334,10 @@ return toLocno; } - public String getToLocno$(){ + public String getToLocno$() { LocMastService service = SpringUtils.getBean(LocMastService.class); LocMast locMast = service.selectById(this.toLocno); - if (!Cools.isEmpty(locMast)){ + if (!Cools.isEmpty(locMast)) { return String.valueOf(locMast.getLocNo()); } return null; @@ -350,10 +351,10 @@ return appeUser; } - public String getAppeUser$(){ + public String getAppeUser$() { UserService service = SpringUtils.getBean(UserService.class); User user = service.selectById(this.appeUser); - if (!Cools.isEmpty(user)){ + if (!Cools.isEmpty(user)) { return String.valueOf(user.getUsername()); } return null; @@ -367,8 +368,8 @@ return appeTime; } - public String getAppeTime$(){ - if (Cools.isEmpty(this.appeTime)){ + public String getAppeTime$() { + if (Cools.isEmpty(this.appeTime)) { return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); @@ -382,10 +383,10 @@ return modiUser; } - public String getModiUser$(){ + public String getModiUser$() { UserService service = SpringUtils.getBean(UserService.class); User user = service.selectById(this.modiUser); - if (!Cools.isEmpty(user)){ + if (!Cools.isEmpty(user)) { return String.valueOf(user.getUsername()); } return null; @@ -399,8 +400,8 @@ return modiTime; } - public String getModiTime$(){ - if (Cools.isEmpty(this.modiTime)){ + public String getModiTime$() { + if (Cools.isEmpty(this.modiTime)) { return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); -- Gitblit v1.9.1