BmSblbMapper.xml 864 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.BmSblbMapper">
  4. <select id="selectMaxId" resultType="decimal">
  5. SELECT NVL(MAX(to_number(CODE)), 0)
  6. FROM bm_sblb
  7. </select>
  8. <select id="selectName" resultType="com.tofly.feesapi.bmgl.entity.BmSblb">
  9. SELECT name
  10. FROM bm_sblb where code=#{code}
  11. </select>
  12. <select id="selectListMap" resultType="java.util.Map">
  13. select * from bm_sblb where 1=1
  14. </select>
  15. <resultMap id="bmSblbMap" type="com.tofly.feesapi.bmgl.entity.BmSblb">
  16. <id property="code" column="CODE"/>
  17. <result property="name" column="NAME"/>
  18. <result property="isdisabled" column="ISDISABLED"/>
  19. </resultMap>
  20. </mapper>