| | |
| | | |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/basic/storage_attachment") |
| | | @RequestMapping("/basic/storage_attachment") |
| | | public class StorageAttachmentController { |
| | | private StorageAttachmentService storageAttachmentService; |
| | | |
| | | /** |
| | | * 分页查询通用文件上传的附件信息 |
| | | * @param page 分页参数 |
| | | * @param storageAttachmentDTO 关联记录信息 |
| | | * @return 分页结果 |
| | | */ |
| | | @GetMapping("/listPage") |
| | | public R listPage(Page page, StorageAttachmentDTO storageAttachmentDTO) { |
| | | return R.ok(storageAttachmentService.listPage(page, storageAttachmentDTO)); |
| | | @GetMapping("/list") |
| | | public R list(StorageAttachmentDTO storageAttachmentDTO) { |
| | | return R.ok(storageAttachmentService.list(storageAttachmentDTO)); |
| | | } |
| | | |
| | | /** |