病种修改
This commit is contained in:
parent
32fdc1b969
commit
7df8307c3c
@ -72,7 +72,7 @@ public class DepartmentDiseaseTypeController extends BaseController {
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:departmentDisease:add')")
|
||||
@Log(title = "科室病种信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
@PostMapping("/add")
|
||||
public AjaxResult add(@RequestBody DepartmentDiseaseType departmentDiseaseType) {
|
||||
return toAjax(departmentDiseaseTypeService.insertDepartmentDiseaseType(departmentDiseaseType));
|
||||
}
|
||||
@ -82,7 +82,7 @@ public class DepartmentDiseaseTypeController extends BaseController {
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:departmentDisease:edit')")
|
||||
@Log(title = "科室病种信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
@PostMapping("/edit")
|
||||
public AjaxResult edit(@RequestBody DepartmentDiseaseType departmentDiseaseType) {
|
||||
return toAjax(departmentDiseaseTypeService.updateDepartmentDiseaseType(departmentDiseaseType));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user