代办优化
This commit is contained in:
parent
670411c42d
commit
115de905e5
|
|
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sys_dept dept1 on dept1.dept_id=tt.buyer_company_id
|
LEFT JOIN sys_dept dept1 on dept1.dept_id=tt.buyer_company_id
|
||||||
LEFT JOIN sys_dept dept2 on dept2.dept_id=tt.seller_company_id
|
LEFT JOIN sys_dept dept2 on dept2.dept_id=tt.seller_company_id
|
||||||
WHERE
|
WHERE
|
||||||
tt.`status` = '1'
|
tt.`status` = '1' and tt.task_status < 20
|
||||||
and tt.task_type in (2)
|
and tt.task_type in (2)
|
||||||
<if test="buyerCompanyId != null">
|
<if test="buyerCompanyId != null">
|
||||||
and tt.buyer_company_id=#{buyerCompanyId} || tt.seller_company_id=#{buyerCompanyId}
|
and tt.buyer_company_id=#{buyerCompanyId} || tt.seller_company_id=#{buyerCompanyId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue