From b352221d2a2f4a8e8a1f9a12dda54fa32a8f7e4e Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期六, 22 六月 2024 14:44:46 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/entity/Motion.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/entity/Motion.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/entity/Motion.java index 4d64132..2145544 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/entity/Motion.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/entity/Motion.java @@ -5,9 +5,10 @@ import com.zy.asrs.wcs.core.BuildSupport; import com.zy.asrs.wcs.core.model.enums.MotionStsType; -import com.zy.asrs.wcs.core.service.DeviceCtgService; import com.zy.asrs.wcs.core.service.MotionCtgService; import com.zy.asrs.wcs.core.service.MotionStsService; +import com.zy.asrs.wcs.rcs.entity.DeviceType; +import com.zy.asrs.wcs.rcs.service.DeviceTypeService; import com.zy.asrs.wcs.system.entity.Host; import com.zy.asrs.wcs.system.entity.User; import org.springframework.format.annotation.DateTimeFormat; @@ -48,7 +49,7 @@ * 浠诲姟鍙� */ @ApiModelProperty(value= "浠诲姟鍙�") - private Integer wrkNo; + private Integer taskNo; /** * 搴忓垪鍙� @@ -216,7 +217,6 @@ * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄� 0: 鍚� ") - @TableLogic private Integer deleted; /** @@ -227,9 +227,9 @@ public Motion() {} - public Motion(String uuid,Integer wrkNo,String serialNo,String title,Integer priority,Integer sync,Long motionCtg,Long motionSts,Long deviceCtg,String device,String origin,Integer oriDrt,String target,Integer tarDrt,String dockNo,Date ioTime,Date startTime,Date endTime,Date errTime,Long errCode,String errDesc,String temp,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Integer deleted,Long hostId) { + public Motion(String uuid,Integer taskNo,String serialNo,String title,Integer priority,Integer sync,Long motionCtg,Long motionSts,Long deviceCtg,String device,String origin,Integer oriDrt,String target,Integer tarDrt,String dockNo,Date ioTime,Date startTime,Date endTime,Date errTime,Long errCode,String errDesc,String temp,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Integer deleted,Long hostId) { this.uuid = uuid; - this.wrkNo = wrkNo; + this.taskNo = taskNo; this.serialNo = serialNo; this.title = title; this.priority = priority; @@ -343,8 +343,8 @@ } public String getDeviceType$(){ - DeviceCtgService service = SpringUtils.getBean(DeviceCtgService.class); - DeviceCtg deviceCtg = service.getById(this.deviceCtg); + DeviceTypeService service = SpringUtils.getBean(DeviceTypeService.class); + DeviceType deviceCtg = service.getById(this.deviceCtg); if (!Cools.isEmpty(deviceCtg)){ return String.valueOf(deviceCtg.getName()); } @@ -458,8 +458,8 @@ } public String getDeviceCtgEl(){ - DeviceCtgService service = SpringUtils.getBean(DeviceCtgService.class); - DeviceCtg entity = service.getById(this.deviceCtg); + DeviceTypeService service = SpringUtils.getBean(DeviceTypeService.class); + DeviceType entity = service.getById(this.deviceCtg); if (!Cools.isEmpty(entity)){ return String.valueOf(entity.getFlag()); } -- Gitblit v1.9.1