1.关闭库存不推送库存预警
This commit is contained in:
parent
6c528e3ac6
commit
b658557d83
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue