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
e2a37723
Commit
e2a37723
authored
May 15, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.月度信息
parent
adefc96d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
Jnsp7xtmServiceImpl.java
...cisoft/bus/jnsp7xtm/service/impl/Jnsp7xtmServiceImpl.java
+2
-0
Jnsp7xtmDqsjServiceImpl.java
...us/jnsp7xtmdqsj/service/impl/Jnsp7xtmDqsjServiceImpl.java
+6
-1
Jnsp7xtmDqsjMapper.xml
...ces/mapper/bus/jnsp7xtmdqsj/mapper/Jnsp7xtmDqsjMapper.xml
+1
-0
No files found.
src/main/java/org/rcisoft/bus/jnsp7xtm/service/impl/Jnsp7xtmServiceImpl.java
View file @
e2a37723
...
...
@@ -277,6 +277,8 @@ public class Jnsp7xtmServiceImpl extends ServiceImpl<Jnsp7xtmRepository, Jnsp7xt
List
<
Jnsp7xtm
>
records
=
new
ArrayList
<>();
ExportToExcelUtil
.
exportExcel
(
records
,
"详细信息"
,
"详细信息"
,
Jnsp7xtm
.
class
,
excelName
,
response
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
finally
{
lock
.
unlock
();
}
...
...
src/main/java/org/rcisoft/bus/jnsp7xtmdqsj/service/impl/Jnsp7xtmDqsjServiceImpl.java
View file @
e2a37723
...
...
@@ -173,6 +173,8 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
if
(
dataTableResetLock
.
tryLock
(
1000
,
TimeUnit
.
MILLISECONDS
))
{
try
{
baseMapper
.
truncateJnsp7xtmDqsj
(
shema
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
finally
{
dataTableResetLock
.
unlock
();
}
...
...
@@ -214,7 +216,10 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
stopwatch
.
stop
();
log
.
info
(
"查询耗时秒"
+
stopwatch
.
elapsed
().
getSeconds
());
log
.
info
(
"查询耗时毫秒"
+
stopwatch
.
elapsed
(
TimeUnit
.
MILLISECONDS
));
}
finally
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
finally
{
monthlyTablePullLock
.
unlock
();
}
}
else
{
...
...
src/main/resources/mapper/bus/jnsp7xtmdqsj/mapper/Jnsp7xtmDqsjMapper.xml
View file @
e2a37723
...
...
@@ -401,6 +401,7 @@
where
jnsp.khdm is not null
and jnsp.pn is not null
and bps.del_flag = '0'
</select>
</mapper>
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