企微语料处理回复条件判断
This commit is contained in:
@@ -7,7 +7,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@@ -24,7 +23,7 @@ public class QiWeiCorpusJob {
|
||||
*/
|
||||
@XxlJob("QiWeiCorpusTask")
|
||||
@PostMapping("qiWeiCorpusTask")
|
||||
public ResultMsg qiWeiCorpusTask(@RequestBody String paramJson) {
|
||||
public ResultMsg qiWeiCorpusTask(String paramJson) {
|
||||
try {
|
||||
log.info("qiWeiCorpusTask 企微语料查询处理:{}",paramJson);
|
||||
tmOdsVdqwMessagearchivingService.runQiWeiCorpusDify(paramJson);
|
||||
|
||||
@@ -168,7 +168,7 @@ public class TmOdsVdqwMessagearchivingServiceImpl extends ServiceImpl<TmOdsVdqwM
|
||||
AtomicInteger externalcontactCount = new AtomicInteger();
|
||||
contetnList.forEach(contentItem -> {
|
||||
String title = "";
|
||||
if(tmOdsVdqwExternalcontact.getUnionId().equals(contentItem.getFromUserId())){
|
||||
if(tmOdsVdqwExternalcontact.getExternalUserId().equals(contentItem.getFromUserId())){
|
||||
title="客户:";
|
||||
externalcontactCount.addAndGet(1);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user