Quellcode durchsuchen

修改了版本号,复检效验接口更改

ChengJH vor 2 Jahren
Ursprung
Commit
f259c5eb6e

+ 5 - 5
app/src/main/java/com/uas/uaspda/fragment/SCSMTInspectionFragment.java

@@ -336,7 +336,7 @@ public class SCSMTInspectionFragment extends BaseFragment implements View.OnClic
      */
     private void startCheck() {
         progressDialog.show();
-        String url = GloableParams.ADDRESS_CHECK_LOCATIONDATAREPEATCHECK + "?linecode=" + (mLineInfoBean == null ? "" : mLineInfoBean.getDL_LINECODE());
+        String url = GloableParams.ADDRESS_SMT_REPEATCHECK_DATA + "?linecode=" + (mLineInfoBean == null ? "" : mLineInfoBean.getDL_LINECODE());
         PdaApplication.mRequestQueue.cancelAll(TAG + "startcheck");
 
         mStringRequest = new StringRequest(Request.Method.GET, url,
@@ -815,7 +815,7 @@ public class SCSMTInspectionFragment extends BaseFragment implements View.OnClic
     private void failCheckData(final String collect, final String location) {
         PdaApplication.mRequestQueue.cancelAll(TAG + "check");
 
-        mStringRequest = new StringRequest(Request.Method.POST, GloableParams.ADDRESS_SMT_REPEATCHECK_DATA,
+        mStringRequest = new StringRequest(Request.Method.POST, GloableParams.ADDRESS_CHECK_LOCATIONDATAREPEATCHECK,
                 new Response.Listener<String>() {
                     @Override
                     public void onResponse(String s) {
@@ -867,7 +867,7 @@ public class SCSMTInspectionFragment extends BaseFragment implements View.OnClic
         progressDialog.show();
         PdaApplication.mRequestQueue.cancelAll(TAG + "check");
 
-        mStringRequest = new StringRequest(Request.Method.POST, GloableParams.ADDRESS_SMT_REPEATCHECK_DATA,
+        mStringRequest = new StringRequest(Request.Method.POST, GloableParams.ADDRESS_CHECK_LOCATIONDATAREPEATCHECK,
                 new Response.Listener<String>() {
                     @Override
                     public void onResponse(String s) {
@@ -1048,7 +1048,7 @@ public class SCSMTInspectionFragment extends BaseFragment implements View.OnClic
 
     @Override
     protected void initDatas() {
-        ((TextView) (getActivity().findViewById(R.id.tv_actionbar_withback))).setText(R.string.title_feedercheck_smt);
+        ((TextView) (getActivity().findViewById(R.id.tv_actionbar_withback))).setText("复检校验");
 
         mSmtLocationCache = SharedPreUtil.getString(mActivity, Constants.FLAG.SMT_LOCATION_CACHE, null);
         if (mLineInfoBean != null) {
@@ -1144,7 +1144,7 @@ public class SCSMTInspectionFragment extends BaseFragment implements View.OnClic
     public void onHiddenChanged(boolean hidden) {
         super.onHiddenChanged(hidden);
         if (!hidden) {
-            FunctionActivity.setTitle(getString(R.string.title_feedercheck_smt));
+            FunctionActivity.setTitle("复检校验");
             ((FunctionActivity) getActivity()).setSmtQueryIvVisible(true);
         } else {
             ((FunctionActivity) getActivity()).setSmtQueryIvVisible(false);

+ 2 - 2
build.gradle

@@ -43,8 +43,8 @@ ext {
             targetSdkVersion : 28,
             compileSdkVersion: 28,
             buildToolsVersion: "28.0.3",
-            versionCode      : 18,
-            versionName      : "v3.4"
+            versionCode      : 19,
+            versionName      : "v3.5"
     ]
 
     depsVersion = [