用户投诉提交
This commit is contained in:
@@ -3,7 +3,6 @@ package com.njcn.supervision.pojo.param.problem;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@@ -13,7 +12,6 @@ import lombok.NoArgsConstructor;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@ApiModel(description="用户投诉信息")
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class SupervisionUserComplaintParam {
|
||||
@@ -34,12 +32,17 @@ public class SupervisionUserComplaintParam {
|
||||
@ApiModelProperty(value = "投诉内容")
|
||||
private String complaintText;
|
||||
|
||||
@ApiModelProperty(value = "稳态指标")
|
||||
private String steadyIndicator;
|
||||
|
||||
@ApiModelProperty(value = "暂态指标")
|
||||
private String transientIndicators;
|
||||
|
||||
@ApiModelProperty(value = "异常指标")
|
||||
private String anomalyMetrics;
|
||||
|
||||
@ApiModelProperty(value = "是否实现检测(1:是 2:否)")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "是否实现检测(0-否 1-是)")
|
||||
private Integer detectionFlag;
|
||||
|
||||
@ApiModelProperty(value = "监测点编号")
|
||||
private String monitorNumber;
|
||||
@@ -47,8 +50,8 @@ public class SupervisionUserComplaintParam {
|
||||
@ApiModelProperty(value = "监测点名称")
|
||||
private String monitorName;
|
||||
|
||||
@ApiModelProperty(value = "是否发起警告单(1:是;2:否)")
|
||||
private String initiateWarningFlag;
|
||||
@ApiModelProperty(value = "是否发起警告单(0-否 1-是)")
|
||||
private Integer initiateWarningFlag;
|
||||
|
||||
@ApiModelProperty(value = "状态:0-删除 1-正常")
|
||||
private Integer state;
|
||||
@@ -64,6 +67,14 @@ public class SupervisionUserComplaintParam {
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class SupervisionUserComplaintUpdate extends SupervisionUserComplaintParam {
|
||||
|
||||
@ApiModelProperty("id")
|
||||
private String Id;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询实体
|
||||
@@ -75,5 +86,4 @@ public class SupervisionUserComplaintParam {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
package com.njcn.supervision.pojo.po.problem;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/5/22 16:25【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@ApiModel(description="")
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "supervision_user_complaint")
|
||||
public class SupervisionUserComplaintPO extends BaseEntity {
|
||||
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 用户类别
|
||||
*/
|
||||
@TableField(value = "user_category")
|
||||
private String userCategory;
|
||||
|
||||
/**
|
||||
* 用户编号
|
||||
*/
|
||||
@TableField(value = "user_number")
|
||||
private String userNumber;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
@TableField(value = "user_name")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 投诉名称
|
||||
*/
|
||||
@TableField(value = "complaint_name")
|
||||
private String complaintName;
|
||||
|
||||
/**
|
||||
* 投诉内容
|
||||
*/
|
||||
@TableField(value = "complaint_text")
|
||||
private String complaintText;
|
||||
|
||||
/**
|
||||
* 稳态指标
|
||||
*/
|
||||
@TableField(value = "steady_Indicator")
|
||||
private String steadyIndicator;
|
||||
|
||||
/**
|
||||
* 暂态指标
|
||||
*/
|
||||
@TableField(value = "transient_Indicators")
|
||||
private String transientIndicators;
|
||||
|
||||
/**
|
||||
* 异常指标
|
||||
*/
|
||||
@TableField(value = "anomaly_metrics")
|
||||
private String anomalyMetrics;
|
||||
|
||||
/**
|
||||
* 是否实现检测(0:否;1:是)
|
||||
*/
|
||||
@TableField(value = "`detection_flag`")
|
||||
private Integer detectionFlag;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 监测点编号
|
||||
*/
|
||||
@TableField(value = "monitor_number")
|
||||
private String monitorNumber;
|
||||
|
||||
/**
|
||||
* 检测点名称
|
||||
*/
|
||||
@TableField(value = "monitor_name")
|
||||
private String monitorName;
|
||||
|
||||
/**
|
||||
* 是否发起警告单(0:否;1:是)
|
||||
*/
|
||||
@TableField(value = "initiate_warning_flag")
|
||||
private Integer initiateWarningFlag;
|
||||
|
||||
/**
|
||||
* 状态:0-删除 1-正常
|
||||
*/
|
||||
@TableField(value = "`state`")
|
||||
private Integer state;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.njcn.supervision.pojo.vo.device;
|
||||
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -14,12 +15,19 @@ import lombok.Data;
|
||||
public class SupervisionTempLineDebugVO extends BaseEntity {
|
||||
|
||||
private String id;
|
||||
@ApiModelProperty(value="监测点编号")
|
||||
private String lineId;
|
||||
@ApiModelProperty(value="监测点名称")
|
||||
private String lineName;
|
||||
@ApiModelProperty(value="关联干扰源用户id名称")
|
||||
private String userName;
|
||||
@ApiModelProperty(value="接入母线")
|
||||
private String connectedBus;
|
||||
@ApiModelProperty(value="监测终端编码")
|
||||
private String monitoringTerminalCode;
|
||||
@ApiModelProperty(value="监测终端名称")
|
||||
private String monitoringTerminalName;
|
||||
@ApiModelProperty(value="电网侧变电站")
|
||||
private String powerSubstationName;
|
||||
private String reason;
|
||||
private String processInstanceId;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package com.njcn.supervision.pojo.vo.problem;
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
@@ -10,17 +9,15 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@ApiModel(description="用户投诉信息")
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class SupervisionUserComplaint {
|
||||
public class SupervisionUserComplaintVO {
|
||||
|
||||
private String id;
|
||||
@ApiModelProperty("id")
|
||||
private String Id;
|
||||
|
||||
@ApiModelProperty(value = "用户类别")
|
||||
private String userCategory;
|
||||
|
||||
@ApiModelProperty(value = "用户编号")
|
||||
private String userNumber;
|
||||
@@ -40,11 +37,9 @@ public class SupervisionUserComplaint {
|
||||
@ApiModelProperty(value = "暂态指标")
|
||||
private String transientIndicators;
|
||||
|
||||
@ApiModelProperty(value = "异常指标")
|
||||
private String anomalyMetrics;
|
||||
@ApiModelProperty(value = "是否实现检测(0:否;1:是)")
|
||||
private Integer detectionFlag;
|
||||
|
||||
@ApiModelProperty(value = "是否实现检测(1:是 2:否)")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "监测点编号")
|
||||
private String monitorNumber;
|
||||
@@ -52,23 +47,9 @@ public class SupervisionUserComplaint {
|
||||
@ApiModelProperty(value = "监测点名称")
|
||||
private String monitorName;
|
||||
|
||||
@ApiModelProperty(value = "是否发起警告单(1:是;2:否)")
|
||||
private String initiateWarningFlag;
|
||||
@ApiModelProperty(value = "是否发起警告单(0:否;1:是)")
|
||||
private Integer initiateWarningFlag;
|
||||
|
||||
@ApiModelProperty(value = "状态:0-删除 1-正常")
|
||||
private Integer state;
|
||||
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createBy;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@ApiModelProperty(value = "更新人")
|
||||
private String updateBy;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 分页查询实体
|
||||
@@ -80,4 +61,5 @@ public class SupervisionUserComplaint {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user