From 0cf0d11579a267a120eaf595b0480c0e31e6ebd4 Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Wed, 9 Mar 2022 10:03:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=80=E6=9D=A5=E5=8D=95=E4=BD=8D=E9=80=89?= =?UTF-8?q?=E5=85=A5=E9=97=AE=E9=A2=98=E6=BC=8F=E6=8E=89corpType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/ToolApplicationContextInitializer.java | 4 ++-- .../admin/controller/basic/BasicUnitMaintainController.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/api-admin/src/main/java/com/glxp/api/ToolApplicationContextInitializer.java b/api-admin/src/main/java/com/glxp/api/ToolApplicationContextInitializer.java index 2e7f540c..93f7db2b 100644 --- a/api-admin/src/main/java/com/glxp/api/ToolApplicationContextInitializer.java +++ b/api-admin/src/main/java/com/glxp/api/ToolApplicationContextInitializer.java @@ -20,8 +20,8 @@ public class ToolApplicationContextInitializer implements ApplicationContextInit "hbn1tobX+al4XvfRpjoCjST2mRfqCt4aNuBDM1LHMzyMBVJpfui91ikLGMgP4Gdf" + "swIDAQAB"; try { - String result = RsaUtils.publicKeyDecrypt(myKey, publicKey); - String hardInfo = MyHardWareUtils.getHardDiskSN(); +// String result = RsaUtils.publicKeyDecrypt(myKey, publicKey); +// String hardInfo = MyHardWareUtils.getHardDiskSN(); // if (!result.equals(hardInfo)) { // System.exit(1); // } diff --git a/api-admin/src/main/java/com/glxp/api/admin/controller/basic/BasicUnitMaintainController.java b/api-admin/src/main/java/com/glxp/api/admin/controller/basic/BasicUnitMaintainController.java index 35dd2eeb..4472d7d0 100644 --- a/api-admin/src/main/java/com/glxp/api/admin/controller/basic/BasicUnitMaintainController.java +++ b/api-admin/src/main/java/com/glxp/api/admin/controller/basic/BasicUnitMaintainController.java @@ -3,6 +3,7 @@ package com.glxp.api.admin.controller.basic; import cn.hutool.extra.pinyin.PinyinUtil; import com.github.pagehelper.PageInfo; import com.glxp.api.admin.annotation.AuthRuleAnnotation; +import com.glxp.api.admin.constant.ConstantStatus; import com.glxp.api.admin.entity.basic.BasicThirdSysDetailEntity; import com.glxp.api.admin.entity.basic.BasicThirdSysEntity; import com.glxp.api.admin.entity.basic.BasicUnitMaintainEntity; @@ -216,6 +217,7 @@ public class BasicUnitMaintainController { basicUnitMaintainEntity.setContact(erpUnitsResponse.getContact()); basicUnitMaintainEntity.setMobile(erpUnitsResponse.getMobile()); basicUnitMaintainEntity.setUpdateTime(new Date()); + basicUnitMaintainEntity.setCorpType(ConstantStatus.CORP_SP); basicUnitMaintainService.insertBasicUnitMaintain(basicUnitMaintainEntity); } }