java110
2023-06-12 ca8a2f9555863313d4e5a85deac214f91cbd16eb
service-report/src/main/java/com/java110/report/smo/impl/ReportOrderStatisticsInnerServiceSMOImpl.java
@@ -3,6 +3,7 @@
import com.java110.core.base.smo.BaseServiceSMO;
import com.java110.dto.PageDto;
import com.java110.dto.owner.OwnerDto;
import com.java110.dto.report.QueryStatisticsDto;
import com.java110.intf.report.IReportFeeStatisticsInnerServiceSMO;
import com.java110.intf.report.IReportOrderStatisticsInnerServiceSMO;
@@ -100,4 +101,76 @@
        return info;
    }
    @Override
    public double getMaintainanceOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getMaintainanceOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getUndoMaintainanceOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getUndoMaintainanceOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getFinishMaintainanceOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getFinishMaintainanceOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getNotepadOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getNotepadOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getChargeMachineOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getChargeMachineOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getChargeMonthOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportOrderStatisticsServiceDaoImpl.getChargeMonthOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public int getOwnerReserveGoodsCount(@RequestBody OwnerDto ownerDto) {
        int info = reportOrderStatisticsServiceDaoImpl.getOwnerReserveGoodsCount(BeanConvertUtil.beanCovertMap(ownerDto));
        return info;
    }
    @Override
    public List<Map> getOwnerReserveGoods(@RequestBody OwnerDto ownerDto) {
        int page = ownerDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            ownerDto.setPage((page - 1) * ownerDto.getRow());
        }
        List<Map> infos = reportOrderStatisticsServiceDaoImpl.getOwnerReserveGoods(BeanConvertUtil.beanCovertMap(ownerDto));
        return infos;
    }
    @Override
    public int getOwnerDiningCount(@RequestBody OwnerDto ownerDto) {
        int info = reportOrderStatisticsServiceDaoImpl.getOwnerDiningCount(BeanConvertUtil.beanCovertMap(ownerDto));
        return info;
    }
    @Override
    public List<Map> getOwnerDinings(@RequestBody OwnerDto ownerDto) {
        int page = ownerDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            ownerDto.setPage((page - 1) * ownerDto.getRow());
        }
        List<Map> infos = reportOrderStatisticsServiceDaoImpl.getOwnerDinings(BeanConvertUtil.beanCovertMap(ownerDto));
        return infos;
    }
}