|
@@ -1,5 +1,6 @@
|
|
|
package com.cyksj.web.controller.manage.corp;
|
|
package com.cyksj.web.controller.manage.corp;
|
|
|
|
|
|
|
|
|
|
+import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.cyksj.common.util.Jsons;
|
|
import com.cyksj.common.util.Jsons;
|
|
|
import com.cyksj.dto.Result;
|
|
import com.cyksj.dto.Result;
|
|
@@ -85,6 +86,12 @@ public class CorpCustomerAcquistionLinkController {
|
|
|
.in(CorpFollow::getUserid, Jsons.parseList(e.getUserList(),String.class))).stream().map(CorpFollow::getName).collect(Collectors.toList());
|
|
.in(CorpFollow::getUserid, Jsons.parseList(e.getUserList(),String.class))).stream().map(CorpFollow::getName).collect(Collectors.toList());
|
|
|
e.setUserStrList(userStrList);
|
|
e.setUserStrList(userStrList);
|
|
|
|
|
|
|
|
|
|
+ if (StrUtil.isNotEmpty(e.getChooseDutyUsers())) {
|
|
|
|
|
+ List<String> dutyUserList = corpFollowMapper.selectList(Wrappers.lambdaQuery(CorpFollow.class)
|
|
|
|
|
+ .in(CorpFollow::getUserid, Jsons.parseList(e.getChooseDutyUsers(), String.class))).stream().map(CorpFollow::getName).collect(Collectors.toList());
|
|
|
|
|
+ e.setChooseDutyUserList(dutyUserList);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
List<String> tagStrList = corpTagMapper.selectList(Wrappers.lambdaQuery(CorpTag.class)
|
|
List<String> tagStrList = corpTagMapper.selectList(Wrappers.lambdaQuery(CorpTag.class)
|
|
|
.in(CorpTag::getId, Jsons.parseList(e.getTags(),Long.class))).stream().map(CorpTag::getName).collect(Collectors.toList());
|
|
.in(CorpTag::getId, Jsons.parseList(e.getTags(),Long.class))).stream().map(CorpTag::getName).collect(Collectors.toList());
|
|
|
e.setTagStrList(tagStrList);
|
|
e.setTagStrList(tagStrList);
|