!224 修复秒杀活动商品时间不正确问题

Merge pull request !224 from OceansDeep/feature/pg
This commit is contained in:
OceansDeep 2022-08-12 03:02:33 +00:00 committed by Gitee
commit 443cf1829e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -140,8 +140,6 @@ public class PromotionTools {
if (promotionGoods.getStartTime() == null || !PromotionTypeEnum.SECKILL.equals(promotionTypeEnum)) {
promotionGoods.setEndTime(promotion.getEndTime());
}
promotionGoods.setStartTime(promotion.getStartTime());
promotionGoods.setEndTime(promotion.getEndTime());
promotionGoods.setPromotionType(promotionTypeEnum.name());
promotionGoods.setNum(0);
promotionGoods.setDeleteFlag(promotion.getDeleteFlag());