Aslee 3 лет назад
Родитель
Сommit
708f235325
1 измененных файлов с 1 добавлено и 1 удалено
  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