Sfoglia il codice sorgente

Merge branch 'master' of https://github.com/java110/MicroCommunity

wuxw 6 anni fa
parent
commit
3122991d7d

+ 19 - 0
java110-bean/src/main/java/com/java110/dto/FeeDto.java

@@ -24,6 +24,9 @@ public class FeeDto extends PageDto implements Serializable {
     private String payerObjId;
     private String payerObjId;
     private String[] feeTypeCds;
     private String[] feeTypeCds;
 
 
+    private String squarePrice;
+    private String additionalAmount;
+
     private Date arrearsEndTime;
     private Date arrearsEndTime;
 
 
 
 
@@ -137,4 +140,20 @@ public class FeeDto extends PageDto implements Serializable {
     public void setFeeTypeCds(String[] feeTypeCds) {
     public void setFeeTypeCds(String[] feeTypeCds) {
         this.feeTypeCds = feeTypeCds;
         this.feeTypeCds = feeTypeCds;
     }
     }
+
+    public String getSquarePrice() {
+        return squarePrice;
+    }
+
+    public void setSquarePrice(String squarePrice) {
+        this.squarePrice = squarePrice;
+    }
+
+    public String getAdditionalAmount() {
+        return additionalAmount;
+    }
+
+    public void setAdditionalAmount(String additionalAmount) {
+        this.additionalAmount = additionalAmount;
+    }
 }
 }

+ 19 - 0
java110-bean/src/main/java/com/java110/vo/api/ApiMainFeeVo.java

@@ -18,6 +18,9 @@ public class ApiMainFeeVo extends Vo {
     private String endTime;
     private String endTime;
     private String amount;
     private String amount;
 
 
+    private String squarePrice;
+    private String additionalAmount;
+
     public String getFeeId() {
     public String getFeeId() {
         return feeId;
         return feeId;
     }
     }
@@ -59,4 +62,20 @@ public class ApiMainFeeVo extends Vo {
     public void setFeeTypeCd(String feeTypeCd) {
     public void setFeeTypeCd(String feeTypeCd) {
         this.feeTypeCd = feeTypeCd;
         this.feeTypeCd = feeTypeCd;
     }
     }
+
+    public String getSquarePrice() {
+        return squarePrice;
+    }
+
+    public void setSquarePrice(String squarePrice) {
+        this.squarePrice = squarePrice;
+    }
+
+    public String getAdditionalAmount() {
+        return additionalAmount;
+    }
+
+    public void setAdditionalAmount(String additionalAmount) {
+        this.additionalAmount = additionalAmount;
+    }
 }
 }

+ 7 - 3
java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml

@@ -106,9 +106,11 @@
         select t.amount,t.income_obj_id,t.income_obj_id incomeObjId,t.fee_type_cd,t.fee_type_cd
         select t.amount,t.income_obj_id,t.income_obj_id incomeObjId,t.fee_type_cd,t.fee_type_cd
         feeTypeCd,t.start_time,t.start_time startTime,t.status_cd,t.status_cd statusCd,t.end_time,t.end_time
         feeTypeCd,t.start_time,t.start_time startTime,t.status_cd,t.status_cd statusCd,t.end_time,t.end_time
         endTime,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId,t.user_id,t.user_id
         endTime,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId,t.user_id,t.user_id
-        userId,t.payer_obj_id,t.payer_obj_id payerObjId
-        from pay_fee t
+        userId,t.payer_obj_id,t.payer_obj_id payerObjId,pfc.square_price squarePrice,pfc.additional_amount additionalAmount
+        from pay_fee t,pay_fee_config pfc
         where 1 =1
         where 1 =1
+        and t.fee_type_cd = pfc.fee_type_cd
+        and pfc.status_cd = '0'
         <if test="amount !=null and amount != ''">
         <if test="amount !=null and amount != ''">
             and t.amount= #{amount}
             and t.amount= #{amount}
         </if>
         </if>
@@ -201,8 +203,10 @@
     <!-- 查询费用数量 add by wuxw 2018-07-03 -->
     <!-- 查询费用数量 add by wuxw 2018-07-03 -->
     <select id="queryFeesCount" parameterType="Map" resultType="Map">
     <select id="queryFeesCount" parameterType="Map" resultType="Map">
         select count(1) count
         select count(1) count
-        from pay_fee t
+        from pay_fee t,pay_fee_config pfc
         where 1 =1
         where 1 =1
+        and t.fee_type_cd = pfc.fee_type_cd
+        and pfc.status_cd = '0'
         <if test="amount !=null and amount != ''">
         <if test="amount !=null and amount != ''">
             and t.amount= #{amount}
             and t.amount= #{amount}
         </if>
         </if>