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 1683d9aa
authored
Jul 25, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-order-create' into develop
2 parents
afa28734
f813d471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
View file @
1683d9a
...
...
@@ -126,6 +126,9 @@ public class OrderCreateServiceImpl implements OrderCreateService {
entity
.
setExpectTimeBegin
(
LocalDateTimeUtil
.
parse
(
req
.
getExpectBegin
(),
PATTERN_DATETIME
));
entity
.
setExpectTimeEnd
(
LocalDateTimeUtil
.
parse
(
req
.
getExpectEnd
(),
PATTERN_DATETIME
));
entity
.
setExpectTimeDesc
(
req
.
getExpectDesc
());
// 使用期望时间来初始化计划时间,后面在指派环节更新为真正的有效的计划时间
entity
.
setPlanStartTime
(
entity
.
getExpectTimeBegin
());
entity
.
setPlanEndTime
(
entity
.
getExpectTimeEnd
());
entity
.
setApplyNote
(
req
.
getDescription
());
// order_request的description字段,仅仅用于内部备注,不对外
entity
.
setDt
(
LocalDateTimeUtil
.
parseDate
(
req
.
getExpectBegin
().
substring
(
0
,
10
),
PATTERN_DATE
));
entity
.
setSubId
(
newSubId
(
entity
.
getOrderId
(),
entity
.
getDt
()));
...
...
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