Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/dev' into dev

wangjiang988 5 gadi atpakaļ
vecāks
revīzija
1042ac52f1

+ 2 - 1
src/main/java/platform/modules/government/service/ProjectDeclarationService.java

@@ -862,7 +862,8 @@ public class ProjectDeclarationService extends BaseService<ProjectDeclaration> {
         List<Project> projectList = projectDao.selectByExample(example);
 
         List<String> project_ids = new ArrayList<>();
-        if (CollectionUtils.isEmpty(projectList)) return project_ids;
+        if (department.getName() != null && !department.getName().contains("财政") && CollectionUtils.isEmpty(projectList))
+            return project_ids;
 
         for (Project project : projectList) {
             project_ids.add(project.getId() + "");