userTask自动创建本地文件夹
This commit is contained in:
@@ -97,7 +97,10 @@ public class FeignLoggingConfig {
|
||||
public Exception decode(String methodKey, Response response) {
|
||||
// 记录错误响应
|
||||
try {
|
||||
String body = Util.toString(response.body().asReader(UTF_8));
|
||||
String body = "";
|
||||
if (response.body() != null) {
|
||||
body = Util.toString(response.body().asReader(UTF_8));
|
||||
}
|
||||
LoggerFactory.getLogger("FeignClient").error("Feign调用出错,方法: {},状态码: {},响应体: {}",
|
||||
methodKey, response.status(), body);
|
||||
} catch (IOException e) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.sdm.common.entity.flowable.dto;
|
||||
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@@ -12,5 +13,5 @@ public class NodeStructureInfo {
|
||||
protected String type; // 如 "UserTask", "ExclusiveGateway"
|
||||
protected List<String> nextNodeIds; // 后续节点 ID 列表
|
||||
protected String executeConfig; // 扩展属性内容
|
||||
protected Map<String,Object> userParam;// 用户输入参数
|
||||
protected JSONObject userParam;// 用户输入参数
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.sdm.common.entity.req.capability;
|
||||
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.sdm.common.entity.flowable.dto.NodeDetailInfo;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -43,7 +44,7 @@ public class FlowNodeDto {
|
||||
private String processInstanceId;
|
||||
|
||||
@Schema(description = "用户输入参数")
|
||||
private Map<String, Object> userParams;
|
||||
private JSONObject userParams;
|
||||
|
||||
@Schema(description = "创建人")
|
||||
private Long creator;
|
||||
|
||||
Reference in New Issue
Block a user