From d848ebc0bd707f53b47b3fedda49296b7fac6717 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 29 十月 2019 15:46:45 +0800
Subject: [PATCH] add JoinDbTable

---
 controllers/task.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/controllers/task.go b/controllers/task.go
index 1bd5e75..dbb8761 100644
--- a/controllers/task.go
+++ b/controllers/task.go
@@ -105,9 +105,11 @@
 				if e==nil && esTaskM !=nil {
 					for _,tM :=range esTaskM {
 						if _,ok := m[tM["taskId"].(string)];!ok {//琛ㄧず姝や换鍔″凡琚垹闄�
+							taskId := tM["taskId"].(string)
+							m[taskId] = taskId
 							tasks = append(tasks, TaskSdkVo{
 								Task:TaskVo{
-									Taskid:	tM["taskId"].(string),
+									Taskid:	taskId,
 									Taskname: tM["taskName"].(string),
 									DelFlag: true,
 								},

--
Gitblit v1.8.0