Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
王红岩
/
cms-scheduler
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
5f2aa355
...
5f2aa35531ccc9e76c0b4a0f27abde01c90e0071
authored
2021-01-05 10:17:03 +0800
by
lWoHvYe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
移除部分事务
1 parent
66874276
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
src/main/java/com/topdraw/platform/executor/AutoBindAppProcessor.java
src/main/java/com/topdraw/platform/executor/AutoBindServiceProcessor.java
src/main/java/com/topdraw/platform/executor/AutoOnlineProcessor.java
src/main/java/com/topdraw/platform/executor/AutoBindAppProcessor.java
View file @
5f2aa35
...
...
@@ -23,7 +23,6 @@ public class AutoBindAppProcessor {
@Value
(
"${entity.appId}"
)
private
Long
APP_ID
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
execute
()
{
Connection
connection
=
null
;
try
{
...
...
src/main/java/com/topdraw/platform/executor/AutoBindServiceProcessor.java
View file @
5f2aa35
...
...
@@ -23,7 +23,6 @@ public class AutoBindServiceProcessor {
@Value
(
"${entity.serviceId}"
)
private
Long
SERVICE_ID
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
execute
()
{
Connection
connection
=
null
;
try
{
...
...
src/main/java/com/topdraw/platform/executor/AutoOnlineProcessor.java
View file @
5f2aa35
...
...
@@ -21,7 +21,6 @@ public class AutoOnlineProcessor {
@Value
(
"${entity.difference}"
)
private
Long
DIFFERENCE
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
execute
()
{
Connection
connection
=
null
;
String
today
=
DateUtil
.
today
();
...
...
@@ -34,8 +33,6 @@ public class AutoOnlineProcessor {
"where xm.`status` = '000' and xm.file_status = '001' and xm.create_time >= ? and xcsc.id is null "
+
") as a ) "
,
DateUtil
.
now
());
dbUtil
.
doExecute
(
connection
,
sql
,
today
);
// 提交事务
dbUtil
.
commitTransaction
(
connection
);
}
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
...
...
Please
register
or
sign in
to post a comment