Sfoglia il codice sorgente

月度对表项目状态

hexiao 2 anni fa
parent
commit
fbf356a2fc

+ 1 - 1
purchase-admin/src/main/java/com/ozs/web/controller/plan/MonthlyReconciliationController.java

@@ -86,7 +86,7 @@ public class MonthlyReconciliationController extends BaseController {
                 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());
+                            .filter(d -> d.getDictValue().equals(dto.getProjectStatus().toString())).collect(Collectors.toList());
                     if (!ObjectUtils.isEmpty(collect)) {
                         dto.setProjectStatusStr(collect.get(0).getDictLabel());
                     }