yang_shj
10 months ago
58 changed files with 2047 additions and 584 deletions
@ -0,0 +1,31 @@ |
|||||||
|
package com.hnac.hzims.safeproduct.enums; |
||||||
|
|
||||||
|
/** |
||||||
|
* 考试方式枚举类 |
||||||
|
* |
||||||
|
* @author liwen |
||||||
|
* @date 2024-01-25 |
||||||
|
*/ |
||||||
|
public enum TestMethodEnum { |
||||||
|
|
||||||
|
ONLINE("ONLINE", "线上"), |
||||||
|
OFFLINE("OFFLINE", "线下"), |
||||||
|
MIXED("MIXED", "线上+线下"); |
||||||
|
|
||||||
|
private final String value; |
||||||
|
|
||||||
|
private final String desc; |
||||||
|
|
||||||
|
TestMethodEnum(String value, String desc) { |
||||||
|
this.value = value; |
||||||
|
this.desc = desc; |
||||||
|
} |
||||||
|
|
||||||
|
public String getValue() { |
||||||
|
return value; |
||||||
|
} |
||||||
|
|
||||||
|
public String getDesc() { |
||||||
|
return desc; |
||||||
|
} |
||||||
|
} |
@ -1,20 +0,0 @@ |
|||||||
package com.hnac.hzinfo.inspect.gather.feigns; |
|
||||||
|
|
||||||
import com.hnac.hzinfo.inspect.report.feign.IInspectReportClient; |
|
||||||
import com.hnac.hzinfo.inspect.report.service.InspectReportService; |
|
||||||
import com.hnac.hzinfo.inspect.report.vo.AlarmRoutReportVO; |
|
||||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||||
|
|
||||||
import java.util.List; |
|
||||||
import java.util.Map; |
|
||||||
|
|
||||||
public class InspectReportClient implements IInspectReportClient { |
|
||||||
|
|
||||||
@Autowired |
|
||||||
private InspectReportService inspectReportService; |
|
||||||
|
|
||||||
@Override |
|
||||||
public Map<Long, AlarmRoutReportVO> getAlarmReport(List<Long> depts, String date) { |
|
||||||
return inspectReportService.getAlarnReport(date,depts); |
|
||||||
} |
|
||||||
} |
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,32 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||||
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class AccessRunReportVO implements Serializable { |
||||||
|
private static final long serialVersionUID = -6752409583963294512L; |
||||||
|
|
||||||
|
private Integer index; |
||||||
|
|
||||||
|
@ApiModelProperty("人员ID") |
||||||
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||||
|
private Long userId; |
||||||
|
|
||||||
|
@ApiModelProperty("姓名") |
||||||
|
private String userName; |
||||||
|
|
||||||
|
@ApiModelProperty("检修项目") |
||||||
|
private String maintenanceItem; |
||||||
|
|
||||||
|
@ApiModelProperty("完成情况") |
||||||
|
private String completeSituation; |
||||||
|
@ApiModelProperty("备注") |
||||||
|
private String remark; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,36 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import lombok.Builder; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.NoArgsConstructor; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
@AllArgsConstructor |
||||||
|
@NoArgsConstructor |
||||||
|
@Builder |
||||||
|
public class DefectRunReportsVO implements Serializable { |
||||||
|
|
||||||
|
private static final long serialVersionUID = 4172942990070215282L; |
||||||
|
|
||||||
|
private Integer index; |
||||||
|
|
||||||
|
@ApiModelProperty("缺陷名称") |
||||||
|
private String faultName; |
||||||
|
@ApiModelProperty("缺陷等级") |
||||||
|
private String seriousSituation; |
||||||
|
@ApiModelProperty("发现人") |
||||||
|
private String finder; |
||||||
|
@ApiModelProperty("发现时间") |
||||||
|
private String finderTime; |
||||||
|
@ApiModelProperty("缺陷描述") |
||||||
|
private String description; |
||||||
|
@ApiModelProperty("处理时间") |
||||||
|
private String handleTime; |
||||||
|
@ApiModelProperty("处理情况") |
||||||
|
private String handleSituation; |
||||||
|
} |
@ -0,0 +1,36 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class DutyRunReportVO implements Serializable { |
||||||
|
private static final long serialVersionUID = 3273581622730234931L; |
||||||
|
|
||||||
|
private Integer index; |
||||||
|
|
||||||
|
@ApiModelProperty("班组名称") |
||||||
|
private String groupName; |
||||||
|
@ApiModelProperty("值长") |
||||||
|
private String managerName; |
||||||
|
@ApiModelProperty("值班次数") |
||||||
|
private Integer dutyNum=0; |
||||||
|
@ApiModelProperty("值班") |
||||||
|
private List<String> dutyList; |
||||||
|
@ApiModelProperty("发现问题数量") |
||||||
|
private Integer findProblemNum=0; |
||||||
|
@ApiModelProperty("发现问题数量") |
||||||
|
private List<String> findProblemList; |
||||||
|
@ApiModelProperty("延迟交接班") |
||||||
|
private Integer delayChangeShifts=0; |
||||||
|
@ApiModelProperty("延迟交接班") |
||||||
|
private List<String> delayChangeList; |
||||||
|
@ApiModelProperty("异常交接班") |
||||||
|
private Integer exceptionChangeShifts=0; |
||||||
|
@ApiModelProperty("异常交接班") |
||||||
|
private List<String> exceptionChangeList; |
||||||
|
} |
@ -0,0 +1,41 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import com.alibaba.fastjson.annotation.JSONField; |
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||||
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||||
|
import com.hnac.hzims.operational.maintenance.entity.OperMaintenanceTaskEntity; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class FDPRunReportVO implements Serializable { |
||||||
|
private static final long serialVersionUID = -4198449565005940501L; |
||||||
|
|
||||||
|
private Integer index; |
||||||
|
@ApiModelProperty("最近出现告警时间") |
||||||
|
@JSONField(name = "LASTBEGINTIME") |
||||||
|
private String lastBeginTime; |
||||||
|
|
||||||
|
@ApiModelProperty("告警内容") |
||||||
|
private String content; |
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty("告警类型") |
||||||
|
private String type; |
||||||
|
|
||||||
|
@ApiModelProperty("告警次数") |
||||||
|
private String num; |
||||||
|
|
||||||
|
@ApiModelProperty("初步分析原因") |
||||||
|
@JSONField(name = "ORD") |
||||||
|
private String reason; |
||||||
|
|
||||||
|
@ApiModelProperty("建议处置方式") |
||||||
|
@JSONField(name = "INFO") |
||||||
|
private String advise; |
||||||
|
|
||||||
|
|
||||||
|
} |
@ -0,0 +1,31 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class RunReportVO implements Serializable { |
||||||
|
private static final long serialVersionUID = -4198449565005940501L; |
||||||
|
|
||||||
|
private Integer index; |
||||||
|
|
||||||
|
@ApiModelProperty("人员ID") |
||||||
|
private String userId; |
||||||
|
@ApiModelProperty("姓名") |
||||||
|
private String userName; |
||||||
|
@ApiModelProperty("完成次数") |
||||||
|
private Integer completeNum; |
||||||
|
@ApiModelProperty("完成任务数量") |
||||||
|
private List<String> completeList; |
||||||
|
@ApiModelProperty("未完成次数") |
||||||
|
private Integer incompleteNum; |
||||||
|
@ApiModelProperty("完成任务数量") |
||||||
|
private List<String> incompleteList; |
||||||
|
@ApiModelProperty("备注") |
||||||
|
private String remark; |
||||||
|
|
||||||
|
|
||||||
|
} |
@ -0,0 +1,50 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import com.hnac.hzims.fdp.vo.StatisticStatusVO; |
||||||
|
import com.hnac.hzims.ticket.allTicket.vo.TicketInfoStatisticVO; |
||||||
|
import com.hnac.hzinfo.inspect.task.vo.TaskReportVO; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.List; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class StationRunReportAllVO implements Serializable { |
||||||
|
private static final long serialVersionUID = -3173423342834166988L; |
||||||
|
|
||||||
|
@ApiModelProperty("月报统计月份") |
||||||
|
private String yearMonth; |
||||||
|
|
||||||
|
@ApiModelProperty("电站名称") |
||||||
|
private String stationName; |
||||||
|
|
||||||
|
@ApiModelProperty("电站发电情况") |
||||||
|
private List<StationRunReportVO> stationReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("值班") |
||||||
|
private List<DutyRunReportVO> dutyReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("日常维护") |
||||||
|
private List<RunReportVO> maintenanceReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("巡检") |
||||||
|
private List<RunReportVO> inspectReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("检修") |
||||||
|
private List<AccessRunReportVO> accessReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("缺陷") |
||||||
|
private List<DefectRunReportsVO> defectReportsVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("两票") |
||||||
|
private List<TicketInfoStatisticVO> ticketInfoStatisticVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("智能诊断") |
||||||
|
private List<FDPRunReportVO> fdpRunReportVOList; |
||||||
|
|
||||||
|
@ApiModelProperty("建议") |
||||||
|
private String suggestion; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,32 @@ |
|||||||
|
package com.hnac.hzims.operational.report.vo; |
||||||
|
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||||
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class StationRunReportVO implements Serializable { |
||||||
|
private static final long serialVersionUID = -8957498837980526029L; |
||||||
|
@ApiModelProperty("序号") |
||||||
|
private Integer index; |
||||||
|
@ApiModelProperty(value = "电站名称") |
||||||
|
private String stationName; |
||||||
|
@ApiModelProperty(value = "月计划发电量") |
||||||
|
private Double powerMonPlan; |
||||||
|
@ApiModelProperty(value = "实发电量") |
||||||
|
private String finishPowerMon; |
||||||
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||||
|
@ApiModelProperty(value = "月度完成率") |
||||||
|
private String powerMonRate; |
||||||
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||||
|
@ApiModelProperty(value = "年度计划") |
||||||
|
private Double powerYearPlan; |
||||||
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||||
|
@ApiModelProperty(value = "已完成") |
||||||
|
private String finishPowerYear; |
||||||
|
@ApiModelProperty(value = "年度完成率") |
||||||
|
private String powerYearRate; |
||||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue