|
|
|
@ -176,11 +176,12 @@ public class CaseController {
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
private ResultEntity<PageInfo<CaseInfo>> getCaseInfoList(@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size,
|
|
|
|
|
@RequestParam(required = false) String schoolId,
|
|
|
|
|
@RequestParam(required = false) String model,
|
|
|
|
|
@RequestParam(required = false) String schoolId,
|
|
|
|
|
@RequestParam(required = false) String keyWord,
|
|
|
|
|
@RequestParam(required = false) String type) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
List<CaseInfo> caseInfoList = caseInfoMapper.getCaseInfoList(schoolId, keyWord, type);
|
|
|
|
|
List<CaseInfo> caseInfoList = caseInfoMapper.getCaseInfoList(model, schoolId, keyWord, type);
|
|
|
|
|
PageInfo pageInfo = new PageInfo(caseInfoList);
|
|
|
|
|
return new ResultEntity<PageInfo<CaseInfo>>(pageInfo);
|
|
|
|
|
}
|
|
|
|
|