forked from github/dataease
Merge pull request #5811 from dataease/pr@dev@fix_linkage-error
fix(仪表板): 修复仪表板空属性联动时被联动视图出现报错问题
This commit is contained in:
commit
15880af0bc
@ -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