mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-15 06:29:01 +08:00
🔖 Releasing / Version tags. 5.2
This commit is contained in:
1 parent
8e07c3724a
commit
d535271c89
73 files changed
+540
-878
No files matched your search
-1
@@ -115,7 +115,6 @@ public interface RemoteFlowEngineService {
|
||||
@PostMapping("/task/delegateTask")
|
||||
R<String> delegateTask(@RequestBody TaskParamDto taskParamDto);
|
||||
|
||||
|
||||
/**
|
||||
* 查询任务
|
||||
* @param taskId 任务ID
|
||||
|
||||
+2
-4
@@ -61,10 +61,8 @@ public interface IBaseEnum<T> {
|
||||
Objects.requireNonNull(label);
|
||||
EnumSet<E> allEnums = EnumSet.allOf(clazz); // 获取类型下的所有枚举
|
||||
String finalLabel = label;
|
||||
E matchEnum = allEnums.stream()
|
||||
.filter(e -> ObjectUtil.equal(e.getLabel(), finalLabel))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
E matchEnum = allEnums.stream().filter(e -> ObjectUtil.equal(e.getLabel(), finalLabel)).findFirst()
|
||||
.orElse(null);
|
||||
|
||||
Object value = null;
|
||||
if (matchEnum != null) {
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ import lombok.Data;
|
||||
@Data
|
||||
public class SelectValue {
|
||||
|
||||
private String key;
|
||||
private String key;
|
||||
|
||||
private String value;
|
||||
private String value;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user