Commit 956a2f00755a1b2d66f1f78a27914aa9db100be6

Authored by zhongnanhuang
1 parent a1c669d8

商品价格显示修改

shop/src/main/resources/mapper/ProductMapper.xml
... ... @@ -17,7 +17,7 @@
17 17 </select>
18 18  
19 19 <select id="queryList" resultMap="BaseResultMap">
20   - select distinct p.id,p.name,p.productImageListStore,p.htmlFilePath,p.productCategory_id,pc.id as pcid
  20 + select distinct p.id,p.name,p.productImageListStore,p.htmlFilePath,p.productCategory_id
21 21 from product p
22 22 left join productcategoryrelation pcr on p.id=pcr.productId
23 23 left join productcategory pc on pc.id=pcr.categoryId
... ...