|
|
@@ -796,6 +796,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
int followCount = userBusinessMapper.selectFollowCountByUAid(fbb.getUid(), null) + 1;
|
|
|
userFollow.setFollowCount(followCount);
|
|
|
userFollow.setType(0);
|
|
|
+ userFollowMapper.insert(userFollow);
|
|
|
if (type==0){
|
|
|
//处理中间表
|
|
|
UserMid um =new UserMid();
|
|
|
@@ -815,8 +816,6 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
}else if (type==1){
|
|
|
addRestrictProject(fbb,followTime,followId);
|
|
|
}
|
|
|
- userFollowMapper.insert(userFollow);
|
|
|
-
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
@@ -1001,7 +1000,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
String startTime= DateUtils.formatDate(transferTime,AFTConstants.YYYYMMDD);
|
|
|
String endTime=startTime+" 23:59:59";
|
|
|
AdminUserCount adminUserCount = getAdminUserCount(aid,startTime);
|
|
|
- int count = userFollowMapper.selectByaidAndDate(aid, startTime, endTime);
|
|
|
+ Integer count = userFollowMapper.selectByaidAndDate(aid, startTime, endTime);
|
|
|
if (adminUserCount==null){
|
|
|
AdminUserCount selectAUC=userMapper.selectByaidAndDate(aid,startTime,endTime);
|
|
|
if (selectAUC==null)selectAUC=new AdminUserCount();
|