|
|
@@ -57,7 +57,7 @@ public class ProductQueryManager extends AbstractOrderManager<ProductQueryReques |
|
|
|
@Override |
|
|
|
protected void businessValidateInternal(ErrorMsgBuilder builder, ProductQueryRequest req, ServiceLogEvent event, |
|
|
|
Map<String, Object> dataStream) throws ServiceHandleException { |
|
|
|
List<String> releaseIds = promotionRepo.findReleaseIds(req.toLikeStr(req.getAgentId()), LocalDateTime.now()); |
|
|
|
List<String> releaseIds = promotionRepo.findReleaseIds("%"+req.getAgentId()+"%", LocalDateTime.now()); |
|
|
|
List<IssueProduct> productList = issueProductRepo.findListByReleaseIds(releaseIds); |
|
|
|
List<ProductQueryModel> products = productList.stream().map(t -> { |
|
|
|
ProductQueryModel productModel = new ProductQueryModel(); |