‘xugp 1 年間 前
コミット
18705c303f

+ 1 - 2
ims-service/ims-eval/src/main/java/com/ims/eval/controller/IntervalScoringTableController.java

@@ -61,8 +61,7 @@ public class IntervalScoringTableController {
 			intervalScoringTable.setRange(s);
 			//字符串空格替换
 			String decode1 = URLDecoder.decode(intervalScoringTable.getRegularExpression(), "UTF-8");
-			String s1 = decode1.replaceAll("", "+");
-			intervalScoringTable.setRegularExpression(s);
+			intervalScoringTable.setRegularExpression(decode1.replaceAll(" ", "+"));
 			boolean b = intervalScoringTableService.saveOrUpdate(intervalScoringTable);
 			if (b) {
 				return R.ok().data(b);