|
@@ -7,6 +7,7 @@ import com.zhongzheng.modules.user.bo.UserAddBo;
|
|
|
import com.zhongzheng.modules.user.bo.UserEditBo;
|
|
import com.zhongzheng.modules.user.bo.UserEditBo;
|
|
|
import com.zhongzheng.modules.user.bo.UserQueryBo;
|
|
import com.zhongzheng.modules.user.bo.UserQueryBo;
|
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
|
|
|
+import com.zhongzheng.modules.user.vo.UserStudyRecordVo;
|
|
|
import com.zhongzheng.modules.user.vo.UserVo;
|
|
import com.zhongzheng.modules.user.vo.UserVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
@@ -109,4 +110,16 @@ public class UserController extends BaseController {
|
|
|
public AjaxResult<Void> remove(@PathVariable Long[] userIds) {
|
|
public AjaxResult<Void> remove(@PathVariable Long[] userIds) {
|
|
|
return toAjax(iUserService.deleteWithValidByIds(Arrays.asList(userIds), true) ? 1 : 0);
|
|
return toAjax(iUserService.deleteWithValidByIds(Arrays.asList(userIds), true) ? 1 : 0);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询客户端用户学习记录列表
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation("客户端用户学习记录列表")
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:studyRecordList')")
|
|
|
|
|
+ @GetMapping("/studyRecordList")
|
|
|
|
|
+ public TableDataInfo<UserStudyRecordVo> studyRecordList(UserQueryBo bo) {
|
|
|
|
|
+ startPage();
|
|
|
|
|
+ List<UserStudyRecordVo> list = iUserService.selectStudyRecordList(bo);
|
|
|
|
|
+ return getDataTable(list);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|