returnpage,@Param("csStatLimitRatePageParm") CsStatLimitRatePageParm csStatLimitRatePageParm);
-}
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/CsStatisticalSetMapper.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/CsStatisticalSetMapper.java
deleted file mode 100644
index 60124e954..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/CsStatisticalSetMapper.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.njcn.algorithm.mapper;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.njcn.algorithm.pojo.po.CsStatisticalSetPO;
-import org.apache.ibatis.annotations.Mapper;
-
-/**
- *
- * 统计类型和指标关系表 Mapper 接口
- *
- *
- * @author xuyang
- * @since 2023-05-11
- */
-@Mapper
-public interface CsStatisticalSetMapper extends BaseMapper {
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppBaseInformationMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppBaseInformationMapper.xml
deleted file mode 100644
index 511422916..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppBaseInformationMapper.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, content, `type`, create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppLineTopologyDiagramMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppLineTopologyDiagramMapper.xml
deleted file mode 100644
index ec8c56fbc..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppLineTopologyDiagramMapper.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, line_id, `status`, create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppPersonSetMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppPersonSetMapper.xml
deleted file mode 100644
index 7f433e500..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppPersonSetMapper.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, user_agreement, system_introduction, user_manual, data_base, company_profile,
- about_us, `status`, create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppProjectMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppProjectMapper.xml
deleted file mode 100644
index c006323ec..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppProjectMapper.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, `name`, user_id, area_id, lng, lat, `status`, create_by, create_time, update_by,
- update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppTopologyDiagramMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppTopologyDiagramMapper.xml
deleted file mode 100644
index 780d11322..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/AppTopologyDiagramMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, `name`, file_size, project_id, file_path, `status`, create_by, create_time, update_by,
- update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDataEffectiveMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDataEffectiveMapper.xml
deleted file mode 100644
index 815f42c47..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDataEffectiveMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- project_id, dev_id, register_time, retiree_time, create_by, create_time, update_by,
- update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelMapper.xml
deleted file mode 100644
index 32c28537e..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelMapper.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, dev_type, version_no, version_date, file_path, create_by, create_time, update_by,
- update_time, `status`
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelRelationMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelRelationMapper.xml
deleted file mode 100644
index 511be2730..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDevModelRelationMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, dev_id, `model id`, create_by, create_time, update_by, update_time, `status`
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDictMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDictMapper.xml
deleted file mode 100644
index 011276ffd..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsDictMapper.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, pid, `name`, another_name, `state`, sort, create_by, create_time, update_by,
- update_time
-
-
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEdDataMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEdDataMapper.xml
deleted file mode 100644
index a65dc135d..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEdDataMapper.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, dev_type, version_no, version_agreement, version_date, `describe`, version_type,
- `status`, file_path, create_by, create_time, update_by, update_time
-
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEngineeringMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEngineeringMapper.xml
deleted file mode 100644
index 50ff003f1..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEngineeringMapper.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, `name`, user_id, province, city, description, `status`, create_by, create_time,
- update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentAlarmPOMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentAlarmPOMapper.xml
deleted file mode 100644
index 049cf3135..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentAlarmPOMapper.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, project_id, equipment_id, alarm_msg, alarm_level, start_time, end_time, `status`,
- create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentDeliveryMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentDeliveryMapper.xml
deleted file mode 100644
index 5d082d682..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentDeliveryMapper.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, `name`, ndid, mac, dev_use, dev_type, dev_model, program_version, debug_person,
- producte_time, check_time, debug_time, cntract_no, sales_manager, `status`, create_by,
- create_time, update_by, update_time
-
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentTransferPOMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentTransferPOMapper.xml
deleted file mode 100644
index a191ee38b..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEquipmentTransferPOMapper.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, project_id, equipment_ids, promoter, transferor, event_type, remark, `status`,
- create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEventDetailPOMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEventDetailPOMapper.xml
deleted file mode 100644
index 4be652cac..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsEventDetailPOMapper.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- event_id, measurement_point_id, event_type, advance_reason, advance_type, eventass_index,
- dq_time, deal_time, num, file_flag, deal_flag, first_time, first_type, first_ms,
- energy, severity, sagsource, start_time, duration, feature_amplitude, phase, event_describe,
- wave_path, create_time, transient_value
-
-
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackChatMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackChatMapper.xml
deleted file mode 100644
index 99bd7c3d8..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackChatMapper.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, user_id, chat_content, create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackMapper.xml
deleted file mode 100644
index 6409560aa..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFeedbackMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, title, `describe`, user_id, create_by, create_time, update_by, update_time, `type`,
- `status`
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFilePathMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFilePathMapper.xml
deleted file mode 100644
index 4f478bcf4..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsFilePathMapper.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- id, file_path, `status`
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsLinePOMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsLinePOMapper.xml
deleted file mode 100644
index eb3bfa832..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsLinePOMapper.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- line_id, dev_id, `name`, `position`, vol_grade, pt_ratio, ct_ratio, `status`, create_by,
- create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsProjectEquipmentMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsProjectEquipmentMapper.xml
deleted file mode 100644
index 95553b262..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsProjectEquipmentMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, project_id, equipment_id, `status`, create_by, create_time, update_by, update_time
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsStatLimitRateDPOMapper.xml b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsStatLimitRateDPOMapper.xml
deleted file mode 100644
index e8ea4b204..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/mapper/mapping/CsStatLimitRateDPOMapper.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- time_id, my_index, phasic_type, all_time, flicker_all_time, freq_dev_overtime, voltage_dev_overtime,
- ubalance_overtime, flicker_overtime, uaberrance_overtime, uharm_2_overtime, uharm_3_overtime,
- uharm_4_overtime, uharm_5_overtime, uharm_6_overtime, uharm_7_overtime, uharm_8_overtime,
- uharm_9_overtime, uharm_10_overtime, uharm_11_overtime, uharm_12_overtime, uharm_13_overtime,
- uharm_14_overtime, uharm_15_overtime, uharm_16_overtime, uharm_17_overtime, uharm_18_overtime,
- uharm_19_overtime, uharm_20_overtime, uharm_21_overtime, uharm_22_overtime, uharm_23_overtime,
- uharm_24_overtime, uharm_25_overtime, iharm_2_overtime, iharm_3_overtime, iharm_4_overtime,
- iharm_5_overtime, iharm_6_overtime, iharm_7_overtime, iharm_8_overtime, iharm_9_overtime,
- iharm_10_overtime, iharm_11_overtime, iharm_12_overtime, iharm_13_overtime, iharm_14_overtime,
- iharm_15_overtime, iharm_16_overtime, iharm_17_overtime, iharm_18_overtime, iharm_19_overtime,
- iharm_20_overtime, iharm_21_overtime, iharm_22_overtime, iharm_23_overtime, iharm_24_overtime,
- iharm_25_overtime, inuharm_1_overtime, inuharm_2_overtime, inuharm_3_overtime, inuharm_4_overtime,
- inuharm_5_overtime, inuharm_6_overtime, inuharm_7_overtime, inuharm_8_overtime, inuharm_9_overtime,
- inuharm_10_overtime, inuharm_11_overtime, inuharm_12_overtime, inuharm_13_overtime,
- inuharm_14_overtime, inuharm_15_overtime, inuharm_16_overtime, i_neg_overtime
-
-
-
-
\ No newline at end of file
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppBaseInformationService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppBaseInformationService.java
deleted file mode 100644
index 66fb50487..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppBaseInformationService.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.po.AppBaseInformationPO;
-import com.baomidou.mybatisplus.extension.service.IService;
- /**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:17【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface AppBaseInformationService extends IService{
-
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppLineTopologyDiagramService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppLineTopologyDiagramService.java
deleted file mode 100644
index 8f067121c..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppLineTopologyDiagramService.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.github.jeffreyning.mybatisplus.service.IMppService;
-import com.njcn.algorithm.pojo.po.AppLineTopologyDiagramPO;
- /**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:18【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface AppLineTopologyDiagramService extends IMppService {
-
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppPersonSetService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppPersonSetService.java
deleted file mode 100644
index d31341cbe..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppPersonSetService.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.po.AppPersonSetPO;
-import com.baomidou.mybatisplus.extension.service.IService;
- /**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:17【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface AppPersonSetService extends IService{
-
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppProjectService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppProjectService.java
deleted file mode 100644
index 4ca8c8fd2..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppProjectService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.github.jeffreyning.mybatisplus.service.IMppService;
-import com.njcn.algorithm.pojo.param.AppProjectAddParm;
-import com.njcn.algorithm.pojo.param.AppProjectAuditParm;
-import com.njcn.algorithm.pojo.param.AppProjectQueryParm;
-import com.njcn.algorithm.pojo.po.AppProjectPO;
-import com.njcn.algorithm.pojo.vo.AppProjectVO;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:24【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface AppProjectService extends IMppService {
-
- /**
- * @Description: addOrAuditPlan
- * @Param: [appProjectAddOrAuditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/27
- */
- Boolean addAppProject(AppProjectAddParm appProjectAddOrAuditParm);
- /**
- * @Description: AuditAppProject
- * @Param: [appProjectAuditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/27
- */
- Boolean AuditAppProject(AppProjectAuditParm appProjectAuditParm);
- /**
- * @Description: queryProject
- * @Param: [appProjectQueryParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/3/28
- */
- IPage queryProject(AppProjectQueryParm appProjectQueryParm);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppTopologyDiagramService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppTopologyDiagramService.java
deleted file mode 100644
index efd0ffcb1..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/AppTopologyDiagramService.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.github.jeffreyning.mybatisplus.service.IMppService;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramAddParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramAuditParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramQueryPageParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramQueryParm;
-import com.njcn.algorithm.pojo.po.AppTopologyDiagramPO;
-import com.njcn.algorithm.pojo.vo.AppTopologyDiagramVO;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:24【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface AppTopologyDiagramService extends IMppService {
-
- /**
- * @Description: addAppTopologyDiagram
- * @Param: [appTopologyDiagramAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/27
- */
- Boolean addAppTopologyDiagram(AppTopologyDiagramAddParm appTopologyDiagramAddParm);
- /**
- * @Description: AuditAppTopologyDiagram
- * @Param: [appTopologyDiagramAuditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/27
- */
- Boolean AuditAppTopologyDiagram(AppTopologyDiagramAuditParm appTopologyDiagramAuditParm);
- /**
- * @Description: queryAppTopologyDiagram
- * @Param: [appTopologyDiagramAuditParm]
- * @return: java.util.List
- * @Author: clam
- * @Date: 2023/3/29
- */
- List queryAppTopologyDiagram(AppTopologyDiagramQueryParm appTopologyDiagramAuditParm);
- /**
- * @Description: queryTopologyDiagramPage
- * @Param: [appTopologyDiagramQueryPageParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/3/29
- */
- IPage queryTopologyDiagramPage(AppTopologyDiagramQueryPageParm appTopologyDiagramQueryPageParm);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDataEffectiveService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDataEffectiveService.java
deleted file mode 100644
index f251e1700..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDataEffectiveService.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.CsDataEffectiveAddParm;
-import com.njcn.algorithm.pojo.param.CsDataEffectiveAuditParm;
-import com.njcn.algorithm.pojo.param.CsDataEffectiveQueryParm;
-import com.njcn.algorithm.pojo.po.CsDataEffectivePO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsDataEffectiveVO;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/18 9:49【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsDataEffectiveService extends IService{
-
- /**
- * @Description: add
- * @Param: [csDataEffectiveAddParm]
- * @return: boolean
- * @Author: clam
- * @Date: 2023/4/18
- */
- boolean add(CsDataEffectiveAddParm csDataEffectiveAddParm);
- /**
- * @Description: queryDataEffective
- * @Param: [csDataEffectiveQueryParm]
- * @return: java.util.List
- * @Author: clam
- * @Date: 2023/4/18
- */
- List queryDataEffective(CsDataEffectiveQueryParm csDataEffectiveQueryParm);
- /**
- * @Description: auditDataEffective
- * @Param: [auditParm]
- * @return: boolean
- * @Author: clam
- * @Date: 2023/4/18
- */
- boolean auditDataEffective(CsDataEffectiveAuditParm auditParm);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelRelationService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelRelationService.java
deleted file mode 100644
index 6fcac744f..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelRelationService.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.CsDevModelRelationAddParm;
-import com.njcn.algorithm.pojo.param.CsDevModelRelationAuidtParm;
-import com.njcn.algorithm.pojo.param.CsDevModelRelationQueryParm;
-import com.njcn.algorithm.pojo.po.CsDevModelRelationPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsDevModelRelationVO;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/18 13:49【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsDevModelRelationService extends IService{
-
- /**
- * @Description: addDevModelRelation
- * @Param: [addParm]
- * @return: com.njcn.algorithm.pojo.po.CsDevModelRelationPO
- * @Author: clam
- * @Date: 2023/4/18
- */
- CsDevModelRelationPO addDevModelRelation(CsDevModelRelationAddParm addParm);
- /**
- * @Description: AuditDevModelRelation
- * @Param: [auditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/18
- */
- Boolean AuditDevModelRelation(CsDevModelRelationAuidtParm auditParm);
-
- List queryDevModelRelation(CsDevModelRelationQueryParm queryParm);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelService.java
deleted file mode 100644
index 3ea5afa5c..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDevModelService.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.param.CsDevModelAddParm;
-import com.njcn.algorithm.pojo.param.CsDevModelAuditParm;
-import com.njcn.algorithm.pojo.param.CsDevModelQueryListParm;
-import com.njcn.algorithm.pojo.param.CsDevModelQueryParm;
-import com.njcn.algorithm.pojo.po.CsDevModelPO;
-import com.njcn.algorithm.pojo.vo.CsDevModelPageVO;
-import org.springframework.web.bind.annotation.RequestParam;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/10 11:28【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsDevModelService extends IService{
-
- /**
- * @Description: addDevModel
- * @Param: [csDevModelAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/10
- */
- CsDevModelPO addDevModel(CsDevModelAddParm csDevModelAddParm);
- /**
- * @Description: AuditDevModel
- * @Param: [csDevModelAuditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/10
- */
- Boolean AuditDevModel(CsDevModelAuditParm csDevModelAuditParm);
- /**
- * @Description: 设备模板
- * @Param: [csDevModelQueryParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/4/10
- */
- IPage queryPage(CsDevModelQueryParm csDevModelQueryParm);
- /**
- * @Description: queryList
- * @Param: [projectEquipmentQueryParm]
- * @return: java.util.List
- * @Author: clam
- * @Date: 2023/4/10
- * @param projectEquipmentQueryParm
- */
- CsDevModelPageVO queryDevModelOne(CsDevModelQueryListParm projectEquipmentQueryParm);
-
- CsDevModelPO findModel(String devType, String version, String time);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDictService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDictService.java
deleted file mode 100644
index 76a32fa57..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsDictService.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.dto.CsDictDTO;
-import com.njcn.algorithm.pojo.param.CsDictAddParm;
-import com.njcn.algorithm.pojo.po.CsDictPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsDictVO;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 14:53【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsDictService extends IService{
-
-
- Boolean addDict(List csDictAddParms);
-
- List queryDictData(String dictType);
-
- /**
- * 获取当前资源的信息以及父级信息
- * @return
- */
- CsDictDTO getOwnAndFatherData(String name);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEdDataService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEdDataService.java
deleted file mode 100644
index 0e2a14035..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEdDataService.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsEdDataAddParm;
-import com.njcn.algorithm.pojo.param.CsEdDataAuditParm;
-import com.njcn.algorithm.pojo.param.CsEdDataQueryParm;
-import com.njcn.algorithm.pojo.po.CsEdDataPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsEdDataVO;
-
-import java.util.List;
-
-/**
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:12【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEdDataService extends IService {
-
- /**
- * @Description: addEdData
- * @Param: [csEdDataAddParm]
- * @return: boolean
- * @Author: clam
- * @Date: 2023/4/7
- */
- boolean addEdData(CsEdDataAddParm csEdDataAddParm);
- /**
- * @Description:
- * @Param: [csEdDataAuditParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/7
- */
- Boolean auditEdData(CsEdDataAuditParm csEdDataAuditParm);
- /**
- * @Description: queryEdDataPage
- * @Param: [csEdDataQueryParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/4/7
- */
- IPage queryEdDataPage(CsEdDataQueryParm csEdDataQueryParm);
-
- /**
- * @Description: 根据装置型号获取装置类型
- * @author: xuyang
- */
- CsEdDataVO findByDevTypeId(String devType);
-}
-
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEngineeringService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEngineeringService.java
deleted file mode 100644
index 06a4f129d..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEngineeringService.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsEngineeringAddParm;
-import com.njcn.algorithm.pojo.param.CsEngineeringAuditParm;
-import com.njcn.algorithm.pojo.param.CsEngineeringQueryPageParm;
-import com.njcn.algorithm.pojo.param.CsEngineeringQueryParm;
-import com.njcn.algorithm.pojo.po.CsEngineeringPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsEngineeringVO;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/7 11:04【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEngineeringService extends IService{
-
- /**
- * @Description: 新增工程
- * @Param: [csEngineeringAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/10
- */
- Boolean addEngineering(CsEngineeringAddParm csEngineeringAddParm);
-
- Boolean auditEngineering(CsEngineeringAuditParm csEngineeringAuditParm);
- /**
- * @Description: 查询工程
- * @Param: [csEngineeringQueryParm]
- * @return: java.util.List
- * @Author: clam
- * @Date: 2023/4/10
- */
- List queryEngineering(CsEngineeringQueryParm csEngineeringQueryParm);
- /**
- * @Description: 分页查询
- * @Param: [csEngineeringQueryPageParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/4/12
- */
- IPage queryEngineeringPage(CsEngineeringQueryPageParm csEngineeringQueryPageParm);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentAlarmPOService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentAlarmPOService.java
deleted file mode 100644
index 7da482436..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentAlarmPOService.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsEquipmentAlarmAddParm;
-import com.njcn.algorithm.pojo.param.CsEquipmentAlarmPageParm;
-import com.njcn.algorithm.pojo.po.CsEquipmentAlarmPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsEquipmentAlarmVO;
-
-/**
- *
- * Description:
- * Date: 2023/5/16 16:24【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEquipmentAlarmPOService extends IService{
-
- /**
- * @Description: 新增设备警告
- * @Param:
- * @return: com.njcn.algorithm.pojo.vo.CsEquipmentAlarmVO
- * @Author: clam
- * @Date: 2023/5/17
- */
- CsEquipmentAlarmVO add(CsEquipmentAlarmAddParm csEquipmentAlarmAddParm);
-
- IPage queryPage(CsEquipmentAlarmPageParm csEquipmentAlarmPageParm);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentDeliveryService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentDeliveryService.java
deleted file mode 100644
index dce9a4973..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentDeliveryService.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.param.CsEquipmentDeliveryAddParm;
-import com.njcn.algorithm.pojo.param.CsEquipmentDeliveryAuditParm;
-import com.njcn.algorithm.pojo.param.ProjectEquipmentQueryParm;
-import com.njcn.algorithm.pojo.po.CsEquipmentDeliveryPO;
-import com.njcn.algorithm.pojo.vo.CsEquipmentDeliveryVO;
-import com.njcn.algorithm.pojo.vo.ProjectEquipmentVO;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/30 16:23【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEquipmentDeliveryService extends IService{
-
- /**
- * @Description: save
- * @Param: [csEquipmentDeliveryAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/31
- */
- Boolean save(CsEquipmentDeliveryAddParm csEquipmentDeliveryAddParm);
- /**
- * @Description: AuditEquipmentDelivery
- * @Param: [id]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/3/31
- */
- Boolean AuditEquipmentDelivery(String id);
- /**
- * @Description: queryEquipmentByndid
- * @Param: [ndid]
- * @return: com.njcn.algorithm.pojo.vo.CsEquipmentDeliveryVO
- * @Author: clam
- * @Date: 2023/3/31
- */
- CsEquipmentDeliveryVO queryEquipmentByndid(String ndid);
- /**
- * @Description: queryEquipmentByProject
- * @Param: [projectEquipmentQueryParm]
- * @return: com.njcn.algorithm.pojo.vo.CsEquipmentDeliveryVO
- * @Author: clam
- * @Date: 2023/4/3
- */
- IPage queryEquipmentByProject(ProjectEquipmentQueryParm projectEquipmentQueryParm);
-
- Boolean updateEquipmentDelivery(CsEquipmentDeliveryAuditParm csEquipmentDeliveryAuditParm);
-
- /**
- * 根据网关id修改装置的状态
- * @param nDid 网关id
- */
- void updateStatusBynDid(String nDid,Integer status);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentTransferPOService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentTransferPOService.java
deleted file mode 100644
index 87f525340..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEquipmentTransferPOService.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.CsEquipmentTransferAddParm;
-import com.njcn.algorithm.pojo.po.CsEquipmentTransferPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * Date: 2023/5/17 15:40【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEquipmentTransferPOService extends IService{
-
- /**
- * @Description: add
- * @Param:
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/5/17
- */
- Boolean add(CsEquipmentTransferAddParm csEquipmentTransferAddParm);
- /**
- * @Description: 设备转移申请通过
- * @Param:
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/5/17
- */
- Boolean pass(List ids);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEventDetailPOService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEventDetailPOService.java
deleted file mode 100644
index 0a45b6501..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsEventDetailPOService.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsEventDetailPageParm;
-import com.njcn.algorithm.pojo.po.CsEventDetailPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsEventDetailVO;
-
-/**
- *
- * Description:
- * Date: 2023/5/17 10:49【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsEventDetailPOService extends IService{
-
-
- IPage queryPage(CsEventDetailPageParm csEventDetailPageParm);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackChatService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackChatService.java
deleted file mode 100644
index 1e4c36bca..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackChatService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.CsFeedbackChatAddParm;
-import com.njcn.algorithm.pojo.param.CsFeedbackChatCheckParm;
-import com.njcn.algorithm.pojo.po.CsFeedbackChatPO;
-import com.baomidou.mybatisplus.extension.service.IService;
- /**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/6 15:28【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsFeedbackChatService extends IService{
-
- /**
- * @Description: AddFeedbackChat
- * @Param: [csFeedbackAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/6
- */
- Boolean AddFeedbackChat(CsFeedbackChatAddParm csFeedbackAddParm);
-
- Boolean updateChatStatus(CsFeedbackChatCheckParm csFeedbackChatCheckParm);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackService.java
deleted file mode 100644
index 2abb2286c..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFeedbackService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsFeedbackAddParm;
-import com.njcn.algorithm.pojo.param.CsFeedbackQueryParm;
-import com.njcn.algorithm.pojo.po.CsFeedbackPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsFeedbackDetailVO;
-import com.njcn.algorithm.pojo.vo.CsFeedbackVO;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/6 11:39【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsFeedbackService extends IService{
-
- /**
- * @Description: 新增反馈
- * @Param: [csFeedbackAddParm]
- * @return: java.lang.Boolean
- * @Author: clam
- * @Date: 2023/4/6
- */
- Boolean addFeedBack(CsFeedbackAddParm csFeedbackAddParm);
- /**
- * @Description: queryFeedBackPage
- * @Param: [csFeedbackQueryParm]
- * @return: com.baomidou.mybatisplus.core.metadata.IPage
- * @Author: clam
- * @Date: 2023/4/6
- */
- IPage queryFeedBackPage(CsFeedbackQueryParm csFeedbackQueryParm);
- /**
- * @Description: queryFeedBackDetail
- * @Param: [id]
- * @return: com.njcn.algorithm.pojo.vo.CsFeedbackDetailVO
- * @Author: clam
- * @Date: 2023/4/7
- */
- CsFeedbackDetailVO queryFeedBackDetail(String id);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFilePathService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFilePathService.java
deleted file mode 100644
index 5fd34d65a..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsFilePathService.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.po.CsFilePathPO;
-import com.baomidou.mybatisplus.extension.service.IService;
- /**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/6 11:40【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsFilePathService extends IService{
-
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsLinePOService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsLinePOService.java
deleted file mode 100644
index 754bb5194..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsLinePOService.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.po.CsLinePO;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-import java.util.List;
-
-/**
- *
- * Description:
- * Date: 2023/5/18 14:01【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsLinePOService extends IService{
-
-
- List queryByDevId(String devId);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsProjectEquipmentService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsProjectEquipmentService.java
deleted file mode 100644
index 285d2ceb7..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsProjectEquipmentService.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.po.CsProjectEquipmentPO;
-
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 10:24【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsProjectEquipmentService extends IService{
-
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsStatLimitRateDPOService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsStatLimitRateDPOService.java
deleted file mode 100644
index a3a66067d..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/CsStatLimitRateDPOService.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.njcn.algorithm.pojo.param.CsStatLimitRatePageParm;
-import com.njcn.algorithm.pojo.po.CsStatLimitRateDPO;
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.njcn.algorithm.pojo.vo.CsStatLimitRateDVO;
-
-/**
- *
- * Description:
- * Date: 2023/5/17 13:45【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface CsStatLimitRateDPOService extends IService{
-
-
- IPage queryPage(CsStatLimitRatePageParm csStatLimitRatePageParm);
- }
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/ICsStatisticalSetService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/ICsStatisticalSetService.java
deleted file mode 100644
index 3ffec8485..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/ICsStatisticalSetService.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.StatisticalAddParam;
-import com.njcn.algorithm.pojo.vo.CsBindConditionVO;
-import com.njcn.algorithm.pojo.vo.CsStatisticalSetVO;
-
-import java.util.List;
-
-/**
- *
- * 统计类型和指标关系表 服务类
- *
- *
- * @author xuyang
- * @since 2023-05-11
- */
-public interface ICsStatisticalSetService {
-
- List getCsStatisticalDetail();
-
- CsBindConditionVO bindCondition(String id);
-
- Boolean add(StatisticalAddParam statisticalAddParam);
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/StableDataService.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/StableDataService.java
deleted file mode 100644
index b354fb221..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/StableDataService.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.njcn.algorithm.service;
-
-import com.njcn.algorithm.pojo.param.ThdDataQueryParm;
-import com.njcn.algorithm.pojo.vo.ThdDataVO;
-
-import java.util.List;
-
-/**
- * Description:
- * Date: 2023/5/18 14:39【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-public interface StableDataService {
- List queryThdData(String devId, String statisticalName);
- /**
- * @Description: 查询时间段内谐波畸变率
- * @Param:
- * @return: java.util.List
- * @Author: clam
- * @Date: 2023/5/23
- */
- List queryThdDataByTime(ThdDataQueryParm thdDataQueryParm);
-
- List queryFisrtThdContent(String devId, String statisticalName);
-
- List queryThdContentByTime(ThdDataQueryParm thdDataQueryParm);
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppBaseInformationServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppBaseInformationServiceImpl.java
deleted file mode 100644
index e90c656ee..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppBaseInformationServiceImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import org.springframework.stereotype.Service;
-import javax.annotation.Resource;
-import java.util.List;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.pojo.po.AppBaseInformationPO;
-import com.njcn.algorithm.mapper.AppBaseInformationMapper;
-import com.njcn.algorithm.service.AppBaseInformationService;
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:17【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class AppBaseInformationServiceImpl extends ServiceImpl implements AppBaseInformationService{
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppLineTopologyDiagramServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppLineTopologyDiagramServiceImpl.java
deleted file mode 100644
index f3224e154..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppLineTopologyDiagramServiceImpl.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
-import com.njcn.algorithm.mapper.AppLineTopologyDiagramMapper;
-import com.njcn.algorithm.pojo.po.AppLineTopologyDiagramPO;
-import com.njcn.algorithm.service.AppLineTopologyDiagramService;
-import org.springframework.stereotype.Service;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:18【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class AppLineTopologyDiagramServiceImpl extends MppServiceImpl implements AppLineTopologyDiagramService {
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppPersonSetServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppPersonSetServiceImpl.java
deleted file mode 100644
index 5966b29fe..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppPersonSetServiceImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import org.springframework.stereotype.Service;
-import javax.annotation.Resource;
-import java.util.List;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.mapper.AppPersonSetMapper;
-import com.njcn.algorithm.pojo.po.AppPersonSetPO;
-import com.njcn.algorithm.service.AppPersonSetService;
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:17【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class AppPersonSetServiceImpl extends ServiceImpl implements AppPersonSetService{
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppProjectServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppProjectServiceImpl.java
deleted file mode 100644
index af00c28b5..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppProjectServiceImpl.java
+++ /dev/null
@@ -1,130 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
-import com.njcn.algorithm.mapper.AppProjectMapper;
-import com.njcn.algorithm.pojo.param.*;
-import com.njcn.algorithm.pojo.po.AppProjectPO;
-import com.njcn.algorithm.pojo.vo.AppProjectVO;
-import com.njcn.algorithm.pojo.vo.AppTopologyDiagramVO;
-import com.njcn.algorithm.service.AppProjectService;
-import com.njcn.algorithm.service.AppTopologyDiagramService;
-import com.njcn.oss.utils.FileStorageUtil;
-import lombok.RequiredArgsConstructor;
-import org.apache.commons.lang.StringUtils;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:24【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-@RequiredArgsConstructor
-public class AppProjectServiceImpl extends MppServiceImpl implements AppProjectService {
-
- private final AppProjectMapper appProjectMapper;
- private final AppTopologyDiagramService appTopologyDiagramService;
- private final FileStorageUtil fileStorageUtil;
-
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public Boolean addAppProject(AppProjectAddParm appProjectAddOrAuditParm) {
- AppProjectPO appProjectPO = new AppProjectPO ( );
-// Boolean result = checkName (appProjectAddOrAuditParm.getUserId ( ), appProjectAddOrAuditParm.getName ( ));
-// if (result) {
-// throw new BusinessException (AlgorithmResponseEnum.PROJECT_COMMON_ERROR);
-// }
- BeanUtils.copyProperties (appProjectAddOrAuditParm, appProjectPO);
- appProjectPO.setStatus ("1");
- boolean save = this.save (appProjectPO);
- for (int i = 0; i < appProjectAddOrAuditParm.getFiles ( ).length; i++) {
-
- AppTopologyDiagramAddParm appTopologyDiagramAddParm = new AppTopologyDiagramAddParm ( );
- appTopologyDiagramAddParm.setProjectId (appProjectPO.getId ( ));
- appTopologyDiagramAddParm.setTopologyDiagramName (appProjectAddOrAuditParm.getFiles ( )[i].getOriginalFilename ( ));
- appTopologyDiagramAddParm.setFile (appProjectAddOrAuditParm.getFiles ( )[i]);
- appTopologyDiagramService.addAppTopologyDiagram (appTopologyDiagramAddParm);
- }
- return save;
- }
-
- private Boolean checkName(String userId, String name) {
- QueryWrapper queryWrapper = new QueryWrapper ( );
- queryWrapper.select ("1").
- eq ("status", "1").
- eq ("user_id", userId).
- eq ("name", name);
- Integer integer = appProjectMapper.selectCount (queryWrapper);
- return integer > 0 ? true : false;
- }
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public Boolean AuditAppProject(AppProjectAuditParm appProjectAuditParm) {
- AppProjectPO appProjectPO = new AppProjectPO ( );
-
- QueryWrapper queryWrapper = new QueryWrapper ( );
- queryWrapper.eq ("id", appProjectAuditParm.getId ( ));
- AppProjectPO appProjectPO1 = appProjectMapper.selectOne (queryWrapper);
-// if (appProjectAuditParm.getUserId ( ) != null || appProjectAuditParm.getName ( ) != null) {
-// Boolean result = checkName (appProjectAuditParm.getUserId ( ) != null ? appProjectAuditParm.getUserId ( ) : appProjectPO1.getUserId ( ),
-// appProjectAuditParm.getName ( ) != null ? appProjectAuditParm.getName ( ) : appProjectPO1.getName ( ));
-// if (result) {
-// throw new BusinessException (AlgorithmResponseEnum.PROJECT_COMMON_ERROR);
-// }
-// }
-
- BeanUtils.copyProperties (appProjectAuditParm, appProjectPO);
- UpdateWrapper updateWrapper = new UpdateWrapper ( );
- updateWrapper.eq ("id", appProjectAuditParm.getId ( ));
-
- int i = appProjectMapper.update (appProjectPO, updateWrapper);
-// Boolean result = checkName (appProjectPO.getUserId ( ), appProjectPO.getName ( ));
-// if (result) {
-// throw new BusinessException (AlgorithmResponseEnum.PROJECT_COMMON_ERROR);
-// }
- return i == 1 ? true : false;
- }
-
- @Override
- public IPage queryProject(AppProjectQueryParm appProjectQueryParm) {
-
- Page returnpage = new Page<> (appProjectQueryParm.getCurrentPage ( ), appProjectQueryParm.getPageSize ( ));
- returnpage = appProjectMapper.getPageVo (returnpage, appProjectQueryParm);
-// Page appProjectPOPage = new Page<> (appProjectQueryParm.getCurrentPage ( ), appProjectQueryParm.getPageSize ( ));
-// QueryWrapper queryWrapper = new QueryWrapper ( );
-// queryWrapper.eq ("status", "1").
-// eq (StringUtils.isNotBlank (appProjectQueryParm.getProjectId ( )), "id", appProjectQueryParm.getProjectId ( )).
-// eq (StringUtils.isNotBlank (appProjectQueryParm.getEngineeringId ( )), "engineering_id", appProjectQueryParm.getEngineeringId ( )).
-// le (StringUtils.isNotBlank (appProjectQueryParm.getEndTime ( )), "create_time", appProjectQueryParm.getEndTime ( )).
-// ge (StringUtils.isNotBlank (appProjectQueryParm.getStartTime ( )), "create_time", appProjectQueryParm.getStartTime ( )).
-// like (StringUtils.isNotBlank (appProjectQueryParm.getSearchValue ( )), "name", appProjectQueryParm.getSearchValue ( ));
-// Page appProjectPOPage1 = appProjectMapper.selectPage (appProjectPOPage, queryWrapper);
-// List collect = appProjectPOPage1.getRecords ( ).stream ( ).map (temp -> {
-// AppProjectVO vo = new AppProjectVO ( );
-// BeanUtils.copyProperties (temp, vo);
-// AppTopologyDiagramQueryParm appTopologyDiagramQueryParm = new AppTopologyDiagramQueryParm ( );
-// appTopologyDiagramQueryParm.setProjectId (vo.getId ( ));
-// List appTopologyDiagramVOList = appTopologyDiagramService.queryAppTopologyDiagram (appTopologyDiagramQueryParm);
-// List collect1 = appTopologyDiagramVOList.stream ( ).map (AppTopologyDiagramVO::getFilePath).collect (Collectors.toList ( ));
-// vo.setTopologyDiagramPaths (collect1);
-// return vo;
-// }
-//
-// ).collect (Collectors.toList ( ));
- return returnpage;
- }
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppTopologyDiagramServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppTopologyDiagramServiceImpl.java
deleted file mode 100644
index 1aaaf5a39..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/AppTopologyDiagramServiceImpl.java
+++ /dev/null
@@ -1,137 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
-import com.google.common.base.Objects;
-import com.njcn.algorithm.mapper.AppProjectMapper;
-import com.njcn.algorithm.mapper.AppTopologyDiagramMapper;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramAddParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramAuditParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramQueryPageParm;
-import com.njcn.algorithm.pojo.param.AppTopologyDiagramQueryParm;
-import com.njcn.algorithm.pojo.po.AppProjectPO;
-import com.njcn.algorithm.pojo.po.AppTopologyDiagramPO;
-import com.njcn.algorithm.pojo.vo.AppTopologyDiagramVO;
-import com.njcn.algorithm.service.AppProjectService;
-import com.njcn.algorithm.service.AppTopologyDiagramService;
-import com.njcn.oss.constant.OssPath;
-import com.njcn.oss.utils.FileStorageUtil;
-import lombok.RequiredArgsConstructor;
-import org.apache.commons.lang.StringUtils;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-import org.springframework.web.multipart.MultipartFile;
-
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/3/27 10:24【需求编号】d
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-@RequiredArgsConstructor
-public class AppTopologyDiagramServiceImpl extends MppServiceImpl implements AppTopologyDiagramService {
-
-
- private final FileStorageUtil fileStorageUtil;
- private final AppProjectMapper appServiceMapper;
-
- private final AppTopologyDiagramMapper appTopologyDiagramMapper;
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public Boolean addAppTopologyDiagram(AppTopologyDiagramAddParm appTopologyDiagramAddParm) {
- AppTopologyDiagramPO appTopologyDiagramPO = new AppTopologyDiagramPO();
-
- MultipartFile file = appTopologyDiagramAddParm.getFile ( );
- String filePath = fileStorageUtil.uploadMultipart (file, OssPath.TOPOLOGY);
- appTopologyDiagramPO.setFilePath (filePath);
- appTopologyDiagramPO.setProjectId (appTopologyDiagramAddParm.getProjectId ()==null?"":appTopologyDiagramAddParm.getProjectId ());
- appTopologyDiagramPO.setName (appTopologyDiagramAddParm.getTopologyDiagramName ());
- appTopologyDiagramPO.setStatus ("1");
- boolean save = this.save (appTopologyDiagramPO);
- return save;
- }
-
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public Boolean AuditAppTopologyDiagram(AppTopologyDiagramAuditParm appTopologyDiagramAuditParm) {
- AppTopologyDiagramPO appTopologyDiagramPO = new AppTopologyDiagramPO();
- if(!Objects.equal (appTopologyDiagramAuditParm.getFile (),null )){
- MultipartFile file = appTopologyDiagramAuditParm.getFile ( );
- long size = file.getSize ( );
- String filePath = fileStorageUtil.uploadMultipart (file, OssPath.TOPOLOGY);
- appTopologyDiagramPO.setFilePath (filePath);
- }
- if(appTopologyDiagramAuditParm.getProjectId ()!=null&&appTopologyDiagramAuditParm.getProjectId ()!=""){
- appTopologyDiagramPO.setProjectId (appTopologyDiagramAuditParm.getProjectId ());
- }
- if(appTopologyDiagramAuditParm.getTopologyDiagramName ()!=null&&appTopologyDiagramAuditParm.getTopologyDiagramName ()!=""){
- appTopologyDiagramPO.setName (appTopologyDiagramAuditParm.getTopologyDiagramName ());
- }
- if(appTopologyDiagramAuditParm.getStatus ()!=null&&appTopologyDiagramAuditParm.getTopologyDiagramName ()!=""){
- appTopologyDiagramPO.setStatus (appTopologyDiagramAuditParm.getStatus ());
- }
- UpdateWrapper updateWrapper = new UpdateWrapper<> ();
- updateWrapper.eq ("id",appTopologyDiagramAuditParm.getId ());
- boolean update = this.update (appTopologyDiagramPO, updateWrapper);
- return update;
- }
-
- @Override
- public List queryAppTopologyDiagram(AppTopologyDiagramQueryParm appTopologyDiagramAuditParm) {
- QueryWrapper queryWrapper = new QueryWrapper<> ();
- queryWrapper.eq ("status","1").
- eq (StringUtils.isNotBlank (appTopologyDiagramAuditParm.getId ()),"id",appTopologyDiagramAuditParm.getId ()).
- eq (StringUtils.isNotBlank (appTopologyDiagramAuditParm.getProjectId ()),"project_id",appTopologyDiagramAuditParm.getProjectId ()).
- like (StringUtils.isNotBlank (appTopologyDiagramAuditParm.getName ()),"name", appTopologyDiagramAuditParm.getName ()).
- orderByDesc("create_time");
-
- List list = this.list (queryWrapper);
-
- List collect = list.stream ( ).map (temp -> {
- AppTopologyDiagramVO vo = new AppTopologyDiagramVO ( );
- BeanUtils.copyProperties (temp, vo);
-
- AppProjectPO appProjectPO = appServiceMapper.selectById(vo.getProjectId());
- vo.setProjectName(appProjectPO.getName());
- vo.setFilePath (fileStorageUtil.getFileUrl (vo.getFilePath ()));
- return vo;
- }).collect (Collectors.toList ( ));
- return collect;
- }
-
- @Override
- public IPage queryTopologyDiagramPage(AppTopologyDiagramQueryPageParm appTopologyDiagramQueryPageParm) {
-
- Page returnpage = new Page<> (appTopologyDiagramQueryPageParm.getCurrentPage ( ), appTopologyDiagramQueryPageParm.getPageSize ( ));
- Page tempPage = new Page<> (appTopologyDiagramQueryPageParm.getCurrentPage ( ), appTopologyDiagramQueryPageParm.getPageSize ( ));
-
- QueryWrapper queryWrapper = new QueryWrapper<> ();
- queryWrapper.eq ("status","1").
- eq (StringUtils.isNotBlank (appTopologyDiagramQueryPageParm.getProjectId ()),"project_id",appTopologyDiagramQueryPageParm.getProjectId ()).
- like (StringUtils.isNotBlank (appTopologyDiagramQueryPageParm.getSearchValue ()),"name", appTopologyDiagramQueryPageParm.getSearchValue ()).
- orderByDesc("create_time");
- tempPage = appTopologyDiagramMapper.selectPage (tempPage, queryWrapper);
- List collect = tempPage.getRecords ( ).stream ( ).map (temp -> {
- AppTopologyDiagramVO vo = new AppTopologyDiagramVO ( );
- BeanUtils.copyProperties (temp, vo);
-
- AppProjectPO appProjectPO = appServiceMapper.selectById(vo.getProjectId());
- vo.setProjectName(appProjectPO.getName());
- vo.setFilePath (fileStorageUtil.getFileUrl (temp.getFilePath ( )));
- return vo;
- }).collect (Collectors.toList ( ));
- returnpage.setRecords (collect);
- return returnpage;
- }
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java
deleted file mode 100644
index b5b9c73bb..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.enums.AlgorithmResponseEnum;
-import com.njcn.algorithm.mapper.CsDataEffectiveMapper;
-import com.njcn.algorithm.pojo.param.CsDataEffectiveAddParm;
-import com.njcn.algorithm.pojo.param.CsDataEffectiveAuditParm;
-import com.njcn.algorithm.pojo.param.CsDataEffectiveQueryParm;
-import com.njcn.algorithm.pojo.po.CsDataEffectivePO;
-import com.njcn.algorithm.pojo.vo.CsDataEffectiveVO;
-import com.njcn.algorithm.service.CsDataEffectiveService;
-import com.njcn.common.pojo.exception.BusinessException;
-import org.apache.commons.lang.StringUtils;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/18 9:49【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class CsDataEffectiveServiceImpl extends ServiceImpl implements CsDataEffectiveService{
-
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public boolean add(CsDataEffectiveAddParm csDataEffectiveAddParm) {
-
- CsDataEffectiveQueryParm csDataEffectiveQueryParm = new CsDataEffectiveQueryParm();
- csDataEffectiveQueryParm.setDevId (csDataEffectiveAddParm.getDevId ());
- csDataEffectiveQueryParm.setProjectId (csDataEffectiveAddParm.getProjectId ());
- List list = this.queryDataEffective (csDataEffectiveQueryParm);
- if(list.size ()>0){
- throw new BusinessException (AlgorithmResponseEnum.DATA_ERROR);
- }
- CsDataEffectivePO csDataEffectivePO = new CsDataEffectivePO ();
-
- BeanUtils.copyProperties (csDataEffectiveAddParm, csDataEffectivePO);
- boolean save = this.save (csDataEffectivePO);
- return save;
- }
-
- @Override
- public List queryDataEffective(CsDataEffectiveQueryParm csDataEffectiveQueryParm) {
- QueryWrapper queryWrapper = new QueryWrapper<> ();
- queryWrapper.eq (StringUtils.isNotBlank (csDataEffectiveQueryParm.getId ()),"id",csDataEffectiveQueryParm.getId ()).
- eq (StringUtils.isNotBlank (csDataEffectiveQueryParm.getProjectId ()),"project_id",csDataEffectiveQueryParm.getProjectId ()).
- eq (StringUtils.isNotBlank (csDataEffectiveQueryParm.getDevId ()),"dev_id",csDataEffectiveQueryParm.getDevId ());
- List csDataEffectivePOS = this.getBaseMapper ( ).selectList (queryWrapper);
- List collect = csDataEffectivePOS.stream ( ).map (temp -> {
- CsDataEffectiveVO vo = new CsDataEffectiveVO ( );
- BeanUtils.copyProperties (temp, vo);
- return vo;
- }).collect (Collectors.toList ( ));
- return collect;
- }
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public boolean auditDataEffective(CsDataEffectiveAuditParm auditParm) {
- CsDataEffectiveQueryParm csDataEffectiveQueryParm = new CsDataEffectiveQueryParm();
- csDataEffectiveQueryParm.setDevId (auditParm.getDevId ());
- csDataEffectiveQueryParm.setProjectId (auditParm.getProjectId ());
- List list = this.queryDataEffective (csDataEffectiveQueryParm);
- if(list.size ()>0){
- throw new BusinessException (AlgorithmResponseEnum.DATA_ERROR);
- }
- CsDataEffectivePO csDataEffectivePO = new CsDataEffectivePO ();
-
- BeanUtils.copyProperties (auditParm, csDataEffectivePO);
- boolean flag = this.updateById (csDataEffectivePO);
- return flag;
- }
-
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelRelationServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelRelationServiceImpl.java
deleted file mode 100644
index c124a5f50..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelRelationServiceImpl.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.enums.AlgorithmResponseEnum;
-import com.njcn.algorithm.mapper.CsDevModelRelationMapper;
-import com.njcn.algorithm.pojo.param.CsDevModelRelationAddParm;
-import com.njcn.algorithm.pojo.param.CsDevModelRelationAuidtParm;
-import com.njcn.algorithm.pojo.param.CsDevModelRelationQueryParm;
-import com.njcn.algorithm.pojo.po.CsDevModelRelationPO;
-import com.njcn.algorithm.pojo.vo.CsDevModelRelationVO;
-import com.njcn.algorithm.service.CsDevModelRelationService;
-import com.njcn.common.pojo.exception.BusinessException;
-import org.apache.commons.lang.StringUtils;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/18 13:49【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class CsDevModelRelationServiceImpl extends ServiceImpl implements CsDevModelRelationService{
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public CsDevModelRelationPO addDevModelRelation(CsDevModelRelationAddParm addParm) {
- CsDevModelRelationQueryParm queryParm = new CsDevModelRelationQueryParm();
- queryParm.setDevId (addParm.getDevId ());
- queryParm.setModelId (addParm.getModelId ());
- queryParm.setStatus ("1");
- List csDevModelRelationVOS = this.queryDevModelRelation (queryParm);
- if(csDevModelRelationVOS.size ()>0){
- throw new BusinessException (AlgorithmResponseEnum.DATA_ERROR);
-
- }
- CsDevModelRelationPO csDevModelRelationPO = new CsDevModelRelationPO();
- BeanUtils.copyProperties (addParm, csDevModelRelationPO);
- csDevModelRelationPO.setStatus ("1");
- this.save (csDevModelRelationPO);
- return csDevModelRelationPO;
- }
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public Boolean AuditDevModelRelation(CsDevModelRelationAuidtParm auditParm) {
- CsDevModelRelationQueryParm queryParm = new CsDevModelRelationQueryParm();
- queryParm.setId (auditParm.getId ());
- List csDevModelRelationVOS = this.queryDevModelRelation (queryParm);
- CsDevModelRelationVO csDevModelRelationVO = csDevModelRelationVOS.get (0);
- CsDevModelRelationQueryParm queryParm2 = new CsDevModelRelationQueryParm();
- queryParm2.setDevId (StringUtils.isNotBlank (auditParm.getDevId ())?auditParm.getDevId ():csDevModelRelationVO.getDevId ());
- queryParm2.setModelId (StringUtils.isNotBlank (auditParm.getModelId ())?auditParm.getModelId ():csDevModelRelationVO.getModelId ());
- queryParm2.setStatus ("1");
- List csDevModelRelationVOS2 = this.queryDevModelRelation (queryParm2);
- if(csDevModelRelationVOS.size ()>0){
- throw new BusinessException (AlgorithmResponseEnum.DATA_ERROR);
- }
- CsDevModelRelationPO csDevModelRelationPO = new CsDevModelRelationPO();
- BeanUtils.copyProperties (auditParm, csDevModelRelationPO);
- boolean b = this.updateById (csDevModelRelationPO);
- return b;
- }
-
- @Override
- public List queryDevModelRelation(CsDevModelRelationQueryParm queryParm) {
- QueryWrapper queryWrapper = new QueryWrapper<> ();
- queryWrapper.eq (StringUtils.isNotBlank (queryParm.getId ()),"id",queryParm.getId ()).
- eq (StringUtils.isNotBlank (queryParm.getModelId ()),"model_id",queryParm.getModelId ()).
- eq (StringUtils.isNotBlank (queryParm.getDevId ()),"dev_id",queryParm.getDevId ()).
- eq (StringUtils.isNotBlank (queryParm.getStatus ()),"status",queryParm.getStatus ());
-
- List csDevModelRelationPOS = this.getBaseMapper ( ).selectList (queryWrapper);
- List collect = csDevModelRelationPOS.stream ( ).map (temp -> {
- CsDevModelRelationVO vo = new CsDevModelRelationVO ( );
- BeanUtils.copyProperties (temp, vo);
- return vo;
- }).collect (Collectors.toList ( ));
- return collect;
- }
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelServiceImpl.java
deleted file mode 100644
index 05d1f39fb..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDevModelServiceImpl.java
+++ /dev/null
@@ -1,81 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import cn.hutool.core.date.DatePattern;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.enums.AlgorithmResponseEnum;
-import com.njcn.algorithm.mapper.CsDevModelMapper;
-import com.njcn.algorithm.pojo.param.CsDevModelAddParm;
-import com.njcn.algorithm.pojo.param.CsDevModelAuditParm;
-import com.njcn.algorithm.pojo.param.CsDevModelQueryListParm;
-import com.njcn.algorithm.pojo.param.CsDevModelQueryParm;
-import com.njcn.algorithm.pojo.po.CsDevModelPO;
-import com.njcn.algorithm.pojo.vo.CsDevModelPageVO;
-import com.njcn.algorithm.service.CsDevModelService;
-import com.njcn.common.pojo.exception.BusinessException;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.time.LocalDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.Objects;
-
-/**
- *
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/10 11:28【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class CsDevModelServiceImpl extends ServiceImpl implements CsDevModelService{
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public CsDevModelPO addDevModel(CsDevModelAddParm csDevModelAddParm) {
- CsDevModelPO csDevModelPO = new CsDevModelPO ();
- BeanUtils.copyProperties (csDevModelAddParm, csDevModelPO);
- csDevModelPO.setStatus ("1");
- this.save (csDevModelPO);
- return csDevModelPO;
- }
-
- @Override
- @Transactional(rollbackFor = Exception.class)
- public Boolean AuditDevModel(CsDevModelAuditParm csDevModelAuditParm) {
- CsDevModelPO csDevModelPO = new CsDevModelPO ();
- BeanUtils.copyProperties (csDevModelAuditParm, csDevModelPO);
- boolean b = this.updateById (csDevModelPO);
- return b;
- }
-
- @Override
- public IPage queryPage(CsDevModelQueryParm csDevModelQueryParm) {
- Page returnpage = new Page<> (csDevModelQueryParm.getCurrentPage ( ), csDevModelQueryParm.getPageSize ( ));
-
- returnpage = this.getBaseMapper ().getPage(returnpage,csDevModelQueryParm);
- return returnpage;
- }
-
- @Override
- public CsDevModelPageVO queryDevModelOne(CsDevModelQueryListParm csDevModelQueryListParm) {
-
- CsDevModelPageVO result = this.getBaseMapper ().queryOne(csDevModelQueryListParm);
- return result;
- }
-
- @Override
- public CsDevModelPO findModel(String devType, String version, String time) {
- LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>();
- lambdaQueryWrapper.eq(CsDevModelPO::getDevType,devType)
- .eq(CsDevModelPO::getVersionNo,version)
- .eq(CsDevModelPO::getVersionDate, LocalDateTime.parse(time, DateTimeFormatter.ofPattern(DatePattern.NORM_DATETIME_PATTERN)))
- .eq(CsDevModelPO::getStatus,1);
- return this.baseMapper.selectOne(lambdaQueryWrapper);
- }
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDictServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDictServiceImpl.java
deleted file mode 100644
index bbe4498ee..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDictServiceImpl.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.enums.AlgorithmResponseEnum;
-import com.njcn.algorithm.mapper.CsDictMapper;
-import com.njcn.algorithm.pojo.dto.CsDictDTO;
-import com.njcn.algorithm.pojo.param.CsDictAddParm;
-import com.njcn.algorithm.pojo.po.CsDictPO;
-import com.njcn.algorithm.pojo.vo.CsDictVO;
-import com.njcn.algorithm.service.CsDictService;
-import com.njcn.common.pojo.exception.BusinessException;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.Objects;
-import java.util.stream.Collectors;
-
-/**
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 14:53【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-public class CsDictServiceImpl extends ServiceImpl implements CsDictService {
-
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public Boolean addDict(List csDictAddParms) {
-
- QueryWrapper wrapper = new QueryWrapper<> ( );
- csDictAddParms.stream ( ).forEach (temp -> {
- wrapper.clear ( );
- wrapper.eq ("name", temp.getTypeName ( ));
- CsDictPO csDictPO = this.getBaseMapper ( ).selectOne (wrapper);
- if (Objects.isNull (csDictPO)) {
- csDictPO = new CsDictPO ( );
- csDictPO.setPid ("0");
- csDictPO.setName (temp.getTypeName ( ));
- csDictPO.setAnotherName (temp.getTypeAnotherName ( ));
- csDictPO.setState ("1");
- csDictPO.setSort (0);
- this.save (csDictPO);
- }
- wrapper.clear ( );
- wrapper.eq ("name", temp.getName ( ));
- CsDictPO csDictPO1 = this.getBaseMapper ( ).selectOne (wrapper);
- if (Objects.isNull (csDictPO1)) {
- csDictPO1 = new CsDictPO ( );
- BeanUtils.copyProperties (temp, csDictPO1);
- csDictPO1.setPid (csDictPO.getId ( ));
- csDictPO1.setState ("1");
- csDictPO1.setSort (0);
- this.save (csDictPO1);
- }
-
- });
- return true;
- }
-
- @Override
- public List queryDictData(String dictType) {
- QueryWrapper wrapper = new QueryWrapper<> ( );
- wrapper.eq ("name", dictType).
- eq ("pid", "0").
- eq ("state", "1");
- CsDictPO csDictPO = this.getBaseMapper ( ).selectOne (wrapper);
- if(Objects.isNull (csDictPO)){
- throw new BusinessException (AlgorithmResponseEnum.DICT_DATA_ERROR);
- }else{
- wrapper.clear ();
- wrapper.eq ("pid", csDictPO.getId ());
- }
- List csDictPOS = this.getBaseMapper ( ).selectList (wrapper);
-
- return csDictPOS.stream ().map (temp->{
- CsDictVO csDictVO = new CsDictVO();
- BeanUtils.copyProperties (temp, csDictVO);
- return csDictVO;
- }).collect(Collectors.toList());
- }
-
- @Override
- public CsDictDTO getOwnAndFatherData(String name) {
- CsDictDTO csDictDTO = this.baseMapper.getOwnAndFatherData(name);
- if (Objects.isNull(csDictDTO)){
- throw new BusinessException(AlgorithmResponseEnum.DICT_DATA_ERROR);
- }
- return csDictDTO;
- }
-}
diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsEdDataServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsEdDataServiceImpl.java
deleted file mode 100644
index 53d40c162..000000000
--- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsEdDataServiceImpl.java
+++ /dev/null
@@ -1,89 +0,0 @@
-package com.njcn.algorithm.service.impl;
-
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.njcn.algorithm.mapper.CsEdDataMapper;
-import com.njcn.algorithm.pojo.param.CsEdDataAddParm;
-import com.njcn.algorithm.pojo.param.CsEdDataAuditParm;
-import com.njcn.algorithm.pojo.param.CsEdDataQueryParm;
-import com.njcn.algorithm.pojo.po.CsEdDataPO;
-import com.njcn.algorithm.pojo.vo.CsEdDataVO;
-import com.njcn.algorithm.service.CsEdDataService;
-import com.njcn.oss.constant.OssPath;
-import com.njcn.oss.utils.FileStorageUtil;
-import lombok.RequiredArgsConstructor;
-import org.springframework.beans.BeanUtils;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-import org.springframework.util.CollectionUtils;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-
-/**
- * Description:
- * 接口文档访问地址:http://serverIP:port/swagger-ui.html
- * Date: 2023/4/3 19:12【需求编号】
- *
- * @author clam
- * @version V1.0.0
- */
-@Service
-@RequiredArgsConstructor
-public class CsEdDataServiceImpl extends ServiceImpl implements CsEdDataService {
-
-
- private final FileStorageUtil fileStorageUtil;
-
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public boolean addEdData(CsEdDataAddParm csEdDataAddParm) {
- CsEdDataPO csEdDataPO = new CsEdDataPO ();
- BeanUtils.copyProperties (csEdDataAddParm, csEdDataPO);
- String filePath = fileStorageUtil.uploadMultipart (csEdDataAddParm.getFile (), OssPath.EDDATA);
- csEdDataPO.setFilePath (filePath);
- csEdDataPO.setStatus ("1");
- boolean save = this.save (csEdDataPO);
- return save;
- }
-
- @Override
- @Transactional(rollbackFor = {Exception.class})
- public Boolean auditEdData(CsEdDataAuditParm csEdDataAuditParm) {
- CsEdDataPO csEdDataPO = new CsEdDataPO ();
- BeanUtils.copyProperties (csEdDataAuditParm, csEdDataPO);
- if(!Objects.isNull (csEdDataAuditParm.getFile ())){
- String filePath = fileStorageUtil.uploadMultipart (csEdDataAuditParm.getFile (), OssPath.EDDATA);
- csEdDataPO.setFilePath (filePath);
- }
- boolean b = this.updateById (csEdDataPO);
- return b;
- }
-
- @Override
- public IPage queryEdDataPage(CsEdDataQueryParm csEdDataQueryParm) {
- Page returnpage = new Page<> (csEdDataQueryParm.getCurrentPage ( ), csEdDataQueryParm.getPageSize ( ));
-
- returnpage = this.getBaseMapper ().getPage(returnpage,csEdDataQueryParm);
- return returnpage;
- }
-
- @Override
- public CsEdDataVO findByDevTypeId(String devType) {
- CsEdDataPO csEdDataPo = new CsEdDataPO();
- LambdaQueryWrapper