|
|
@@ -1232,6 +1232,95 @@
|
|
|
|
|
|
</where>
|
|
|
</select>
|
|
|
+ <select id="endNum" parameterType="java.util.Map" resultType="java.lang.Integer">
|
|
|
+ SELECT
|
|
|
+ COUNT(player_info.id)
|
|
|
+ FROM
|
|
|
+ player_info
|
|
|
+ <where>
|
|
|
+ and del_flag = 'N'
|
|
|
+ <![CDATA[ and status_flag >= 3 ]]>
|
|
|
+ <if test="id != null and !"".equals(id)">
|
|
|
+ and id = #{id}
|
|
|
+ </if>
|
|
|
+ <if test="delFlag != null and !"".equals(delFlag)">
|
|
|
+ and del_flag = #{delFlag}
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null and !"".equals(updateTime)">
|
|
|
+ and update_time = #{updateTime}
|
|
|
+ </if>
|
|
|
+ <if test="updateUser != null and !"".equals(updateUser)">
|
|
|
+ and update_user = #{updateUser}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null and !"".equals(createTime)">
|
|
|
+ and create_time = #{createTime}
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null and !"".equals(createUser)">
|
|
|
+ and create_user = #{createUser}
|
|
|
+ </if>
|
|
|
+ <if test="gameId != null and !"".equals(gameId)">
|
|
|
+ and game_id = #{gameId}
|
|
|
+ </if>
|
|
|
+ <if test="houseId != null and !"".equals(houseId)">
|
|
|
+ and house_id = #{houseId}
|
|
|
+ </if>
|
|
|
+ <if test="joinTime != null and !"".equals(joinTime)">
|
|
|
+ and join_time = #{joinTime}
|
|
|
+ </if>
|
|
|
+ <if test="principal != null and !"".equals(principal)">
|
|
|
+ and principal = #{principal}
|
|
|
+ </if>
|
|
|
+ <if test="bonus != null and !"".equals(bonus)">
|
|
|
+ and bonus = #{bonus}
|
|
|
+ </if>
|
|
|
+ <if test="userId != null and !"".equals(userId)">
|
|
|
+ and user_id = #{userId}
|
|
|
+ </if>
|
|
|
+ <if test="remark != null and !"".equals(remark)">
|
|
|
+ and remark = #{remark}
|
|
|
+ </if>
|
|
|
+ <if test="image != null and !"".equals(image)">
|
|
|
+ and image = #{image}
|
|
|
+ </if>
|
|
|
+ <if test="killNumber != null and !"".equals(killNumber)">
|
|
|
+ and kill_number = #{killNumber}
|
|
|
+ </if>
|
|
|
+ <if test="ranking != null and !"".equals(ranking)">
|
|
|
+ and ranking = #{ranking}
|
|
|
+ </if>
|
|
|
+ <if test="beginTime != null and !"".equals(beginTime)">
|
|
|
+ and begin_time = #{beginTime}
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null and !"".equals(endTime)">
|
|
|
+ and end_time = #{endTime}
|
|
|
+ </if>
|
|
|
+ <if test="statusFlag != null and !"".equals(statusFlag)">
|
|
|
+ and status_flag = #{statusFlag}
|
|
|
+ </if>
|
|
|
+ <if test="examineUser != null and !"".equals(examineUser)">
|
|
|
+ and examine_user = #{examineUser}
|
|
|
+ </if>
|
|
|
+ <if test="examineTime != null and !"".equals(examineTime)">
|
|
|
+ and examine_time = #{examineTime}
|
|
|
+ </if>
|
|
|
+ <if test="examineType != null and !"".equals(examineType)">
|
|
|
+ and examine_type = #{examineType}
|
|
|
+ </if>
|
|
|
+ <if test="video != null and !"".equals(video)">
|
|
|
+ and video = #{video}
|
|
|
+ </if>
|
|
|
+ <if test="liveTime != null and !"".equals(liveTime)">
|
|
|
+ and live_time = #{liveTime}
|
|
|
+ </if>
|
|
|
+ <if test="gameType != null and !"".equals(gameType)">
|
|
|
+ and game_type = #{gameType}
|
|
|
+ </if>
|
|
|
+ <if test="seasonId != null and !"".equals(seasonId)">
|
|
|
+ and season_id = #{seasonId}
|
|
|
+ </if>
|
|
|
+
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
|
|
|
|
|
|
<select id="queryNoStartPlayer" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.PlayerInfo">
|