|
@@ -13,6 +13,7 @@ import com.zhongzheng.modules.grade.service.IClassGradeSysService;
|
|
|
import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
import com.zhongzheng.modules.grade.vo.*;
|
|
|
import com.zhongzheng.modules.user.bo.SubjectStudyRecordQueryBo;
|
|
|
+import com.zhongzheng.modules.user.bo.UserEditBo;
|
|
|
import com.zhongzheng.modules.user.bo.UserQueryBo;
|
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
|
import com.zhongzheng.modules.user.service.IUserStudyRecordService;
|
|
@@ -75,6 +76,18 @@ public class ClassStudentController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改客户端用户
|
|
|
+ */
|
|
|
+ @ApiOperation("修改學員用户")
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:edit')")
|
|
|
+ @Log(title = "修改學員用户", businessType = BusinessType.UPDATE)
|
|
|
+ @PostMapping("/edit")
|
|
|
+ public AjaxResult<Void> edit(@RequestBody UserEditBo bo) throws IllegalAccessException {
|
|
|
+ return toAjax(iUserService.updateByEditBo(bo) ? 1 : 0);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询学员商品学习记录
|
|
|
*/
|