同步暂降模块代码
This commit is contained in:
@@ -72,9 +72,9 @@ public enum DeviceResponseEnum {
|
||||
|
||||
FLOW_SAME_NAME("A0350","当前名称已存在"),
|
||||
FLOW_FLAG("A0351","默认类型已存在"),
|
||||
FLOW_ERROR("A0352","占比参数异常")
|
||||
|
||||
FLOW_ERROR("A0352","占比参数异常"),
|
||||
|
||||
IMPORT_ORACLE_EXCEPTION("A0353","导入旧库台账异常")
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ public class OracleTerminalExcel implements Serializable {
|
||||
@Pattern(regexp = PatternRegex.DEV_NAME_REGEX, message = "设备名称违规")
|
||||
private String deviceName;
|
||||
|
||||
@Excel(name = "终端索引")
|
||||
@NotNull(message = "终端索引不能为空")
|
||||
private Integer deviceId;
|
||||
|
||||
@Excel(name = "终端模型", replace = {"虚拟设备_0", "实际设备_1", "离线设备_2"}, width = 15)
|
||||
@NotNull(message = "设备模型不能为空")
|
||||
private Integer devModel;
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.njcn.device.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
@TableName("pq_device_bak")
|
||||
public class DeviceBak {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 终端Id
|
||||
*/
|
||||
private String id;
|
||||
|
||||
|
||||
/**
|
||||
* 原始终端Id
|
||||
*/
|
||||
private Integer devId;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user