| | |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.fee.FeeDetailDto; |
| | | import com.java110.dto.payFeeDetailMonth.PayFeeDetailMonthDto; |
| | | import com.java110.dto.payFee.PayFeeDetailMonthDto; |
| | | import com.java110.fee.dao.IPayFeeDetailMonthServiceDao; |
| | | import com.java110.intf.fee.IPayFeeDetailMonthInnerServiceSMO; |
| | | import com.java110.po.payFeeDetailMonth.PayFeeDetailMonthPo; |
| | | import com.java110.po.payFee.PayFeeDetailMonthPo; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | 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) { |
| | | |
| | | int page = payFeeDetailMonthDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | payFeeDetailMonthDto.setPage((page - 1) * payFeeDetailMonthDto.getRow()); |
| | | } |
| | | return payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonthsCount(BeanConvertUtil.beanCovertMap(payFeeDetailMonthDto)); |
| | | } |
| | | |
| | | public IPayFeeDetailMonthServiceDao getPayFeeDetailMonthServiceDaoImpl() { |
| | | return payFeeDetailMonthServiceDaoImpl; |
| | | } |