BmFffsMapper.xml 939 B

1234567891011121314151617181920212223
  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.tofly.feesapi.bmgl.mapper.BmFffsMapper">
  4. <select id="selectMaxId" resultType="decimal">
  5. SELECT NVL(MAX(to_number(to_number(CODE))), 0)
  6. FROM bm_fffs
  7. </select>
  8. <select id="selectListMap" resultType="java.util.Map">
  9. select * from bm_fffs where 1=1
  10. </select>
  11. <resultMap id="bmFffsMap" type="com.tofly.feesapi.bmgl.entity.BmFffs">
  12. <id property="code" column="CODE"/>
  13. <result property="ocode" column="OCODE"/>
  14. <result property="oname" column="ONAME"/>
  15. <result property="name" column="NAME"/>
  16. <result property="isdisabled" column="ISDISABLED"/>
  17. <result property="yhIsdisabled" column="YH_ISDISABLED"/>
  18. <result property="yegdbz" column="YEGDBZ"/>
  19. </resultMap>
  20. </mapper>