From e59a2f735096eb9e26a579b01b510e84aee7af06 Mon Sep 17 00:00:00 2001 From: "elf@home" <360197197@qq.com> Date: Wed, 1 Jan 2020 16:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=8E=A9=E5=AE=B6=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E5=8F=AA=E5=AF=B9=E5=90=8C=E4=B8=80=E6=8E=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=98=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/PromoteService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Service/PromoteService.class.php b/Application/Base/Service/PromoteService.class.php index d1ba9e5d1..205abadbb 100644 --- a/Application/Base/Service/PromoteService.class.php +++ b/Application/Base/Service/PromoteService.class.php @@ -123,7 +123,7 @@ class PromoteService { ]; } - $shiftTask = M('shift_task', 'sys_')->field(['id'])->where(['type' => $type, 'status' => 0, 'from_promote_id'])->find(); + $shiftTask = M('shift_task', 'sys_')->field(['id'])->where(['type' => $type, 'status' => 0, 'from_promote_id' => $fromPromoteId])->find(); if ($shiftTask) { return [ 'status' => false,