优化
This commit is contained in:
+2
-2
@@ -16,8 +16,8 @@ public interface OverseasQuoteMapper extends BaseMapper<OverseasQuote> {
|
||||
@Select("""
|
||||
SELECT COUNT(*) FROM ll_overseas_quote
|
||||
WHERE warehouse_id=#{warehouseId} AND provider_name=#{providerName} AND currency=#{currency}
|
||||
AND status='ACTIVE' AND id<>#{excludedId}
|
||||
AND effective_start<=#{effectiveEnd} AND effective_end>=#{effectiveStart}
|
||||
AND status='ACTIVE' AND id<>#{excludedId}
|
||||
AND effective_start<=#{effectiveEnd} AND effective_end>=#{effectiveStart}
|
||||
""")
|
||||
int countActiveOverlap(@Param("warehouseId") long warehouseId,
|
||||
@Param("providerName") String providerName,
|
||||
|
||||
Reference in New Issue
Block a user