瀏覽代碼

得润宝

cqp 1 天之前
父節點
當前提交
40cd541663
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      app/Console/Commands/U8SettleInventory.php
  2. 2 0
      app/Service/U8ThirtyPartyDatabaseServerService.php

+ 2 - 0
app/Console/Commands/U8SettleInventory.php

@@ -142,6 +142,8 @@ class U8SettleInventory extends Command
                         'unitCode'         => $u8Data['product_unit_title'] ?? '',
                         'netWeight'        => 0,
                         'grossWeight'      => $u8Data['grossWeight'] ?? 0,
+                        'lottar1'      => $u8Data['param_one'] ?? 0,
+                        'lottar2'      => $u8Data['param_two'] ?? 0,
                     ];
 
                     $record_ids[] = $record->id;

+ 2 - 0
app/Service/U8ThirtyPartyDatabaseServerService.php

@@ -261,6 +261,8 @@ class U8ThirtyPartyDatabaseServerService extends Service
 //                    'main.fOutExcess as out_limit',
 //                    'main.cCurrencyName as common_name',
                     'main.fGrossW as grossWeight',
+                    'main.bFree1 as param_one',
+                    'main.bFree2 as param_two',
                     // 关键点:将二进制 ufts 转换为 0x... 字符串
                     DB::raw("master.sys.fn_varbintohexstr(main.pubufts) as ufts_str")
                 ]);