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 602dcfbd
authored
Jul 25, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改用计划时间
1 parent
226660d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
View file @
602dcfb
...
...
@@ -59,8 +59,8 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
EngineersGanttDTO
.
Slot
slot
=
new
EngineersGanttDTO
.
Slot
();
// todo 需要根据订单时间和状态,采用expectXXXX或者actualXXXX
slot
.
setOrderId
(
e
.
getOrderId
());
slot
.
setBtime
(
getHourMinute
(
e
.
get
ExpectTimeBegin
()));
slot
.
setEtime
(
getHourMinute
(
e
.
get
ExpectTimeEnd
()));
slot
.
setBtime
(
getHourMinute
(
e
.
get
PlanStartTime
()));
slot
.
setEtime
(
getHourMinute
(
e
.
get
PlanEndTime
()));
slot
.
setTooltip
(
getOrderTips
(
e
.
getOrderId
()));
OrderSkillProjection
orderSkill
=
orderInfoDao
.
getOrderSkillCaptionByOrderId
(
e
.
getOrderId
());
if
(
orderSkill
!=
null
)
{
...
...
@@ -78,8 +78,8 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
if
(
e
.
getArriveElapsed
()
>
0
)
{
// 有在途,起止时间,分别是订单的开始时间减去在途时间、订单的开始时间
slot
=
new
EngineersGanttDTO
.
Slot
();
slot
.
setBtime
(
getHourMinute
(
e
.
get
ExpectTimeBegin
(),
-
e
.
getArriveElapsed
()));
slot
.
setEtime
(
getHourMinute
(
e
.
get
ExpectTimeBegin
()));
slot
.
setBtime
(
getHourMinute
(
e
.
get
PlanStartTime
(),
-
e
.
getArriveElapsed
()));
slot
.
setEtime
(
getHourMinute
(
e
.
get
PlanStartTime
()));
slot
.
setShapeSize
(
"mini"
);
slot
.
setBgColor
(
getColor
(
"ONWAY"
));
slots
.
add
(
slot
);
...
...
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