代办优化

This commit is contained in:
sxu 2025-01-22 09:46:05 +08:00
parent 670411c42d
commit 115de905e5
1 changed files with 1 additions and 1 deletions

View File

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