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

[Fix] Fix abnormal data in pg query #3768

Merged
merged 4 commits into from
Sep 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update TaskServiceImpl.java
  • Loading branch information
Zzm0809 authored Sep 1, 2024
commit 014f7bdc2084547bc7411eb0b9e9ed46bcdce8e9
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ public List<TaskDTO> getUserTasks(Integer userId) {
}
}
});
// postgre 数据源查询 in () 中为空的时候会报错,所以需要判断
// When the postgre data source query in () is empty, a syntax error will be reported, so it is necessary to judge
if (!tskMap.keySet().isEmpty()) {
LambdaQueryWrapper<JobInstance> wrapper = new LambdaQueryWrapper<>();
wrapper.in(JobInstance::getId, tskMap.keySet());
Expand Down
Loading