1.关闭库存不推送库存预警
This commit is contained in:
@@ -269,6 +269,11 @@ public class OrderService {
|
|||||||
if (productSku.getWarnLine() == null) {
|
if (productSku.getWarnLine() == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (product.getIsStock() == null || product.getIsStock() != 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (productSku.getStockNumber() == null) {
|
if (productSku.getStockNumber() == null) {
|
||||||
productSku.setStockNumber((double) 0);
|
productSku.setStockNumber((double) 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user