|
@@ -214,6 +214,11 @@ public class BizAppointmentRecordServiceImpl extends ServiceImpl<BizAppointmentR
|
|
|
if (ObjectUtil.isNotEmpty(bizAppointmentRecordPageParam.getPlanNumber())) {
|
|
|
queryWrapper.like("bpp.plan_number", bizAppointmentRecordPageParam.getPlanNumber());
|
|
|
}
|
|
|
+ // 小程序端查询条件
|
|
|
+ if (ObjectUtil.isNotEmpty(bizAppointmentRecordPageParam.getSearchKey())) {
|
|
|
+ queryWrapper.and(q -> q.like("bar.license_number", bizAppointmentRecordPageParam.getSearchKey())
|
|
|
+ .or().like("bpp.plan_number", bizAppointmentRecordPageParam.getSearchKey()));
|
|
|
+ }
|
|
|
queryWrapper.eq("bar.delete_flag", "NOT_DELETE");
|
|
|
queryWrapper.orderByDesc("bar.create_time");
|
|
|
return queryWrapper;
|