update 重构 所有bo对象移除继承BaseEntity

This commit is contained in:
疯狂的狮子Li
2026-03-17 21:41:11 +08:00
parent 0203b69fa6
commit a44a01ea16
11 changed files with 56 additions and 18 deletions

View File

@@ -9,6 +9,8 @@ import org.dromara.workflow.domain.FlowSpel;
import java.io.Serial;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* 流程spel表达式定义业务对象 flow_spel
@@ -60,4 +62,9 @@ public class FlowSpelBo implements Serializable {
*/
private String remark;
/**
* 请求参数
*/
private Map<String, Object> params = new HashMap<>();
}

View File

@@ -13,6 +13,8 @@ import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* 请假业务对象 test_leave
@@ -90,5 +92,9 @@ public class TestLeaveBo implements Serializable {
*/
private String status;
/**
* 请求参数
*/
private Map<String, Object> params = new HashMap<>();
}

View File

@@ -87,7 +87,6 @@ public class FlwSpelServiceImpl implements IFlwSpelService {
* @return 包含排序和筛选条件的查询包装器
*/
private LambdaQueryWrapper<FlowSpel> buildQueryWrapper(FlowSpelBo bo) {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<FlowSpel> lqw = Wrappers.lambdaQuery();
lqw.orderByAsc(FlowSpel::getId);
lqw.like(StringUtils.isNotBlank(bo.getComponentName()), FlowSpel::getComponentName, bo.getComponentName());