Browse Source

印版库

unknown 9 tháng trước cách đây
mục cha
commit
bcc9989fd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/controller/PrintingPlate.php

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

@@ -225,7 +225,7 @@ class PrintingPlate extends Api
             $sql = db('产品_印版库')->fetchSql(true)->insert($data);
         }else{
             $data['Mod_rq'] = date('Y-m-d H:i:s',time());
-            $sql = db('产品_印版库')->where($UniqID)->fetchSql(true)->update($data);
+            $sql = db('产品_印版库')->where('UniqID',$UniqID)->fetchSql(true)->update($data);
         }
         $result = db()->query($sql);
         if ($result === false){