From b062088ba84fc2abe09c598426de123b9b6c191d Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 25 五月 2017 17:48:35 +0800
Subject: [PATCH] 

---
 VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/common/CommonVariables.java |    2 +-
 VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/DictionaryMng.java          |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/common/CommonVariables.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/common/CommonVariables.java
index 58f4648..2be0efc 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/common/CommonVariables.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/common/CommonVariables.java
@@ -49,7 +49,7 @@
         public static final String ID_TYPE = "id_type";
         public static final String COUNTRY = "country";
         public static final String VISIT_REASON = "visit_reason";
-        public static final String VISIT_TYPE = "visit_type";
+        public static final String VISITOR_TYPE = "visitor_type";
         public static final String RESOLUTION = "resolution";
         public static final String PROTOCOL = "protocol";
         public static final String CAMERA_BRAND = "camera_brand";
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/DictionaryMng.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/DictionaryMng.java
index a68f244..5d173b3 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/DictionaryMng.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/DictionaryMng.java
@@ -7,8 +7,6 @@
 import cn.com.basic.face.dialog.CountryDialog;
 import cn.com.basic.face.dialog.SelectDialog;
 import cn.com.basic.face.discern.query.condition.DictionaryQueryCondition;
-import cn.com.basic.face.discern.query.item.PhoneCallQueryItem;
-import cn.com.basic.face.fragment.CheckInFragment;
 import cn.com.basic.face.util.AppApi;
 
 import org.xutils.http.RequestParams;
@@ -201,7 +199,7 @@
             return;
         }
         RequestParams params = new RequestParams(AppApi.BASE_URL +AppApi.Query.DICTIONARY_QUERY);
-        params.addParameter(DictionaryQueryCondition.FieldNames.type, CommonVariables.DictionaryType.VISIT_TYPE);
+        params.addParameter(DictionaryQueryCondition.FieldNames.type, CommonVariables.DictionaryType.VISITOR_TYPE);
         x.http().get(params, new BaseCommonCallBack() {
             public void success() {
                 SelectDialog.setVisitorTypeList(getDictionaryNameList(getList(Dictionary.class)));

--
Gitblit v1.8.0