From c49500f90630b990eaf5b460824cb4920655689a Mon Sep 17 00:00:00 2001 From: jrbin Date: Thu, 23 Nov 2023 09:55:49 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=B1=B0=E6=94=B9=E7=B0=BD=E6=A0=B8bug=20f?= =?UTF-8?q?ix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/fun_global.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wms/fun_global.php b/wms/fun_global.php index b00c9d19..e995e449 100644 --- a/wms/fun_global.php +++ b/wms/fun_global.php @@ -124,11 +124,11 @@ function pricereview_renovate_class($rate, $user_id, $renovate_flag) { mysqli_free_result($res); if ($renovate_flag == "REN") { - if ($rate < 80 && $rate >= 60) $ret[3] = "M0008"; // 詹總 + if ($rate < 80) $ret[3] = "M0008"; // 詹總 if ($rate < 60) $ret[4] = "M0006"; // 總經理 } else { // 全汰改 - if ($rate < 80 && $rate >= 75) $ret[3] = "M0008"; // 詹總 + if ($rate < 80) $ret[3] = "M0008"; // 詹總 if ($rate < 75) $ret[4] = "M0006"; // 總經理 } From 9dc6ea134529ef018a282c91225855aa8a41c6b8 Mon Sep 17 00:00:00 2001 From: jrbin Date: Thu, 23 Nov 2023 11:50:11 +0800 Subject: [PATCH 2/6] =?UTF-8?q?option=E5=88=AA=E9=99=A4=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/crm/async_req.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wms/crm/async_req.php b/wms/crm/async_req.php index af5a0d5a..9c04bf7f 100644 --- a/wms/crm/async_req.php +++ b/wms/crm/async_req.php @@ -19,5 +19,5 @@ function rm_option($req) { $vol_no = $req['vol_no']; $model_no = $req['model_no']; - DB::query("delete from hope_elevator_option_price where vol_no='$vol_no' and model_no='$model_no'"); + DB::query("delete from hope_elevator_option_price where vol_no='$vol_no' and id='$model_no'"); } From aa7a680e156480631a772137e4e397b02688ee55 Mon Sep 17 00:00:00 2001 From: jrbin Date: Thu, 23 Nov 2023 13:39:59 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=8A=A0=E4=B8=8Aoption=E9=A0=85=E7=9B=AE?= =?UTF-8?q?=E7=8B=80=E6=85=8B=E5=88=A4=E6=96=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/crm/crmm03-edit.php | 2 +- wms/crm/crmm04-edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wms/crm/crmm03-edit.php b/wms/crm/crmm03-edit.php index 0e27348d..a08b40db 100644 --- a/wms/crm/crmm03-edit.php +++ b/wms/crm/crmm03-edit.php @@ -131,7 +131,7 @@ $hpeoRow .= "