未结算报表
This commit is contained in:
parent
fc40e4af1f
commit
4ded4d7b97
|
|
@ -1797,7 +1797,7 @@
|
||||||
LEFT JOIN slt_agreement_info sai on bai.agreement_id = sai.agreement_id
|
LEFT JOIN slt_agreement_info sai on bai.agreement_id = sai.agreement_id
|
||||||
WHERE bai.status = '1'
|
WHERE bai.status = '1'
|
||||||
AND sai.is_slt = 0
|
AND sai.is_slt = 0
|
||||||
|
<if test="companyId != null">and bai.company_id=#{companyId}</if>
|
||||||
<if test="unitIds != null and unitIds.size() > 0">
|
<if test="unitIds != null and unitIds.size() > 0">
|
||||||
AND bai.unit_id IN
|
AND bai.unit_id IN
|
||||||
<foreach item="item" index="index" collection="unitIds" open="(" separator="," close=")">
|
<foreach item="item" index="index" collection="unitIds" open="(" separator="," close=")">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue