新增未排订单的添加小板排除已选排单订单能力,有一种主子都有num的情况无法处理,将主单num=0让前端不把=0的订单id用于查询noplan未排小板

This commit is contained in:
gaoqr
2026-06-11 17:03:23 +08:00
parent 6d5df50248
commit f183a18271
3 changed files with 24 additions and 6 deletions
@@ -107,6 +107,13 @@ public class QueryWrapperX<T> extends QueryWrapper<T> {
return this;
}
public QueryWrapperX<T> notInIfPresent(String column, Collection<?> values) {
if (!CollectionUtils.isEmpty(values)) {
return (QueryWrapperX<T>) super.notIn(column, values);
}
return this;
}
// ========== 重写父类方法,方便链式调用 ==========
@Override