添加日志打印

release
yishiqihuasheng 2 years ago
parent 5d6a04bdd2
commit 692d61fe3c
  1. 5
      dxhy-sign/src/main/java/com/dxhy/sign/service/fpqs/impl/SignFpqsServiceImpl.java

@ -2339,7 +2339,9 @@ public class SignFpqsServiceImpl extends MpBaseServiceImpl<SignRecordInvoiceDao,
JSONObject json = tabulateRedisService.getTabulateMenu(company, menuId); JSONObject json = tabulateRedisService.getTabulateMenu(company, menuId);
PageHelper.startPage(curr, size); PageHelper.startPage(curr, size);
log.info("开始进行分页查询");
List<TDxInvoiceDel> pageList = signInvoiceDelDao.selectDelfpList(pramsMap); List<TDxInvoiceDel> pageList = signInvoiceDelDao.selectDelfpList(pramsMap);
log.info("分页查询结果为 {}",pageList);
PageInfo<TDxInvoiceDel> pageInfo = new PageInfo<>(pageList); PageInfo<TDxInvoiceDel> pageInfo = new PageInfo<>(pageList);
List<TDxInvoiceDel> resultList = pageInfo.getList(); List<TDxInvoiceDel> resultList = pageInfo.getList();
@ -2349,6 +2351,7 @@ public class SignFpqsServiceImpl extends MpBaseServiceImpl<SignRecordInvoiceDao,
List<QsjgQueryVO> returnList = new ArrayList<>(); List<QsjgQueryVO> returnList = new ArrayList<>();
if (resultList != null && resultList.size() > 0) { if (resultList != null && resultList.size() > 0) {
log.info("resultList不为空");
int start = new Long(pageInfo.getStartRow()).intValue(); int start = new Long(pageInfo.getStartRow()).intValue();
for (int i = 0; i < resultList.size(); i++) { for (int i = 0; i < resultList.size(); i++) {
@ -2357,6 +2360,7 @@ public class SignFpqsServiceImpl extends MpBaseServiceImpl<SignRecordInvoiceDao,
} }
} }
if (curr == 1) { if (curr == 1) {
log.info("开始查询数量");
QsInvoiceCount selectQsfpListCount = signInvoiceDelDao.selectDelfpListCount(pramsMap); QsInvoiceCount selectQsfpListCount = signInvoiceDelDao.selectDelfpListCount(pramsMap);
if (selectQsfpListCount != null) { if (selectQsfpListCount != null) {
@ -2365,6 +2369,7 @@ public class SignFpqsServiceImpl extends MpBaseServiceImpl<SignRecordInvoiceDao,
} }
} }
json.put("datalist", returnList); json.put("datalist", returnList);
log.info("returnList {}",returnList);
return super.responseResult(json); return super.responseResult(json);
} }

Loading…
Cancel
Save