Browse Source

去掉 财政编号的 引导

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

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

@@ -8,7 +8,7 @@ package com.ningdatech.pmapi.sys.contants;
*/
public interface UserGuidanceContant {

Integer ALL_FINISHED_NUM = 3;
Integer ALL_FINISHED_NUM = 2;

class OrgModel {
public static final String GUIDANCE_NAME = "配置单位流程";


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

@@ -84,27 +84,7 @@ public class UserGuidanceManage {
}
details.add(orgModelGuidance);

//2.去查询 财政编码 印章编码
UserGuidanceDetailVO fiscalCodeGuidance = new UserGuidanceDetailVO();
fiscalCodeGuidance.setName(UserGuidanceContant.FiscalCode.GUIDANCE_NAME);
fiscalCodeGuidance.setRemark(UserGuidanceContant.FiscalCode.GUIDANCE_REMARK);
fiscalCodeGuidance.setPath(UserGuidanceContant.FiscalCode.GUIDANCE_PATH);
CompanyFiscalCode fiscalCode = fiscalCodeService.getOne(Wrappers.lambdaQuery(CompanyFiscalCode.class)
.eq(CompanyFiscalCode::getOrganizationCode, empPosUnitCode)
.last(BizConst.LIMIT_1));
if(Objects.isNull(fiscalCode)){
fiscalCodeGuidance.setIsFinish(Boolean.FALSE);
}else{
//判断fiscalCode是否为空
if(StringUtils.isNotBlank(fiscalCode.getFiscalCode())){
fiscalCodeGuidance.setIsFinish(Boolean.TRUE);
finishedNum ++;
}else{
fiscalCodeGuidance.setIsFinish(Boolean.FALSE);
}
}
details.add(fiscalCodeGuidance);

//2.去查询 印章编码
UserGuidanceDetailVO signatureGuidance = new UserGuidanceDetailVO();
signatureGuidance.setName(UserGuidanceContant.Signature.GUIDANCE_NAME);
signatureGuidance.setRemark(UserGuidanceContant.Signature.GUIDANCE_REMARK);


Loading…
Cancel
Save