|
|
|
@ -63,7 +63,7 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl<BaseFpxxZhDao, Base |
|
|
|
|
json = tabulateRedisService.getTabulateMenu(company, menuId); |
|
|
|
|
// 合计信息,仅第一页时需要统计,减少数据库压力
|
|
|
|
|
List<String> gfshList = (List<String>)pramsMap.get("gfsh"); |
|
|
|
|
log.info("购方税号{}",gfshList); |
|
|
|
|
log.info("购方税号{}",gfshList != null && !gfshList.isEmpty()); |
|
|
|
|
List<Tax> taxList = (List<Tax>)pramsMap.get("taxList"); |
|
|
|
|
List<String> orgList = new ArrayList<>(); |
|
|
|
|
for (Tax t : taxList) { |
|
|
|
@ -156,10 +156,13 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl<BaseFpxxZhDao, Base |
|
|
|
|
&& !"5".equals(pageList.get(i).getCxrzStatus())) { |
|
|
|
|
pageList.get(i).setSelect(false); |
|
|
|
|
} |
|
|
|
|
if (!gfshList1.contains(pageList.get(i).getGfsh()) && gfshList != null && gfshList.size() != 0) { |
|
|
|
|
log.info("税号一申请抵扣"); |
|
|
|
|
pageList.get(i).setSelect(false); |
|
|
|
|
if (gfshList != null && !gfshList.isEmpty()){ |
|
|
|
|
if (!gfshList1.contains(pageList.get(i).getGfsh())) { |
|
|
|
|
log.info("税号一申请抵扣"); |
|
|
|
|
pageList.get(i).setSelect(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ("1".equals(pageList.get(i).getOutStatus()) || "2".equals(pageList.get(i).getOutStatus())) { |
|
|
|
|
pageList.get(i).setSelect(false); |
|
|
|
|
} |
|
|
|
|