瀏覽代碼

修改商品下架状态

jun.li@caimei365.com 4 年之前
父節點
當前提交
1253f76538
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      product/src/main/resources/com-caimei-module-product/ProductModuleMapper.xml

+ 1 - 1
product/src/main/resources/com-caimei-module-product/ProductModuleMapper.xml

@@ -379,7 +379,7 @@
     <select id="getSeconHandProductList" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
         SELECT
 	        IF(p.brandID != 161,cb.name ,cshd.brandName) as "brandName",p.*,
-	        a.sold AS "sold",
+	        cshd.sold AS "sold",
 		cshd.secondHandType AS "secondHandType",
 		cshd.instrumentType AS "instrumentType",
 		cshd.fixedYears AS "fixedYears",