|
|
@@ -925,6 +925,13 @@ public class PublicInquiryServiceImpl implements PublicInquiryService {
|
|
|
itemInfo.setQuoted(Constant.YES);
|
|
|
}
|
|
|
if (null == itemInfo.getProductId()) {
|
|
|
+ Product product = new Product();
|
|
|
+ product.setTitle(itemInfo.getProdTitle());
|
|
|
+ product.setCmpCode(itemInfo.getCmpCode());
|
|
|
+ product.setBrand(itemInfo.getInbrand());
|
|
|
+ product.setSpec(itemInfo.getSpec());
|
|
|
+ itemInfo.setProduct(product);
|
|
|
+ } else {
|
|
|
Product product = productDao.findOne(itemInfo.getProductId());
|
|
|
product.setTitle(itemInfo.getProdTitle());
|
|
|
product.setCmpCode(itemInfo.getCmpCode());
|