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
09f90af5
Commit
09f90af5
authored
Aug 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
79d17d8b
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
CommonService.java
src/main/java/com/egolm/sso/services/CommonService.java
+1
-1
ConfirmQuotationServiceImpl.java
...rvices/confirm_quotation/ConfirmQuotationServiceImpl.java
+1
-1
DNDeletionServiceImpl.java
...egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
+1
-1
MaterialMasterServiceImpl.java
...o/services/material_master/MaterialMasterServiceImpl.java
+1
-1
PrformaInvoiceServiceImpl.java
...o/services/prforma_invoice/PrformaInvoiceServiceImpl.java
+1
-1
PriceListServiceImpl.java
...m/egolm/sso/services/price_list/PriceListServiceImpl.java
+1
-1
ShippingNotificationServiceImpl.java
...hipping_notfirmation/ShippingNotificationServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/sso/services/CommonService.java
View file @
09f90af5
...
@@ -122,7 +122,7 @@ public class CommonService {
...
@@ -122,7 +122,7 @@ public class CommonService {
public
String
getNextTrace
(
Date
now
,
String
sPrefix
,
String
sName
)
{
public
String
getNextTrace
(
Date
now
,
String
sPrefix
,
String
sName
)
{
String
dateString
=
DateUtil
.
formatDate
(
now
,
DateUtil
.
FMT_DATE
);
String
dateString
=
DateUtil
.
formatDate
(
now
,
DateUtil
.
FMT_DATE
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
return
sPrefix
+
timeString
+
this
.
getNextval
(
sName
+
"_"
+
dateString
);
return
sPrefix
+
timeString
+
this
.
getNextval
(
sName
+
"_
TRACE_
"
+
dateString
);
}
}
public
String
limitByMysql
(
String
sql
,
Page
page
)
{
public
String
limitByMysql
(
String
sql
,
Page
page
)
{
...
...
src/main/java/com/egolm/sso/services/confirm_quotation/ConfirmQuotationServiceImpl.java
View file @
09f90af5
...
@@ -53,7 +53,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
...
@@ -53,7 +53,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_008_SO_CONFIRM_QUOTATION
));
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_008_SO_CONFIRM_QUOTATION
));
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsoconfirmquotation"
,
"T_SO_CONFIRMACTION_HEADER
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsoconfirmquotation"
,
"T_SO_CONFIRMACTION_HEADER"
);
Long
time
=
now
.
getTime
();
Long
time
=
now
.
getTime
();
String
KUNNR
=
null
;
String
KUNNR
=
null
;
String
VBELN
=
null
;
String
VBELN
=
null
;
...
...
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
View file @
09f90af5
...
@@ -47,7 +47,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
...
@@ -47,7 +47,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
System
.
out
.
println
(
new
Gson
().
toJson
(
DELETED_DOCUMENTS
));
System
.
out
.
println
(
new
Gson
().
toJson
(
DELETED_DOCUMENTS
));
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsodndeletion"
,
"T_SO_DN_DELETION
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsodndeletion"
,
"T_SO_DN_DELETION"
);
String
apiName
=
"SAP单据删除通知接口"
;
String
apiName
=
"SAP单据删除通知接口"
;
String
apiPath
=
"/dn_deletion"
;
String
apiPath
=
"/dn_deletion"
;
String
traceName
=
"SODNDeletion"
;
String
traceName
=
"SODNDeletion"
;
...
...
src/main/java/com/egolm/sso/services/material_master/MaterialMasterServiceImpl.java
View file @
09f90af5
...
@@ -50,7 +50,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
...
@@ -50,7 +50,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
boolean
isSuccess
=
true
;
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_001_MATERIAL_MASTER
));
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_001_MATERIAL_MASTER
));
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapmaterialmaster"
,
"T_VEN_GOODS
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapmaterialmaster"
,
"T_VEN_GOODS"
);
String
apiName
=
"SAP物料接口"
;
String
apiName
=
"SAP物料接口"
;
String
apiPath
=
"/material_master"
;
String
apiPath
=
"/material_master"
;
String
traceName
=
"MaterialMaster"
;
String
traceName
=
"MaterialMaster"
;
...
...
src/main/java/com/egolm/sso/services/prforma_invoice/PrformaInvoiceServiceImpl.java
View file @
09f90af5
...
@@ -62,7 +62,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
...
@@ -62,7 +62,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_005_PERFORM_INVOICE
));
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_005_PERFORM_INVOICE
));
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapproformainvoice"
,
"T_PERFORM_INVOICE_HEADER
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapproformainvoice"
,
"T_PERFORM_INVOICE_HEADER"
);
String
apiName
=
"SAP形式发票接口"
;
String
apiName
=
"SAP形式发票接口"
;
String
apiPath
=
"/prforma_invoice"
;
String
apiPath
=
"/prforma_invoice"
;
String
traceName
=
"ProFormaInvoice"
;
String
traceName
=
"ProFormaInvoice"
;
...
...
src/main/java/com/egolm/sso/services/price_list/PriceListServiceImpl.java
View file @
09f90af5
...
@@ -50,7 +50,7 @@ public class PriceListServiceImpl implements PriceListService {
...
@@ -50,7 +50,7 @@ public class PriceListServiceImpl implements PriceListService {
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_002_PRICE_LIST
));
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_002_PRICE_LIST
));
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sappricelist"
,
"T_PRICE_LIST
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sappricelist"
,
"T_PRICE_LIST"
);
String
apiName
=
"SAP列表价接口"
;
String
apiName
=
"SAP列表价接口"
;
String
apiPath
=
"/price_list"
;
String
apiPath
=
"/price_list"
;
String
traceName
=
"PriceList"
;
String
traceName
=
"PriceList"
;
...
...
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
09f90af5
...
@@ -57,7 +57,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
...
@@ -57,7 +57,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
Date
now
=
new
Date
();
Date
now
=
new
Date
();
Long
timeMillis
=
now
.
getTime
();
Long
timeMillis
=
now
.
getTime
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapshippingnotification"
,
"T_SHIPPING_NOTIFICATION_HEADER
_TRACE
"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapshippingnotification"
,
"T_SHIPPING_NOTIFICATION_HEADER"
);
String
apiName
=
"SAP发货通知接口"
;
String
apiName
=
"SAP发货通知接口"
;
String
apiPath
=
"/shipping_notfirmation"
;
String
apiPath
=
"/shipping_notfirmation"
;
String
traceName
=
"ShippingNotfirmation"
;
String
traceName
=
"ShippingNotfirmation"
;
...
...
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