瀏覽代碼

施工单

cqpCow 1 年之前
父節點
當前提交
18a09e3cdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/CustomerService.php

+ 1 - 1
app/Service/CustomerService.php

@@ -258,7 +258,7 @@ class CustomerService extends Service
         try {
             DB::beginTransaction();
 
-            Customer::whereIn('id',$data['id'])->update([
+            Customer::where('id',$data['id'])->update([
                 'del_time'=> time()
             ]);
             CustomerInfo::where('del_time',0)