| | |
| | | * 查询疾病列表 |
| | | */ |
| | | @ApiOperation("查询疾病列表") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody Icd10 icd10) { |
| | | PageUtils.startPageByPost(icd10.getPageNum(),icd10.getPageSize()); |
| | |
| | | * 导出疾病列表 |
| | | */ |
| | | @ApiOperation("导出疾病列表") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:export')") |
| | | @Log(title = "疾病", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, Icd10 icd10) { |
| | |
| | | * 获取疾病详细信息 |
| | | */ |
| | | @ApiOperation("获取疾病详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:query')") |
| | | @GetMapping(value = "/getInfo/{icdid}") |
| | | public AjaxResult getInfo(@PathVariable("icdid") Long icdid) { |
| | | return success(icd10Service.selectIcd10ByIcdid(icdid)); |
| | |
| | | * 新增疾病 |
| | | */ |
| | | @ApiOperation("新增疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:add')") |
| | | @Log(title = "疾病", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody Icd10 icd10) { |
| | |
| | | * 修改疾病 |
| | | */ |
| | | @ApiOperation("修改疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:edit')") |
| | | @Log(title = "疾病", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody Icd10 icd10) { |
| | |
| | | * 删除疾病 |
| | | */ |
| | | @ApiOperation("删除疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:remove')") |
| | | @Log(title = "疾病", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{icdids}") |
| | | public AjaxResult remove(@PathVariable Long[] icdids) { |