Commit 3fd0142c by 林永健

fix bug

1 parent 3e8faf8b
......@@ -251,7 +251,7 @@ public class SopDataService {
if (vals.length == 0) {
return "";
}
return MessageFormat.format(condStr, vals);
return MessageFormat.format(condStr.replaceAll("'", "''"), vals);
}
List<String> operatorStrList = new ArrayList<>();
for (SopDataOperatorDTO operator : condition.getOperators()) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!