任务参数忽略双引号中的逗号

master
RuoYi 3 years ago
parent cb9c0e79eb
commit 2ab96587ef
  1. 2
      ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/JobInvokeUtil.java

@ -110,7 +110,7 @@ public class JobInvokeUtil
{ {
return null; return null;
} }
String[] methodParams = methodStr.split(","); String[] methodParams = methodStr.split(",(?=(?:[^\']*\"[^\']*\')*[^\']*$)");
List<Object[]> classs = new LinkedList<>(); List<Object[]> classs = new LinkedList<>();
for (int i = 0; i < methodParams.length; i++) for (int i = 0; i < methodParams.length; i++)
{ {

Loading…
Cancel
Save