|
@@ -67,8 +67,9 @@ public class KYNTController extends DDCallbackController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//每年1月1日 01:00定时更新员工年假数
|
|
//每年1月1日 01:00定时更新员工年假数
|
|
|
- @Scheduled(cron = "0 0 1 1 1 ? ")
|
|
|
|
|
- @GetMapping("/cronUpdateEmployeeAnnualLeaveNum")
|
|
|
|
|
|
|
+// @Scheduled(cron = "0 0 1 1 1 ? ")
|
|
|
|
|
+ //todo 20251224 只保留查询余额 其余接口服务关闭
|
|
|
|
|
+// @GetMapping("/cronUpdateEmployeeAnnualLeaveNum")
|
|
|
McR cronUpdateEmployeeAnnualLeaveNum(){
|
|
McR cronUpdateEmployeeAnnualLeaveNum(){
|
|
|
System.out.println("定时更新员工年假数开始执行"+new Date());
|
|
System.out.println("定时更新员工年假数开始执行"+new Date());
|
|
|
return kyntService.updateEmployeeAnnualLeaveNum();
|
|
return kyntService.updateEmployeeAnnualLeaveNum();
|
|
@@ -87,7 +88,8 @@ public class KYNTController extends DDCallbackController {
|
|
|
|
|
|
|
|
//钉钉事件回调
|
|
//钉钉事件回调
|
|
|
@SneakyThrows
|
|
@SneakyThrows
|
|
|
- @RequestMapping(value = "/callback", method = RequestMethod.POST)
|
|
|
|
|
|
|
+ //todo 20251224 只保留查询余额 其余接口服务关闭
|
|
|
|
|
+// @RequestMapping(value = "/callback", method = RequestMethod.POST)
|
|
|
public synchronized Map<String, String> invokeCallback(@RequestParam(value = "signature", required = false) String signature,
|
|
public synchronized Map<String, String> invokeCallback(@RequestParam(value = "signature", required = false) String signature,
|
|
|
@RequestParam(value = "timestamp", required = false) String timestamp,
|
|
@RequestParam(value = "timestamp", required = false) String timestamp,
|
|
|
@RequestParam(value = "nonce", required = false) String nonce,
|
|
@RequestParam(value = "nonce", required = false) String nonce,
|