|
@@ -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
|