From 2b35183407eb7b1b1524f7b101f1098d9caea042 Mon Sep 17 00:00:00 2001 From: verou <857149855@qq.com> Date: 星期三, 02 四月 2025 15:13:24 +0800 Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop --- rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/QlyIsptItem.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/QlyIsptItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/QlyIsptItem.java index 29bb484..a80dafc 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/QlyIsptItem.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/QlyIsptItem.java @@ -43,6 +43,9 @@ @ApiModelProperty(value= "涓诲崟ID") private Long ispectId; + @ApiModelProperty("璐ㄦ鍗曠姸鎬�") + private String isptStatus; + @ApiModelProperty("鍗曟嵁鏄庣粏ID") private Long asnItemId; @@ -214,6 +217,18 @@ // null // 澶囨敞 // ); + public String getIsptStatus$() { + if (null == this.isptStatus) {return null; } + DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); + DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() + .eq(DictData::getDictTypeCode, DictTypeCode.DICT_QLY_INSPECT_STATUS) + .eq(DictData::getValue, this.isptStatus)); + if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { + return null; + } + return dictDatas.getLabel(); + } + public String getIsptResult$() { if (null == this.isptResult) {return null; } DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); -- Gitblit v1.9.1