Commit ae81bef9 authored by suhuiguang's avatar suhuiguang

1.单位注册时法人及法人联系电话同步到单位信息表的联系人及联系电话

parent 0289ad85
......@@ -172,7 +172,8 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
companyInfo.setParentId(Long.parseLong(regUnitInfo.getManagementUnitId()));
companyInfo.setLevel("company");
companyInfo.setCompanyName(regUnitInfo.getName());
companyInfo.setContact(regUnitInfo.getLegalPersonTel());
companyInfo.setContact(regUnitInfo.getLegalPerson());
companyInfo.setLandlinePhone(regUnitInfo.getLegalPersonTel());
FeignClientResult<CompanyModel> companyResult = Privilege.companyClient.create(companyInfo);
if (companyResult == null || companyResult.getResult() == null) {
throw new BadRequest("单位注册失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment