Parcourir la source

加入客服二维码

Your Name il y a 3 ans
Parent
commit
b4bdb7b0bf

+ 2 - 2
docs/installHcDev.md

@@ -1,7 +1,7 @@
 ## HC小区管理系统安装教程(开发环境)
 
 1、下载代码 <br/>
-git clone https://github.com/java110/MicroCommunity.git <br/>
+git clone https://gitee.com/wuxw7/MicroCommunity.git <br/>
 执行 mvn clean package  和 mvn clean install<br/><br/>
 2、添加hosts<br/>
 127.0.0.1 dev.db.java110.com <br/>
@@ -82,7 +82,7 @@ dataSource.yml 中修改password密码<br/>
 6、启动模块service-开头服务下的*ServiceApplicationStart.java文件中的main方法<br/>
 注意启动是没有顺序的,但是我们优先推荐您启动service-eureka<br/>
 7、下载前段代码 <br/>
-git clone https://github.com/java110/MicroCommunityWeb.git <br/>
+git clone https://gitee.com/java110/MicroCommunityWeb.git <br/>
 8、修改app.js 中的地址<br/>
 ```shell script
 app.use('/callComponent', proxy('http://192.168.100.108:8008', opts));

+ 10 - 0
java110-bean/src/main/java/com/java110/dto/community/CommunityDto.java

@@ -47,6 +47,8 @@ public class CommunityDto extends PageDto implements Serializable {
 
     private String communityArea;
 
+    private String qrCode;
+
     private List<CommunityAttrDto> communityAttrDtos;
 
 
@@ -288,4 +290,12 @@ public class CommunityDto extends PageDto implements Serializable {
     public void setFeePrice(String feePrice) {
         this.feePrice = feePrice;
     }
+
+    public String getQrCode() {
+        return qrCode;
+    }
+
+    public void setQrCode(String qrCode) {
+        this.qrCode = qrCode;
+    }
 }

+ 10 - 0
java110-bean/src/main/java/com/java110/po/community/CommunityPo.java

@@ -28,6 +28,8 @@ public class CommunityPo implements Serializable {
     private String payFeeMonth;
     private String feePrice;
 
+    private String qrCode;
+
 
     private String statusCd = "0";
 
@@ -150,4 +152,12 @@ public class CommunityPo implements Serializable {
     public void setFeePrice(String feePrice) {
         this.feePrice = feePrice;
     }
+
+    public String getQrCode() {
+        return qrCode;
+    }
+
+    public void setQrCode(String qrCode) {
+        this.qrCode = qrCode;
+    }
 }

+ 4 - 1
java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml

@@ -20,7 +20,7 @@
         select t.fee_price,t.fee_price feePrice,t.address,t.city_code,t.city_code cityCode,t.status_cd,t.status_cd
         statusCd,t.map_y,t.map_y mapY,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.map_x,t.map_x
         mapX,t.nearby_landmarks,t.nearby_landmarks nearbyLandmarks,t.name,t.tel,t.state,t.community_id,t.community_id
-        communityId,t.community_area,t.community_area communityArea
+        communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode
         from s_community t
         where 1 =1
         <if test="feePrice !=null and feePrice != ''">
@@ -112,6 +112,9 @@
         <if test="communityArea !=null and communityArea != ''">
             , t.community_area= #{communityArea}
         </if>
+        <if test="qrCode !=null and qrCode != ''">
+            , t.qr_code= #{qrCode}
+        </if>
         where 1=1
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}