|
@@ -407,6 +407,7 @@ public class CostDepartmentProfitServiceImpl extends ServiceImpl<CostDepartmentP
|
|
|
* @param reportType
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional(propagation = Propagation.REQUIRED,rollbackFor = Exception.class)
|
|
|
public void getDepartProfitReport(String date, Long hospId, HttpServletResponse response, Integer reportType) {
|
|
|
DateTime dateTime = DateUtil.parse(date);
|
|
|
int year = DateUtil.year(dateTime);
|
|
@@ -421,6 +422,7 @@ public class CostDepartmentProfitServiceImpl extends ServiceImpl<CostDepartmentP
|
|
|
.setDateYear(year).setDateMonth(month)
|
|
|
.setCreateTime(System.currentTimeMillis());
|
|
|
fileRecordService.save(fileRecord);
|
|
|
+ writer.close();
|
|
|
}
|
|
|
|
|
|
/**
|