Преглед на файлове

开放客户编号编辑,修改客户信息用水余额

oppadmin преди 4 години
родител
ревизия
5b8648d08d

+ 1 - 1
smart-city-platform/src/main/java/com/bz/smart_city/entity/Customer.java

@@ -30,7 +30,7 @@ public class Customer implements Serializable {
     @ApiModelProperty(value="推送地址")
     private String pushUrl;
 
-    @ApiModelProperty(value="客户编号", hidden = true)
+    @ApiModelProperty(value="客户编号")
     private String customerNo;
 
     @ApiModelProperty(value="客户token")

+ 2 - 2
smart-city-platform/src/main/resources/mapper/pay/PayBaseAccountMapper.xml

@@ -266,7 +266,7 @@
         IFNULL(paw.sum_payamount,0) sumPayamount,
         pba.state as state,
         (select label from pay_sys_dict where value = pba.state and type='客户状态' and site_id = #{siteId} and customer_id = #{customerId}) stateName,
-        rech.remaining,
+        rech.balance as remaining,
         <!-- dt.remaining ,-->
         (select label from pay_sys_dict where value = pba.idtype and type='证件类型' and site_id = #{siteId} and customer_id = #{customerId}) idTypeName,
         pba.accountnumber,
@@ -398,7 +398,7 @@
             (select IFNULL(sum(payamount),0) from pay_amount_waterusedamount paw where  paw.site_id=#{siteId} and paw.customer_id=#{customerId} and paw.state = 2 and paw.accountnumber = pba.accountnumber) sumPayamount,
             #{payment} as sumPayment,
             psd2.label as stateName,
-            ppr.remaining,
+            ppr.balance as remaining,
             <!--(SELECT  remaining from pay_pay_rechargeaccount
             where  account_id=pba.id and site_id=#{siteId} and customer_id=#{customerId})
             -