Browse Source

bugfix-呵呵内部优惠sql

Aslee 3 years ago
parent
commit
708f235325
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mappings/modules/hehe/CmHeheDiscountMapper.xml

+ 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