Class AttachmentConfRestController


  • @RestController
    @RequestMapping(value="/vue/attachmentConf",
                    produces="application/json")
    public class AttachmentConfRestController
    extends Object
    • Constructor Detail

      • AttachmentConfRestController

        public AttachmentConfRestController()
    • 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:
      • saveOrder

        @PostMapping("/saveOrder")
        public net.risesoft.pojo.Y9Result<String> saveOrder​(@RequestParam
                                                            String[] idAndTabIndexs)
        保存排序
        Parameters:
        idAndTabIndexs - 视图id和排序索引