From e617ba289c40e2a2ad313d769624d32ada9b0595 Mon Sep 17 00:00:00 2001 From: vilson <545522390@qq.com> Date: Wed, 30 Oct 2019 11:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B@=E6=88=90=E5=91=98=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8F=91=E9=80=81=E9=80=9A=E7=9F=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vilson <545522390@qq.com> --- application/project/behavior/Task.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/project/behavior/Task.php b/application/project/behavior/Task.php index 0658375..0174c10 100644 --- a/application/project/behavior/Task.php +++ b/application/project/behavior/Task.php @@ -248,6 +248,7 @@ class Task $prefix = config('database.prefix'); $taskCode = $task['code']; foreach ($data['data'] as $item) { + $item = explode(' ', $item)[0]; $sql = "select tm.member_code from {$prefix}task_member as tm join {$prefix}member as m on tm.member_code = m.code where tm.task_code = '{$taskCode}' and name = '{$item}'"; $memberCurr = Db::query($sql); if ($memberCurr) {