11111
parent
767bdbbf8c
commit
eb2870bb36
|
@ -47,7 +47,7 @@ public class EtlRuleController {
|
|||
}
|
||||
|
||||
|
||||
@PostMapping("/List")
|
||||
@PostMapping("/list")
|
||||
public Result<List<EtlRuleResp>> selectList(@Validated @RequestBody EtlRuleListReq req){
|
||||
|
||||
List<EtlRuleResp> list = etlRuleService.selectList(req);
|
||||
|
|
|
@ -19,15 +19,5 @@ import org.apache.ibatis.annotations.Select;
|
|||
@Mapper
|
||||
public interface EtlRuleMapper extends BaseMapper<EtlRule> {
|
||||
|
||||
/**
|
||||
* 分页查询指定行数据
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param wrapper 动态查询条件
|
||||
* @return 分页对象列表
|
||||
*/
|
||||
@Select("SELECT * FROM etl_rule")
|
||||
IPage<EtlRule> selectByPage(IPage<EtlRule> page , @Param(Constants.WRAPPER) Wrapper<EtlRule> wrapper);
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue