瀏覽代碼

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

shc 6 月之前
父節點
當前提交
9986a3c836
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/WmTaskMapper.xml

+ 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},'%')