Commit 122c2a28 authored by hezhen's avatar hezhen

修改分公司

parent 24c6bf72
......@@ -504,6 +504,11 @@ public class BranchCompanyBiz extends BaseBiz<BranchCompanyMapper, BranchCompany
public ObjectRestResponse saveOrUpd(BranchCompany branchCompany){
Integer id= branchCompany.getId() == null ? 0 : branchCompany.getId();
String phone = branchCompany.getPhone();
if (StringUtils.isNotBlank(phone)){
branchCompany.setVehiceServicePhone(phone);
branchCompany.setTourServicePhone(phone);
}
if (id > 0){
updateSelectiveById(branchCompany);
}else {
......
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