From 82e97bd7595ede5f59befe3dd977c8ae11ec848c Mon Sep 17 00:00:00 2001
From: sunty <suntianyu0923@163.com>
Date: 星期一, 05 八月 2019 14:39:58 +0800
Subject: [PATCH] add Cascade modification dbtablepersons enable status

---
 service/EnableStatusControlService.go |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/service/EnableStatusControlService.go b/service/EnableStatusControlService.go
index 7e0f303..0c760b7 100644
--- a/service/EnableStatusControlService.go
+++ b/service/EnableStatusControlService.go
@@ -117,6 +117,23 @@
 	}
 	if middle > 0 {
 		logger.Debug("淇敼鎴愬姛")
+		//if flag {//鐢熸晥鐨�
+		//	discovery.AddDbMessage(&protomsg.EsPersonCacheChange{
+		//		Type: protomsg.EsCacheChanged_T_DbTable,
+		//		PersonId: "",
+		//		TableId: id,
+		//		Feature: "",
+		//		Action: protomsg.DbAction_Insert,
+		//	})
+		//} else {//澶辨晥鐨�
+		//	discovery.AddDbMessage(&protomsg.EsPersonCacheChange{
+		//		Type: protomsg.EsCacheChanged_T_DbTable,
+		//		PersonId: "",
+		//		TableId: id,
+		//		Feature: "",
+		//		Action: protomsg.DbAction_Insert,
+		//	})
+		//}
 		message = "淇敼鎴愬姛"
 	}
 	return message

--
Gitblit v1.8.0