Sfoglia il codice sorgente

fix

release_toaliyun_real
winter 1 anno fa
parent
commit
d135d033fd
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxAllBillMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxAllBillMapper.xml Vedi File

@@ -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">


Caricamento…
Annulla
Salva