| | |
| | | </resultMap> |
| | | |
| | | |
| | | <resultMap id="ActivityAssistInfoResultMap" type="com.ks.lucky.pojo.DTO.ActivityAssistFriend"> |
| | | <resultMap id="ActivityAssistInfoResultMap" type="com.ks.lucky.pojo.DTO.ActivityFriendAssistInfo"> |
| | | <result column="uid" jdbcType="VARCHAR" property="uid"/> |
| | | <result column="app_id" jdbcType="BIGINT" property="appId"/> |
| | | <result column="weight" jdbcType="INTEGER" property="weight"/> |
| | | <result column="join_id" jdbcType="BIGINT" property="joinId"/> |
| | | <result column="join_id" jdbcType="BIGINT" property="joinerId"/> |
| | | <association property="eventList" column="join_id" |
| | | javaType="com.ks.lucky.pojo.DO.ActivityJoinAssistEvent" |
| | | select="selectEventkeyWithJoinId"></association> |
| | |
| | | from lucky_activity_join_assist where 1=1 |
| | | <include refid="listWhere"/> |
| | | <if test="query.sortList!=null"> |
| | | <foreach collection="query.sortList" item="item" separator="," open=" order by ">#{item}</foreach> |
| | | <foreach collection="query.sortList" item="item" separator="," open=" order by "> ${item}</foreach> |
| | | </if> |
| | | limit #{query.start},#{query.count} |
| | | </select> |