|
|
|
@ -2,6 +2,7 @@ package com.yipin.liuwanr.controller; |
|
|
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
|
|
import com.yipin.liuwanr.entity.annotation.Log; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.web.bind.annotation.CrossOrigin; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
@ -30,6 +31,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 添加学生专业组织 |
|
|
|
|
*/ |
|
|
|
|
@Log("添加学生专业组织") |
|
|
|
|
@PostMapping("/addStuProfessionalArchitecture") |
|
|
|
|
Response addStuProfessionalArchitecture(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -101,6 +103,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 删除学生专业架构 |
|
|
|
|
*/ |
|
|
|
|
@Log("删除学生专业架构") |
|
|
|
|
@PostMapping("/deleteStuProfessionalArchitecture") |
|
|
|
|
Response deleteStuProfessionalArchitecture(@RequestBody StuProfessionalArchitecture professionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -125,6 +128,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 删除学生年级 |
|
|
|
|
*/ |
|
|
|
|
@Log("删除学生年级") |
|
|
|
|
@PostMapping("/deleteStuGrade") |
|
|
|
|
Response deleteStuGrade(@RequestBody StuProfessionalArchitecture stu) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -149,6 +153,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 删除学生班级 |
|
|
|
|
*/ |
|
|
|
|
@Log("删除学生班级") |
|
|
|
|
@PostMapping("/deleteStuClass") |
|
|
|
|
Response deleteStuClass(@RequestBody StuProfessionalArchitecture stu) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -173,6 +178,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 更新学生专业架构 |
|
|
|
|
*/ |
|
|
|
|
@Log("更新学生专业架构") |
|
|
|
|
@PostMapping("/updateStuProfessionalArchitecture") |
|
|
|
|
Response updateStuProfessionalArchitecture(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -312,6 +318,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 添加班级 |
|
|
|
|
*/ |
|
|
|
|
@Log("添加班级") |
|
|
|
|
@PostMapping("/addStuClass") |
|
|
|
|
Response addStuClass(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -338,6 +345,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 修改班级 |
|
|
|
|
*/ |
|
|
|
|
@Log("修改班级") |
|
|
|
|
@PostMapping("/updateStuClass") |
|
|
|
|
Response updateStuClass(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -363,6 +371,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 添加年级 |
|
|
|
|
*/ |
|
|
|
|
@Log("添加年级") |
|
|
|
|
@PostMapping("/addStuGrade") |
|
|
|
|
Response addStuGrade(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
@ -388,6 +397,7 @@ public class StuProfessionalArchitectureController { |
|
|
|
|
/** |
|
|
|
|
* 修改年级 |
|
|
|
|
*/ |
|
|
|
|
@Log("修改年级") |
|
|
|
|
@PostMapping("/updateStuGrade") |
|
|
|
|
Response updateStuGrade(@RequestBody StuProfessionalArchitecture stuProfessionalArchitecture) { |
|
|
|
|
Response resp = new Response(); |
|
|
|
|