|
@@ -142,7 +142,7 @@ public class BarnRecordServiceImpl extends ServiceImpl<BarnRecordMapper, BarnRec
|
|
}else{
|
|
}else{
|
|
record.setBillingAmount(record.getReceivedAmount());
|
|
record.setBillingAmount(record.getReceivedAmount());
|
|
}
|
|
}
|
|
- if(queryParams.getIsMonthlyCardMode()){
|
|
|
|
|
|
+ if(queryParams.getIsMonthlyCardMode() != null && queryParams.getIsMonthlyCardMode()){
|
|
if(record.getPendingAmount().compareTo(BigDecimal.ZERO) > 0){
|
|
if(record.getPendingAmount().compareTo(BigDecimal.ZERO) > 0){
|
|
barnRecords.add(record);
|
|
barnRecords.add(record);
|
|
}
|
|
}
|