仿冒功能
仿冒地址池ip 来函和任务修改 样例新增界面增加631业务
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* 代理欺骗IP池对象类
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class PxyObjSpoofingIpPool extends BaseIpCfg{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 8149437730819674317L;
|
||||
private String indexTable="ip_port_cfg";
|
||||
@Expose
|
||||
@SerializedName("port")
|
||||
private String port;
|
||||
@Expose
|
||||
@SerializedName("addrType")
|
||||
private Integer ipType;
|
||||
@Expose
|
||||
@SerializedName("ip")
|
||||
private String ipAddress;
|
||||
private String groupName;//欺骗IP池(IP组)名称
|
||||
@Expose
|
||||
@SerializedName("policyGroup")
|
||||
private Integer groupId;//欺骗IP池(IP组)id
|
||||
@Expose
|
||||
@SerializedName("location")
|
||||
private Integer location;//位置,无意义,固定为0
|
||||
@Expose
|
||||
@SerializedName("cfgId")
|
||||
private Integer compileId;
|
||||
@Expose
|
||||
@SerializedName("userRegion")
|
||||
private String userRegion;
|
||||
@Expose
|
||||
@SerializedName("effectiveRange")
|
||||
private String areaEffectiveIds ;
|
||||
public String getIpAddress() {
|
||||
return ipAddress;
|
||||
}
|
||||
public void setIpAddress(String ipAddress) {
|
||||
this.ipAddress = ipAddress;
|
||||
}
|
||||
public Integer getGroupId() {
|
||||
return groupId;
|
||||
}
|
||||
public void setGroupId(Integer groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
public Integer getLocation() {
|
||||
return location;
|
||||
}
|
||||
public void setLocation(Integer location) {
|
||||
this.location = location;
|
||||
}
|
||||
public Integer getCompileId() {
|
||||
return compileId;
|
||||
}
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
public String getGroupName() {
|
||||
return groupName;
|
||||
}
|
||||
public void setGroupName(String groupName) {
|
||||
this.groupName = groupName;
|
||||
}
|
||||
public String getIndexTable() {
|
||||
return indexTable;
|
||||
}
|
||||
public void setIndexTable(String indexTable) {
|
||||
this.indexTable = indexTable;
|
||||
}
|
||||
public String getPort() {
|
||||
port="0";
|
||||
return port;
|
||||
}
|
||||
public void setPort(String port) {
|
||||
this.port = port;
|
||||
}
|
||||
public Integer getIpType() {
|
||||
return ipType;
|
||||
}
|
||||
public void setIpType(Integer ipType) {
|
||||
this.ipType = ipType;
|
||||
}
|
||||
public String getUserRegion() {
|
||||
return userRegion;
|
||||
}
|
||||
public void setUserRegion(String userRegion) {
|
||||
this.userRegion = userRegion;
|
||||
}
|
||||
public String getAreaEffectiveIds() {
|
||||
return areaEffectiveIds;
|
||||
}
|
||||
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
||||
this.areaEffectiveIds = areaEffectiveIds;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -4,48 +4,130 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.nis.domain.BaseEntity;
|
||||
import com.nis.domain.SysMenu;
|
||||
import com.nis.util.StringUtil;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
import com.nis.web.security.UserUtils;
|
||||
|
||||
public class RequestInfo extends BaseEntity<RequestInfo>{
|
||||
|
||||
@ExcelField(title="Id",sort=1)
|
||||
private Long id;
|
||||
private Long taskId;
|
||||
|
||||
@ExcelField(title="title",sort=2)
|
||||
private String requestNumber;
|
||||
|
||||
@ExcelField(title="request_organization",sort=3)
|
||||
private String requestOrg;
|
||||
|
||||
@ExcelField(title="request_time",sort=4)
|
||||
private Date requestTime;
|
||||
|
||||
@ExcelField(title="request_number",sort=6)
|
||||
private String requestTitle;
|
||||
|
||||
@ExcelField(title="content",sort=7)
|
||||
private String requestContent;
|
||||
|
||||
private Integer isValid;
|
||||
|
||||
@ExcelField(title="state",dictType="AUDIT_STATUS",sort=5)
|
||||
private Integer isAudit;
|
||||
|
||||
private Integer creatorId;
|
||||
|
||||
@ExcelField(title="create_time",sort=10)
|
||||
private Date createTime;
|
||||
|
||||
private Integer editorId;
|
||||
|
||||
@ExcelField(title="edit_time",sort=12)
|
||||
private Date editTime;
|
||||
|
||||
private Integer auditorId;
|
||||
|
||||
@ExcelField(title="audit_time",sort=14)
|
||||
private Date auditTime;
|
||||
|
||||
//自定义 创建人员 修改人员 审核人员
|
||||
@ExcelField(title="creator",sort=9)
|
||||
private String creatorName;
|
||||
@ExcelField(title="editor",sort=11)
|
||||
private String editorName;
|
||||
@ExcelField(title="auditor",sort=13)
|
||||
private String auditorName;
|
||||
private Date beginDate;//来函开始时间
|
||||
private Date endDate;//来函结束时间
|
||||
private String timeType;//时间类型
|
||||
@ExcelField(title="special_task",sort=8)
|
||||
private String taskName;//专项任务
|
||||
private String seltype;//选中类型
|
||||
private Date dobeginDate;//操作开始时间
|
||||
private Date doendDate;//操作结束时间
|
||||
/**
|
||||
* 菜单ID
|
||||
*/
|
||||
private Integer functionId;
|
||||
/**
|
||||
* 菜单权限
|
||||
*/
|
||||
private String permission;
|
||||
/**
|
||||
* 菜单权限
|
||||
*/
|
||||
private String menuNameCode;
|
||||
private String columns;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getFunctionId() {
|
||||
return functionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param functionId the functionId to set
|
||||
*/
|
||||
public void setFunctionId(Integer functionId) {
|
||||
this.functionId = functionId;
|
||||
if(!StringUtil.isEmpty(functionId) && StringUtil.isEmpty(this.menuNameCode)){
|
||||
List<SysMenu> list = UserUtils.getMenuList();
|
||||
if(!StringUtil.isEmpty(list)) {
|
||||
for (SysMenu menu :list) {
|
||||
if (!StringUtil.isEmpty(menu.getCode())
|
||||
&&menu.getFunctionId()!=null
|
||||
&& menu.getFunctionId().equals(functionId)
|
||||
//&& menu.getFunctionId().equals(functionId)
|
||||
) {
|
||||
this.setMenuNameCode(menu.getCode());
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public String getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
public void setPermission(String permission) {
|
||||
this.permission = permission;
|
||||
}
|
||||
|
||||
public String getMenuNameCode() {
|
||||
return menuNameCode;
|
||||
}
|
||||
|
||||
public void setMenuNameCode(String menuNameCode) {
|
||||
this.menuNameCode = menuNameCode;
|
||||
}
|
||||
|
||||
public String getColumns() {
|
||||
return columns;
|
||||
}
|
||||
|
||||
public void setColumns(String columns) {
|
||||
this.columns = columns;
|
||||
}
|
||||
|
||||
public Long getTaskId() {
|
||||
return taskId;
|
||||
|
||||
@@ -1,45 +1,114 @@
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.nis.domain.BaseEntity;
|
||||
import com.nis.domain.SysMenu;
|
||||
import com.nis.util.StringUtil;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
import com.nis.web.security.UserUtils;
|
||||
|
||||
public class TaskInfo extends BaseEntity<TaskInfo> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ExcelField(title="task_name",sort=1)
|
||||
private String taskName;
|
||||
|
||||
@ExcelField(title="task_org",sort=2)
|
||||
private String taskOrg;
|
||||
|
||||
@ExcelField(title="task_time",sort=3)
|
||||
private Date taskTime;
|
||||
|
||||
@ExcelField(title="desc",sort=6)
|
||||
private String taskDesc;
|
||||
|
||||
private Integer isValid;
|
||||
|
||||
@ExcelField(title="state",dictType="AUDIT_STATUS",sort=4)
|
||||
private Integer isAudit;
|
||||
|
||||
private Integer creatorId;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer editorId;
|
||||
|
||||
private Date editTime;
|
||||
|
||||
private Integer auditorId;
|
||||
|
||||
private Date auditTime;
|
||||
|
||||
private Integer creatorId;
|
||||
@ExcelField(title="create_time",sort=8)
|
||||
private Date createTime;
|
||||
private Integer editorId;
|
||||
@ExcelField(title="edit_time",sort=10)
|
||||
private Date editTime;
|
||||
private Integer auditorId;
|
||||
@ExcelField(title="audit_time",sort=12)
|
||||
private Date auditTime;
|
||||
//自定义 创建人员 修改人员 审核人员
|
||||
@ExcelField(title="creator",sort=7)
|
||||
private String creatorName;
|
||||
@ExcelField(title="editor",sort=9)
|
||||
private String editorName;
|
||||
@ExcelField(title="auditor",sort=11)
|
||||
private String auditorName;
|
||||
private Date beginDate;//来函开始时间
|
||||
private Date endDate;//来函结束时间
|
||||
private String seltype;//选中类型
|
||||
private Date dobeginDate;//操作开始时间
|
||||
private Date doendDate;//操作结束时间
|
||||
/**
|
||||
* 菜单ID
|
||||
*/
|
||||
private Integer functionId;
|
||||
/**
|
||||
* 菜单权限
|
||||
*/
|
||||
private String permission;
|
||||
/**
|
||||
* 菜单权限
|
||||
*/
|
||||
private String menuNameCode;
|
||||
private String columns;
|
||||
|
||||
public String getColumns() {
|
||||
return columns;
|
||||
}
|
||||
|
||||
public void setColumns(String columns) {
|
||||
this.columns = columns;
|
||||
}
|
||||
|
||||
public Integer getFunctionId() {
|
||||
return functionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param functionId the functionId to set
|
||||
*/
|
||||
public void setFunctionId(Integer functionId) {
|
||||
this.functionId = functionId;
|
||||
if(!StringUtil.isEmpty(functionId) && StringUtil.isEmpty(this.menuNameCode)){
|
||||
List<SysMenu> list = UserUtils.getMenuList();
|
||||
if(!StringUtil.isEmpty(list)) {
|
||||
for (SysMenu menu :list) {
|
||||
if (!StringUtil.isEmpty(menu.getCode())
|
||||
&&menu.getFunctionId()!=null
|
||||
&& menu.getFunctionId().equals(functionId)
|
||||
//&& menu.getFunctionId().equals(functionId)
|
||||
) {
|
||||
this.setMenuNameCode(menu.getCode());
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public String getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
public void setPermission(String permission) {
|
||||
this.permission = permission;
|
||||
}
|
||||
|
||||
public String getMenuNameCode() {
|
||||
return menuNameCode;
|
||||
}
|
||||
|
||||
public void setMenuNameCode(String menuNameCode) {
|
||||
this.menuNameCode = menuNameCode;
|
||||
}
|
||||
|
||||
public String getTaskName() {
|
||||
return taskName;
|
||||
|
||||
Reference in New Issue
Block a user