|
|
|
@@ -20,7 +20,6 @@ import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@@ -31,8 +30,6 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WxFlowService wxFlowService; |
|
|
|
// @Autowired |
|
|
|
// RuntimeService runtimeService; |
|
|
|
|
|
|
|
@ApiOperation(value = "启动流程",notes = "{\"businessId\":\"221178539888607232\",\"businessType\":1,\"remark\":\"意见意见。\",\"taskAssignee\":[{\"taskKey\":\"firstTaskUser\",\"assignee\":\"243650055783841792\"},{\"taskKey\":\"secondTaskUser\",\"assignee\":\"\"}],\"variables\":[{\"key\":\"contractType\",\"value\":\"1\"},{\"key\":\"contractNumber\",\"value\":\"1111\"}]}") |
|
|
|
@PostMapping("/start") |
|
|
|
@@ -43,19 +40,6 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
return wxFlowService.start(params, user.getId(),user.getName(),user.getTenantId()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 删除流程 |
|
|
|
*/ |
|
|
|
// @GetMapping(value = "/del") |
|
|
|
// public ResultData del(String id,String x) { |
|
|
|
// if("xll1dxx1314".equals(x)) { |
|
|
|
// runtimeService.deleteProcessInstance(id, "驳回"); |
|
|
|
// return new ResultData(); |
|
|
|
// }else{ |
|
|
|
// return new ResultData("fail"); |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
/** |
|
|
|
* 用户代办列表 |
|
|
|
*/ |
|
|
|
|