瀏覽代碼

修改品牌

plf 4 年之前
父節點
當前提交
9b1cb4e267
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/main/resources/mapper/HomeMapper.xml
  2. 1 1
      src/main/resources/mapper/ProductMapper.xml

+ 1 - 1
src/main/resources/mapper/HomeMapper.xml

@@ -36,7 +36,7 @@
 			p.price1TextFlag as priceFlag,
 			p.actType as actType
 		from product p
-		left join brand as br on p.brandID = br.brandID
+		left join cm_brand as br on p.brandID = br.id
 		where p.validFlag != 0
 		and p.actFlag = 1
 		and (p.actType = 1 or p.actType = 2)

+ 1 - 1
src/main/resources/mapper/ProductMapper.xml

@@ -41,7 +41,7 @@
 		from product p
 
 		left join productdetailinfo d on p.productID=d.productID
-		left join brand as br on p.brandID = br.brandID
+		left join cm_brand as br on p.brandID = br.id
 
         left join tinytype as t on p.tinyTypeID = t.tinyTypeID
         left join smalltype as s on t.smallTypeID = s.smallTypeID