修改用户首单判断
This commit is contained in:
parent
98d65a1cad
commit
107b4ed16c
@ -300,7 +300,7 @@ class StoreConsumptionUserDao extends BaseDao
|
|||||||
->where('paid', 1)
|
->where('paid', 1)
|
||||||
->whereBetweenTime('pay_time', $startTime, $endTime)
|
->whereBetweenTime('pay_time', $startTime, $endTime)
|
||||||
->count();
|
->count();
|
||||||
return intval($count <= 1);
|
return intval($count <= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEndTime($datetime)
|
public function getEndTime($datetime)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user