This commit is contained in:
xzb 2022-10-13 11:26:32 +08:00
parent b94f1c5a03
commit 1611282abb
2 changed files with 16 additions and 0 deletions

View File

@ -83,6 +83,14 @@ public class PaperCompositionController {
return this.compositionService.findPaperCompositionByPage(req);
}
/**
* 根据试卷蓝图名称简介分页查找某个组织的试卷蓝图
*/
@PostMapping("/find/page/for/{orgId}")
public PageVO<PaperCompositionVo> findPaperCompositionForOrgByPage(@PathVariable("orgId") Long orgId, @RequestBody FindPaperCompositionPageReqVo req) {
req.setOrgId(orgId);
return this.compositionService.findPaperCompositionByPage(req);
}
/**
* 根据账户分页查找试卷蓝图
*/

View File

@ -118,4 +118,12 @@ public class PaperUserController {
public List<PaperUserInfoVo> findPaperUserForAccount(@RequestBody FindPaperUserForAccountReqVo req, @RequestAttribute AccountVO user){
return this.paperUserFindPageService.findPaperUserForAccount(req);
}
/**
* 查看组织的某个账户的某个试卷蓝图的用户试卷
*/
@PostMapping("/{orgId}/user/list/account")
public List<PaperUserInfoVo> findOrgPaperUserForAccount(@PathVariable("orgId") Long orgId,@RequestBody FindPaperUserForAccountReqVo req, @RequestAttribute AccountVO user){
req.setOrgId(orgId);
return this.paperUserFindPageService.findPaperUserForAccount(req);
}
}