|
@@ -75,6 +75,8 @@ public class MonthlyReconciliationController extends BaseController {
|
|
|
}
|
|
|
// 分页查询
|
|
|
IPage<MonthlyReconciliation> page = monthlyReconciliationService.queryPage(vo);
|
|
|
+ // 采购服务站名称
|
|
|
+ List<SysDictData> data = dictTypeService.selectDictDataByType("purchase_services");
|
|
|
if (!ObjectUtils.isEmpty(page.getRecords()) && page.getRecords().size() > 0) {
|
|
|
page.setRecords(page.getRecords().stream().map(dto -> {
|
|
|
// 采购单位名称
|
|
@@ -92,7 +94,14 @@ public class MonthlyReconciliationController extends BaseController {
|
|
|
dto.setProjectStatusStr(collect.get(0).getDictLabel());
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ // 采购服务站名称
|
|
|
+ if (!ObjectUtils.isEmpty(data)) {
|
|
|
+ List<SysDictData> collect = data.stream()
|
|
|
+ .filter(d -> d.getDictValue().equals(vo.getPurchaseServices())).collect(Collectors.toList());
|
|
|
+ if (!ObjectUtils.isEmpty(collect)) {
|
|
|
+ dto.setPurchaseServicesName(collect.get(0).getDictLabel());
|
|
|
+ }
|
|
|
+ }
|
|
|
// 报警状态
|
|
|
List<SysDictData> warnStatus = dictTypeService.selectDictDataByType(Constants.PROJECT_WARN_STATUS);
|
|
|
if (!ObjectUtils.isEmpty(warnStatus)) {
|