|
|
|
@ -184,6 +184,18 @@ public class CaseController {
|
|
|
|
|
return new ResultEntity<PageInfo<CaseInfo>>(pageInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/getCaseInfoByChapterId")
|
|
|
|
|
@ApiOperation("根据章节查询案例")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
private ResultEntity<List<CaseInfo>> getCaseInfoByChapterId(@RequestParam String type) {
|
|
|
|
|
CaseInfoExample example = new CaseInfoExample();
|
|
|
|
|
example.createCriteria().andManageMoneyMattersTypeEqualTo(type);
|
|
|
|
|
List<CaseInfo> caseInfoList = caseInfoMapper.selectByExampleWithBLOBs(example);
|
|
|
|
|
return new ResultEntity<>(caseInfoList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/insertKnowledge")
|
|
|
|
|
@ApiOperation("知识点新增")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|