| | |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.annotation.Java110Transactional; |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.dto.PageDto; |
| | |
| | | import org.activiti.engine.task.Task; |
| | | import org.activiti.engine.task.TaskQuery; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | } |
| | | |
| | | |
| | | @Java110Transactional |
| | | public boolean completeTask(@RequestBody JSONObject reqJson) { |
| | | TaskService taskService = processEngine.getTaskService(); |
| | | Task task = taskService.createTaskQuery().taskId(reqJson.getString("taskId")).singleResult(); |
| | |
| | | * @param reqJson |
| | | * @return |
| | | */ |
| | | @Java110Transactional |
| | | public boolean changeTaskToOtherUser(@RequestBody JSONObject reqJson) { |
| | | |
| | | //查询当前节点 |
| | |
| | | oaWorkflowDataInnerServiceSMOImpl.saveOaWorkflowData(oaWorkflowDataPo); |
| | | return true; |
| | | } |
| | | |
| | | @Java110Transactional |
| | | public boolean goBackTask(@RequestBody JSONObject reqJson) { |
| | | TaskService taskService = processEngine.getTaskService(); |
| | | Task task = taskService.createTaskQuery().taskId(reqJson.getString("taskId")).singleResult(); |