Prechádzať zdrojové kódy

文本替换bug修改

wangmiaomiao 9 mesiacov pred
rodič
commit
5b356d61e0

+ 1 - 1
slibra-admin/src/main/java/com/slibra/web/controller/business/GRPCController.java

@@ -486,7 +486,7 @@ public class GRPCController extends BaseController {
 
 
     private String buildGDQuestionCustom(List<WorkOrderRes> workOrderRes, WorkOrderReq workOrderReq) {
     private String buildGDQuestionCustom(List<WorkOrderRes> workOrderRes, WorkOrderReq workOrderReq) {
         StringBuilder sb = new StringBuilder();
         StringBuilder sb = new StringBuilder();
-        sb.append(GONGDAN_PROMPT_CUSTOM_BEGIN.replace("{0}", workOrderReq.getTimeBegin()).replace("{1}", workOrderReq.getTimeEnd()));
+        sb.append(GONGDAN_PROMPT_CUSTOM_BEGIN.replace("#{0}", workOrderReq.getTimeBegin()).replace("#{1}", workOrderReq.getTimeEnd()));
         if(workOrderReq.getJsSlq() || workOrderReq.getJsSs() || workOrderReq.getJsTp() || workOrderReq.getJsTn() || workOrderReq.getJsCod() || workOrderReq.getJsNh3()){
         if(workOrderReq.getJsSlq() || workOrderReq.getJsSs() || workOrderReq.getJsTp() || workOrderReq.getJsTn() || workOrderReq.getJsCod() || workOrderReq.getJsNh3()){
             sb.append("进水:\n");
             sb.append("进水:\n");
             for (WorkOrderRes workOrderRe : workOrderRes) {
             for (WorkOrderRes workOrderRe : workOrderRes) {