|
|
|
@ -211,9 +211,9 @@ public class UserRegisterController extends BaseController {
|
|
|
|
|
// BeanUtils.copyProperties(registComPerResponse,userPersonEntity);
|
|
|
|
|
BeanUtils.copyProperties(registComPerResponse, userCompanyEntity);
|
|
|
|
|
userRegisterEntity.setId(Long.valueOf(registComPerResponse.getUrId()));
|
|
|
|
|
System.out.println(Long.valueOf(registComPerResponse.getUrId()));
|
|
|
|
|
|
|
|
|
|
// userPersonEntity.setId(Long.valueOf(registComPerResponse.getUpId()));
|
|
|
|
|
userCompanyEntity.setId(Long.valueOf(registComPerResponse.getUrId()));
|
|
|
|
|
userCompanyEntity.setId(Long.valueOf(registComPerResponse.getUcId()));
|
|
|
|
|
userCompanyEntity.setContactWay(registComPerResponse.getFmobile());
|
|
|
|
|
if ("key".equals(registComPerResponse.getKey())) {
|
|
|
|
|
//提交审核
|
|
|
|
@ -323,6 +323,15 @@ public class UserRegisterController extends BaseController {
|
|
|
|
|
userRegisterService.updateById(userRegisterEntity);
|
|
|
|
|
userCompanyService.updateById(userCompanyEntity);
|
|
|
|
|
userCheckService.insert(userCheckEntity);
|
|
|
|
|
UserCompanyEntity company = userCompanyService.getById(registComPerResponse.getUcId());
|
|
|
|
|
supCompanyEntity.setCustomerId(String.valueOf(company.getId()));
|
|
|
|
|
supCompanyEntity.setCompanyName(company.getCompanyName());
|
|
|
|
|
supCompanyEntity.setAuditStatus(Integer.valueOf(userCompanyEntity.getCheckStatus()));
|
|
|
|
|
supCompanyEntity.setCreditNum(company.getCreditNum());
|
|
|
|
|
supCompanyEntity.setBussinessStatus(Integer.valueOf(company.getBussinessStatus()));
|
|
|
|
|
supCompanyEntity.setCreateTime(company.getRegisterTime());
|
|
|
|
|
supCompanyEntity.setAuditStatus(Integer.valueOf(company.getCheckStatus()));
|
|
|
|
|
supCompanyService.insertCompany(supCompanyEntity);
|
|
|
|
|
// userCertSetService.insert(userCertSetEntity);
|
|
|
|
|
return ResultVOUtils.success();
|
|
|
|
|
}
|
|
|
|
@ -359,3 +368,4 @@ public class UserRegisterController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|