Package net.risesoft.controller
Class AttachmentConfRestController
- java.lang.Object
-
- net.risesoft.controller.AttachmentConfRestController
-
@RestController @RequestMapping(value="/vue/attachmentConf", produces="application/json") public class AttachmentConfRestController extends Object
-
-
Constructor Summary
Constructors Constructor Description AttachmentConfRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<List<Map<String,Object>>>getColumns()获取附件表字段net.risesoft.pojo.Y9Result<List<AttachmentConf>>listByAttachmentType(String attachmentType, String configType)根据唯一标示查找附件配置net.risesoft.pojo.Y9Result<String>removeConfig(String[] ids)删除配置net.risesoft.pojo.Y9Result<String>saveOrder(String[] idAndTabIndexs)保存排序net.risesoft.pojo.Y9Result<String>saveOrUpdate(AttachmentConf attachmentConf)保存或者修改
-
-
-
Method Detail
-
listByAttachmentType
@GetMapping("/listByAttachmentType") public net.risesoft.pojo.Y9Result<List<AttachmentConf>> listByAttachmentType(@RequestParam String attachmentType, @RequestParam String configType)根据唯一标示查找附件配置- Parameters:
attachmentType- 唯一标示- Returns:
-
getColumns
@GetMapping("/getColumns") public net.risesoft.pojo.Y9Result<List<Map<String,Object>>> getColumns()获取附件表字段- Returns:
-
removeConfig
@PostMapping("/removeConfig") public net.risesoft.pojo.Y9Result<String> removeConfig(@RequestParam String[] ids)删除配置- Parameters:
ids- 视图id
-
saveOrUpdate
@PostMapping("/saveOrUpdate") public net.risesoft.pojo.Y9Result<String> saveOrUpdate(AttachmentConf attachmentConf)保存或者修改- Parameters:
attachmentConf- 附件配置- Returns:
-
-