|
@@ -47,7 +47,8 @@ public class ListReqDTO implements Serializable {
|
|
|
Object operation = jsonObject.get("operation");
|
|
Object operation = jsonObject.get("operation");
|
|
|
Object value = jsonObject.get("value");
|
|
Object value = jsonObject.get("value");
|
|
|
//包含状态时,前台会自动加单引号
|
|
//包含状态时,前台会自动加单引号
|
|
|
- if (null != value && !"in".equals(operation) && !"not in".equals(operation)) {
|
|
|
|
|
|
|
+ if (null != value && !"in".equals(operation) && !"not in".equals(operation) &&
|
|
|
|
|
+ !"condition".equals(type)) {
|
|
|
value = value.toString().replaceAll("'", "''");
|
|
value = value.toString().replaceAll("'", "''");
|
|
|
}
|
|
}
|
|
|
if ("between".equals(operation)) {
|
|
if ("between".equals(operation)) {
|