|
@@ -71,14 +71,14 @@ public class LogisticsInfosServiceImpl extends ServiceImpl<LogisticsInfosMapper,
|
|
|
@Override
|
|
|
public Page<LogisticsInfosVo> getPage(LogisticsInfosSelectDto dto) {
|
|
|
IWrapper<LogisticsInfos> wrapper = getWrapper();
|
|
|
- wrapper.eq(LogisticsInfos::getBusinessType, dto.getBusinessType());
|
|
|
- wrapper.eq(LogisticsInfos::getLogisticsStatus, dto.getLogisticsStatus());
|
|
|
- wrapper.eq(LogisticsInfos::getStatus, dto.getStatus());
|
|
|
+ wrapper.eq("li",LogisticsInfos::getBusinessType, dto.getBusinessType());
|
|
|
+ wrapper.eq("li",LogisticsInfos::getLogisticsStatus, dto.getLogisticsStatus());
|
|
|
+ wrapper.eq("li",LogisticsInfos::getStatus, dto.getStatus());
|
|
|
if (ObjectUtil.isNotEmpty(dto.getKeyword())) {
|
|
|
List<String> companyCodes = companyInfoService.listObject(CompanyInfo::getCode, q -> q.like(CompanyInfo::getName, dto.getKeyword()));
|
|
|
- wrapper.and(q -> q.like(LogisticsInfos::getCode, dto.getKeyword())
|
|
|
- .or().like(LogisticsInfos::getBusinessCode, dto.getKeyword())
|
|
|
- .or().in(LogisticsInfos::getLogisticsCompanyCode, companyCodes)
|
|
|
+ wrapper.and(q -> q.like("li",LogisticsInfos::getCode, dto.getKeyword())
|
|
|
+ .or().like("li",LogisticsInfos::getBusinessCode, dto.getKeyword())
|
|
|
+ .or().in("li",LogisticsInfos::getLogisticsCompanyCode, companyCodes)
|
|
|
);
|
|
|
}
|
|
|
|