|
@@ -4,7 +4,6 @@ import com.ym.mec.biz.dal.dto.BaseMapDto;
|
|
import com.ym.mec.biz.dal.dto.EduOrganStudentDataDto;
|
|
import com.ym.mec.biz.dal.dto.EduOrganStudentDataDto;
|
|
import com.ym.mec.biz.dal.dto.StatDto;
|
|
import com.ym.mec.biz.dal.dto.StatDto;
|
|
import com.ym.mec.biz.dal.entity.Organization;
|
|
import com.ym.mec.biz.dal.entity.Organization;
|
|
-import com.ym.mec.biz.dal.entity.Subject;
|
|
|
|
import com.ym.mec.biz.dal.page.StudentQueryInfo;
|
|
import com.ym.mec.biz.dal.page.StudentQueryInfo;
|
|
import com.ym.mec.biz.service.OrganizationService;
|
|
import com.ym.mec.biz.service.OrganizationService;
|
|
import com.ym.mec.biz.service.StudentManageService;
|
|
import com.ym.mec.biz.service.StudentManageService;
|
|
@@ -15,7 +14,6 @@ import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiParam;
|
|
import io.swagger.annotations.ApiParam;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
import org.springframework.util.CollectionUtils;
|
|
import org.springframework.util.CollectionUtils;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -69,4 +67,11 @@ public class EduStudentController extends BaseController {
|
|
public HttpResponseResult<List<BaseMapDto>> queryStuSubjectId(){
|
|
public HttpResponseResult<List<BaseMapDto>> queryStuSubjectId(){
|
|
return succeed(studentService.queryStuSubjectId(organizationService.getEmployeeOrgan(null)));
|
|
return succeed(studentService.queryStuSubjectId(organizationService.getEmployeeOrgan(null)));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "修改学员维修标记")
|
|
|
|
+ @GetMapping("/updateRepairFlag")
|
|
|
|
+ public HttpResponseResult updateRepairFlag(Integer userId,Boolean repairFlag){
|
|
|
|
+ studentService.updateRepairFlag(userId,repairFlag);
|
|
|
|
+ return succeed();
|
|
|
|
+ }
|
|
}
|
|
}
|