Browse Source

糊盒成品入仓

unknown 4 months ago
parent
commit
0e251eab15
1 changed files with 1 additions and 5 deletions
  1. 1 5
      application/api/controller/GluFinishedProductWarehousing.php

+ 1 - 5
application/api/controller/GluFinishedProductWarehousing.php

@@ -487,11 +487,7 @@ class GluFinishedProductWarehousing extends Api
             $data[$value] = $req[$value];
             $data[$value] = $req[$value];
         }
         }
         $data['Sys_rq'] = date('Y-m-d H:i:s');
         $data['Sys_rq'] = date('Y-m-d H:i:s');
-
-        //查询UniqId
-        $UniqId = db('糊盒成品入仓')->max('UniqId');
-        $data['UniqId'] = $UniqId < 10000000 ? 10000000 : $UniqId + 1;
-
+        
         //判断当前工单是否存在已提交模版
         //判断当前工单是否存在已提交模版
         $existingRecord = db('糊盒成品入仓')
         $existingRecord = db('糊盒成品入仓')
             ->where('jjcp_gdbh', $data['jjcp_gdbh'])
             ->where('jjcp_gdbh', $data['jjcp_gdbh'])