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 a53448bb
authored
Jun 12, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志修改为info
1 parent
365c4ab8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/WorkbenchController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/WorkbenchController.java
View file @
a53448b
...
@@ -31,7 +31,7 @@ public class WorkbenchController {
...
@@ -31,7 +31,7 @@ public class WorkbenchController {
@GetMapping
(
"/workbench/engineer/schedule/gantt"
)
@GetMapping
(
"/workbench/engineer/schedule/gantt"
)
public
Result
<?>
getEngineersGanttList
(
WorkbenchEngineersGanttReqDTO
reqDTO
)
{
public
Result
<?>
getEngineersGanttList
(
WorkbenchEngineersGanttReqDTO
reqDTO
)
{
log
.
debug
(
"getEngineersGanttList: {}"
,
reqDTO
);
log
.
info
(
"getEngineersGanttList: {}"
,
reqDTO
);
Result
<?>
res
=
null
;
Result
<?>
res
=
null
;
try
{
try
{
res
=
workbenchService
.
getEngineersGanttList
(
reqDTO
);
res
=
workbenchService
.
getEngineersGanttList
(
reqDTO
);
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
View file @
a53448b
...
@@ -73,7 +73,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
...
@@ -73,7 +73,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
@Override
@Override
public
Result
<?>
getEngineersGanttList
(
WorkbenchEngineersGanttReqDTO
ganttReqDTO
)
{
public
Result
<?>
getEngineersGanttList
(
WorkbenchEngineersGanttReqDTO
ganttReqDTO
)
{
// 按日期返回技术员们当天的服务甘特图,不需要翻页
// 按日期返回技术员们当天的服务甘特图,不需要翻页
log
.
debug
(
"getEngineersGanttList: {}"
,
ganttReqDTO
);
log
.
info
(
"getEngineersGanttList: {}"
,
ganttReqDTO
);
List
<?>
orderAppointments
=
orderAppointmentDao
.
findByDateAndEngineerCodeIn
(
ganttReqDTO
.
getDate
(),
ganttReqDTO
.
getEngineerCodes
());
List
<?>
orderAppointments
=
orderAppointmentDao
.
findByDateAndEngineerCodeIn
(
ganttReqDTO
.
getDate
(),
ganttReqDTO
.
getEngineerCodes
());
HashMap
<
String
,
List
<?>>
mapEngineers
=
new
HashMap
<>();
HashMap
<
String
,
List
<?>>
mapEngineers
=
new
HashMap
<>();
for
(
Object
e
:
orderAppointments
)
{
for
(
Object
e
:
orderAppointments
)
{
...
...
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