cqp hai 1 día
pai
achega
40cd541663

+ 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")
                 ]);