任务中心 处理一次性任务
大转盘抽奖 第三次需要实名后使用
This commit is contained in:
@@ -16,4 +16,22 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="countTaskNumByUserIds" resultType="com.sqx.modules.taskCenter.entity.TaskCenterRecord">
|
||||
SELECT
|
||||
record.id
|
||||
FROM
|
||||
task_center_record record
|
||||
WHERE
|
||||
record.user_id in
|
||||
<foreach collection="userId" item="id" open="(" close=")" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
AND record.task_id = #{taskId}
|
||||
<if test="time !=null and time != ''">
|
||||
and create_time > #{time}
|
||||
</if>
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user