|
|
@@ -120,7 +120,6 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
GROUP BY FC.Corpid
|
|
|
- HAVING SUM(IFNULL( IFNULL( BC.amount, 0 ) - IFNULL( FS.settlementAmount, 0 ), 0 )) >= 100
|
|
|
</select>
|
|
|
|
|
|
<select id="SelChargeItem" resultType="org.springblade.finance.vojo.Acc">
|
|
|
@@ -166,7 +165,7 @@
|
|
|
LEFT JOIN finance_items FI ON FI.pid = FS.id
|
|
|
<where>
|
|
|
FS.tenant_id = #{acc.tenantId}
|
|
|
- AND FS.is_deleted = 0n
|
|
|
+ AND FS.is_deleted = 0
|
|
|
AND FI.is_deleted = 0
|
|
|
AND FS.finance_status = '结算完成'
|
|
|
<if test='acc.billType != null and acc.billType != "" and acc.billType == "申请"'>
|