소스 검색

修改出账去掉身份照片和合同没有的数据(钱计算还用原来的)

LiFei 5 년 전
부모
커밋
f845869294

+ 1 - 1
happy-boot-module-powerjob/src/main/java/org/jeecg/modules/hlgpayment/controller/HlgPaymentDetailController.java

@@ -117,7 +117,7 @@ public class HlgPaymentDetailController {
         //计算结束索引
         int toIndex = (list.size() - fromIndex) > pageSize ? fromIndex + pageSize : list.size();
         //新加两行代码去掉身份证照片和合同没有的数据
-        list=list.stream().filter(hlgPaymentDetailStatistics1 -> hlgPaymentDetailStatistics1.getWorkContract()!=null && hlgPaymentDetailStatistics1.getIdcardPicture()!=null).collect(Collectors.toList());
+        list=list.stream().filter(hlgPaymentDetailStatistics1 -> hlgPaymentDetailStatistics1.getWorkContract()!=null).collect(Collectors.toList());
         pageList.setRecords(list.subList(fromIndex, toIndex));
         if (pageList.getRecords().size() > 0) {
             pageList.getRecords().get(0).setSumTaxFee(sumTaxFee);