Explorar o código

optimize owner received owe fee

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

+ 10 - 0
java110-bean/src/main/java/com/java110/dto/report/QueryStatisticsDto.java

@@ -32,6 +32,8 @@ public class QueryStatisticsDto extends PageDto implements Serializable {
 
     private String[] objIds;
 
+    private String[] ownerIds;
+
 
     public String getCommunityId() {
         return communityId;
@@ -129,4 +131,12 @@ public class QueryStatisticsDto extends PageDto implements Serializable {
     public void setObjIds(String[] objIds) {
         this.objIds = objIds;
     }
+
+    public String[] getOwnerIds() {
+        return ownerIds;
+    }
+
+    public void setOwnerIds(String[] ownerIds) {
+        this.ownerIds = ownerIds;
+    }
 }

+ 72 - 35
java110-db/src/main/resources/mapper/report/ReportFeeStatisticsServiceDaoImplMapper.xml

@@ -166,9 +166,9 @@
         </if>
         and t.status_cd = '0'
         and t.community_id= #{communityId}
-        and t.pay_fee_time &gt;  #{startDate}
+        and t.pay_fee_time &gt; #{startDate}
         and t.pay_fee_time &lt; #{endDate}
-        and t.cur_month_time &lt;  #{startDate}
+        and t.cur_month_time &lt; #{startDate}
     </select>
 
     <!-- 查询 预交费用 -->
@@ -208,9 +208,9 @@
         </if>
         and t.status_cd = '0'
         and t.community_id= #{communityId}
-        and t.pay_fee_time &gt;  #{startDate}
+        and t.pay_fee_time &gt; #{startDate}
         and t.pay_fee_time &lt; #{endDate}
-        and t.cur_month_time &gt;  #{endDate}
+        and t.cur_month_time &gt; #{endDate}
     </select>
 
     <!-- 查询实收费用 -->
@@ -253,7 +253,7 @@
         </if>
         and t.status_cd = '0'
         and t.community_id= #{communityId}
-        and t.create_time &gt;  #{startDate}
+        and t.create_time &gt; #{startDate}
         and t.create_time &lt; #{endDate}
     </select>
 
@@ -352,29 +352,29 @@
 
         select a.floor_id floorId,a.floor_num floorNum,a.name floorName,
         (
-            select count(1) from (
-            select bu.floor_id,a.room_id
-            from building_room a
-            left join pay_fee_detail_month t on t.obj_id = a.room_id
-            INNER JOIN pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
-            left join building_unit bu on a.unit_id = bu.unit_id and bu.status_cd = '0'
-            where
-            1=1
-            and a.status_cd = '0'
-            and pf.payer_obj_type = '3333'
-            and t.community_id= a.community_id
-            and t.cur_month_time &lt; #{endDate}
-            and (t.receivable_amount - t.received_amount - t.discount_amount) > 0
-            <if test="configIds !=null ">
-                and t.config_id in
-                <foreach collection="configIds" item="item" index="index" open="(" close=")" separator=",">
-                    #{item}
-                </foreach>
-            </if>
-            <if test="feeTypeCd != null and feeTypeCd != ''">
-                and pf.fee_type_cd = #{feeTypeCd}
-            </if>
-            group by bu.floor_id,t.obj_id
+        select count(1) from (
+        select bu.floor_id,a.room_id
+        from building_room a
+        left join pay_fee_detail_month t on t.obj_id = a.room_id
+        INNER JOIN pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
+        left join building_unit bu on a.unit_id = bu.unit_id and bu.status_cd = '0'
+        where
+        1=1
+        and a.status_cd = '0'
+        and pf.payer_obj_type = '3333'
+        and t.community_id= a.community_id
+        and t.cur_month_time &lt; #{endDate}
+        and (t.receivable_amount - t.received_amount - t.discount_amount) > 0
+        <if test="configIds !=null ">
+            and t.config_id in
+            <foreach collection="configIds" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
+        <if test="feeTypeCd != null and feeTypeCd != ''">
+            and pf.fee_type_cd = #{feeTypeCd}
+        </if>
+        group by bu.floor_id,t.obj_id
         ) b
         where b.floor_id = a.floor_id
         ) oweRoomCount,
@@ -485,7 +485,7 @@
         and bu.floor_id = a.floor_id
         and t.status_cd = '0'
         and t.community_id= a.community_id
-        and t.cur_month_time  &gt; #{startDate}
+        and t.cur_month_time &gt; #{startDate}
         and t.cur_month_time &lt; #{endDate}
         <if test="configIds !=null ">
             and t.config_id in
@@ -544,7 +544,7 @@
         1=1
         and a.status_cd = '0'
         and pf.payer_obj_type = '3333'
-        and t.community_id=  #{communityId}
+        and t.community_id= #{communityId}
         and t.cur_month_time &lt; #{endDate}
         <if test="configIds !=null ">
             and t.config_id in
@@ -573,7 +573,7 @@
             and bu.floor_id = a.floor_id
         </if>
         and t.status_cd = '0'
-        and t.community_id=  #{communityId}
+        and t.community_id= #{communityId}
         and t.create_time &gt; #{startDate}
         and t.create_time &lt; #{endDate}
         <if test="configIds !=null ">
@@ -598,7 +598,7 @@
             and bu.floor_id = a.floor_id
         </if>
         and t.status_cd = '0'
-        and t.community_id=  #{communityId}
+        and t.community_id= #{communityId}
         and t.pay_fee_time &gt; #{startDate}
         and t.pay_fee_time &lt; #{endDate}
         and t.cur_month_time &gt; #{endDate}
@@ -624,7 +624,7 @@
             and bu.floor_id = a.floor_id
         </if>
         and t.status_cd = '0'
-        and t.community_id=  #{communityId}
+        and t.community_id= #{communityId}
         and t.detail_id = '-1'
         and t.cur_month_time &lt; #{startDate}
         <if test="configIds !=null ">
@@ -650,7 +650,7 @@
         </if>
         and t.status_cd = '0'
         and t.community_id= #{communityId}
-        and t.cur_month_time  &gt; #{startDate}
+        and t.cur_month_time &gt; #{startDate}
         and t.cur_month_time &lt; #{endDate}
         <if test="configIds !=null ">
             and t.config_id in
@@ -677,7 +677,7 @@
         group by a.obj_name,a.obj_id,a.owner_name,a.link
         ) b
     </select>
-
+    <!-- 查询房屋费用明细表-->
     <select id="getObjFeeSummary" parameterType="Map" resultType="Map">
         select
         a.obj_id objId,pfc.fee_type_cd feeTypeCd,
@@ -715,5 +715,42 @@
         group by a.obj_id,pfc.fee_type_cd,a.community_id
     </select>
 
+    <!-- 查询业主费用明细表 -->
+    <select id="getOwnerFeeSummary" parameterType="Map" resultType="Map">
+        select
+        a.owner_id,GROUP_CONCAT(a.obj_name) objName,pfc.fee_type_cd,
+        (
+        select ifnull(sum(t.receivable_amount),0.0) hisOweFee
+        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 pfc1 on pfc1.config_id = t.config_id and pfc1.status_cd = '0'
+        where 1=1
+        and t.status_cd = '0'
+        and t.detail_id = '-1'
+        and t.community_id= a.community_id
+        and t.owner_id = a.owner_id
+        and pfc1.fee_type_cd = pfc.fee_type_cd
+        and t.cur_month_time &lt; #{endDate}
+        ) oweFee,
+        (
+        select ifnull(sum(t.received_amount),0.0) receivedFee
+        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 pfc1 on pfc1.config_id = t.config_id and pfc1.status_cd = '0'
+        where t.owner_id = a.owner_id
+        and t.status_cd = '0'
+        and t.community_id= a.community_id
+        and pfc1.fee_type_cd = pfc.fee_type_cd
+        and t.pay_fee_time &gt; #{startDate}
+        and t.pay_fee_time &lt; #{endDate}
+        ) receivedFee
+        from pay_fee_detail_month a
+        inner join pay_fee_config pfc on a.config_id = pfc.config_id and pfc.status_cd = '0'
+        where a.owner_id in
+        <foreach collection="ownerIds" item="item" index="index" open="(" close=")" separator=",">
+            #{item}
+        </foreach>
+        group by a.owner_id,pfc.fee_type_cd,a.community_id
+    </select>
 
 </mapper>

+ 8 - 0
java110-interface/src/main/java/com/java110/intf/report/IReportFeeStatisticsInnerServiceSMO.java

@@ -103,4 +103,12 @@ public interface IReportFeeStatisticsInnerServiceSMO {
 
     @RequestMapping(value = "/getObjFeeSummary", method = RequestMethod.POST)
     List<Map> getObjFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto);
+
+    /**
+     * 业主明细表
+     * @param queryStatisticsDto
+     * @return
+     */
+    @RequestMapping(value = "/getOwnerFeeSummary", method = RequestMethod.POST)
+    List<Map> getOwnerFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto);
 }

+ 130 - 0
service-report/src/main/java/com/java110/report/cmd/reportFeeMonthStatistics/QueryReportFeeDetailOwnerCmd.java

@@ -0,0 +1,130 @@
+package com.java110.report.cmd.reportFeeMonthStatistics;
+
+import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.Cmd;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.dto.owner.OwnerDto;
+import com.java110.dto.report.QueryStatisticsDto;
+import com.java110.report.statistics.IBaseDataStatistics;
+import com.java110.report.statistics.IFeeStatistics;
+import com.java110.utils.exception.CmdException;
+import com.java110.utils.util.Assert;
+import com.java110.vo.ResultVo;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+
+import java.math.BigDecimal;
+import java.text.ParseException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 根据业主查询 费用明细
+ */
+@Java110Cmd(serviceCode = "reportFeeMonthStatistics.queryReportFeeDetailOwner")
+public class QueryReportFeeDetailOwnerCmd extends Cmd {
+
+    @Autowired
+    private IFeeStatistics feeStatisticsImpl;
+
+    @Autowired
+    private IBaseDataStatistics baseDataStatisticsImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException, ParseException {
+        super.validatePageInfo(reqJson);
+        Assert.hasKeyAndValue(reqJson, "startDate", "未包含开始日期");
+        Assert.hasKeyAndValue(reqJson, "endDate", "未包含结束日期");
+        Assert.hasKeyAndValue(reqJson, "communityId", "未包含小区信息");
+    }
+
+    @Override
+    public void doCmd(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException, ParseException {
+        QueryStatisticsDto queryStatisticsDto = new QueryStatisticsDto();
+        queryStatisticsDto.setCommunityId(reqJson.getString("communityId"));
+        queryStatisticsDto.setStartDate(reqJson.getString("startDate"));
+        queryStatisticsDto.setEndDate(reqJson.getString("endDate"));
+        queryStatisticsDto.setConfigId(reqJson.getString("configId"));
+        queryStatisticsDto.setObjName(reqJson.getString("objName"));
+        queryStatisticsDto.setFeeTypeCd(reqJson.getString("feeTypeCd"));
+        queryStatisticsDto.setOwnerName(reqJson.getString("ownerName"));
+        queryStatisticsDto.setLink(reqJson.getString("link"));
+        queryStatisticsDto.setPage(reqJson.getInteger("page"));
+        queryStatisticsDto.setRow(reqJson.getInteger("row"));
+        long count = baseDataStatisticsImpl.getOwnerCount(queryStatisticsDto);
+        List<OwnerDto> owners = null;
+        if (count > 0) {
+            owners = baseDataStatisticsImpl.getOwnerInfo(queryStatisticsDto);
+        } else {
+            owners = new ArrayList<>();
+        }
+
+        // todo 计算 业主欠费实收数据
+        JSONArray datas = computeOwnerOweReceivedFee(owners, queryStatisticsDto);
+
+        ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) queryStatisticsDto.getRow()), count, datas);
+
+        ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
+        context.setResponseEntity(responseEntity);
+    }
+
+    /**
+     * 计算业主欠费 实收费用
+     *
+     * @param owners
+     * @return
+     */
+    private JSONArray computeOwnerOweReceivedFee(List<OwnerDto> owners, QueryStatisticsDto queryStatisticsDto) {
+        if (owners == null || owners.size() < 1) {
+            return new JSONArray();
+        }
+
+        JSONArray datas = new JSONArray();
+        JSONObject data = null;
+
+        List<String> ownerIds = new ArrayList<>();
+        for (OwnerDto ownerDto : owners) {
+            ownerIds.add(ownerDto.getOwnerId());
+            data = new JSONObject();
+            data.put("ownerName", ownerDto.getName());
+            data.put("ownerId", ownerDto.getOwnerId());
+            data.put("link", ownerDto.getLink());
+            datas.add(data);
+        }
+
+        queryStatisticsDto.setOwnerIds(ownerIds.toArray(new String[ownerIds.size()]));
+        List<Map> infos = feeStatisticsImpl.getOwnerFeeSummary(queryStatisticsDto);
+
+        if (infos == null || infos.size() < 1) {
+            return datas;
+        }
+
+        BigDecimal oweFee = new BigDecimal(0.00);
+        BigDecimal receivedFee = new BigDecimal(0.00);
+        for (int dataIndex = 0; dataIndex < datas.size(); dataIndex++) {
+            data = datas.getJSONObject(dataIndex);
+            for (Map info : infos) {
+                if (!data.get("ownerId").toString().equals(info.get("ownerId"))) {
+                    continue;
+                }
+
+                oweFee = oweFee.add(new BigDecimal(info.get("oweFee").toString()));
+                receivedFee = oweFee.add(new BigDecimal(info.get("receivedFee").toString()));
+                data.put("oweFee" + info.get("feeTypeCd").toString(), info.get("oweFee"));
+                data.put("receivedFee" + info.get("feeTypeCd").toString(), info.get("receivedFee"));
+                data.put("objName",info.get("objName"));
+            }
+            data.put("oweFee", oweFee.doubleValue());
+            data.put("receivedFee", receivedFee.doubleValue());
+        }
+
+        return datas;
+    }
+
+
+}

+ 0 - 2
service-report/src/main/java/com/java110/report/cmd/reportFeeMonthStatistics/QueryReportFeeDetailRoomCmd.java

@@ -39,8 +39,6 @@ public class QueryReportFeeDetailRoomCmd extends Cmd {
     @Autowired
     private IBaseDataStatistics baseDataStatisticsImpl;
 
-    @Autowired
-    private IReportFeeMonthStatisticsInnerServiceSMO reportFeeMonthStatisticsInnerServiceSMOImpl;
 
     @Override
     public void validate(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException, ParseException {

+ 15 - 0
service-report/src/main/java/com/java110/report/dao/IReportFeeStatisticsServiceDao.java

@@ -49,6 +49,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 查询欠费户数
+     *
      * @param info
      * @return
      */
@@ -56,6 +57,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 查询当月应收费用
+     *
      * @param info
      * @return
      */
@@ -63,6 +65,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 查询收费房屋数
+     *
      * @param info
      * @return
      */
@@ -70,6 +73,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 统计楼栋 收费率信息
+     *
      * @param info
      * @return
      */
@@ -77,6 +81,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 统计费用项 收费率信息
+     *
      * @param info
      * @return
      */
@@ -84,6 +89,7 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 查询费用明细表(总数)
+     *
      * @param info
      * @return
      */
@@ -91,8 +97,17 @@ public interface IReportFeeStatisticsServiceDao {
 
     /**
      * 查询费用明细表
+     *
      * @param info
      * @return
      */
     List<Map> getObjFeeSummary(Map info);
+
+    /**
+     * 查询业主明细表
+     *
+     * @param info
+     * @return
+     */
+    List<Map> getOwnerFeeSummary(Map info);
 }

+ 13 - 1
service-report/src/main/java/com/java110/report/dao/impl/ReportFeeStatisticsServiceDaoImpl.java

@@ -68,6 +68,7 @@ public class ReportFeeStatisticsServiceDaoImpl extends BaseServiceDao implements
 
     /**
      * 查询欠费追回
+     *
      * @param info
      * @return
      */
@@ -86,6 +87,7 @@ public class ReportFeeStatisticsServiceDaoImpl extends BaseServiceDao implements
 
     /**
      * 查询预交费用
+     *
      * @param info
      * @return
      */
@@ -104,6 +106,7 @@ public class ReportFeeStatisticsServiceDaoImpl extends BaseServiceDao implements
 
     /**
      * 实收费用
+     *
      * @param info
      * @return
      */
@@ -182,7 +185,7 @@ public class ReportFeeStatisticsServiceDaoImpl extends BaseServiceDao implements
 
     @Override
     public List<Map> getObjFeeSummary(Map info) {
-        logger.debug("查询 费用项收费率 入参 info : {}", JSONObject.toJSONString(info));
+        logger.debug("查询 房屋明细表 入参 info : {}", JSONObject.toJSONString(info));
 
         List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getObjFeeSummary", info);
 
@@ -190,5 +193,14 @@ public class ReportFeeStatisticsServiceDaoImpl extends BaseServiceDao implements
         return infos;
     }
 
+    @Override
+    public List<Map> getOwnerFeeSummary(Map info) {
+        logger.debug("查询 业主明细表 入参 info : {}", JSONObject.toJSONString(info));
+
+        List<Map> infos = sqlSessionTemplate.selectList("reportFeeStatisticsServiceDaoImpl.getOwnerFeeSummary", info);
+
+
+        return infos;
+    }
 
 }

+ 12 - 0
service-report/src/main/java/com/java110/report/smo/impl/ReportFeeStatisticsInnerServiceSMOImpl.java

@@ -145,4 +145,16 @@ public class ReportFeeStatisticsInnerServiceSMOImpl extends BaseServiceSMO imple
         List<Map> info = reportFeeStatisticsServiceDaoImpl.getObjFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
         return info;
     }
+
+    @Override
+    public List<Map> getOwnerFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto) {
+        int page = queryStatisticsDto.getPage();
+
+        if (page != PageDto.DEFAULT_PAGE) {
+            queryStatisticsDto.setPage((page - 1) * queryStatisticsDto.getRow());
+        }
+
+        List<Map> info = reportFeeStatisticsServiceDaoImpl.getOwnerFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
+        return info;
+    }
 }

+ 13 - 2
service-report/src/main/java/com/java110/report/statistics/IBaseDataStatistics.java

@@ -1,6 +1,7 @@
 package com.java110.report.statistics;
 
 import com.java110.dto.RoomDto;
+import com.java110.dto.owner.OwnerDto;
 import com.java110.dto.report.QueryStatisticsDto;
 
 import java.util.List;
@@ -32,7 +33,17 @@ public interface IBaseDataStatistics {
     long getFreeRoomCount(QueryStatisticsDto queryStatisticsDto);
 
 
+    /**
+     * 查询 业主数量
+     * @param queryStatisticsDto
+     * @return
+     */
+    long getOwnerCount(QueryStatisticsDto queryStatisticsDto);
 
-
-
+    /**
+     * 查询业主信息
+     * @param queryStatisticsDto
+     * @return
+     */
+    List<OwnerDto> getOwnerInfo(QueryStatisticsDto queryStatisticsDto);
 }

+ 7 - 0
service-report/src/main/java/com/java110/report/statistics/IFeeStatistics.java

@@ -95,4 +95,11 @@ public interface IFeeStatistics {
      * @return
      */
     List<Map> getObjFeeSummary(QueryStatisticsDto queryStatisticsDto);
+
+    /**
+     * 查询业主对象明细表
+     * @param queryStatisticsDto
+     * @return
+     */
+    List<Map> getOwnerFeeSummary(QueryStatisticsDto queryStatisticsDto);
 }

+ 25 - 0
service-report/src/main/java/com/java110/report/statistics/impl/BaseDataStatisticsImpl.java

@@ -1,10 +1,12 @@
 package com.java110.report.statistics.impl;
 
 import com.java110.dto.RoomDto;
+import com.java110.dto.owner.OwnerDto;
 import com.java110.dto.report.QueryStatisticsDto;
 import com.java110.intf.community.IRoomV1InnerServiceSMO;
 import com.java110.intf.report.IBaseDataStatisticsInnerServiceSMO;
 import com.java110.intf.report.IReportFeeStatisticsInnerServiceSMO;
+import com.java110.intf.user.IOwnerV1InnerServiceSMO;
 import com.java110.report.statistics.IBaseDataStatistics;
 import com.java110.utils.util.StringUtil;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -24,6 +26,9 @@ public class BaseDataStatisticsImpl implements IBaseDataStatistics {
     @Autowired
     private IBaseDataStatisticsInnerServiceSMO baseDataStatisticsInnerServiceSMOImpl;
 
+    @Autowired
+    private IOwnerV1InnerServiceSMO ownerV1InnerServiceSMOImpl;
+
     /**
      * 查询全部房屋
      *
@@ -74,6 +79,26 @@ public class BaseDataStatisticsImpl implements IBaseDataStatistics {
         return roomV1InnerServiceSMOImpl.queryRoomsCount(roomDto);
     }
 
+    @Override
+    public long getOwnerCount(QueryStatisticsDto queryStatisticsDto) {
+        OwnerDto ownerDto = new OwnerDto();
+        ownerDto.setOwnerTypeCd(OwnerDto.OWNER_TYPE_CD_OWNER);
+        ownerDto.setNameLike(queryStatisticsDto.getOwnerName());
+        ownerDto.setLink(queryStatisticsDto.getLink());
+        return ownerV1InnerServiceSMOImpl.queryOwnersCount(ownerDto);
+    }
+
+    @Override
+    public List<OwnerDto> getOwnerInfo(QueryStatisticsDto queryStatisticsDto) {
+        OwnerDto ownerDto = new OwnerDto();
+        ownerDto.setOwnerTypeCd(OwnerDto.OWNER_TYPE_CD_OWNER);
+        ownerDto.setNameLike(queryStatisticsDto.getOwnerName());
+        ownerDto.setLink(queryStatisticsDto.getLink());
+        ownerDto.setPage(queryStatisticsDto.getPage());
+        ownerDto.setRow(queryStatisticsDto.getRow());
+        return ownerV1InnerServiceSMOImpl.queryOwners(ownerDto);
+    }
+
 
     /**
      * roomNum 拆分 查询房屋信息

+ 10 - 0
service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java

@@ -123,4 +123,14 @@ public class FeeStatisticsImpl implements IFeeStatistics {
         return reportFeeStatisticsInnerServiceSMOImpl.getObjFeeSummary(queryStatisticsDto);
     }
 
+    /**
+     * 查询 业主明细表
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public List<Map> getOwnerFeeSummary(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getOwnerFeeSummary(queryStatisticsDto);
+    }
+
 }