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
76284ec8
Commit
76284ec8
authored
Aug 12, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
e2a6d393
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
SI004INVENTORYSyncOutServiceTask.java
...TORY_SyncOutService/SI004INVENTORYSyncOutServiceTask.java
+1
-2
SI011ACTUALSALESSyncOutServiceTask.java
...ES_SyncOutService/SI011ACTUALSALESSyncOutServiceTask.java
+1
-2
ZMISD009SOCREATIONServiceTask.java
..._MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
+1
-2
No files found.
src/main/java/com/egolm/sso/clients/SI_004_INVENTORY_SyncOutService/SI004INVENTORYSyncOutServiceTask.java
View file @
76284ec8
...
...
@@ -15,7 +15,6 @@ import org.springframework.boot.system.ApplicationHome;
import
org.springframework.jdbc.core.JdbcTemplate
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.alibaba.fastjson.JSONObject
;
...
...
@@ -59,6 +58,7 @@ public class SI004INVENTORYSyncOutServiceTask {
this
.
runTask
();
}
@Transactional
public
void
runTask
()
{
ApplicationHome
home
=
new
ApplicationHome
(
getClass
());
File
jarFile
=
home
.
getSource
();
...
...
@@ -90,7 +90,6 @@ public class SI004INVENTORYSyncOutServiceTask {
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
public
void
sendData
(
SI004INVENTORYSyncOut
SI004INVENTORYSyncOut
,
List
<
Map
<
String
,
Object
>>
vList
)
{
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
...
...
src/main/java/com/egolm/sso/clients/SI_011_ACTUAL_SALES_SyncOutService/SI011ACTUALSALESSyncOutServiceTask.java
View file @
76284ec8
...
...
@@ -15,7 +15,6 @@ import org.springframework.boot.system.ApplicationHome;
import
org.springframework.jdbc.core.JdbcTemplate
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.alibaba.fastjson.JSONObject
;
...
...
@@ -59,6 +58,7 @@ public class SI011ACTUALSALESSyncOutServiceTask {
this
.
runTask
();
}
@Transactional
public
void
runTask
()
{
ApplicationHome
home
=
new
ApplicationHome
(
getClass
());
File
jarFile
=
home
.
getSource
();
...
...
@@ -90,7 +90,6 @@ public class SI011ACTUALSALESSyncOutServiceTask {
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
public
void
sendData
(
SI011ACTUALSALESSyncOut
SI011ACTUALSALESSyncOut
,
List
<
Map
<
String
,
Object
>>
vList
)
{
Date
now
=
new
Date
();
boolean
isSuccess
=
true
;
...
...
src/main/java/com/egolm/sso/clients/Z_MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
View file @
76284ec8
...
...
@@ -14,7 +14,6 @@ import org.springframework.boot.system.ApplicationHome;
import
org.springframework.jdbc.core.JdbcTemplate
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.egolm.sso.clients.ServiceFactory
;
...
...
@@ -56,6 +55,7 @@ public class ZMISD009SOCREATIONServiceTask {
this
.
runTask
();
}
@Transactional
public
void
runTask
()
{
ApplicationHome
home
=
new
ApplicationHome
(
getClass
());
File
jarFile
=
home
.
getSource
();
...
...
@@ -79,7 +79,6 @@ public class ZMISD009SOCREATIONServiceTask {
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
public
void
sendData
(
ZMISD009SOCREATION
ZMISD009SOCREATION
,
Map
<
String
,
Object
>
headerMap
)
{
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
...
...
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