Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dataC_api
Project
Project
Details
Activity
Releases
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
高宇
dataC_api
Commits
b2ffa4f2
Commit
b2ffa4f2
authored
May 16, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.月度信息
parent
efa15a92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Jnsp7xtmDqsjController.java
...t/bus/jnsp7xtmdqsj/controller/Jnsp7xtmDqsjController.java
+1
-1
Jnsp7xtmDqsjServiceImpl.java
...us/jnsp7xtmdqsj/service/impl/Jnsp7xtmDqsjServiceImpl.java
+3
-0
No files found.
src/main/java/org/rcisoft/bus/jnsp7xtmdqsj/controller/Jnsp7xtmDqsjController.java
View file @
b2ffa4f2
...
...
@@ -160,7 +160,7 @@ public class Jnsp7xtmDqsjController extends CyPaginationController<Jnsp7xtmDqsj>
TaskInfo
taskInfo
=
jnsp7xtmDqsjServiceImpl
.
addTaskInfo
();
//service2
jnsp7xtmDqsjServiceImpl
.
monthlyTablePull
(
taskInfo
.
getTackId
());
return
CyResultGenUtil
.
builder
(
jnsp7xtmDqsjServiceImpl
.
monthlyTablePull
(
taskInfo
.
getTackId
()
),
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
taskInfo
);
...
...
src/main/java/org/rcisoft/bus/jnsp7xtmdqsj/service/impl/Jnsp7xtmDqsjServiceImpl.java
View file @
b2ffa4f2
...
...
@@ -16,6 +16,7 @@ import org.apache.commons.beanutils.BeanUtils;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.ibatis.session.SqlSession
;
import
org.apache.poi.ss.usermodel.Workbook
;
import
org.apache.tools.ant.taskdefs.Sleep
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7xtmDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7xtmOptionDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
...
...
@@ -201,6 +202,7 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
* 月度表拉取
* **/
@Override
@Async
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
isolation
=
Isolation
.
DEFAULT
)
public
CyPersistModel
monthlyTablePull
(
String
taskId
)
{
...
...
@@ -219,6 +221,7 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
Jnsp7xtmDqsjPageHandleDto
jnsp7xtmDqsjPageHandleDto
=
Jnsp7xtmDqsjPageHandleDto
.
builder
().
page
(
i
).
rows
(
pageQuerySize
).
build
();
addJnsp7xtmDqsjByPage
(
jnsp7xtmDqsjPageHandleDto
);
}
Thread
.
sleep
(
5000
);
log
.
info
(
"查询耗时秒"
+
stopwatch
.
elapsed
().
getSeconds
());
log
.
info
(
"查询耗时毫秒"
+
stopwatch
.
elapsed
(
TimeUnit
.
MILLISECONDS
));
}
catch
(
Exception
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