feat(sip): 添加项目信息查询接口
- 在 ProjectInfoController 中新增 query 接口 -通过 GET 请求和路径参数获取项目信息 - 返回 AjaxResult 封装的项目信息master
parent
094f528e53
commit
3e6feb0237
|
@ -123,6 +123,13 @@ public class ProjectInfoController extends BaseController
|
|||
mmap.put("projectInfo", projectInfo);
|
||||
return prefix + "/edit";
|
||||
}
|
||||
@GetMapping("/query/{id}")
|
||||
@ResponseBody
|
||||
public AjaxResult edit(@PathVariable("id") Long id)
|
||||
{
|
||||
ProjectInfo projectInfo = projectInfoService.selectProjectInfoById(id);
|
||||
return AjaxResult.success(projectInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保存项目管理
|
||||
|
|
Loading…
Reference in New Issue