@Mapper
public interface ClockDao
Modifier and Type | Method and Description |
---|---|
ClockEnt |
getClockEntById(Long clockId)
通过Id查询打卡信息
|
void |
insertClockInfo(ClockEnt clockEnt)
新增一条打卡信息(需要参数:标签卡Id,用户Id,用户留言)
|
List<ClockEnt> |
listUserClockRecord(Long userId,
ClockStatusEnum clockStatus)
查询用户相关的打卡记录
|
Integer |
updateClockBreak(Long userId)
系统给用户签退
|
Integer |
updateClockFinish(Long userId)
用户主动签退
|
ClockEnt getClockEntById(@Param(value="clockId") Long clockId)
clockId
- 打卡信息Idvoid insertClockInfo(ClockEnt clockEnt)
clockEnt
- 打卡信息实体Integer updateClockFinish(@Param(value="userId") Long userId)
userId
- 用户IdInteger updateClockBreak(@Param(value="userId") Long userId)
userId
- 用户IdList<ClockEnt> listUserClockRecord(@Param(value="userId") Long userId, @Param(value="clockStatus") ClockStatusEnum clockStatus)
userId
- 用户IdclockStatus
- 打卡状态Copyright © 2022. All rights reserved.