anderx 1 год назад
Родитель
Сommit
cc0c9e6933
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

+ 1 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -795,7 +795,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		userFollow.setUid(fbb.getUid());
 		userFollow.setUid(fbb.getUid());
 		int followCount = userBusinessMapper.selectFollowCountByUAid(fbb.getUid(), null) + 1;
 		int followCount = userBusinessMapper.selectFollowCountByUAid(fbb.getUid(), null) + 1;
 		userFollow.setFollowCount(followCount);
 		userFollow.setFollowCount(followCount);
-		userFollow.setType(0);
+		userFollow.setType(type);
 		userFollowMapper.insert(userFollow);
 		userFollowMapper.insert(userFollow);
 		if (type==0){
 		if (type==0){
 			//处理中间表
 			//处理中间表