Browse Source

Merge branch '20230731_ls2_operation+early_warning+safety_risk+portrait' of http://git.ningdatech.com/liushuai/project-management into dev

tags/24080901
PoffyZhang 1 year ago
parent
commit
a405c885c6
2 changed files with 6 additions and 3 deletions
  1. +4
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java
  2. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java

+ 4
- 2
pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java View File

@@ -15,6 +15,8 @@ public interface UserGuidanceContant {
public static final String GUIDANCE_REMARK = "用户项目审核,请先配置单位默认流程"; public static final String GUIDANCE_REMARK = "用户项目审核,请先配置单位默认流程";
public static final String GUIDANCE_PATH1 = "unitSet/flowPathConfiguration"; public static final String GUIDANCE_PATH1 = "unitSet/flowPathConfiguration";
public static final String GUIDANCE_PATH2 = "unitSet/unitConfigEdit?processDefId="; public static final String GUIDANCE_PATH2 = "unitSet/unitConfigEdit?processDefId=";

public static final String EMPTY_PROCESS = "{}";
} }


class FiscalCode { class FiscalCode {
@@ -24,8 +26,8 @@ public interface UserGuidanceContant {
} }


class Signature { class Signature {
public static final String GUIDANCE_NAME = "配置财政编码";
public static final String GUIDANCE_REMARK = "用于生成项目唯一编码";
public static final String GUIDANCE_NAME = "配置印章编码";
public static final String GUIDANCE_REMARK = "用于电子签章";
public static final String GUIDANCE_PATH = "unitSet/fiscalCodeSet"; public static final String GUIDANCE_PATH = "unitSet/fiscalCodeSet";
} }
} }

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java View File

@@ -74,7 +74,8 @@ public class UserGuidanceManage {
}else{ }else{
orgModelGuidance.setPath(UserGuidanceContant.OrgModel.GUIDANCE_PATH2 + orgModel.getProcessDefId()); orgModelGuidance.setPath(UserGuidanceContant.OrgModel.GUIDANCE_PATH2 + orgModel.getProcessDefId());
//判断process是否为空 //判断process是否为空
if(StringUtils.isNotBlank(orgModel.getProcess())){
if(StringUtils.isNotBlank(orgModel.getProcess()) &&
!UserGuidanceContant.OrgModel.EMPTY_PROCESS.equals(orgModel.getProcess())){
orgModelGuidance.setIsFinish(Boolean.TRUE); orgModelGuidance.setIsFinish(Boolean.TRUE);
finishedNum ++; finishedNum ++;
}else{ }else{


Loading…
Cancel
Save