|
|
@@ -170,14 +170,14 @@ public class SmsbAppointmentInfoServiceImpl implements ISmsbAppointmentInfoServi
|
|
|
private LambdaQueryWrapper<SmsbAppointmentInfo> buildQueryWrapper(SmsbAppointmentInfoBo bo) {
|
|
|
Map<String, Object> params = bo.getParams();
|
|
|
LambdaQueryWrapper<SmsbAppointmentInfo> lqw = Wrappers.lambdaQuery();
|
|
|
- lqw.eq(StringUtils.isNotBlank(bo.getEnterprise()), SmsbAppointmentInfo::getEnterprise, bo.getEnterprise());
|
|
|
+ lqw.like(StringUtils.isNotBlank(bo.getEnterprise()), SmsbAppointmentInfo::getEnterprise, bo.getEnterprise());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getRegion()), SmsbAppointmentInfo::getRegion, bo.getRegion());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getIndustry()), SmsbAppointmentInfo::getIndustry, bo.getIndustry());
|
|
|
lqw.eq(bo.getSize() != null, SmsbAppointmentInfo::getSize, bo.getSize());
|
|
|
lqw.eq(bo.getMoney() != null, SmsbAppointmentInfo::getMoney, bo.getMoney());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getType()), SmsbAppointmentInfo::getType, bo.getType());
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getGradation()), SmsbAppointmentInfo::getGradation, bo.getGradation());
|
|
|
- lqw.eq(bo.getPhone() != null, SmsbAppointmentInfo::getPhone, bo.getPhone());
|
|
|
+ lqw.like(bo.getPhone() != null, SmsbAppointmentInfo::getPhone, bo.getPhone());
|
|
|
lqw.eq(bo.getAppointmentTime() != null, SmsbAppointmentInfo::getAppointmentTime, bo.getAppointmentTime());
|
|
|
lqw.eq(bo.getPeopleNum() != null, SmsbAppointmentInfo::getPeopleNum, bo.getPeopleNum());
|
|
|
lqw.orderByDesc(SmsbAppointmentInfo::getId);
|