From 024ff844db3197a5a04dacab4beac8e0514071a0 Mon Sep 17 00:00:00 2001 From: fangjiakai <450850793@qq.com> Date: Wed, 3 Jan 2024 16:36:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E5=90=88prevention=20=20Mapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datasource/check/CheckRecordMapper.java | 151 ++++++++++++++++- .../datasource/check/CheckRouteMapper.java | 59 +++++++ .../datasource/check/CheckUserMapper.java | 55 ++++++ .../datasource/check/CorpFuncMapper.java | 77 +++++++++ .../datasource/check/ListCheckItemMapper.java | 86 ++++++++++ .../check/ListDisableTimeMapper.java | 77 +++++++++ .../datasource/check/ListManagerMapper.java | 158 +++++++++++++++++- .../datasource/check/RecordItemMapper.java | 67 ++++++++ .../datasource/check/SysDateMapper.java | 29 ++++ .../datasource/corp/CorpAdviceMapper.java | 59 +++++++ .../datasource/corp/CorpInfoMapper.java | 50 ++++++ .../datasource/corp/CorpStopMapper.java | 45 +++++ .../datasource/corp/CorpTypeMapper.java | 75 +++++++++ .../datasource/corp/CorpTypeToDeptMapper.java | 67 ++++++++ .../corp/CorpinfoRelatedMapper.java | 59 +++++++ .../datasource/corp/QualificationsMapper.java | 60 +++++++ .../depository/HiddenLibraryMapper.java | 59 +++++++ .../depository/LabelFactoryMapper.java | 64 +++++++ .../depository/LibraryLabelsMapper.java | 62 +++++++ .../depository/LibraryLogMapper.java | 21 +++ .../depository/TermLibraryMapper.java | 59 +++++++ .../datasource/depository/TextInfoMapper.java | 60 +++++++ .../depository/TextLibraryMapper.java | 59 +++++++ .../dynamicAssessment/ReportDataMapper.java | 62 +++++++ .../dynamicAssessment/ReportLogMapper.java | 60 +++++++ .../dynamicAssessment/ReportMapper.java | 64 +++++++ .../datasource/hidden/HiddenCheckMapper.java | 66 ++++++++ .../datasource/hidden/HiddenMapper.java | 150 +++++++++++++++++ .../datasource/hidden/HiddenSchemeMapper.java | 77 +++++++++ .../datasource/offduty/OffDutyMapper.java | 59 +++++++ .../offduty/OffDutySetupMapper.java | 59 +++++++ .../pe/PerformanceExamineDeptMapper.java | 43 +++++ .../pe/PerformanceExamineUserMapper.java | 43 +++++ .../datasource/risk/IdeRepositoryMapper.java | 72 ++++++++ .../risk/IdentificationPartsMapper.java | 96 +++++++++++ .../datasource/risk/ResourceCorpMapper.java | 71 ++++++++ .../datasource/risk/RiskCheckItemMapper.java | 77 +++++++++ .../risk/RiskPointAnalysisMapper.java | 76 +++++++++ .../datasource/risk/RiskPointMapper.java | 91 ++++++++++ .../risk/RiskPointPositionMapper.java | 59 +++++++ .../risk/RiskPointTemporaryMapper.java | 96 +++++++++++ .../datasource/risk/RiskToUserMapper.java | 59 +++++++ .../datasource/risk/RiskUnitMapper.java | 85 ++++++++++ .../risk/RiskpointAnalysisLogMapper.java | 61 +++++++ .../datasource/risk/RiskpointLogMapper.java | 62 +++++++ .../riskWarning/RiskWarningMapper.java | 59 +++++++ .../scheduling/ShiftWorkPeriodMapper.java | 71 ++++++++ .../scheduling/ShiftWorkRulesMapper.java | 69 ++++++++ .../datasource/system/ScheduleMapper.java | 59 +++++++ 49 files changed, 3398 insertions(+), 6 deletions(-) create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/CheckRouteMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/CorpFuncMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/ListCheckItemMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/ListDisableTimeMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/RecordItemMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/check/SysDateMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/CorpAdviceMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/CorpStopMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeToDeptMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/CorpinfoRelatedMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/corp/QualificationsMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/HiddenLibraryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/LabelFactoryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/LibraryLabelsMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/LibraryLogMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/TermLibraryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/TextInfoMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/depository/TextLibraryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportDataMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportLogMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/hidden/HiddenCheckMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/hidden/HiddenSchemeMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/offduty/OffDutyMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/offduty/OffDutySetupMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/IdeRepositoryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/IdentificationPartsMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/ResourceCorpMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskCheckItemMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskPointMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskPointPositionMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskPointTemporaryMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskToUserMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskUnitMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskpointAnalysisLogMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/risk/RiskpointLogMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/riskWarning/RiskWarningMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkPeriodMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkRulesMapper.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/system/ScheduleMapper.java diff --git a/src/main/java/com/zcloud/mapper/datasource/check/CheckRecordMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/CheckRecordMapper.java index c995283..9b7e70f 100644 --- a/src/main/java/com/zcloud/mapper/datasource/check/CheckRecordMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/check/CheckRecordMapper.java @@ -11,7 +11,7 @@ import java.util.List; * 时间:2021-01-04 * 官网:www.zcloudchina.com */ -public interface CheckRecordMapper { +public interface CheckRecordMapper{ /**新增 * @param pd @@ -19,10 +19,159 @@ public interface CheckRecordMapper { */ void save(PageData pd); + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + /**清单逾期检查记录数 * @param pd * @throws Exception */ int countOverTime(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + + /**查询节假日分页 + * @param page + * @throws Exception + */ + List listlistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + List findRiskPointByLId(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List listAllUnfinished(PageData pd); + + /* 统计功能 */ + List listCountDay(PageData pd);/* 统计日 */ + List listCountWeek(PageData pd);/* 统计周 */ + List listCountTenDays(PageData pd);/* 统计旬 */ + List listCountMonth(PageData pd);/* 统计功月 */ + List listCountQuarter(PageData pd);/* 统计季 */ + List listCountHalfYear(PageData pd);/* 统计半年 */ + List listCountYear(PageData pd);/* 统计年 */ + Integer listCountJjr(PageData pd);/* 统计节假日 */ + + + /**修改统计状态 + * @param pd + * @throws Exception + */ + void editStatistics(PageData pd); + + /** + * 查询辨识部位检查记录 + * @param pd + * @return + */ + List listLogByIde(PageData pd); + + /** + * 指定辨识部位检查记录 + * @param pd + * @return + */ + List recordByIde(PageData pd); + + /**补录 + * @param pd + * @throws Exception + */ + void recording(PageData pd); + + + /** + * APP清单检查记录 + * @param pd + * @return + */ + List appdatalist(PageData pd); + + /** + * 统计各用户各类型检查数据 + * @param pd + * @return + */ + List countByPeriodUser(PageData pd); + + /** + * 查询公司检查过清单的员工总数 + * @param pd + * @return + */ + int getWorkedUserCount(PageData pd); + + /** + * 查询公司检查过清单的部门总数 + * @param pd + * @return + */ + public int getWorkedDepCount(PageData pd); + + List listTypeBi(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); + + /** + * 查询检查记录(按ids) + * @param pd + * @return + */ + List listForIdsAndMonth(PageData pd); + + List anaysis(PageData util); + + PageData findByNumber(PageData condition); + + /** + * 清单检查记录(日检)统计(按清单ID统计指定年内检查情况) + * @param pd + * @return + */ + public List listAllYearForDay(PageData pd); + + /** + * 清单检查记录(周检)统计(按清单ID统计指定年内检查情况) + * @param pd + * @return + */ + public List listAllYearForWeek(PageData pd); + + /** + * 清单检查记录(旬检)统计(按清单ID统计指定年内检查情况) + * @param pd + * @return + */ + public List listAllYearForTenday(PageData pd); } diff --git a/src/main/java/com/zcloud/mapper/datasource/check/CheckRouteMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/CheckRouteMapper.java new file mode 100644 index 0000000..44ef87e --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/CheckRouteMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:检查路线 + * 作者:luoxiaobao + * 时间:2022-05-14 + * 官网:www.zcloudchina.com + */ +public interface CheckRouteMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/check/CheckUserMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/CheckUserMapper.java index c76496d..b00b6c1 100644 --- a/src/main/java/com/zcloud/mapper/datasource/check/CheckUserMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/check/CheckUserMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.check; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -12,6 +13,60 @@ import java.util.List; */ public interface CheckUserMapper{ + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**查看检查清单检查人 + * @param pd + * @throws Exception + */ + PageData getCheckUser(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**查询人员检查数 + * @param pd + * @throws Exception + */ + List countCheByUser(PageData pd); + /**绩效得分 * @param pd * @throws Exception diff --git a/src/main/java/com/zcloud/mapper/datasource/check/CorpFuncMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/CorpFuncMapper.java new file mode 100644 index 0000000..be48aab --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/CorpFuncMapper.java @@ -0,0 +1,77 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:企业功能管理 + * 作者:luoxiaobao + * 时间:2021-06-07 + * 官网:www.zcloudchina.com + */ +public interface CorpFuncMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listCheckAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过Key获取数据 + * @param pd + * @throws Exception + */ + PageData findByKey(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteByFunc(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/check/ListCheckItemMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/ListCheckItemMapper.java new file mode 100644 index 0000000..216b455 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/ListCheckItemMapper.java @@ -0,0 +1,86 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:清单-检查项关联 + * 作者:luoxiaobao + * 时间:2020-12-31 + * 官网:www.zcloudchina.com + */ +public interface ListCheckItemMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + List listByriskpointid(PageData pd); + + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**获取隐患数据 + * @param pd + * @throws Exception + */ + PageData findHidden(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteList(PageData pd); + + /**全部风险点 + * @param pd + * @throws Exception + */ + List listAllRisk(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); + + List findByRiskPointIds(String[] ids); + + List findByRiskPointId(PageData riskPoint); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/check/ListDisableTimeMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/ListDisableTimeMapper.java new file mode 100644 index 0000000..1106e55 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/ListDisableTimeMapper.java @@ -0,0 +1,77 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:清单禁用时间段 + * 作者:luoxiaobao + * 时间:2021-06-16 + * 官网:www.zcloudchina.com + */ +public interface ListDisableTimeMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void editEndTime(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**查找完整数据 + * @param pd + * @throws Exception + */ + List listByFull(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过清单获取数据 + * @param pd + * @throws Exception + */ + PageData findByList(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/check/ListManagerMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/ListManagerMapper.java index 42d487f..6626c5e 100644 --- a/src/main/java/com/zcloud/mapper/datasource/check/ListManagerMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/check/ListManagerMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.check; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -10,7 +11,37 @@ import java.util.List; * 时间:2020-12-30 * 官网:www.zcloudchina.com */ -public interface ListManagerMapper { +public interface ListManagerMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**禁用 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void remove(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void deleted(PageData pd); + + /**启用 + * @param pd + * @throws Exception + */ + void enable(PageData pd); /**修改 * @param pd @@ -18,17 +49,71 @@ public interface ListManagerMapper { */ void edit(PageData pd); - /**查询今日待处理清单数 + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + List stopdatalistPage(Page page); + + /**列表(全部) * @param pd * @throws Exception */ - List getListToday(PageData pd); + List listAll(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List appListAll(PageData pd); + + /**查询部门清单 + * @param pd + * @throws Exception + */ + List listListByDep(PageData pd); + + /**查询人员清单 + * @param pd + * @throws Exception + */ + List getListByCorplistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listRecordAll(Page page); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List listAllRisk(PageData pd); + + List recordlistPage(Page page); + + /**待检查清单数量 * @param pd * @throws Exception */ List listExaminedNum(PageData pd); + /**待检查清单数量 + * @param pd + * @throws Exception + */ + List listExaminedNumJjr(PageData pd); List listTempNum(PageData pd); @@ -46,11 +131,19 @@ public interface ListManagerMapper { List selectTemp(PageData pd); - /**待检查清单数量 + /**人员负责清单数 * @param pd * @throws Exception */ - List listExaminedNumJjr(PageData pd); + List countListByUser(PageData pd); + + + + /**查询所有可发送短信的企业的清单 + * @param pd + * @throws Exception + */ + List listAllByCorpMsm(PageData pd); /**查询所有清单清单 @@ -59,6 +152,39 @@ public interface ListManagerMapper { */ List getAllList(PageData pd); + /**首页获取折线图 + * @param pd + * @throws Exception + */ + List goIndexCount(PageData pd); + + /** + * 查询公司清单总数 + * @param pd + * @return + */ + public int getListCount(PageData pd); + + /** + * 查询公司检查过清单的总数 + * @param pd + * @return + */ + public int getWorkedListCount(PageData pd); + + /** + * 根据分类统计清单 + * @param pd + * @return + */ + public List countListByType(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List checklistPage(Page page); + /**上期超期未检查的清单 * @param pd * @throws Exception @@ -77,5 +203,27 @@ public interface ListManagerMapper { */ List overTimeRecordJjr(PageData pd); + /**查询今日待处理清单数 + * @param pd + * @throws Exception + */ + List getListToday(PageData pd); + + List listAllForDiagnosis(PageData pd); + + List listAllPlan(PageData pd); + + List listAllForPlan(PageData pd); + + List getCountNumBi(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); + + List thisMonthListmanager(PageData pd); + + List findByCondition(PageData util); + + List analysis(PageData util); } diff --git a/src/main/java/com/zcloud/mapper/datasource/check/RecordItemMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/RecordItemMapper.java new file mode 100644 index 0000000..1ea1ebe --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/RecordItemMapper.java @@ -0,0 +1,67 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:检查记录详情 + * 作者:luoxiaobao + * 时间:2021-01-04 + * 官网:www.zcloudchina.com + */ +public interface RecordItemMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List listAllForMap(PageData pd); + + /**修改状态 + * @param pd + * @throws Exception + */ + void editIsnormal(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/check/SysDateMapper.java b/src/main/java/com/zcloud/mapper/datasource/check/SysDateMapper.java new file mode 100644 index 0000000..66870d4 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/check/SysDateMapper.java @@ -0,0 +1,29 @@ +package com.zcloud.mapper.datasource.check; + +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:系统日期 + * 作者:luoxiaobao + * 时间:2021-05-07 + * 官网:www.zcloudchina.com + */ +public interface SysDateMapper{ + + + /**节假日 + * @param pd + * @throws Exception + */ + List listAllByJjr(PageData pd); + + /**通过Date获取数据 + * @param pd + * @throws Exception + */ + PageData findByDate(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpAdviceMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpAdviceMapper.java new file mode 100644 index 0000000..d7b4c04 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpAdviceMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:诊断书建议 + * 作者:luoxiaobao + * 时间:2022-02-22 + * 官网:www.zcloudchina.com + */ +public interface CorpAdviceMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpInfoMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpInfoMapper.java index 417dc2f..bb804ae 100644 --- a/src/main/java/com/zcloud/mapper/datasource/corp/CorpInfoMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpInfoMapper.java @@ -1,6 +1,10 @@ package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; +import java.util.List; + /** * 说明:企业管理 * 作者:luoxiaobao @@ -9,11 +13,57 @@ import com.zcloud.entity.PageData; */ public interface CorpInfoMapper { + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + void editIsReceive(PageData pd); + void editSMSCOUNT(PageData pd); + void editISRemind(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + /**通过id获取数据 * @param pd * @throws Exception */ PageData findById(PageData pd); + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + PageData findByName(PageData pd); + + ListlistByCorpType (PageData pd); + + PageData findByCode(PageData pd); + + PageData getInfo(PageData corpCondition); } diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpStopMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpStopMapper.java new file mode 100644 index 0000000..7465bd9 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpStopMapper.java @@ -0,0 +1,45 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:十小企业停用管理 + * 作者:luoxiaobao + * 时间:2020-12-24 + * 官网:www.zcloudchina.com + */ +public interface CorpStopMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + + PageData findById(PageData pd); + + PageData isHandle(PageData pd); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeMapper.java new file mode 100644 index 0000000..6205f48 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeMapper.java @@ -0,0 +1,75 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:企业类型 + * 作者:shaojie + * 时间:2021-03-18 + * 官网:www.qdkjchina.com + */ +public interface CorpTypeMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + List corptypelist(PageData pd); + // + List nextcorptypelist(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List listAllByParentId(PageData pd); + List listMentDictionByPId(String PARENT_ID); + /** + * 根据企业id获取对应的企业类型 + * @param pd + * @return + * @throws Exception + */ + List listByCorpInfoTypeIds (PageData pd); + + List listAllChild(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeToDeptMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeToDeptMapper.java new file mode 100644 index 0000000..a1bb673 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpTypeToDeptMapper.java @@ -0,0 +1,67 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:企业类型主管部门 + * 作者:shaojie + * 时间:2021-03-18 + * 官网:www.qdkjchina.com + */ +public interface CorpTypeToDeptMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + ListfindByCorpTypeId(PageData pd); + /** + * 查询企业类型对应的部门列表 + * @param pd + * @return + * @throws Exception + */ + public List listByCorpTypeIds (PageData pd) throws Exception; +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/CorpinfoRelatedMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/CorpinfoRelatedMapper.java new file mode 100644 index 0000000..e351bd7 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/CorpinfoRelatedMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:企业管理 + * 作者:luoxiaobao + * 时间:2021-04-15 + * 官网:www.zcloudchina.com + */ +public interface CorpinfoRelatedMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/corp/QualificationsMapper.java b/src/main/java/com/zcloud/mapper/datasource/corp/QualificationsMapper.java new file mode 100644 index 0000000..35eb28d --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/corp/QualificationsMapper.java @@ -0,0 +1,60 @@ +package com.zcloud.mapper.datasource.corp; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:行业资质 + * 作者:luoxiaobao + * 时间:2021-01-07 + * 官网:www.zcloudchina.com + */ +public interface QualificationsMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + void editISnearexpiration(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/HiddenLibraryMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/HiddenLibraryMapper.java new file mode 100644 index 0000000..7087825 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/HiddenLibraryMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:隐患库主表 + * 作者:luoxiaobao + * 时间:2023-08-03 + * 官网:www.zcloudchina.com + */ +public interface HiddenLibraryMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/LabelFactoryMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/LabelFactoryMapper.java new file mode 100644 index 0000000..3ac4eba --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/LabelFactoryMapper.java @@ -0,0 +1,64 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:标签库 + * 作者:luoxiaobao + * 时间:2022-12-27 + * 官网:www.zcloudchina.com + */ +public interface LabelFactoryMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List findByAncestors(PageData condition); + + void deleteByAncestors(PageData leafInfo); + + List findAllAncestors(PageData condition); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLabelsMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLabelsMapper.java new file mode 100644 index 0000000..77d1a85 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLabelsMapper.java @@ -0,0 +1,62 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:文本关联标签 + * 作者:luoxiaobao + * 时间:2022-12-27 + * 官网:www.zcloudchina.com + */ +public interface LibraryLabelsMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List findBylibraryId(PageData info); + + void deleteByLibraryId(PageData condition); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLogMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLogMapper.java new file mode 100644 index 0000000..6de4adf --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/LibraryLogMapper.java @@ -0,0 +1,21 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:文本信息 + * 作者:luoxiaobao + * 时间:2022-12-27 + * 官网:www.zcloudchina.com + */ +public interface LibraryLogMapper { + + void save(PageData entity) throws Exception; + + PageData findById(PageData condition) throws Exception; + + List findByLogId(PageData condition) throws Exception; +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/TermLibraryMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/TermLibraryMapper.java new file mode 100644 index 0000000..f5c8ff5 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/TermLibraryMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:包保责任人明细项 + * 作者:luoxiaobao + * 时间:2023-10-13 + * 官网:www.zcloudchina.com + */ +public interface TermLibraryMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/TextInfoMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/TextInfoMapper.java new file mode 100644 index 0000000..715b5ce --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/TextInfoMapper.java @@ -0,0 +1,60 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:文件内容详情 + * 作者:luoxiaobao + * 时间:2023-08-16 + * 官网:www.zcloudchina.com + */ +public interface TextInfoMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + PageData findByMainId(PageData textInfo); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/depository/TextLibraryMapper.java b/src/main/java/com/zcloud/mapper/datasource/depository/TextLibraryMapper.java new file mode 100644 index 0000000..fa52c82 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/depository/TextLibraryMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.depository; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:文本信息 + * 作者:luoxiaobao + * 时间:2022-12-27 + * 官网:www.zcloudchina.com + */ +public interface TextLibraryMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportDataMapper.java b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportDataMapper.java new file mode 100644 index 0000000..151a264 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportDataMapper.java @@ -0,0 +1,62 @@ +package com.zcloud.mapper.datasource.dynamicAssessment; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:报表详细信息 + * 作者:luoxiaobao + * 时间:2023-04-27 + * 官网:www.zcloudchina.com + */ +public interface ReportDataMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + void deleteByMainId(PageData condition); + + List findByMainId(PageData condition); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportLogMapper.java b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportLogMapper.java new file mode 100644 index 0000000..63c1fd5 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportLogMapper.java @@ -0,0 +1,60 @@ +package com.zcloud.mapper.datasource.dynamicAssessment; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险记录详情列表 + * 作者:luoxiaobao + * 时间:2023-04-27 + * 官网:www.zcloudchina.com + */ +public interface ReportLogMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List findByCondition(PageData condition); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportMapper.java b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportMapper.java new file mode 100644 index 0000000..3158b78 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/dynamicAssessment/ReportMapper.java @@ -0,0 +1,64 @@ +package com.zcloud.mapper.datasource.dynamicAssessment; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:报表模板 + * 作者:luoxiaobao + * 时间:2023-04-24 + * 官网:www.zcloudchina.com + */ +public interface ReportMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List findByCondition(PageData condition); + + List findTemplateOne(PageData condition); + + PageData findTemplateTwo(PageData condition); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenCheckMapper.java b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenCheckMapper.java new file mode 100644 index 0000000..5fd4865 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenCheckMapper.java @@ -0,0 +1,66 @@ +package com.zcloud.mapper.datasource.hidden; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:隐患验收人员记录 + * 作者:luoxiaobao + * 时间:2021-01-20 + * 官网:www.zcloudchina.com + */ +public interface HiddenCheckMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + PageData findByHidden(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listExport(PageData pd); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenMapper.java b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenMapper.java index 19b0cbb..a5ff155 100644 --- a/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.hidden; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -12,18 +13,152 @@ import java.util.List; */ public interface HiddenMapper{ + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**修改信息 + * @param pd + * @throws Exception + */ + void editInfo(PageData pd); + void editISCONFIRM(PageData pd); + void editHIDDENLEVEL(PageData pd); + /**定时修改过期隐患 * @param pd * @throws Exception */ void editDeadline(PageData pd); + /**整改 + * @param pd + * @throws Exception + */ + void rectify(PageData pd); + + /**复查 + * @param pd + * @throws Exception + */ + void review(PageData pd); + + /**验收 + * @param pd + * @throws Exception + */ + void check(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + /**查询昨日过期隐患。发短信 * @param pd * @throws Exception */ List getYestoday(PageData pd); + /**列表(全部,用于打印) + * @param pd + * @throws Exception + */ + List listAllToPrint(PageData pd); + List listHiddenAll(PageData pd); + + /** + * 查询清单检查记录中的隐患 + * @param pd + * @return + */ + List getHiddenByRecord(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**根据用户ID获取待验收隐患 + * @param pd + * @throws Exception + */ + List getCountByCheckorId(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**批量修改 + * @param ArrayDATA_IDS + * @throws Exception + */ + void updateAll(PageData hiddens); + + List hiddenStatisticsByDay(PageData pd); + + List hiddenStatisticsAll(PageData pd); + + + List getCountByCreatorId(PageData pd); + List getCountByRectifiCationorId(PageData pd); + + void changeState(PageData pd); + + List getBICount(PageData pd); + + void submit(PageData pd); + + /** + * 提交清单(其他)隐患 + * @param pd + */ + void submitList(PageData pd); + + /**清单其他隐患 + * @param pd + * @throws Exception + */ + List getOtherHidden(PageData pd); + List getCountByHiddenType(PageData pd); + + + /**列表(全部) + * @param pd + * @throws Exception + */ + List getHiddenNum(PageData pd); + + /**列表(全部 + * @param pd + * @throws Exception + */ + List listAllRoll(PageData pd); + /**绩效得分 * @param pd * @throws Exception @@ -31,5 +166,20 @@ public interface HiddenMapper{ List getDeptExamine(PageData pd); List getUserExamine(PageData pd); + + List listAllForDiagnosis(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); + + PageData getUserIndexData(PageData pd); + + PageData getDeptIndexData(PageData pd); + + PageData getSuperviseDeptIndexData(PageData pd); + + List findByMainId(PageData x); + + List anaysis(PageData util); } diff --git a/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenSchemeMapper.java b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenSchemeMapper.java new file mode 100644 index 0000000..3a0c37f --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/hidden/HiddenSchemeMapper.java @@ -0,0 +1,77 @@ +package com.zcloud.mapper.datasource.hidden; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:隐患整改方案 + * 作者:luoxiaobao + * 时间:2021-01-15 + * 官网:www.zcloudchina.com + */ +public interface HiddenSchemeMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void deleteHd(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findByHdId(PageData pd); + + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listExport(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutyMapper.java b/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutyMapper.java new file mode 100644 index 0000000..574d3c4 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutyMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.offduty; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:休假 + * 作者:luoxiaobao + * 时间:2021-06-11 + * 官网:www.zcloudchina.com + */ +public interface OffDutyMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutySetupMapper.java b/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutySetupMapper.java new file mode 100644 index 0000000..4d0020c --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/offduty/OffDutySetupMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.offduty; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:离岗设置 + * 作者:luoxiaobao + * 时间:2021-06-11 + * 官网:www.zcloudchina.com + */ +public interface OffDutySetupMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineDeptMapper.java b/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineDeptMapper.java index fcdd317..2390b2a 100644 --- a/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineDeptMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineDeptMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.pe; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -12,11 +13,53 @@ import java.util.List; */ public interface PerformanceExamineDeptMapper { + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + /**批量新增 * @param list * @throws Exception */ void saveBatch(List list); + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + } diff --git a/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineUserMapper.java b/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineUserMapper.java index 500858b..fb9461f 100644 --- a/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineUserMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/pe/PerformanceExamineUserMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.pe; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -12,11 +13,53 @@ import java.util.List; */ public interface PerformanceExamineUserMapper { + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); /**批量新增 * @param list * @throws Exception */ void saveBatch(List list); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + } diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/IdeRepositoryMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/IdeRepositoryMapper.java new file mode 100644 index 0000000..23e450f --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/IdeRepositoryMapper.java @@ -0,0 +1,72 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:辨识部位资源库 + * 作者:luoxiaobao + * 时间:2021-03-22 + * 官网:www.zcloudchina.com + */ +public interface IdeRepositoryMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表 + * @param page + * @throws Exception + */ + List resdatalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**按照IDs 查询资源库 + * @param ArrayDATA_IDS + * @throws Exception + */ + List listAllByIds(String[] ArrayDATA_IDS); + + int checkHas(PageData pd); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/IdentificationPartsMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/IdentificationPartsMapper.java new file mode 100644 index 0000000..b8c65da --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/IdentificationPartsMapper.java @@ -0,0 +1,96 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:辨识部位 + * 作者:luoxiaobao + * 时间:2020-12-30 + * 官网:www.zcloudchina.com + */ +public interface IdentificationPartsMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**修改匹配资源库状态 + * @param pd + * @throws Exception + */ + void editMatching(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + List listOut(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAllByIdens(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAllByList(PageData pd); + + /**列表(首页) + * @param pd + * @throws Exception + */ + List listIndexAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过名称获取数据 + * @param pd + * @throws Exception + */ + List findByName(PageData pd); + + /**获取BI统计数据 + * @param pd + * @throws Exception + */ + List getBiCount(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/ResourceCorpMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/ResourceCorpMapper.java new file mode 100644 index 0000000..ebf0d33 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/ResourceCorpMapper.java @@ -0,0 +1,71 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:资源库企业管理 + * 作者:luoxiaobao + * 时间:2021-03-22 + * 官网:www.zcloudchina.com + */ +public interface ResourceCorpMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**修改状态 + * @param pd + * @throws Exception + */ + void editStatus(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + int countByCorpId(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskCheckItemMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskCheckItemMapper.java new file mode 100644 index 0000000..e135821 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskCheckItemMapper.java @@ -0,0 +1,77 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险点检查项 + * 作者:luoxiaobao + * 时间:2020-12-30 + * 官网:www.zcloudchina.com + */ +public interface RiskCheckItemMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void editByPoint(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表 + * @param page + * @throws Exception + */ + List itemlistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**清单管理-检查内容查询 + * @param pd + * @throws Exception + */ + List queryRiskCheck(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointAnalysisMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointAnalysisMapper.java index ded0708..357ff5a 100644 --- a/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointAnalysisMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointAnalysisMapper.java @@ -1,5 +1,6 @@ package com.zcloud.mapper.datasource.risk; +import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import java.util.List; @@ -12,6 +13,74 @@ import java.util.List; */ public interface RiskPointAnalysisMapper { + /**新增 + * @param pd + * @return + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**查询所有(资源库配置使用) + * @param pd + * @throws Exception + */ + List listAllToRes(PageData pd); + + List listAllByDc(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findRiskById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List statisticsAll(PageData pd); + /**列表 搜索 风险单元辨识部位模糊查询 + * @param page + * @throws Exception + */ + List datalistPageForNameLikes(Page page); + + void editLonAndLat(PageData pd); + + String countByCorpInfo (PageData pd); + /**绩效得分 * @param pd * @throws Exception @@ -20,5 +89,12 @@ public interface RiskPointAnalysisMapper { List getUserExamine(PageData pd); + List statisticsBI(PageData pd); + + List formlistPage(Page page); + + PageData getDto(PageData condition); + + List formList(PageData condtion); } diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointMapper.java new file mode 100644 index 0000000..6161785 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointMapper.java @@ -0,0 +1,91 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险点台账 + * 作者:luoxiaobao + * 时间:2020-12-29 + * 官网:www.zcloudchina.com + */ +public interface RiskPointMapper{ + + /**新增 + * @param pd + * @return + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**查询所有(资源库配置使用) + * @param pd + * @throws Exception + */ + List listAllToRes(PageData pd); + + List listAllByDc(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findRiskById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List statisticsAll(PageData pd); + /**列表 搜索 风险单元辨识部位模糊查询 + * @param page + * @throws Exception + */ + List datalistPageForNameLikes(Page page); + + void editLonAndLat(PageData pd); + + String countByCorpInfo (PageData pd); + + PageData getDiagnosis(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); + + List getInfo(PageData pageData); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointPositionMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointPositionMapper.java new file mode 100644 index 0000000..f638128 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointPositionMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险点位置 + * 作者:luoxiaobao + * 时间:2020-12-30 + * 官网:www.zcloudchina.com + */ +public interface RiskPointPositionMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointTemporaryMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointTemporaryMapper.java new file mode 100644 index 0000000..1b3b40f --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskPointTemporaryMapper.java @@ -0,0 +1,96 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险点台账 + * 作者:luoxiaobao + * 时间:2020-12-29 + * 官网:www.zcloudchina.com + */ +public interface RiskPointTemporaryMapper{ + + /**新增 + * @param pd + * @return + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**删除已经废弃的临时数据 + * @param pd + * @throws Exception + */ + void deleteAbandoned(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAllByTime(PageData pd); + + /**根据创建时间和辨识部位查询集合 + * @param pd + * @throws Exception + */ + List listAllByIdeAndTime(PageData pd); + + /**查询所有(资源库配置使用) + * @param pd + * @throws Exception + */ + List listAllToRes(PageData pd); + + List listAllByDc(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List statisticsAll(PageData pd); + /**列表 搜索 风险单元辨识部位模糊查询 + * @param page + * @throws Exception + */ + List datalistPageForNameLikes(Page page); + + void editLonAndLat(PageData pd); + + String countByCorpInfo (PageData pd); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskToUserMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskToUserMapper.java new file mode 100644 index 0000000..1da3349 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskToUserMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险点管控人 + * 作者:luoxiaobao + * 时间:2020-12-29 + * 官网:www.zcloudchina.com + */ +public interface RiskToUserMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskUnitMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskUnitMapper.java new file mode 100644 index 0000000..031b348 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskUnitMapper.java @@ -0,0 +1,85 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险单元 + * 作者:luoxiaobao + * 时间:2020-12-30 + * 官网:www.zcloudchina.com + */ +public interface RiskUnitMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + List listOut(PageData pd); + + /**列表(首页) + * @param pd + * @throws Exception + */ + List listIndexAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + /**通过名称获取数据 + * @param pd + * @throws Exception + */ + List findByName(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + /** + * 根据风险单元获取风险点信息 + * @param pd + * @return + */ + List getRisByUnitId (Page page); + + /**风险分布情况统计(BI页) + * @param pd + * @throws Exception + */ + List listUnitLevel(PageData pd); + + List listForDocking(PageData pd); + void updateDocking(PageData pageData); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointAnalysisLogMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointAnalysisLogMapper.java new file mode 100644 index 0000000..a7234b6 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointAnalysisLogMapper.java @@ -0,0 +1,61 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险风险点分析记录 + * 作者:luoxiaobao + * 时间:2023-04-07 + * 官网:www.zcloudchina.com + */ +public interface RiskpointAnalysisLogMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + void updateByHiddenId(PageData condition); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + List findByConditionslistPage(Page page); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointLogMapper.java b/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointLogMapper.java new file mode 100644 index 0000000..96d67a7 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/risk/RiskpointLogMapper.java @@ -0,0 +1,62 @@ +package com.zcloud.mapper.datasource.risk; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险分析记录表 + * 作者:luoxiaobao + * 时间:2023-04-07 + * 官网:www.zcloudchina.com + */ +public interface RiskpointLogMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + void updateByRiskpointId(PageData condition); + + List findByCondition(PageData condtion); +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/riskWarning/RiskWarningMapper.java b/src/main/java/com/zcloud/mapper/datasource/riskWarning/RiskWarningMapper.java new file mode 100644 index 0000000..c32c5d4 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/riskWarning/RiskWarningMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.riskWarning; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:风险提示 + * 作者:luoxiaobao + * 时间:2021-04-27 + * 官网:www.zcloudchina.com + */ +public interface RiskWarningMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkPeriodMapper.java b/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkPeriodMapper.java new file mode 100644 index 0000000..a43e408 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkPeriodMapper.java @@ -0,0 +1,71 @@ +package com.zcloud.mapper.datasource.scheduling; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:倒班规则周期 + * 作者:luoxiaobao + * 时间:2021-12-07 + * 官网:www.zcloudchina.com + */ +public interface ShiftWorkPeriodMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + /**删除 + * @param pd + * @throws Exception + */ + void deleteByRules(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void deleteByUpRules(PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkRulesMapper.java b/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkRulesMapper.java new file mode 100644 index 0000000..d3a0d14 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/scheduling/ShiftWorkRulesMapper.java @@ -0,0 +1,69 @@ +package com.zcloud.mapper.datasource.scheduling; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明:倒班规则 + * 作者:luoxiaobao + * 时间:2021-12-07 + * 官网:www.zcloudchina.com + */ +public interface ShiftWorkRulesMapper{ + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void deleteByPar(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + + int isUseOne (PageData pd); + + int isUseTwo (PageData pd); + +} + diff --git a/src/main/java/com/zcloud/mapper/datasource/system/ScheduleMapper.java b/src/main/java/com/zcloud/mapper/datasource/system/ScheduleMapper.java new file mode 100644 index 0000000..7c3fafe --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/system/ScheduleMapper.java @@ -0,0 +1,59 @@ +package com.zcloud.mapper.datasource.system; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * 说明: 日程安排Mapper + * 作者:zCloud + * 官网: + * @version + */ +public interface ScheduleMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**删除 + * @param pd + * @throws Exception + */ + void delete(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**列表 + * @param page + * @throws Exception + */ + List datalistPage(Page page); + + /**列表(全部) + * @param pd + * @throws Exception + */ + List listAll(PageData pd); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + /**批量删除 + * @param ArrayDATA_IDS + * @throws Exception + */ + void deleteAll(String[] ArrayDATA_IDS); + +} +