|
@@ -1,6 +1,7 @@
|
|
package com.xjrsoft.module.student.service.impl;
|
|
package com.xjrsoft.module.student.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
import com.google.gson.JsonArray;
|
|
import com.google.gson.JsonArray;
|
|
import com.google.gson.JsonElement;
|
|
import com.google.gson.JsonElement;
|
|
@@ -11,9 +12,13 @@ import com.xjrsoft.module.hikvision.entity.HikvisionData;
|
|
import com.xjrsoft.module.hikvision.mapper.HikvisionDataMapper;
|
|
import com.xjrsoft.module.hikvision.mapper.HikvisionDataMapper;
|
|
import com.xjrsoft.module.hikvision.util.ApiUtil;
|
|
import com.xjrsoft.module.hikvision.util.ApiUtil;
|
|
import com.xjrsoft.module.outint.vo.IdCountVo;
|
|
import com.xjrsoft.module.outint.vo.IdCountVo;
|
|
|
|
+import com.xjrsoft.module.student.dto.BaseStudentUserPageDto;
|
|
|
|
+import com.xjrsoft.module.student.dto.StudentLeavePageDto;
|
|
import com.xjrsoft.module.student.entity.StudentLeave;
|
|
import com.xjrsoft.module.student.entity.StudentLeave;
|
|
import com.xjrsoft.module.student.mapper.StudentLeaveMapper;
|
|
import com.xjrsoft.module.student.mapper.StudentLeaveMapper;
|
|
import com.xjrsoft.module.student.service.IStudentLeaveService;
|
|
import com.xjrsoft.module.student.service.IStudentLeaveService;
|
|
|
|
+import com.xjrsoft.module.student.vo.BaseStudentUserPageVo;
|
|
|
|
+import com.xjrsoft.module.student.vo.StudentLeavePageVo;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -105,6 +110,11 @@ public class StudentLeaveServiceImpl extends MPJBaseServiceImpl<StudentLeaveMapp
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public Page<StudentLeavePageVo> getLeavePage(Page<StudentLeavePageVo> page, StudentLeavePageDto dto) {
|
|
|
|
+ return baseMapper.getLeavePage(page, dto);
|
|
|
|
+ }
|
|
|
|
+
|
|
JsonArray selectResource(ApiUtil apiUtil){
|
|
JsonArray selectResource(ApiUtil apiUtil){
|
|
String apiPath = "/api/irds/v2/resource/resourcesByParams";
|
|
String apiPath = "/api/irds/v2/resource/resourcesByParams";
|
|
JsonObject jsonObject = new JsonObject();
|
|
JsonObject jsonObject = new JsonObject();
|