任务中心 处理一次性任务

大转盘抽奖 第三次需要实名后使用
This commit is contained in:
2025-01-10 14:58:02 +08:00
parent 8d12ce9ae5
commit e3f3e7d654
8 changed files with 111 additions and 33 deletions

View File

@@ -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>