Commit 0eb368d9 authored by 黎博's avatar 黎博

修改从product_item获取数据sql

parent 1bcdc3c0
...@@ -49,7 +49,7 @@ public class KeystoneService { ...@@ -49,7 +49,7 @@ public class KeystoneService {
* @return * @return
*/ */
public ProductItem getProductItemById(String skuId) { public ProductItem getProductItemById(String skuId) {
String sql = "SELECT * FROM `product_item` WHERE id = " + skuId; String sql = "SELECT * FROM `product_item` WHERE `third_sku_no` = " + skuId;
log.info("从keystone.product_item根据skuId查询商品信息:{}", sql); log.info("从keystone.product_item根据skuId查询商品信息:{}", sql);
ProductItem productItem = new ProductItem(); ProductItem productItem = new ProductItem();
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment