@Mapper
public interface TaskDao
Modifier and Type | Method and Description |
---|---|
TaskEnt |
getBriefTaskEntById(Long id)
Id对应的签到任务(简略)
|
void |
insertTask(Long signId,
List<Long> executorIdList)
批量新增签到任务
|
List<TaskEnt> |
listNeedFinishTask(Long userId)
查询用户需要完成的签到任务
|
List<TaskEnt> |
listSignFinishStatus(Long signId)
查询某一次签到的完成情况(携带签到者姓名)
|
List<TaskEnt> |
listSpecialTaskOfExecutor(Long executorId,
List<Long> signIdList)
查询某用户在指定的几个签到中的完成情况
|
List<TaskEnt> |
listTaskEntAboutUser(Long userId)
查询用户相关的签到任务(详细)
|
Integer |
updateTaskFinish(Long userId,
List<Long> taskIdList)
完成用户的部分任务
|
TaskEnt getBriefTaskEntById(@Param(value="id") Long id)
id
- 签到任务IdList<TaskEnt> listTaskEntAboutUser(@Param(value="userId") Long userId)
userId
- 用户IdList<TaskEnt> listNeedFinishTask(@Param(value="userId") Long userId)
userId
- 用户Idvoid insertTask(@Param(value="signId") Long signId, @Param(value="idList") List<Long> executorIdList)
signId
- 签到信息IdexecutorIdList
- 签到用户Id列表List<TaskEnt> listSignFinishStatus(@Param(value="signId") Long signId)
signId
- 签到IdInteger updateTaskFinish(@Param(value="userId") Long userId, @Param(value="idList") List<Long> taskIdList)
userId
- 用户IdtaskIdList
- 用户需要完成的任务列表Copyright © 2022. All rights reserved.