|
@@ -192,7 +192,7 @@ public class StudentManageController extends BaseController {
|
|
|
*/
|
|
|
@GetMapping(value = "/updateStudentFee")
|
|
|
@PreAuthorize("@pcs.hasPermissions('studentManage/updateStudentFee')")
|
|
|
- public Object updateStudentFee(@RequestBody UpdateStudentFeeDto studentFeeDto) {
|
|
|
+ public Object updateStudentFee(UpdateStudentFeeDto studentFeeDto) {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if(sysUser == null){
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -203,6 +203,22 @@ public class StudentManageController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 修改学员缴费周期锁定状态
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/updateStudentFeeIsLock")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('studentManage/updateStudentFeeIsLock')")
|
|
|
+ public Object updateStudentFeeIsLock(UpdateStudentFeeDto studentFeeDto) {
|
|
|
+ SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
+ if(sysUser == null){
|
|
|
+ throw new BizException("用户信息获取失败");
|
|
|
+ }
|
|
|
+ LOGGER.info("修改学员缴费周期锁定状态,user:{},参数:{}",sysUser.getId(),studentFeeDto);
|
|
|
+ musicGroupStudentFeeService.updateStudentFeeIsLock(studentFeeDto);
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 获取学员缴费日历信息
|
|
|
* @return
|
|
|
*/
|