2018-03-05 17:23:42 +08:00
|
|
|
package com.nis.domain.configuration;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
2018-12-17 00:21:27 +08:00
|
|
|
import java.util.List;
|
2018-03-05 17:23:42 +08:00
|
|
|
|
|
|
|
|
import com.nis.domain.BaseEntity;
|
2018-12-17 00:21:27 +08:00
|
|
|
import com.nis.domain.SysMenu;
|
|
|
|
|
import com.nis.util.StringUtil;
|
|
|
|
|
import com.nis.util.excel.ExcelField;
|
|
|
|
|
import com.nis.web.security.UserUtils;
|
2018-03-05 17:23:42 +08:00
|
|
|
|
|
|
|
|
public class TaskInfo extends BaseEntity<TaskInfo> {
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="task_name",sort=1)
|
2018-03-05 17:23:42 +08:00
|
|
|
private String taskName;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="task_org",sort=2)
|
2018-03-05 17:23:42 +08:00
|
|
|
private String taskOrg;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="task_time",sort=3)
|
2018-03-05 17:23:42 +08:00
|
|
|
private Date taskTime;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="desc",sort=6)
|
2018-03-05 17:23:42 +08:00
|
|
|
private String taskDesc;
|
|
|
|
|
private Integer isValid;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="state",dictType="AUDIT_STATUS",sort=4)
|
2018-03-05 17:23:42 +08:00
|
|
|
private Integer isAudit;
|
2018-12-17 00:21:27 +08:00
|
|
|
|
2018-03-05 17:23:42 +08:00
|
|
|
private Integer creatorId;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="create_time",sort=8)
|
2018-03-05 17:23:42 +08:00
|
|
|
private Date createTime;
|
|
|
|
|
private Integer editorId;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="edit_time",sort=10)
|
2018-03-05 17:23:42 +08:00
|
|
|
private Date editTime;
|
|
|
|
|
private Integer auditorId;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="audit_time",sort=12)
|
2018-03-05 17:23:42 +08:00
|
|
|
private Date auditTime;
|
2018-03-13 10:14:23 +08:00
|
|
|
//自定义 创建人员 修改人员 审核人员
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="creator",sort=7)
|
2018-03-13 10:14:23 +08:00
|
|
|
private String creatorName;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="editor",sort=9)
|
2018-03-13 10:14:23 +08:00
|
|
|
private String editorName;
|
2018-12-17 00:21:27 +08:00
|
|
|
@ExcelField(title="auditor",sort=11)
|
2018-03-13 10:14:23 +08:00
|
|
|
private String auditorName;
|
|
|
|
|
private Date beginDate;//来函开始时间
|
|
|
|
|
private Date endDate;//来函结束时间
|
|
|
|
|
private String seltype;//选中类型
|
|
|
|
|
private Date dobeginDate;//操作开始时间
|
|
|
|
|
private Date doendDate;//操作结束时间
|
2018-12-17 00:21:27 +08:00
|
|
|
/**
|
|
|
|
|
* 菜单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;
|
|
|
|
|
}
|
2018-03-05 17:23:42 +08:00
|
|
|
|
|
|
|
|
public String getTaskName() {
|
|
|
|
|
return taskName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTaskName(String taskName) {
|
|
|
|
|
this.taskName = taskName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getTaskOrg() {
|
|
|
|
|
return taskOrg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTaskOrg(String taskOrg) {
|
|
|
|
|
this.taskOrg = taskOrg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getTaskTime() {
|
|
|
|
|
return taskTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTaskTime(Date taskTime) {
|
|
|
|
|
this.taskTime = taskTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getTaskDesc() {
|
|
|
|
|
return taskDesc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTaskDesc(String taskDesc) {
|
|
|
|
|
this.taskDesc = taskDesc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
return isValid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getIsAudit() {
|
|
|
|
|
return isAudit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIsAudit(Integer isAudit) {
|
|
|
|
|
this.isAudit = isAudit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getCreatorId() {
|
|
|
|
|
return creatorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCreatorId(Integer creatorId) {
|
|
|
|
|
this.creatorId = creatorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getCreateTime() {
|
|
|
|
|
return createTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
|
|
this.createTime = createTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getEditorId() {
|
|
|
|
|
return editorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEditorId(Integer editorId) {
|
|
|
|
|
this.editorId = editorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getEditTime() {
|
|
|
|
|
return editTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEditTime(Date editTime) {
|
|
|
|
|
this.editTime = editTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getAuditorId() {
|
|
|
|
|
return auditorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setAuditorId(Integer auditorId) {
|
|
|
|
|
this.auditorId = auditorId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
return auditTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
this.auditTime = auditTime;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-13 10:14:23 +08:00
|
|
|
public String getCreatorName() {
|
|
|
|
|
return creatorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCreatorName(String creatorName) {
|
|
|
|
|
this.creatorName = creatorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getEditorName() {
|
|
|
|
|
return editorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEditorName(String editorName) {
|
|
|
|
|
this.editorName = editorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getAuditorName() {
|
|
|
|
|
return auditorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setAuditorName(String auditorName) {
|
|
|
|
|
this.auditorName = auditorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getBeginDate() {
|
|
|
|
|
return beginDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setBeginDate(Date beginDate) {
|
|
|
|
|
this.beginDate = beginDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getEndDate() {
|
|
|
|
|
return endDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEndDate(Date endDate) {
|
|
|
|
|
this.endDate = endDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getSeltype() {
|
|
|
|
|
return seltype;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setSeltype(String seltype) {
|
|
|
|
|
this.seltype = seltype;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getDobeginDate() {
|
|
|
|
|
return dobeginDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setDobeginDate(Date dobeginDate) {
|
|
|
|
|
this.dobeginDate = dobeginDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getDoendDate() {
|
|
|
|
|
return doendDate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setDoendDate(Date doendDate) {
|
|
|
|
|
this.doendDate = doendDate;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-05 17:23:42 +08:00
|
|
|
|
|
|
|
|
}
|