@@ -27,7 +27,7 @@ public interface AflMchStatisticsRepo extends JpaRepository<AflMchStatistics, St | |||
* @param feeType 费用类型 | |||
* @return 、 | |||
*/ | |||
@Query("FROM AflMchStatistics WHERE statisticalDate =?1 AND subMchId = ?2 AND feeType = ?3 and agencyId = ?4") | |||
@Query("FROM AflMchStatistics WHERE statisticalDate =?1 AND subMchId = ?2 AND feeType = ?3 AND (?4 IS NULL OR agencyId = ?4)") | |||
AflMchStatistics getAflMchStatistics(Integer statisticalDate, String subMchId, String feeType,String agencyId); | |||
/** |