Commit 2228b345 by levphon

修复工单结清车辆可见性bug

1 parent 71c6f78f
......@@ -106,6 +106,7 @@
left join t_department td on td.id = tu.department_id
left join t_tenant tt on tt.id = tu.tenant_id
where tw.del_flag = 0
${settleCondition}
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tw.created_by,#{checkedUserIdsStr})
</if>
......@@ -169,6 +170,7 @@
left join t_user tu on tu.id = tw.created_by
left join t_tenant tt on tt.id = tu.tenant_id
where tw.del_flag = 0
${settleCondition}
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tw.created_by,#{checkedUserIdsStr})
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!