|
|
@@ -2393,7 +2393,7 @@ 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) {
|
|
|
+ public int updateUserDate(String uid,Integer province, Integer city, Integer area, String businessScope, String intendedProject,String introduction,Integer channelType) {
|
|
|
OrganizationIdentity oi =new OrganizationIdentity();
|
|
|
oi.setUid(uid);
|
|
|
if (province!=null ||city !=null ||area!=null|| businessScope!=null ||intendedProject!=null){
|
|
|
@@ -2414,6 +2414,12 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
user.setIntroduction(introduction);
|
|
|
userMapper.updateByPrimaryKeySelective(user);
|
|
|
}
|
|
|
+ if (channelType !=null){
|
|
|
+ UserMid um =new UserMid();
|
|
|
+ um.setUid(uid);
|
|
|
+ um.setChannelType(channelType);
|
|
|
+ userMidMapper.updateByUid(um);
|
|
|
+ }
|
|
|
return 1;
|
|
|
}
|
|
|
|