Commit 58e053e3 by 章家宝

拍卖需求:联调

1 parent 0491ac0c
......@@ -468,7 +468,10 @@ public class AccountPreferenceService {
case "id":
// 软删除:eq操作符
if (operator == Operator.in) {
predicates.add(cb.equal(root.get(field), value));
if (!(value instanceof List<?> timeRange) || timeRange.size() != 2) {
break;
}
predicates.add(cb.in(root.get(field)).value(timeRange));
}
break;
case "updateTime":
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!