Browse Source

购物车修改

wangxiaoming 7 years ago
parent
commit
f7dcc1e37c

+ 2 - 2
iamberry-wechat-service/src/main/java/com/iamberry/wechat/service/mapper/productInfoMapper.xml

@@ -72,8 +72,8 @@
 			<if test="otherInt != null and otherInt != ''">
 				AND TB_IAMBERRY_PRODUCT_INFO.product_type = #{otherInt}
 			</if>
-			GROUP BY TB_IAMBERRY_PRODUCT_INFO.product_child_type
-			ORDER BY PRODUCT_CREATE_DATE DESC 
+			GROUP BY TB_IAMBERRY_PRODUCT_INFO.PRODUCT_ID
+			ORDER BY product_child_type DESC
 		LIMIT 
 			#{minNum},#{maxNum}
 	</select>