Browse Source

optimize pay fee detail to month

java110 2 years ago
parent
commit
4ff4adaeb2

+ 4 - 0
service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java

@@ -173,6 +173,10 @@ public class PayFeeMonthImpl implements IPayFeeMonth {
             tmpPayFeeDetailMonthPo.setConfigId(feeDto.getConfigId());
             payFeeDetailMonthPos.add(tmpPayFeeDetailMonthPo);
         }
+        //todo 没有数据就返回
+        if(payFeeDetailMonthPos.size()<1){
+            return;
+        }
         payFeeDetailMonthInnerServiceSMOImpl.savePayFeeDetailMonths(payFeeDetailMonthPos);
     }