|  | @@ -91,6 +91,10 @@ public class OperatingReportController extends BaseController {
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        if (queryInfo.getMonth() != null) {
 | 
	
		
			
				|  |  | +            queryInfo.setStartTime(DateUtil.getFirstDayOfMonth(queryInfo.getMonth()));
 | 
	
		
			
				|  |  | +            queryInfo.setEndTime(DateUtil.getLastDayOfMonth(queryInfo.getMonth()));
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          queryInfo.setRows(65000);
 | 
	
		
			
				|  |  |          queryInfo.setType("organ");
 | 
	
		
			
				|  |  |          PageInfo<OperatingReport> pageList = operatingReportService.queryPage(queryInfo);
 | 
	
	
		
			
				|  | @@ -104,15 +108,15 @@ public class OperatingReportController extends BaseController {
 | 
	
		
			
				|  |  |          OutputStream outputStream = response.getOutputStream();
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            String[] header = {"分部", "销售收入(元)", "服务收入(元)", "业务退费(元)", "收入合计(元)", "销售成本(元)", "固定支出(元)", "变动支出(元)", "分摊费用(元)", "成本费用合计(元)", "利润(元)"};
 | 
	
		
			
				|  |  | -            String[] body = {"organName", "sellAmount", "serviceAmount", "refundAmount", "incomeTotal", "sellCost", "expensesAmount", "variableCost", "distributionAmount", "costAmount", "profit"};
 | 
	
		
			
				|  |  | +            String[] header = {"分部", "销售收入(元)", "服务收入(元)","其他收入(元)", "业务退费(元)", "收入合计(元)", "销售成本(元)", "固定支出(元)", "变动支出(元)", "分摊费用(元)", "成本费用合计(元)", "利润(元)"};
 | 
	
		
			
				|  |  | +            String[] body = {"organName", "sellAmount", "serviceAmount","otherIncome", "refundAmount", "incomeTotal", "sellCost", "expensesAmount", "variableCost", "distributionAmount", "costAmount", "profit"};
 | 
	
		
			
				|  |  |              HSSFWorkbook workbook = POIUtil.multipleSheetExportExcel(header, body, pageList.getRows(), null);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              queryInfo.setType("school");
 | 
	
		
			
				|  |  |              pageList = operatingReportService.queryPage(queryInfo);
 | 
	
		
			
				|  |  | -            String[] header2 = {"分部", "学校", "销售收入(元)", "服务收入(元)", "业务退费(元)", "收入合计(元)", "销售成本(元)", "固定支出(元)", "变动支出(元)", "分摊费用(元)", "成本费用合计(元)", "利润(元)"};
 | 
	
		
			
				|  |  | -            String[] body2 = {"organName", "schoolName", "sellAmount", "serviceAmount", "refundAmount", "incomeTotal", "sellCost", "expensesAmount", "variableCost", "distributionAmount", "costAmount", "profit"};
 | 
	
		
			
				|  |  | +            String[] header2 = {"分部", "学校", "销售收入(元)", "服务收入(元)","其他收入(元)", "业务退费(元)", "收入合计(元)", "销售成本(元)", "固定支出(元)", "变动支出(元)", "分摊费用(元)", "成本费用合计(元)", "利润(元)"};
 | 
	
		
			
				|  |  | +            String[] body2 = {"organName", "schoolName", "sellAmount", "serviceAmount","otherIncome", "refundAmount", "incomeTotal", "sellCost", "expensesAmount", "variableCost", "distributionAmount", "costAmount", "profit"};
 | 
	
		
			
				|  |  |              workbook = POIUtil.multipleSheetExportExcel(header2, body2, pageList.getRows(), workbook);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              response.setContentType("application/octet-stream");
 |