From 683edeb307aee24a03c4bfe8d010fd544e5e8d8d Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 18 十二月 2020 16:46:18 +0800
Subject: [PATCH] add FindRelationByGroup

---
 dbpersonApi.go |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dbpersonApi.go b/dbpersonApi.go
index 84256f5..c30a0b3 100644
--- a/dbpersonApi.go
+++ b/dbpersonApi.go
@@ -211,6 +211,8 @@
 			Tableid: ei.Tableid,
 			FaceFeature: ei.FaceFeature,
 			Enable: ei.Enable,
+
+			CarNo: ei.CarNo,
 		})
 	}
 	return persons,nil
@@ -291,4 +293,21 @@
 		return false,nil
 	}
 	return res.Success,res.Data
+}
+
+func (api DbPersonApi) MultiUploadCarNo(paramBody map[string]interface{}) bool {
+	url := api.getBasicUrl() + DATA_URL_PREFIX + "/dbperson/multiUploadCarNo"
+	client := NewClient()
+	body,err := client.DoPostRequest(url,CONTENT_TYPE_JSON, paramBody,nil,nil)
+	if err != nil {
+		logPrint("multiUploadCarNo err:", err)
+		return false
+	}
+
+	var res Result
+	if err = json.Unmarshal(body, &res); err != nil {
+		logPrint("unmarshal err:",err)
+		return false
+	}
+	return res.Success
 }
\ No newline at end of file

--
Gitblit v1.8.0