wuxw %!s(int64=4) %!d(string=hai) anos
pai
achega
2a255f3e5e

+ 6 - 0
java110-db/src/main/resources/mapper/community/InspectionTaskV1ServiceDaoImplMapper.xml

@@ -79,6 +79,9 @@
         <if test="taskId !=null and taskId != ''">
             and t.task_id= #{taskId}
         </if>
+        <if test="state !=null and state != ''">
+            and t.state= #{state}
+        </if>
         order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
@@ -204,6 +207,9 @@
         <if test="taskId !=null and taskId != ''">
             and t.task_id= #{taskId}
         </if>
+        <if test="state !=null and state != ''">
+            and t.state= #{state}
+        </if>
 
 
     </select>