From 70adc399461a3cedb56d1f93318db3aba2bec3c4 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期一, 14 七月 2025 16:28:06 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMastLog.java | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMastLog.java b/src/main/java/com/zy/asrs/entity/WrkMastLog.java index 18bfcc7..b84f77c 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMastLog.java +++ b/src/main/java/com/zy/asrs/entity/WrkMastLog.java @@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.enums.IdType; import com.core.common.Cools; import com.core.common.SpringUtils; +import com.zy.asrs.mapper.BasWrkIotypeMapper; +import com.zy.asrs.mapper.BasWrkStatusMapper; import com.zy.asrs.service.BasDevpService; import com.zy.asrs.service.LocMastService; import com.zy.asrs.service.WrkMastService; @@ -135,8 +137,8 @@ private String errorMemo; @ApiModelProperty(value= "") - @TableField("memo_m") - private String memoM; + @TableField("memo") + private String memo; /** * 鏉$爜 @@ -162,10 +164,36 @@ * WMS浠诲姟鍙� */ @ApiModelProperty(value= "WMS浠诲姟鍙�") + @TableField(value = "wms_wrk_no") private String wmsWrkNo; + /** + * 绯荤粺娑堟伅 + */ + @ApiModelProperty(value= "绯荤粺娑堟伅") + @TableField(value = "system_msg") + private String systemMsg; + public WrkMastLog() {} + public String getWrkSts$(){ + BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class); + BasWrkStatus entity = mapper.selectById(this.wrkSts); + if (entity != null) { + return entity.getWrkDesc(); + } + return null; + } + + public String getIoType$(){ + BasWrkIotypeMapper mapper = SpringUtils.getBean(BasWrkIotypeMapper.class); + BasWrkIotype entity = mapper.selectById(this.ioType); + if (entity != null) { + return entity.getIoDesc(); + } + return null; + } + public String getWrkNo$(){ WrkMastService service = SpringUtils.getBean(WrkMastService.class); WrkMast wrkMast = service.selectById(this.wrkNo); -- Gitblit v1.9.1