mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-04-09 20:13:16 +08:00
update 重构 所有bo对象移除继承BaseEntity
This commit is contained in:
@@ -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<>();
|
||||
|
||||
}
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user