Эх сурвалжийг харах

fix: 新增对账本月应收判断调整

hejq 7 жил өмнө
parent
commit
6c311b2b4d

+ 2 - 4
src/main/java/com/uas/platform/b2b/service/impl/ErpProdIODetailServiceImpl.java

@@ -103,10 +103,8 @@ public class ErpProdIODetailServiceImpl implements ErpProdIODetailService {
         List<TradeCount> totalTrades = apCheckService.getDueTrade(enUU, keyword.getCustomerUU());
         erpProdIo.setTotalCount(totalTrades);
         // 本月应收
-        if (null != checkDate) {
-            List<TradeCount> thisMonthTrades = apCheckService.getThisMonthTrade(enUU, keyword.getCustomerUU(), checkDate, fromDate, endDate);
-            erpProdIo.setThisMonthCount(thisMonthTrades);
-        }
+        List<TradeCount> thisMonthTrades = apCheckService.getThisMonthTrade(enUU, keyword.getCustomerUU(), checkDate, fromDate, endDate);
+        erpProdIo.setThisMonthCount(thisMonthTrades);
 		return erpProdIo;
 	}