|
|
@@ -87,6 +87,7 @@ public class EnterpriseService {
|
|
|
e.setBusinessScenario(dto.getBusinessScenario());
|
|
|
e.setBusinessContracts(dto.getBusinessContracts());
|
|
|
e.setLegalRepIdPhoto(dto.getLegalRepIdPhoto());
|
|
|
+ e.setWanlihuiUid(dto.getWanlihuiUid());
|
|
|
enterpriseMapper.insert(e);
|
|
|
return toVO(enterpriseMapper.selectById(e.getId()));
|
|
|
}
|
|
|
@@ -108,6 +109,7 @@ public class EnterpriseService {
|
|
|
if (dto.getBusinessScenario() != null) e.setBusinessScenario(dto.getBusinessScenario());
|
|
|
if (dto.getBusinessContracts() != null) e.setBusinessContracts(dto.getBusinessContracts());
|
|
|
if (dto.getLegalRepIdPhoto() != null) e.setLegalRepIdPhoto(dto.getLegalRepIdPhoto());
|
|
|
+ if (dto.getWanlihuiUid() != null) e.setWanlihuiUid(dto.getWanlihuiUid());
|
|
|
enterpriseMapper.updateById(e);
|
|
|
|
|
|
// 对应 Python: 当状态为已激活或认证时,从支付宝同步企业信息
|
|
|
@@ -142,6 +144,7 @@ public class EnterpriseService {
|
|
|
vo.setBusinessScenario(e.getBusinessScenario());
|
|
|
vo.setBusinessContracts(e.getBusinessContracts());
|
|
|
vo.setLegalRepIdPhoto(e.getLegalRepIdPhoto());
|
|
|
+ vo.setWanlihuiUid(e.getWanlihuiUid());
|
|
|
return vo;
|
|
|
}
|
|
|
|
|
|
@@ -175,6 +178,7 @@ public class EnterpriseService {
|
|
|
vo.setBusinessScenario(e.getBusinessScenario());
|
|
|
vo.setBusinessContracts(e.getBusinessContracts());
|
|
|
vo.setLegalRepIdPhoto(e.getLegalRepIdPhoto());
|
|
|
+ vo.setWanlihuiUid(e.getWanlihuiUid());
|
|
|
return vo;
|
|
|
}
|
|
|
}
|