| | |
| | | |
| | | import com.ruoyi.cwgl.mapper.PayableFeeManagementMapper; |
| | | import com.ruoyi.cwgl.domain.PayableFeeManagement; |
| | | import com.ruoyi.cwgl.domain.PayableFeeDetail; |
| | | import com.ruoyi.cwgl.service.IPayableFeeManagementService; |
| | | import com.ruoyi.cwgl.service.IPayableFeeDetailService; |
| | | import com.ruoyi.common.core.text.Convert; |
| | |
| | | @Override |
| | | public PayableFeeManagement selectPayableFeeManagementById(Integer id) |
| | | { |
| | | return payableFeeManagementMapper.selectPayableFeeManagementById(id); |
| | | PayableFeeManagement payableFeeManagement = payableFeeManagementMapper.selectPayableFeeManagementById(id); |
| | | if (payableFeeManagement != null) { |
| | | // 查询对应的费用明细 |
| | | PayableFeeDetail detail = new PayableFeeDetail(); |
| | | detail.setPayableFeeId(id); |
| | | List<PayableFeeDetail> detailList = payableFeeDetailService.selectPayableFeeDetailList(detail); |
| | | payableFeeManagement.setPayableFeeDetailList(detailList); |
| | | } |
| | | return payableFeeManagement; |
| | | } |
| | | |
| | | /** |
| | |
| | | return payableFeeManagementMapper.deletePayableFeeManagementById(id); |
| | | } |
| | | } |
| | | |
| | | |