Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
27a35219
Commit
27a35219
authored
Jul 08, 2019
by
曲欣红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
99f2fee2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
MaterialMasterServiceImpl.java
...com/egolm/sso/service/impl/MaterialMasterServiceImpl.java
+1
-1
PriceListServiceImpl.java
...java/com/egolm/sso/service/impl/PriceListServiceImpl.java
+1
-1
DateUtil.java
src/main/java/com/egolm/sso/util/DateUtil.java
+1
-0
No files found.
src/main/java/com/egolm/sso/service/impl/MaterialMasterServiceImpl.java
View file @
27a35219
...
...
@@ -115,7 +115,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
}
BATCH
=
newDate
+
"-"
+
v
;
}
goods
.
put
(
"TRACE_NO"
,
"sapmaterialmaster"
+
DateUtil
.
formatDate
(
new
Date
(),
DateUtil
.
FMT_DATETIME
));
goods
.
put
(
"BATCH"
,
BATCH
);
goods
.
put
(
"SEND_STATUS"
,
"N"
);
goods
.
put
(
"UPDATED"
,
DateUtil
.
formatDate
(
new
Date
(),
DateUtil
.
FMT_DATE_TIME
)
/*datetimef.format(new Date())*/
);
...
...
src/main/java/com/egolm/sso/service/impl/PriceListServiceImpl.java
View file @
27a35219
...
...
@@ -92,7 +92,7 @@ public class PriceListServiceImpl implements PriceListService {
}
BATCH
=
newDate
+
"-"
+
v
;
}
priceObj
.
put
(
"TRACE_NO"
,
"sappricelist"
+
DateUtil
.
formatDate
(
new
Date
(),
DateUtil
.
FMT_DATETIME
));
priceObj
.
put
(
"BATCH"
,
BATCH
);
priceObj
.
put
(
"UPDATED"
,
DateUtil
.
formatDate
(
new
Date
(),
DateUtil
.
FMT_DATE_TIME
));
if
(
priceObj
.
get
(
"ID"
)!=
null
)
{
...
...
src/main/java/com/egolm/sso/util/DateUtil.java
View file @
27a35219
...
...
@@ -14,6 +14,7 @@ public class DateUtil {
public
static
final
String
FMT_DATE
=
"yyyyMMdd"
;
public
static
final
String
FMT_TIME
=
"HHmmss"
;
public
static
final
String
FMT_DATE_TIME
=
"yyyy-MM-dd HH:mm:ss"
;
public
static
final
String
FMT_DATETIME
=
"yyyyMMddHHmmss"
;
public
static
String
formatDate
(
Date
d
,
String
fmt
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment