| | |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.Calendar; |
| | |
| | | public int deleteReportFeeMonthStatistics(@RequestBody ReportFeeMonthStatisticsPo reportFeeMonthStatisticsPo) { |
| | | int saveFlag = 1; |
| | | reportFeeMonthStatisticsPo.setStatusCd("1"); |
| | | reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsInfo(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsPo)); |
| | | reportFeeMonthStatisticsServiceDaoImpl.deleteReportFeeMonthStatisticsInfo(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsPo)); |
| | | return saveFlag; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public ReportFeeMonthStatisticsDto queryOweFeeDetailMajor(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | ReportFeeMonthStatisticsDto reportFeeMonthStatistics = BeanConvertUtil.covertBean( |
| | | reportFeeMonthStatisticsServiceDaoImpl.queryOweFeeDetailMajor( |
| | | BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)), ReportFeeMonthStatisticsDto.class); |
| | | return reportFeeMonthStatistics; |
| | | } |
| | | |
| | | @Override |
| | | public JSONObject queryPayFeeDetailCount(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | Map info = reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDetailCount(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)); |
| | | |
| | |
| | | |
| | | @Override |
| | | public List<ReportFeeMonthStatisticsDto> queryAllPayFeeDetail(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | List<ReportFeeMonthStatisticsDto> reportFeeMonthStatisticss = BeanConvertUtil.covertBeanList(reportFeeMonthStatisticsServiceDaoImpl.queryAllPayFeeDetail(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)), ReportFeeMonthStatisticsDto.class); |
| | | List<ReportFeeMonthStatisticsDto> reportFeeMonthStatisticss = BeanConvertUtil.covertBeanList( |
| | | reportFeeMonthStatisticsServiceDaoImpl.queryAllPayFeeDetail(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)), |
| | | ReportFeeMonthStatisticsDto.class); |
| | | |
| | | return reportFeeMonthStatisticss; |
| | | } |
| | |
| | | return deposits; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningOweFeeCount(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | return reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeCount(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)); |
| | | } |
| | | |
| | | @Override |
| | | public List<ReportFeeMonthStatisticsDto> queryHuaningOweFee(@RequestBody ReportFeeMonthStatisticsDto reportFeeMonthStatisticsDto) { |
| | | int page = reportFeeMonthStatisticsDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | reportFeeMonthStatisticsDto.setPage((page - 1) * reportFeeMonthStatisticsDto.getRow()); |
| | | } |
| | | List<ReportFeeMonthStatisticsDto> deposits = BeanConvertUtil.covertBeanList(reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFee(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsDto)), |
| | | ReportFeeMonthStatisticsDto.class); |
| | | return deposits; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningPayFeeCount(@RequestBody Map paramInfo) { |
| | | return reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeCount(paramInfo); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningPayFee(@RequestBody Map paramInfo) { |
| | | int page = (int)paramInfo.get("page"); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | paramInfo.put("page",(page - 1) * (int)paramInfo.get("row")); |
| | | } |
| | | List<Map> deposits = reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFee(paramInfo); |
| | | return deposits; |
| | | } |
| | | @Override |
| | | public int queryHuaningPayFeeTwoCount(@RequestBody Map paramInfo) { |
| | | return reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwoCount(paramInfo); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningPayFeeTwo(@RequestBody Map paramInfo) { |
| | | int page = (int)paramInfo.get("page"); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | paramInfo.put("page",(page - 1) * (int)paramInfo.get("row")); |
| | | } |
| | | List<Map> deposits = reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwo(paramInfo); |
| | | return deposits; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHuaningOweFeeDetailCount(@RequestBody Map paramInfo) { |
| | | return reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetailCount(paramInfo); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryHuaningOweFeeDetail(@RequestBody Map paramInfo) { |
| | | int page = (int)paramInfo.get("page"); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | paramInfo.put("page",(page - 1) * (int)paramInfo.get("row")); |
| | | } |
| | | List<Map> deposits = reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetail(paramInfo); |
| | | return deposits; |
| | | } |
| | | |
| | | public IReportFeeMonthStatisticsServiceDao getReportFeeMonthStatisticsServiceDaoImpl() { |
| | | return reportFeeMonthStatisticsServiceDaoImpl; |
| | | } |