Sfoglia il codice sorgente

加入费用项变更记录

wuxw 2 anni fa
parent
commit
f76a285fe0

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

@@ -91,6 +91,8 @@ public class FeeConfigDto extends PageDto implements Serializable {
 
     private String userName;
 
+    private String payerObjType;
+
 
     public String getFeeTypeCd() {
         return feeTypeCd;
@@ -365,4 +367,12 @@ public class FeeConfigDto extends PageDto implements Serializable {
     public void setUserName(String userName) {
         this.userName = userName;
     }
+
+    public String getPayerObjType() {
+        return payerObjType;
+    }
+
+    public void setPayerObjType(String payerObjType) {
+        this.payerObjType = payerObjType;
+    }
 }

+ 6 - 0
java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml

@@ -239,6 +239,9 @@
         left join pay_fee_attrs pfa1 on t.fee_id = pfa1.fee_id and pfa1.status_cd = '0' and pfa1.spec_cd = '390008'
         left join pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.status_cd = '0' and pfa2.spec_cd = '390009'
         where t.config_id = #{configId}
+        <if test="payerObjType != null and payerObjType != ''">
+           and t.payer_obj_type= #{payerObjType}
+        </if>
         and t.community_id= #{communityId}
     </select>
 
@@ -252,6 +255,9 @@
         left join pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.status_cd = '0' and pfa2.spec_cd = '390009'
         where t.config_id = #{configId}
         and t.community_id= #{communityId}
+        <if test="payerObjType != null and payerObjType != ''">
+           and t.payer_obj_type= #{payerObjType}
+        </if>
         order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}