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

This commit is contained in:
RuoYi 2021-11-16 16:05:15 +08:00
parent cb9c0e79eb
commit 2ab96587ef
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{ {