From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能

---
 service-report/src/main/java/com/java110/report/smo/impl/ReportInfoSettingTitleValueInnerServiceSMOImpl.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/smo/impl/ReportInfoSettingTitleValueInnerServiceSMOImpl.java b/service-report/src/main/java/com/java110/report/smo/impl/ReportInfoSettingTitleValueInnerServiceSMOImpl.java
index b2dd5bf..32584f1 100644
--- a/service-report/src/main/java/com/java110/report/smo/impl/ReportInfoSettingTitleValueInnerServiceSMOImpl.java
+++ b/service-report/src/main/java/com/java110/report/smo/impl/ReportInfoSettingTitleValueInnerServiceSMOImpl.java
@@ -68,6 +68,21 @@
 
         return reportInfoSettingTitleValues;
     }
+    @Override
+    public List<ReportInfoSettingTitleValueDto> getReportInfoSettingTitleValueInfoResult(@RequestBody  ReportInfoSettingTitleValueDto reportInfoSettingTitleValueDto) {
+
+        //鏍¢獙鏄惁浼犱簡 鍒嗛〉淇℃伅
+
+        int page = reportInfoSettingTitleValueDto.getPage();
+
+        if (page != PageDto.DEFAULT_PAGE) {
+            reportInfoSettingTitleValueDto.setPage((page - 1) * reportInfoSettingTitleValueDto.getRow());
+        }
+
+        List<ReportInfoSettingTitleValueDto> reportInfoSettingTitleValues = BeanConvertUtil.covertBeanList(reportInfoSettingTitleValueServiceDaoImpl.getReportInfoSettingTitleValueInfoResult(BeanConvertUtil.beanCovertMap(reportInfoSettingTitleValueDto)), ReportInfoSettingTitleValueDto.class);
+
+        return reportInfoSettingTitleValues;
+    }
 
 
     @Override

--
Gitblit v1.8.0