Browse Source

[手续费][修改][租金和物业手续费]

release_toaliyun_real
gongbiao 6 years ago
parent
commit
2a97147a52
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml View File

@@ -270,7 +270,7 @@
</update>
<update id="updateServiceCharge" parameterType="com.iformall.domain.po.WxPayAccountBill">
update wx_bill_property set service_charge_pay=round(receive_pay+receive_pay*#{serviceChargeRate}/100) where tenant_id=#{tenantId} and status in(1,2,4)
update wx_bill_property set service_charge_pay=round(receive_pay*#{serviceChargeRate}/100) where tenant_id=#{tenantId} and service_charge_pay=0 and status in(1,2,4)
</update>

</mapper>


+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml View File

@@ -276,7 +276,7 @@
</update>
<update id="updateServiceCharge" parameterType="com.iformall.domain.po.WxPayAccountBill">
update wx_bill_rent set service_charge_pay=round(receive_pay+receive_pay*#{serviceChargeRate}/100) where tenant_id=#{tenantId} and status in(1,2,4)
update wx_bill_rent set service_charge_pay=round(receive_pay*#{serviceChargeRate}/100) where tenant_id=#{tenantId} and service_charge_pay=0 and status in(1,2,4)
</update>

</mapper>


Loading…
Cancel
Save