|
|
@@ -123,6 +123,12 @@ public class WorkContactEmployeeServiceImpl extends ServiceImpl<WorkContactEmplo
|
|
|
|
|
|
Collection<SetUserTag> entityList = new ArrayList<SetUserTag>();
|
|
|
SetUserTagMain mainObj = new SetUserTagMain();
|
|
|
+
|
|
|
+ mainObj.setAuthId(authUser.getId());
|
|
|
+ mainObj.setAuthName(authUser.getName());
|
|
|
+ mainObj.setTotalNum(entityList.size());
|
|
|
+ SetUserTagMainService.save(mainObj);
|
|
|
+
|
|
|
for (int i = 0;i<row.size();i++) {
|
|
|
Map<String, String> cell = row.get(i);
|
|
|
SetUserTag obj = new SetUserTag();
|
|
|
@@ -137,16 +143,15 @@ public class WorkContactEmployeeServiceImpl extends ServiceImpl<WorkContactEmplo
|
|
|
obj.setAuthId(authUser.getId());
|
|
|
obj.setAuthName(authUser.getName());
|
|
|
obj.setSourceFanId(fanId);
|
|
|
+ obj.setMainId(mainObj.getId());
|
|
|
obj.setSourceTagNames(tagNames);
|
|
|
//查找指定的标签
|
|
|
entityList.add(obj);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
setUserTagService.saveBatch(entityList);
|
|
|
- mainObj.setAuthId(authUser.getId());
|
|
|
- mainObj.setAuthName(authUser.getName());
|
|
|
- mainObj.setTotalNum(entityList.size());
|
|
|
- SetUserTagMainService.save(mainObj);
|
|
|
+
|
|
|
|
|
|
return null;
|
|
|
}
|