mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
【BUG】修改限时优惠修改活动表时间时,商品表时间没有变化的问题
This commit is contained in:
parent
51b8fe2eca
commit
60ab3389f5
@ -121,7 +121,10 @@ public interface DiscountActivityConvert {
|
|||||||
default boolean isEquals(DiscountProductDO productDO, DiscountProductDO productVO) {
|
default boolean isEquals(DiscountProductDO productDO, DiscountProductDO productVO) {
|
||||||
if (ObjectUtil.notEqual(productDO.getSpuId(), productVO.getSpuId())
|
if (ObjectUtil.notEqual(productDO.getSpuId(), productVO.getSpuId())
|
||||||
|| ObjectUtil.notEqual(productDO.getSkuId(), productVO.getSkuId())
|
|| ObjectUtil.notEqual(productDO.getSkuId(), productVO.getSkuId())
|
||||||
|| ObjectUtil.notEqual(productDO.getDiscountType(), productVO.getDiscountType())) {
|
|| ObjectUtil.notEqual(productDO.getDiscountType(), productVO.getDiscountType())
|
||||||
|
|| ObjectUtil.notEqual(productDO.getActivityEndTime(), productVO.getActivityEndTime())
|
||||||
|
|| ObjectUtil.notEqual(productDO.getActivityStartTime(), productVO.getActivityStartTime())
|
||||||
|
|| ObjectUtil.notEqual(productDO.getActivityStatus(), productVO.getActivityStatus())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (productDO.getDiscountType().equals(PromotionDiscountTypeEnum.PRICE.getType())) {
|
if (productDO.getDiscountType().equals(PromotionDiscountTypeEnum.PRICE.getType())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user