|
@@ -5,6 +5,7 @@ import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
|
+import com.ruoyi.common.utils.DateUtils;
|
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
|
import com.ruoyi.common.utils.bean.BeanUtils;
|
|
|
import com.ruoyi.system.domain.StuBaseInfo;
|
|
@@ -60,7 +61,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询所有学生列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation(value = "所有学生列表")
|
|
|
public TableDataInfo list(StuBaseInfo stuBaseInfo)
|
|
@@ -73,7 +73,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询所有学生列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/myClassStudentList")
|
|
|
@ApiOperation(value = "我班学生列表")
|
|
|
public TableDataInfo myClassStudentList(StuBaseInfo stuBaseInfo)
|
|
@@ -89,7 +88,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询未报到的学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list0")
|
|
|
@ApiOperation(value = "未报到的学生列表")
|
|
|
public TableDataInfo list0(StuBaseInfo stuBaseInfo)
|
|
@@ -103,7 +101,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询已报到的学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list1")
|
|
|
@ApiOperation(value = "已报到的学生列表")
|
|
|
public TableDataInfo list1(StuBaseInfo stuBaseInfo)
|
|
@@ -117,7 +114,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询已缴费的学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list2")
|
|
|
@ApiOperation(value = "已缴费的学生列表")
|
|
|
public TableDataInfo list2(StuBaseInfo stuBaseInfo)
|
|
@@ -131,7 +127,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询已毕业的学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list9")
|
|
|
@ApiOperation(value = "已毕业的学生列表")
|
|
|
public TableDataInfo list9(StuBaseInfo stuBaseInfo)
|
|
@@ -145,7 +140,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 查询待评分的学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:list')")
|
|
|
@GetMapping("/list99")
|
|
|
@ApiOperation(value = "已毕业的学生列表")
|
|
|
public TableDataInfo list99(StuBaseInfo stuBaseInfo)
|
|
@@ -160,7 +154,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 导出学生列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:export')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.EXPORT)
|
|
|
@ApiOperation(value = "导出")
|
|
|
@GetMapping("/export")
|
|
@@ -174,7 +167,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 获取学生详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
|
|
{
|
|
@@ -184,7 +176,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 新增学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:add')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
@ApiOperation(value = "新增学生信息")
|
|
@@ -196,7 +187,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 修改学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:edit')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
@ApiOperation(value = "修改学生信息")
|
|
@@ -208,20 +198,19 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 新生缴费学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:edit')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/new-payment")
|
|
|
@ApiOperation(value = "新生缴费学生")
|
|
|
public AjaxResult edit2(@RequestBody StuBaseInfo stuBaseInfo)
|
|
|
{
|
|
|
- stuBaseInfo.setStudentStatus(2L);
|
|
|
+ stuBaseInfo.setStudentStatus(1L);
|
|
|
+ //stuBaseInfo.setPaymentDate(DateUtils.getNowDate());
|
|
|
return toAjax(stuBaseInfoService.updateStuBaseInfo(stuBaseInfo));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 老生缴费学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:edit')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/old-payment")
|
|
|
@ApiOperation(value = "老生缴费学生")
|
|
@@ -234,7 +223,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 删除学生
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:remove')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
@ApiOperation("删除学生")
|
|
@@ -246,7 +234,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 学生退学
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:exit')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/exit/{ids}")
|
|
|
@ApiOperation("学生退学")
|
|
@@ -263,7 +250,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
@Log(title = "学生管理", businessType = BusinessType.IMPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:import')")
|
|
|
@PostMapping("/importData")
|
|
|
@ApiOperation(value = "导入学生信息")
|
|
|
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {
|
|
@@ -295,7 +281,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
}
|
|
|
|
|
|
@Log(title = "学生管理", businessType = BusinessType.IMPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:import')")
|
|
|
@PostMapping("/importRegisterData")
|
|
|
@ApiOperation(value = "报到登记信息导入")
|
|
|
public AjaxResult importRegisterData(MultipartFile file, boolean updateSupport) throws Exception {
|
|
@@ -327,7 +312,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
}
|
|
|
|
|
|
@Log(title = "学生管理", businessType = BusinessType.IMPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:import')")
|
|
|
@PostMapping("/importPaymentData")
|
|
|
@ApiOperation(value = "缴费信息导入")
|
|
|
public AjaxResult importPaymentData(MultipartFile file, boolean updateSupport) throws Exception {
|
|
@@ -359,7 +343,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
}
|
|
|
|
|
|
@Log(title = "学生管理", businessType = BusinessType.IMPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:import')")
|
|
|
@PostMapping("/importManagerData")
|
|
|
@ApiOperation(value = "学生管理信息导入")
|
|
|
public AjaxResult importManagerData(MultipartFile file, boolean updateSupport) throws Exception {
|
|
@@ -386,7 +369,6 @@ public class StuBaseInfoController extends BaseController
|
|
|
/**
|
|
|
* 财务导出学生信息列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('student:base:export')")
|
|
|
@Log(title = "学生管理", businessType = BusinessType.EXPORT)
|
|
|
@ApiOperation(value = "学生财务数据导出")
|
|
|
@GetMapping("/financeExport")
|