类 CodeController

所有已实现的接口:
org.springframework.beans.factory.InitializingBean

@RestController @RequestMapping("/system/dict") public class CodeController extends SystemController
  • 构造器详细资料

    • CodeController

      @Autowired public CodeController(CodeServiceImpl codeService)
  • 方法详细资料

    • listType

      @RequestMapping("/type/list") public com.walker.web.ResponseValue listType(DictParam dictParam)
    • detailDictType

      @RequestMapping("/type/{dictId}") public com.walker.web.ResponseValue detailDictType(@PathVariable Long dictId)
    • showDictTypeListAll

      @GetMapping("/data/optionselect") public com.walker.web.ResponseValue showDictTypeListAll()
      在数据字典项管理界面,查询条件展示所有'字典类型'列表。

      因为权限配置的是: /system/dict/data/** 开放,因此该权限也配置到data,否则还需要再加上一个权限点。
      返回:
    • dictTypeList

      @RequestMapping("/data/type/{dictType}") public com.walker.web.ResponseValue<List<com.iplatform.model.po.S_dict_data>> dictTypeList(@PathVariable String dictType)
      根据代码表名字,查询包含的代码项集合。
      参数:
      dictType -
      返回:
    • listData

      @RequestMapping("/data/list") public com.walker.web.ResponseValue listData(DictParam dictParam)
    • insertDictData

      @RequestMapping("/add") public com.walker.web.ResponseValue insertDictData(@RequestBody com.iplatform.model.po.S_dict_data s_dict_data)
    • getDictDataInfo

      @RequestMapping("/data/{dictCode}") public com.walker.web.ResponseValue getDictDataInfo(@PathVariable Long dictCode)
    • updateDictData

      @RequestMapping("/edit") public com.walker.web.ResponseValue updateDictData(@RequestBody com.iplatform.model.po.S_dict_data s_dict_data)
    • removeDictData

      @RequestMapping("/data/remove/{dictCodes}") public com.walker.web.ResponseValue removeDictData(@PathVariable Long[] dictCodes)