简化实体代码

This commit is contained in:
wuweihua
2026-09-08 09:29:42 +08:00
parent 9e98cd791e
commit 647be14d66
19 changed files with 109 additions and 744 deletions
@@ -69,7 +69,7 @@ public class TmsPriceQuoteServiceImpl implements ITmsPriceQuoteService
Date bizDate = resolveBizDate(request.getBizDate());
BmsProductCountry base = productCountryMapper.selectMatchByProductCountryWeight(
productCode, countryCode, countryName, weight);
productCode, countryCode, countryName, weight, bizDate);
if (base == null)
{
throw new ServiceException("PRICE_NOT_HIT: no bms_product_country band for product/country/weight");
@@ -243,6 +243,7 @@ public class TmsPriceQuoteServiceImpl implements ITmsPriceQuoteService
r.setWeightLabel(formatWeightLabel(base.getWeightMin(), base.getWeightMax()));
r.setWeight(weight);
r.setChargeWeight(weight);
r.setEffectiveDate(base.getEffectiveDate());
r.setFreightRate(freightRate);
r.setBaseFreightRate(baseFreightRate);
r.setDiscountPercent(discountPercent);