From 3a980fcecd46bcffcbf7a6d7dc1e497b0ccd3a9f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 17 Dec 2021 16:28:33 +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