|
|
@@ -253,6 +253,10 @@ public class PublicInquiryServiceImpl implements PublicInquiryService {
|
|
|
throw new NotFoundException("编号为[" + batch.getBip_prodcode() + "]的物料未找到");
|
|
|
}
|
|
|
item.setProductId(products.get(0).getId());
|
|
|
+ item.setCmpCode(products.get(0).getCmpCode());
|
|
|
+ item.setInbrand(products.get(0).getBrand());
|
|
|
+ item.setProdTitle(products.get(0).getTitle());
|
|
|
+ item.setSpec(products.get(0).getSpec());
|
|
|
item.setRemark(batch.getBip_remark());
|
|
|
item.setProdCode(products.get(0).getCode());
|
|
|
item.setProdTitle(products.get(0).getTitle());
|
|
|
@@ -671,10 +675,6 @@ public class PublicInquiryServiceImpl implements PublicInquiryService {
|
|
|
if (filter.getEndDate() != null) {
|
|
|
info.expression(PredicateUtils.lte("date", new Date(filter.getEndDate()), false));
|
|
|
}
|
|
|
- if (filter.getEnUU() != null) {
|
|
|
- Predicate p = builder.notEqual(root.get("inquiry").get("enUU"), filter.getEnUU());
|
|
|
- builder.and(p);
|
|
|
- }
|
|
|
if (!StringUtils.isEmpty(filter.getKeyword())) {
|
|
|
SimpleExpression code = new SimpleExpression("cmpCode", filter.getKeyword(), CriterionExpression.Operator.LIKE);
|
|
|
SimpleExpression brand = new SimpleExpression("inbrand", filter.getKeyword(), CriterionExpression.Operator.LIKE);
|