Commit e2a37723 authored by 高宇's avatar 高宇

1.月度信息

parent adefc96d
......@@ -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();
}
......
......@@ -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 {
......
......@@ -401,6 +401,7 @@
where
jnsp.khdm is not null
and jnsp.pn is not null
and bps.del_flag = '0'
</select>
</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