|
|
@@ -1,5 +1,7 @@
|
|
|
package org.dromara.system.service.impl;
|
|
|
|
|
|
+import cn.hutool.json.JSON;
|
|
|
+import cn.hutool.json.JSONUtil;
|
|
|
import org.dromara.common.core.utils.DateUtils;
|
|
|
import org.dromara.common.core.utils.MapstructUtils;
|
|
|
import org.dromara.common.core.utils.StringUtils;
|
|
|
@@ -88,9 +90,10 @@ public class TblGoodsOrderServiceImpl implements ITblGoodsOrderService {
|
|
|
|
|
|
if(bo.getParams() != null&& bo.getParams().size()>0){
|
|
|
if(bo.getParams().get("scheduleId")!=null){
|
|
|
-
|
|
|
-
|
|
|
- lqw.apply(StringUtils.format("ext1->'$.schedule_id'={}",bo.getParams().get("scheduleId")));
|
|
|
+ String datasql = (JSONUtil.toJsonStr(bo.getParams().get("scheduleId").toString().split(","))).replaceAll("\"","'");
|
|
|
+ datasql = datasql.replaceAll("\\[","(");
|
|
|
+ datasql = datasql.replaceAll("]",")");
|
|
|
+ lqw.apply(StringUtils.format(" ext1->'$.schedule_id' in {}", datasql));
|
|
|
|
|
|
}
|
|
|
}
|