09041854:编写规则引擎要调用的接口
parent
f2e65ffd1f
commit
dee2093d34
|
@ -1,6 +1,5 @@
|
||||||
package com.muyu.source.controller;
|
package com.muyu.source.controller;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollectionUtil;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.dtflys.forest.annotation.NotNull;
|
import com.dtflys.forest.annotation.NotNull;
|
||||||
import com.dtflys.forest.springboot.annotation.ForestScannerRegister;
|
import com.dtflys.forest.springboot.annotation.ForestScannerRegister;
|
||||||
|
@ -22,7 +21,6 @@ import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Lenovo
|
* @author Lenovo
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class StructureServiceImpl extends ServiceImpl<StructureMapper, Structure
|
||||||
@Override
|
@Override
|
||||||
public List<Long> findTableIdByStructureId(Long parentId) {
|
public List<Long> findTableIdByStructureId(Long parentId) {
|
||||||
List<Long> list = structureMapper.selectObjs(new LambdaQueryWrapper<>() {{
|
List<Long> list = structureMapper.selectObjs(new LambdaQueryWrapper<>() {{
|
||||||
eq(Structure::getId, parentId);
|
eq(Structure::getTableId, parentId);
|
||||||
}});
|
}});
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue