|
@@ -138,7 +138,7 @@ public class SmartAttendanceController implements SmartAttendanceControllerAPI {
|
|
|
public CommonResult queryLeaveRecords() {
|
|
public CommonResult queryLeaveRecords() {
|
|
|
int findPageSize = 20;
|
|
int findPageSize = 20;
|
|
|
|
|
|
|
|
- PersonalLeaveListSchoolPeriodRecordsResult result = getXwAttendance("2024-05-23", "2024-05-23", 1, findPageSize);
|
|
|
|
|
|
|
+ PersonalLeaveListSchoolPeriodRecordsResult result = getXwAttendance(TimeExchange.getDate(),TimeExchange.getDate(), 1, findPageSize);
|
|
|
if (result == null) {
|
|
if (result == null) {
|
|
|
return CommonResult.fail("当天不存在请假数据!");
|
|
return CommonResult.fail("当天不存在请假数据!");
|
|
|
}
|
|
}
|