| | |
| | | * 查询患者挂号记录列表 |
| | | */ |
| | | @ApiOperation("查询患者挂号记录列表") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedRegistration patMedRegistration) { |
| | | startPage(); |
| | |
| | | * 导出患者挂号记录列表 |
| | | */ |
| | | @ApiOperation("导出患者挂号记录列表") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:export')") |
| | | @Log(title = "患者挂号记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedRegistration patMedRegistration) { |
| | |
| | | * 获取患者挂号记录详细信息 |
| | | */ |
| | | @ApiOperation("获取患者挂号记录详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:query')") |
| | | @GetMapping(value = "/getInfo/{registid}") |
| | | public AjaxResult getInfo(@PathVariable("registid") Long registid) { |
| | | return success(patMedRegistrationService.selectPatMedRegistrationByRegistid(registid)); |
| | |
| | | * 新增患者挂号记录 |
| | | */ |
| | | @ApiOperation("新增患者挂号记录") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:add')") |
| | | @Log(title = "患者挂号记录", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedRegistration patMedRegistration) { |
| | |
| | | * 修改患者挂号记录 |
| | | */ |
| | | @ApiOperation("修改患者挂号记录") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:edit')") |
| | | @Log(title = "患者挂号记录", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedRegistration patMedRegistration) { |
| | |
| | | * 删除患者挂号记录 |
| | | */ |
| | | @ApiOperation("删除患者挂号记录") |
| | | @PreAuthorize("@ss.hasPermi('system:registration:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:registration:remove')") |
| | | @Log(title = "患者挂号记录", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{registids}") |
| | | public AjaxResult remove(@PathVariable Long[] registids) { |