qiuenguang 1 год назад
Родитель
Сommit
b1edd5cc89
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/PackagingCountDocument.php

+ 1 - 1
application/api/controller/PackagingCountDocument.php

@@ -461,7 +461,7 @@ class PackagingCountDocument extends Api
 
         //查询UniqId
         $UniqId = db()->table('db_包装计件')->max('UniqId');
-
+        $data['UniqId'] = $UniqId < 10000000 ? 10000000 : $UniqId + 1;
         //开启事务
         db()->startTrans();
         try{