|
|
|
@ -92,7 +92,17 @@ public class PoundlistServiceImpl extends ServiceImpl<PoundlistMapper, Poundlist
|
|
|
|
|
poundlistNum++;
|
|
|
|
|
poundlistQueryWrapper.lambda().like(PoundlistEntity::getMaterialName,poundlistPagination.getMaterialName());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(StringUtil.isNotEmpty(poundlistPagination.getKeyword())){
|
|
|
|
|
poundlistNum++;
|
|
|
|
|
poundlistQueryWrapper.lambda().and(wq -> {
|
|
|
|
|
// 拼接sql
|
|
|
|
|
wq.like(PoundlistEntity::getSupplierName,poundlistPagination.getKeyword())
|
|
|
|
|
.or()
|
|
|
|
|
.like(PoundlistEntity::getCustomerName,poundlistPagination.getKeyword())
|
|
|
|
|
.or()
|
|
|
|
|
.like(PoundlistEntity::getLicenseNo,poundlistPagination.getKeyword());
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if(AllIdList.size()>0){
|
|
|
|
|
poundlistQueryWrapper.lambda().in(PoundlistEntity::getId, AllIdList);
|
|
|
|
|
}
|
|
|
|
|