Commit e2a37723 authored by 高宇's avatar 高宇

1.月度信息

parent adefc96d
...@@ -277,6 +277,8 @@ public class Jnsp7xtmServiceImpl extends ServiceImpl<Jnsp7xtmRepository, Jnsp7xt ...@@ -277,6 +277,8 @@ public class Jnsp7xtmServiceImpl extends ServiceImpl<Jnsp7xtmRepository, Jnsp7xt
List<Jnsp7xtm> records = new ArrayList<>(); List<Jnsp7xtm> records = new ArrayList<>();
ExportToExcelUtil.exportExcel(records, "详细信息", "详细信息", Jnsp7xtm.class, excelName, response); ExportToExcelUtil.exportExcel(records, "详细信息", "详细信息", Jnsp7xtm.class, excelName, response);
} }
} catch (Exception e) {
e.printStackTrace();
} finally { } finally {
lock.unlock(); lock.unlock();
} }
......
...@@ -173,6 +173,8 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository, ...@@ -173,6 +173,8 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
if (dataTableResetLock.tryLock(1000, TimeUnit.MILLISECONDS)) { if (dataTableResetLock.tryLock(1000, TimeUnit.MILLISECONDS)) {
try { try {
baseMapper.truncateJnsp7xtmDqsj(shema); baseMapper.truncateJnsp7xtmDqsj(shema);
} catch (Exception e) {
e.printStackTrace();
} finally { } finally {
dataTableResetLock.unlock(); dataTableResetLock.unlock();
} }
...@@ -214,7 +216,10 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository, ...@@ -214,7 +216,10 @@ public class Jnsp7xtmDqsjServiceImpl extends ServiceImpl<Jnsp7xtmDqsjRepository,
stopwatch.stop(); stopwatch.stop();
log.info("查询耗时秒" + stopwatch.elapsed().getSeconds()); log.info("查询耗时秒" + stopwatch.elapsed().getSeconds());
log.info("查询耗时毫秒" + stopwatch.elapsed(TimeUnit.MILLISECONDS)); log.info("查询耗时毫秒" + stopwatch.elapsed(TimeUnit.MILLISECONDS));
} finally { } catch (Exception e) {
e.printStackTrace();
}
finally {
monthlyTablePullLock.unlock(); monthlyTablePullLock.unlock();
} }
} else { } else {
......
...@@ -401,6 +401,7 @@ ...@@ -401,6 +401,7 @@
where where
jnsp.khdm is not null jnsp.khdm is not null
and jnsp.pn is not null and jnsp.pn is not null
and bps.del_flag = '0'
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment