|
|
@@ -128,7 +128,7 @@ public class LogoutEtcStep1Activity extends AppActivity { |
|
|
|
// 构建车辆设备查询请求参数 |
|
|
|
VehicleQueryDeviceRequest request = new VehicleQueryDeviceRequest(); |
|
|
|
request.setAccessToken(MyShared.getInstance().get(MyShared.ACCESSTOKEN, "") + ""); |
|
|
|
request.setCustomerId(""); // 客户ID,暂时为空 |
|
|
|
request.setCustomerId(MyShared.getInstance().get(MyShared.STAFFID, "") + ""); // 客户ID,暂时为空 |
|
|
|
request.setLoginSource(Constants.LOGIN_SOURCE); // 登录来源 |
|
|
|
request.setVehicleId(plateNum + "_" + colorNum); // 车辆ID格式:车牌号_颜色 |
|
|
|
|
|
|
@@ -280,7 +280,7 @@ public class LogoutEtcStep1Activity extends AppActivity { |
|
|
|
try { |
|
|
|
// 将车辆信息转换为JSON字符串 |
|
|
|
String dataJson = new Gson().toJson(curBizContent); |
|
|
|
LogUtils.i("跳转第二步", "传递数据: " + dataJson); |
|
|
|
LogUtils.i(this.getClass().getSimpleName(), "跳转第二步 传递数据: " + dataJson); |
|
|
|
|
|
|
|
// 跳转到ETC注销第二步界面 |
|
|
|
Intent intent = new Intent(this, LogoutEtcStep2Activity.class); |
|
|
@@ -290,12 +290,12 @@ public class LogoutEtcStep1Activity extends AppActivity { |
|
|
|
if (cancelQueryData != null) { |
|
|
|
intent.putExtra("cancelAmount", cancelQueryData.getCancelAmount()); |
|
|
|
intent.putExtra("needPayment", cancelQueryData.isCancel()); |
|
|
|
LogUtils.i("跳转第二步", "传递违约金信息 - 金额: " + cancelQueryData.getCancelAmount() + "分, 需要支付: " + cancelQueryData.isCancel()); |
|
|
|
LogUtils.i(this.getClass().getSimpleName(), "跳转第二步 传递违约金信息 - 金额: " + cancelQueryData.getCancelAmount() + "分, 需要支付: " + cancelQueryData.isCancel()); |
|
|
|
} |
|
|
|
|
|
|
|
startActivity(intent); |
|
|
|
} catch (Exception e) { |
|
|
|
LogUtils.e("跳转第二步", "跳转异常: " + e.getMessage()); |
|
|
|
LogUtils.e(this.getClass().getSimpleName(), "跳转第二步 跳转异常: " + e.getMessage()); |
|
|
|
e.printStackTrace(); |
|
|
|
ToastUtils.show("跳转失败,请重试"); |
|
|
|
} |