xiaoyong931011
2021-12-08 f5e6133809c553cfd9fb28ee61019927c547c374
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>