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 226660d4
authored
Jul 25, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间槽返回orderId,方便前端获取工单详情
1 parent
f91d118c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/EngineersGanttDTO.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dto/EngineersGanttDTO.java
View file @
226660d
...
...
@@ -80,6 +80,7 @@ public class EngineersGanttDTO {
@lombok
.
Data
public
static
class
Slot
{
private
String
orderId
;
private
String
bgColor
=
"#016FFF"
;
private
String
borderColor
=
"#016FFF"
;
private
String
borderStyle
=
"solid"
;
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/EngineerGanttServiceImpl.java
View file @
226660d
...
...
@@ -58,6 +58,7 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
// 服务工单本体
EngineersGanttDTO
.
Slot
slot
=
new
EngineersGanttDTO
.
Slot
();
// todo 需要根据订单时间和状态,采用expectXXXX或者actualXXXX
slot
.
setOrderId
(
e
.
getOrderId
());
slot
.
setBtime
(
getHourMinute
(
e
.
getExpectTimeBegin
()));
slot
.
setEtime
(
getHourMinute
(
e
.
getExpectTimeEnd
()));
slot
.
setTooltip
(
getOrderTips
(
e
.
getOrderId
()));
...
...
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