| | |
| | | * 查询患者联系方式列表 |
| | | */ |
| | | @ApiOperation("查询患者联系方式列表") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:list')") |
| | | @PostMapping("/selectPatArchivecontactList") |
| | | public TableDataInfo selectPatArchivecontactlist(@RequestBody PatArchivecontact patArchivecontact) { |
| | | PageUtils.startPageByPost(patArchivecontact.getPageNum(), patArchivecontact.getPageSize()); |
| | |
| | | * 导出患者联系方式列表 |
| | | */ |
| | | @ApiOperation("导出患者联系方式列表") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:export')") |
| | | @Log(title = "患者联系方式", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatArchivecontact patArchivecontact) { |
| | |
| | | * 获取患者联系方式详细信息 |
| | | */ |
| | | @ApiOperation("获取患者联系方式详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patArchivecontactService.selectPatArchivecontactById(id)); |
| | |
| | | * 新增患者联系方式 |
| | | */ |
| | | @ApiOperation("新增患者联系方式") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:add')") |
| | | @Log(title = "患者联系方式", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatArchivecontact patArchivecontact) { |
| | |
| | | * 修改患者联系方式 |
| | | */ |
| | | @ApiOperation("修改患者联系方式") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:edit')") |
| | | @Log(title = "患者联系方式", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatArchivecontact patArchivecontact) { |
| | |
| | | * 删除患者联系方式 |
| | | */ |
| | | @ApiOperation("删除患者联系方式") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivecontact:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patArchivecontactService.deletePatArchivecontactByIds(ids)); |