Pārlūkot izejas kodu

fix

release_toaliyun_real
winter pirms 1 gada
vecāks
revīzija
d135d033fd
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxAllBillMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxAllBillMapper.xml Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt