|
@@ -247,6 +247,11 @@ public class ViolationAnalysisController {
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
HttpServletRequest req) {
|
|
|
QueryWrapper<AfterwardsAuditDetail> queryWrapper = QueryGenerator.initQueryWrapper(afterwardsAuditDetail, req.getParameterMap());
|
|
|
+ if (StringUtils.hasText(afterwardsAuditDetail.getProjectSearch())) {
|
|
|
+ queryWrapper.and(q1 ->
|
|
|
+ q1.eq("medical_project_code", afterwardsAuditDetail.getProjectSearch()).or().eq("medical_project_code", afterwardsAuditDetail.getProjectSearch())
|
|
|
+ );
|
|
|
+ }
|
|
|
Page<AfterwardsAuditDetail> page = new Page<AfterwardsAuditDetail>(pageNo, pageSize);
|
|
|
IPage<AfterwardsAuditDetail> pageList = afterwardsAuditDetailService.page(page, queryWrapper);
|
|
|
return Result.OK(pageList);
|