Procházet zdrojové kódy

[合同][修改][账单欠缴]

release_toaliyun_real
gongbiao před 6 roky
rodič
revize
9222dff182
2 změnil soubory, kde provedl 6 přidání a 4 odebrání
  1. +3
    -2
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  2. +3
    -2
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 3
- 2
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml Zobrazit soubor

@@ -181,7 +181,8 @@
</update>

<update id="updatePreviewStatus" parameterType="com.iformall.domain.po.WxBillProperty">
update wx_bill_property set is_preview = #{isPreview},merchant_id = #{merchantId},need_pay = receive_pay,owe=receive_pay
update wx_bill_property set is_preview = #{isPreview},merchant_id = #{merchantId},need_pay = receive_pay,
owe=receive_pay + service_charge_pay + ifnull(late_pay_price,0) - pay
where property_contract_id = #{propertyContractId}
</update>

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


+ 3
- 2
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Zobrazit soubor

@@ -188,7 +188,8 @@
</update>

<update id="updatePreviewStatus" parameterType="com.iformall.domain.po.WxBillRent">
update wx_bill_rent set is_preview = #{isPreview},merchant_id = #{merchantId},need_pay = receive_pay,owe=receive_pay
update wx_bill_rent set is_preview = #{isPreview},merchant_id = #{merchantId},need_pay = receive_pay,
owe=receive_pay + service_charge_pay + ifnull(late_pay_price,0) - pay
where rent_contract_id = #{rentContractId}
</update>

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


Načítá se…
Zrušit
Uložit