Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
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
曲欣亮
sap-service
Commits
72998005
Commit
72998005
authored
Aug 01, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
6e72be6d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
MaterialMasterServiceImpl.java
...o/services/material_master/MaterialMasterServiceImpl.java
+5
-5
DateUtil.java
src/main/java/com/egolm/sso/util/DateUtil.java
+1
-5
No files found.
src/main/java/com/egolm/sso/services/material_master/MaterialMasterServiceImpl.java
View file @
72998005
...
@@ -52,14 +52,14 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
...
@@ -52,14 +52,14 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
String
dateString
=
DateUtil
.
formatDate
(
now
,
DateUtil
.
FMT_DATE
);
String
dateString
=
DateUtil
.
formatDate
(
now
,
DateUtil
.
FMT_DATE
);
try
{
try
{
RECORD
RECORD
=
Z_MT_SD_001_MATERIAL_MASTER
.
getRECORD
();
RECORD
RECORD
=
Z_MT_SD_001_MATERIAL_MASTER
.
getRECORD
();
HEADER_SENDING
h
=
RECORD
.
getHEADER_SENDING
();
HEADER_SENDING
HEADER_SENDING
=
RECORD
.
getHEADER_SENDING
();
String
DIS_CODE
=
null
;
String
DIS_CODE
=
null
;
String
DATUM
=
null
;
String
DATUM
=
null
;
String
UZEIT
=
null
;
String
UZEIT
=
null
;
if
(
h
!=
null
)
{
if
(
HEADER_SENDING
!=
null
)
{
DIS_CODE
=
h
.
getKUNNR
();
DIS_CODE
=
HEADER_SENDING
.
getKUNNR
();
DATUM
=
h
.
getDATUM
();
DATUM
=
HEADER_SENDING
.
getDATUM
();
UZEIT
=
h
.
getUZEIT
();
UZEIT
=
HEADER_SENDING
.
getUZEIT
();
}
}
List
<
ITEM
>
items
=
RECORD
.
getITEM
();
List
<
ITEM
>
items
=
RECORD
.
getITEM
();
...
...
src/main/java/com/egolm/sso/util/DateUtil.java
View file @
72998005
...
@@ -16,11 +16,7 @@ public class DateUtil {
...
@@ -16,11 +16,7 @@ public class DateUtil {
public
static
String
formatDate
(
Date
date
,
String
fmt
)
{
public
static
String
formatDate
(
Date
date
,
String
fmt
)
{
DateFormat
df
=
new
SimpleDateFormat
(
fmt
);
DateFormat
df
=
new
SimpleDateFormat
(
fmt
);
return
formatDate
(
date
,
df
);
return
df
.
format
(
date
);
}
public
static
String
formatDate
(
Date
date
,
DateFormat
fmt
)
{
return
fmt
.
format
(
date
);
}
}
public
static
Object
parseDate
(
String
dateString
,
String
fmt
)
{
public
static
Object
parseDate
(
String
dateString
,
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