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
86d26233
Commit
86d26233
authored
Aug 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a4f160d6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
9 deletions
+7
-9
ConfirmQuotationServiceImpl.java
...rvices/confirm_quotation/ConfirmQuotationServiceImpl.java
+1
-3
DNDeletionServiceImpl.java
...egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
+1
-1
MaterialMasterServiceImpl.java
...o/services/material_master/MaterialMasterServiceImpl.java
+2
-2
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/confirm_quotation/ConfirmQuotationServiceImpl.java
View file @
86d26233
...
...
@@ -15,7 +15,6 @@ import org.springframework.jdbc.core.JdbcTemplate;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.alibaba.fastjson.JSON
;
import
com.egolm.sso.config.XRException
;
import
com.egolm.sso.services.CommonService
;
import
com.egolm.sso.services.TraceService
;
...
...
@@ -53,9 +52,9 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
@Override
@Transactional
public
void
execute
(
Z_MT_SD_008_SO_CONFIRM_QUOTATION
Z_MT_SD_008_SO_CONFIRM_QUOTATION
)
{
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_008_SO_CONFIRM_QUOTATION
));
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsoconfirmquotation"
,
"T_SO_CONFIRMACTION_HEADER"
);
Long
time
=
now
.
getTime
();
...
...
@@ -220,7 +219,6 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
fieldSql
=
fieldSql
.
substring
(
0
,
fieldSql
.
length
()-
2
);
valuesSql
=
valuesSql
.
substring
(
0
,
valuesSql
.
length
()-
2
);
insertSql
=
insertSql
+
fieldSql
+
") values "
+
valuesSql
+
")"
;
System
.
out
.
println
(
JSON
.
toJSONString
(
values
));
jdbcTemplate
.
update
(
insertSql
,
values
.
toArray
());
}
...
...
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
View file @
86d26233
...
...
@@ -47,9 +47,9 @@ public class DNDeletionServiceImpl implements DNDeletionService {
@Override
@Transactional
public
void
execute
(
DELETED_DOCUMENTS
DELETED_DOCUMENTS
)
{
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
DELETED_DOCUMENTS
));
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapsodndeletion"
,
"T_SO_DN_DELETION"
);
String
apiName
=
"SAP单据删除通知接口"
;
...
...
src/main/java/com/egolm/sso/services/material_master/MaterialMasterServiceImpl.java
View file @
86d26233
...
...
@@ -50,10 +50,10 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
@Override
@Transactional
public
void
execute
(
Z_MT_SD_001_MATERIAL_MASTER
Z_MT_SD_001_MATERIAL_MASTER
)
{
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_001_MATERIAL_MASTER
));
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
boolean
isSuccess
=
true
;
S
ystem
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_001_MATERIAL_MASTER
)
);
S
tring
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapmaterialmaster"
,
"T_VEN_GOODS"
);
String
apiName
=
"SAP物料接口"
;
String
apiPath
=
"/material_master"
;
...
...
src/main/java/com/egolm/sso/services/prforma_invoice/PrformaInvoiceServiceImpl.java
View file @
86d26233
...
...
@@ -62,9 +62,9 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
@Override
@Transactional
public
void
execute
(
Z_MT_SD_005_PERFORM_INVOICE
Z_MT_SD_005_PERFORM_INVOICE
)
{
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_005_PERFORM_INVOICE
));
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapproformainvoice"
,
"T_PERFORM_INVOICE_HEADER"
);
String
apiName
=
"SAP形式发票接口"
;
...
...
src/main/java/com/egolm/sso/services/price_list/PriceListServiceImpl.java
View file @
86d26233
...
...
@@ -50,9 +50,9 @@ public class PriceListServiceImpl implements PriceListService {
@Override
@Transactional
public
void
execute
(
Z_MT_SD_002_PRICE_LIST
Z_MT_SD_002_PRICE_LIST
)
{
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_002_PRICE_LIST
));
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sappricelist"
,
"T_PRICE_LIST"
);
String
apiName
=
"SAP列表价接口"
;
...
...
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
86d26233
...
...
@@ -56,9 +56,9 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
@Override
@Transactional
public
void
execute
(
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE
)
{
boolean
isSuccess
=
true
;
System
.
out
.
println
(
new
Gson
().
toJson
(
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE
));
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
Long
timeMillis
=
now
.
getTime
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
common
.
getNextTrace
(
now
,
"sapshippingnotification"
,
"T_SHIPPING_NOTIFICATION_HEADER"
);
...
...
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