Browse Source

班组计时修改

unknown 4 days ago
parent
commit
2518576258
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/GluChronographSheet.php

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

@@ -425,7 +425,7 @@ class GluChronographSheet extends Api
             $this->error('参数错误');
             $this->error('参数错误');
         }
         }
         $ids = explode(',', $params['id']);
         $ids = explode(',', $params['id']);
-        $res = \db('糊盒班组计时')->where('Uid', 'in', $ids)->delete();
+        $res = \db('糊盒班组计时')->where('id', 'in', $ids)->delete();
         if ($res === false) {
         if ($res === false) {
             $this->error('删除失败');
             $this->error('删除失败');
         }
         }