Ver Fonte

fix:筛选任务类型条件查询

shc há 6 meses atrás
pai
commit
9986a3c836

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/WmTaskMapper.xml

@@ -1435,7 +1435,7 @@
       and t.id LIKE CONCAT('%',#{taskId},'%')
     </if>
     <if test="taskTypeId != '' and taskTypeId != null">
-      and t.task_type_id LIKE CONCAT('%',#{taskTypeId},'%')
+      and t.task_type_id = #{taskTypeId}
     </if>
     <if test="taskNumber != '' and taskNumber != null">
       and t.task_number LIKE CONCAT('%',#{taskNumber},'%')