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

This commit is contained in:
RuoYi 2021-11-16 16:05:15 +08:00
parent cb9c0e79eb
commit 2ab96587ef

View File

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