Commit 94edb3f6 authored by 鲁鸿波's avatar 鲁鸿波

危险作业导出修改

parent 8f6d2153
......@@ -188,6 +188,9 @@ public class HazardWorkPlanStatisticsController extends SuperController {
@GetMapping(value = "/selectWorkStatusDetailStatisticsExport")
public BaseResponse<BizGeneralResponse> selectWorkStatusDetailStatisticsExport(HttpServletResponse response, HazardWorkPlanStatisticsDto param){
BaseResponse<BizGeneralResponse> baseResponse=new BaseResponse<>();
if(StringHelper.isEmpty(param.getOrgId())){
param.setOrgId(ContextUtils.getLoginUser().getOrgId());
}
List<HazardWorkPlanStatisticsTemplate> hazardWorkPlanStatisticsTemplatePage = hazardWorkPlanStatisticsService.exportCompleteStatistics(param);
if (org.apache.commons.collections4.CollectionUtils.isEmpty(hazardWorkPlanStatisticsTemplatePage)) {
baseResponse.setData(BizGeneralResponse.builder().result("无危险作业详情数据").build());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment