|
|
@@ -53,7 +53,7 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
AdvanceWarningAuditDetail entity = new AdvanceWarningAuditDetail();
|
|
|
BeanUtils.copyProperties(advanceWarningAuditDetail, entity);
|
|
|
QueryWrapper<AdvanceWarningAuditDetail> queryWrapper = QueryGenerator.initQueryWrapper(entity, parameterMap);
|
|
|
- Page<AdvanceWarningAuditDetail> page = new Page<AdvanceWarningAuditDetail>(pageNo, pageSize);
|
|
|
+ Page<AdvanceWarningAuditDetail> page = new Page<>(pageNo, pageSize);
|
|
|
IPage<AdvanceWarningAuditDetail> pageList = advanceWarningAuditDetailService.page(page, queryWrapper);
|
|
|
List<AdvanceWarningAuditDetail> records = pageList.getRecords();
|
|
|
if (!CollectionUtils.isEmpty(records)) {
|