Merge remote-tracking branch 'origin/master-jdk17' into master-jdk17
This commit is contained in:
commit
e6770399e6
|
@ -17,7 +17,7 @@ public abstract class AbstractSliderDesensitizationHandler<T extends Annotation>
|
||||||
public String desensitize(String origin, T annotation) {
|
public String desensitize(String origin, T annotation) {
|
||||||
// 1. 判断是否禁用脱敏
|
// 1. 判断是否禁用脱敏
|
||||||
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
|
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
|
||||||
if (Boolean.FALSE.equals(disable)) {
|
if (Boolean.TRUE.equals(disable)) {
|
||||||
return origin;
|
return origin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ public class TradePriceServiceImpl implements TradePriceService {
|
||||||
List<ProductSkuRespDTO> skuList = spuIdAndSkuListMap.get(spuId);
|
List<ProductSkuRespDTO> skuList = spuIdAndSkuListMap.get(spuId);
|
||||||
List<AppTradeProductSettlementRespVO.Sku> skuVOList = convertList(skuList, sku -> {
|
List<AppTradeProductSettlementRespVO.Sku> skuVOList = convertList(skuList, sku -> {
|
||||||
AppTradeProductSettlementRespVO.Sku skuVO = new AppTradeProductSettlementRespVO.Sku()
|
AppTradeProductSettlementRespVO.Sku skuVO = new AppTradeProductSettlementRespVO.Sku()
|
||||||
.setId(sku.getId()).setPromotionPrice(sku.getPrice());
|
.setId(sku.getId());
|
||||||
TradePriceCalculateRespBO.OrderItem orderItem = new TradePriceCalculateRespBO.OrderItem()
|
TradePriceCalculateRespBO.OrderItem orderItem = new TradePriceCalculateRespBO.OrderItem()
|
||||||
.setPayPrice(sku.getPrice()).setCount(1);
|
.setPayPrice(sku.getPrice()).setCount(1);
|
||||||
// 计算限时折扣的优惠价格
|
// 计算限时折扣的优惠价格
|
||||||
|
|
Loading…
Reference in New Issue