Browse Source

合同解除后,委托管理还能看到委托

rainwer 6 months ago
parent
commit
ae9526e50b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mybatis/business/BizWorkOrderMapper.xml

+ 1 - 1
src/main/resources/mybatis/business/BizWorkOrderMapper.xml

@@ -77,7 +77,7 @@
         on tt1.to_tenant_id =tt2.id and tt1.deleted = 0) t8 on t8.work_order_id = t1.id and t8.deleted = 0 and
         t8.task_type_id = t1.task_type_id and t8.work_month = #{workDate}
         <trim prefix=" WHERE" suffix="" suffixOverrides="AND">
-            t1.deleted = 0 and t2.deleted = 0
+            t1.deleted = 0 and t1.is_stop = 0 and t2.deleted = 0
             <if test="id != null ">AND t1.id = #{id}</if>
             <if test="ids != null and ids.size() > 0">
                 AND t1.id IN