소스 검색

1开户查询添加站点水司id

Xiaojh 4 년 전
부모
커밋
921df4f1ed
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      smart-city-platform/src/main/resources/mapper/PayBaseCustomerandmeterrelaMapper.xml

+ 3 - 1
smart-city-platform/src/main/resources/mapper/PayBaseCustomerandmeterrelaMapper.xml

@@ -38,7 +38,9 @@
         customer.calculateway as "calculateway",
         pro.id as "waterPropertyId",
         customer.valve_rule_id,
-        customer.valve_rule_name
+        customer.valve_rule_name,
+        customer.site_id as "siteId",
+        customer.customer_id as "customerId"
         from pay_base_customerandmeterrela customer
         left join pay_base_account account on customer.account_id = account.id
         left join pay_base_waterproperty pro on pro.id = customer.waterproperty_id