From 29bfcdc4187e914798814191402ab69745174d4c Mon Sep 17 00:00:00 2001 From: dxfeng Date: Fri, 28 Jul 2023 11:33:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E5=88=86=E9=83=A8=E5=B0=81=E5=AD=98=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/organization/entity/company/bo/CompBO.java | 2 +- src/com/engine/organization/entity/company/param/CompParam.java | 2 +- src/com/engine/organization/service/impl/CompServiceImpl.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/engine/organization/entity/company/bo/CompBO.java b/src/com/engine/organization/entity/company/bo/CompBO.java index 9281b193..86844c31 100644 --- a/src/com/engine/organization/entity/company/bo/CompBO.java +++ b/src/com/engine/organization/entity/company/bo/CompBO.java @@ -61,7 +61,7 @@ public class CompBO { .companyId(null == param.getCompanyId() ? 1 : param.getCompanyId()) .supSubComId(param.getSupSubComId()) .url(param.getUrl()) - .canceled(param.getCanceled() == null ? null : param.getCanceled() ? 0 : 1) + .canceled(param.getForbiddenTag() == null ? null : param.getForbiddenTag() ? 0 : 1) .subCompanyCode(param.getSubCompanyCode()) .outKey(param.getOutKey()) .limitUsers(null == param.getLimitUsers() ? 0 : param.getLimitUsers()) diff --git a/src/com/engine/organization/entity/company/param/CompParam.java b/src/com/engine/organization/entity/company/param/CompParam.java index 37f40917..b4393d8d 100644 --- a/src/com/engine/organization/entity/company/param/CompParam.java +++ b/src/com/engine/organization/entity/company/param/CompParam.java @@ -20,7 +20,7 @@ public class CompParam extends BaseQueryParam { private Integer companyId; private Integer supSubComId; private String url; - private Boolean canceled; + private Boolean forbiddenTag; private String subCompanyCode; private String outKey; private Integer limitUsers; diff --git a/src/com/engine/organization/service/impl/CompServiceImpl.java b/src/com/engine/organization/service/impl/CompServiceImpl.java index 94933d3d..32a139df 100644 --- a/src/com/engine/organization/service/impl/CompServiceImpl.java +++ b/src/com/engine/organization/service/impl/CompServiceImpl.java @@ -123,7 +123,7 @@ public class CompServiceImpl extends Service implements CompService { @Override public int updateForbiddenTagById(CompParam params) { HasRightUtil.hasRight(user, RIGHT_NAME, false); - CompPO compPO = CompPO.builder().id(params.getId()).canceled(params.getCanceled() ? 0 : 1).build(); + CompPO compPO = CompPO.builder().id(params.getId()).canceled(params.getForbiddenTag() ? 0 : 1).build(); Map map = new HashMap<>(); map.put("id", compPO.getId().toString()); map.put("forbiddenTag", compPO.getCanceled());