Commit 2edd0630 authored by hezhen's avatar hezhen

123

parent a69e057a
......@@ -58,6 +58,9 @@ public class CompanyInfoBiz extends BaseBiz<CompanyInfoMapper, CompanyInfo>{
@Autowired
AppUserRelationBiz userRelationBiz;
@Autowired
CompanyWalletBiz companyWalletBiz;
public static final String CODE="SHOP-";
......@@ -89,6 +92,9 @@ public class CompanyInfoBiz extends BaseBiz<CompanyInfoMapper, CompanyInfo>{
branchCompany.setLeader(companyInfoApply.getContact());
branchCompany.setLeaderContactInfo(companyInfoApply.getMobile());
branchCompanyBiz.addOrUpd(branchCompany);
CompanyWallet companyWallet = new CompanyWallet();
companyWallet.setCompanyId(branchCompany.getId());
companyWalletBiz.insertSelective(companyWallet);
}
sendQueue(companyInfo);
return id;
......
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