|
@@ -2,7 +2,6 @@ package com.yh.saas.plugin.yiliangyiyun.controller;
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
|
|
-import com.yh.saas.plugin.yiliangyiyun.entity.AcquisitionInfo;
|
|
|
import com.yh.saas.plugin.yiliangyiyun.entity.ClockInfo;
|
|
|
import com.yh.saas.plugin.yiliangyiyun.service.IClockInfoService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -23,14 +22,16 @@ public class ClockInfoController {
|
|
|
private IClockInfoService clockInfoService;
|
|
|
|
|
|
/**
|
|
|
- * 添加h上班打卡信息
|
|
|
+ * 添加上班打卡信息
|
|
|
+ *
|
|
|
* @param clockInfo
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/api/addClock")
|
|
|
- public String addClock(@RequestBody ClockInfo clockInfo){
|
|
|
+ public String addClock(@RequestBody ClockInfo clockInfo) {
|
|
|
return clockInfoService.addClock(clockInfo);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 打卡记录查询
|
|
|
*
|
|
@@ -41,6 +42,7 @@ public class ClockInfoController {
|
|
|
public Page<ClockInfo> selectClockInfo(ClockInfo clockInfo) {
|
|
|
return clockInfoService.selectClockInfo(clockInfo);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 考勤记录查询(PC)
|
|
|
*
|
|
@@ -51,22 +53,26 @@ public class ClockInfoController {
|
|
|
public Page<ClockInfo> selectClockInfoPc(ClockInfo clockInfo) {
|
|
|
return clockInfoService.selectClockInfoPc(clockInfo);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 添加补卡信息
|
|
|
+ *
|
|
|
* @param clockInfo
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/api/suppClock")
|
|
|
- public String suppClock(@RequestBody ClockInfo clockInfo){
|
|
|
+ public String suppClock(@RequestBody ClockInfo clockInfo) {
|
|
|
return clockInfoService.suppClock(clockInfo);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 补卡信息审核
|
|
|
+ *
|
|
|
* @param clockInfo
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/api/examineClock")
|
|
|
- public String examineClock(@RequestBody ClockInfo clockInfo){
|
|
|
+ public String examineClock(@RequestBody ClockInfo clockInfo) {
|
|
|
return clockInfoService.examineClock(clockInfo);
|
|
|
}
|
|
|
}
|