类 FieldMappingController
- java.lang.Object
-
- net.risesoft.controller.FieldMappingController
-
@RestController @RequestMapping("/admin/mapping") public class FieldMappingController extends Object字段映射管理- 作者:
- mengjuhua, guoweijun, shidaobang
-
-
构造器概要
构造器 构造器 说明 FieldMappingController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<String>deleteByIds(String ids)批量移除字段映射net.risesoft.pojo.Y9Result<String>deleteFieldMapping(String id)移除字段映射net.risesoft.pojo.Y9Result<net.risesoft.y9public.entity.Y9logMapping>getFieldMappingById(String id)根据id,获取字段映射net.risesoft.pojo.Y9Page<net.risesoft.y9public.entity.Y9logMapping>page(net.risesoft.pojo.Y9PageQuery pageQuery, String sort)获取字段映射分页列表net.risesoft.pojo.Y9Page<net.risesoft.y9public.entity.Y9logMapping>pageSearchList(String modularName, String modularCnName, net.risesoft.pojo.Y9PageQuery pageQuery)搜索字段映射分页列表net.risesoft.pojo.Y9Result<String>saveMapping(net.risesoft.y9public.entity.Y9logMapping modularNameMapping)保存字段映射信息net.risesoft.pojo.Y9Result<Boolean>validateField(String name)验证字段映射是否存在
-
-
-
方法详细资料
-
deleteByIds
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationType=DELETE, operationName="\u6279\u91cf\u79fb\u9664\u5b57\u6bb5\u6620\u5c04", logLevel=RSLOG) @PostMapping("/deleteByIds") public net.risesoft.pojo.Y9Result<String> deleteByIds(String ids)批量移除字段映射- 参数:
ids- id数组- 返回:
-
deleteFieldMapping
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationType=DELETE, operationName="\u79fb\u9664\u5b57\u6bb5\u6620\u5c04", logLevel=RSLOG) @PostMapping("/deleteFieldMapping") public net.risesoft.pojo.Y9Result<String> deleteFieldMapping(@RequestParam String id)移除字段映射- 参数:
id- 主键- 返回:
-
getFieldMappingById
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationName="\u6839\u636eid\uff0c\u83b7\u53d6\u5b57\u6bb5\u6620\u5c04", logLevel=RSLOG) @GetMapping("/getFieldMappingById") public net.risesoft.pojo.Y9Result<net.risesoft.y9public.entity.Y9logMapping> getFieldMappingById(String id)根据id,获取字段映射- 参数:
id- 字段映射id- 返回:
-
page
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationName="\u83b7\u53d6\u5b57\u6bb5\u6620\u5c04\u5206\u9875\u5217\u8868", logLevel=RSLOG) @GetMapping("/page") public net.risesoft.pojo.Y9Page<net.risesoft.y9public.entity.Y9logMapping> page(net.risesoft.pojo.Y9PageQuery pageQuery, String sort)获取字段映射分页列表- 参数:
pageQuery- 分页信息sort- 排序字段- 返回:
-
pageSearchList
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationName="\u641c\u7d22\u5b57\u6bb5\u6620\u5c04\u5206\u9875\u5217\u8868", logLevel=RSLOG) @GetMapping("/pageSearchList") public net.risesoft.pojo.Y9Page<net.risesoft.y9public.entity.Y9logMapping> pageSearchList(String modularName, String modularCnName, net.risesoft.pojo.Y9PageQuery pageQuery)搜索字段映射分页列表- 参数:
modularName- 模块名称modularCnName- 模块中文名称pageQuery- 分页信息- 返回:
-
saveMapping
@RiseLog(moduleName="\u65e5\u5fd7\u7cfb\u7edf", operationType=ADD, operationName="\u4fdd\u5b58\u5b57\u6bb5\u6620\u5c04\u4fe1\u606f", logLevel=RSLOG) @PostMapping("/saveMapping") public net.risesoft.pojo.Y9Result<String> saveMapping(net.risesoft.y9public.entity.Y9logMapping modularNameMapping)保存字段映射信息- 参数:
modularNameMapping- 字段映射信息- 返回:
-
-