- [ORDER] Ghost 체크 로직 버그 수정 (fixed).
This commit is contained in:
Hyojin Ahn 2026-04-22 12:29:16 -04:00
parent 185a9caf3f
commit 025e248bad
1 changed files with 7 additions and 1 deletions

View File

@ -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'";
}