往来单位选入问题漏掉corpType

master
anthonyywj2 3 years ago
parent 799e27a128
commit 0cf0d11579

@ -20,8 +20,8 @@ public class ToolApplicationContextInitializer implements ApplicationContextInit
"hbn1tobX+al4XvfRpjoCjST2mRfqCt4aNuBDM1LHMzyMBVJpfui91ikLGMgP4Gdf" + "hbn1tobX+al4XvfRpjoCjST2mRfqCt4aNuBDM1LHMzyMBVJpfui91ikLGMgP4Gdf" +
"swIDAQAB"; "swIDAQAB";
try { try {
String result = RsaUtils.publicKeyDecrypt(myKey, publicKey); // String result = RsaUtils.publicKeyDecrypt(myKey, publicKey);
String hardInfo = MyHardWareUtils.getHardDiskSN(); // String hardInfo = MyHardWareUtils.getHardDiskSN();
// if (!result.equals(hardInfo)) { // if (!result.equals(hardInfo)) {
// System.exit(1); // System.exit(1);
// } // }

@ -3,6 +3,7 @@ package com.glxp.api.admin.controller.basic;
import cn.hutool.extra.pinyin.PinyinUtil; import cn.hutool.extra.pinyin.PinyinUtil;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import com.glxp.api.admin.annotation.AuthRuleAnnotation; 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.BasicThirdSysDetailEntity;
import com.glxp.api.admin.entity.basic.BasicThirdSysEntity; import com.glxp.api.admin.entity.basic.BasicThirdSysEntity;
import com.glxp.api.admin.entity.basic.BasicUnitMaintainEntity; import com.glxp.api.admin.entity.basic.BasicUnitMaintainEntity;
@ -216,6 +217,7 @@ public class BasicUnitMaintainController {
basicUnitMaintainEntity.setContact(erpUnitsResponse.getContact()); basicUnitMaintainEntity.setContact(erpUnitsResponse.getContact());
basicUnitMaintainEntity.setMobile(erpUnitsResponse.getMobile()); basicUnitMaintainEntity.setMobile(erpUnitsResponse.getMobile());
basicUnitMaintainEntity.setUpdateTime(new Date()); basicUnitMaintainEntity.setUpdateTime(new Date());
basicUnitMaintainEntity.setCorpType(ConstantStatus.CORP_SP);
basicUnitMaintainService.insertBasicUnitMaintain(basicUnitMaintainEntity); basicUnitMaintainService.insertBasicUnitMaintain(basicUnitMaintainEntity);
} }
} }

Loading…
Cancel
Save