嗨森逛服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hai-server/hai-service/src/main/java/com/hai/dao/HighActivityAwardUserMapper...

22 lines
774 B

4 years ago
package com.hai.dao;
4 years ago
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java.util.Map;
4 years ago
/**
* mapper扩展类
*/
public interface HighActivityAwardUserMapperExt {
4 years ago
@Select(" select insert(b.phone, 4, 4, '****') phone,a.name awardName,a.create_time receiveTime from \n" +
" (select a.create_time, b.name,a.user_id " +
" from high_activity_award_user a,high_activity_award b " +
" where a.activity_award_id = b.id and a.activity_info_id = #{activityId} " +
" ORDER BY a.create_time desc LIMIT 50) a" +
" LEFT JOIN high_user b on b.id = a.user_id")
List<Map<String, Object>> selectWinLotteryList(@Param("activityId") Long activityId);
}