From 822b60fd6a7d73708b908123e6d5b976fb38264a Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 22 Dec 2021 14:59:25 +0800
Subject: [PATCH] fix
---
src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml b/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
index dfc1568..ce7f805 100644
--- a/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
+++ b/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
@@ -11,4 +11,13 @@
where a.type = #{type}
</select>
+ <select id="selectDataByTypeAndCode" resultType="cc.mrbird.febs.video.entity.DataDictionaryCustom">
+ select * from data_dictionary_custom
+ where type=#{type} and code=#{code}
+ </select>
+
+ <select id="selectByType" resultType="cc.mrbird.febs.video.entity.DataDictionaryCustom">
+ select * from data_dictionary_custom
+ where type=#{type}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1