|
@@ -35,17 +35,11 @@ class UpdateOrder extends Command
|
35
|
35
|
# 修改收入表
|
36
|
36
|
// $this->updateOrderIncomeDataOne();
|
37
|
37
|
// $this->updateOrderIncomeDataThree();
|
38
|
|
- # 修改成本表
|
39
|
|
-// $this->updateOrderCostData();
|
40
|
38
|
# 修改总订单表
|
41
|
39
|
// $this->updateOrderTotalData();
|
42
|
|
-// $this->updateOrderTotalDataSecond();
|
43
|
|
- # 修改mcn
|
44
|
|
-// $this->updateOrderMcnData();
|
45
|
|
- # 修改线下补款
|
46
|
|
-// $this->updateOrderOfflineData();
|
|
40
|
+ $this->updateOrderTotalDataSecond();
|
47
|
41
|
|
48
|
|
- $this->otherUpdate();
|
|
42
|
+// $this->otherUpdate();
|
49
|
43
|
$this->info('处理完成');
|
50
|
44
|
|
51
|
45
|
}
|
|
@@ -215,19 +209,13 @@ class UpdateOrder extends Command
|
215
|
209
|
|
216
|
210
|
public function updateOrderTotalDataSecond() {
|
217
|
211
|
$orderList = Order::query()
|
218
|
|
- ->whereIn('month', ['2023-11-01'])
|
219
|
|
- ->whereIn('task_id', ['1719655483521462272','1719662809527984128','1718159107690160128',
|
220
|
|
- '1718159590550564864', '1718159887302221824', '1718160441277399040', '1718160965649285120',
|
221
|
|
- '1718161249842847744', '1718161614121889792', '1718161868284735488', '1718162245050056704',
|
222
|
|
- '1718162482892619776', '1721714970357538816', '1722517059007107072', '1720320721705644032',
|
223
|
|
- '1721714572926263296', '1720315908842467328', '1717462098355666944', '1720381923168649216',
|
224
|
|
- '1720382431996350464', '1719996732601708544', '1710951586258231296', '1717425077730209792',
|
225
|
|
- '1717425851675426816', '1717430990880960512', '1713847089436282880'
|
|
212
|
+ ->whereIn('month', ['2024-07-01'])
|
|
213
|
+ ->whereIn('task_id', ['1810907601188761600','1810909585784913920','1812067897804259328','1810908539238961152','1814218358514712576','1816007941905698816'
|
226
|
214
|
])->where('enable', 1)->get();
|
227
|
215
|
|
228
|
|
- $opReason = '小红书蒲公英平台11月成本负责人 由李冬月改为黄煊云,需要调整成本负责人';
|
|
216
|
+ $opReason = '小红书平台7月成本公司薯一薯二文化传媒(上海)有限公司 改为薯你最红文化传媒(上海)有限公司';
|
229
|
217
|
$params = [
|
230
|
|
- 'cost_owner' => '黄煊云',
|
|
218
|
+ 'cost_company_name' => '薯你最红文化传媒(上海)有限公司',
|
231
|
219
|
];
|
232
|
220
|
|
233
|
221
|
foreach ($orderList as $old) {
|
|
@@ -254,10 +242,6 @@ class UpdateOrder extends Command
|
254
|
242
|
}
|
255
|
243
|
}
|
256
|
244
|
|
257
|
|
- public function updateOrderCostData($taskId, $month, $params, $opReason) {
|
258
|
|
-
|
259
|
|
- }
|
260
|
|
-
|
261
|
245
|
public function otherUpdate() {
|
262
|
246
|
try{
|
263
|
247
|
# 首先分批次查询出来要处理的修改记录数据,然后将修改记录数据的导入时间以及审核时间都调整为8月9日
|