lwhhszx 2 years ago
parent
commit
4a741da346

BIN
RMS/target/classes/cn/cslg/report/common/model/vo/ReportVO.class


BIN
RMS/target/classes/cn/cslg/report/common/model/vo/TaskReportVO.class


BIN
RMS/target/classes/cn/cslg/report/common/model/vo/TaskVO$personPatents.class


BIN
RMS/target/classes/cn/cslg/report/common/model/vo/TaskVO.class


+ 7 - 1
RMS/target/classes/mapper/TaskMapper.xml

@@ -2,7 +2,7 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 <mapper namespace="cn.cslg.report.mapper.TaskMapper">
     <select id="queryTasks" resultType="cn.cslg.report.common.model.vo.TaskReportVO" >
-   select a.* ,b.TYPE as reportType from TASK a left join REPORT b on a.REPORT_ID=b.ID
+   select a.* ,b.TYPE as reportType,b.SIGN_PATENT_NO as signPatentNo from TASK a left join REPORT b on a.REPORT_ID=b.ID
    <where>
 <if test="param.type !=null">
  and a.TYPE =#{param.type}
@@ -19,6 +19,12 @@ and a.TASK_STATUS in
                 #{item}
             </foreach>
         </if>
+       <if test="param.handleIds !=null and param.handleIds.size()!=0 ">
+           and a.HANDLE_PERSON_ID in
+           <foreach collection="param.handleIds" item="item" separator="," open="(" close=")">
+               #{item}
+           </foreach>
+       </if>
         <if test="param.taskName !=null and param.taskName !=''">
 and a.TASK_NAME  like concat('%', #{param.taskName}, '%')