瀏覽代碼

fix

release_toaliyun_real
winter 1 年之前
父節點
當前提交
728c3af0d6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxAllBillMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxAllBillMapper.xml 查看文件

@@ -217,8 +217,8 @@
</delete>
<delete id="deleteNoNeedPayBill" parameterType="com.iformall.domain.po.WxAllBill">
delete from wx_all_bill where rent_contract_id = #{rentContractId} and status = 2
and starttime &gt; #{shopEndtime} and IFNULL(`pay`,'0') &lt;= 0 AND IFNULL(`set_off`,'0') &lt;= 0 and IFNULL(`return_pay`,'0') &lt;= 0
delete from wx_all_bill where status = 2
and starttime &gt;= #{shopEndtime} and IFNULL(`pay`,'0') &lt;= 0 AND IFNULL(`set_off`,'0') &lt;= 0 and IFNULL(`return_pay`,'0') &lt;= 0
<if test=" null != rentContractId">
and rent_contract_id = #{rentContractId}
</if>


Loading…
取消
儲存