wuxw лет назад: 3
Родитель
Сommit
cbb2e54e91

+ 9 - 0
java110-bean/src/main/java/com/java110/dto/fee/FeeConfigDto.java

@@ -44,6 +44,7 @@ public class FeeConfigDto extends PageDto implements Serializable {
 
     private String feeTypeCd;
     private String computingFormula;
+    private String computingFormulaName;
     private String additionalAmount;
     private String squarePrice;
     private String isDefault;
@@ -285,4 +286,12 @@ public class FeeConfigDto extends PageDto implements Serializable {
     public String getDeductFrom() { return deductFrom; }
 
     public void setDeductFrom(String deductFrom) { this.deductFrom = deductFrom; }
+
+    public String getComputingFormulaName() {
+        return computingFormulaName;
+    }
+
+    public void setComputingFormulaName(String computingFormulaName) {
+        this.computingFormulaName = computingFormulaName;
+    }
 }

+ 10 - 0
java110-bean/src/main/java/com/java110/vo/api/feeConfig/ApiFeeConfigDataVo.java

@@ -11,6 +11,7 @@ public class ApiFeeConfigDataVo implements Serializable {
     private String startTime;
     private String endTime;
     private String computingFormula;
+    private String computingFormulaName;
     private String squarePrice;
     private String additionalAmount;
     private String feeTypeCdName;
@@ -168,4 +169,13 @@ public class ApiFeeConfigDataVo implements Serializable {
     public String getDeductFrom() { return deductFrom; }
 
     public void setDeductFrom(String deductFrom) { this.deductFrom = deductFrom; }
+
+
+    public String getComputingFormulaName() {
+        return computingFormulaName;
+    }
+
+    public void setComputingFormulaName(String computingFormulaName) {
+        this.computingFormulaName = computingFormulaName;
+    }
 }

+ 5 - 2
java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml

@@ -134,8 +134,8 @@
         startTime,t.end_time,t.end_time endTime,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,
         td1.name feeTypeCdName,td2.name feeFlagName,t.bill_type billType,t.bill_type,td3.name billTypeName,
         t.payment_cd,t.payment_cycle,t.payment_cd paymentCd,t.payment_cycle paymentCycle,
-        t.computing_formula_text,t.computing_formula_text computingFormulaText,t.deduct_from,t.deduct_from deductFrom
-        from pay_fee_config t,t_dict td1,t_dict td2,t_dict td3
+        t.computing_formula_text,t.computing_formula_text computingFormulaText,t.deduct_from,t.deduct_from deductFrom,td4.name computingFormulaName
+        from pay_fee_config t,t_dict td1,t_dict td2,t_dict td3,t_dict td4
         where 1 =1
         and t.fee_type_cd = td1.status_cd
         and td1.table_name = 'pay_fee_config'
@@ -146,6 +146,9 @@
         and t.bill_type = td3.status_cd
         and td3.table_name = 'pay_fee_config'
         and td3.table_columns = 'bill_type'
+        and t.computing_formula = td4.status_cd
+        and td4.table_name = 'pay_fee_config'
+        and td4.table_columns = 'computing_formula'
         <if test="feeTypeCd !=null and feeTypeCd != ''">
             and t.fee_type_cd= #{feeTypeCd}
         </if>