forked from github/dataease
fix(仪表板): 修复仪表板空属性联动时被联动视图出现报错问题
This commit is contained in:
parent
dfa5784559
commit
0842f7dced
@ -5,6 +5,10 @@ package io.dataease.provider.query;
|
|||||||
*/
|
*/
|
||||||
public class SQLUtils {
|
public class SQLUtils {
|
||||||
public static String transKeyword(String value) {
|
public static String transKeyword(String value) {
|
||||||
return value.replaceAll("'", "\\\\'");
|
if(value == null){
|
||||||
|
return null;
|
||||||
|
}else{
|
||||||
|
return value.replaceAll("'", "\\\\'");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user