winter пре 1 година
родитељ
комит
151c9294bb
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Прегледај датотеку

@@ -219,7 +219,7 @@
</select>
<select id="queryPayInfo" resultType="hashmap" parameterType="hashmap">
select IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_rent
select IFNULL(sum(CAST(receive_pay AS DECIMAL(20,2))),0) receivepay,IFNULL(sum(CAST(pay AS DECIMAL(20,2))),0) pay,tenant_id from wx_bill_rent
where is_preview = 0
and status!=6
<if test=" null != tenantId and '' != tenantId">
@@ -238,7 +238,7 @@
</select>

<select id="queryPayInfoTotal" resultType="hashmap" parameterType="hashmap">
select IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_rent
select IFNULL(sum(CAST(receive_pay AS DECIMAL(20,2))),0) receivepay,IFNULL(sum(CAST(pay AS DECIMAL(20,2))),0) pay,tenant_id from wx_bill_rent
where is_preview = 0 and status!=6
<if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId}


Loading…
Откажи
Сачувај