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 77dbabd2
authored
Jun 01, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口
1 parent
6bac7821
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
0 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderAssignController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/OrderAssign.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderAssignImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderAssignController.java
0 → 100644
View file @
77dbabd
package
com
.
alibaba
.
cloud
.
integration
.
order
.
controller
;
import
com.alibaba.cloud.integration.common.Result
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
@Controller
public
class
OrderAssignController
{
@GetMapping
(
"/order/assign/recommend/engineers"
)
public
Result
<?>
getOrderAssignRecommendEnginners
(
@RequestParam
String
orderId
,
@RequestParam
String
key
,
@RequestParam
String
distance
,
@RequestParam
String
recommend
)
{
//服务单指派-推荐技术员列表
return
null
;
}
@PostMapping
(
"/order/assign"
)
public
Result
<?>
orderAssign
(
@RequestBody
String
orderId
,
@RequestBody
String
engineerCode
)
{
// 服务单指派-指派提交
return
null
;
}
}
project-order/src/main/java/com/alibaba/cloud/integration/order/service/OrderAssign.java
0 → 100644
View file @
77dbabd
package
com
.
alibaba
.
cloud
.
integration
.
order
.
service
;
import
com.alibaba.cloud.integration.common.Result
;
public
interface
OrderAssign
{
// 服务单指派-推荐技术员列表
Result
<?>
getOrderAssignRecommendEngineers
(
String
orderId
,
String
key
,
String
distance
,
String
recommend
);
// 服务单指派-指派提交
Result
<?>
orderAssign
(
String
orderId
,
String
engineerCode
);
}
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderAssignImpl.java
0 → 100644
View file @
77dbabd
package
com
.
alibaba
.
cloud
.
integration
.
order
.
service
.
impl
;
import
com.alibaba.cloud.integration.common.Result
;
import
com.alibaba.cloud.integration.order.service.OrderAssign
;
import
org.springframework.stereotype.Service
;
@Service
public
class
OrderAssignImpl
implements
OrderAssign
{
@Override
public
Result
<?>
getOrderAssignRecommendEngineers
(
String
orderId
,
String
key
,
String
distance
,
String
recommend
)
{
return
null
;
}
@Override
public
Result
<?>
orderAssign
(
String
orderId
,
String
engineerCode
)
{
return
null
;
}
}
\ No newline at end of file
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