|
@@ -336,7 +336,7 @@ public class GRPCController extends BaseController {
|
|
|
//品种prompt
|
|
|
chatReq.setQuestion(this.buildGDQuestionCustom(workOrderRes, workOrderReq));
|
|
|
//2024年6月20日16:48:08 如果是自定义工单,需要处理图表 放到remark中
|
|
|
- chatReq.setRemark(JSON.toJSONString(frontService.customWorkOrderHandleByData(workOrderReq, workOrderRes)));
|
|
|
+ chatReq.setRemark(JSON.toJSONString(frontService.customWorkOrderHandleByData(workOrderReq, workOrderRes), JSONWriter.Feature.WriteNulls));
|
|
|
}
|
|
|
isStrong = 1;
|
|
|
}
|
|
@@ -463,6 +463,27 @@ public class GRPCController extends BaseController {
|
|
|
sb.append(workOrderRe.getCsSlqc()).append("m³/d、");
|
|
|
}
|
|
|
}
|
|
|
+ if(workOrderReq.getNo3Hlj1Jqr() || workOrderReq.getNo3Hlj2Jqr() || workOrderReq.getNh31Jqr() || workOrderReq.getNh32Jqr()
|
|
|
+ || workOrderReq.getNo3Qyc1Jqr() || workOrderReq.getNo3Qyc2Jqr() || workOrderReq.getTpRccJqr()){
|
|
|
+ sb.append("过程指标:\n");
|
|
|
+ for (WorkOrderRes workOrderRe : workOrderRes) {
|
|
|
+ sb.append(workOrderRe.getTime()).append(":");
|
|
|
+ if(workOrderReq.getNo3Hlj1Jqr())
|
|
|
+ sb.append(workOrderRe.getNo3Hlj1Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getNo3Hlj2Jqr())
|
|
|
+ sb.append(workOrderRe.getNo3Hlj2Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getNh31Jqr())
|
|
|
+ sb.append(workOrderRe.getNh31Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getNh32Jqr())
|
|
|
+ sb.append(workOrderRe.getNh32Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getNo3Qyc1Jqr())
|
|
|
+ sb.append(workOrderRe.getNo3Qyc1Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getNo3Qyc2Jqr())
|
|
|
+ sb.append(workOrderRe.getNo3Qyc2Jqr()).append("mg/L、");
|
|
|
+ if(workOrderReq.getTpRccJqr())
|
|
|
+ sb.append(workOrderRe.getTpRccJqr()).append("mg/L、");
|
|
|
+ }
|
|
|
+ }
|
|
|
sb.append(GONGDAN_PROMPT_CUSTOM_END_1);
|
|
|
if(workOrderReq.getJsCod() || workOrderReq.getCsCod())
|
|
|
sb.append("化学需氧量(COD)、");
|