diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheck.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheck.java new file mode 100755 index 00000000..84edfbf8 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheck.java @@ -0,0 +1,184 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +/** + * 检查数据对象 safe_penetration_check + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationCheck extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 项目ID */ + @Excel(name = "项目ID") + private Long projectId; + + /** 检查类型 1-横向检查 2-班前 3-班后 4-关键施工 */ + @Excel(name = "检查类型 1-横向检查 2-班前 3-班后 4-关键施工") + private Long checkType; + + /** 检查时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date checkDate; + + /** 检查部门 */ + @Excel(name = "检查部门") + private Long deptId; + + /** 被检查人 */ + @Excel(name = "被检查人") + private Long checkedPerson; + + /** 检查图片 */ + @Excel(name = "检查图片") + private String checkedImgs; + + /** 网格点 */ + @Excel(name = "网格点") + private Long gridId; + + /** 施工部位 */ + @Excel(name = "施工部位") + private Long gridRangeId; + + /** 检查意见 0-不同意 1-同意 */ + @Excel(name = "检查意见 0-不同意 1-同意") + private Long inspectionOpinion; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long state; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setCheckType(Long checkType) + { + this.checkType = checkType; + } + + public Long getCheckType() + { + return checkType; + } + public void setCheckDate(Date checkDate) + { + this.checkDate = checkDate; + } + + public Date getCheckDate() + { + return checkDate; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setCheckedPerson(Long checkedPerson) + { + this.checkedPerson = checkedPerson; + } + + public Long getCheckedPerson() + { + return checkedPerson; + } + public void setCheckedImgs(String checkedImgs) + { + this.checkedImgs = checkedImgs; + } + + public String getCheckedImgs() + { + return checkedImgs; + } + public void setGridId(Long gridId) + { + this.gridId = gridId; + } + + public Long getGridId() + { + return gridId; + } + public void setGridRangeId(Long gridRangeId) + { + this.gridRangeId = gridRangeId; + } + + public Long getGridRangeId() + { + return gridRangeId; + } + public void setInspectionOpinion(Long inspectionOpinion) + { + this.inspectionOpinion = inspectionOpinion; + } + + public Long getInspectionOpinion() + { + return inspectionOpinion; + } + public void setState(Long state) + { + this.state = state; + } + + public Long getState() + { + return state; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("checkType", getCheckType()) + .append("checkDate", getCheckDate()) + .append("deptId", getDeptId()) + .append("checkedPerson", getCheckedPerson()) + .append("checkedImgs", getCheckedImgs()) + .append("gridId", getGridId()) + .append("gridRangeId", getGridRangeId()) + .append("inspectionOpinion", getInspectionOpinion()) + .append("state", getState()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheckData.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheckData.java new file mode 100755 index 00000000..d0d0c7f9 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationCheckData.java @@ -0,0 +1,81 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 检查数据项对象 safe_penetration_check_data + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationCheckData extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 检查ID */ + @Excel(name = "检查ID") + private Long checkId; + + /** 检查项ID */ + @Excel(name = "检查项ID") + private Long itemId; + + /** 是否通过 0-不通过 1-通过 */ + @Excel(name = "是否通过 0-不通过 1-通过") + private Long isPass; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCheckId(Long checkId) + { + this.checkId = checkId; + } + + public Long getCheckId() + { + return checkId; + } + public void setItemId(Long itemId) + { + this.itemId = itemId; + } + + public Long getItemId() + { + return itemId; + } + public void setIsPass(Long isPass) + { + this.isPass = isPass; + } + + public Long getIsPass() + { + return isPass; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("checkId", getCheckId()) + .append("itemId", getItemId()) + .append("isPass", getIsPass()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGrid.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGrid.java new file mode 100755 index 00000000..7365075e --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGrid.java @@ -0,0 +1,183 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +/** + * 网格对象 safe_penetration_grid + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationGrid extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 项目ID */ + @Excel(name = "项目ID") + private Long projectId; + + /** 网格名称 */ + @Excel(name = "网格名称") + private String gridName; + + /** 网格号 */ + @Excel(name = "网格号") + private Long gridNo; + + /** 安监专务 */ + @Excel(name = "安监专务") + private Long securityCheck; + + /** 网格安全员 */ + @Excel(name = "网格安全员") + private Long gridUser; + + /** 网格长 */ + @Excel(name = "网格长") + private Long gridLeader; + + /** 应急联系人 */ + @Excel(name = "应急联系人") + private Long emergencyContact; + + /** 高峰期作业人员数 */ + @Excel(name = "高峰期作业人员数") + private Long workerCount; + + /** 排序 */ + @Excel(name = "排序") + private Long sorted; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long state; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setGridName(String gridName) + { + this.gridName = gridName; + } + + public String getGridName() + { + return gridName; + } + public void setGridNo(Long gridNo) + { + this.gridNo = gridNo; + } + + public Long getGridNo() + { + return gridNo; + } + public void setSecurityCheck(Long securityCheck) + { + this.securityCheck = securityCheck; + } + + public Long getSecurityCheck() + { + return securityCheck; + } + public void setGridUser(Long gridUser) + { + this.gridUser = gridUser; + } + + public Long getGridUser() + { + return gridUser; + } + public void setGridLeader(Long gridLeader) + { + this.gridLeader = gridLeader; + } + + public Long getGridLeader() + { + return gridLeader; + } + public void setEmergencyContact(Long emergencyContact) + { + this.emergencyContact = emergencyContact; + } + + public Long getEmergencyContact() + { + return emergencyContact; + } + public void setWorkerCount(Long workerCount) + { + this.workerCount = workerCount; + } + + public Long getWorkerCount() + { + return workerCount; + } + public void setSorted(Long sorted) + { + this.sorted = sorted; + } + + public Long getSorted() + { + return sorted; + } + public void setState(Long state) + { + this.state = state; + } + + public Long getState() + { + return state; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("gridName", getGridName()) + .append("gridNo", getGridNo()) + .append("securityCheck", getSecurityCheck()) + .append("gridUser", getGridUser()) + .append("gridLeader", getGridLeader()) + .append("emergencyContact", getEmergencyContact()) + .append("workerCount", getWorkerCount()) + .append("sorted", getSorted()) + .append("state", getState()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridGroup.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridGroup.java new file mode 100755 index 00000000..c748c85e --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridGroup.java @@ -0,0 +1,67 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 网格-现场负责人对象 safe_penetration_grid_group + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationGridGroup extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 网格ID */ + @Excel(name = "网格ID") + private Long gridId; + + /** 施工员 */ + @Excel(name = "施工员") + private Long groupId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setGridId(Long gridId) + { + this.gridId = gridId; + } + + public Long getGridId() + { + return gridId; + } + public void setGroupId(Long groupId) + { + this.groupId = groupId; + } + + public Long getGroupId() + { + return groupId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("gridId", getGridId()) + .append("groupId", getGroupId()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridSiteLeader.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridSiteLeader.java new file mode 100755 index 00000000..55ab80cb --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridSiteLeader.java @@ -0,0 +1,66 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +/** + * 网格-现场负责人对象 safe_penetration_grid_site_leader + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationGridSiteLeader extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 网格ID */ + @Excel(name = "网格ID") + private Long gridId; + + /** 施工员 */ + @Excel(name = "施工员") + private Long userId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setGridId(Long gridId) + { + this.gridId = gridId; + } + + public Long getGridId() + { + return gridId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("gridId", getGridId()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridWorker.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridWorker.java new file mode 100755 index 00000000..42f96db8 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationGridWorker.java @@ -0,0 +1,67 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 网格-施工员对象 safe_penetration_grid_worker + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationGridWorker extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 网格ID */ + @Excel(name = "网格ID") + private Long gridId; + + /** 施工员 */ + @Excel(name = "施工员") + private Long userId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setGridId(Long gridId) + { + this.gridId = gridId; + } + + public Long getGridId() + { + return gridId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("gridId", getGridId()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationItem.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationItem.java new file mode 100755 index 00000000..9306ec41 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationItem.java @@ -0,0 +1,178 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; +/** + * 网格管理配置项对象 safe_penetration_item + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationItem extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 项目ID */ + @Excel(name = "项目ID") + private Long projectId; + + /** 父部门id */ + @Excel(name = "父部门id") + private Long parentId; + + /** 条目类型0-条目 1-分类 2-事故 */ + @Excel(name = "条目类型0-条目 1-分类 2-事故") + private Long itemType; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String itemDesc; + + /** 条目类目 1-横向检查 2-纵向检查 3-跟班作业 */ + @Excel(name = "条目类目 1-横向检查 2-纵向检查 3-跟班作业") + private Long itemCatetory; + + /** 外部id */ + @Excel(name = "外部id") + private Long itemKey; + + /** 风险因素 */ + @Excel(name = "风险因素") + private String riskFactor; + + /** 风险等级 1.低风险 2一般风险 3.较大风险 */ + @Excel(name = "风险等级 1.低风险 2一般风险 3.较大风险") + private Long riskLevel; + + /** 控制措施 */ + @Excel(name = "控制措施") + private String controlMeasure; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long sorted; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setParentId(Long parentId) + { + this.parentId = parentId; + } + + public Long getParentId() + { + return parentId; + } + public void setItemType(Long itemType) + { + this.itemType = itemType; + } + + public Long getItemType() + { + return itemType; + } + public void setItemDesc(String itemDesc) + { + this.itemDesc = itemDesc; + } + + public String getItemDesc() + { + return itemDesc; + } + public void setItemCatetory(Long itemCatetory) + { + this.itemCatetory = itemCatetory; + } + + public Long getItemCatetory() + { + return itemCatetory; + } + public void setItemKey(Long itemKey) + { + this.itemKey = itemKey; + } + + public Long getItemKey() + { + return itemKey; + } + public void setRiskFactor(String riskFactor) + { + this.riskFactor = riskFactor; + } + + public String getRiskFactor() + { + return riskFactor; + } + public void setRiskLevel(Long riskLevel) + { + this.riskLevel = riskLevel; + } + + public Long getRiskLevel() + { + return riskLevel; + } + public void setControlMeasure(String controlMeasure) + { + this.controlMeasure = controlMeasure; + } + + public String getControlMeasure() + { + return controlMeasure; + } + public void setSorted(Long sorted) + { + this.sorted = sorted; + } + + public Long getSorted() + { + return sorted; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("parentId", getParentId()) + .append("itemType", getItemType()) + .append("itemDesc", getItemDesc()) + .append("itemCatetory", getItemCatetory()) + .append("itemKey", getItemKey()) + .append("riskFactor", getRiskFactor()) + .append("riskLevel", getRiskLevel()) + .append("controlMeasure", getControlMeasure()) + .append("sorted", getSorted()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationRange.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationRange.java new file mode 100755 index 00000000..a16fc5b2 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationRange.java @@ -0,0 +1,151 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 网格-范围对象 safe_penetration_range + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationRange extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 网格ID */ + @Excel(name = "网格ID") + private Long gridId; + + /** 工程类型 */ + @Excel(name = "工程类型") + private Long engineeringType; + + /** 工点 */ + @Excel(name = "工点") + private Long workspaceId; + + /** 部位 0-上部结构 1-下部结构 */ + @Excel(name = "部位 0-上部结构 1-下部结构") + private Long position; + + /** 里程DK1-a */ + @Excel(name = "里程DK1-a") + private Long dk1a; + + /** 里程DK1-b */ + @Excel(name = "里程DK1-b") + private Long dk1b; + + /** 里程DK2-a */ + @Excel(name = "里程DK2-a") + private Long dk2a; + + /** 里程DK2-b */ + @Excel(name = "里程DK2-b") + private Long dk2b; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setGridId(Long gridId) + { + this.gridId = gridId; + } + + public Long getGridId() + { + return gridId; + } + public void setEngineeringType(Long engineeringType) + { + this.engineeringType = engineeringType; + } + + public Long getEngineeringType() + { + return engineeringType; + } + public void setWorkspaceId(Long workspaceId) + { + this.workspaceId = workspaceId; + } + + public Long getWorkspaceId() + { + return workspaceId; + } + public void setPosition(Long position) + { + this.position = position; + } + + public Long getPosition() + { + return position; + } + public void setDk1a(Long dk1a) + { + this.dk1a = dk1a; + } + + public Long getDk1a() + { + return dk1a; + } + public void setDk1b(Long dk1b) + { + this.dk1b = dk1b; + } + + public Long getDk1b() + { + return dk1b; + } + public void setDk2a(Long dk2a) + { + this.dk2a = dk2a; + } + + public Long getDk2a() + { + return dk2a; + } + public void setDk2b(Long dk2b) + { + this.dk2b = dk2b; + } + + public Long getDk2b() + { + return dk2b; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("gridId", getGridId()) + .append("engineeringType", getEngineeringType()) + .append("workspaceId", getWorkspaceId()) + .append("position", getPosition()) + .append("dk1a", getDk1a()) + .append("dk1b", getDk1b()) + .append("dk2a", getDk2a()) + .append("dk2b", getDk2b()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationWorkspace.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationWorkspace.java new file mode 100755 index 00000000..614d2d9b --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/domain/SafePenetrationWorkspace.java @@ -0,0 +1,128 @@ +package com.yanzhu.manage.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.yanzhu.common.core.annotation.Excel; +import com.yanzhu.common.core.web.domain.BaseEntity; + +/** + * 工点对象 safe_penetration_workspace + * + * @author yanzhu + * @date 2026-04-10 + */ +public class SafePenetrationWorkspace extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 项目ID */ + @Excel(name = "项目ID") + private Long projectId; + + /** 节点名称 */ + @Excel(name = "节点名称") + private String nodeName; + + /** 节点类型 */ + @Excel(name = "节点类型") + private Long nodeType; + + /** 工点类型 */ + @Excel(name = "工点类型") + private Long workspaceType; + + /** 排序 */ + @Excel(name = "排序") + private Long sorted; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long state; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setProjectId(Long projectId) + { + this.projectId = projectId; + } + + public Long getProjectId() + { + return projectId; + } + public void setNodeName(String nodeName) + { + this.nodeName = nodeName; + } + + public String getNodeName() + { + return nodeName; + } + public void setNodeType(Long nodeType) + { + this.nodeType = nodeType; + } + + public Long getNodeType() + { + return nodeType; + } + public void setWorkspaceType(Long workspaceType) + { + this.workspaceType = workspaceType; + } + + public Long getWorkspaceType() + { + return workspaceType; + } + public void setSorted(Long sorted) + { + this.sorted = sorted; + } + + public Long getSorted() + { + return sorted; + } + public void setState(Long state) + { + this.state = state; + } + + public Long getState() + { + return state; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("projectId", getProjectId()) + .append("nodeName", getNodeName()) + .append("nodeType", getNodeType()) + .append("workspaceType", getWorkspaceType()) + .append("sorted", getSorted()) + .append("state", getState()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckDataMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckDataMapper.java new file mode 100755 index 00000000..b46f4457 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckDataMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationCheckData; + +/** + * 检查数据项Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationCheckDataMapper +{ + /** + * 查询检查数据项 + * + * @param id 检查数据项主键 + * @return 检查数据项 + */ + public SafePenetrationCheckData selectSafePenetrationCheckDataById(Long id); + + /** + * 查询检查数据项列表 + * + * @param safePenetrationCheckData 检查数据项 + * @return 检查数据项集合 + */ + public List selectSafePenetrationCheckDataList(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 新增检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + public int insertSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 修改检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + public int updateSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 删除检查数据项 + * + * @param id 检查数据项主键 + * @return 结果 + */ + public int deleteSafePenetrationCheckDataById(Long id); + + /** + * 批量删除检查数据项 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationCheckDataByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckMapper.java new file mode 100755 index 00000000..e94fdb1f --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationCheckMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationCheck; + +/** + * 检查数据Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationCheckMapper +{ + /** + * 查询检查数据 + * + * @param id 检查数据主键 + * @return 检查数据 + */ + public SafePenetrationCheck selectSafePenetrationCheckById(Long id); + + /** + * 查询检查数据列表 + * + * @param safePenetrationCheck 检查数据 + * @return 检查数据集合 + */ + public List selectSafePenetrationCheckList(SafePenetrationCheck safePenetrationCheck); + + /** + * 新增检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + public int insertSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck); + + /** + * 修改检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + public int updateSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck); + + /** + * 删除检查数据 + * + * @param id 检查数据主键 + * @return 结果 + */ + public int deleteSafePenetrationCheckById(Long id); + + /** + * 批量删除检查数据 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationCheckByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridGroupMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridGroupMapper.java new file mode 100755 index 00000000..92f8e19c --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridGroupMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridGroup; + +/** + * 网格-现场负责人Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationGridGroupMapper +{ + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + public SafePenetrationGridGroup selectSafePenetrationGridGroupById(Long id); + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 网格-现场负责人集合 + */ + public List selectSafePenetrationGridGroupList(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + public int insertSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + public int updateSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 删除网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + public int deleteSafePenetrationGridGroupById(Long id); + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridGroupByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridMapper.java new file mode 100755 index 00000000..83f1fc09 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGrid; + +/** + * 网格Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationGridMapper +{ + /** + * 查询网格 + * + * @param id 网格主键 + * @return 网格 + */ + public SafePenetrationGrid selectSafePenetrationGridById(Long id); + + /** + * 查询网格列表 + * + * @param safePenetrationGrid 网格 + * @return 网格集合 + */ + public List selectSafePenetrationGridList(SafePenetrationGrid safePenetrationGrid); + + /** + * 新增网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + public int insertSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid); + + /** + * 修改网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + public int updateSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid); + + /** + * 删除网格 + * + * @param id 网格主键 + * @return 结果 + */ + public int deleteSafePenetrationGridById(Long id); + + /** + * 批量删除网格 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridSiteLeaderMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridSiteLeaderMapper.java new file mode 100755 index 00000000..a504d853 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridSiteLeaderMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridSiteLeader; + +/** + * 网格-现场负责人Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationGridSiteLeaderMapper +{ + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + public SafePenetrationGridSiteLeader selectSafePenetrationGridSiteLeaderById(Long id); + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 网格-现场负责人集合 + */ + public List selectSafePenetrationGridSiteLeaderList(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + public int insertSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + public int updateSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 删除网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + public int deleteSafePenetrationGridSiteLeaderById(Long id); + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridSiteLeaderByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridWorkerMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridWorkerMapper.java new file mode 100755 index 00000000..155edfe9 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationGridWorkerMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridWorker; + +/** + * 网格-施工员Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationGridWorkerMapper +{ + /** + * 查询网格-施工员 + * + * @param id 网格-施工员主键 + * @return 网格-施工员 + */ + public SafePenetrationGridWorker selectSafePenetrationGridWorkerById(Long id); + + /** + * 查询网格-施工员列表 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 网格-施工员集合 + */ + public List selectSafePenetrationGridWorkerList(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 新增网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + public int insertSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 修改网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + public int updateSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 删除网格-施工员 + * + * @param id 网格-施工员主键 + * @return 结果 + */ + public int deleteSafePenetrationGridWorkerById(Long id); + + /** + * 批量删除网格-施工员 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridWorkerByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationItemMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationItemMapper.java new file mode 100755 index 00000000..1e07c877 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationItemMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationItem; + +/** + * 网格管理配置项Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationItemMapper +{ + /** + * 查询网格管理配置项 + * + * @param id 网格管理配置项主键 + * @return 网格管理配置项 + */ + public SafePenetrationItem selectSafePenetrationItemById(Long id); + + /** + * 查询网格管理配置项列表 + * + * @param safePenetrationItem 网格管理配置项 + * @return 网格管理配置项集合 + */ + public List selectSafePenetrationItemList(SafePenetrationItem safePenetrationItem); + + /** + * 新增网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + public int insertSafePenetrationItem(SafePenetrationItem safePenetrationItem); + + /** + * 修改网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + public int updateSafePenetrationItem(SafePenetrationItem safePenetrationItem); + + /** + * 删除网格管理配置项 + * + * @param id 网格管理配置项主键 + * @return 结果 + */ + public int deleteSafePenetrationItemById(Long id); + + /** + * 批量删除网格管理配置项 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationItemByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationRangeMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationRangeMapper.java new file mode 100755 index 00000000..b2e9c705 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationRangeMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationRange; + +/** + * 网格-范围Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationRangeMapper +{ + /** + * 查询网格-范围 + * + * @param id 网格-范围主键 + * @return 网格-范围 + */ + public SafePenetrationRange selectSafePenetrationRangeById(Long id); + + /** + * 查询网格-范围列表 + * + * @param safePenetrationRange 网格-范围 + * @return 网格-范围集合 + */ + public List selectSafePenetrationRangeList(SafePenetrationRange safePenetrationRange); + + /** + * 新增网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + public int insertSafePenetrationRange(SafePenetrationRange safePenetrationRange); + + /** + * 修改网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + public int updateSafePenetrationRange(SafePenetrationRange safePenetrationRange); + + /** + * 删除网格-范围 + * + * @param id 网格-范围主键 + * @return 结果 + */ + public int deleteSafePenetrationRangeById(Long id); + + /** + * 批量删除网格-范围 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationRangeByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationWorkspaceMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationWorkspaceMapper.java new file mode 100755 index 00000000..d85e3e34 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/SafePenetrationWorkspaceMapper.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.mapper; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationWorkspace; + +/** + * 工点Mapper接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface SafePenetrationWorkspaceMapper +{ + /** + * 查询工点 + * + * @param id 工点主键 + * @return 工点 + */ + public SafePenetrationWorkspace selectSafePenetrationWorkspaceById(Long id); + + /** + * 查询工点列表 + * + * @param safePenetrationWorkspace 工点 + * @return 工点集合 + */ + public List selectSafePenetrationWorkspaceList(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 新增工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + public int insertSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 修改工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + public int updateSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 删除工点 + * + * @param id 工点主键 + * @return 结果 + */ + public int deleteSafePenetrationWorkspaceById(Long id); + + /** + * 批量删除工点 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationWorkspaceByIds(Long[] ids); +} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckDataMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckDataMapper.xml new file mode 100755 index 00000000..68543a78 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckDataMapper.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + select id, check_id, item_id, is_pass from safe_penetration_check_data + + + + + + + + insert into safe_penetration_check_data + + check_id, + item_id, + is_pass, + + + #{checkId}, + #{itemId}, + #{isPass}, + + + + + update safe_penetration_check_data + + check_id = #{checkId}, + item_id = #{itemId}, + is_pass = #{isPass}, + + where id = #{id} + + + + delete from safe_penetration_check_data where id = #{id} + + + + delete from safe_penetration_check_data where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckMapper.xml new file mode 100755 index 00000000..530a5942 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationCheckMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select id, project_id, check_type, check_date, dept_id, checked_person, checked_imgs, grid_id, grid_range_id, inspection_opinion, state, remark, create_by, create_time, update_by, update_time from safe_penetration_check + + + + + + + + insert into safe_penetration_check + + project_id, + check_type, + check_date, + dept_id, + checked_person, + checked_imgs, + grid_id, + grid_range_id, + inspection_opinion, + state, + remark, + create_by, + create_time, + update_by, + update_time, + + + #{projectId}, + #{checkType}, + #{checkDate}, + #{deptId}, + #{checkedPerson}, + #{checkedImgs}, + #{gridId}, + #{gridRangeId}, + #{inspectionOpinion}, + #{state}, + #{remark}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update safe_penetration_check + + project_id = #{projectId}, + check_type = #{checkType}, + check_date = #{checkDate}, + dept_id = #{deptId}, + checked_person = #{checkedPerson}, + checked_imgs = #{checkedImgs}, + grid_id = #{gridId}, + grid_range_id = #{gridRangeId}, + inspection_opinion = #{inspectionOpinion}, + state = #{state}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from safe_penetration_check where id = #{id} + + + + delete from safe_penetration_check where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridGroupMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridGroupMapper.xml new file mode 100755 index 00000000..9f9ae1b8 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridGroupMapper.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + select id, grid_id, group_id from safe_penetration_grid_group + + + + + + + + insert into safe_penetration_grid_group + + grid_id, + group_id, + + + #{gridId}, + #{groupId}, + + + + + update safe_penetration_grid_group + + grid_id = #{gridId}, + group_id = #{groupId}, + + where id = #{id} + + + + delete from safe_penetration_grid_group where id = #{id} + + + + delete from safe_penetration_grid_group where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridMapper.xml new file mode 100755 index 00000000..2b76cfab --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select id, project_id, grid_name, grid_no, security_check, grid_user, grid_leader, emergency_contact, worker_count, sorted, state, remark, create_by, create_time, update_by, update_time from safe_penetration_grid + + + + + + + + insert into safe_penetration_grid + + project_id, + grid_name, + grid_no, + security_check, + grid_user, + grid_leader, + emergency_contact, + worker_count, + sorted, + state, + remark, + create_by, + create_time, + update_by, + update_time, + + + #{projectId}, + #{gridName}, + #{gridNo}, + #{securityCheck}, + #{gridUser}, + #{gridLeader}, + #{emergencyContact}, + #{workerCount}, + #{sorted}, + #{state}, + #{remark}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update safe_penetration_grid + + project_id = #{projectId}, + grid_name = #{gridName}, + grid_no = #{gridNo}, + security_check = #{securityCheck}, + grid_user = #{gridUser}, + grid_leader = #{gridLeader}, + emergency_contact = #{emergencyContact}, + worker_count = #{workerCount}, + sorted = #{sorted}, + state = #{state}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from safe_penetration_grid where id = #{id} + + + + delete from safe_penetration_grid where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridSiteLeaderMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridSiteLeaderMapper.xml new file mode 100755 index 00000000..92227943 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridSiteLeaderMapper.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + select id, grid_id, user_id from safe_penetration_grid_site_leader + + + + + + + + insert into safe_penetration_grid_site_leader + + grid_id, + user_id, + + + #{gridId}, + #{userId}, + + + + + update safe_penetration_grid_site_leader + + grid_id = #{gridId}, + user_id = #{userId}, + + where id = #{id} + + + + delete from safe_penetration_grid_site_leader where id = #{id} + + + + delete from safe_penetration_grid_site_leader where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridWorkerMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridWorkerMapper.xml new file mode 100755 index 00000000..57081b0a --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationGridWorkerMapper.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + select id, grid_id, user_id from safe_penetration_grid_worker + + + + + + + + insert into safe_penetration_grid_worker + + grid_id, + user_id, + + + #{gridId}, + #{userId}, + + + + + update safe_penetration_grid_worker + + grid_id = #{gridId}, + user_id = #{userId}, + + where id = #{id} + + + + delete from safe_penetration_grid_worker where id = #{id} + + + + delete from safe_penetration_grid_worker where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationItemMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationItemMapper.xml new file mode 100755 index 00000000..0984af0e --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationItemMapper.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + select id, project_id, parent_id, item_type, item_desc, item_catetory, item_key, risk_factor, risk_level, control_measure, sorted from safe_penetration_item + + + + + + + + insert into safe_penetration_item + + project_id, + parent_id, + item_type, + item_desc, + item_catetory, + item_key, + risk_factor, + risk_level, + control_measure, + sorted, + + + #{projectId}, + #{parentId}, + #{itemType}, + #{itemDesc}, + #{itemCatetory}, + #{itemKey}, + #{riskFactor}, + #{riskLevel}, + #{controlMeasure}, + #{sorted}, + + + + + update safe_penetration_item + + project_id = #{projectId}, + parent_id = #{parentId}, + item_type = #{itemType}, + item_desc = #{itemDesc}, + item_catetory = #{itemCatetory}, + item_key = #{itemKey}, + risk_factor = #{riskFactor}, + risk_level = #{riskLevel}, + control_measure = #{controlMeasure}, + sorted = #{sorted}, + + where id = #{id} + + + + delete from safe_penetration_item where id = #{id} + + + + delete from safe_penetration_item where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationRangeMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationRangeMapper.xml new file mode 100755 index 00000000..890a1567 --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationRangeMapper.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + select id, grid_id, engineering_type, workspace_id, position, dk1a, dk1b, dk2a, dk2b from safe_penetration_range + + + + + + + + insert into safe_penetration_range + + grid_id, + engineering_type, + workspace_id, + position, + dk1a, + dk1b, + dk2a, + dk2b, + + + #{gridId}, + #{engineeringType}, + #{workspaceId}, + #{position}, + #{dk1a}, + #{dk1b}, + #{dk2a}, + #{dk2b}, + + + + + update safe_penetration_range + + grid_id = #{gridId}, + engineering_type = #{engineeringType}, + workspace_id = #{workspaceId}, + position = #{position}, + dk1a = #{dk1a}, + dk1b = #{dk1b}, + dk2a = #{dk2a}, + dk2b = #{dk2b}, + + where id = #{id} + + + + delete from safe_penetration_range where id = #{id} + + + + delete from safe_penetration_range where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationWorkspaceMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationWorkspaceMapper.xml new file mode 100755 index 00000000..ed18decf --- /dev/null +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/SafePenetrationWorkspaceMapper.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + select id, project_id, node_name, node_type, workspace_type, sorted, state, remark, create_by, create_time, update_by, update_time from safe_penetration_workspace + + + + + + + + insert into safe_penetration_workspace + + project_id, + node_name, + node_type, + workspace_type, + sorted, + state, + remark, + create_by, + create_time, + update_by, + update_time, + + + #{projectId}, + #{nodeName}, + #{nodeType}, + #{workspaceType}, + #{sorted}, + #{state}, + #{remark}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update safe_penetration_workspace + + project_id = #{projectId}, + node_name = #{nodeName}, + node_type = #{nodeType}, + workspace_type = #{workspaceType}, + sorted = #{sorted}, + state = #{state}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from safe_penetration_workspace where id = #{id} + + + + delete from safe_penetration_workspace where id in + + #{id} + + + \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckController.java new file mode 100755 index 00000000..1045eca9 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 检查数据Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationCheck") +public class SafePenetrationCheckController extends BaseController +{ + @Autowired + private ISafePenetrationCheckService safePenetrationCheckService; + + /** + * 查询检查数据列表 + */ + @RequiresPermissions("manage:safePenetrationCheck:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheck safePenetrationCheck) + { + startPage(); + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + return getDataTable(list); + } + + /** + * 导出检查数据列表 + */ + @RequiresPermissions("manage:safePenetrationCheck:export") + @Log(title = "检查数据", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheck safePenetrationCheck) + { + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + ExcelUtil util = new ExcelUtil(SafePenetrationCheck.class); + util.exportExcel(response, list, "检查数据数据"); + } + + /** + * 获取检查数据详细信息 + */ + @RequiresPermissions("manage:safePenetrationCheck:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckService.selectSafePenetrationCheckById(id)); + } + + /** + * 新增检查数据 + */ + @RequiresPermissions("manage:safePenetrationCheck:add") + @Log(title = "检查数据", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.insertSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 修改检查数据 + */ + @RequiresPermissions("manage:safePenetrationCheck:edit") + @Log(title = "检查数据", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.updateSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 删除检查数据 + */ + @RequiresPermissions("manage:safePenetrationCheck:remove") + @Log(title = "检查数据", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckService.deleteSafePenetrationCheckByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckDataController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckDataController.java new file mode 100755 index 00000000..1b5ef509 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationCheckDataController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheckData; +import com.yanzhu.manage.service.ISafePenetrationCheckDataService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 检查数据项Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationCheckData") +public class SafePenetrationCheckDataController extends BaseController +{ + @Autowired + private ISafePenetrationCheckDataService safePenetrationCheckDataService; + + /** + * 查询检查数据项列表 + */ + @RequiresPermissions("manage:safePenetrationCheckData:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheckData safePenetrationCheckData) + { + startPage(); + List list = safePenetrationCheckDataService.selectSafePenetrationCheckDataList(safePenetrationCheckData); + return getDataTable(list); + } + + /** + * 导出检查数据项列表 + */ + @RequiresPermissions("manage:safePenetrationCheckData:export") + @Log(title = "检查数据项", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheckData safePenetrationCheckData) + { + List list = safePenetrationCheckDataService.selectSafePenetrationCheckDataList(safePenetrationCheckData); + ExcelUtil util = new ExcelUtil(SafePenetrationCheckData.class); + util.exportExcel(response, list, "检查数据项数据"); + } + + /** + * 获取检查数据项详细信息 + */ + @RequiresPermissions("manage:safePenetrationCheckData:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckDataService.selectSafePenetrationCheckDataById(id)); + } + + /** + * 新增检查数据项 + */ + @RequiresPermissions("manage:safePenetrationCheckData:add") + @Log(title = "检查数据项", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheckData safePenetrationCheckData) + { + return toAjax(safePenetrationCheckDataService.insertSafePenetrationCheckData(safePenetrationCheckData)); + } + + /** + * 修改检查数据项 + */ + @RequiresPermissions("manage:safePenetrationCheckData:edit") + @Log(title = "检查数据项", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheckData safePenetrationCheckData) + { + return toAjax(safePenetrationCheckDataService.updateSafePenetrationCheckData(safePenetrationCheckData)); + } + + /** + * 删除检查数据项 + */ + @RequiresPermissions("manage:safePenetrationCheckData:remove") + @Log(title = "检查数据项", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckDataService.deleteSafePenetrationCheckDataByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridController.java new file mode 100755 index 00000000..3dbb6765 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridController.java @@ -0,0 +1,108 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationGrid; +import com.yanzhu.manage.service.ISafePenetrationGridService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; +/** + * 网格Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationGrid") +public class SafePenetrationGridController extends BaseController +{ + @Autowired + private ISafePenetrationGridService safePenetrationGridService; + + /** + * 查询网格列表 + */ + @RequiresPermissions("manage:safePenetrationGrid:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationGrid safePenetrationGrid) + { + startPage(); + List list = safePenetrationGridService.selectSafePenetrationGridList(safePenetrationGrid); + return getDataTable(list); + } + + /** + * 导出网格列表 + */ + @RequiresPermissions("manage:safePenetrationGrid:export") + @Log(title = "网格", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationGrid safePenetrationGrid) + { + List list = safePenetrationGridService.selectSafePenetrationGridList(safePenetrationGrid); + ExcelUtil util = new ExcelUtil(SafePenetrationGrid.class); + util.exportExcel(response, list, "网格数据"); + } + + /** + * 获取网格详细信息 + */ + @RequiresPermissions("manage:safePenetrationGrid:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationGridService.selectSafePenetrationGridById(id)); + } + + /** + * 新增网格 + */ + @RequiresPermissions("manage:safePenetrationGrid:add") + @Log(title = "网格", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationGrid safePenetrationGrid) + { + return toAjax(safePenetrationGridService.insertSafePenetrationGrid(safePenetrationGrid)); + } + + /** + * 修改网格 + */ + @RequiresPermissions("manage:safePenetrationGrid:edit") + @Log(title = "网格", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationGrid safePenetrationGrid) + { + return toAjax(safePenetrationGridService.updateSafePenetrationGrid(safePenetrationGrid)); + } + + /** + * 删除网格 + */ + @RequiresPermissions("manage:safePenetrationGrid:remove") + @Log(title = "网格", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationGridService.deleteSafePenetrationGridByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridGroupController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridGroupController.java new file mode 100755 index 00000000..ebba902f --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridGroupController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationGridGroup; +import com.yanzhu.manage.service.ISafePenetrationGridGroupService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 网格-现场负责人Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationGridGroup") +public class SafePenetrationGridGroupController extends BaseController +{ + @Autowired + private ISafePenetrationGridGroupService safePenetrationGridGroupService; + + /** + * 查询网格-现场负责人列表 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationGridGroup safePenetrationGridGroup) + { + startPage(); + List list = safePenetrationGridGroupService.selectSafePenetrationGridGroupList(safePenetrationGridGroup); + return getDataTable(list); + } + + /** + * 导出网格-现场负责人列表 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:export") + @Log(title = "网格-现场负责人", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationGridGroup safePenetrationGridGroup) + { + List list = safePenetrationGridGroupService.selectSafePenetrationGridGroupList(safePenetrationGridGroup); + ExcelUtil util = new ExcelUtil(SafePenetrationGridGroup.class); + util.exportExcel(response, list, "网格-现场负责人数据"); + } + + /** + * 获取网格-现场负责人详细信息 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationGridGroupService.selectSafePenetrationGridGroupById(id)); + } + + /** + * 新增网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:add") + @Log(title = "网格-现场负责人", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationGridGroup safePenetrationGridGroup) + { + return toAjax(safePenetrationGridGroupService.insertSafePenetrationGridGroup(safePenetrationGridGroup)); + } + + /** + * 修改网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:edit") + @Log(title = "网格-现场负责人", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationGridGroup safePenetrationGridGroup) + { + return toAjax(safePenetrationGridGroupService.updateSafePenetrationGridGroup(safePenetrationGridGroup)); + } + + /** + * 删除网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridGroup:remove") + @Log(title = "网格-现场负责人", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationGridGroupService.deleteSafePenetrationGridGroupByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridSiteLeaderController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridSiteLeaderController.java new file mode 100755 index 00000000..2a10f76c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridSiteLeaderController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationGridSiteLeader; +import com.yanzhu.manage.service.ISafePenetrationGridSiteLeaderService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 网格-现场负责人Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationGridSiteLeader") +public class SafePenetrationGridSiteLeaderController extends BaseController +{ + @Autowired + private ISafePenetrationGridSiteLeaderService safePenetrationGridSiteLeaderService; + + /** + * 查询网格-现场负责人列表 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + startPage(); + List list = safePenetrationGridSiteLeaderService.selectSafePenetrationGridSiteLeaderList(safePenetrationGridSiteLeader); + return getDataTable(list); + } + + /** + * 导出网格-现场负责人列表 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:export") + @Log(title = "网格-现场负责人", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + List list = safePenetrationGridSiteLeaderService.selectSafePenetrationGridSiteLeaderList(safePenetrationGridSiteLeader); + ExcelUtil util = new ExcelUtil(SafePenetrationGridSiteLeader.class); + util.exportExcel(response, list, "网格-现场负责人数据"); + } + + /** + * 获取网格-现场负责人详细信息 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationGridSiteLeaderService.selectSafePenetrationGridSiteLeaderById(id)); + } + + /** + * 新增网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:add") + @Log(title = "网格-现场负责人", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + return toAjax(safePenetrationGridSiteLeaderService.insertSafePenetrationGridSiteLeader(safePenetrationGridSiteLeader)); + } + + /** + * 修改网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:edit") + @Log(title = "网格-现场负责人", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + return toAjax(safePenetrationGridSiteLeaderService.updateSafePenetrationGridSiteLeader(safePenetrationGridSiteLeader)); + } + + /** + * 删除网格-现场负责人 + */ + @RequiresPermissions("manage:safePenetrationGridSiteLeader:remove") + @Log(title = "网格-现场负责人", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationGridSiteLeaderService.deleteSafePenetrationGridSiteLeaderByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridWorkerController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridWorkerController.java new file mode 100755 index 00000000..e3fe7fe8 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationGridWorkerController.java @@ -0,0 +1,108 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationGridWorker; +import com.yanzhu.manage.service.ISafePenetrationGridWorkerService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; +/** + * 网格-施工员Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationGridWorker") +public class SafePenetrationGridWorkerController extends BaseController +{ + @Autowired + private ISafePenetrationGridWorkerService safePenetrationGridWorkerService; + + /** + * 查询网格-施工员列表 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationGridWorker safePenetrationGridWorker) + { + startPage(); + List list = safePenetrationGridWorkerService.selectSafePenetrationGridWorkerList(safePenetrationGridWorker); + return getDataTable(list); + } + + /** + * 导出网格-施工员列表 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:export") + @Log(title = "网格-施工员", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationGridWorker safePenetrationGridWorker) + { + List list = safePenetrationGridWorkerService.selectSafePenetrationGridWorkerList(safePenetrationGridWorker); + ExcelUtil util = new ExcelUtil(SafePenetrationGridWorker.class); + util.exportExcel(response, list, "网格-施工员数据"); + } + + /** + * 获取网格-施工员详细信息 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationGridWorkerService.selectSafePenetrationGridWorkerById(id)); + } + + /** + * 新增网格-施工员 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:add") + @Log(title = "网格-施工员", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationGridWorker safePenetrationGridWorker) + { + return toAjax(safePenetrationGridWorkerService.insertSafePenetrationGridWorker(safePenetrationGridWorker)); + } + + /** + * 修改网格-施工员 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:edit") + @Log(title = "网格-施工员", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationGridWorker safePenetrationGridWorker) + { + return toAjax(safePenetrationGridWorkerService.updateSafePenetrationGridWorker(safePenetrationGridWorker)); + } + + /** + * 删除网格-施工员 + */ + @RequiresPermissions("manage:safePenetrationGridWorker:remove") + @Log(title = "网格-施工员", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationGridWorkerService.deleteSafePenetrationGridWorkerByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationItemController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationItemController.java new file mode 100755 index 00000000..a702505d --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationItemController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationItem; +import com.yanzhu.manage.service.ISafePenetrationItemService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 网格管理配置项Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationItem") +public class SafePenetrationItemController extends BaseController +{ + @Autowired + private ISafePenetrationItemService safePenetrationItemService; + + /** + * 查询网格管理配置项列表 + */ + @RequiresPermissions("manage:safePenetrationItem:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationItem safePenetrationItem) + { + startPage(); + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + return getDataTable(list); + } + + /** + * 导出网格管理配置项列表 + */ + @RequiresPermissions("manage:safePenetrationItem:export") + @Log(title = "网格管理配置项", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationItem safePenetrationItem) + { + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + ExcelUtil util = new ExcelUtil(SafePenetrationItem.class); + util.exportExcel(response, list, "网格管理配置项数据"); + } + + /** + * 获取网格管理配置项详细信息 + */ + @RequiresPermissions("manage:safePenetrationItem:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationItemService.selectSafePenetrationItemById(id)); + } + + /** + * 新增网格管理配置项 + */ + @RequiresPermissions("manage:safePenetrationItem:add") + @Log(title = "网格管理配置项", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.insertSafePenetrationItem(safePenetrationItem)); + } + + /** + * 修改网格管理配置项 + */ + @RequiresPermissions("manage:safePenetrationItem:edit") + @Log(title = "网格管理配置项", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.updateSafePenetrationItem(safePenetrationItem)); + } + + /** + * 删除网格管理配置项 + */ + @RequiresPermissions("manage:safePenetrationItem:remove") + @Log(title = "网格管理配置项", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationItemService.deleteSafePenetrationItemByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationRangeController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationRangeController.java new file mode 100755 index 00000000..e3113bf1 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationRangeController.java @@ -0,0 +1,108 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + + +/** + * 网格-范围Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationRange") +public class SafePenetrationRangeController extends BaseController +{ + @Autowired + private ISafePenetrationRangeService safePenetrationRangeService; + + /** + * 查询网格-范围列表 + */ + @RequiresPermissions("manage:safePenetrationRange:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationRange safePenetrationRange) + { + startPage(); + List list = safePenetrationRangeService.selectSafePenetrationRangeList(safePenetrationRange); + return getDataTable(list); + } + + /** + * 导出网格-范围列表 + */ + @RequiresPermissions("manage:safePenetrationRange:export") + @Log(title = "网格-范围", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationRange safePenetrationRange) + { + List list = safePenetrationRangeService.selectSafePenetrationRangeList(safePenetrationRange); + ExcelUtil util = new ExcelUtil(SafePenetrationRange.class); + util.exportExcel(response, list, "网格-范围数据"); + } + + /** + * 获取网格-范围详细信息 + */ + @RequiresPermissions("manage:safePenetrationRange:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationRangeService.selectSafePenetrationRangeById(id)); + } + + /** + * 新增网格-范围 + */ + @RequiresPermissions("manage:safePenetrationRange:add") + @Log(title = "网格-范围", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationRange safePenetrationRange) + { + return toAjax(safePenetrationRangeService.insertSafePenetrationRange(safePenetrationRange)); + } + + /** + * 修改网格-范围 + */ + @RequiresPermissions("manage:safePenetrationRange:edit") + @Log(title = "网格-范围", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationRange safePenetrationRange) + { + return toAjax(safePenetrationRangeService.updateSafePenetrationRange(safePenetrationRange)); + } + + /** + * 删除网格-范围 + */ + @RequiresPermissions("manage:safePenetrationRange:remove") + @Log(title = "网格-范围", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationRangeService.deleteSafePenetrationRangeByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationWorkspaceController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationWorkspaceController.java new file mode 100755 index 00000000..e92d5651 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/SafePenetrationWorkspaceController.java @@ -0,0 +1,109 @@ +package com.yanzhu.manage.controller; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationWorkspace; +import com.yanzhu.manage.service.ISafePenetrationWorkspaceService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 工点Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/safePenetrationWorkspace") +public class SafePenetrationWorkspaceController extends BaseController +{ + @Autowired + private ISafePenetrationWorkspaceService safePenetrationWorkspaceService; + + /** + * 查询工点列表 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationWorkspace safePenetrationWorkspace) + { + startPage(); + List list = safePenetrationWorkspaceService.selectSafePenetrationWorkspaceList(safePenetrationWorkspace); + return getDataTable(list); + } + + /** + * 导出工点列表 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:export") + @Log(title = "工点", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationWorkspace safePenetrationWorkspace) + { + List list = safePenetrationWorkspaceService.selectSafePenetrationWorkspaceList(safePenetrationWorkspace); + ExcelUtil util = new ExcelUtil(SafePenetrationWorkspace.class); + util.exportExcel(response, list, "工点数据"); + } + + /** + * 获取工点详细信息 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationWorkspaceService.selectSafePenetrationWorkspaceById(id)); + } + + /** + * 新增工点 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:add") + @Log(title = "工点", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationWorkspace safePenetrationWorkspace) + { + return toAjax(safePenetrationWorkspaceService.insertSafePenetrationWorkspace(safePenetrationWorkspace)); + } + + /** + * 修改工点 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:edit") + @Log(title = "工点", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationWorkspace safePenetrationWorkspace) + { + return toAjax(safePenetrationWorkspaceService.updateSafePenetrationWorkspace(safePenetrationWorkspace)); + } + + /** + * 删除工点 + */ + @RequiresPermissions("manage:safePenetrationWorkspace:remove") + @Log(title = "工点", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationWorkspaceService.deleteSafePenetrationWorkspaceByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckDataService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckDataService.java new file mode 100755 index 00000000..ba95486e --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckDataService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationCheckData; + +/** + * 检查数据项Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationCheckDataService +{ + /** + * 查询检查数据项 + * + * @param id 检查数据项主键 + * @return 检查数据项 + */ + public SafePenetrationCheckData selectSafePenetrationCheckDataById(Long id); + + /** + * 查询检查数据项列表 + * + * @param safePenetrationCheckData 检查数据项 + * @return 检查数据项集合 + */ + public List selectSafePenetrationCheckDataList(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 新增检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + public int insertSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 修改检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + public int updateSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData); + + /** + * 批量删除检查数据项 + * + * @param ids 需要删除的检查数据项主键集合 + * @return 结果 + */ + public int deleteSafePenetrationCheckDataByIds(Long[] ids); + + /** + * 删除检查数据项信息 + * + * @param id 检查数据项主键 + * @return 结果 + */ + public int deleteSafePenetrationCheckDataById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckService.java new file mode 100755 index 00000000..d5b7bf0c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationCheckService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationCheck; + +/** + * 检查数据Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationCheckService +{ + /** + * 查询检查数据 + * + * @param id 检查数据主键 + * @return 检查数据 + */ + public SafePenetrationCheck selectSafePenetrationCheckById(Long id); + + /** + * 查询检查数据列表 + * + * @param safePenetrationCheck 检查数据 + * @return 检查数据集合 + */ + public List selectSafePenetrationCheckList(SafePenetrationCheck safePenetrationCheck); + + /** + * 新增检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + public int insertSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck); + + /** + * 修改检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + public int updateSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck); + + /** + * 批量删除检查数据 + * + * @param ids 需要删除的检查数据主键集合 + * @return 结果 + */ + public int deleteSafePenetrationCheckByIds(Long[] ids); + + /** + * 删除检查数据信息 + * + * @param id 检查数据主键 + * @return 结果 + */ + public int deleteSafePenetrationCheckById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridGroupService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridGroupService.java new file mode 100755 index 00000000..bcc3be32 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridGroupService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridGroup; + +/** + * 网格-现场负责人Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationGridGroupService +{ + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + public SafePenetrationGridGroup selectSafePenetrationGridGroupById(Long id); + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 网格-现场负责人集合 + */ + public List selectSafePenetrationGridGroupList(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + public int insertSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + public int updateSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup); + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的网格-现场负责人主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridGroupByIds(Long[] ids); + + /** + * 删除网格-现场负责人信息 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + public int deleteSafePenetrationGridGroupById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridService.java new file mode 100755 index 00000000..596b0b09 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGrid; + +/** + * 网格Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationGridService +{ + /** + * 查询网格 + * + * @param id 网格主键 + * @return 网格 + */ + public SafePenetrationGrid selectSafePenetrationGridById(Long id); + + /** + * 查询网格列表 + * + * @param safePenetrationGrid 网格 + * @return 网格集合 + */ + public List selectSafePenetrationGridList(SafePenetrationGrid safePenetrationGrid); + + /** + * 新增网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + public int insertSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid); + + /** + * 修改网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + public int updateSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid); + + /** + * 批量删除网格 + * + * @param ids 需要删除的网格主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridByIds(Long[] ids); + + /** + * 删除网格信息 + * + * @param id 网格主键 + * @return 结果 + */ + public int deleteSafePenetrationGridById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridSiteLeaderService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridSiteLeaderService.java new file mode 100755 index 00000000..bf0b1200 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridSiteLeaderService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridSiteLeader; + +/** + * 网格-现场负责人Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationGridSiteLeaderService +{ + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + public SafePenetrationGridSiteLeader selectSafePenetrationGridSiteLeaderById(Long id); + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 网格-现场负责人集合 + */ + public List selectSafePenetrationGridSiteLeaderList(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + public int insertSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + public int updateSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader); + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的网格-现场负责人主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridSiteLeaderByIds(Long[] ids); + + /** + * 删除网格-现场负责人信息 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + public int deleteSafePenetrationGridSiteLeaderById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridWorkerService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridWorkerService.java new file mode 100755 index 00000000..5147fccb --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationGridWorkerService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationGridWorker; + +/** + * 网格-施工员Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationGridWorkerService +{ + /** + * 查询网格-施工员 + * + * @param id 网格-施工员主键 + * @return 网格-施工员 + */ + public SafePenetrationGridWorker selectSafePenetrationGridWorkerById(Long id); + + /** + * 查询网格-施工员列表 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 网格-施工员集合 + */ + public List selectSafePenetrationGridWorkerList(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 新增网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + public int insertSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 修改网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + public int updateSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker); + + /** + * 批量删除网格-施工员 + * + * @param ids 需要删除的网格-施工员主键集合 + * @return 结果 + */ + public int deleteSafePenetrationGridWorkerByIds(Long[] ids); + + /** + * 删除网格-施工员信息 + * + * @param id 网格-施工员主键 + * @return 结果 + */ + public int deleteSafePenetrationGridWorkerById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationItemService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationItemService.java new file mode 100755 index 00000000..aad12aaa --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationItemService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationItem; + +/** + * 网格管理配置项Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationItemService +{ + /** + * 查询网格管理配置项 + * + * @param id 网格管理配置项主键 + * @return 网格管理配置项 + */ + public SafePenetrationItem selectSafePenetrationItemById(Long id); + + /** + * 查询网格管理配置项列表 + * + * @param safePenetrationItem 网格管理配置项 + * @return 网格管理配置项集合 + */ + public List selectSafePenetrationItemList(SafePenetrationItem safePenetrationItem); + + /** + * 新增网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + public int insertSafePenetrationItem(SafePenetrationItem safePenetrationItem); + + /** + * 修改网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + public int updateSafePenetrationItem(SafePenetrationItem safePenetrationItem); + + /** + * 批量删除网格管理配置项 + * + * @param ids 需要删除的网格管理配置项主键集合 + * @return 结果 + */ + public int deleteSafePenetrationItemByIds(Long[] ids); + + /** + * 删除网格管理配置项信息 + * + * @param id 网格管理配置项主键 + * @return 结果 + */ + public int deleteSafePenetrationItemById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationRangeService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationRangeService.java new file mode 100755 index 00000000..f3a40ec0 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationRangeService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationRange; + +/** + * 网格-范围Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationRangeService +{ + /** + * 查询网格-范围 + * + * @param id 网格-范围主键 + * @return 网格-范围 + */ + public SafePenetrationRange selectSafePenetrationRangeById(Long id); + + /** + * 查询网格-范围列表 + * + * @param safePenetrationRange 网格-范围 + * @return 网格-范围集合 + */ + public List selectSafePenetrationRangeList(SafePenetrationRange safePenetrationRange); + + /** + * 新增网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + public int insertSafePenetrationRange(SafePenetrationRange safePenetrationRange); + + /** + * 修改网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + public int updateSafePenetrationRange(SafePenetrationRange safePenetrationRange); + + /** + * 批量删除网格-范围 + * + * @param ids 需要删除的网格-范围主键集合 + * @return 结果 + */ + public int deleteSafePenetrationRangeByIds(Long[] ids); + + /** + * 删除网格-范围信息 + * + * @param id 网格-范围主键 + * @return 结果 + */ + public int deleteSafePenetrationRangeById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationWorkspaceService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationWorkspaceService.java new file mode 100755 index 00000000..5330b172 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/ISafePenetrationWorkspaceService.java @@ -0,0 +1,61 @@ +package com.yanzhu.manage.service; + +import java.util.List; +import com.yanzhu.manage.domain.SafePenetrationWorkspace; + +/** + * 工点Service接口 + * + * @author yanzhu + * @date 2026-04-10 + */ +public interface ISafePenetrationWorkspaceService +{ + /** + * 查询工点 + * + * @param id 工点主键 + * @return 工点 + */ + public SafePenetrationWorkspace selectSafePenetrationWorkspaceById(Long id); + + /** + * 查询工点列表 + * + * @param safePenetrationWorkspace 工点 + * @return 工点集合 + */ + public List selectSafePenetrationWorkspaceList(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 新增工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + public int insertSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 修改工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + public int updateSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace); + + /** + * 批量删除工点 + * + * @param ids 需要删除的工点主键集合 + * @return 结果 + */ + public int deleteSafePenetrationWorkspaceByIds(Long[] ids); + + /** + * 删除工点信息 + * + * @param id 工点主键 + * @return 结果 + */ + public int deleteSafePenetrationWorkspaceById(Long id); +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckDataServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckDataServiceImpl.java new file mode 100755 index 00000000..6c230120 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckDataServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationCheckDataMapper; +import com.yanzhu.manage.domain.SafePenetrationCheckData; +import com.yanzhu.manage.service.ISafePenetrationCheckDataService; + +/** + * 检查数据项Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationCheckDataServiceImpl implements ISafePenetrationCheckDataService +{ + @Autowired + private SafePenetrationCheckDataMapper safePenetrationCheckDataMapper; + + /** + * 查询检查数据项 + * + * @param id 检查数据项主键 + * @return 检查数据项 + */ + @Override + public SafePenetrationCheckData selectSafePenetrationCheckDataById(Long id) + { + return safePenetrationCheckDataMapper.selectSafePenetrationCheckDataById(id); + } + + /** + * 查询检查数据项列表 + * + * @param safePenetrationCheckData 检查数据项 + * @return 检查数据项 + */ + @Override + public List selectSafePenetrationCheckDataList(SafePenetrationCheckData safePenetrationCheckData) + { + return safePenetrationCheckDataMapper.selectSafePenetrationCheckDataList(safePenetrationCheckData); + } + + /** + * 新增检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + @Override + public int insertSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData) + { + return safePenetrationCheckDataMapper.insertSafePenetrationCheckData(safePenetrationCheckData); + } + + /** + * 修改检查数据项 + * + * @param safePenetrationCheckData 检查数据项 + * @return 结果 + */ + @Override + public int updateSafePenetrationCheckData(SafePenetrationCheckData safePenetrationCheckData) + { + return safePenetrationCheckDataMapper.updateSafePenetrationCheckData(safePenetrationCheckData); + } + + /** + * 批量删除检查数据项 + * + * @param ids 需要删除的检查数据项主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationCheckDataByIds(Long[] ids) + { + return safePenetrationCheckDataMapper.deleteSafePenetrationCheckDataByIds(ids); + } + + /** + * 删除检查数据项信息 + * + * @param id 检查数据项主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationCheckDataById(Long id) + { + return safePenetrationCheckDataMapper.deleteSafePenetrationCheckDataById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckServiceImpl.java new file mode 100755 index 00000000..ecb6b02c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationCheckServiceImpl.java @@ -0,0 +1,100 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.context.SecurityContextHolder; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationCheckMapper; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; + +/** + * 检查数据Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationCheckServiceImpl implements ISafePenetrationCheckService +{ + @Autowired + private SafePenetrationCheckMapper safePenetrationCheckMapper; + + /** + * 查询检查数据 + * + * @param id 检查数据主键 + * @return 检查数据 + */ + @Override + public SafePenetrationCheck selectSafePenetrationCheckById(Long id) + { + return safePenetrationCheckMapper.selectSafePenetrationCheckById(id); + } + + /** + * 查询检查数据列表 + * + * @param safePenetrationCheck 检查数据 + * @return 检查数据 + */ + @Override + public List selectSafePenetrationCheckList(SafePenetrationCheck safePenetrationCheck) + { + return safePenetrationCheckMapper.selectSafePenetrationCheckList(safePenetrationCheck); + } + + /** + * 新增检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + @Override + public int insertSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck) + { + safePenetrationCheck.setCreateBy(SecurityContextHolder.getUserName()); + safePenetrationCheck.setCreateTime(DateUtils.getNowDate()); + return safePenetrationCheckMapper.insertSafePenetrationCheck(safePenetrationCheck); + } + + /** + * 修改检查数据 + * + * @param safePenetrationCheck 检查数据 + * @return 结果 + */ + @Override + public int updateSafePenetrationCheck(SafePenetrationCheck safePenetrationCheck) + { + safePenetrationCheck.setUpdateBy(SecurityContextHolder.getUserName()); + safePenetrationCheck.setUpdateTime(DateUtils.getNowDate()); + return safePenetrationCheckMapper.updateSafePenetrationCheck(safePenetrationCheck); + } + + /** + * 批量删除检查数据 + * + * @param ids 需要删除的检查数据主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationCheckByIds(Long[] ids) + { + return safePenetrationCheckMapper.deleteSafePenetrationCheckByIds(ids); + } + + /** + * 删除检查数据信息 + * + * @param id 检查数据主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationCheckById(Long id) + { + return safePenetrationCheckMapper.deleteSafePenetrationCheckById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridGroupServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridGroupServiceImpl.java new file mode 100755 index 00000000..ef29f802 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridGroupServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationGridGroupMapper; +import com.yanzhu.manage.domain.SafePenetrationGridGroup; +import com.yanzhu.manage.service.ISafePenetrationGridGroupService; + +/** + * 网格-现场负责人Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationGridGroupServiceImpl implements ISafePenetrationGridGroupService +{ + @Autowired + private SafePenetrationGridGroupMapper safePenetrationGridGroupMapper; + + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + @Override + public SafePenetrationGridGroup selectSafePenetrationGridGroupById(Long id) + { + return safePenetrationGridGroupMapper.selectSafePenetrationGridGroupById(id); + } + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 网格-现场负责人 + */ + @Override + public List selectSafePenetrationGridGroupList(SafePenetrationGridGroup safePenetrationGridGroup) + { + return safePenetrationGridGroupMapper.selectSafePenetrationGridGroupList(safePenetrationGridGroup); + } + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + @Override + public int insertSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup) + { + return safePenetrationGridGroupMapper.insertSafePenetrationGridGroup(safePenetrationGridGroup); + } + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridGroup 网格-现场负责人 + * @return 结果 + */ + @Override + public int updateSafePenetrationGridGroup(SafePenetrationGridGroup safePenetrationGridGroup) + { + return safePenetrationGridGroupMapper.updateSafePenetrationGridGroup(safePenetrationGridGroup); + } + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的网格-现场负责人主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridGroupByIds(Long[] ids) + { + return safePenetrationGridGroupMapper.deleteSafePenetrationGridGroupByIds(ids); + } + + /** + * 删除网格-现场负责人信息 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridGroupById(Long id) + { + return safePenetrationGridGroupMapper.deleteSafePenetrationGridGroupById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridServiceImpl.java new file mode 100755 index 00000000..3e465f6e --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridServiceImpl.java @@ -0,0 +1,100 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.context.SecurityContextHolder; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationGridMapper; +import com.yanzhu.manage.domain.SafePenetrationGrid; +import com.yanzhu.manage.service.ISafePenetrationGridService; + +/** + * 网格Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationGridServiceImpl implements ISafePenetrationGridService +{ + @Autowired + private SafePenetrationGridMapper safePenetrationGridMapper; + + /** + * 查询网格 + * + * @param id 网格主键 + * @return 网格 + */ + @Override + public SafePenetrationGrid selectSafePenetrationGridById(Long id) + { + return safePenetrationGridMapper.selectSafePenetrationGridById(id); + } + + /** + * 查询网格列表 + * + * @param safePenetrationGrid 网格 + * @return 网格 + */ + @Override + public List selectSafePenetrationGridList(SafePenetrationGrid safePenetrationGrid) + { + return safePenetrationGridMapper.selectSafePenetrationGridList(safePenetrationGrid); + } + + /** + * 新增网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + @Override + public int insertSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid) + { + safePenetrationGrid.setCreateBy(SecurityContextHolder.getUserName()); + safePenetrationGrid.setCreateTime(DateUtils.getNowDate()); + return safePenetrationGridMapper.insertSafePenetrationGrid(safePenetrationGrid); + } + + /** + * 修改网格 + * + * @param safePenetrationGrid 网格 + * @return 结果 + */ + @Override + public int updateSafePenetrationGrid(SafePenetrationGrid safePenetrationGrid) + { + safePenetrationGrid.setUpdateBy(SecurityContextHolder.getUserName()); + safePenetrationGrid.setUpdateTime(DateUtils.getNowDate()); + return safePenetrationGridMapper.updateSafePenetrationGrid(safePenetrationGrid); + } + + /** + * 批量删除网格 + * + * @param ids 需要删除的网格主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridByIds(Long[] ids) + { + return safePenetrationGridMapper.deleteSafePenetrationGridByIds(ids); + } + + /** + * 删除网格信息 + * + * @param id 网格主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridById(Long id) + { + return safePenetrationGridMapper.deleteSafePenetrationGridById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridSiteLeaderServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridSiteLeaderServiceImpl.java new file mode 100755 index 00000000..66aa52c8 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridSiteLeaderServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationGridSiteLeaderMapper; +import com.yanzhu.manage.domain.SafePenetrationGridSiteLeader; +import com.yanzhu.manage.service.ISafePenetrationGridSiteLeaderService; + +/** + * 网格-现场负责人Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationGridSiteLeaderServiceImpl implements ISafePenetrationGridSiteLeaderService +{ + @Autowired + private SafePenetrationGridSiteLeaderMapper safePenetrationGridSiteLeaderMapper; + + /** + * 查询网格-现场负责人 + * + * @param id 网格-现场负责人主键 + * @return 网格-现场负责人 + */ + @Override + public SafePenetrationGridSiteLeader selectSafePenetrationGridSiteLeaderById(Long id) + { + return safePenetrationGridSiteLeaderMapper.selectSafePenetrationGridSiteLeaderById(id); + } + + /** + * 查询网格-现场负责人列表 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 网格-现场负责人 + */ + @Override + public List selectSafePenetrationGridSiteLeaderList(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + return safePenetrationGridSiteLeaderMapper.selectSafePenetrationGridSiteLeaderList(safePenetrationGridSiteLeader); + } + + /** + * 新增网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + @Override + public int insertSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + return safePenetrationGridSiteLeaderMapper.insertSafePenetrationGridSiteLeader(safePenetrationGridSiteLeader); + } + + /** + * 修改网格-现场负责人 + * + * @param safePenetrationGridSiteLeader 网格-现场负责人 + * @return 结果 + */ + @Override + public int updateSafePenetrationGridSiteLeader(SafePenetrationGridSiteLeader safePenetrationGridSiteLeader) + { + return safePenetrationGridSiteLeaderMapper.updateSafePenetrationGridSiteLeader(safePenetrationGridSiteLeader); + } + + /** + * 批量删除网格-现场负责人 + * + * @param ids 需要删除的网格-现场负责人主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridSiteLeaderByIds(Long[] ids) + { + return safePenetrationGridSiteLeaderMapper.deleteSafePenetrationGridSiteLeaderByIds(ids); + } + + /** + * 删除网格-现场负责人信息 + * + * @param id 网格-现场负责人主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridSiteLeaderById(Long id) + { + return safePenetrationGridSiteLeaderMapper.deleteSafePenetrationGridSiteLeaderById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridWorkerServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridWorkerServiceImpl.java new file mode 100755 index 00000000..30e5aff0 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationGridWorkerServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationGridWorkerMapper; +import com.yanzhu.manage.domain.SafePenetrationGridWorker; +import com.yanzhu.manage.service.ISafePenetrationGridWorkerService; + +/** + * 网格-施工员Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationGridWorkerServiceImpl implements ISafePenetrationGridWorkerService +{ + @Autowired + private SafePenetrationGridWorkerMapper safePenetrationGridWorkerMapper; + + /** + * 查询网格-施工员 + * + * @param id 网格-施工员主键 + * @return 网格-施工员 + */ + @Override + public SafePenetrationGridWorker selectSafePenetrationGridWorkerById(Long id) + { + return safePenetrationGridWorkerMapper.selectSafePenetrationGridWorkerById(id); + } + + /** + * 查询网格-施工员列表 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 网格-施工员 + */ + @Override + public List selectSafePenetrationGridWorkerList(SafePenetrationGridWorker safePenetrationGridWorker) + { + return safePenetrationGridWorkerMapper.selectSafePenetrationGridWorkerList(safePenetrationGridWorker); + } + + /** + * 新增网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + @Override + public int insertSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker) + { + return safePenetrationGridWorkerMapper.insertSafePenetrationGridWorker(safePenetrationGridWorker); + } + + /** + * 修改网格-施工员 + * + * @param safePenetrationGridWorker 网格-施工员 + * @return 结果 + */ + @Override + public int updateSafePenetrationGridWorker(SafePenetrationGridWorker safePenetrationGridWorker) + { + return safePenetrationGridWorkerMapper.updateSafePenetrationGridWorker(safePenetrationGridWorker); + } + + /** + * 批量删除网格-施工员 + * + * @param ids 需要删除的网格-施工员主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridWorkerByIds(Long[] ids) + { + return safePenetrationGridWorkerMapper.deleteSafePenetrationGridWorkerByIds(ids); + } + + /** + * 删除网格-施工员信息 + * + * @param id 网格-施工员主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationGridWorkerById(Long id) + { + return safePenetrationGridWorkerMapper.deleteSafePenetrationGridWorkerById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationItemServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationItemServiceImpl.java new file mode 100755 index 00000000..8b39ca2f --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationItemServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationItemMapper; +import com.yanzhu.manage.domain.SafePenetrationItem; +import com.yanzhu.manage.service.ISafePenetrationItemService; + +/** + * 网格管理配置项Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationItemServiceImpl implements ISafePenetrationItemService +{ + @Autowired + private SafePenetrationItemMapper safePenetrationItemMapper; + + /** + * 查询网格管理配置项 + * + * @param id 网格管理配置项主键 + * @return 网格管理配置项 + */ + @Override + public SafePenetrationItem selectSafePenetrationItemById(Long id) + { + return safePenetrationItemMapper.selectSafePenetrationItemById(id); + } + + /** + * 查询网格管理配置项列表 + * + * @param safePenetrationItem 网格管理配置项 + * @return 网格管理配置项 + */ + @Override + public List selectSafePenetrationItemList(SafePenetrationItem safePenetrationItem) + { + return safePenetrationItemMapper.selectSafePenetrationItemList(safePenetrationItem); + } + + /** + * 新增网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + @Override + public int insertSafePenetrationItem(SafePenetrationItem safePenetrationItem) + { + return safePenetrationItemMapper.insertSafePenetrationItem(safePenetrationItem); + } + + /** + * 修改网格管理配置项 + * + * @param safePenetrationItem 网格管理配置项 + * @return 结果 + */ + @Override + public int updateSafePenetrationItem(SafePenetrationItem safePenetrationItem) + { + return safePenetrationItemMapper.updateSafePenetrationItem(safePenetrationItem); + } + + /** + * 批量删除网格管理配置项 + * + * @param ids 需要删除的网格管理配置项主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationItemByIds(Long[] ids) + { + return safePenetrationItemMapper.deleteSafePenetrationItemByIds(ids); + } + + /** + * 删除网格管理配置项信息 + * + * @param id 网格管理配置项主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationItemById(Long id) + { + return safePenetrationItemMapper.deleteSafePenetrationItemById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationRangeServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationRangeServiceImpl.java new file mode 100755 index 00000000..e56ca815 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationRangeServiceImpl.java @@ -0,0 +1,93 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationRangeMapper; +import com.yanzhu.manage.domain.SafePenetrationRange; +import com.yanzhu.manage.service.ISafePenetrationRangeService; + +/** + * 网格-范围Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationRangeServiceImpl implements ISafePenetrationRangeService +{ + @Autowired + private SafePenetrationRangeMapper safePenetrationRangeMapper; + + /** + * 查询网格-范围 + * + * @param id 网格-范围主键 + * @return 网格-范围 + */ + @Override + public SafePenetrationRange selectSafePenetrationRangeById(Long id) + { + return safePenetrationRangeMapper.selectSafePenetrationRangeById(id); + } + + /** + * 查询网格-范围列表 + * + * @param safePenetrationRange 网格-范围 + * @return 网格-范围 + */ + @Override + public List selectSafePenetrationRangeList(SafePenetrationRange safePenetrationRange) + { + return safePenetrationRangeMapper.selectSafePenetrationRangeList(safePenetrationRange); + } + + /** + * 新增网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + @Override + public int insertSafePenetrationRange(SafePenetrationRange safePenetrationRange) + { + return safePenetrationRangeMapper.insertSafePenetrationRange(safePenetrationRange); + } + + /** + * 修改网格-范围 + * + * @param safePenetrationRange 网格-范围 + * @return 结果 + */ + @Override + public int updateSafePenetrationRange(SafePenetrationRange safePenetrationRange) + { + return safePenetrationRangeMapper.updateSafePenetrationRange(safePenetrationRange); + } + + /** + * 批量删除网格-范围 + * + * @param ids 需要删除的网格-范围主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationRangeByIds(Long[] ids) + { + return safePenetrationRangeMapper.deleteSafePenetrationRangeByIds(ids); + } + + /** + * 删除网格-范围信息 + * + * @param id 网格-范围主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationRangeById(Long id) + { + return safePenetrationRangeMapper.deleteSafePenetrationRangeById(id); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationWorkspaceServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationWorkspaceServiceImpl.java new file mode 100755 index 00000000..ac38a938 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/SafePenetrationWorkspaceServiceImpl.java @@ -0,0 +1,100 @@ +package com.yanzhu.manage.service.impl; + +import java.util.List; + +import com.yanzhu.common.core.context.SecurityContextHolder; +import com.yanzhu.common.core.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.yanzhu.manage.mapper.SafePenetrationWorkspaceMapper; +import com.yanzhu.manage.domain.SafePenetrationWorkspace; +import com.yanzhu.manage.service.ISafePenetrationWorkspaceService; + +/** + * 工点Service业务层处理 + * + * @author yanzhu + * @date 2026-04-10 + */ +@Service +public class SafePenetrationWorkspaceServiceImpl implements ISafePenetrationWorkspaceService +{ + @Autowired + private SafePenetrationWorkspaceMapper safePenetrationWorkspaceMapper; + + /** + * 查询工点 + * + * @param id 工点主键 + * @return 工点 + */ + @Override + public SafePenetrationWorkspace selectSafePenetrationWorkspaceById(Long id) + { + return safePenetrationWorkspaceMapper.selectSafePenetrationWorkspaceById(id); + } + + /** + * 查询工点列表 + * + * @param safePenetrationWorkspace 工点 + * @return 工点 + */ + @Override + public List selectSafePenetrationWorkspaceList(SafePenetrationWorkspace safePenetrationWorkspace) + { + return safePenetrationWorkspaceMapper.selectSafePenetrationWorkspaceList(safePenetrationWorkspace); + } + + /** + * 新增工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + @Override + public int insertSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace) + { + safePenetrationWorkspace.setCreateBy(SecurityContextHolder.getUserName()); + safePenetrationWorkspace.setCreateTime(DateUtils.getNowDate()); + return safePenetrationWorkspaceMapper.insertSafePenetrationWorkspace(safePenetrationWorkspace); + } + + /** + * 修改工点 + * + * @param safePenetrationWorkspace 工点 + * @return 结果 + */ + @Override + public int updateSafePenetrationWorkspace(SafePenetrationWorkspace safePenetrationWorkspace) + { + safePenetrationWorkspace.setUpdateBy(SecurityContextHolder.getUserName()); + safePenetrationWorkspace.setUpdateTime(DateUtils.getNowDate()); + return safePenetrationWorkspaceMapper.updateSafePenetrationWorkspace(safePenetrationWorkspace); + } + + /** + * 批量删除工点 + * + * @param ids 需要删除的工点主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationWorkspaceByIds(Long[] ids) + { + return safePenetrationWorkspaceMapper.deleteSafePenetrationWorkspaceByIds(ids); + } + + /** + * 删除工点信息 + * + * @param id 工点主键 + * @return 结果 + */ + @Override + public int deleteSafePenetrationWorkspaceById(Long id) + { + return safePenetrationWorkspaceMapper.deleteSafePenetrationWorkspaceById(id); + } +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationCheck.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationCheck.js new file mode 100755 index 00000000..5a9d1f3b --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationCheck.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检查数据列表 +export function listSafePenetrationCheck(query) { + return request({ + url: '/manage/safePenetrationCheck/list', + method: 'get', + params: query + }) +} + +// 查询检查数据详细 +export function getSafePenetrationCheck(id) { + return request({ + url: '/manage/safePenetrationCheck/' + id, + method: 'get' + }) +} + +// 新增检查数据 +export function addSafePenetrationCheck(data) { + return request({ + url: '/manage/safePenetrationCheck', + method: 'post', + data: data + }) +} + +// 修改检查数据 +export function updateSafePenetrationCheck(data) { + return request({ + url: '/manage/safePenetrationCheck', + method: 'put', + data: data + }) +} + +// 删除检查数据 +export function delSafePenetrationCheck(id) { + return request({ + url: '/manage/safePenetrationCheck/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationCheckData.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationCheckData.js new file mode 100755 index 00000000..e5f173b2 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationCheckData.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检查数据项列表 +export function listSafePenetrationCheckData(query) { + return request({ + url: '/manage/safePenetrationCheckData/list', + method: 'get', + params: query + }) +} + +// 查询检查数据项详细 +export function getSafePenetrationCheckData(id) { + return request({ + url: '/manage/safePenetrationCheckData/' + id, + method: 'get' + }) +} + +// 新增检查数据项 +export function addSafePenetrationCheckData(data) { + return request({ + url: '/manage/safePenetrationCheckData', + method: 'post', + data: data + }) +} + +// 修改检查数据项 +export function updateSafePenetrationCheckData(data) { + return request({ + url: '/manage/safePenetrationCheckData', + method: 'put', + data: data + }) +} + +// 删除检查数据项 +export function delSafePenetrationCheckData(id) { + return request({ + url: '/manage/safePenetrationCheckData/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationGrid.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationGrid.js new file mode 100755 index 00000000..4baebe0f --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationGrid.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格列表 +export function listSafePenetrationGrid(query) { + return request({ + url: '/manage/safePenetrationGrid/list', + method: 'get', + params: query + }) +} + +// 查询网格详细 +export function getSafePenetrationGrid(id) { + return request({ + url: '/manage/safePenetrationGrid/' + id, + method: 'get' + }) +} + +// 新增网格 +export function addSafePenetrationGrid(data) { + return request({ + url: '/manage/safePenetrationGrid', + method: 'post', + data: data + }) +} + +// 修改网格 +export function updateSafePenetrationGrid(data) { + return request({ + url: '/manage/safePenetrationGrid', + method: 'put', + data: data + }) +} + +// 删除网格 +export function delSafePenetrationGrid(id) { + return request({ + url: '/manage/safePenetrationGrid/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationGridGroup.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridGroup.js new file mode 100755 index 00000000..a14f1dad --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridGroup.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格-现场负责人列表 +export function listSafePenetrationGridGroup(query) { + return request({ + url: '/manage/safePenetrationGridGroup/list', + method: 'get', + params: query + }) +} + +// 查询网格-现场负责人详细 +export function getSafePenetrationGridGroup(id) { + return request({ + url: '/manage/safePenetrationGridGroup/' + id, + method: 'get' + }) +} + +// 新增网格-现场负责人 +export function addSafePenetrationGridGroup(data) { + return request({ + url: '/manage/safePenetrationGridGroup', + method: 'post', + data: data + }) +} + +// 修改网格-现场负责人 +export function updateSafePenetrationGridGroup(data) { + return request({ + url: '/manage/safePenetrationGridGroup', + method: 'put', + data: data + }) +} + +// 删除网格-现场负责人 +export function delSafePenetrationGridGroup(id) { + return request({ + url: '/manage/safePenetrationGridGroup/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationGridSiteLeader.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridSiteLeader.js new file mode 100755 index 00000000..5e64997e --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridSiteLeader.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格-现场负责人列表 +export function listSafePenetrationGridSiteLeader(query) { + return request({ + url: '/manage/safePenetrationGridSiteLeader/list', + method: 'get', + params: query + }) +} + +// 查询网格-现场负责人详细 +export function getSafePenetrationGridSiteLeader(id) { + return request({ + url: '/manage/safePenetrationGridSiteLeader/' + id, + method: 'get' + }) +} + +// 新增网格-现场负责人 +export function addSafePenetrationGridSiteLeader(data) { + return request({ + url: '/manage/safePenetrationGridSiteLeader', + method: 'post', + data: data + }) +} + +// 修改网格-现场负责人 +export function updateSafePenetrationGridSiteLeader(data) { + return request({ + url: '/manage/safePenetrationGridSiteLeader', + method: 'put', + data: data + }) +} + +// 删除网格-现场负责人 +export function delSafePenetrationGridSiteLeader(id) { + return request({ + url: '/manage/safePenetrationGridSiteLeader/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationGridWorker.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridWorker.js new file mode 100755 index 00000000..cccca9fc --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationGridWorker.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格-施工员列表 +export function listSafePenetrationGridWorker(query) { + return request({ + url: '/manage/safePenetrationGridWorker/list', + method: 'get', + params: query + }) +} + +// 查询网格-施工员详细 +export function getSafePenetrationGridWorker(id) { + return request({ + url: '/manage/safePenetrationGridWorker/' + id, + method: 'get' + }) +} + +// 新增网格-施工员 +export function addSafePenetrationGridWorker(data) { + return request({ + url: '/manage/safePenetrationGridWorker', + method: 'post', + data: data + }) +} + +// 修改网格-施工员 +export function updateSafePenetrationGridWorker(data) { + return request({ + url: '/manage/safePenetrationGridWorker', + method: 'put', + data: data + }) +} + +// 删除网格-施工员 +export function delSafePenetrationGridWorker(id) { + return request({ + url: '/manage/safePenetrationGridWorker/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationItem.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationItem.js new file mode 100755 index 00000000..8d82a832 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationItem.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格管理配置项列表 +export function listSafePenetrationItem(query) { + return request({ + url: '/manage/safePenetrationItem/list', + method: 'get', + params: query + }) +} + +// 查询网格管理配置项详细 +export function getSafePenetrationItem(id) { + return request({ + url: '/manage/safePenetrationItem/' + id, + method: 'get' + }) +} + +// 新增网格管理配置项 +export function addSafePenetrationItem(data) { + return request({ + url: '/manage/safePenetrationItem', + method: 'post', + data: data + }) +} + +// 修改网格管理配置项 +export function updateSafePenetrationItem(data) { + return request({ + url: '/manage/safePenetrationItem', + method: 'put', + data: data + }) +} + +// 删除网格管理配置项 +export function delSafePenetrationItem(id) { + return request({ + url: '/manage/safePenetrationItem/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationRange.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationRange.js new file mode 100755 index 00000000..30c212b5 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationRange.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询网格-范围列表 +export function listSafePenetrationRange(query) { + return request({ + url: '/manage/safePenetrationRange/list', + method: 'get', + params: query + }) +} + +// 查询网格-范围详细 +export function getSafePenetrationRange(id) { + return request({ + url: '/manage/safePenetrationRange/' + id, + method: 'get' + }) +} + +// 新增网格-范围 +export function addSafePenetrationRange(data) { + return request({ + url: '/manage/safePenetrationRange', + method: 'post', + data: data + }) +} + +// 修改网格-范围 +export function updateSafePenetrationRange(data) { + return request({ + url: '/manage/safePenetrationRange', + method: 'put', + data: data + }) +} + +// 删除网格-范围 +export function delSafePenetrationRange(id) { + return request({ + url: '/manage/safePenetrationRange/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/safePenetrationWorkspace.js b/yanzhu-ui-vue3/src/api/manage/safePenetrationWorkspace.js new file mode 100755 index 00000000..4ee0af0f --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/safePenetrationWorkspace.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询工点列表 +export function listSafePenetrationWorkspace(query) { + return request({ + url: '/manage/safePenetrationWorkspace/list', + method: 'get', + params: query + }) +} + +// 查询工点详细 +export function getSafePenetrationWorkspace(id) { + return request({ + url: '/manage/safePenetrationWorkspace/' + id, + method: 'get' + }) +} + +// 新增工点 +export function addSafePenetrationWorkspace(data) { + return request({ + url: '/manage/safePenetrationWorkspace', + method: 'post', + data: data + }) +} + +// 修改工点 +export function updateSafePenetrationWorkspace(data) { + return request({ + url: '/manage/safePenetrationWorkspace', + method: 'put', + data: data + }) +} + +// 删除工点 +export function delSafePenetrationWorkspace(id) { + return request({ + url: '/manage/safePenetrationWorkspace/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheck/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheck/index.vue new file mode 100755 index 00000000..235f8d59 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheck/index.vue @@ -0,0 +1,352 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheckData/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheckData/index.vue new file mode 100755 index 00000000..d8fcbc67 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationCheckData/index.vue @@ -0,0 +1,255 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGrid/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGrid/index.vue new file mode 100755 index 00000000..86b3042d --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGrid/index.vue @@ -0,0 +1,365 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridGroup/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridGroup/index.vue new file mode 100755 index 00000000..e0958853 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridGroup/index.vue @@ -0,0 +1,241 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridSiteLeader/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridSiteLeader/index.vue new file mode 100755 index 00000000..1248a31e --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridSiteLeader/index.vue @@ -0,0 +1,241 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridWorker/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridWorker/index.vue new file mode 100755 index 00000000..83a79450 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationGridWorker/index.vue @@ -0,0 +1,241 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationItem/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationItem/index.vue new file mode 100755 index 00000000..3e2c23bd --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationItem/index.vue @@ -0,0 +1,326 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationRange/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationRange/index.vue new file mode 100755 index 00000000..0b8728c5 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationRange/index.vue @@ -0,0 +1,314 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationWorkspace/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationWorkspace/index.vue new file mode 100755 index 00000000..6eab6780 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/safePenetrationWorkspace/index.vue @@ -0,0 +1,287 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/tool/gen/genInfoForm.vue b/yanzhu-ui-vue3/src/views/tool/gen/genInfoForm.vue index 3baece43..e9d0c2ef 100644 --- a/yanzhu-ui-vue3/src/views/tool/gen/genInfoForm.vue +++ b/yanzhu-ui-vue3/src/views/tool/gen/genInfoForm.vue @@ -68,7 +68,7 @@ -