Browse Source

工单和工单BOM数据同步优化

qiuenguang 1 year ago
parent
commit
c07c1189ba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/Synchronization.php

+ 2 - 0
application/api/controller/Synchronization.php

@@ -123,6 +123,7 @@ class Synchronization extends Api
                     $db3->execute($sqlString);
                 }
             }else{
+                unset($data['Uniqid']);
                 $updateSql = \db('工单_基本资料')->where('U8UID',$value['U8_UID'])->fetchSql(true)->update($data);
                 $updateRes = \db()->query($updateSql);
                 if ($updateRes === false){
@@ -211,6 +212,7 @@ class Synchronization extends Api
                     $db3->execute($sqlString);
                 }
             }else{
+                unset($data['UNIQID']);
                 $updateSql = \db('工单_bom资料')
                     ->where('U8UID',$value['U8_UID'])
                     ->fetchSql(true)