This commit is contained in:
邹宗楠
2024-07-18 14:27:48 +08:00
parent df043e1df0
commit 6b5051c13c
3 changed files with 76 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL
// 是在不行误差有一两个商品也行
for _, v := range commentOrder {
if v.Count == len(foodNameList)-1 {
if v.Count == len(foodNameList)-1 || v.Count == len(foodNameList)+1 {
return v.VendorOrderId, nil
}
}