DictMapper.xml 470 B

1234567891011
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.ytpm.dao.DictMapper">
  4. <select id="getByTypeCode" resultType="com.ytpm.risk.view.DictView">
  5. select
  6. dictionary_id, type_code, type_name, dictionary_code, dictionary_name, sort, enabled
  7. from yt_platform_dict
  8. where type_code = #{typeCode}
  9. </select>
  10. </mapper>