重新上架,上架时间改为当前时间

This commit is contained in:
liyj 2025-10-30 11:47:07 +08:00
parent e1d983f0ad
commit 73f030e222

View File

@ -3535,6 +3535,7 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
if (!flag) {
return false;
}
product_sale_time = new Date();// 上架时间
} else if (product_state_id != null && product_state_id.equals(StateCode.PRODUCT_STATE_OFF_THE_SHELF)) {
product_sale_time = DateUtil.offsetMonth(new Date(), 12 * 10);// 待上架时间
putDown = true;