Package net.risesoft.controller
Class AttachmentTypeRestController
- java.lang.Object
-
- net.risesoft.controller.AttachmentTypeRestController
-
@RestController @RequestMapping(value="/vue/attachmentType", produces="application/json") public class AttachmentTypeRestController extends Object
-
-
Constructor Summary
Constructors Constructor Description AttachmentTypeRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<AttachmentType>getAttachmentType(String id)获取附件类型net.risesoft.pojo.Y9Result<List<AttachmentType>>getAttachmentTypeList()获取附件类型列表net.risesoft.pojo.Y9Page<AttachmentType>list(Integer page, Integer rows)获取附件类型列表net.risesoft.pojo.Y9Result<String>remove(String id)删除附件类型net.risesoft.pojo.Y9Result<String>saveOrUpdate(AttachmentType attachmentType)保存或更新附件类型
-
-
-
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:
-
-