Przeglądaj źródła

成功显示人员信息列表参数修改

Shangyp 2 tygodni temu
rodzic
commit
1e7b7f6c91

+ 1 - 4
app/src/main/java/com/hanghui/senic/activity/view/BaiDuFaceView.java

@@ -12,7 +12,6 @@ import android.graphics.drawable.Drawable;
 import android.inputmethodservice.Keyboard;
 import android.text.Editable;
 import android.text.TextWatcher;
-import android.util.Log;
 import android.view.View;
 import android.view.ViewTreeObserver;
 import android.widget.ImageView;
@@ -31,7 +30,6 @@ import com.bumptech.glide.request.RequestOptions;
 import com.bumptech.glide.request.target.SimpleTarget;
 import com.bumptech.glide.request.transition.Transition;
 import com.example.lib.QRCodeUtil.GenerateQRCodeUtil;
-import com.google.gson.Gson;
 import com.hanghui.senic.MyAppliction;
 import com.hanghui.senic.R;
 import com.hanghui.senic.adapter.OutcomeAdapter;
@@ -40,7 +38,6 @@ import com.hanghui.senic.adapter.OutcomeAdapter3;
 import com.hanghui.senic.adapter.OutcomeAdapter4;
 import com.hanghui.senic.adapter.StatusPendingAdapter;
 import com.hanghui.senic.baiduface.BaiduFaceController;
-import com.hanghui.senic.baiduface.BaiduFacePreviewActivity;
 import com.hanghui.senic.bean.CChoiseListBean;
 import com.hanghui.senic.bean.CheckNumBean;
 import com.hanghui.senic.bean.FederatedPlatformsRequestBean;
@@ -2309,7 +2306,7 @@ public class BaiDuFaceView {
             outcomeActivity_PAGE_TYPE_CLOSING_PENDING_MULTIPLE.setVisibility(View.GONE);
             loadingLocally_TopLinearLayout.setVisibility(View.VISIBLE);
             loadingLocally_TopLinearLayoutImageRelativeLayout.setVisibility(View.VISIBLE);
-            if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList() == null ){
+            if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList() == null ){
                 outcomeActivity_FloatingButton.setVisibility(View.GONE);
             }else {
                 outcomeActivity_FloatingButton.setVisibility(View.VISIBLE);

+ 6 - 6
app/src/main/java/com/hanghui/senic/bean/AuthenticationBean.java

@@ -494,15 +494,15 @@ public class AuthenticationBean {
         private long serverTime;//服务器时间
         @SerializedName("setPersonalList")
         List<Integer> setPersonalList; //设置——人员列表”【控制设置页里的人员数据的信息】 1-照片,2-证件号,3-手机号
-        @SerializedName("successShowPersenalInfoList")
-        List<Integer> successShowPersenalInfoList;//成功显示人员信息列表1-照片,2-姓名,3-证件号,4-手机号
+        @SerializedName("successShowPersonalInfoList")
+        List<Integer> successShowPersonalInfoList;//成功显示人员信息列表1-照片,2-姓名,3-证件号,4-手机号
 
-        public List<Integer> getSuccessShowPersenalInfoList() {
-            return successShowPersenalInfoList;
+        public List<Integer> getSuccessShowPersonalInfoList() {
+            return successShowPersonalInfoList;
         }
 
-        public void setSuccessShowPersenalInfoList(List<Integer> successShowPersenalInfoList) {
-            this.successShowPersenalInfoList = successShowPersenalInfoList;
+        public void setSuccessShowPersonalInfoList(List<Integer> successShowPersonalInfoList) {
+            this.successShowPersonalInfoList = successShowPersonalInfoList;
         }
 
         public Integer getSameFaceInterval() {

+ 3 - 3
app/src/main/java/com/hanghui/senic/common/gson/CompleteDataUtil.java

@@ -475,9 +475,9 @@ public class CompleteDataUtil {
 
     //补全在线配置数据类型为int、boolean类型的字段
     public static void completeData(AuthenticationBean authenticationBean) {
-        if (authenticationBean.getData().get(0).getSuccessShowPersenalInfoList() == null ||
-                authenticationBean.getData().get(0).getSuccessShowPersenalInfoList().size() == 0){
-            authenticationBean.getData().get(0).setSuccessShowPersenalInfoList(null);
+        if (authenticationBean.getData().get(0).getSuccessShowPersonalInfoList() == null ||
+                authenticationBean.getData().get(0).getSuccessShowPersonalInfoList().size() == 0){
+            authenticationBean.getData().get(0).setSuccessShowPersonalInfoList(null);
         }
         if (authenticationBean.getData().get(0).getSameFaceInterval() == null){
             authenticationBean.getData().get(0).setSameFaceInterval(0);

+ 7 - 7
app/src/main/java/com/hanghui/senic/service/usbserialdemo/utile/ConfigManager.java

@@ -1550,18 +1550,18 @@ public class ConfigManager {
     public static boolean isSuccessShowPersenalInfoPhoto = false;
     public static boolean isSuccessShowPersenalInfoIDCard = false;
     public static void isSuccessShowPersenalInfo(){
-        if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList() ==null ||
-                ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().size() == 0){
+        if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList() ==null ||
+                ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().size() == 0){
             return;
         }
-        for (int i = 0; i < ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().size(); i++) {
-            if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().get(i) == 1){
+        for (int i = 0; i < ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().size(); i++) {
+            if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().get(i) == 1){
                 isSuccessShowPersenalInfoPhoto = true;
-            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().get(i) == 2){
+            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().get(i) == 2){
                 isSuccessShowPersenalInfoName = true;
-            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().get(i) == 3) {
+            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().get(i) == 3) {
                 isSuccessShowPersenalInfoIDCard = true;
-            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList().get(i) == 4) {
+            } else if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().get(i) == 4) {
                 isSuccessShowPersenalInfoPhone = true;
             }
         }