| | |
| | | package com.ruoyi.cwgl.controller; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.cwgl.domain.ReceivableBillCustomerSummary; |
| | | import com.ruoyi.cwgl.domain.vo.ReceivableBillAgingAnalysisVo; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | return AjaxResult.success(invoicedAmount); |
| | | } |
| | | |
| | | /** |
| | | * 查询应收账单客户汇总列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:receivableBillManagement:list')") |
| | | @GetMapping("/customerSummary") |
| | | public TableDataInfo customerSummary(ReceivableBillManagement receivableBillManagement) |
| | | { |
| | | List<ReceivableBillCustomerSummary> list = receivableBillManagementService.selectReceivableBillCustomerSummaryList(receivableBillManagement); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 查询应收账单账龄分析列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:receivableBillManagement:list')") |
| | | @GetMapping("/agingAnalysis") |
| | | public TableDataInfo agingAnalysis(ReceivableBillManagement receivableBillManagement) |
| | | { |
| | | startPage(); |
| | | List<ReceivableBillAgingAnalysisVo> list = receivableBillManagementService.selectReceivableBillAgingAnalysisList(receivableBillManagement); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | } |