|
|
@@ -2493,13 +2493,15 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int updateUserDate(String uid,Integer province, Integer city, Integer area, String businessScope, String intendedProject,String introduction,Integer channelType) {
|
|
|
+ public int updateUserDate(String uid,Integer province, Integer city, Integer area, String businessScope, String intendedProject,
|
|
|
+ String introduction,Integer channelType,String orgCode) {
|
|
|
OrganizationIdentity oi =new OrganizationIdentity();
|
|
|
oi.setUid(uid);
|
|
|
- if (province!=null ||city !=null ||area!=null|| businessScope!=null ||intendedProject!=null){
|
|
|
+ if (province!=null ||city !=null ||area!=null|| businessScope!=null ||intendedProject!=null||orgCode!=null){
|
|
|
if(province!=null)oi.setLocationProvince(province);
|
|
|
if(city!=null)oi.setLocationCity(city);
|
|
|
if(area!=null)oi.setLocationArea(area);
|
|
|
+ if (orgCode!=null)oi.setOrgCode(orgCode);
|
|
|
if (businessScope!=null){
|
|
|
OrganizationIdentity use=organizationIdentityMapper.selectOrgIdentityByUserId(uid);
|
|
|
updateBusinessScope(uid,businessScope,use.getBusinessScope(),new Date());
|