From ea56a125cb5f11d2b91d4b3dd7271407d13235ce Mon Sep 17 00:00:00 2001 From: LEE Wei Cheng Date: Fri, 20 Oct 2023 16:30:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A4=8D=E7=89=A9=E5=9C=92?= =?UTF-8?q?=E5=A4=A7=E5=AE=A2=E8=BB=8A=E4=BB=A3=E7=A2=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/Carpayment_model.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/models/Carpayment_model.php b/models/Carpayment_model.php index 0b9a565..00fae5c 100644 --- a/models/Carpayment_model.php +++ b/models/Carpayment_model.php @@ -457,6 +457,17 @@ class Carpayment_model extends CI_Model { return 2; } + else if($cario['station_no'] == 40704) + { + if(substr($cario['in_out'], 0, 1) === 'C') + { + return 1; // 1: 平面 (一般車) + } + else + { + return 2; // 2: 平面 (大客車車) + } + } return 1; // 預設值 }