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
a154ecaf
Commit
a154ecaf
authored
Jul 22, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
69817003
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
6 deletions
+26
-6
ConfirmQuotationServiceImpl.java
...rvices/confirm_quotation/ConfirmQuotationServiceImpl.java
+2
-1
DNDeletionServiceImpl.java
...egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
+2
-1
MaterialMasterServiceImpl.java
...o/services/material_master/MaterialMasterServiceImpl.java
+2
-1
PrformaInvoiceServiceImpl.java
...o/services/prforma_invoice/PrformaInvoiceServiceImpl.java
+2
-1
PriceListServiceImpl.java
...m/egolm/sso/services/price_list/PriceListServiceImpl.java
+2
-1
ShippingNotificationServiceImpl.java
...hipping_notfirmation/ShippingNotificationServiceImpl.java
+2
-1
ThrowableUtil.java
src/main/java/com/egolm/sso/util/ThrowableUtil.java
+14
-0
No files found.
src/main/java/com/egolm/sso/services/confirm_quotation/ConfirmQuotationServiceImpl.java
View file @
a154ecaf
...
@@ -25,6 +25,7 @@ import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION
...
@@ -25,6 +25,7 @@ import com.egolm.sso.services.confirm_quotation.Z_MT_SD_008_SO_CONFIRM_QUOTATION
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
@Component
@Component
...
@@ -143,7 +144,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
...
@@ -143,7 +144,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
Z_MT_SD_008_SO_CONFIRM_QUOTATION
.
getClass
().
getSimpleName
();
String
xmlName
=
Z_MT_SD_008_SO_CONFIRM_QUOTATION
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
View file @
a154ecaf
...
@@ -17,6 +17,7 @@ import com.egolm.sso.services.CommonService;
...
@@ -17,6 +17,7 @@ import com.egolm.sso.services.CommonService;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.SqlUtil
;
import
com.egolm.sso.util.SqlUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.SqlUtil.Sql
;
import
com.egolm.sso.util.SqlUtil.Sql
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
...
@@ -60,7 +61,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
...
@@ -60,7 +61,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
jdbcTemplate
.
update
(
headerSql
.
getSql
(),
headerSql
.
getArgs
());
jdbcTemplate
.
update
(
headerSql
.
getSql
(),
headerSql
.
getArgs
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
DELETED_DOCUMENTS
.
getClass
().
getSimpleName
();
String
xmlName
=
DELETED_DOCUMENTS
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/services/material_master/MaterialMasterServiceImpl.java
View file @
a154ecaf
...
@@ -23,6 +23,7 @@ import com.egolm.sso.services.material_master.Z_MT_SD_001_MATERIAL_MASTER.RECORD
...
@@ -23,6 +23,7 @@ import com.egolm.sso.services.material_master.Z_MT_SD_001_MATERIAL_MASTER.RECORD
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.google.gson.Gson
;
import
com.google.gson.Gson
;
...
@@ -119,7 +120,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
...
@@ -119,7 +120,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
Z_MT_SD_001_MATERIAL_MASTER
.
getClass
().
getSimpleName
();
String
xmlName
=
Z_MT_SD_001_MATERIAL_MASTER
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/services/prforma_invoice/PrformaInvoiceServiceImpl.java
View file @
a154ecaf
...
@@ -35,6 +35,7 @@ import com.egolm.sso.util.FileUtil;
...
@@ -35,6 +35,7 @@ import com.egolm.sso.util.FileUtil;
import
com.egolm.sso.util.SqlUtil
;
import
com.egolm.sso.util.SqlUtil
;
import
com.egolm.sso.util.SqlUtil.Sql
;
import
com.egolm.sso.util.SqlUtil.Sql
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
@Component
@Component
...
@@ -176,7 +177,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
...
@@ -176,7 +177,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
jdbcTemplate
.
batchUpdate
(
itemDataSql
.
getSql
(),
itemDataSql
.
getBachArgs
());
jdbcTemplate
.
batchUpdate
(
itemDataSql
.
getSql
(),
itemDataSql
.
getBachArgs
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
Z_MT_SD_005_PERFORM_INVOICE
.
getClass
().
getSimpleName
();
String
xmlName
=
Z_MT_SD_005_PERFORM_INVOICE
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/services/price_list/PriceListServiceImpl.java
View file @
a154ecaf
...
@@ -23,6 +23,7 @@ import com.egolm.sso.services.price_list.Z_MT_SD_002_PRICE_LIST.RECORD;
...
@@ -23,6 +23,7 @@ import com.egolm.sso.services.price_list.Z_MT_SD_002_PRICE_LIST.RECORD;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.google.gson.Gson
;
import
com.google.gson.Gson
;
...
@@ -94,7 +95,7 @@ public class PriceListServiceImpl implements PriceListService {
...
@@ -94,7 +95,7 @@ public class PriceListServiceImpl implements PriceListService {
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
Z_MT_SD_002_PRICE_LIST
.
getClass
().
getSimpleName
();
String
xmlName
=
Z_MT_SD_002_PRICE_LIST
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
a154ecaf
...
@@ -29,6 +29,7 @@ import com.egolm.sso.services.shipping_notfirmation.Z_MT_SD_007_SHIPPING_NOTFIRM
...
@@ -29,6 +29,7 @@ import com.egolm.sso.services.shipping_notfirmation.Z_MT_SD_007_SHIPPING_NOTFIRM
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.DateUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.FileUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.StringUtil
;
import
com.egolm.sso.util.ThrowableUtil
;
import
com.egolm.sso.util.XMLUtil
;
import
com.egolm.sso.util.XMLUtil
;
@Component
@Component
...
@@ -143,7 +144,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
...
@@ -143,7 +144,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
isSuccess
=
false
;
isSuccess
=
false
;
throw
new
XRException
(
"数据保存失败"
,
e
);
throw
new
XRException
(
ThrowableUtil
.
getCaused
(
e
).
getMessage
()
,
e
);
}
finally
{
}
finally
{
String
xmlName
=
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE
.
getClass
().
getSimpleName
();
String
xmlName
=
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE
.
getClass
().
getSimpleName
();
try
{
try
{
...
...
src/main/java/com/egolm/sso/util/ThrowableUtil.java
0 → 100644
View file @
a154ecaf
package
com
.
egolm
.
sso
.
util
;
public
class
ThrowableUtil
{
public
static
Throwable
getCaused
(
Throwable
e
)
{
Throwable
ex
=
e
.
getCause
();
if
(
ex
!=
null
)
{
return
getCaused
(
ex
);
}
else
{
return
e
;
}
}
}
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