Bladeren bron

盖章修改

tags/24080901
CMM 1 jaar geleden
bovenliggende
commit
3605089b84
1 gewijzigde bestanden met toevoegingen van 8 en 2 verwijderingen
  1. +8
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 8
- 2
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Bestand weergeven

@@ -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);


Laden…
Annuleren
Opslaan