Class AttachmentTypeRestController


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

      • AttachmentTypeRestController

        public AttachmentTypeRestController()
    • Method Detail

      • getAttachmentType

        @GetMapping("/getAttachmentType")
        public net.risesoft.pojo.Y9Result<AttachmentType> getAttachmentType​(@RequestParam
                                                                            String id)
        获取附件类型
        Parameters:
        id - 附件类型id
        Returns:
      • getAttachmentTypeList

        @GetMapping("/getAttachmentTypeList")
        public net.risesoft.pojo.Y9Result<List<AttachmentType>> getAttachmentTypeList()
        获取附件类型列表
        Returns:
      • list

        @GetMapping("/list")
        public net.risesoft.pojo.Y9Page<AttachmentType> list​(@RequestParam
                                                             Integer page,
                                                             @RequestParam
                                                             Integer rows)
        获取附件类型列表
        Parameters:
        page - 页码
        rows - 条数
        Returns:
      • remove

        @PostMapping("/remove")
        public net.risesoft.pojo.Y9Result<String> remove​(@RequestParam
                                                         String id)
        删除附件类型
        Parameters:
        id - 附件类型id
        Returns:
      • saveOrUpdate

        @PostMapping("/saveOrUpdate")
        public net.risesoft.pojo.Y9Result<String> saveOrUpdate​(AttachmentType attachmentType)
        保存或更新附件类型
        Parameters:
        attachmentType - 附件类型信息
        Returns: