|
|
@@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.hz.pm.api.common.enumeration.CommonEnum; |
|
|
|
import com.hz.pm.api.common.enumeration.ProjectProcessStageEnum; |
|
|
|
import com.hz.pm.api.common.model.constant.BizConst; |
|
|
|
import com.hz.pm.api.external.model.enumeration.MhUnitStripEnum; |
|
|
|
import com.hz.pm.api.projectdeclared.manage.DefaultDeclaredProjectManage; |
|
|
|
import com.hz.pm.api.projectdeclared.model.dto.DefaultDeclaredDTO; |
|
|
|
import com.hz.pm.api.projectdeclared.model.dto.ProjectConditionDTO; |
|
|
@@ -91,6 +92,9 @@ public class DeclaredRecordManage { |
|
|
|
if (!user.getSuperAdmin() && !user.getRegionAdmin()) { |
|
|
|
query.eq(MhProject::getUnitId, user.getMhUnitId()); |
|
|
|
} |
|
|
|
if (req.getUnitStrip() != null) { |
|
|
|
query.eq(MhProject::getUnitStrip, req.getUnitStrip()); |
|
|
|
} |
|
|
|
return query; |
|
|
|
} |
|
|
|
|
|
|
@@ -120,6 +124,8 @@ public class DeclaredRecordManage { |
|
|
|
item.setStatus(project.getStatus()); |
|
|
|
item.setStage(project.getStage()); |
|
|
|
} |
|
|
|
item.setUnitStrip(w.getUnitStrip()); |
|
|
|
item.setUnitStripName(MhUnitStripEnum.getVal(w.getUnitStrip())); |
|
|
|
item.setDeclaredUnit(w.getUnitName()); |
|
|
|
item.setProjectCode(w.getProjectCode()); |
|
|
|
item.setProjectName(w.getProjectName()); |
|
|
|