修改本地生活订单导出excel字段
This commit is contained in:
parent
6cb1b1ef57
commit
1ca77aece2
@ -130,6 +130,7 @@ class LocalStoreLogic extends Logic
|
||||
// 先将之前已导出的数据状态为2,这样就不会在重复导出之前的数据了(如果昨天的日期导出的状态还是为1则立马转换为2)
|
||||
$last_where[] = ['create_time', '<=', date('Y-m-d H:i:s', strtotime('yesterday 02:00:00'))];
|
||||
$last_where[] = ['is_checkout', '=', 1];
|
||||
$last_where[] = ['state', '=', 1];
|
||||
$last_where[] = ['is_export', '=', 1];
|
||||
$localStoreOrder->where($last_where)->update(['is_export' => 2]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user