guoyujia 11 月之前
父節點
當前提交
5f6813f675
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mybatis/business/product/BizDayworkItemMapper.xml

+ 1 - 1
src/main/resources/mybatis/business/product/BizDayworkItemMapper.xml

@@ -71,7 +71,7 @@
         from biz_daywork_item t1 left join biz_process t2
         from biz_daywork_item t1 left join biz_process t2
             on t1.process_id = t2.id
             on t1.process_id = t2.id
         where t1.daywork_id = #{dayworkId}
         where t1.daywork_id = #{dayworkId}
-          and t1.dept_id in (select dept_id from sys_dept where dept_name = '分选' and del_flag = 0)
+          and t1.is_sort = 1
           and t1.deleted = 0
           and t1.deleted = 0
           and t2.deleted = 0
           and t2.deleted = 0
           and t1.status <4
           and t1.status <4