|
@@ -24,9 +24,13 @@ import com.xjrsoft.config.CommonPropertiesConfig;
|
|
|
import com.xjrsoft.module.base.entity.BaseSemester;
|
|
import com.xjrsoft.module.base.entity.BaseSemester;
|
|
|
import com.xjrsoft.module.base.entity.BaseUserStudent;
|
|
import com.xjrsoft.module.base.entity.BaseUserStudent;
|
|
|
import com.xjrsoft.module.base.entity.WhitelistManagement;
|
|
import com.xjrsoft.module.base.entity.WhitelistManagement;
|
|
|
|
|
+import com.xjrsoft.module.base.service.IBaseGradeService;
|
|
|
|
|
+import com.xjrsoft.module.base.service.IBaseMajorSetService;
|
|
|
import com.xjrsoft.module.base.service.IBaseSemesterService;
|
|
import com.xjrsoft.module.base.service.IBaseSemesterService;
|
|
|
import com.xjrsoft.module.base.service.IBaseUserStudentService;
|
|
import com.xjrsoft.module.base.service.IBaseUserStudentService;
|
|
|
import com.xjrsoft.module.base.service.IWhitelistManagementService;
|
|
import com.xjrsoft.module.base.service.IWhitelistManagementService;
|
|
|
|
|
+import com.xjrsoft.module.job.BaseNewStudentTask;
|
|
|
|
|
+import com.xjrsoft.module.job.EnrollmentStatisticsInfoTask;
|
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
|
import com.xjrsoft.module.organization.entity.UserRoleRelation;
|
|
import com.xjrsoft.module.organization.entity.UserRoleRelation;
|
|
|
import com.xjrsoft.module.organization.service.IUserRoleRelationService;
|
|
import com.xjrsoft.module.organization.service.IUserRoleRelationService;
|
|
@@ -41,6 +45,8 @@ import com.xjrsoft.module.student.entity.BaseNewStudent;
|
|
|
import com.xjrsoft.module.student.entity.BaseStudentFamilyMember;
|
|
import com.xjrsoft.module.student.entity.BaseStudentFamilyMember;
|
|
|
import com.xjrsoft.module.student.service.IBaseNewStudentService;
|
|
import com.xjrsoft.module.student.service.IBaseNewStudentService;
|
|
|
import com.xjrsoft.module.student.service.IBaseStudentFamilyMemberService;
|
|
import com.xjrsoft.module.student.service.IBaseStudentFamilyMemberService;
|
|
|
|
|
+import com.xjrsoft.module.student.service.IEnrollmentPlanService;
|
|
|
|
|
+import com.xjrsoft.module.student.service.IPbCseFeeobjupdateService;
|
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentExportVo;
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentExportVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentListExcelVo;
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentListExcelVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentPageVo;
|
|
import com.xjrsoft.module.student.vo.BaseNewStudentPageVo;
|
|
@@ -52,6 +58,7 @@ import com.xjrsoft.module.student.vo.EnrollmentPlanTreeVo;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -96,6 +103,10 @@ public class BaseNewStudentController {
|
|
|
private final IBaseUserStudentService userStudentService;
|
|
private final IBaseUserStudentService userStudentService;
|
|
|
private final CommonPropertiesConfig propertiesConfig;
|
|
private final CommonPropertiesConfig propertiesConfig;
|
|
|
private final IBaseSemesterService semesterService;
|
|
private final IBaseSemesterService semesterService;
|
|
|
|
|
+ private final IPbCseFeeobjupdateService cseFeeobjupdateService;
|
|
|
|
|
+ private final IEnrollmentPlanService planService;
|
|
|
|
|
+ private final IBaseGradeService gradeService;
|
|
|
|
|
+ private final IBaseMajorSetService majorSetService;
|
|
|
@GetMapping(value = "/page")
|
|
@GetMapping(value = "/page")
|
|
|
@ApiOperation(value="新生维护信息列表(分页)")
|
|
@ApiOperation(value="新生维护信息列表(分页)")
|
|
|
@SaCheckPermission("basenewstudent:detail")
|
|
@SaCheckPermission("basenewstudent:detail")
|
|
@@ -466,4 +477,13 @@ public class BaseNewStudentController {
|
|
|
return RT.fileStream(bot.toByteArray(), fileName);
|
|
return RT.fileStream(bot.toByteArray(), fileName);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("/basenewstudent-task-start")
|
|
|
|
|
+ @ApiOperation(value = "触发新生数据同步统计")
|
|
|
|
|
+ @XjrLog(value = "触发新生数据同步统计")
|
|
|
|
|
+ public RT<Boolean> exportData() {
|
|
|
|
|
+ BaseNewStudentTask basenewstudenttask = new BaseNewStudentTask();
|
|
|
|
|
+ basenewstudenttask.doExecute(baseNewStudentService, cseFeeobjupdateService, planService, gradeService, majorSetService);
|
|
|
|
|
+ return RT.ok(true);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|