| | |
| | | * 查询指标疾病列表 |
| | | */ |
| | | @ApiOperation("查询指标疾病列表") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody Icd10Association icd10Association) { |
| | | if (icd10Association.getIsPage()) { |
| | |
| | | * 导出指标疾病列表 |
| | | */ |
| | | @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, Icd10Association Icd10Association) { |
| | |
| | | * 获取指标疾病详细信息 |
| | | */ |
| | | @ApiOperation("获取指标疾病详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(iIcd10AssociationService.selectIcd10AssociationById(id)); |
| | |
| | | * 新增指标疾病 |
| | | */ |
| | | @ApiOperation("新增指标疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:add')") |
| | | @Log(title = "指标疾病", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody Icd10Association Icd10Association) { |
| | |
| | | * 修改指标疾病 |
| | | */ |
| | | @ApiOperation("修改指标疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:edit')") |
| | | @Log(title = "指标疾病", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody Icd10Association Icd10Association) { |
| | |
| | | * 删除指标疾病 |
| | | */ |
| | | @ApiOperation("删除指标疾病") |
| | | @PreAuthorize("@ss.hasPermi('system:icd10:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd10:remove')") |
| | | @Log(title = "指标疾病", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |