parent
185a9caf3f
commit
025e248bad
|
|
@ -666,7 +666,13 @@ class DailyService extends CONF {
|
|||
// --------------------------------------------------
|
||||
// 0) Ghost Check
|
||||
// --------------------------------------------------
|
||||
if ($thisQuantity < 10 && $lastQuantity < 10 && $isTop !== 'G') {
|
||||
if (
|
||||
$thisQuantity > 0 &&
|
||||
$lastQuantity > 0 &&
|
||||
$thisQuantity < 10 &&
|
||||
$lastQuantity < 10 &&
|
||||
$isTop !== 'G'
|
||||
) {
|
||||
$updateFields[] = "c_is_top = 'G'";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue