Selaa lähdekoodia

fix

release_toaliyun_real
winter 1 vuosi sitten
vanhempi
commit
d135d033fd
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxAllBillMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxAllBillMapper.xml Näytä tiedosto

@@ -432,7 +432,11 @@
<delete id = "deleteById" parameterType="HashMap">
delete from wx_all_bill where id = #{id} and tenant_id = #{tenantId}
and pay &lt;= 0 and IFNULL(`set_off`,'0') &lt;= 0 and IFNULL(`return_pay`,'0') &lt;= 0 and IFNULL(`use_money`,'0') &lt;= 0
and (
(bill_type != 7 and pay &lt;= 0 and IFNULL(`set_off`,'0') &lt;= 0 and IFNULL(`return_pay`,'0') &lt;= 0 and IFNULL(`use_money`,'0') &lt;= 0)
or
(bill_type = 7 and IFNULL(`set_off`,'0') &lt;= 0 and IFNULL(`return_pay`,'0') &lt;= 0 and IFNULL(`use_money`,'0') &lt;= 0)
)
</delete>
<delete id = "deleteEnergyReadingBills" parameterType="HashMap">


Ladataan…
Peruuta
Tallenna