格式化

This commit is contained in:
zxm 2018-05-07 22:50:48 +08:00
parent 43dd3ed650
commit 9cbdbf51e7
1 changed files with 11 additions and 29 deletions

View File

@ -6,13 +6,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.ObjectNode;
import com.len.base.BaseController; import com.len.base.BaseController;
import com.len.config.ActPropertiesConfig; import com.len.config.ActPropertiesConfig;
import com.len.entity.ActAssignee; import com.len.entity.*;
import com.len.entity.ActDeployment;
import com.len.entity.ActModel;
import com.len.entity.ProcessDefinition;
import com.len.entity.SysRole;
import com.len.entity.SysRoleUser;
import com.len.entity.SysUser;
import com.len.exception.MyException; import com.len.exception.MyException;
import com.len.service.ActAssigneeService; import com.len.service.ActAssigneeService;
import com.len.service.RoleService; import com.len.service.RoleService;
@ -21,20 +15,6 @@ import com.len.service.SysUserService;
import com.len.util.Checkbox; import com.len.util.Checkbox;
import com.len.util.JsonUtil; import com.len.util.JsonUtil;
import com.len.util.ReType; import com.len.util.ReType;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.servlet.http.HttpServletRequest;
import org.activiti.bpmn.converter.BpmnXMLConverter; import org.activiti.bpmn.converter.BpmnXMLConverter;
import org.activiti.bpmn.model.BpmnModel; import org.activiti.bpmn.model.BpmnModel;
import org.activiti.editor.constants.ModelDataJsonConstants; import org.activiti.editor.constants.ModelDataJsonConstants;
@ -53,17 +33,19 @@ import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.Model; import org.activiti.engine.repository.Model;
import org.activiti.engine.repository.ModelQuery; import org.activiti.engine.repository.ModelQuery;
import org.activiti.engine.repository.ProcessDefinitionQuery; import org.activiti.engine.repository.ProcessDefinitionQuery;
import org.activiti.engine.runtime.ProcessInstance;
import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping; import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.RequestMapping; import java.io.FileInputStream;
import org.springframework.web.bind.annotation.ResponseBody; import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** /**
* @author zhuxiaomeng * @author zhuxiaomeng