企业注册

cert
schry 2 years ago
parent 0df45889b6
commit 2e155fe72a

@ -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 {
}

@ -133,46 +133,8 @@ public class UserCertEntity implements Serializable {
@TableField("CustomerId")
private String customerId;
/**
*
*/
@TableField("vailDate")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date vailDate;
@TableField("remark1")
private String remark1;
/**
* 1:2.3.
*/
@TableField("type")
private Integer type;
/**
* ID
*/
@TableField("manufacturerIdFk")
private String manufacturerIdFk;
/**
* ID
*/
@TableField("productIdFk")
private String productIdFk;
/**
*
*/
@TableField("auditStatus")
private Integer auditStatus;
/**
*
*/
@TableField("auditComment")
private String auditComment;

Loading…
Cancel
Save