|
@@ -61,6 +61,8 @@ public class CompanyCaAuthLogic {
|
|
|
public void add(CompanyCaAuth companyCaAuth) {
|
|
|
final AdminWebsit websit = adminWebsitService.getById(companyCaAuth.getWebsitId());
|
|
|
companyCaAuth.setCompanyName(websit.getName());
|
|
|
+ companyCaAuth.setCompanyWechatId(websit.getCompanyWechatId());
|
|
|
+ companyCaAuth.setCompanyName(websit.getCompanyWechatName());
|
|
|
CompanyCaAuth caAuth = companyCaAuthService.lambdaQuery()
|
|
|
.eq(CompanyCaAuth::getWebsitId, companyCaAuth.getWebsitId())
|
|
|
.one();
|
|
@@ -75,6 +77,8 @@ public class CompanyCaAuthLogic {
|
|
|
public void update(CompanyCaAuth companyCaAuth) {
|
|
|
final AdminWebsit websit = adminWebsitService.getById(companyCaAuth.getWebsitId());
|
|
|
companyCaAuth.setCompanyName(websit.getName());
|
|
|
+ companyCaAuth.setCompanyWechatId(websit.getCompanyWechatId());
|
|
|
+ companyCaAuth.setCompanyName(websit.getCompanyWechatName());
|
|
|
this.checkInfo(companyCaAuth);
|
|
|
CompanyCaAuth byId = companyCaAuthService.getById(companyCaAuth.getCompanyCaAuthId());
|
|
|
|