haozi 5 年之前
父節點
當前提交
e293d33b14
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Services/RejectedBillService.php

+ 2 - 2
app/Services/RejectedBillService.php

@@ -66,10 +66,10 @@ Class RejectedBillService
     {
         //是否审核
         $updates=$this->getNeedUpdateCheckedStatusByWms($asnHerders);
-        if ($updates && count($updates) > 1) $this->batchUpdate($updates);
+        if (count($updates) > 1) $this->batchUpdate($updates);
         //是否入库
         $updateParams=$this->getNeedUpdateLoadedStatusByWms($asnHerders);
-        if ($updateParams && count($updateParams) > 1) $this->batchUpdate($updateParams);
+        if (count($updateParams) > 1) $this->batchUpdate($updateParams);
     }
 
     public function getNeedUpdateLoadedStatusByWms($asnHerders)