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