springboot+mybatisPlust按条件查询分页
Page<DepartureListBill> page = departureListBillService.selectPage(
new Page<>(pageNo, pageSize),
new EntityWrapper<DepartureListBill>().eq("enable", true)
.eq("organizationId", user.getOrganizationId())
.between(MyStringUtils.isNotBlank(time), "createTime", time, DateUtils.toEndTimeStr(time))
.like(MyStringUtils.isNotBlank(operator), "operator", operator)
.like(MyStringUtils.isNotBlank(departureListBillNum), "departureListBillNum", departureListBillNum)
.orderDesc(orderStr)
);