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 --- controllers/fileController.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/controllers/fileController.go b/controllers/fileController.go index b3b4406..32e9cfc 100644 --- a/controllers/fileController.go +++ b/controllers/fileController.go @@ -180,6 +180,7 @@ Sex string `json:"sex"` TableId string `json:"tableId"` TableName string `json:"tableName"` + Enable int32 `json:"enable"` } type CompareSortResult []CompareResult @@ -235,6 +236,7 @@ PhoneNum: p.PhoneNum, Sex: p.Sex, TableId: p.TableId, + Enable: p.Enable, } dbTableInfos, _ := esApi.Dbtablefosbyid([]string{p.TableId}, config.EsInfo.EsIndex.DbTables.IndexName, esServerIp, esServerPort) if dbTableInfos !=nil{ -- Gitblit v1.8.0