重新上架,上架时间改为当前时间
This commit is contained in:
parent
c3997d074f
commit
6315b69246
@ -3535,6 +3535,7 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
|
|||||||
if (!flag) {
|
if (!flag) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
product_sale_time = new Date();// 上架时间
|
||||||
} else if (product_state_id != null && product_state_id.equals(StateCode.PRODUCT_STATE_OFF_THE_SHELF)) {
|
} 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);// 待上架时间
|
product_sale_time = DateUtil.offsetMonth(new Date(), 12 * 10);// 待上架时间
|
||||||
putDown = true;
|
putDown = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user