标准预警查看

This commit is contained in:
zhangjun
2022-09-26 13:38:35 +08:00
parent 1b36e1b6a1
commit a08b8cdc41
@@ -114,7 +114,13 @@ public class EarlyWarningEOServiceImpl extends ServiceImpl<EarlyWarningEODao, Ea
@Override
public IPage<StandWarningEO> getStandWarning(StandWarningEO queryPage) {
IPage<StandWarningEO> iPage = new Page<>(queryPage.getPage(),queryPage.getPageSize());
return earlyWarningEODao.selectWarningPage(iPage,queryPage);
IPage<StandWarningEO> standWarningEOIPage = earlyWarningEODao.selectWarningPage(iPage,queryPage);
for (StandWarningEO standWarningEO : standWarningEOIPage.getRecords()) {
if (null != standWarningEO.getApplyType()) {
standWarningEO.setApplyType(standWarningEO.getApplyType().replace("[", "").replace("]", "").replace("\"", ""));
}
}
return standWarningEOIPage;
}
/**