Просмотр исходного кода

[账单总览][修改][租金收缴率、物业费收缴率排除失效账单]

release_toaliyun_real
gongbiao 6 лет назад
Родитель
Сommit
717ccd4789
2 измененных файлов: 6 добавлений и 6 удалений
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  2. +3
    -3
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml Просмотреть файл

@@ -125,7 +125,7 @@
<select id="queryPayInfo" resultType="hashmap" parameterType="hashmap"> <select id="queryPayInfo" resultType="hashmap" parameterType="hashmap">
select IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_property select IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_property
where tenant_id=#{tenantId} where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
group by tenant_id group by tenant_id
</select> </select>


@@ -133,14 +133,14 @@
<select id="queryPayInfoTotal" resultType="hashmap" parameterType="hashmap"> <select id="queryPayInfoTotal" resultType="hashmap" parameterType="hashmap">
select round(sum(receive_pay)/100,2) receivepay,round(sum(pay)/100,2) pay,tenant_id from wx_bill_property select round(sum(receive_pay)/100,2) receivepay,round(sum(pay)/100,2) pay,tenant_id from wx_bill_property
where tenant_id=#{tenantId} where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select> </select>




<select id="queryOweInfo" resultType="hashmap" parameterType="hashmap"> <select id="queryOweInfo" resultType="hashmap" parameterType="hashmap">
select IFNULL(round(sum(owe)/100,2),0) owe,tenant_id from wx_bill_property select IFNULL(round(sum(owe)/100,2),0) owe,tenant_id from wx_bill_property
where status = 1 and tenant_id=#{tenantId} where status = 1 and tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select> </select>


<update id="updateNotPaidStatus" parameterType="hashmap"> <update id="updateNotPaidStatus" parameterType="hashmap">


+ 3
- 3
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Просмотреть файл

@@ -138,21 +138,21 @@
<select id="queryPayInfo" resultType="hashmap" parameterType="hashmap"> <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(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_rent
where tenant_id=#{tenantId} where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
group by tenant_id group by tenant_id
</select> </select>


<select id="queryPayInfoTotal" resultType="hashmap" parameterType="hashmap"> <select id="queryPayInfoTotal" resultType="hashmap" parameterType="hashmap">
select round(sum(receive_pay)/100,2) receivepay,round(sum(pay)/100,2) pay,tenant_id from wx_bill_rent select round(sum(receive_pay)/100,2) receivepay,round(sum(pay)/100,2) pay,tenant_id from wx_bill_rent
where tenant_id=#{tenantId} where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select> </select>




<select id="queryOweInfo" resultType="hashmap" parameterType="hashmap"> <select id="queryOweInfo" resultType="hashmap" parameterType="hashmap">
select IFNULL(round(sum(owe)/100,2),0) owe,tenant_id from wx_bill_rent select IFNULL(round(sum(owe)/100,2),0) owe,tenant_id from wx_bill_rent
where status = 1 and tenant_id=#{tenantId} where status = 1 and tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select> </select>


<update id="updateNotPaidStatus" parameterType="hashmap"> <update id="updateNotPaidStatus" parameterType="hashmap">


Загрузка…
Отмена
Сохранить