|
|
|
@ -66,9 +66,19 @@ public class CaseReportManager {
|
|
|
|
|
return caseReportService.removeByIds(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<SysCaseReport> selectCaseReportList() {
|
|
|
|
|
return caseReportService.lambdaQuery()
|
|
|
|
|
.eq(SysCaseReport::getStatus, "0")
|
|
|
|
|
.orderByDesc(SysCaseReport::getCreateTime)
|
|
|
|
|
.list();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<SysCaseReport> selectSysCaseReportHomeList() {
|
|
|
|
|
return caseReportService.lambdaQuery()
|
|
|
|
|
.select(SysCaseReport::getCaseId,SysCaseReport::getCaseTitle,
|
|
|
|
|
SysCaseReport::getCreateBy,SysCaseReport::getCreateTime,
|
|
|
|
|
SysCaseReport::getStatus)
|
|
|
|
|
.eq(SysCaseReport::getStatus, "0")
|
|
|
|
|
.last("limit 10")
|
|
|
|
|
.orderByDesc(SysCaseReport::getCreateTime)
|
|
|
|
|