selectBmConfigByItemName
This commit is contained in:
parent
b8a07e2cd4
commit
ef460cfc15
|
|
@ -77,6 +77,17 @@ public class BmConfigController extends BaseController
|
||||||
return success(bmConfigService.selectBmConfigById(id));
|
return success(bmConfigService.selectBmConfigById(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取功能参数配置详细信息
|
||||||
|
*/
|
||||||
|
@ApiOperation(value = "获取功能参数配置详细信息")
|
||||||
|
@RequiresPermissions("basic:config:query")
|
||||||
|
@GetMapping(value = "/{itemName}")
|
||||||
|
public AjaxResult getInfoByName(@PathVariable("itemName") String itemName)
|
||||||
|
{
|
||||||
|
return success(bmConfigService.selectBmConfigByItemName(itemName));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增功能参数配置
|
* 新增功能参数配置
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,15 @@ public interface IBmConfigService
|
||||||
*/
|
*/
|
||||||
public BmConfig selectBmConfigById(Long id);
|
public BmConfig selectBmConfigById(Long id);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询功能参数配置
|
||||||
|
*
|
||||||
|
* @param itemName 功能参数配置名称
|
||||||
|
* @return 功能参数配置
|
||||||
|
*/
|
||||||
|
public BmConfig selectBmConfigByItemName(String itemName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询功能参数配置列表
|
* 查询功能参数配置列表
|
||||||
*
|
*
|
||||||
|
|
@ -58,4 +67,6 @@ public interface IBmConfigService
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteBmConfigById(Long id);
|
public int deleteBmConfigById(Long id);
|
||||||
|
|
||||||
|
public String getLeaseAuditRoleKeys();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,18 @@ public class BmConfigServiceImpl implements IBmConfigService
|
||||||
return bmConfigMapper.selectBmConfigById(id);
|
return bmConfigMapper.selectBmConfigById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询功能参数配置
|
||||||
|
*
|
||||||
|
* @param itemName 功能参数配置名称
|
||||||
|
* @return 功能参数配置
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BmConfig selectBmConfigByItemName(String itemName)
|
||||||
|
{
|
||||||
|
return bmConfigMapper.selectBmConfigByItemName(itemName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询功能参数配置列表
|
* 查询功能参数配置列表
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue