Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

定时任务 参数分割问题 #229

Open
huweiyiblog opened this issue Mar 11, 2024 · 0 comments
Open

定时任务 参数分割问题 #229

huweiyiblog opened this issue Mar 11, 2024 · 0 comments

Comments

@huweiyiblog
Copy link

问题:再配置定时任务时,多个字符串参数时,解析错误
示例:task.AutoPullInvoiceList('2024', '2025')
代码:String[] methodParams = methodStr.split(",(?=(?:[^\']"[^\']')[^\']$)");
预期结果:返回['2024', '2025'] 两个值
实际结果:返回['2024, 2025'] 一个值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant