|
|
@@ -46,6 +46,7 @@ import com.goafanti.common.dao.UserIdentityMapper;
|
|
|
import com.goafanti.common.dao.UserLockReleaseMapper;
|
|
|
import com.goafanti.common.dao.UserMapper;
|
|
|
import com.goafanti.common.dao.UserTransferLogMapper;
|
|
|
+import com.goafanti.common.enums.ChannelStatus;
|
|
|
import com.goafanti.common.enums.CustomerStatusFiled;
|
|
|
import com.goafanti.common.enums.DeleteStatus;
|
|
|
import com.goafanti.common.enums.IdentityProcess;
|
|
|
@@ -2110,19 +2111,19 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
userLockReleaseMapper.insertChannelList(uids,receiveId);
|
|
|
String role=userMapper.checkRoleMax(receiveId);
|
|
|
if (role.equals(AFTConstants.SALESMAN_MANAGER)) {
|
|
|
- status=1;
|
|
|
+ status=ChannelStatus.YFPJL.getCode();
|
|
|
}else {
|
|
|
- status=2;
|
|
|
+ status=ChannelStatus.YFPYXY.getCode();
|
|
|
}
|
|
|
}else {
|
|
|
userLockReleaseMapper.updateChannelList(uids,receiveId);
|
|
|
+ status=ChannelStatus.HT.getCode();
|
|
|
}
|
|
|
if(type==0) {
|
|
|
userChannelMapper.updateByuids(uids, type, date,receiveId,status);
|
|
|
}else {
|
|
|
userChannelMapper.updateByuids(uids, type, date,null,status);
|
|
|
}
|
|
|
-
|
|
|
organizationContactBookMapper.updateByUids(uids, receiveId);
|
|
|
return 1;
|
|
|
}
|