xiaoyong931011
2021-12-07 37518c255d676f17e661dfdfd6152de3405f7dcd
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xcong.excoin.common.system.dao.DataDictionaryCustomDao">
 
    <select id="selectDicByType" resultType="com.xcong.excoin.common.system.entity.DataDictionaryCustom">
        select * from data_dictionary_custom where type=#{type}
    </select>
 
    <select id="selectDicDataByTypeAndCode" resultType="com.xcong.excoin.common.system.entity.DataDictionaryCustom">
        select * from data_dictionary_custom a
        where a.type=#{type} and a.code=#{code}
    </select>
</mapper>