| | |
| | | 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; |
| | |
| | | /** |
| | | * 编号 |
| | | */ |
| | | @ApiModelProperty(value= "编号") |
| | | @ApiModelProperty(value = "编号") |
| | | @TableId(value = "crn_no", type = IdType.INPUT) |
| | | @TableField("crn_no") |
| | | private Integer crnNo; |
| | |
| | | /** |
| | | * 可入 |
| | | */ |
| | | @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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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); |
| | |
| | | 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; |
| | |
| | | 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); |