소스 검색

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

release_toaliyun_real
gongbiao 6 년 전
부모
커밋
32680590e6
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml 파일 보기

@@ -131,14 +131,14 @@


<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 IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_property
where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select>


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


+ 2
- 2
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml 파일 보기

@@ -143,14 +143,14 @@
</select>

<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 IFNULL(sum(receive_pay),0) receivepay,IFNULL(sum(pay),0) pay,tenant_id from wx_bill_rent
where tenant_id=#{tenantId}
and receive_date between #{startdate} and #{enddate} and is_preview = 0 and status!=6
</select>


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


불러오는 중...
취소
저장