From 6c4cf253870d7a97adafc7ba8746b88f72b08c25 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Thu, 26 Oct 2023 16:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=20=E8=B4=A2=E6=94=BF?= =?UTF-8?q?=E7=BC=96=E5=8F=B7=E7=9A=84=20=E5=BC=95=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/sys/contants/UserGuidanceContant.java | 2 +- .../pmapi/sys/manage/UserGuidanceManage.java | 22 +--------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java b/pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java index 7cd5fa4..3a775d7 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/sys/contants/UserGuidanceContant.java @@ -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 = "配置单位流程"; diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java index 29dcc74..cf34100 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/UserGuidanceManage.java @@ -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);