Aslee před 3 roky
rodič
revize
20c20ec486

+ 2 - 2
src/main/resources/mappings/modules/archive/CmProductArchiveMapper.xml

@@ -9,8 +9,8 @@
 		if(a.productId is not null,s.name,a.shopName) AS "shopName",
 		if(a.productId is not null,p.mainImage,a.productImage) AS "productImage",
 		a.archiveLevel AS "archiveLevel",
-		a.productType AS "productType",
-		if(a.productId is not null,ifnull(p.commodityType,a.productClassify),a.productClassify) AS "productClassify",
+		if(a.productId is not null,ifnull(p.commodityType,a.productType),a.productType) AS "productType",
+		a.productClassify AS "productClassify",
 		if(a.productId is not null and p.commodityType is null,0,1) AS "existProductType",
 		a.addTime AS "addTime"
 	</sql>