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 744f5747
authored
Jul 06, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
ff0203d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
project-order/src/main/java/com/dituhui/pea/order/controller/WorkbenchController.java
project-order/src/main/java/com/dituhui/pea/order/controller/WorkbenchController.java
View file @
744f574
...
...
@@ -19,28 +19,28 @@ import java.time.LocalDate;
@RequestMapping
(
"/pea-order"
)
public
class
WorkbenchController
{
@Autowired
WorkbenchService
workbenchService
;
@Autowired
WorkbenchService
workbenchService
;
@GetMapping
(
"/workbench/serviceOrder/change/list"
)
public
Result
<?>
orderChangeList
(
@Validated
OrderChangeListReqDTO
reqDTO
)
{
Result
<?>
res
=
null
;
try
{
res
=
workbenchService
.
getOrderChangeList
(
reqDTO
);
}
catch
(
BusinessException
e
)
{
return
Result
.
failed
(
e
.
getMessage
());
}
return
res
;
}
@GetMapping
(
"/workbench/serviceOrder/change/list"
)
public
Result
<?>
orderChangeList
(
@Validated
OrderChangeListReqDTO
reqDTO
)
{
Result
<?>
res
=
null
;
try
{
res
=
workbenchService
.
getOrderChangeList
(
reqDTO
);
}
catch
(
BusinessException
e
)
{
return
Result
.
failed
(
e
.
getMessage
());
}
return
res
;
}
@GetMapping
(
"/workbench/summary"
)
public
Result
<?>
workbenchSummary
(
@RequestParam
String
levelType
,
@RequestParam
String
levelValue
,
@RequestParam
LocalDate
date
)
{
Result
<?>
res
=
null
;
try
{
res
=
workbenchService
.
getWorkbenchSummary
(
levelType
,
levelValue
,
date
);
}
catch
(
BusinessException
e
)
{
return
Result
.
failed
(
e
.
getMessage
());
}
return
res
;
}
@GetMapping
(
"/workbench/summary"
)
public
Result
<?>
workbenchSummary
(
@RequestParam
String
levelType
,
@RequestParam
String
levelValue
,
@RequestParam
LocalDate
date
)
{
Result
<?>
res
=
null
;
try
{
res
=
workbenchService
.
getWorkbenchSummary
(
levelType
,
levelValue
,
date
);
}
catch
(
BusinessException
e
)
{
return
Result
.
failed
(
e
.
getMessage
());
}
return
res
;
}
}
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