|  | @@ -8,6 +8,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
 | 
	
		
			
				|  |  |  import com.ruoyi.common.enums.BusinessType;
 | 
	
		
			
				|  |  |  import com.ruoyi.common.utils.poi.ExcelUtil;
 | 
	
		
			
				|  |  |  import com.ruoyi.finance.domain.TWareHouseFees;
 | 
	
		
			
				|  |  | +import com.ruoyi.finance.domain.dto.FeeDTO;
 | 
	
		
			
				|  |  | +import com.ruoyi.finance.domain.excel.GeneralLedgerDetailExcel;
 | 
	
		
			
				|  |  |  import com.ruoyi.finance.domain.excel.ProfitGeneralLedgerExcel;
 | 
	
		
			
				|  |  |  import com.ruoyi.finance.service.ITFeeService;
 | 
	
		
			
				|  |  |  import com.ruoyi.reportManagement.excel.Profit;
 | 
	
	
		
			
				|  | @@ -45,6 +47,18 @@ public class ProfitController extends BaseController {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  | +     * 根据结算单位、费用状态、审核日期查询应付总帐明细
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    @DataScope(deptAlias = "d", userAlias = "u")
 | 
	
		
			
				|  |  | +    @GetMapping("/generalLedgerList")
 | 
	
		
			
				|  |  | +    public AjaxResult financialLedgerDetails(FeeDTO feeDTO) {
 | 
	
		
			
				|  |  | +        return tFeeService.financialLedgerDetails(feeDTO);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  |       * 应付总账列表
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @PreAuthorize("@ss.hasPermi('warehouseBusiness:profit:export')")
 | 
	
	
		
			
				|  | @@ -62,4 +76,17 @@ public class ProfitController extends BaseController {
 | 
	
		
			
				|  |  |          return util.exportExcel(list, "利润总账");
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * 应收总账列表
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    @PreAuthorize("@ss.hasPermi('warehouseBusiness:payable:export')")
 | 
	
		
			
				|  |  | +    @Log(title = "库存总账明细", businessType = BusinessType.EXPORT)
 | 
	
		
			
				|  |  | +    @DataScope(deptAlias = "d", userAlias = "u")
 | 
	
		
			
				|  |  | +    @GetMapping("/export/detail")
 | 
	
		
			
				|  |  | +    public AjaxResult exportDetail(FeeDTO feeDTO) throws Exception {
 | 
	
		
			
				|  |  | +        List<GeneralLedgerDetailExcel> list = tFeeService.financialLedgerDetailsExport(feeDTO);
 | 
	
		
			
				|  |  | +        ExcelUtil<GeneralLedgerDetailExcel> util = new ExcelUtil<GeneralLedgerDetailExcel>(GeneralLedgerDetailExcel.class);
 | 
	
		
			
				|  |  | +        return util.exportExcel(list, "应收总账明细");
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  }
 |