BmSjlsMapper.xml 656 B

12345678910111213141516171819
  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.BmSjlsMapper">
  4. <sql id="querySql">
  5. SELECT a.id,
  6. a.code,
  7. a.name,
  8. b.name AS yslxmc,
  9. a.jtbz,
  10. a.xgrq
  11. FROM BM_SJLS a
  12. LEFT JOIN bm_yslx b on a.yslx = b.code
  13. WHERE a.code = #{code}
  14. </sql>
  15. <select id="getPage" resultType="com.tofly.feesapi.bmgl.entity.vo.BmSjlsSelect">
  16. <include refid="querySql"></include>
  17. </select>
  18. </mapper>