songhuangfeng123
2022-09-16 357935fb2785dc79f4f47ffa7e1c503bc8cea376
Merge branches 'genchuang' and 'master' of https://sinanoaq.cn:8888/r/safePlatform-out into master
已修改19个文件
已添加4个文件
1329 ■■■■■ 文件已修改
emergency/emergency-service/src/main/resources/config/mapper/emergency/EmergencyDrillExecuteInfoMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/EquipmentInfoController.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/KeypointEquipmentInfoController.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java 134 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentRepairDetail.java 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentLifeCycleEnum.java 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentRepairStatusEnum.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentResultCodes.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentStopStatusEnum.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/KeypointEquipmentPartTypeEnum.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentInfoImportExcel.java 106 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentInfoSaveOrUpdate.java 178 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentRepairDetailQueryCriteria.java 56 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoImportExcel.java 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentInfoDto.java 208 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentInfoExcel.java 112 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentRepairDetailDto.java 56 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/KeypointEquipmentInfoDto.java 70 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/KeypointEquipmentInfoExcel.java 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/service/impl/EquipmentInfoServiceImpl.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/service/impl/KeypointEquipmentInfoServiceImpl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/AccidentReportInfoMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
emergency/emergency-service/src/main/resources/config/mapper/emergency/EmergencyDrillExecuteInfoMapper.xml
@@ -197,7 +197,8 @@
            </foreach>
        </if>
        GROUP BY
        DATE_FORMAT( a.gmt_create, '%Y-%m-%d' )
        DATE_FORMAT( a.gmt_create, '%Y-%m-%d' ),
        DATE_FORMAT( a.gmt_create, '%d' )
    </select>
    <select id="selectByMonthAndDeptForIntegerMonth" resultMap="emergencyDrillExecuteCountRPC">
@@ -218,7 +219,8 @@
            </foreach>
        </if>
        GROUP BY
        DATE_FORMAT( a.gmt_create, '%Y-%m' )
        DATE_FORMAT( a.gmt_create, '%Y-%m' ),
        DATE_FORMAT( a.gmt_create, '%m' )
    </select>
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/EquipmentInfoController.java
@@ -65,7 +65,7 @@
    public ResultVO selectAll(@RequestBody PageQuery<EquipmentInfoQueryCriteria> pageQuery){
        return this.equipmentInfoService.queryAll(pageQuery);
    }
    /**
     * 通过主键查询单条数据
@@ -162,7 +162,7 @@
        repairDetail.setRepairEndDate(new Timestamp(new java.util.Date().getTime()));
        repairDetail.setRepairPersonDepartmentId(0L);
        repairDetail.setRepairMemo("");
        repairDetail.setRepairStatus(0);
        repairDetail.setRepairStatus((byte)0);
        repairDetail.setExceptionInfo("");
        repairDetails.add(repairDetail);
        infoDto.setRepaireDetailList(repairDetails);
@@ -223,10 +223,10 @@
        infoDto.setSetPart("");
        infoDto.setProduceTime(new Timestamp(new java.util.Date().getTime()));
        infoDto.setUseEndDay("");
        infoDto.setLifeCycle(0);
        infoDto.setLifeCycle((byte)0);
        infoDto.setUseDate(new Timestamp(new java.util.Date().getTime()));
        infoDto.setRepairStatus(0);
        infoDto.setStopStatus(0);
        infoDto.setRepairStatus((byte)0);
        infoDto.setStopStatus((byte)0);
        infoDto.setPreviousCheckDate(new Timestamp(new java.util.Date().getTime()));
        infoDto.setPreviousTestDate(new Timestamp(new java.util.Date().getTime()));
        infoDto.setPreviousTakecareDate(new Timestamp(new java.util.Date().getTime()));
@@ -264,4 +264,4 @@
        System.out.println(JSONObject.toJSONString(infoDto));
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/KeypointEquipmentInfoController.java
@@ -63,7 +63,7 @@
        PageUtils.checkCheck(pageQuery);
        return this.keypointEquipmentInfoService.queryAll(pageQuery);
    }
    /**
     * 通过主键查询单条数据
@@ -149,7 +149,7 @@
        repairDetail.setRepairEndDate(new Timestamp(new java.util.Date().getTime()));
        repairDetail.setRepairPersonDepartmentId(0L);
        repairDetail.setRepairMemo("");
        repairDetail.setRepairStatus(0);
        repairDetail.setRepairStatus((byte)0);
        repairDetail.setExceptionInfo("");
        repairDetails.add(repairDetail);
        infoDto.setRepaireDetailList(repairDetails);
@@ -205,7 +205,7 @@
        infoDto.setConnectPersonId(0L);
        infoDto.setInputPersonId(0L);
        infoDto.setResponsibilityPersonId(0L);
        infoDto.setPartType(0);
        infoDto.setPartType((byte)0);
        infoDto.setCheckCycle("");
        infoDto.setEmergencePlanId(0L);
        infoDto.setDangerousElement("");
@@ -216,4 +216,4 @@
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java
@@ -16,8 +16,8 @@
@SuppressWarnings("serial")
@TableName("equipment_info")
public class EquipmentInfo extends BaseDomain {
    @TableId(type = IdType.AUTO)
    private Long id;
    public Long getId() {
@@ -30,7 +30,7 @@
                //类型/类别外键
            private Long equipmentTypeId;
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -38,9 +38,9 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
                //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
                //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
            private Integer infoType;
    public Integer getInfoType() {
        return infoType;
    }
@@ -50,7 +50,7 @@
    }
                //名称
            private String qName;
    public String getQName() {
        return qName;
    }
@@ -60,7 +60,7 @@
    }
                //位号
            private String positionNum;
    public String getPositionNum() {
        return positionNum;
    }
@@ -70,7 +70,7 @@
    }
                //用途
            private String qUsage;
    public String getQUsage() {
        return qUsage;
    }
@@ -80,7 +80,7 @@
    }
                //型号
            private String model;
    public String getModel() {
        return model;
    }
@@ -90,7 +90,7 @@
    }
                //单位部门外键
            private Long departmentId;
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -100,7 +100,7 @@
    }
                //设置部位
            private String setPart;
    public String getSetPart() {
        return setPart;
    }
@@ -111,7 +111,7 @@
                //生产日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp produceTime;
    public Timestamp getProduceTime() {
        return produceTime;
    }
@@ -121,7 +121,7 @@
    }
                //使用期限(天)
            private String useEndDay;
    public String getUseEndDay() {
        return useEndDay;
    }
@@ -130,19 +130,19 @@
        this.useEndDay = useEndDay;
    }
                //生命周期 1:已使用 2:库存中 3:报废
            private Integer lifeCycle;
    public Integer getLifeCycle() {
            private Byte lifeCycle;
    public Byte getLifeCycle() {
        return lifeCycle;
    }
    public void setLifeCycle(Integer lifeCycle) {
    public void setLifeCycle(Byte lifeCycle) {
        this.lifeCycle = lifeCycle;
    }
                //投用日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp useDate;
    public Timestamp getUseDate() {
        return useDate;
    }
@@ -151,29 +151,29 @@
        this.useDate = useDate;
    }
                //维修状态 1:维修中 2:已修好
            private Integer repairStatus;
    public Integer getRepairStatus() {
            private Byte repairStatus;
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
                //停用状态 1:停用 2.在用 3.维修 4.报废
            private Integer stopStatus;
    public Integer getStopStatus() {
            private Byte stopStatus;
    public Byte getStopStatus() {
        return stopStatus;
    }
    public void setStopStatus(Integer stopStatus) {
    public void setStopStatus(Byte stopStatus) {
        this.stopStatus = stopStatus;
    }
                //上次检查日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp previousCheckDate;
    public Timestamp getPreviousCheckDate() {
        return previousCheckDate;
    }
@@ -184,7 +184,7 @@
                //上次检测日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp previousTestDate;
    public Timestamp getPreviousTestDate() {
        return previousTestDate;
    }
@@ -195,7 +195,7 @@
                //上次保养日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp previousTakecareDate;
    public Timestamp getPreviousTakecareDate() {
        return previousTakecareDate;
    }
@@ -206,7 +206,7 @@
                //下次检查日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp nextCheckDate;
    public Timestamp getNextCheckDate() {
        return nextCheckDate;
    }
@@ -217,7 +217,7 @@
                //下次检测日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp nextTestDate;
    public Timestamp getNextTestDate() {
        return nextTestDate;
    }
@@ -228,7 +228,7 @@
                //下次保养日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp nextTakecareDate;
    public Timestamp getNextTakecareDate() {
        return nextTakecareDate;
    }
@@ -238,7 +238,7 @@
    }
                //负责人ID外键
            private Long leadingPersonId;
    public Long getLeadingPersonId() {
        return leadingPersonId;
    }
@@ -248,7 +248,7 @@
    }
                //负责人名称
            private String leadingPersonName;
    public String getLeadingPersonName() {
        return leadingPersonName;
    }
@@ -258,7 +258,7 @@
    }
                //负责人部门外键
            private Long leadingPersonDepartmentId;
    public Long getLeadingPersonDepartmentId() {
        return leadingPersonDepartmentId;
    }
@@ -268,7 +268,7 @@
    }
                //供应商
            private String supplyName;
    public String getSupplyName() {
        return supplyName;
    }
@@ -278,7 +278,7 @@
    }
                //使用说明
            private String useMemo;
    public String getUseMemo() {
        return useMemo;
    }
@@ -288,7 +288,7 @@
    }
                //是否检查 1:是 2:否
            private Integer isNeedCheck;
    public Integer getIsNeedCheck() {
        return isNeedCheck;
    }
@@ -298,7 +298,7 @@
    }
                //检查周期
            private String checkCycle;
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -308,7 +308,7 @@
    }
                //检查提前提醒
            private String checkWarn;
    public String getCheckWarn() {
        return checkWarn;
    }
@@ -318,7 +318,7 @@
    }
                //是否检测 1:是 2:否
            private Integer isNeedTest;
    public Integer getIsNeedTest() {
        return isNeedTest;
    }
@@ -328,7 +328,7 @@
    }
                //检测周期
            private String testCycle;
    public String getTestCycle() {
        return testCycle;
    }
@@ -338,7 +338,7 @@
    }
                //检测提前提醒
            private String testWarn;
    public String getTestWarn() {
        return testWarn;
    }
@@ -348,7 +348,7 @@
    }
                //是否保养 1:是 2:否
            private Integer isNeedTakecare;
    public Integer getIsNeedTakecare() {
        return isNeedTakecare;
    }
@@ -358,7 +358,7 @@
    }
                //检查内容
            private String checkContent;
    public String getCheckContent() {
        return checkContent;
    }
@@ -368,7 +368,7 @@
    }
                //负责部门/外键
            private Long leadingDepartmentId;
    public Long getLeadingDepartmentId() {
        return leadingDepartmentId;
    }
@@ -378,7 +378,7 @@
    }
                //检查指标
            private String checkPoint;
    public String getCheckPoint() {
        return checkPoint;
    }
@@ -388,7 +388,7 @@
    }
                //预警值
            private String alertNum;
    public String getAlertNum() {
        return alertNum;
    }
@@ -398,7 +398,7 @@
    }
                //联锁值
            private String lockNum;
    public String getLockNum() {
        return lockNum;
    }
@@ -408,7 +408,7 @@
    }
                //停用理由
            private String stopReason;
    public String getStopReason() {
        return stopReason;
    }
@@ -418,7 +418,7 @@
    }
                //停用后措施
            private String afterStopStep;
    public String getAfterStopStep() {
        return afterStopStep;
    }
@@ -429,7 +429,7 @@
                //实际停用日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp actualStopDate;
    public Timestamp getActualStopDate() {
        return actualStopDate;
    }
@@ -439,7 +439,7 @@
    }
                //停用提交人/外键
            private Long stopSubmitPersonId;
    public Long getStopSubmitPersonId() {
        return stopSubmitPersonId;
    }
@@ -449,7 +449,7 @@
    }
                //停用提交人名称
            private String stopSubmitPersonName;
    public String getStopSubmitPersonName() {
        return stopSubmitPersonName;
    }
@@ -460,7 +460,7 @@
                //停用提交日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp stopSubmitDate;
    public Timestamp getStopSubmitDate() {
        return stopSubmitDate;
    }
@@ -470,7 +470,7 @@
    }
                //恢复理由
            private String recoveryReason;
    public String getRecoveryReason() {
        return recoveryReason;
    }
@@ -481,7 +481,7 @@
                //恢复填报日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp recoverySubmitDate;
    public Timestamp getRecoverySubmitDate() {
        return recoverySubmitDate;
    }
@@ -492,7 +492,7 @@
                //实际恢复日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp actualRecoveryDate;
    public Timestamp getActualRecoveryDate() {
        return actualRecoveryDate;
    }
@@ -502,7 +502,7 @@
    }
                //报废理由
            private String destoryReason;
    public String getDestoryReason() {
        return destoryReason;
    }
@@ -513,7 +513,7 @@
                //报废填报日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp destorySubmitDate;
    public Timestamp getDestorySubmitDate() {
        return destorySubmitDate;
    }
@@ -524,7 +524,7 @@
                //实际报废日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp actualDestoryDate;
    public Timestamp getActualDestoryDate() {
        return actualDestoryDate;
    }
@@ -534,7 +534,7 @@
    }
                //区域ID
            private Long areaId;
    public Long getAreaId() {
        return areaId;
    }
@@ -544,7 +544,7 @@
    }
                //区域名称
            private String areaName;
    public String getAreaName() {
        return areaName;
    }
@@ -554,7 +554,7 @@
    }
                //保养周期
            private String takecareCycle;
    public String getTakecareCycle() {
        return takecareCycle;
    }
@@ -564,7 +564,7 @@
    }
                        //是否删除 0:未删除 1:删除
            private Integer delFlag;
    public Integer getDelFlag() {
        return delFlag;
    }
@@ -572,5 +572,5 @@
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentRepairDetail.java
@@ -16,8 +16,8 @@
@SuppressWarnings("serial")
@TableName("equipment_repair_detail")
public class EquipmentRepairDetail extends BaseDomain {
    @TableId(type = IdType.AUTO)
    private Long id;
    public Long getId() {
@@ -30,7 +30,7 @@
                //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
            private Integer infoTpe;
    public Integer getInfoTpe() {
        return infoTpe;
    }
@@ -40,7 +40,7 @@
    }
                //设备ID/外键
            private Long equipmentId;
    public Long getEquipmentId() {
        return equipmentId;
    }
@@ -50,7 +50,7 @@
    }
                //维修负责人/外键
            private Long repairPersonId;
    public Long getRepairPersonId() {
        return repairPersonId;
    }
@@ -60,7 +60,7 @@
    }
                //维修负责人名称
            private String repairPersonName;
    public String getRepairPersonName() {
        return repairPersonName;
    }
@@ -71,7 +71,7 @@
                //维修开始日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp repairStartDate;
    public Timestamp getRepairStartDate() {
        return repairStartDate;
    }
@@ -82,7 +82,7 @@
                //维修结束日期
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Timestamp repairEndDate;
    public Timestamp getRepairEndDate() {
        return repairEndDate;
    }
@@ -92,7 +92,7 @@
    }
                //维修负责人单位/外键
            private Long repairPersonDepartmentId;
    public Long getRepairPersonDepartmentId() {
        return repairPersonDepartmentId;
    }
@@ -102,7 +102,7 @@
    }
                //维修负责人单位名称
            private String repairPersonDepartmentName;
    public String getRepairPersonDepartmentName() {
        return repairPersonDepartmentName;
    }
@@ -112,7 +112,7 @@
    }
                //维修情况
            private String repairMemo;
    public String getRepairMemo() {
        return repairMemo;
    }
@@ -121,18 +121,18 @@
        this.repairMemo = repairMemo;
    }
                //维修状态  1:维修中 2:已修好
            private Integer repairStatus;
    public Integer getRepairStatus() {
            private Byte repairStatus;
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
                //设施异常项
            private String exceptionInfo;
    public String getExceptionInfo() {
        return exceptionInfo;
    }
@@ -142,7 +142,7 @@
    }
                        //是否删除 0:未删除 1:删除
            private Integer delFlag;
    public Integer getDelFlag() {
        return delFlag;
    }
@@ -150,5 +150,5 @@
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java
@@ -139,13 +139,13 @@
        this.responsibilityPersonName = responsibilityPersonName;
    }
    //装置部位分类 1:关键装置 2:重点部位
    private Integer partType;
    private Byte partType;
    public Integer getPartType() {
    public Byte getPartType() {
        return partType;
    }
    public void setPartType(Integer partType) {
    public void setPartType(Byte partType) {
        this.partType = partType;
    }
    //检查周期
@@ -229,4 +229,4 @@
        this.delFlag = delFlag;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentLifeCycleEnum.java
对比新文件
@@ -0,0 +1,48 @@
package com.gkhy.safePlatform.equipment.enums;
import java.util.HashMap;
import java.util.Map;
public enum EquipmentLifeCycleEnum {
    LIVE_CYCLE_ONE((byte) 1, "已投用"),
    LIVE_CYCLE_TWO((byte) 2, "库存中"),
    LIVE_CYCLE_THREE((byte) 3, "报废");
    private Byte code;
    private String value;
    EquipmentLifeCycleEnum(Byte code, String value) {
        this.code = code;
        this.value = value;
    }
    public Byte getCode() {
        return code;
    }
    public void setCode(Byte code) {
        this.code = code;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    // 转换成为 MAP<Byte, String>, 对外提供查询和遍历功能
    public static Map<Byte, EquipmentLifeCycleEnum> toMap() {
        Map<Byte, EquipmentLifeCycleEnum> map = new HashMap();
        for (EquipmentLifeCycleEnum accidentExpressEnum : EquipmentLifeCycleEnum.values()) {
            map.put(accidentExpressEnum.getCode(), accidentExpressEnum);
        }
        return map;
    }
    public static EquipmentLifeCycleEnum getByCode(Byte code){
        return toMap().get(code);
    }
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentRepairStatusEnum.java
对比新文件
@@ -0,0 +1,47 @@
package com.gkhy.safePlatform.equipment.enums;
import java.util.HashMap;
import java.util.Map;
public enum EquipmentRepairStatusEnum {
    REPAIR_STATUS_ONE((byte) 1, "维修中"),
    REPAIR_STATUS_TWO((byte) 2, "已修好");
    private Byte code;
    private String value;
    EquipmentRepairStatusEnum(Byte code, String value) {
        this.code = code;
        this.value = value;
    }
    public Byte getCode() {
        return code;
    }
    public void setCode(Byte code) {
        this.code = code;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    // 转换成为 MAP<Byte, String>, 对外提供查询和遍历功能
    public static Map<Byte, EquipmentRepairStatusEnum> toMap() {
        Map<Byte, EquipmentRepairStatusEnum> map = new HashMap();
        for (EquipmentRepairStatusEnum accidentExpressEnum : EquipmentRepairStatusEnum.values()) {
            map.put(accidentExpressEnum.getCode(), accidentExpressEnum);
        }
        return map;
    }
    public static EquipmentRepairStatusEnum getByCode(Byte code){
        return toMap().get(code);
    }
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentResultCodes.java
@@ -2,6 +2,13 @@
public enum EquipmentResultCodes {
    EQUIPMENT_ENUM_LIFE_CYCLE_NOT_EXIST("E1001","设备生命周期类型异常"),
    EQUIPMENT_ENUM_STOP_STATUS_NOT_EXIST("E1002","设备停用状态类型异常"),
    EQUIPMENT_ENUM_REPAIR_STATUS_NOT_EXIST("E1003","设备维修状态类型异常"),
    KEYPOINT_EQUIPMENT_ENUM_PART_TYPE_NOT_EXIST("K1001","重点设备装置部位分类类型异常"),
    ERROR("A3000", "未知错误");
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/EquipmentStopStatusEnum.java
对比新文件
@@ -0,0 +1,49 @@
package com.gkhy.safePlatform.equipment.enums;
import java.util.HashMap;
import java.util.Map;
public enum EquipmentStopStatusEnum {
    STOP_STATUS_ONE((byte) 1, "停用"),
    STOP_STATUS_TWO((byte) 2, "在用"),
    STOP_STATUS_THREE((byte) 3, "维修"),
    STOP_STATUS_FOUR((byte) 4, "报废");
    private Byte code;
    private String value;
    EquipmentStopStatusEnum(Byte code, String value) {
        this.code = code;
        this.value = value;
    }
    public Byte getCode() {
        return code;
    }
    public void setCode(Byte code) {
        this.code = code;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    // 转换成为 MAP<Byte, String>, 对外提供查询和遍历功能
    public static Map<Byte, EquipmentStopStatusEnum> toMap() {
        Map<Byte, EquipmentStopStatusEnum> map = new HashMap();
        for (EquipmentStopStatusEnum accidentExpressEnum : EquipmentStopStatusEnum.values()) {
            map.put(accidentExpressEnum.getCode(), accidentExpressEnum);
        }
        return map;
    }
    public static EquipmentStopStatusEnum getByCode(Byte code){
        return toMap().get(code);
    }
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/enums/KeypointEquipmentPartTypeEnum.java
对比新文件
@@ -0,0 +1,47 @@
package com.gkhy.safePlatform.equipment.enums;
import java.util.HashMap;
import java.util.Map;
public enum KeypointEquipmentPartTypeEnum {
    PART_TYPE_ONE((byte) 1, "关键装置"),
    PART_TYPE_TWO((byte) 2, "重点部位");
    private Byte code;
    private String value;
    KeypointEquipmentPartTypeEnum(Byte code, String value) {
        this.code = code;
        this.value = value;
    }
    public Byte getCode() {
        return code;
    }
    public void setCode(Byte code) {
        this.code = code;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    // 转换成为 MAP<Byte, String>, 对外提供查询和遍历功能
    public static Map<Byte, KeypointEquipmentPartTypeEnum> toMap() {
        Map<Byte, KeypointEquipmentPartTypeEnum> map = new HashMap();
        for (KeypointEquipmentPartTypeEnum accidentExpressEnum : KeypointEquipmentPartTypeEnum.values()) {
            map.put(accidentExpressEnum.getCode(), accidentExpressEnum);
        }
        return map;
    }
    public static KeypointEquipmentPartTypeEnum getByCode(Byte code){
        return toMap().get(code);
    }
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentInfoImportExcel.java
@@ -38,16 +38,16 @@
    private String useEndDay;
    //生命周期 1:已使用 2:库存中 3:报废
    @ExcelCell(index = 11)
    private Integer lifeCycle;
    private Byte lifeCycle;
    //投用日期
    @ExcelCell(index = 12)
    private Timestamp useDate;
    //维修状态 1:维修中 2:已修好
    @ExcelCell(index = 13)
    private Integer repairStatus;
    private Byte repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    @ExcelCell(index = 14)
    private Integer stopStatus;
    private Byte stopStatus;
    //上次检查日期
    @ExcelCell(index = 15)
    private Timestamp previousCheckDate;
@@ -168,7 +168,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    public Integer getInfoType() {
        return infoType;
    }
@@ -209,7 +209,7 @@
    public void setModel(String model) {
        this.model = model;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -217,7 +217,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //设置部位
    //设置部位
    public String getSetPart() {
        return setPart;
    }
@@ -225,7 +225,7 @@
    public void setSetPart(String setPart) {
        this.setPart = setPart;
    }
    //生产日期
    //生产日期
    public Timestamp getProduceTime() {
        return produceTime;
    }
@@ -233,7 +233,7 @@
    public void setProduceTime(Timestamp produceTime) {
        this.produceTime = produceTime;
    }
    //使用期限(天)
    //使用期限(天)
    public String getUseEndDay() {
        return useEndDay;
    }
@@ -241,15 +241,15 @@
    public void setUseEndDay(String useEndDay) {
        this.useEndDay = useEndDay;
    }
    //生命周期 1:已使用 2:库存中 3:报废
    public Integer getLifeCycle() {
    //生命周期 1:已使用 2:库存中 3:报废
    public Byte getLifeCycle() {
        return lifeCycle;
    }
    public void setLifeCycle(Integer lifeCycle) {
    public void setLifeCycle(Byte lifeCycle) {
        this.lifeCycle = lifeCycle;
    }
    //投用日期
    //投用日期
    public Timestamp getUseDate() {
        return useDate;
    }
@@ -257,23 +257,23 @@
    public void setUseDate(Timestamp useDate) {
        this.useDate = useDate;
    }
    //维修状态 1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态 1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Integer getStopStatus() {
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Byte getStopStatus() {
        return stopStatus;
    }
    public void setStopStatus(Integer stopStatus) {
    public void setStopStatus(Byte stopStatus) {
        this.stopStatus = stopStatus;
    }
    //上次检查日期
    //上次检查日期
    public Timestamp getPreviousCheckDate() {
        return previousCheckDate;
    }
@@ -281,7 +281,7 @@
    public void setPreviousCheckDate(Timestamp previousCheckDate) {
        this.previousCheckDate = previousCheckDate;
    }
    //上次检测日期
    //上次检测日期
    public Timestamp getPreviousTestDate() {
        return previousTestDate;
    }
@@ -289,7 +289,7 @@
    public void setPreviousTestDate(Timestamp previousTestDate) {
        this.previousTestDate = previousTestDate;
    }
    //上次保养日期
    //上次保养日期
    public Timestamp getPreviousTakecareDate() {
        return previousTakecareDate;
    }
@@ -297,7 +297,7 @@
    public void setPreviousTakecareDate(Timestamp previousTakecareDate) {
        this.previousTakecareDate = previousTakecareDate;
    }
    //下次检查日期
    //下次检查日期
    public Timestamp getNextCheckDate() {
        return nextCheckDate;
    }
@@ -305,7 +305,7 @@
    public void setNextCheckDate(Timestamp nextCheckDate) {
        this.nextCheckDate = nextCheckDate;
    }
    //下次检测日期
    //下次检测日期
    public Timestamp getNextTestDate() {
        return nextTestDate;
    }
@@ -313,7 +313,7 @@
    public void setNextTestDate(Timestamp nextTestDate) {
        this.nextTestDate = nextTestDate;
    }
    //下次保养日期
    //下次保养日期
    public Timestamp getNextTakecareDate() {
        return nextTakecareDate;
    }
@@ -321,7 +321,7 @@
    public void setNextTakecareDate(Timestamp nextTakecareDate) {
        this.nextTakecareDate = nextTakecareDate;
    }
    //负责人ID外键
    //负责人ID外键
    public Long getLeadingPersonId() {
        return leadingPersonId;
    }
@@ -329,7 +329,7 @@
    public void setLeadingPersonId(Long leadingPersonId) {
        this.leadingPersonId = leadingPersonId;
    }
    //负责人部门外键
    //负责人部门外键
    public Long getLeadingPersonDepartmentId() {
        return leadingPersonDepartmentId;
    }
@@ -337,7 +337,7 @@
    public void setLeadingPersonDepartmentId(Long leadingPersonDepartmentId) {
        this.leadingPersonDepartmentId = leadingPersonDepartmentId;
    }
    //供应商
    //供应商
    public String getSupplyName() {
        return supplyName;
    }
@@ -345,7 +345,7 @@
    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }
    //使用说明
    //使用说明
    public String getUseMemo() {
        return useMemo;
    }
@@ -353,7 +353,7 @@
    public void setUseMemo(String useMemo) {
        this.useMemo = useMemo;
    }
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    public Integer getIsNeedCheck() {
        return isNeedCheck;
    }
@@ -361,7 +361,7 @@
    public void setIsNeedCheck(Integer isNeedCheck) {
        this.isNeedCheck = isNeedCheck;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -369,7 +369,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //检查提前提醒
    //检查提前提醒
    public String getCheckWarn() {
        return checkWarn;
    }
@@ -377,7 +377,7 @@
    public void setCheckWarn(String checkWarn) {
        this.checkWarn = checkWarn;
    }
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    public Integer getIsNeedTest() {
        return isNeedTest;
    }
@@ -385,7 +385,7 @@
    public void setIsNeedTest(Integer isNeedTest) {
        this.isNeedTest = isNeedTest;
    }
    //检测周期
    //检测周期
    public String getTestCycle() {
        return testCycle;
    }
@@ -393,7 +393,7 @@
    public void setTestCycle(String testCycle) {
        this.testCycle = testCycle;
    }
    //检测提前提醒
    //检测提前提醒
    public String getTestWarn() {
        return testWarn;
    }
@@ -401,7 +401,7 @@
    public void setTestWarn(String testWarn) {
        this.testWarn = testWarn;
    }
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    public Integer getIsNeedTakecare() {
        return isNeedTakecare;
    }
@@ -409,7 +409,7 @@
    public void setIsNeedTakecare(Integer isNeedTakecare) {
        this.isNeedTakecare = isNeedTakecare;
    }
    //检查内容
    //检查内容
    public String getCheckContent() {
        return checkContent;
    }
@@ -417,7 +417,7 @@
    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }
    //负责部门/外键
    //负责部门/外键
    public Long getLeadingDepartmentId() {
        return leadingDepartmentId;
    }
@@ -425,7 +425,7 @@
    public void setLeadingDepartmentId(Long leadingDepartmentId) {
        this.leadingDepartmentId = leadingDepartmentId;
    }
    //检查指标
    //检查指标
    public String getCheckPoint() {
        return checkPoint;
    }
@@ -433,7 +433,7 @@
    public void setCheckPoint(String checkPoint) {
        this.checkPoint = checkPoint;
    }
    //预警值
    //预警值
    public String getAlertNum() {
        return alertNum;
    }
@@ -441,7 +441,7 @@
    public void setAlertNum(String alertNum) {
        this.alertNum = alertNum;
    }
    //联锁值
    //联锁值
    public String getLockNum() {
        return lockNum;
    }
@@ -449,7 +449,7 @@
    public void setLockNum(String lockNum) {
        this.lockNum = lockNum;
    }
    //停用理由
    //停用理由
    public String getStopReason() {
        return stopReason;
    }
@@ -457,7 +457,7 @@
    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }
    //停用后措施
    //停用后措施
    public String getAfterStopStep() {
        return afterStopStep;
    }
@@ -465,7 +465,7 @@
    public void setAfterStopStep(String afterStopStep) {
        this.afterStopStep = afterStopStep;
    }
    //实际停用日期
    //实际停用日期
    public Timestamp getActualStopDate() {
        return actualStopDate;
    }
@@ -473,7 +473,7 @@
    public void setActualStopDate(Timestamp actualStopDate) {
        this.actualStopDate = actualStopDate;
    }
    //停用提交人/外键
    //停用提交人/外键
    public Long getStopSubmitPersonId() {
        return stopSubmitPersonId;
    }
@@ -481,7 +481,7 @@
    public void setStopSubmitPersonId(Long stopSubmitPersonId) {
        this.stopSubmitPersonId = stopSubmitPersonId;
    }
    //停用提交日期
    //停用提交日期
    public Timestamp getStopSubmitDate() {
        return stopSubmitDate;
    }
@@ -489,7 +489,7 @@
    public void setStopSubmitDate(Timestamp stopSubmitDate) {
        this.stopSubmitDate = stopSubmitDate;
    }
    //恢复理由
    //恢复理由
    public String getRecoveryReason() {
        return recoveryReason;
    }
@@ -497,7 +497,7 @@
    public void setRecoveryReason(String recoveryReason) {
        this.recoveryReason = recoveryReason;
    }
    //恢复填报日期
    //恢复填报日期
    public Timestamp getRecoverySubmitDate() {
        return recoverySubmitDate;
    }
@@ -505,7 +505,7 @@
    public void setRecoverySubmitDate(Timestamp recoverySubmitDate) {
        this.recoverySubmitDate = recoverySubmitDate;
    }
    //实际恢复日期
    //实际恢复日期
    public Timestamp getActualRecoveryDate() {
        return actualRecoveryDate;
    }
@@ -513,7 +513,7 @@
    public void setActualRecoveryDate(Timestamp actualRecoveryDate) {
        this.actualRecoveryDate = actualRecoveryDate;
    }
    //报废理由
    //报废理由
    public String getDestoryReason() {
        return destoryReason;
    }
@@ -521,7 +521,7 @@
    public void setDestoryReason(String destoryReason) {
        this.destoryReason = destoryReason;
    }
    //报废填报日期
    //报废填报日期
    public Timestamp getDestorySubmitDate() {
        return destorySubmitDate;
    }
@@ -529,7 +529,7 @@
    public void setDestorySubmitDate(Timestamp destorySubmitDate) {
        this.destorySubmitDate = destorySubmitDate;
    }
    //实际报废日期
    //实际报废日期
    public Timestamp getActualDestoryDate() {
        return actualDestoryDate;
    }
@@ -537,5 +537,5 @@
    public void setActualDestoryDate(Timestamp actualDestoryDate) {
        this.actualDestoryDate = actualDestoryDate;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentInfoSaveOrUpdate.java
@@ -9,38 +9,38 @@
import java.util.List;
public class EquipmentInfoSaveOrUpdate implements Serializable {
    //ID
    //ID
    private Long id;
    //类型/类别外键
    //类型/类别外键
    private Long equipmentTypeId;
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    private Integer infoType;
    //名称
    //名称
    private String qName;
    //位号
    //位号
    private String positionNum;
    //用途
    //用途
    private String qUsage;
    //型号
    //型号
    private String model;
    //单位部门外键
    //单位部门外键
    private Long departmentId;
    //设置部位
    //设置部位
    private String setPart;
    //生产日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp produceTime;
    //使用期限(天)
    //使用期限(天)
    private String useEndDay;
    //生命周期 1:已使用 2:库存中 3:报废
    private Integer lifeCycle;
    //生命周期 1:已使用 2:库存中 3:报废
    private Byte lifeCycle;
    //投用日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp useDate;
    //维修状态 1:维修中 2:已修好
    private Integer repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    private Integer stopStatus;
    //维修状态 1:维修中 2:已修好
    private Byte repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    private Byte stopStatus;
    //上次检查日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp previousCheckDate;
@@ -59,55 +59,55 @@
    //下次保养日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp nextTakecareDate;
    //负责人ID外键
    //负责人ID外键
    private Long leadingPersonId;
    //负责人名称
    private String leadingPersonName;
    //负责人部门外键
    //负责人部门外键
    private Long leadingPersonDepartmentId;
    //供应商
    //供应商
    private String supplyName;
    //使用说明
    //使用说明
    private String useMemo;
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    private Integer isNeedCheck;
    //检查周期
    //检查周期
    private String checkCycle;
    //检查提前提醒
    //检查提前提醒
    private String checkWarn;
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    private Integer isNeedTest;
    //检测周期
    //检测周期
    private String testCycle;
    //检测提前提醒
    //检测提前提醒
    private String testWarn;
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    private Integer isNeedTakecare;
    //检查内容
    //检查内容
    private String checkContent;
    //负责部门/外键
    //负责部门/外键
    private Long leadingDepartmentId;
    //检查指标
    //检查指标
    private String checkPoint;
    //预警值
    //预警值
    private String alertNum;
    //联锁值
    //联锁值
    private String lockNum;
    //停用理由
    //停用理由
    private String stopReason;
    //停用后措施
    //停用后措施
    private String afterStopStep;
    //实际停用日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp actualStopDate;
    //停用提交人/外键
    //停用提交人/外键
    private Long stopSubmitPersonId;
    //停用提交人名称
    private String stopSubmitPersonName;
    //停用提交日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp stopSubmitDate;
    //恢复理由
    //恢复理由
    private String recoveryReason;
    //恢复填报日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@@ -115,7 +115,7 @@
    //实际恢复日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp actualRecoveryDate;
    //报废理由
    //报废理由
    private String destoryReason;
    //报废填报日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@@ -272,7 +272,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //类型/类别外键
    //类型/类别外键
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -280,7 +280,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    public Integer getInfoType() {
        return infoType;
    }
@@ -321,7 +321,7 @@
    public void setModel(String model) {
        this.model = model;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -329,7 +329,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //设置部位
    //设置部位
    public String getSetPart() {
        return setPart;
    }
@@ -337,7 +337,7 @@
    public void setSetPart(String setPart) {
        this.setPart = setPart;
    }
    //生产日期
    //生产日期
    public Timestamp getProduceTime() {
        return produceTime;
    }
@@ -345,7 +345,7 @@
    public void setProduceTime(Timestamp produceTime) {
        this.produceTime = produceTime;
    }
    //使用期限(天)
    //使用期限(天)
    public String getUseEndDay() {
        return useEndDay;
    }
@@ -353,15 +353,15 @@
    public void setUseEndDay(String useEndDay) {
        this.useEndDay = useEndDay;
    }
    //生命周期 1:已使用 2:库存中 3:报废
    public Integer getLifeCycle() {
    //生命周期 1:已使用 2:库存中 3:报废
    public Byte getLifeCycle() {
        return lifeCycle;
    }
    public void setLifeCycle(Integer lifeCycle) {
    public void setLifeCycle(Byte lifeCycle) {
        this.lifeCycle = lifeCycle;
    }
    //投用日期
    //投用日期
    public Timestamp getUseDate() {
        return useDate;
    }
@@ -369,23 +369,23 @@
    public void setUseDate(Timestamp useDate) {
        this.useDate = useDate;
    }
    //维修状态 1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态 1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Integer getStopStatus() {
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Byte getStopStatus() {
        return stopStatus;
    }
    public void setStopStatus(Integer stopStatus) {
    public void setStopStatus(Byte stopStatus) {
        this.stopStatus = stopStatus;
    }
    //上次检查日期
    //上次检查日期
    public Timestamp getPreviousCheckDate() {
        return previousCheckDate;
    }
@@ -393,7 +393,7 @@
    public void setPreviousCheckDate(Timestamp previousCheckDate) {
        this.previousCheckDate = previousCheckDate;
    }
    //上次检测日期
    //上次检测日期
    public Timestamp getPreviousTestDate() {
        return previousTestDate;
    }
@@ -401,7 +401,7 @@
    public void setPreviousTestDate(Timestamp previousTestDate) {
        this.previousTestDate = previousTestDate;
    }
    //上次保养日期
    //上次保养日期
    public Timestamp getPreviousTakecareDate() {
        return previousTakecareDate;
    }
@@ -409,7 +409,7 @@
    public void setPreviousTakecareDate(Timestamp previousTakecareDate) {
        this.previousTakecareDate = previousTakecareDate;
    }
    //下次检查日期
    //下次检查日期
    public Timestamp getNextCheckDate() {
        return nextCheckDate;
    }
@@ -417,7 +417,7 @@
    public void setNextCheckDate(Timestamp nextCheckDate) {
        this.nextCheckDate = nextCheckDate;
    }
    //下次检测日期
    //下次检测日期
    public Timestamp getNextTestDate() {
        return nextTestDate;
    }
@@ -425,7 +425,7 @@
    public void setNextTestDate(Timestamp nextTestDate) {
        this.nextTestDate = nextTestDate;
    }
    //下次保养日期
    //下次保养日期
    public Timestamp getNextTakecareDate() {
        return nextTakecareDate;
    }
@@ -433,7 +433,7 @@
    public void setNextTakecareDate(Timestamp nextTakecareDate) {
        this.nextTakecareDate = nextTakecareDate;
    }
    //负责人ID外键
    //负责人ID外键
    public Long getLeadingPersonId() {
        return leadingPersonId;
    }
@@ -441,7 +441,7 @@
    public void setLeadingPersonId(Long leadingPersonId) {
        this.leadingPersonId = leadingPersonId;
    }
    //负责人部门外键
    //负责人部门外键
    public Long getLeadingPersonDepartmentId() {
        return leadingPersonDepartmentId;
    }
@@ -449,7 +449,7 @@
    public void setLeadingPersonDepartmentId(Long leadingPersonDepartmentId) {
        this.leadingPersonDepartmentId = leadingPersonDepartmentId;
    }
    //供应商
    //供应商
    public String getSupplyName() {
        return supplyName;
    }
@@ -457,7 +457,7 @@
    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }
    //使用说明
    //使用说明
    public String getUseMemo() {
        return useMemo;
    }
@@ -465,7 +465,7 @@
    public void setUseMemo(String useMemo) {
        this.useMemo = useMemo;
    }
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    public Integer getIsNeedCheck() {
        return isNeedCheck;
    }
@@ -473,7 +473,7 @@
    public void setIsNeedCheck(Integer isNeedCheck) {
        this.isNeedCheck = isNeedCheck;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -481,7 +481,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //检查提前提醒
    //检查提前提醒
    public String getCheckWarn() {
        return checkWarn;
    }
@@ -489,7 +489,7 @@
    public void setCheckWarn(String checkWarn) {
        this.checkWarn = checkWarn;
    }
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    public Integer getIsNeedTest() {
        return isNeedTest;
    }
@@ -497,7 +497,7 @@
    public void setIsNeedTest(Integer isNeedTest) {
        this.isNeedTest = isNeedTest;
    }
    //检测周期
    //检测周期
    public String getTestCycle() {
        return testCycle;
    }
@@ -505,7 +505,7 @@
    public void setTestCycle(String testCycle) {
        this.testCycle = testCycle;
    }
    //检测提前提醒
    //检测提前提醒
    public String getTestWarn() {
        return testWarn;
    }
@@ -513,7 +513,7 @@
    public void setTestWarn(String testWarn) {
        this.testWarn = testWarn;
    }
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    public Integer getIsNeedTakecare() {
        return isNeedTakecare;
    }
@@ -521,7 +521,7 @@
    public void setIsNeedTakecare(Integer isNeedTakecare) {
        this.isNeedTakecare = isNeedTakecare;
    }
    //检查内容
    //检查内容
    public String getCheckContent() {
        return checkContent;
    }
@@ -529,7 +529,7 @@
    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }
    //负责部门/外键
    //负责部门/外键
    public Long getLeadingDepartmentId() {
        return leadingDepartmentId;
    }
@@ -537,7 +537,7 @@
    public void setLeadingDepartmentId(Long leadingDepartmentId) {
        this.leadingDepartmentId = leadingDepartmentId;
    }
    //检查指标
    //检查指标
    public String getCheckPoint() {
        return checkPoint;
    }
@@ -545,7 +545,7 @@
    public void setCheckPoint(String checkPoint) {
        this.checkPoint = checkPoint;
    }
    //预警值
    //预警值
    public String getAlertNum() {
        return alertNum;
    }
@@ -553,7 +553,7 @@
    public void setAlertNum(String alertNum) {
        this.alertNum = alertNum;
    }
    //联锁值
    //联锁值
    public String getLockNum() {
        return lockNum;
    }
@@ -561,7 +561,7 @@
    public void setLockNum(String lockNum) {
        this.lockNum = lockNum;
    }
    //停用理由
    //停用理由
    public String getStopReason() {
        return stopReason;
    }
@@ -569,7 +569,7 @@
    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }
    //停用后措施
    //停用后措施
    public String getAfterStopStep() {
        return afterStopStep;
    }
@@ -577,7 +577,7 @@
    public void setAfterStopStep(String afterStopStep) {
        this.afterStopStep = afterStopStep;
    }
    //实际停用日期
    //实际停用日期
    public Timestamp getActualStopDate() {
        return actualStopDate;
    }
@@ -585,7 +585,7 @@
    public void setActualStopDate(Timestamp actualStopDate) {
        this.actualStopDate = actualStopDate;
    }
    //停用提交人/外键
    //停用提交人/外键
    public Long getStopSubmitPersonId() {
        return stopSubmitPersonId;
    }
@@ -593,7 +593,7 @@
    public void setStopSubmitPersonId(Long stopSubmitPersonId) {
        this.stopSubmitPersonId = stopSubmitPersonId;
    }
    //停用提交日期
    //停用提交日期
    public Timestamp getStopSubmitDate() {
        return stopSubmitDate;
    }
@@ -601,7 +601,7 @@
    public void setStopSubmitDate(Timestamp stopSubmitDate) {
        this.stopSubmitDate = stopSubmitDate;
    }
    //恢复理由
    //恢复理由
    public String getRecoveryReason() {
        return recoveryReason;
    }
@@ -609,7 +609,7 @@
    public void setRecoveryReason(String recoveryReason) {
        this.recoveryReason = recoveryReason;
    }
    //恢复填报日期
    //恢复填报日期
    public Timestamp getRecoverySubmitDate() {
        return recoverySubmitDate;
    }
@@ -617,7 +617,7 @@
    public void setRecoverySubmitDate(Timestamp recoverySubmitDate) {
        this.recoverySubmitDate = recoverySubmitDate;
    }
    //实际恢复日期
    //实际恢复日期
    public Timestamp getActualRecoveryDate() {
        return actualRecoveryDate;
    }
@@ -625,7 +625,7 @@
    public void setActualRecoveryDate(Timestamp actualRecoveryDate) {
        this.actualRecoveryDate = actualRecoveryDate;
    }
    //报废理由
    //报废理由
    public String getDestoryReason() {
        return destoryReason;
    }
@@ -633,7 +633,7 @@
    public void setDestoryReason(String destoryReason) {
        this.destoryReason = destoryReason;
    }
    //报废填报日期
    //报废填报日期
    public Timestamp getDestorySubmitDate() {
        return destorySubmitDate;
    }
@@ -641,7 +641,7 @@
    public void setDestorySubmitDate(Timestamp destorySubmitDate) {
        this.destorySubmitDate = destorySubmitDate;
    }
    //实际报废日期
    //实际报废日期
    public Timestamp getActualDestoryDate() {
        return actualDestoryDate;
    }
@@ -649,7 +649,7 @@
    public void setActualDestoryDate(Timestamp actualDestoryDate) {
        this.actualDestoryDate = actualDestoryDate;
    }
    public Timestamp getCreateTime() {
        return createTime;
    }
@@ -657,7 +657,7 @@
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    public Timestamp getUpdateTime() {
        return updateTime;
    }
@@ -704,4 +704,4 @@
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentRepairDetailQueryCriteria.java
@@ -6,43 +6,43 @@
import com.gkhy.safePlatform.equipment.annotation.Query;
public class EquipmentRepairDetailQueryCriteria {
    @Query()
    private Long id;
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    @Query()
    private Integer infoTpe;
    //设备ID/外键
    //设备ID/外键
    @Query()
    private Long equipmentId;
    //维修负责人/外键
    //维修负责人/外键
    @Query()
    private Long repairPersonId;
    //维修开始日期
    //维修开始日期
    @Query()
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp repairStartDate;
    //维修结束日期
    //维修结束日期
    @Query()
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp repairEndDate;
    //维修负责人单位/外键
    //维修负责人单位/外键
    @Query()
    private Long repairPersonDepartmentId;
    //维修情况
    //维修情况
    @Query()
    private String repairMemo;
    //维修状态  1:维修中 2:已修好
    //维修状态  1:维修中 2:已修好
    @Query()
    private Integer repairStatus;
    //设施异常项
    private Byte repairStatus;
    //设施异常项
    @Query()
    private String exceptionInfo;
    //创建日期
    //创建日期
    @Query()
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    //更新日期
    //更新日期
    @Query()
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
@@ -57,7 +57,7 @@
        this.delFlag = delFlag;
    }
    public Long getId() {
        return id;
    }
@@ -65,7 +65,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    public Integer getInfoTpe() {
        return infoTpe;
    }
@@ -73,7 +73,7 @@
    public void setInfoTpe(Integer infoTpe) {
        this.infoTpe = infoTpe;
    }
    //设备ID/外键
    //设备ID/外键
    public Long getEquipmentId() {
        return equipmentId;
    }
@@ -81,7 +81,7 @@
    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }
    //维修负责人/外键
    //维修负责人/外键
    public Long getRepairPersonId() {
        return repairPersonId;
    }
@@ -89,7 +89,7 @@
    public void setRepairPersonId(Long repairPersonId) {
        this.repairPersonId = repairPersonId;
    }
    //维修开始日期
    //维修开始日期
    public Timestamp getRepairStartDate() {
        return repairStartDate;
    }
@@ -97,7 +97,7 @@
    public void setRepairStartDate(Timestamp repairStartDate) {
        this.repairStartDate = repairStartDate;
    }
    //维修结束日期
    //维修结束日期
    public Timestamp getRepairEndDate() {
        return repairEndDate;
    }
@@ -105,7 +105,7 @@
    public void setRepairEndDate(Timestamp repairEndDate) {
        this.repairEndDate = repairEndDate;
    }
    //维修负责人单位/外键
    //维修负责人单位/外键
    public Long getRepairPersonDepartmentId() {
        return repairPersonDepartmentId;
    }
@@ -113,7 +113,7 @@
    public void setRepairPersonDepartmentId(Long repairPersonDepartmentId) {
        this.repairPersonDepartmentId = repairPersonDepartmentId;
    }
    //维修情况
    //维修情况
    public String getRepairMemo() {
        return repairMemo;
    }
@@ -121,15 +121,15 @@
    public void setRepairMemo(String repairMemo) {
        this.repairMemo = repairMemo;
    }
    //维修状态  1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态  1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //设施异常项
    //设施异常项
    public String getExceptionInfo() {
        return exceptionInfo;
    }
@@ -137,7 +137,7 @@
    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }
    //创建日期
    //创建日期
    public Timestamp getCreateTime() {
        return createTime;
    }
@@ -145,7 +145,7 @@
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    //更新日期
    //更新日期
    public Timestamp getUpdateTime() {
        return updateTime;
    }
@@ -153,4 +153,4 @@
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoImportExcel.java
@@ -33,7 +33,7 @@
    private Long responsibilityPersonId;
    //装置部位分类 1:关键装置 2:重点部位
    @ExcelCell(index = 9)
    private Integer partType;
    private Byte partType;
    //检查周期
    @ExcelCell(index = 10)
    private String checkCycle;
@@ -68,7 +68,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //名称
    //名称
    public String getName() {
        return name;
    }
@@ -76,7 +76,7 @@
    public void setName(String name) {
        this.name = name;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -84,7 +84,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //具体位置
    //具体位置
    public String getPosition() {
        return position;
    }
@@ -92,7 +92,7 @@
    public void setPosition(String position) {
        this.position = position;
    }
    //负责人姓名
    //负责人姓名
    public String getLeadingPersonName() {
        return leadingPersonName;
    }
@@ -100,7 +100,7 @@
    public void setLeadingPersonName(String leadingPersonName) {
        this.leadingPersonName = leadingPersonName;
    }
    //联系人/外键
    //联系人/外键
    public Long getConnectPersonId() {
        return connectPersonId;
    }
@@ -108,7 +108,7 @@
    public void setConnectPersonId(Long connectPersonId) {
        this.connectPersonId = connectPersonId;
    }
    //录入人/外键
    //录入人/外键
    public Long getInputPersonId() {
        return inputPersonId;
    }
@@ -116,7 +116,7 @@
    public void setInputPersonId(Long inputPersonId) {
        this.inputPersonId = inputPersonId;
    }
    //责任人/外键
    //责任人/外键
    public Long getResponsibilityPersonId() {
        return responsibilityPersonId;
    }
@@ -124,15 +124,15 @@
    public void setResponsibilityPersonId(Long responsibilityPersonId) {
        this.responsibilityPersonId = responsibilityPersonId;
    }
    //装置部位分类 1:关键装置 2:重点部位
    public Integer getPartType() {
    //装置部位分类 1:关键装置 2:重点部位
    public Byte getPartType() {
        return partType;
    }
    public void setPartType(Integer partType) {
    public void setPartType(Byte partType) {
        this.partType = partType;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -140,7 +140,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //应急预案/外键
    //应急预案/外键
    public Long getEmergencePlanId() {
        return emergencePlanId;
    }
@@ -148,7 +148,7 @@
    public void setEmergencePlanId(Long emergencePlanId) {
        this.emergencePlanId = emergencePlanId;
    }
    //主要危险有害因素
    //主要危险有害因素
    public String getDangerousElement() {
        return dangerousElement;
    }
@@ -156,7 +156,7 @@
    public void setDangerousElement(String dangerousElement) {
        this.dangerousElement = dangerousElement;
    }
    //易导致风险
    //易导致风险
    public String getToDangerous() {
        return toDangerous;
    }
@@ -164,7 +164,7 @@
    public void setToDangerous(String toDangerous) {
        this.toDangerous = toDangerous;
    }
    //应急处置措施
    //应急处置措施
    public String getTreatment() {
        return treatment;
    }
@@ -172,7 +172,7 @@
    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }
    //现场图片
    //现场图片
    public String getScenePic() {
        return scenePic;
    }
@@ -180,5 +180,5 @@
    public void setScenePic(String scenePic) {
        this.scenePic = scenePic;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentInfoDto.java
@@ -8,117 +8,117 @@
import java.util.List;
public class EquipmentInfoDto implements Serializable {
    //ID
    //ID
    private Long id;
    //类型/类别外键
    //类型/类别外键
    private Long equipmentTypeId;
    //类型/类别名称
    private String equipmentTypeName;
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    private Integer infoType;
    //名称
    //名称
    private String qName;
    //位号
    //位号
    private String positionNum;
    //用途
    //用途
    private String qUsage;
    //型号
    //型号
    private String model;
    //单位部门外键
    //单位部门外键
    private Long departmentId;
    //单位部门名称
    private String departmentName;
    //设置部位
    //设置部位
    private String setPart;
    //生产日期
    //生产日期
    private Timestamp produceTime;
    //使用期限(天)
    //使用期限(天)
    private String useEndDay;
    //生命周期 1:已使用 2:库存中 3:报废
    private Integer lifeCycle;
    //投用日期
    //生命周期 1:已使用 2:库存中 3:报废
    private Byte lifeCycle;
    //投用日期
    private Timestamp useDate;
    //维修状态 1:维修中 2:已修好
    private Integer repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    private Integer stopStatus;
    //上次检查日期
    //维修状态 1:维修中 2:已修好
    private Byte repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    private Byte stopStatus;
    //上次检查日期
    private Timestamp previousCheckDate;
    //上次检测日期
    //上次检测日期
    private Timestamp previousTestDate;
    //上次保养日期
    //上次保养日期
    private Timestamp previousTakecareDate;
    //下次检查日期
    //下次检查日期
    private Timestamp nextCheckDate;
    //下次检测日期
    //下次检测日期
    private Timestamp nextTestDate;
    //下次保养日期
    //下次保养日期
    private Timestamp nextTakecareDate;
    //负责人ID外键
    //负责人ID外键
    private Long leadingPersonId;
    //负责人姓名
    private String leadingPersonName;
    //负责人部门外键
    //负责人部门外键
    private Long leadingPersonDepartmentId;
    //负责人部门名称
    private String leadingPersonDepartmentName;
    //供应商
    //供应商
    private String supplyName;
    //使用说明
    //使用说明
    private String useMemo;
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    private Integer isNeedCheck;
    //检查周期
    //检查周期
    private String checkCycle;
    //检查提前提醒
    //检查提前提醒
    private String checkWarn;
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    private Integer isNeedTest;
    //检测周期
    //检测周期
    private String testCycle;
    //检测提前提醒
    //检测提前提醒
    private String testWarn;
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    private Integer isNeedTakecare;
    //检查内容
    //检查内容
    private String checkContent;
    //负责部门/外键
    //负责部门/外键
    private Long leadingDepartmentId;
    //负责部门名称
    private String leadingDepartmentName;
    //检查指标
    //检查指标
    private String checkPoint;
    //预警值
    //预警值
    private String alertNum;
    //联锁值
    //联锁值
    private String lockNum;
    //停用理由
    //停用理由
    private String stopReason;
    //停用后措施
    //停用后措施
    private String afterStopStep;
    //实际停用日期
    //实际停用日期
    private Timestamp actualStopDate;
    //停用提交人/外键
    //停用提交人/外键
    private Long stopSubmitPersonId;
    //停用提交人名称
    private String stopSubmitPersonName;
    //停用提交日期
    private Timestamp stopSubmitDate;
    //恢复理由
    //恢复理由
    private String recoveryReason;
    //恢复填报日期
    //恢复填报日期
    private Timestamp recoverySubmitDate;
    //实际恢复日期
    //实际恢复日期
    private Timestamp actualRecoveryDate;
    //报废理由
    //报废理由
    private String destoryReason;
    //报废填报日期
    //报废填报日期
    private Timestamp destorySubmitDate;
    //实际报废日期
    //实际报废日期
    private Timestamp actualDestoryDate;
    private Timestamp createTime;
    private Timestamp updateTime;
    //设备保养
@@ -230,7 +230,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //类型/类别外键
    //类型/类别外键
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -238,7 +238,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    public Integer getInfoType() {
        return infoType;
    }
@@ -279,7 +279,7 @@
    public void setModel(String model) {
        this.model = model;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -287,7 +287,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //设置部位
    //设置部位
    public String getSetPart() {
        return setPart;
    }
@@ -295,7 +295,7 @@
    public void setSetPart(String setPart) {
        this.setPart = setPart;
    }
    //生产日期
    //生产日期
    public Timestamp getProduceTime() {
        return produceTime;
    }
@@ -303,7 +303,7 @@
    public void setProduceTime(Timestamp produceTime) {
        this.produceTime = produceTime;
    }
    //使用期限(天)
    //使用期限(天)
    public String getUseEndDay() {
        return useEndDay;
    }
@@ -311,15 +311,15 @@
    public void setUseEndDay(String useEndDay) {
        this.useEndDay = useEndDay;
    }
    //生命周期 1:已使用 2:库存中 3:报废
    public Integer getLifeCycle() {
    //生命周期 1:已使用 2:库存中 3:报废
    public Byte getLifeCycle() {
        return lifeCycle;
    }
    public void setLifeCycle(Integer lifeCycle) {
    public void setLifeCycle(Byte lifeCycle) {
        this.lifeCycle = lifeCycle;
    }
    //投用日期
    //投用日期
    public Timestamp getUseDate() {
        return useDate;
    }
@@ -327,23 +327,23 @@
    public void setUseDate(Timestamp useDate) {
        this.useDate = useDate;
    }
    //维修状态 1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态 1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Integer getStopStatus() {
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Byte getStopStatus() {
        return stopStatus;
    }
    public void setStopStatus(Integer stopStatus) {
    public void setStopStatus(Byte stopStatus) {
        this.stopStatus = stopStatus;
    }
    //上次检查日期
    //上次检查日期
    public Timestamp getPreviousCheckDate() {
        return previousCheckDate;
    }
@@ -351,7 +351,7 @@
    public void setPreviousCheckDate(Timestamp previousCheckDate) {
        this.previousCheckDate = previousCheckDate;
    }
    //上次检测日期
    //上次检测日期
    public Timestamp getPreviousTestDate() {
        return previousTestDate;
    }
@@ -359,7 +359,7 @@
    public void setPreviousTestDate(Timestamp previousTestDate) {
        this.previousTestDate = previousTestDate;
    }
    //上次保养日期
    //上次保养日期
    public Timestamp getPreviousTakecareDate() {
        return previousTakecareDate;
    }
@@ -367,7 +367,7 @@
    public void setPreviousTakecareDate(Timestamp previousTakecareDate) {
        this.previousTakecareDate = previousTakecareDate;
    }
    //下次检查日期
    //下次检查日期
    public Timestamp getNextCheckDate() {
        return nextCheckDate;
    }
@@ -375,7 +375,7 @@
    public void setNextCheckDate(Timestamp nextCheckDate) {
        this.nextCheckDate = nextCheckDate;
    }
    //下次检测日期
    //下次检测日期
    public Timestamp getNextTestDate() {
        return nextTestDate;
    }
@@ -383,7 +383,7 @@
    public void setNextTestDate(Timestamp nextTestDate) {
        this.nextTestDate = nextTestDate;
    }
    //下次保养日期
    //下次保养日期
    public Timestamp getNextTakecareDate() {
        return nextTakecareDate;
    }
@@ -391,7 +391,7 @@
    public void setNextTakecareDate(Timestamp nextTakecareDate) {
        this.nextTakecareDate = nextTakecareDate;
    }
    //负责人ID外键
    //负责人ID外键
    public Long getLeadingPersonId() {
        return leadingPersonId;
    }
@@ -399,7 +399,7 @@
    public void setLeadingPersonId(Long leadingPersonId) {
        this.leadingPersonId = leadingPersonId;
    }
    //负责人部门外键
    //负责人部门外键
    public Long getLeadingPersonDepartmentId() {
        return leadingPersonDepartmentId;
    }
@@ -407,7 +407,7 @@
    public void setLeadingPersonDepartmentId(Long leadingPersonDepartmentId) {
        this.leadingPersonDepartmentId = leadingPersonDepartmentId;
    }
    //供应商
    //供应商
    public String getSupplyName() {
        return supplyName;
    }
@@ -415,7 +415,7 @@
    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }
    //使用说明
    //使用说明
    public String getUseMemo() {
        return useMemo;
    }
@@ -423,7 +423,7 @@
    public void setUseMemo(String useMemo) {
        this.useMemo = useMemo;
    }
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    public Integer getIsNeedCheck() {
        return isNeedCheck;
    }
@@ -431,7 +431,7 @@
    public void setIsNeedCheck(Integer isNeedCheck) {
        this.isNeedCheck = isNeedCheck;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -439,7 +439,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //检查提前提醒
    //检查提前提醒
    public String getCheckWarn() {
        return checkWarn;
    }
@@ -447,7 +447,7 @@
    public void setCheckWarn(String checkWarn) {
        this.checkWarn = checkWarn;
    }
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    public Integer getIsNeedTest() {
        return isNeedTest;
    }
@@ -455,7 +455,7 @@
    public void setIsNeedTest(Integer isNeedTest) {
        this.isNeedTest = isNeedTest;
    }
    //检测周期
    //检测周期
    public String getTestCycle() {
        return testCycle;
    }
@@ -463,7 +463,7 @@
    public void setTestCycle(String testCycle) {
        this.testCycle = testCycle;
    }
    //检测提前提醒
    //检测提前提醒
    public String getTestWarn() {
        return testWarn;
    }
@@ -471,7 +471,7 @@
    public void setTestWarn(String testWarn) {
        this.testWarn = testWarn;
    }
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    public Integer getIsNeedTakecare() {
        return isNeedTakecare;
    }
@@ -479,7 +479,7 @@
    public void setIsNeedTakecare(Integer isNeedTakecare) {
        this.isNeedTakecare = isNeedTakecare;
    }
    //检查内容
    //检查内容
    public String getCheckContent() {
        return checkContent;
    }
@@ -487,7 +487,7 @@
    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }
    //负责部门/外键
    //负责部门/外键
    public Long getLeadingDepartmentId() {
        return leadingDepartmentId;
    }
@@ -495,7 +495,7 @@
    public void setLeadingDepartmentId(Long leadingDepartmentId) {
        this.leadingDepartmentId = leadingDepartmentId;
    }
    //检查指标
    //检查指标
    public String getCheckPoint() {
        return checkPoint;
    }
@@ -503,7 +503,7 @@
    public void setCheckPoint(String checkPoint) {
        this.checkPoint = checkPoint;
    }
    //预警值
    //预警值
    public String getAlertNum() {
        return alertNum;
    }
@@ -511,7 +511,7 @@
    public void setAlertNum(String alertNum) {
        this.alertNum = alertNum;
    }
    //联锁值
    //联锁值
    public String getLockNum() {
        return lockNum;
    }
@@ -519,7 +519,7 @@
    public void setLockNum(String lockNum) {
        this.lockNum = lockNum;
    }
    //停用理由
    //停用理由
    public String getStopReason() {
        return stopReason;
    }
@@ -527,7 +527,7 @@
    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }
    //停用后措施
    //停用后措施
    public String getAfterStopStep() {
        return afterStopStep;
    }
@@ -535,7 +535,7 @@
    public void setAfterStopStep(String afterStopStep) {
        this.afterStopStep = afterStopStep;
    }
    //实际停用日期
    //实际停用日期
    public Timestamp getActualStopDate() {
        return actualStopDate;
    }
@@ -543,7 +543,7 @@
    public void setActualStopDate(Timestamp actualStopDate) {
        this.actualStopDate = actualStopDate;
    }
    //停用提交人/外键
    //停用提交人/外键
    public Long getStopSubmitPersonId() {
        return stopSubmitPersonId;
    }
@@ -551,7 +551,7 @@
    public void setStopSubmitPersonId(Long stopSubmitPersonId) {
        this.stopSubmitPersonId = stopSubmitPersonId;
    }
    //停用提交日期
    //停用提交日期
    public Timestamp getStopSubmitDate() {
        return stopSubmitDate;
    }
@@ -559,7 +559,7 @@
    public void setStopSubmitDate(Timestamp stopSubmitDate) {
        this.stopSubmitDate = stopSubmitDate;
    }
    //恢复理由
    //恢复理由
    public String getRecoveryReason() {
        return recoveryReason;
    }
@@ -567,7 +567,7 @@
    public void setRecoveryReason(String recoveryReason) {
        this.recoveryReason = recoveryReason;
    }
    //恢复填报日期
    //恢复填报日期
    public Timestamp getRecoverySubmitDate() {
        return recoverySubmitDate;
    }
@@ -575,7 +575,7 @@
    public void setRecoverySubmitDate(Timestamp recoverySubmitDate) {
        this.recoverySubmitDate = recoverySubmitDate;
    }
    //实际恢复日期
    //实际恢复日期
    public Timestamp getActualRecoveryDate() {
        return actualRecoveryDate;
    }
@@ -583,7 +583,7 @@
    public void setActualRecoveryDate(Timestamp actualRecoveryDate) {
        this.actualRecoveryDate = actualRecoveryDate;
    }
    //报废理由
    //报废理由
    public String getDestoryReason() {
        return destoryReason;
    }
@@ -591,7 +591,7 @@
    public void setDestoryReason(String destoryReason) {
        this.destoryReason = destoryReason;
    }
    //报废填报日期
    //报废填报日期
    public Timestamp getDestorySubmitDate() {
        return destorySubmitDate;
    }
@@ -599,7 +599,7 @@
    public void setDestorySubmitDate(Timestamp destorySubmitDate) {
        this.destorySubmitDate = destorySubmitDate;
    }
    //实际报废日期
    //实际报废日期
    public Timestamp getActualDestoryDate() {
        return actualDestoryDate;
    }
@@ -607,7 +607,7 @@
    public void setActualDestoryDate(Timestamp actualDestoryDate) {
        this.actualDestoryDate = actualDestoryDate;
    }
    public Timestamp getCreateTime() {
        return createTime;
    }
@@ -615,7 +615,7 @@
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    public Timestamp getUpdateTime() {
        return updateTime;
    }
@@ -671,4 +671,4 @@
    public void setEquipmentTypeName(String equipmentTypeName) {
        this.equipmentTypeName = equipmentTypeName;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentInfoExcel.java
@@ -12,7 +12,7 @@
    //类型/类别外键
    @ExcelCell(index = 1)
    private Long equipmentTypeId;
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    @ExcelCell(index = 2)
    private Integer infoType;
    //名称
@@ -41,16 +41,16 @@
    private String useEndDay;
    //生命周期 1:已使用 2:库存中 3:报废
    @ExcelCell(index = 11)
    private Integer lifeCycle;
    private Byte lifeCycle;
    //投用日期
    @ExcelCell(index = 12)
    private Timestamp useDate;
    //维修状态 1:维修中 2:已修好
    @ExcelCell(index = 13)
    private Integer repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    private Byte repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废
    @ExcelCell(index = 14)
    private Integer stopStatus;
    private Byte stopStatus;
    //上次检查日期
    @ExcelCell(index = 15)
    private Timestamp previousCheckDate;
@@ -171,7 +171,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //类型/类别外键
    //类型/类别外键
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -179,7 +179,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施
    public Integer getInfoType() {
        return infoType;
    }
@@ -220,7 +220,7 @@
    public void setModel(String model) {
        this.model = model;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -228,7 +228,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //设置部位
    //设置部位
    public String getSetPart() {
        return setPart;
    }
@@ -236,7 +236,7 @@
    public void setSetPart(String setPart) {
        this.setPart = setPart;
    }
    //生产日期
    //生产日期
    public Timestamp getProduceTime() {
        return produceTime;
    }
@@ -244,7 +244,7 @@
    public void setProduceTime(Timestamp produceTime) {
        this.produceTime = produceTime;
    }
    //使用期限(天)
    //使用期限(天)
    public String getUseEndDay() {
        return useEndDay;
    }
@@ -252,15 +252,15 @@
    public void setUseEndDay(String useEndDay) {
        this.useEndDay = useEndDay;
    }
    //生命周期 1:已使用 2:库存中 3:报废
    public Integer getLifeCycle() {
    //生命周期 1:已使用 2:库存中 3:报废
    public Byte getLifeCycle() {
        return lifeCycle;
    }
    public void setLifeCycle(Integer lifeCycle) {
    public void setLifeCycle(Byte lifeCycle) {
        this.lifeCycle = lifeCycle;
    }
    //投用日期
    //投用日期
    public Timestamp getUseDate() {
        return useDate;
    }
@@ -268,23 +268,23 @@
    public void setUseDate(Timestamp useDate) {
        this.useDate = useDate;
    }
    //维修状态 1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态 1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Integer getStopStatus() {
    //停用状态 1:停用 2.在用 3.维修 4.报废
    public Byte getStopStatus() {
        return stopStatus;
    }
    public void setStopStatus(Integer stopStatus) {
    public void setStopStatus(Byte stopStatus) {
        this.stopStatus = stopStatus;
    }
    //上次检查日期
    //上次检查日期
    public Timestamp getPreviousCheckDate() {
        return previousCheckDate;
    }
@@ -292,7 +292,7 @@
    public void setPreviousCheckDate(Timestamp previousCheckDate) {
        this.previousCheckDate = previousCheckDate;
    }
    //上次检测日期
    //上次检测日期
    public Timestamp getPreviousTestDate() {
        return previousTestDate;
    }
@@ -300,7 +300,7 @@
    public void setPreviousTestDate(Timestamp previousTestDate) {
        this.previousTestDate = previousTestDate;
    }
    //上次保养日期
    //上次保养日期
    public Timestamp getPreviousTakecareDate() {
        return previousTakecareDate;
    }
@@ -308,7 +308,7 @@
    public void setPreviousTakecareDate(Timestamp previousTakecareDate) {
        this.previousTakecareDate = previousTakecareDate;
    }
    //下次检查日期
    //下次检查日期
    public Timestamp getNextCheckDate() {
        return nextCheckDate;
    }
@@ -316,7 +316,7 @@
    public void setNextCheckDate(Timestamp nextCheckDate) {
        this.nextCheckDate = nextCheckDate;
    }
    //下次检测日期
    //下次检测日期
    public Timestamp getNextTestDate() {
        return nextTestDate;
    }
@@ -324,7 +324,7 @@
    public void setNextTestDate(Timestamp nextTestDate) {
        this.nextTestDate = nextTestDate;
    }
    //下次保养日期
    //下次保养日期
    public Timestamp getNextTakecareDate() {
        return nextTakecareDate;
    }
@@ -332,7 +332,7 @@
    public void setNextTakecareDate(Timestamp nextTakecareDate) {
        this.nextTakecareDate = nextTakecareDate;
    }
    //负责人ID外键
    //负责人ID外键
    public Long getLeadingPersonId() {
        return leadingPersonId;
    }
@@ -340,7 +340,7 @@
    public void setLeadingPersonId(Long leadingPersonId) {
        this.leadingPersonId = leadingPersonId;
    }
    //负责人部门外键
    //负责人部门外键
    public Long getLeadingPersonDepartmentId() {
        return leadingPersonDepartmentId;
    }
@@ -348,7 +348,7 @@
    public void setLeadingPersonDepartmentId(Long leadingPersonDepartmentId) {
        this.leadingPersonDepartmentId = leadingPersonDepartmentId;
    }
    //供应商
    //供应商
    public String getSupplyName() {
        return supplyName;
    }
@@ -356,7 +356,7 @@
    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }
    //使用说明
    //使用说明
    public String getUseMemo() {
        return useMemo;
    }
@@ -364,7 +364,7 @@
    public void setUseMemo(String useMemo) {
        this.useMemo = useMemo;
    }
    //是否检查 1:是 2:否
    //是否检查 1:是 2:否
    public Integer getIsNeedCheck() {
        return isNeedCheck;
    }
@@ -372,7 +372,7 @@
    public void setIsNeedCheck(Integer isNeedCheck) {
        this.isNeedCheck = isNeedCheck;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -380,7 +380,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //检查提前提醒
    //检查提前提醒
    public String getCheckWarn() {
        return checkWarn;
    }
@@ -388,7 +388,7 @@
    public void setCheckWarn(String checkWarn) {
        this.checkWarn = checkWarn;
    }
    //是否检测 1:是 2:否
    //是否检测 1:是 2:否
    public Integer getIsNeedTest() {
        return isNeedTest;
    }
@@ -396,7 +396,7 @@
    public void setIsNeedTest(Integer isNeedTest) {
        this.isNeedTest = isNeedTest;
    }
    //检测周期
    //检测周期
    public String getTestCycle() {
        return testCycle;
    }
@@ -404,7 +404,7 @@
    public void setTestCycle(String testCycle) {
        this.testCycle = testCycle;
    }
    //检测提前提醒
    //检测提前提醒
    public String getTestWarn() {
        return testWarn;
    }
@@ -412,7 +412,7 @@
    public void setTestWarn(String testWarn) {
        this.testWarn = testWarn;
    }
    //是否保养 1:是 2:否
    //是否保养 1:是 2:否
    public Integer getIsNeedTakecare() {
        return isNeedTakecare;
    }
@@ -420,7 +420,7 @@
    public void setIsNeedTakecare(Integer isNeedTakecare) {
        this.isNeedTakecare = isNeedTakecare;
    }
    //检查内容
    //检查内容
    public String getCheckContent() {
        return checkContent;
    }
@@ -428,7 +428,7 @@
    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }
    //负责部门/外键
    //负责部门/外键
    public Long getLeadingDepartmentId() {
        return leadingDepartmentId;
    }
@@ -436,7 +436,7 @@
    public void setLeadingDepartmentId(Long leadingDepartmentId) {
        this.leadingDepartmentId = leadingDepartmentId;
    }
    //检查指标
    //检查指标
    public String getCheckPoint() {
        return checkPoint;
    }
@@ -444,7 +444,7 @@
    public void setCheckPoint(String checkPoint) {
        this.checkPoint = checkPoint;
    }
    //预警值
    //预警值
    public String getAlertNum() {
        return alertNum;
    }
@@ -452,7 +452,7 @@
    public void setAlertNum(String alertNum) {
        this.alertNum = alertNum;
    }
    //联锁值
    //联锁值
    public String getLockNum() {
        return lockNum;
    }
@@ -460,7 +460,7 @@
    public void setLockNum(String lockNum) {
        this.lockNum = lockNum;
    }
    //停用理由
    //停用理由
    public String getStopReason() {
        return stopReason;
    }
@@ -468,7 +468,7 @@
    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }
    //停用后措施
    //停用后措施
    public String getAfterStopStep() {
        return afterStopStep;
    }
@@ -476,7 +476,7 @@
    public void setAfterStopStep(String afterStopStep) {
        this.afterStopStep = afterStopStep;
    }
    //实际停用日期
    //实际停用日期
    public Timestamp getActualStopDate() {
        return actualStopDate;
    }
@@ -484,7 +484,7 @@
    public void setActualStopDate(Timestamp actualStopDate) {
        this.actualStopDate = actualStopDate;
    }
    //停用提交人/外键
    //停用提交人/外键
    public Long getStopSubmitPersonId() {
        return stopSubmitPersonId;
    }
@@ -492,7 +492,7 @@
    public void setStopSubmitPersonId(Long stopSubmitPersonId) {
        this.stopSubmitPersonId = stopSubmitPersonId;
    }
    //停用提交日期
    //停用提交日期
    public Timestamp getStopSubmitDate() {
        return stopSubmitDate;
    }
@@ -500,7 +500,7 @@
    public void setStopSubmitDate(Timestamp stopSubmitDate) {
        this.stopSubmitDate = stopSubmitDate;
    }
    //恢复理由
    //恢复理由
    public String getRecoveryReason() {
        return recoveryReason;
    }
@@ -508,7 +508,7 @@
    public void setRecoveryReason(String recoveryReason) {
        this.recoveryReason = recoveryReason;
    }
    //恢复填报日期
    //恢复填报日期
    public Timestamp getRecoverySubmitDate() {
        return recoverySubmitDate;
    }
@@ -516,7 +516,7 @@
    public void setRecoverySubmitDate(Timestamp recoverySubmitDate) {
        this.recoverySubmitDate = recoverySubmitDate;
    }
    //实际恢复日期
    //实际恢复日期
    public Timestamp getActualRecoveryDate() {
        return actualRecoveryDate;
    }
@@ -524,7 +524,7 @@
    public void setActualRecoveryDate(Timestamp actualRecoveryDate) {
        this.actualRecoveryDate = actualRecoveryDate;
    }
    //报废理由
    //报废理由
    public String getDestoryReason() {
        return destoryReason;
    }
@@ -532,7 +532,7 @@
    public void setDestoryReason(String destoryReason) {
        this.destoryReason = destoryReason;
    }
    //报废填报日期
    //报废填报日期
    public Timestamp getDestorySubmitDate() {
        return destorySubmitDate;
    }
@@ -540,7 +540,7 @@
    public void setDestorySubmitDate(Timestamp destorySubmitDate) {
        this.destorySubmitDate = destorySubmitDate;
    }
    //实际报废日期
    //实际报废日期
    public Timestamp getActualDestoryDate() {
        return actualDestoryDate;
    }
@@ -548,5 +548,5 @@
    public void setActualDestoryDate(Timestamp actualDestoryDate) {
        this.actualDestoryDate = actualDestoryDate;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/EquipmentRepairDetailDto.java
@@ -4,32 +4,32 @@
import java.io.Serializable;
public class EquipmentRepairDetailDto implements Serializable {
    private Long id;
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    private Integer infoTpe;
    //设备ID/外键
    //设备ID/外键
    private Long equipmentId;
    //维修负责人/外键
    //维修负责人/外键
    private Long repairPersonId;
    //维修开始日期
    //维修开始日期
    private Timestamp repairStartDate;
    //维修结束日期
    //维修结束日期
    private Timestamp repairEndDate;
    //维修负责人单位/外键
    //维修负责人单位/外键
    private Long repairPersonDepartmentId;
    //维修情况
    //维修情况
    private String repairMemo;
    //维修状态  1:维修中 2:已修好
    private Integer repairStatus;
    //设施异常项
    //维修状态  1:维修中 2:已修好
    private Byte repairStatus;
    //设施异常项
    private String exceptionInfo;
    //创建日期
    //创建日期
    private Timestamp createTime;
    //更新日期
    //更新日期
    private Timestamp updateTime;
    public Long getId() {
        return id;
    }
@@ -37,7 +37,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施  3:重点监管装置/设备
    public Integer getInfoTpe() {
        return infoTpe;
    }
@@ -45,7 +45,7 @@
    public void setInfoTpe(Integer infoTpe) {
        this.infoTpe = infoTpe;
    }
    //设备ID/外键
    //设备ID/外键
    public Long getEquipmentId() {
        return equipmentId;
    }
@@ -53,7 +53,7 @@
    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }
    //维修负责人/外键
    //维修负责人/外键
    public Long getRepairPersonId() {
        return repairPersonId;
    }
@@ -61,7 +61,7 @@
    public void setRepairPersonId(Long repairPersonId) {
        this.repairPersonId = repairPersonId;
    }
    //维修开始日期
    //维修开始日期
    public Timestamp getRepairStartDate() {
        return repairStartDate;
    }
@@ -69,7 +69,7 @@
    public void setRepairStartDate(Timestamp repairStartDate) {
        this.repairStartDate = repairStartDate;
    }
    //维修结束日期
    //维修结束日期
    public Timestamp getRepairEndDate() {
        return repairEndDate;
    }
@@ -77,7 +77,7 @@
    public void setRepairEndDate(Timestamp repairEndDate) {
        this.repairEndDate = repairEndDate;
    }
    //维修负责人单位/外键
    //维修负责人单位/外键
    public Long getRepairPersonDepartmentId() {
        return repairPersonDepartmentId;
    }
@@ -85,7 +85,7 @@
    public void setRepairPersonDepartmentId(Long repairPersonDepartmentId) {
        this.repairPersonDepartmentId = repairPersonDepartmentId;
    }
    //维修情况
    //维修情况
    public String getRepairMemo() {
        return repairMemo;
    }
@@ -93,15 +93,15 @@
    public void setRepairMemo(String repairMemo) {
        this.repairMemo = repairMemo;
    }
    //维修状态  1:维修中 2:已修好
    public Integer getRepairStatus() {
    //维修状态  1:维修中 2:已修好
    public Byte getRepairStatus() {
        return repairStatus;
    }
    public void setRepairStatus(Integer repairStatus) {
    public void setRepairStatus(Byte repairStatus) {
        this.repairStatus = repairStatus;
    }
    //设施异常项
    //设施异常项
    public String getExceptionInfo() {
        return exceptionInfo;
    }
@@ -109,7 +109,7 @@
    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }
    //创建日期
    //创建日期
    public Timestamp getCreateTime() {
        return createTime;
    }
@@ -117,7 +117,7 @@
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    //更新日期
    //更新日期
    public Timestamp getUpdateTime() {
        return updateTime;
    }
@@ -125,4 +125,4 @@
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/KeypointEquipmentInfoDto.java
@@ -8,21 +8,21 @@
import java.util.List;
public class KeypointEquipmentInfoDto implements Serializable {
    //ID
    //ID
    private Long id;
    //类型/类别外键
    //类型/类别外键
    private Long equipmentTypeId;
    //类型名称
    private String equipmentTypeName;
    //名称
    //名称
    private String name;
    //单位部门外键
    //单位部门外键
    private Long departmentId;
    //所属部门名称
    private String departmentName;
    //具体位置
    private String position;
    //负责人姓名
    //负责人姓名
    private String leadingPersonName;
    //联系人/外键
    private Long connectPersonId;
@@ -61,25 +61,25 @@
    public void setResponsibilityPersonName(String responsibilityPersonName) {
        this.responsibilityPersonName = responsibilityPersonName;
    }
    //装置部位分类 1:关键装置 2:重点部位
    private Integer partType;
    //检查周期
    //装置部位分类 1:关键装置 2:重点部位
    private Byte partType;
    //检查周期
    private String checkCycle;
    //应急预案/外键
    //应急预案/外键
    private Long emergencePlanId;
    //应急预案名称
    private String emergencePlanName;
    //主要危险有害因素
    //主要危险有害因素
    private String dangerousElement;
    //易导致风险
    //易导致风险
    private String toDangerous;
    //应急处置措施
    //应急处置措施
    private String treatment;
    //现场图片
    //现场图片
    private String scenePic;
    private Date createTime;
    private Date updateTime;
    public String getDepartmentName() {
@@ -224,7 +224,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //类型/类别外键
    //类型/类别外键
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -232,7 +232,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //名称
    //名称
    public String getName() {
        return name;
    }
@@ -240,7 +240,7 @@
    public void setName(String name) {
        this.name = name;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -248,7 +248,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //具体位置
    //具体位置
    public String getPosition() {
        return position;
    }
@@ -256,7 +256,7 @@
    public void setPosition(String position) {
        this.position = position;
    }
    //负责人姓名
    //负责人姓名
    public String getLeadingPersonName() {
        return leadingPersonName;
    }
@@ -264,7 +264,7 @@
    public void setLeadingPersonName(String leadingPersonName) {
        this.leadingPersonName = leadingPersonName;
    }
    //联系人/外键
    //联系人/外键
    public Long getConnectPersonId() {
        return connectPersonId;
    }
@@ -272,7 +272,7 @@
    public void setConnectPersonId(Long connectPersonId) {
        this.connectPersonId = connectPersonId;
    }
    //录入人/外键
    //录入人/外键
    public Long getInputPersonId() {
        return inputPersonId;
    }
@@ -280,7 +280,7 @@
    public void setInputPersonId(Long inputPersonId) {
        this.inputPersonId = inputPersonId;
    }
    //责任人/外键
    //责任人/外键
    public Long getResponsibilityPersonId() {
        return responsibilityPersonId;
    }
@@ -288,15 +288,15 @@
    public void setResponsibilityPersonId(Long responsibilityPersonId) {
        this.responsibilityPersonId = responsibilityPersonId;
    }
    //装置部位分类 1:关键装置 2:重点部位
    public Integer getPartType() {
    //装置部位分类 1:关键装置 2:重点部位
    public Byte getPartType() {
        return partType;
    }
    public void setPartType(Integer partType) {
    public void setPartType(Byte partType) {
        this.partType = partType;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -304,7 +304,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //应急预案/外键
    //应急预案/外键
    public Long getEmergencePlanId() {
        return emergencePlanId;
    }
@@ -312,7 +312,7 @@
    public void setEmergencePlanId(Long emergencePlanId) {
        this.emergencePlanId = emergencePlanId;
    }
    //主要危险有害因素
    //主要危险有害因素
    public String getDangerousElement() {
        return dangerousElement;
    }
@@ -320,7 +320,7 @@
    public void setDangerousElement(String dangerousElement) {
        this.dangerousElement = dangerousElement;
    }
    //易导致风险
    //易导致风险
    public String getToDangerous() {
        return toDangerous;
    }
@@ -328,7 +328,7 @@
    public void setToDangerous(String toDangerous) {
        this.toDangerous = toDangerous;
    }
    //应急处置措施
    //应急处置措施
    public String getTreatment() {
        return treatment;
    }
@@ -336,7 +336,7 @@
    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }
    //现场图片
    //现场图片
    public String getScenePic() {
        return scenePic;
    }
@@ -344,7 +344,7 @@
    public void setScenePic(String scenePic) {
        this.scenePic = scenePic;
    }
    public Date getCreateTime() {
        return createTime;
    }
@@ -352,7 +352,7 @@
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
@@ -387,4 +387,4 @@
        this.memo = memo;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/KeypointEquipmentInfoExcel.java
@@ -40,7 +40,7 @@
    private Long responsibilityPersonId;
    //装置部位分类 1:关键装置 2:重点部位
    @ExcelCell(index = 9)
    private Integer partType;
    private Byte partType;
    //检查周期
    @ExcelCell(index = 10)
    private String checkCycle;
@@ -59,9 +59,9 @@
    //现场图片
    @ExcelCell(index = 15)
    private String scenePic;
    private Date createTime;
    private Date updateTime;
    public String getDepartmentName() {
@@ -206,7 +206,7 @@
    public void setId(Long id) {
        this.id = id;
    }
    //类型/类别外键
    //类型/类别外键
    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }
@@ -214,7 +214,7 @@
    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }
    //名称
    //名称
    public String getName() {
        return name;
    }
@@ -222,7 +222,7 @@
    public void setName(String name) {
        this.name = name;
    }
    //单位部门外键
    //单位部门外键
    public Long getDepartmentId() {
        return departmentId;
    }
@@ -230,7 +230,7 @@
    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
    //具体位置
    //具体位置
    public String getPosition() {
        return position;
    }
@@ -238,7 +238,7 @@
    public void setPosition(String position) {
        this.position = position;
    }
    //负责人姓名
    //负责人姓名
    public String getLeadingPersonName() {
        return leadingPersonName;
    }
@@ -246,7 +246,7 @@
    public void setLeadingPersonName(String leadingPersonName) {
        this.leadingPersonName = leadingPersonName;
    }
    //联系人/外键
    //联系人/外键
    public Long getConnectPersonId() {
        return connectPersonId;
    }
@@ -254,7 +254,7 @@
    public void setConnectPersonId(Long connectPersonId) {
        this.connectPersonId = connectPersonId;
    }
    //录入人/外键
    //录入人/外键
    public Long getInputPersonId() {
        return inputPersonId;
    }
@@ -262,7 +262,7 @@
    public void setInputPersonId(Long inputPersonId) {
        this.inputPersonId = inputPersonId;
    }
    //责任人/外键
    //责任人/外键
    public Long getResponsibilityPersonId() {
        return responsibilityPersonId;
    }
@@ -270,15 +270,15 @@
    public void setResponsibilityPersonId(Long responsibilityPersonId) {
        this.responsibilityPersonId = responsibilityPersonId;
    }
    //装置部位分类 1:关键装置 2:重点部位
    public Integer getPartType() {
    //装置部位分类 1:关键装置 2:重点部位
    public Byte getPartType() {
        return partType;
    }
    public void setPartType(Integer partType) {
    public void setPartType(Byte partType) {
        this.partType = partType;
    }
    //检查周期
    //检查周期
    public String getCheckCycle() {
        return checkCycle;
    }
@@ -286,7 +286,7 @@
    public void setCheckCycle(String checkCycle) {
        this.checkCycle = checkCycle;
    }
    //应急预案/外键
    //应急预案/外键
    public Long getEmergencePlanId() {
        return emergencePlanId;
    }
@@ -294,7 +294,7 @@
    public void setEmergencePlanId(Long emergencePlanId) {
        this.emergencePlanId = emergencePlanId;
    }
    //主要危险有害因素
    //主要危险有害因素
    public String getDangerousElement() {
        return dangerousElement;
    }
@@ -302,7 +302,7 @@
    public void setDangerousElement(String dangerousElement) {
        this.dangerousElement = dangerousElement;
    }
    //易导致风险
    //易导致风险
    public String getToDangerous() {
        return toDangerous;
    }
@@ -310,7 +310,7 @@
    public void setToDangerous(String toDangerous) {
        this.toDangerous = toDangerous;
    }
    //应急处置措施
    //应急处置措施
    public String getTreatment() {
        return treatment;
    }
@@ -318,7 +318,7 @@
    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }
    //现场图片
    //现场图片
    public String getScenePic() {
        return scenePic;
    }
@@ -326,7 +326,7 @@
    public void setScenePic(String scenePic) {
        this.scenePic = scenePic;
    }
    public Date getCreateTime() {
        return createTime;
    }
@@ -334,7 +334,7 @@
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
@@ -342,4 +342,4 @@
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/service/impl/EquipmentInfoServiceImpl.java
@@ -14,6 +14,10 @@
import com.gkhy.safePlatform.commons.vo.ResultVO;
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
import com.gkhy.safePlatform.equipment.entity.*;
import com.gkhy.safePlatform.equipment.enums.EquipmentLifeCycleEnum;
import com.gkhy.safePlatform.equipment.enums.EquipmentRepairStatusEnum;
import com.gkhy.safePlatform.equipment.enums.EquipmentResultCodes;
import com.gkhy.safePlatform.equipment.enums.EquipmentStopStatusEnum;
import com.gkhy.safePlatform.equipment.excepiton.EquipmentException;
import com.gkhy.safePlatform.equipment.model.dto.req.*;
import com.gkhy.safePlatform.equipment.model.dto.resp.EquipmentInfoDto;
@@ -235,6 +239,10 @@
    @Override
    public void addOrUpdate(EquipmentInfoSaveOrUpdate infoDto) {
        // 验证枚举
        checkEnum(infoDto);
        if(infoDto.getInfoType() == null || infoDto.getEquipmentTypeId() == null){
            throw new EquipmentException(ResultCodes.CLIENT_PARAM_ILLEGAL);
        }
@@ -559,4 +567,23 @@
        ExcelUtil.exportExcel(map,respList , response.getOutputStream(),DateUtils.PATTERN_STANDARD);
        response.getOutputStream().close();
    }
}
    /**
     * 枚举验证
     * @param infoDto
     */
    public void checkEnum(EquipmentInfoSaveOrUpdate infoDto){
        if (EquipmentLifeCycleEnum.getByCode(infoDto.getLifeCycle()) == null) {
            throw new EquipmentException(EquipmentResultCodes.EQUIPMENT_ENUM_LIFE_CYCLE_NOT_EXIST);
        }
        if (EquipmentRepairStatusEnum.getByCode(infoDto.getRepairStatus()) == null) {
            throw new EquipmentException(EquipmentResultCodes.EQUIPMENT_ENUM_STOP_STATUS_NOT_EXIST);
        }
        if (EquipmentStopStatusEnum.getByCode(infoDto.getStopStatus()) == null) {
            throw new EquipmentException(EquipmentResultCodes.EQUIPMENT_ENUM_REPAIR_STATUS_NOT_EXIST);
        }
    }
}
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/service/impl/KeypointEquipmentInfoServiceImpl.java
@@ -7,6 +7,8 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.safePlatform.account.rpc.apimodel.AccountDepartmentService;
import com.gkhy.safePlatform.equipment.entity.*;
import com.gkhy.safePlatform.equipment.enums.EquipmentResultCodes;
import com.gkhy.safePlatform.equipment.enums.KeypointEquipmentPartTypeEnum;
import com.gkhy.safePlatform.equipment.excepiton.EquipmentException;
import com.gkhy.safePlatform.equipment.model.dto.req.*;
import com.gkhy.safePlatform.equipment.model.dto.resp.KeypointEquipmentInfoExcel;
@@ -77,7 +79,7 @@
    @Autowired
    public HttpServletResponse response;
    @Override
    public ResultVO queryAll(PageQuery<KeypointEquipmentInfoQueryCriteria> pageQuery) {
        Long pageIndex = pageQuery.getPageIndex();
@@ -241,6 +243,10 @@
    @Override
    public void addOrUpdate(KeypointEquipmentInfoDto infoDto) {
        // 验证枚举
        checkEnum(infoDto);
        KeypointEquipmentInfo equipmentInfo = BeanCopyUtils.copyBean(infoDto, KeypointEquipmentInfo.class);
        //保存主数据
        if (infoDto.getId() == null) { //新增
@@ -453,4 +459,14 @@
        ExcelUtil.exportExcel(map,respList , response.getOutputStream(),DateUtils.PATTERN_STANDARD);
        response.getOutputStream().close();
    }
}
    /**
     * 枚举验证
     * @param infoDto
     */
    public void checkEnum(KeypointEquipmentInfoDto infoDto){
        if (KeypointEquipmentPartTypeEnum.getByCode(infoDto.getPartType()) == null) {
            throw new EquipmentException(EquipmentResultCodes.KEYPOINT_EQUIPMENT_ENUM_PART_TYPE_NOT_EXIST);
        }
    }
}
incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/AccidentReportInfoMapper.xml
@@ -249,7 +249,8 @@
            AND a.gmt_create <![CDATA[ <= ]]> #{endTime}
        GROUP BY
            DATE_FORMAT( a.gmt_create, '%Y-%m' ),
            a.accident_level
            a.accident_level,
            DATE_FORMAT( a.gmt_create, '%m' )
    </select>
    <select id="getCountForRPCByDeptIdAndDay" resultMap="accidentReportCountRPC">
@@ -271,6 +272,7 @@
            AND a.gmt_create <![CDATA[ <= ]]> #{endTime}
        GROUP BY
            DATE_FORMAT( a.gmt_create, '%Y-%m-%d' ),
            a.accident_level
            a.accident_level,
            DATE_FORMAT( a.gmt_create, '%d' )
    </select>
</mapper>