shish 1 tháng trước cách đây
mục cha
commit
33ec755a8e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app-hd/controllers/PurchaseController.php

+ 2 - 2
app-hd/controllers/PurchaseController.php

@@ -33,7 +33,7 @@ use common\components\push;
 class PurchaseController extends BaseController
 {
 
-    public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code', 'wx-pay', 'merge-order-list','debt-list'];
+    public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code', 'wx-pay', 'merge-order-list', 'debt-list'];
 
     //取消采购单 ssh 20250710
     public function actionCancel()
@@ -1129,7 +1129,7 @@ class PurchaseController extends BaseController
         }
         $ghsId = $get['ghsId'] ?? 0;
         if (!empty($ghsId)) {
-            $where['ghsId'] = $ghsId;
+            $where['ghsId'] = (int)$ghsId;
         }
         $status = $get['status'] ?? 0;
         if (!empty($status)) {