增加订单失败状态
This commit is contained in:
@@ -104,4 +104,20 @@ public interface BmsProductCountryMapper
|
||||
@Param("countryCode") String countryCode,
|
||||
@Param("countryName") String countryName,
|
||||
@Param("bizDate") Date bizDate);
|
||||
|
||||
/** Count catalog rows by product (+ bizDate window), ignore country/zone/weight. */
|
||||
public int countByProduct(
|
||||
@Param("productCode") String productCode,
|
||||
@Param("bizDate") Date bizDate);
|
||||
|
||||
/**
|
||||
* Count catalog rows by product + country + zone (+ bizDate), ignore weight.
|
||||
* Used to diagnose country miss vs weight miss.
|
||||
*/
|
||||
public int countByProductCountryZone(
|
||||
@Param("productCode") String productCode,
|
||||
@Param("countryCode") String countryCode,
|
||||
@Param("countryName") String countryName,
|
||||
@Param("zoneCode") String zoneCode,
|
||||
@Param("bizDate") Date bizDate);
|
||||
}
|
||||
|
||||
@@ -82,6 +82,22 @@ public interface PrcPriceSetDetailMapper
|
||||
@Param("countryCode") String countryCode,
|
||||
@Param("countryName") String countryName);
|
||||
|
||||
/** Count FIXED details by version + product (ignore country/zone/weight). */
|
||||
public int countByPsvProduct(
|
||||
@Param("psvId") Long psvId,
|
||||
@Param("productCode") String productCode);
|
||||
|
||||
/**
|
||||
* Count FIXED details by version + product + country + zone (ignore weight).
|
||||
* Used to diagnose country miss vs weight miss.
|
||||
*/
|
||||
public int countByPsvProductCountryZone(
|
||||
@Param("psvId") Long psvId,
|
||||
@Param("productCode") String productCode,
|
||||
@Param("countryCode") String countryCode,
|
||||
@Param("countryName") String countryName,
|
||||
@Param("zoneCode") String zoneCode);
|
||||
|
||||
/** DISCOUNT by product; optional psvId scopes to version */
|
||||
public PrcPriceSetDetail selectDiscountMatch(
|
||||
@Param("priceSetId") Long priceSetId,
|
||||
|
||||
Reference in New Issue
Block a user