修改
This commit is contained in:
parent
4abbaa2bdd
commit
91ddacc575
@ -22,7 +22,7 @@ import java.util.List;
|
||||
* @date 2024-03-13
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/specialdiseasenode")
|
||||
@RequestMapping("/system/specialDiseaseNode")
|
||||
public class SpecialDiseaseNodeController extends BaseController {
|
||||
@Resource
|
||||
private ISpecialDiseaseNodeService specialDiseaseNodeService;
|
||||
@ -30,7 +30,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 查询专病路径-管理节点信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:list')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SpecialDiseaseNode specialDiseaseNode) {
|
||||
startPage();
|
||||
@ -41,7 +41,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 导出专病路径-管理节点信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:export')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:export')")
|
||||
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SpecialDiseaseNode specialDiseaseNode) {
|
||||
@ -53,7 +53,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 获取专病路径-管理节点信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:query')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(specialDiseaseNodeService.selectSpecialDiseaseNodeById(id));
|
||||
@ -62,7 +62,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 新增专病路径-管理节点信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:add')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:add')")
|
||||
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SpecialDiseaseNode specialDiseaseNode) {
|
||||
@ -72,7 +72,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 修改专病路径-管理节点信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:edit')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:edit')")
|
||||
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SpecialDiseaseNode specialDiseaseNode) {
|
||||
@ -82,7 +82,7 @@ public class SpecialDiseaseNodeController extends BaseController {
|
||||
/**
|
||||
* 删除专病路径-管理节点信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:remove')")
|
||||
@PreAuthorize("@ss.hasPermi('system:specialDiseaseNode:remove')")
|
||||
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
|
||||
@ -22,7 +22,7 @@ import java.util.List;
|
||||
* @date 2024-03-13
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/taskstatus")
|
||||
@RequestMapping("/system/taskStatus")
|
||||
public class TaskStatusDictController extends BaseController {
|
||||
@Resource
|
||||
private ITaskStatusDictService taskStatusDictService;
|
||||
@ -30,7 +30,7 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 查询任务状态字典列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:list')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TaskStatusDict taskStatusDict) {
|
||||
startPage();
|
||||
@ -41,7 +41,7 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 导出任务状态字典列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:export')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:export')")
|
||||
@Log(title = "任务状态字典", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TaskStatusDict taskStatusDict) {
|
||||
@ -53,7 +53,7 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 获取任务状态字典详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:query')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(taskStatusDictService.selectTaskStatusDictById(id));
|
||||
@ -62,7 +62,7 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 新增任务状态字典
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:add')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:add')")
|
||||
@Log(title = "任务状态字典", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TaskStatusDict taskStatusDict) {
|
||||
@ -72,7 +72,7 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 修改任务状态字典
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:edit')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:edit')")
|
||||
@Log(title = "任务状态字典", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TaskStatusDict taskStatusDict) {
|
||||
@ -82,10 +82,10 @@ public class TaskStatusDictController extends BaseController {
|
||||
/**
|
||||
* 删除任务状态字典
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:taskstatus:remove')")
|
||||
@PreAuthorize("@ss.hasPermi('system:taskStatus:remove')")
|
||||
@Log(title = "任务状态字典", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(taskStatusDictService.deleteTaskStatusDictByIds(ids));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user