| | |
| | | /** |
| | | * 查询问诊列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:history:list')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:history:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TjAskMedicalHistory tjAskMedicalHistory) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出问诊列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:history:export')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:history:export')") |
| | | @Log(title = "问诊", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TjAskMedicalHistory tjAskMedicalHistory) { |
| | |
| | | /** |
| | | * 获取问诊详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:history:query')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:history:query')") |
| | | @GetMapping(value = "/{askId}") |
| | | public AjaxResult getInfo(@PathVariable("askId") Long askId) { |
| | | return success(tjAskMedicalHistoryService.selectTjAskMedicalHistoryByAskId(askId)); |
| | |
| | | /** |
| | | * 删除问诊 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:history:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:history:remove')") |
| | | @Log(title = "问诊", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{askIds}") |
| | | public AjaxResult remove(@PathVariable Long[] askIds) { |