|
@@ -49,7 +49,7 @@ public class StockWaitDetailsServiceImpl extends ServiceImpl<StockWaitDetailsMap
|
|
|
wrapper.eq("sw", StockWait::getType, dto.getType());
|
|
|
if (ObjectUtil.isNotEmpty(dto.getKeyword())) {
|
|
|
List<Long> pIds = productInfoService.listObject(ProductInfo::getId, q -> q
|
|
|
- .like(ProductInfo::getCode, dto.getKeyword())
|
|
|
+ .like(ProductInfo::getCustomCode, dto.getKeyword())
|
|
|
.or().like(ProductInfo::getName, dto.getKeyword())
|
|
|
);
|
|
|
wrapper.and(q -> q
|