|
|
@@ -815,7 +815,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
userBusiness = new UserBusiness();
|
|
|
userFollowBusiness = new UserFollowBusiness();
|
|
|
ufbId = UUID.randomUUID().toString();
|
|
|
- businessName = businessProjectMapper.selectByPrimaryKey(ub.getBusinessProjectId()).getBname();
|
|
|
+ businessName = businessProjectMapper.queryById(ub.getBusinessProjectId()).getBname();
|
|
|
UserBusiness us = userBusinessMapper.selectByPrimaryKey(ub.getBusinessId());
|
|
|
if (StringUtils.isNotBlank(ub.getBusinessId())) {
|
|
|
// 更新业务表
|
|
|
@@ -879,7 +879,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
userBusiness = new UserBusiness();
|
|
|
userFollowBusiness = new UserFollowBusiness();
|
|
|
ufbId = UUID.randomUUID().toString();
|
|
|
- businessName = businessProjectMapper.selectByPrimaryKey(ub.getBusinessProjectId()).getBname();
|
|
|
+ businessName = businessProjectMapper.queryById(ub.getBusinessProjectId()).getBname();
|
|
|
UserBusiness us = userBusinessMapper.selectByPrimaryKey(ub.getBusinessId());
|
|
|
if (StringUtils.isNotBlank(ub.getBusinessId())) {
|
|
|
// 更新业务表
|
|
|
@@ -1085,7 +1085,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
UserFollowBusiness userFollowBusiness = null;
|
|
|
for (BusinessListBo ub : fbb.getUserBusinessList()) {
|
|
|
userFollowBusiness = new UserFollowBusiness();
|
|
|
- businessName = businessProjectMapper.selectByPrimaryKey(ub.getBusinessProjectId()).getBname();
|
|
|
+ businessName = businessProjectMapper.queryById(ub.getBusinessProjectId()).getBname();
|
|
|
if (StringUtils.isNotBlank(ub.getUfbId())) {
|
|
|
userFollowBusiness.setId(ub.getUfbId());
|
|
|
userFollowBusiness.setFollowSituation(ub.getFollowSituation());
|