Commit 5c26941c by wangli

新增接口

1 parent 4c60c12f
...@@ -27,6 +27,18 @@ public class EngineerController { ...@@ -27,6 +27,18 @@ public class EngineerController {
return res; return res;
} }
@GetMapping("/engineer/info/detail")
public Result<?> getEngineerInfoDetail(@RequestParam String engineerCode) {
// 获取工程师基础信息列表
Result<?> res = null;
try {
res = engineerService.getEngineerInfoDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
}
return res;
}
@GetMapping("/engineer/skill/list") @GetMapping("/engineer/skill/list")
public Result<?> getEngineerSkillList(@RequestParam long page, @RequestParam long size) { public Result<?> getEngineerSkillList(@RequestParam long page, @RequestParam long size) {
// 获取工程师技能信息列表 // 获取工程师技能信息列表
...@@ -39,6 +51,18 @@ public class EngineerController { ...@@ -39,6 +51,18 @@ public class EngineerController {
return res; return res;
} }
@GetMapping("/engineer/skill/detail")
public Result<?> getEngineerSkillDetail(@RequestParam String engineerCode) {
// 获取工程师技能信息列表
Result<?> res = null;
try {
res = engineerService.getEngineerSkillDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
}
return res;
}
@PostMapping("/engineer/skill/update") @PostMapping("/engineer/skill/update")
public Result<?> engineerSkillUpdate(@RequestBody EngineerSkillUpdateReqDTO req) { public Result<?> engineerSkillUpdate(@RequestBody EngineerSkillUpdateReqDTO req) {
// 获取工程师技能信息修改 // 获取工程师技能信息修改
...@@ -62,6 +86,18 @@ public class EngineerController { ...@@ -62,6 +86,18 @@ public class EngineerController {
return res; return res;
} }
@GetMapping("/engineer/business/detail")
public Result<?> getEngineerBusinessDetail(@RequestParam String engineerCode) {
// 技术员业务属性配置列表
Result<?> res = null;
try {
res = engineerService.getEngineerBusinessDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
}
return res;
}
@PostMapping("/engineer/business/update") @PostMapping("/engineer/business/update")
public Result<?> engineerBusinessUpdate(@RequestBody EngineerBusinessUpdateReqDTO req) { public Result<?> engineerBusinessUpdate(@RequestBody EngineerBusinessUpdateReqDTO req) {
// 技术员业务属性配置更新 // 技术员业务属性配置更新
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!