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

duhanyu
RuoYi 3 years ago
parent cb9c0e79eb
commit 2ab96587ef

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

Loading…
Cancel
Save