|  | @@ -79,7 +79,9 @@ public class MonthlyReconciliationController extends BaseController {
 | 
												
													
														
															|  |          if (!ObjectUtils.isEmpty(vo.getStartTime())) {
 |  |          if (!ObjectUtils.isEmpty(vo.getStartTime())) {
 | 
												
													
														
															|  |              lw.le(MonthlyReconciliation::getPlanDemandSubTime, vo.getEntTime());
 |  |              lw.le(MonthlyReconciliation::getPlanDemandSubTime, vo.getEntTime());
 | 
												
													
														
															|  |          }
 |  |          }
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | 
 |  | +        if (!StringUtils.isBlank(vo.getWarnStatus())) {
 | 
												
													
														
															|  | 
 |  | +            lw.eq(MonthlyReconciliation::getWarnStatus, vo.getWarnStatus());
 | 
												
													
														
															|  | 
 |  | +        }
 | 
												
													
														
															|  |          // 添加数据权限
 |  |          // 添加数据权限
 | 
												
													
														
															|  |          List<String> roleKeys = getLoginUser().getUser().getRoles().stream().map(SysRole::getRoleKey).collect(Collectors.toList());
 |  |          List<String> roleKeys = getLoginUser().getUser().getRoles().stream().map(SysRole::getRoleKey).collect(Collectors.toList());
 | 
												
													
														
															|  |          if (roleKeys.contains(Constants.DEMAND_UNIT)) {
 |  |          if (roleKeys.contains(Constants.DEMAND_UNIT)) {
 | 
												
											
												
													
														
															|  | @@ -123,13 +125,32 @@ public class MonthlyReconciliationController extends BaseController {
 | 
												
													
														
															|  |                      SysDeptResponseVo sysDept = (SysDeptResponseVo) stringObjectMap.get("sysDept");
 |  |                      SysDeptResponseVo sysDept = (SysDeptResponseVo) stringObjectMap.get("sysDept");
 | 
												
													
														
															|  |                      dto.setPurchaseDeptName(sysDept.getDeptName());
 |  |                      dto.setPurchaseDeptName(sysDept.getDeptName());
 | 
												
													
														
															|  |                  }
 |  |                  }
 | 
												
													
														
															|  | -                // 采购服务站名称
 |  | 
 | 
												
													
														
															|  | -                List<SysDictData> data = dictTypeService.selectDictDataByType(Constants.PURCHASE_SERVICES);
 |  | 
 | 
												
													
														
															|  | -                if (!ObjectUtils.isEmpty(data)) {
 |  | 
 | 
												
													
														
															|  | -                    List<SysDictData> collect = data.stream()
 |  | 
 | 
												
													
														
															|  | -                            .filter(d -> d.getDictValue().equals(dto.getPurchaseServices())).collect(Collectors.toList());
 |  | 
 | 
												
													
														
															|  | 
 |  | +                // todo 采购服务站名称    要修改为单位管理里面的
 | 
												
													
														
															|  | 
 |  | +//                List<SysDictData> data = dictTypeService.selectDictDataByType(Constants.PURCHASE_SERVICES);
 | 
												
													
														
															|  | 
 |  | +//                if (!ObjectUtils.isEmpty(data)) {
 | 
												
													
														
															|  | 
 |  | +//                    List<SysDictData> collect = data.stream()
 | 
												
													
														
															|  | 
 |  | +//                            .filter(d -> d.getDictValue().equals(dto.getPurchaseServices())).collect(Collectors.toList());
 | 
												
													
														
															|  | 
 |  | +//                    if (!ObjectUtils.isEmpty(collect)) {
 | 
												
													
														
															|  | 
 |  | +//                        dto.setPurchaseServicesName(collect.get(0).getDictLabel());
 | 
												
													
														
															|  | 
 |  | +//                    }
 | 
												
													
														
															|  | 
 |  | +//                }
 | 
												
													
														
															|  | 
 |  | +                // 项目状态
 | 
												
													
														
															|  | 
 |  | +                List<SysDictData> projectStatus = dictTypeService.selectDictDataByType(Constants.SYS_PROJECT_STATUS);
 | 
												
													
														
															|  | 
 |  | +                if (!ObjectUtils.isEmpty(projectStatus)) {
 | 
												
													
														
															|  | 
 |  | +                    List<SysDictData> collect = projectStatus.stream()
 | 
												
													
														
															|  | 
 |  | +                            .filter(d -> d.getDictValue().equals(dto.getProjectStatus())).collect(Collectors.toList());
 | 
												
													
														
															|  | 
 |  | +                    if (!ObjectUtils.isEmpty(collect)) {
 | 
												
													
														
															|  | 
 |  | +                        dto.setProjectStatusStr(collect.get(0).getDictLabel());
 | 
												
													
														
															|  | 
 |  | +                    }
 | 
												
													
														
															|  | 
 |  | +                }
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +                // 报警状态
 | 
												
													
														
															|  | 
 |  | +                List<SysDictData> warnStatus = dictTypeService.selectDictDataByType(Constants.PROJECT_WARN_STATUS);
 | 
												
													
														
															|  | 
 |  | +                if (!ObjectUtils.isEmpty(warnStatus)) {
 | 
												
													
														
															|  | 
 |  | +                    List<SysDictData> collect = warnStatus.stream()
 | 
												
													
														
															|  | 
 |  | +                            .filter(d -> d.getDictValue().equals(dto.getWarnStatus())).collect(Collectors.toList());
 | 
												
													
														
															|  |                      if (!ObjectUtils.isEmpty(collect)) {
 |  |                      if (!ObjectUtils.isEmpty(collect)) {
 | 
												
													
														
															|  | -                        dto.setPurchaseServicesName(collect.get(0).getDictLabel());
 |  | 
 | 
												
													
														
															|  | 
 |  | +                        dto.setWarnStatusStr(collect.get(0).getDictLabel());
 | 
												
													
														
															|  |                      }
 |  |                      }
 | 
												
													
														
															|  |                  }
 |  |                  }
 | 
												
													
														
															|  |                  return dto;
 |  |                  return dto;
 |