| | |
| | | |
| | | import com.xiaopeng.api.model.maintenance.XpClockIn; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.maintenance.dto.ClockDTO; |
| | | import com.xiaopeng.maintenance.dto.VerifyRangeDTO; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface IXpClockInService extends IService<XpClockIn> { |
| | | |
| | | /** |
| | | * 验证打卡范围 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | Boolean verifyRange(VerifyRangeDTO dto); |
| | | |
| | | /** |
| | | * 打卡 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | R<String> clockIn(ClockDTO dto); |
| | | |
| | | /** |
| | | * 下班打卡 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | R<String> clockOut(ClockDTO dto); |
| | | } |