Explorar o código

bugfix-呵呵内部优惠sql

Aslee %!s(int64=3) %!d(string=hai) anos
pai
achega
708f235325

+ 1 - 1
src/main/resources/mappings/modules/hehe/CmHeheDiscountMapper.xml

@@ -168,7 +168,7 @@
 		WHERE
 			cca.discountId = #{discountId}
 		ORDER BY
-			- sort DESC
+			- cca.sort DESC
 	</select>
 	<select id="findDiscountUserList" resultType="com.caimei.modules.hehe.entity.CmHeheDiscountUser">
 		select chu.id, chu.userId, chu.discountId, chu.addTime, u.nickName, u.mobile, u.userIdentity