mirror of https://gitee.com/stylefeng/roses
【config-business】修改方法名称
parent
d408ca88af
commit
891e7fe460
|
@ -83,7 +83,7 @@ public class SysConfigController {
|
|||
*/
|
||||
@GetResource(name = "分页查询配置列表", path = "/sysConfig/page")
|
||||
public ResponseData page(SysConfigParam sysConfigParam) {
|
||||
return new SuccessResponseData(sysConfigService.page(sysConfigParam));
|
||||
return new SuccessResponseData(sysConfigService.findPage(sysConfigParam));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -94,7 +94,7 @@ public class SysConfigController {
|
|||
*/
|
||||
@GetResource(name = "系统参数配置列表", path = "/sysConfig/list")
|
||||
public ResponseData list(SysConfigParam sysConfigParam) {
|
||||
return new SuccessResponseData(sysConfigService.list(sysConfigParam));
|
||||
return new SuccessResponseData(sysConfigService.findList(sysConfigParam));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ public interface SysConfigService extends IService<SysConfig> {
|
|||
* @author fengshuonan
|
||||
* @date 2020/4/14 11:14
|
||||
*/
|
||||
PageResult<SysConfig> page(SysConfigParam sysConfigParam);
|
||||
PageResult<SysConfig> findPage(SysConfigParam sysConfigParam);
|
||||
|
||||
/**
|
||||
* 查询系统参数配置
|
||||
|
@ -94,6 +94,6 @@ public interface SysConfigService extends IService<SysConfig> {
|
|||
* @author fengshuonan
|
||||
* @date 2020/4/14 11:14
|
||||
*/
|
||||
List<SysConfig> list(SysConfigParam sysConfigParam);
|
||||
List<SysConfig> findList(SysConfigParam sysConfigParam);
|
||||
|
||||
}
|
||||
|
|
|
@ -98,14 +98,14 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
|
|||
}
|
||||
|
||||
@Override
|
||||
public PageResult<SysConfig> page(SysConfigParam sysConfigParam) {
|
||||
public PageResult<SysConfig> findPage(SysConfigParam sysConfigParam) {
|
||||
LambdaQueryWrapper<SysConfig> wrapper = createWrapper(sysConfigParam);
|
||||
Page<SysConfig> page = this.page(PageFactory.defaultPage(), wrapper);
|
||||
return PageResultFactory.createPageResult(page);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<SysConfig> list(SysConfigParam sysConfigParam) {
|
||||
public List<SysConfig> findList(SysConfigParam sysConfigParam) {
|
||||
LambdaQueryWrapper<SysConfig> wrapper = createWrapper(sysConfigParam);
|
||||
return this.list(wrapper);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue