|
@@ -280,6 +280,7 @@ public class GRPCController extends BaseController {
|
|
|
}
|
|
|
StringBuilder sb = new StringBuilder();
|
|
|
String sessionId = chatReq.getSessionId();
|
|
|
+ int isStrong = Objects.isNull(chatReq.getIsStrong()) ? 0 : chatReq.getIsStrong();
|
|
|
//如果是工单,需要特殊处理一下showVal和question
|
|
|
if(1 == module){
|
|
|
//获取前一天的日期
|
|
@@ -305,9 +306,9 @@ public class GRPCController extends BaseController {
|
|
|
}
|
|
|
//如果查询到了 拼装数据
|
|
|
chatReq.setQuestion(this.buildGDQuestion(date, dateBefore, tXinyiDailiesNow.get(0), tXinyiDailiesBefore.get(0)));
|
|
|
+ isStrong = 1;
|
|
|
}
|
|
|
String ipAddr = IpUtils.getIpAddr();//获取用户的ip地址 传给大模型
|
|
|
- int isStrong = Objects.isNull(chatReq.getIsStrong()) ? 0 : chatReq.getIsStrong();
|
|
|
int counts = 1;//默认是第一次
|
|
|
List<String> historyDates = new ArrayList<>();
|
|
|
//查询历史数据,放入集合中
|