修复某些情况下@成员无法发送通知的问题
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
c1b148e095
commit
e617ba289c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user