fix 工作组项目增加是否打包查询

This commit is contained in:
lijiarao
2022-03-17 18:00:44 +08:00
parent 6265131084
commit 2a91153af0
@@ -58,6 +58,9 @@
<if test="payWorkingGroupSubItem.chargeStatus == 2">
AND !(if(pwgs.paid_amount is null or pwgs.paid_amount = '',0,pwgs.paid_amount) = if(pwgs.receivable_amount is null or pwgs.receivable_amount = '',0,pwgs.receivable_amount))
</if>
<if test="payWorkingGroupSubItem.pack != null and payWorkingGroupSubItem.pack != ''">
and pack = #{payWorkingGroupSubItem.pack}
</if>
</where>
GROUP BY pwgs.id
ORDER BY pwgs.create_time desc