PatentAnnotationMapper.xml 646 B

12345678910111213
  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="cn.cslg.pas.mapper.PatentAnnotationMapper">
  4. <select id="getPageList" parameterType="cn.cslg.pas.common.model.vo.PatentAnnotationVO" resultType="cn.cslg.pas.domain.PatentAnnotation">
  5. select a.*, u.name as create_name
  6. from os_patent_annotation a
  7. left join os_distribution u on u.id = a.create_by
  8. <where>
  9. and a.patent_id = #{params.patentId}
  10. and a.project_id = #{params.projectId}
  11. </where>
  12. </select>
  13. </mapper>