diff --git a/dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java b/dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java index eaacf6a4..75a288df 100644 --- a/dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java +++ b/dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java @@ -54,6 +54,7 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { log.info("认证查询列表-传入的参数为:{}",pramsMap); + long enter = System.currentTimeMillis(); DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); JSONObject json; @@ -99,6 +100,8 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl gfshList1 = new ArrayList<>(); List curList = baseTDxRecordInvoiceDao.selectDksh(pramsMap); log.info("认证查询列表-返回的所属期列表为:{}",curList); @@ -117,6 +120,7 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.selectByPramsMap(pramsMap); log.info("认证查询列表-返回的发票列表为:{}",pageList); + log.info("认证查询-查询列表信息耗时:{}",System.currentTimeMillis()-enter); PageInfo pageInfo = new PageInfo<>(pageList); // 用于页面返回list对象 if (pageList.size() > 0) { @@ -212,6 +216,7 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl resultList = pageInfo.getList(); log.info("resultList {}",resultList); json.put("datalist", resultList); + log.info("认证查询-合计耗时:{}",System.currentTimeMillis()-enter); } } catch (Exception e) { diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/bb/impl/ExtFpmxcxServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/bb/impl/ExtFpmxcxServiceImpl.java index 3133ba1f..7d579dbd 100644 --- a/dxhy-extend/src/main/java/com/dxhy/extend/service/bb/impl/ExtFpmxcxServiceImpl.java +++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/bb/impl/ExtFpmxcxServiceImpl.java @@ -37,6 +37,7 @@ public class ExtFpmxcxServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json; DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); try { @@ -49,6 +50,7 @@ public class ExtFpmxcxServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.selectByPramsMap(pramsMap); + log.info("发票明细查询-查询列表信息耗时:{}",System.currentTimeMillis()-enter); PageInfo pageInfo = new PageInfo<>(pageList); List resultList = pageInfo.getList(); if (resultList.size() > 0) { @@ -103,6 +105,7 @@ public class ExtFpmxcxServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json; DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); log.info("发票综合查询-传入的参数为:{}",pramsMap); @@ -69,11 +70,13 @@ public class ExtFpzhcxServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.selectByPramsMap(pramsMap); log.info("返回的发票信息为:{}",pageList); + log.info("发票综合查询-查询列表信息耗时:{}",System.currentTimeMillis()-enter); PageInfo pageInfo = new PageInfo<>(pageList); List resultList = pageInfo.getList(); // 用于页面返回list对象 @@ -135,6 +138,7 @@ public class ExtFpzhcxServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json; DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); @@ -112,10 +113,12 @@ public class ExtRzrbcxServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.selectBbycfpbbHj(pramsMap); + log.info("发票认证日报-查询列表信息耗时:{}",System.currentTimeMillis()-enter); PageInfo pageInfo = new PageInfo<>(pageList); // 用于页面返回list对象 if (pageList.size() > 0) { @@ -145,6 +148,7 @@ public class ExtRzrbcxServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json; DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); @@ -74,11 +75,13 @@ public class ExtYcfpcxServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.selectByPramsMap(pramsMap); log.info("数据库查询结果pageList {}",pageList); + log.info("异常发票查询-查询列表信息耗时:{}",System.currentTimeMillis()-enter); PageInfo pageInfo = new PageInfo<>(pageList); // 用于页面返回list对象 if (pageList.size() > 0) { @@ -127,6 +130,7 @@ public class ExtYcfpcxServiceImpl extends MpBaseServiceImpl resultList = pageInfo.getList(); json.put("datalist", resultList); + log.info("异常发票查询-合计耗时:{}",System.currentTimeMillis()-enter); } catch (Exception e) { // 统一设置操作异常标识 diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/companypool/TicketServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/companypool/TicketServiceImpl.java index 295faef6..c1503405 100644 --- a/dxhy-extend/src/main/java/com/dxhy/extend/service/companypool/TicketServiceImpl.java +++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/companypool/TicketServiceImpl.java @@ -40,6 +40,7 @@ public class TicketServiceImpl extends MpBaseServiceImpl paramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json = new JSONObject(); DynamicContextHolder.push(paramsMap.get("dbName") + DbConstant.BUSINESS_READ); try { @@ -70,11 +71,13 @@ public class TicketServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.queryTickets(paramsMap); PageInfo pageInfo = new PageInfo<>(pageList); + log.info("实名客票-查询列表信息耗时:{}",System.currentTimeMillis()-enter); // 用于页面返回list对象 if (pageList.size() > 0) { @@ -158,6 +161,7 @@ public class TicketServiceImpl extends MpBaseServiceImpl resultList = pageInfo.getList(); json.put("datalist", resultList); + log.info("实名客票-合计耗时:{}",System.currentTimeMillis()-enter); } catch (Exception e) { // 统一设置操作异常标识 json = super.errorResult(e); diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java index 3765480e..e2aab245 100644 --- a/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java +++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java @@ -44,6 +44,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json = new JSONObject(); DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); try { @@ -77,10 +78,12 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.listAddTaxInvoice(pramsMap); PageInfo pageInfo = new PageInfo<>(pageList); + log.info("进项增值税票池-查询列表信息耗时:{}",System.currentTimeMillis()-enter); // 用于页面返回list对象 if (pageList != null && pageList.size() > 0) { @@ -203,6 +206,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl resultList = pageInfo.getList(); json.put("datalist", resultList); + log.info("进项增值税票池-合计耗时:{}",System.currentTimeMillis()-enter); } catch (Exception e) { // 统一设置操作异常标识 json = super.errorResult(e); @@ -212,6 +216,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl pramsMap, int curr, int size) { + long enter = System.currentTimeMillis(); JSONObject json = new JSONObject(); DynamicContextHolder.push(pramsMap.get("dbName") + DbConstant.BUSINESS_READ); try { @@ -242,12 +247,14 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl pageList = super.baseMapper.listOtherInvoice(pramsMap); log.info("查询结果为 {}",pageList); PageInfo pageInfo = new PageInfo<>(pageList); + log.info("其他客票-查询列表信息耗时:{}",System.currentTimeMillis()-enter); // 用于页面返回list对象 if (pageList != null && pageList.size() > 0) { int start = (int)pageInfo.getStartRow(); @@ -295,6 +302,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl resultList = pageInfo.getList(); json.put("datalist", resultList); + log.info("其他客票-合计耗时:{}",System.currentTimeMillis()-enter); } catch (Exception e) { // 统一设置操作异常标识 json = super.errorResult(e);