fix(仪表板): 修复仪表板空属性联动时被联动视图出现报错问题

This commit is contained in:
wangjiahao 2023-08-01 12:54:20 +08:00
parent dfa5784559
commit 0842f7dced

View File

@ -5,6 +5,10 @@ package io.dataease.provider.query;
*/
public class SQLUtils {
public static String transKeyword(String value) {
return value.replaceAll("'", "\\\\'");
if(value == null){
return null;
}else{
return value.replaceAll("'", "\\\\'");
}
}
}