|
@@ -222,8 +222,8 @@
|
|
|
else '' end) as "ladderlevelname",
|
|
|
payseriesno as "payseriesno",
|
|
|
receivedamount,
|
|
|
- max(rece.state) as "state",
|
|
|
- min(rece.payway) as "payway",
|
|
|
+ reced.state as "state",
|
|
|
+ reced.payway as "payway",
|
|
|
(select label from pay_sys_dict where type = '支付方式' and value = reced.payway and site_id = #{siteId} and customer_id =#{customerId}) as "paywayname",
|
|
|
(select label from pay_sys_dict where type = '交易状态' and value = reced.state and site_id = #{siteId} and customer_id =#{customerId}) as "statename",
|
|
|
create_date as "createDate",
|
|
@@ -239,6 +239,7 @@
|
|
|
|
|
|
<select id="getPayreceived" resultType="com.bz.smart_city.dto.pay.payfee.PayfeeReceivedInfo">
|
|
|
select
|
|
|
+ account_id as "accountId",
|
|
|
accountnumber,
|
|
|
accountname,
|
|
|
`year`,`month`,
|
|
@@ -258,7 +259,7 @@
|
|
|
where
|
|
|
account_id=#{accountId}
|
|
|
and `year`=#{year}
|
|
|
- group by accountnumber,accountname,`year`,`month`,payseriesno
|
|
|
+ group by account_id,accountnumber,accountname,`year`,`month`,payseriesno
|
|
|
</select>
|
|
|
<select id="getWaterusedamount" resultType="com.bz.smart_city.dto.pay.payfee.PayfeeWaterusedamount">
|
|
|
select
|