|
|
|
@ -189,7 +189,6 @@ public class ProductOrderServiceImpl implements IProductOrderService {
|
|
|
|
|
for (ProductOrderVo record : result.getRecords()) { |
|
|
|
|
record.setItemsList(productOrderItemsService.queryList(new ProductOrderItemsBo(record.getId()))); |
|
|
|
|
record.setProductOrderPriceVo(productOrderPriceService.queryById(record.getId())); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return TableDataInfo.build(result); |
|
|
|
|
} |
|
|
|
@ -257,8 +256,10 @@ public class ProductOrderServiceImpl implements IProductOrderService {
|
|
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getMobile()), ProductOrder::getMobile, bo.getMobile()); |
|
|
|
|
lqw.eq(bo.getType() != null, ProductOrder::getType, bo.getType()); |
|
|
|
|
lqw.eq(bo.getNum() != null, ProductOrder::getNum, bo.getNum()); |
|
|
|
|
lqw.eq(bo.getSettlement() != null, ProductOrder::getSettlement, bo.getSettlement()); |
|
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), ProductOrder::getStatus, bo.getStatus()); |
|
|
|
|
lqw.eq(StringUtils.isNotBlank(bo.getShowBusiness()), ProductOrder::getShowBusiness, bo.getShowBusiness()); |
|
|
|
|
lqw.apply(StringUtils.isNotBlank(bo.getKeyworkds()), "locate({0}, order_no) > 0 or locate({0}, mobile) > 0 or locate({0}, product_name) > 0 ", bo.getKeyworkds()); |
|
|
|
|
return lqw; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|