From d6fe958b23d65ed3f1fe10b62aaf0d856b944aae Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Fri, 13 Oct 2023 11:27:40 +0800
Subject: [PATCH] chore:补充提交

---
 screen-api/src/main/resources/mapper/SysDictTypeMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/SysDictTypeMapper.xml b/screen-api/src/main/resources/mapper/SysDictTypeMapper.xml
index 63a608b..532320f 100644
--- a/screen-api/src/main/resources/mapper/SysDictTypeMapper.xml
+++ b/screen-api/src/main/resources/mapper/SysDictTypeMapper.xml
@@ -12,5 +12,10 @@
                     <result column="update_time" property="updateTime" />
                     <result column="is_delete" property="isDelete" />
         </resultMap>
-
+    <select id="selectCodeList" resultType="com.moral.api.entity.SysDictData">
+        select t1.id,t1.dict_type_id,t1.dataKey,t1.dataValue from sys_dict_type t
+                             left join sys_dict_data t1 on t1.dict_type_id = t.id
+        where t.is_delete = 0 and t.name = #{code} and t1.dataKey = #{id} and t1.is_delete = 0
+        order by t1.create_time desc
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0