|
|
@@ -1157,6 +1157,9 @@ public class TodoCenterManage { |
|
|
|
.eq(Region::getRegionName,areaName)); |
|
|
|
VUtils.isTrue(Objects.isNull(region)).throwMessage("项目所属区域不存在!"); |
|
|
|
Integer regionLevel = region.getRegionLevel(); |
|
|
|
if (CommonEnum.LS_SBJ.getDesc().equals(areaName)){ |
|
|
|
regionLevel = RegionConst.RL_CITY; |
|
|
|
} |
|
|
|
// 获取项目申报时是否选择了主管单位和上级条线主管单位 |
|
|
|
// 主管单位信息 |
|
|
|
Integer isSuperOrg = project.getIsSuperOrg(); |
|
|
@@ -1165,7 +1168,7 @@ public class TodoCenterManage { |
|
|
|
Integer isHigherSuperOrg = project.getIsHigherSuperOrg(); |
|
|
|
String higherSuperOrgCode = project.getHigherSuperOrgCode(); |
|
|
|
switch (regionLevel) { |
|
|
|
// 市级预审 |
|
|
|
// 市级预审(市本级) |
|
|
|
case RegionConst.RL_CITY: |
|
|
|
String cityTemplateName = TodoCenterConstant.SealTemplate.CITY_TEMPLATE; |
|
|
|
// 设置pdf模板参数 |
|
|
@@ -1523,8 +1526,11 @@ public class TodoCenterManage { |
|
|
|
throw new BizException("项目所属区域不存在!"); |
|
|
|
} |
|
|
|
Integer regionLevel = region.getRegionLevel(); |
|
|
|
if (CommonEnum.LS_SBJ.getDesc().equals(areaName)){ |
|
|
|
regionLevel = RegionConst.RL_CITY; |
|
|
|
} |
|
|
|
switch (regionLevel) { |
|
|
|
// 市级预审 |
|
|
|
// 市级预审(市本级) |
|
|
|
case RegionConst.RL_CITY: |
|
|
|
String cityTemplateName = TodoCenterConstant.SealTemplate.CITY_TEMPLATE; |
|
|
|
return generateSealedPdf(req, declaredProject,cityTemplateName,notSealedFileId); |
|
|
|