Browse Source

物料批次信息优化

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

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

@@ -255,7 +255,7 @@ class ProductionLot extends Api
         $missingParams = [];
 
         foreach ($requiredParams as $requiredParam) {
-            if (!isset($param[$requiredParam]) || empty($param[$requiredParam])) {
+            if (!isset($param[$requiredParam])) {
                 $missingParams[] = $requiredParam;
             }
         }