java110 %!s(int64=2) %!d(string=hai) anos
pai
achega
cf7d1a8289

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

@@ -51,6 +51,8 @@ public class FeeAttrDto extends PageDto implements Serializable {
     private String specCdName;
     private String communityId;
     private String feeId;
+
+    private String[] feeIds;
     private String value;
     private String state;
 
@@ -158,4 +160,12 @@ public class FeeAttrDto extends PageDto implements Serializable {
     public void setState(String state) {
         this.state = state;
     }
+
+    public String[] getFeeIds() {
+        return feeIds;
+    }
+
+    public void setFeeIds(String[] feeIds) {
+        this.feeIds = feeIds;
+    }
 }

+ 24 - 2
java110-bean/src/main/java/com/java110/dto/payFee/PayFeeDetailMonthDto.java

@@ -1,9 +1,12 @@
 package com.java110.dto.payFee;
 
 import com.java110.dto.PageDto;
+import com.java110.dto.fee.FeeAttrDto;
+import com.java110.dto.fee.FeeDto;
 
 import java.io.Serializable;
 import java.util.Date;
+import java.util.List;
 
 /**
  * @ClassName FloorDto
@@ -13,7 +16,7 @@ import java.util.Date;
  * @Version 1.0
  * add by wuxw 2019/4/24
  **/
-public class PayFeeDetailMonthDto extends PageDto implements Serializable {
+public class PayFeeDetailMonthDto extends FeeDto implements Serializable {
 
     public static final String STATE_W = "W";//待缴费
     public static final String STATE_C = "C";//已缴费
@@ -37,6 +40,9 @@ public class PayFeeDetailMonthDto extends PageDto implements Serializable {
 
     private String objName;
     private String objId;
+
+    private String objType;
+
     private String[] objIds;
     private String ownerName;
     private String ownerId;
@@ -49,7 +55,7 @@ public class PayFeeDetailMonthDto extends PageDto implements Serializable {
     private String feeName;
     private String configId;
 
-
+    private List<FeeAttrDto> feeAttrDtos;
 
     public String getDetailMonth() {
         return detailMonth;
@@ -235,4 +241,20 @@ public class PayFeeDetailMonthDto extends PageDto implements Serializable {
     public void setObjIds(String[] objIds) {
         this.objIds = objIds;
     }
+
+    public String getObjType() {
+        return objType;
+    }
+
+    public void setObjType(String objType) {
+        this.objType = objType;
+    }
+
+    public List<FeeAttrDto> getFeeAttrDtos() {
+        return feeAttrDtos;
+    }
+
+    public void setFeeAttrDtos(List<FeeAttrDto> feeAttrDtos) {
+        this.feeAttrDtos = feeAttrDtos;
+    }
 }

+ 191 - 0
java110-db/src/main/resources/mapper/fee/PayFeeDetailMonthServiceDaoImplMapper.xml

@@ -337,4 +337,195 @@
         and t.fee_id = #{feeId}
         and pfdm.detail_id is null
     </select>
+
+    <!-- 查询月数据 -->
+    <select id="queryPagePayFeeDetailMonths" parameterType="Map" resultType="Map">
+        select t.detail_month detailMonth,t.detail_year detailYear,t.detail_id
+        detailId,t.receivable_amount receivableAmount,t.discount_amount discountAmount,t.remark,t.received_amount receivedAmount,
+        t.community_id communityId,t.fee_id feeId,t.month_id monthId,
+        t.obj_name objName,t.obj_id objId,t.owner_name ownerName,t.owner_id ownerId,t.link,t.state,t.pay_fee_time
+        payFeeTime,t.cur_month_time curMonthTime,pfc.square_price squarePrice,pfc.additional_amount
+        additionalAmount,pfc.fee_flag,pfc.fee_flag feeFlag,
+        pfc.fee_name feeName,td1.name feeTypeCdName,td3.name feeFlagName,pfc.computing_formula
+        computingFormula,pfc.computing_formula_text computingFormulaText,
+        pfc.bill_type billType,pf.payer_obj_type payerObjType,pfc.is_default isDefault,pfc.start_time
+        configStartTime,pfc.end_time configEndTime,pfc.payment_cd paymentCd,pfc.payment_cycle paymentCycle,td4.name
+        billTypeName,pfa.value importFeeName,mw.cur_degrees curDegrees,mw.pre_degrees
+        preDegrees,
+        mw.pre_reading_time preReadingTime,mw.cur_reading_time curReadingTime,pfa1.`value` deadlineTime,pfa1.`value` maxEndTime,mw.price
+        mwPrice,
+        pfa2.`value` ownerName,pf.batch_id batchId,
+        pfc.pay_online payOnline,pfc.scale,pfc.decimal_place decimalPlace,pfc.units
+        from pay_fee_detail_month t
+        inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
+        INNER join pay_fee_config pfc on t.config_id = pfc.config_id and
+        pfc.status_cd = '0'
+        left join t_dict td1 on pfc.fee_type_cd = td1.status_cd and td1.table_name = 'pay_fee_config' and
+        td1.table_columns = 'fee_type_cd'
+        left join t_dict td3 on pfc.fee_flag = td3.status_cd and td3.table_name = 'pay_fee' and td3.table_columns =
+        'fee_flag'
+        left join t_dict td4 on pfc.bill_type = td4.status_cd and td4.table_name = 'pay_fee_config' and
+        td4.table_columns = 'bill_type'
+        LEFT JOIN pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002' and pfa.status_cd = '0'
+        LEFT JOIN pay_fee_attrs pfa1 on t.fee_id = pfa1.fee_id and pfa1.spec_cd = '390010' and pfa1.status_cd = '0'
+        LEFT JOIN pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.spec_cd = '390008' and pfa2.status_cd = '0'
+        LEFT JOIN meter_water mw on t.fee_id = mw.fee_id and mw.status_cd = '0' and mw.community_id = t.community_id
+        <if test="ownerId != null and ownerId != ''">
+            LEFT JOIN pay_fee_attrs pfao on t.fee_id = pfao.fee_id and pfao.spec_cd = '390007' and pfao.status_cd = '0'
+        </if>
+        where 1 =1
+        <if test="ownerId !=null and ownerId != ''">
+            and pfao.value= #{ownerId}
+        </if>
+        <if test="detailMonth !=null and detailMonth != ''">
+            and t.detail_month= #{detailMonth}
+        </if>
+        <if test="feeTypeCd !=null and feeTypeCd != ''">
+            and pf.fee_type_cd= #{feeTypeCd}
+        </if>
+        <if test="feeTypeCds != null ">
+            and pf.fee_type_cd in
+            <foreach collection="feeTypeCds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+        <if test="detailYear !=null and detailYear != ''">
+            and t.detail_year= #{detailYear}
+        </if>
+        <if test="detailId !=null and detailId != ''">
+            and t.detail_id= #{detailId}
+        </if>
+        <if test="receivableAmount !=null and receivableAmount != ''">
+            and t.receivable_amount= #{receivableAmount}
+        </if>
+        <if test="discountAmount !=null and discountAmount != ''">
+            and t.discount_amount= #{discountAmount}
+        </if>
+        <if test="remark !=null and remark != ''">
+            and t.remark= #{remark}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="receivedAmount !=null and receivedAmount != ''">
+            and t.received_amount= #{receivedAmount}
+        </if>
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
+        <if test="feeId !=null and feeId != ''">
+            and t.fee_id= #{feeId}
+        </if>
+        <if test="monthId !=null and monthId != ''">
+            and t.month_id= #{monthId}
+        </if>
+        <if test="objName !=null and objName != ''">
+            and t.obj_name= #{objName}
+        </if>
+        <if test="objId !=null and objId != ''">
+            and t.obj_id= #{objId}
+        </if>
+        <if test="ownerName !=null and ownerName != ''">
+            and t.owner_name= #{ownerName}
+        </if>
+        <if test="ownerId !=null and ownerId != ''">
+            and t.owner_id= #{ownerId}
+        </if>
+        <if test="state !=null and state != ''">
+            and t.state= #{state}
+        </if>
+        <if test="payFeeTime !=null and payFeeTime != ''">
+            and t.pay_fee_time= #{payFeeTime}
+        </if>
+        order by t.detail_year desc,t.detail_month desc
+        <if test="page != -1 and page != null ">
+            limit #{page}, #{row}
+        </if>
+    </select>
+
+    <!-- 查询月缴费表数量 add by wuxw 2018-07-03 -->
+    <select id="queryPagePayFeeDetailMonthsCount" parameterType="Map" resultType="Map">
+        select count(1) count
+        from pay_fee_detail_month t
+        inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
+        INNER join pay_fee_config pfc on t.config_id = pfc.config_id and pfc.status_cd = '0'
+        left join t_dict td1 on pfc.fee_type_cd = td1.status_cd and td1.table_name = 'pay_fee_config' and
+        td1.table_columns = 'fee_type_cd'
+        left join t_dict td3 on pfc.fee_flag = td3.status_cd and td3.table_name = 'pay_fee' and td3.table_columns =
+        'fee_flag'
+        left join t_dict td4 on pfc.bill_type = td4.status_cd and td4.table_name = 'pay_fee_config' and
+        td4.table_columns = 'bill_type'
+        LEFT JOIN pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002' and pfa.status_cd = '0'
+        LEFT JOIN pay_fee_attrs pfa1 on t.fee_id = pfa1.fee_id and pfa1.spec_cd = '390010' and pfa1.status_cd = '0'
+        LEFT JOIN pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.spec_cd = '390008' and pfa2.status_cd = '0'
+        LEFT JOIN meter_water mw on t.fee_id = mw.fee_id and mw.status_cd = '0' and mw.community_id = t.community_id
+        <if test="ownerId != null and ownerId != ''">
+            LEFT JOIN pay_fee_attrs pfao on t.fee_id = pfao.fee_id and pfao.spec_cd = '390007' and pfao.status_cd = '0'
+        </if>
+        where 1 =1
+        <if test="ownerId !=null and ownerId != ''">
+            and pfao.value= #{ownerId}
+        </if>
+        <if test="detailMonth !=null and detailMonth != ''">
+            and t.detail_month= #{detailMonth}
+        </if>
+        <if test="feeTypeCd !=null and feeTypeCd != ''">
+            and pf.fee_type_cd= #{feeTypeCd}
+        </if>
+        <if test="feeTypeCds != null ">
+            and pf.fee_type_cd in
+            <foreach collection="feeTypeCds" item="item" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+        <if test="detailYear !=null and detailYear != ''">
+            and t.detail_year= #{detailYear}
+        </if>
+        <if test="detailId !=null and detailId != ''">
+            and t.detail_id= #{detailId}
+        </if>
+        <if test="receivableAmount !=null and receivableAmount != ''">
+            and t.receivable_amount= #{receivableAmount}
+        </if>
+        <if test="discountAmount !=null and discountAmount != ''">
+            and t.discount_amount= #{discountAmount}
+        </if>
+        <if test="remark !=null and remark != ''">
+            and t.remark= #{remark}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="receivedAmount !=null and receivedAmount != ''">
+            and t.received_amount= #{receivedAmount}
+        </if>
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
+        <if test="feeId !=null and feeId != ''">
+            and t.fee_id= #{feeId}
+        </if>
+        <if test="monthId !=null and monthId != ''">
+            and t.month_id= #{monthId}
+        </if>
+        <if test="objName !=null and objName != ''">
+            and t.obj_name= #{objName}
+        </if>
+        <if test="objId !=null and objId != ''">
+            and t.obj_id= #{objId}
+        </if>
+        <if test="ownerName !=null and ownerName != ''">
+            and t.owner_name= #{ownerName}
+        </if>
+        <if test="ownerId !=null and ownerId != ''">
+            and t.owner_id= #{ownerId}
+        </if>
+        <if test="state !=null and state != ''">
+            and t.state= #{state}
+        </if>
+        <if test="payFeeTime !=null and payFeeTime != ''">
+            and t.pay_fee_time= #{payFeeTime}
+        </if>
+    </select>
+
 </mapper>

+ 11 - 0
java110-interface/src/main/java/com/java110/intf/fee/IPayFeeDetailMonthInnerServiceSMO.java

@@ -66,4 +66,15 @@ public interface IPayFeeDetailMonthInnerServiceSMO {
      */
     @RequestMapping(value = "/getWaitDispersedFeeDetail", method = RequestMethod.POST)
     List<FeeDetailDto> getWaitDispersedFeeDetail(@RequestBody PayFeeDetailMonthDto payFeeDetailMonthDto);
+
+    /**
+     * 专门给页面展示使用
+     * @param payFeeDetailMonthDto
+     * @return
+     */
+    @RequestMapping(value = "/queryPagePayFeeDetailMonths", method = RequestMethod.POST)
+    List<PayFeeDetailMonthDto> queryPagePayFeeDetailMonths(@RequestBody PayFeeDetailMonthDto payFeeDetailMonthDto);
+
+    @RequestMapping(value = "/queryPagePayFeeDetailMonthsCount", method = RequestMethod.POST)
+    int queryPagePayFeeDetailMonthsCount(@RequestBody PayFeeDetailMonthDto payFeeDetailMonthDto);
 }

+ 25 - 54
service-fee/src/main/java/com/java110/fee/cmd/fee/ListMonthFeeCmd.java

@@ -116,11 +116,13 @@ public class ListMonthFeeCmd extends Cmd {
         // todo 处理 多个房屋
         morePayerObjIds(reqJson, payFeeDetailMonthDto);
 
-        int count = payFeeDetailMonthInnerServiceSMOImpl.queryPayFeeDetailMonthsCount(payFeeDetailMonthDto);
+        int count = payFeeDetailMonthInnerServiceSMOImpl.queryPagePayFeeDetailMonthsCount(payFeeDetailMonthDto);
+
         List<PayFeeDetailMonthDto> payFeeDetailMonthDtos = null;
         if (count > 0) {
-            payFeeDetailMonthDtos = payFeeDetailMonthInnerServiceSMOImpl.queryPayFeeDetailMonths(payFeeDetailMonthDto);//查询费用项目
-            //freshFeeAttrs(fees, feeDtos);
+            payFeeDetailMonthDtos = payFeeDetailMonthInnerServiceSMOImpl.queryPagePayFeeDetailMonths(payFeeDetailMonthDto);//查询费用项目
+            //todo 将 费用下的属性刷入进去,方便前段展示使用
+            freshFeeAttrs(payFeeDetailMonthDtos);
         } else {
             payFeeDetailMonthDtos = new ArrayList<>();
         }
@@ -188,61 +190,30 @@ public class ListMonthFeeCmd extends Cmd {
         }
     }
 
-    private void freshFeeAttrs(List<ApiFeeDataVo> fees, List<FeeDto> feeDtos) {
-        String link = "";
-        for (FeeDto feeDto : feeDtos) {
-            if (FeeDto.PAYER_OBJ_TYPE_ROOM.equals(feeDto.getPayerObjType())) { //房屋
-                OwnerRoomRelDto ownerRoomRelDto = new OwnerRoomRelDto();
-                ownerRoomRelDto.setRoomId(feeDto.getPayerObjId());
-                List<OwnerRoomRelDto> ownerRoomRelDtos = ownerRoomRelV1InnerServiceSMOImpl.queryOwnerRoomRels(ownerRoomRelDto);
-                if (ownerRoomRelDtos == null || ownerRoomRelDtos.size() < 1) {
-                    continue;
-                }
-                OwnerDto ownerDto = new OwnerDto();
-                ownerDto.setMemberId(ownerRoomRelDtos.get(0).getOwnerId());
-                List<OwnerDto> ownerDtos = ownerInnerServiceSMOImpl.queryOwners(ownerDto);
-                Assert.listOnlyOne(ownerDtos, "查询业主错误!");
-                link = ownerDtos.get(0).getLink();
-            } else if (FeeDto.PAYER_OBJ_TYPE_CAR.equals(feeDto.getPayerObjType())) {
-                OwnerCarDto ownerCarDto = new OwnerCarDto();
-                ownerCarDto.setMemberId(feeDto.getPayerObjId());
-                List<OwnerCarDto> ownerCarDtos = ownerCarInnerServiceSMOImpl.queryOwnerCars(ownerCarDto);
-                Assert.listOnlyOne(ownerCarDtos, "查询业主车辆表错误!");
-                OwnerDto ownerDto = new OwnerDto();
-                ownerDto.setMemberId(ownerCarDtos.get(0).getOwnerId());
-                List<OwnerDto> ownerDtos = ownerInnerServiceSMOImpl.queryOwners(ownerDto);
-                Assert.listOnlyOne(ownerDtos, "查询业主错误!");
-                link = ownerDtos.get(0).getLink();
-            }
-            FeeAttrDto feeAttrDto = new FeeAttrDto();
-            feeAttrDto.setFeeId(feeDto.getFeeId());
-            List<FeeAttrDto> feeAttrDtos = feeAttrInnerServiceSMOImpl.queryFeeAttrs(feeAttrDto);
-            if (feeAttrDtos == null || feeAttrDtos.size() < 1) {
-                continue;
-            }
-            for (FeeAttrDto feeAttr : feeAttrDtos) {
-                if (!FeeAttrDto.SPEC_CD_OWNER_LINK.equals(feeAttr.getSpecCd())) { //联系方式
-                    continue;
-                }
-                if (feeAttr.getValue().equals(link)) {
-                    continue;
-                }
-                FeeAttrPo feeAttrPo = new FeeAttrPo();
-                feeAttrPo.setAttrId(feeAttr.getAttrId());
-                feeAttrPo.setValue(link);
-                int flag = feeAttrInnerServiceSMOImpl.updateFeeAttr(feeAttrPo);
-                if (flag < 1) {
-                    throw new CmdException("更新业主联系方式失败");
-                }
+    private void freshFeeAttrs(List<PayFeeDetailMonthDto> payFeeDetailMonthDtos) {
+        List<String> feeIds = new ArrayList<>();
+        for (PayFeeDetailMonthDto feeDto : payFeeDetailMonthDtos) {
+            feeIds.add(feeDto.getFeeId());
+        }
 
-            }
+        FeeAttrDto feeAttrDto = new FeeAttrDto();
+        feeAttrDto.setFeeIds(feeIds.toArray(new String[feeIds.size()]));
+        List<FeeAttrDto> feeAttrDtos = feeAttrInnerServiceSMOImpl.queryFeeAttrs(feeAttrDto);
+
+        if (feeAttrDtos == null || feeAttrDtos.size() < 1) {
+            return;
         }
-        for (ApiFeeDataVo apiFeeDataVo : fees) {
-            for (FeeDto feeDto : feeDtos) {
-                if (apiFeeDataVo.getFeeId().equals(feeDto.getFeeId())) {
-                    apiFeeDataVo.setFeeAttrs(feeDto.getFeeAttrDtos());
+
+        List<FeeAttrDto> tmpFeeAttrDtos = null;
+        for (PayFeeDetailMonthDto feeDto : payFeeDetailMonthDtos) {
+            tmpFeeAttrDtos = new ArrayList<>();
+            for (FeeAttrDto tmpFeeAttrDto : feeAttrDtos) {
+                if (!feeDto.getFeeId().equals(tmpFeeAttrDto.getFeeId())) {
+                    continue;
                 }
+                tmpFeeAttrDtos.add(tmpFeeAttrDto);
             }
+            feeDto.setFeeAttrDtos(tmpFeeAttrDtos);
         }
     }
 }

+ 21 - 4
service-fee/src/main/java/com/java110/fee/dao/IPayFeeDetailMonthServiceDao.java

@@ -11,7 +11,7 @@ import java.util.Map;
  * 月缴费表组件内部之间使用,没有给外围系统提供服务能力
  * 月缴费表服务接口类,要求全部以字符串传输,方便微服务化
  * 新建客户,修改客户,删除客户,查询客户等功能
- *
+ * <p>
  * Created by wuxw on 2016/12/27.
  */
 public interface IPayFeeDetailMonthServiceDao {
@@ -19,6 +19,7 @@ public interface IPayFeeDetailMonthServiceDao {
 
     /**
      * 保存 月缴费表信息
+     *
      * @param info
      * @throws DAOException DAO异常
      */
@@ -27,11 +28,10 @@ public interface IPayFeeDetailMonthServiceDao {
     int savePayFeeDetailMonthInfos(Map info);
 
 
-
-
     /**
      * 查询月缴费表信息(instance过程)
      * 根据bId 查询月缴费表信息
+     *
      * @param info bId 信息
      * @return 月缴费表信息
      * @throws DAOException DAO异常
@@ -39,9 +39,9 @@ public interface IPayFeeDetailMonthServiceDao {
     List<Map> getPayFeeDetailMonthInfo(Map info) throws DAOException;
 
 
-
     /**
      * 修改月缴费表信息
+     *
      * @param info 修改信息
      * @throws DAOException DAO异常
      */
@@ -61,10 +61,27 @@ public interface IPayFeeDetailMonthServiceDao {
 
     /**
      * 处理需要离散的 缴费记录
+     *
      * @param info
      * @return
      */
     List<Map> getWaitDispersedFeeDetail(Map info);
 
     void deletePayFeeDetailMonthInfo(Map info);
+
+    /**
+     * 查询 月数据(供页面使用)
+     *
+     * @param info
+     * @return
+     */
+    List<Map> queryPagePayFeeDetailMonths(Map info);
+
+    /**
+     * 查询 月数据总数(供页面使用)
+     *
+     * @param info
+     * @return
+     */
+    int queryPagePayFeeDetailMonthsCount(Map info);
 }

+ 27 - 0
service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java

@@ -125,5 +125,32 @@ public class PayFeeDetailMonthServiceDaoImpl extends BaseServiceDao implements I
         sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.deletePayFeeDetailMonthInfo", info);
     }
 
+    @Override
+    public List<Map> queryPagePayFeeDetailMonths(Map info) {
+        logger.debug("查询 queryPagePayFeeDetailMonths 信息 入参 info : {}", info);
+
+        List<Map> infos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonths", info);
+
+        return infos;
+    }
+
+    /**
+     * 查询月缴费表数量
+     *
+     * @param info 月缴费表信息
+     * @return 月缴费表数量
+     */
+    @Override
+    public int queryPagePayFeeDetailMonthsCount(Map info) {
+        logger.debug("查询月缴费表数据 入参 info : {}", info);
+
+        List<Map> businessPayFeeDetailMonthInfos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonthsCount", info);
+        if (businessPayFeeDetailMonthInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessPayFeeDetailMonthInfos.get(0).get("count").toString());
+    }
+
 
 }

+ 17 - 0
service-fee/src/main/java/com/java110/fee/smo/impl/PayFeeDetailMonthInnerServiceSMOImpl.java

@@ -114,6 +114,23 @@ public class PayFeeDetailMonthInnerServiceSMOImpl extends BaseServiceSMO impleme
         return payFeeDetailMonths;
     }
 
+    /**
+     * 专门给页面使用 主要为了查询出费用相关的一些信息
+     * @param payFeeDetailMonthDto
+     * @return
+     */
+    @Override
+    public List<PayFeeDetailMonthDto> queryPagePayFeeDetailMonths(@RequestBody PayFeeDetailMonthDto payFeeDetailMonthDto) {
+        List<PayFeeDetailMonthDto> payFeeDetailMonths = BeanConvertUtil.covertBeanList(payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonths(BeanConvertUtil.beanCovertMap(payFeeDetailMonthDto)), PayFeeDetailMonthDto.class);
+
+        return payFeeDetailMonths;
+    }
+
+    @Override
+    public int queryPagePayFeeDetailMonthsCount(@RequestBody PayFeeDetailMonthDto payFeeDetailMonthDto) {
+        return payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonthsCount(BeanConvertUtil.beanCovertMap(payFeeDetailMonthDto));
+    }
+
     public IPayFeeDetailMonthServiceDao getPayFeeDetailMonthServiceDaoImpl() {
         return payFeeDetailMonthServiceDaoImpl;
     }