WfTextbookClaimItemMapper.xml 705 B

12345678910111213141516
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.xjrsoft.module.textbook.mapper.WfTextbookClaimItemMapper">
  6. <select id="getListByWfTextbookClaimId" parameterType="java.lang.Long"
  7. resultType="com.xjrsoft.module.textbook.vo.WfTextbookClaimItemVo">
  8. SELECT
  9. t.*,
  10. t1.book_name as textbookIdCN
  11. FROM wf_textbook_claim_item t
  12. LEFT JOIN textbook t1 ON (t1.id = t.textbook_id)
  13. WHERE t.delete_mark = 0 and t.wf_textbook_claim_id = #{id}
  14. order by t.id;
  15. </select>
  16. </mapper>