Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5c26941c
authored
Jun 12, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口
1 parent
4c60c12f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EngineerController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EngineerController.java
View file @
5c26941
...
@@ -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
)
{
// 技术员业务属性配置更新
// 技术员业务属性配置更新
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment