From bdb2ae10053cd96900e6bf0900dc606a3daca55f Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 02 四月 2025 15:17:51 +0800
Subject: [PATCH] 工作档入库

---
 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