소스 검색

批次查询制程检验记录优化

zck 8 달 전
부모
커밋
a72f40bf4a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      application/api/controller/ProductionLot.php

+ 2 - 2
application/api/controller/ProductionLot.php

@@ -180,7 +180,7 @@ class ProductionLot extends Api
             ->order('流程单号')
             ->select();
         if (empty($list)){
-            $this->success('未找到记录');
+            $this->error('未找到记录');
         }
         $this->success('成功',$list);
 
@@ -210,7 +210,7 @@ class ProductionLot extends Api
             ->order('流程单号')
             ->select();
         if (empty($list)){
-            $this->success('未找到记录');
+            $this->error('未找到记录');
         }
         foreach ($list as $key => $value){
             $list[$key]['数量'] = '';