|
|
|
@@ -13,6 +13,7 @@ import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.flowable.engine.RuntimeService; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@@ -29,6 +30,7 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
@Autowired |
|
|
|
private WxFlowService wxFlowService; |
|
|
|
@Autowired |
|
|
|
<<<<<<< HEAD |
|
|
|
private MessageProducer messageProducer; |
|
|
|
|
|
|
|
@ApiOperation(value = "mqSend",notes = "") |
|
|
|
@@ -37,6 +39,9 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
messageProducer.sendMessage("aaaa","topic-1","tag-1","key1"); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
======= |
|
|
|
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") |
|
|
|
@@ -45,6 +50,12 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
return wxFlowService.start(params,super.getUser().getId(),super.getUser().getName(),super.getTenantId()); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping(value = "/del") |
|
|
|
public ResultData list(String id) { |
|
|
|
runtimeService.deleteProcessInstance(id, "驳回"); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 用户代办列表 |
|
|
|
*/ |
|
|
|
|