瀏覽代碼

初审人员 和 自动下一状态

master
PoffyZhang 1 年之前
父節點
當前提交
783addce29
共有 2 個檔案被更改,包括 35 行新增1 行删除
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/HandlerManage.java
  2. +34
    -0
      pmapi/src/test/java/com/ningdatech/pmapi/cctask/CcTaskTest.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/HandlerManage.java 查看文件

@@ -403,8 +403,8 @@ public class HandlerManage {
updateWrapper.set(Project::getPretrialFileId,null)
.set(Project::getPretrialFileName,null)
.eq(Project::getId,declaredProject.getId());
projectService.update(updateWrapper);
}
projectService.update(updateWrapper);
}

/**


+ 34
- 0
pmapi/src/test/java/com/ningdatech/pmapi/cctask/CcTaskTest.java 查看文件

@@ -0,0 +1,34 @@
package com.ningdatech.pmapi.cctask;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ningdatech.pmapi.AppTests;
import com.wflow.bean.entity.WflowCcTasks;
import com.wflow.service.WflowCcTasksService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @Classname CcTaskTest
* @Description
* @Date 2023/6/30 16:52
* @Author PoffyZhang
*/
public class CcTaskTest extends AppTests {

@Autowired
private WflowCcTasksService wflowCcTasksService;

@Test
public void test(){
String nodeId = "node_649e9620711424df271ba98c";
String instanceId = "72fffd9c-1722-11ee-b7f5-02426daa406d";
List<WflowCcTasks> ccTasks = wflowCcTasksService.list(Wrappers.lambdaQuery(WflowCcTasks.class)
.eq(WflowCcTasks::getNodeId,nodeId)
.eq(WflowCcTasks::getInstanceId,instanceId));
System.out.println(JSON.toJSONString(ccTasks));
}

}

Loading…
取消
儲存