This commit is contained in:
zhangheng 2024-03-13 14:17:01 +08:00
parent 4abbaa2bdd
commit 91ddacc575
2 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ import java.util.List;
* @date 2024-03-13 * @date 2024-03-13
*/ */
@RestController @RestController
@RequestMapping("/system/specialdiseasenode") @RequestMapping("/system/specialDiseaseNode")
public class SpecialDiseaseNodeController extends BaseController { public class SpecialDiseaseNodeController extends BaseController {
@Resource @Resource
private ISpecialDiseaseNodeService specialDiseaseNodeService; 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") @GetMapping("/list")
public TableDataInfo list(SpecialDiseaseNode specialDiseaseNode) { public TableDataInfo list(SpecialDiseaseNode specialDiseaseNode) {
startPage(); 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) @Log(title = "专病路径-管理节点信息", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, SpecialDiseaseNode specialDiseaseNode) { 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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(specialDiseaseNodeService.selectSpecialDiseaseNodeById(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) @Log(title = "专病路径-管理节点信息", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody SpecialDiseaseNode specialDiseaseNode) { 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) @Log(title = "专病路径-管理节点信息", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody SpecialDiseaseNode specialDiseaseNode) { 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) @Log(title = "专病路径-管理节点信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {

View File

@ -22,7 +22,7 @@ import java.util.List;
* @date 2024-03-13 * @date 2024-03-13
*/ */
@RestController @RestController
@RequestMapping("/system/taskstatus") @RequestMapping("/system/taskStatus")
public class TaskStatusDictController extends BaseController { public class TaskStatusDictController extends BaseController {
@Resource @Resource
private ITaskStatusDictService taskStatusDictService; 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") @GetMapping("/list")
public TableDataInfo list(TaskStatusDict taskStatusDict) { public TableDataInfo list(TaskStatusDict taskStatusDict) {
startPage(); 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) @Log(title = "任务状态字典", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, TaskStatusDict taskStatusDict) { 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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) { public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(taskStatusDictService.selectTaskStatusDictById(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) @Log(title = "任务状态字典", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody TaskStatusDict taskStatusDict) { 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) @Log(title = "任务状态字典", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody TaskStatusDict taskStatusDict) { public AjaxResult edit(@RequestBody TaskStatusDict taskStatusDict) {
@ -82,7 +82,7 @@ public class TaskStatusDictController extends BaseController {
/** /**
* 删除任务状态字典 * 删除任务状态字典
*/ */
@PreAuthorize("@ss.hasPermi('system:taskstatus:remove')") @PreAuthorize("@ss.hasPermi('system:taskStatus:remove')")
@Log(title = "任务状态字典", businessType = BusinessType.DELETE) @Log(title = "任务状态字典", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) { public AjaxResult remove(@PathVariable Long[] ids) {