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 ed45022a
authored
Jul 04, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统一字段类型
1 parent
d20cf0bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/service/CommonService.java
project-order/src/main/java/com/dituhui/pea/order/service/CommonService.java
View file @
ed45022
...
@@ -16,6 +16,7 @@ import org.springframework.util.LinkedMultiValueMap;
...
@@ -16,6 +16,7 @@ import org.springframework.util.LinkedMultiValueMap;
import
org.springframework.util.MultiValueMap
;
import
org.springframework.util.MultiValueMap
;
import
org.springframework.web.client.RestTemplate
;
import
org.springframework.web.client.RestTemplate
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -134,7 +135,7 @@ public class CommonService {
...
@@ -134,7 +135,7 @@ public class CommonService {
public
void
addOrderChange
(
String
orderId
,
String
subOrderId
,
String
source
,
String
operator
,
String
content
,
String
memo
)
{
public
void
addOrderChange
(
String
orderId
,
String
subOrderId
,
String
source
,
String
operator
,
String
content
,
String
memo
)
{
OrderChangeEntity
entity
=
new
OrderChangeEntity
();
OrderChangeEntity
entity
=
new
OrderChangeEntity
();
entity
.
setOrderId
(
orderId
).
setSuborderId
(
subOrderId
).
setSource
(
source
).
setOperator
(
operator
).
setContent
(
content
).
setMemo
(
memo
);
entity
.
setOrderId
(
orderId
).
setSuborderId
(
subOrderId
).
setSource
(
source
).
setOperator
(
operator
).
setContent
(
content
).
setMemo
(
memo
);
entity
.
setCreateTime
(
new
Date
()).
setUpdateTime
(
new
Date
());
entity
.
setCreateTime
(
LocalDateTime
.
now
()).
setUpdateTime
(
LocalDateTime
.
now
());
orderChangeDao
.
save
(
entity
);
orderChangeDao
.
save
(
entity
);
}
}
}
}
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