private String tradeState; | private String tradeState; | ||||
private String totalFee; | private String totalFee; | ||||
private String tradeStateDesc; | private String tradeStateDesc; | ||||
private String isValueCard; // 1:储值卡(无需签约) 2:记账卡(需要签约) | |||||
private String isValueCard; // 1:记账卡(需要签约) 2:储值卡(无需签约) | |||||
private String positiveImageUrl; | private String positiveImageUrl; | ||||
private String negativeImageUrl; | private String negativeImageUrl; | ||||
private String agentName; | private String agentName; |
Bundle bundle = new Bundle(); | Bundle bundle = new Bundle(); | ||||
bundle.putString("bizContent", JSON.toJSONString(items)); | bundle.putString("bizContent", JSON.toJSONString(items)); | ||||
bundle.putString("orderId", getIntent().getStringExtra("orderId") + ""); | bundle.putString("orderId", getIntent().getStringExtra("orderId") + ""); | ||||
if (items.getIsValueCard().equals("1")){//储值卡-无需签约 | |||||
if (items.getIsValueCard().equals("2")){//储值卡-无需签约 | |||||
jumpToPage(ETCHandleSonActivity.class,bundle); | jumpToPage(ETCHandleSonActivity.class,bundle); | ||||
}else if (items.getIsValueCard().equals("2")){//记账卡-需要签约 | |||||
}else if (items.getIsValueCard().equals("1")){//记账卡-需要签约 | |||||
jumpToPage(ContractActivity.class,bundle); | jumpToPage(ContractActivity.class,bundle); | ||||
} | } | ||||
} | } |
@Override | @Override | ||||
protected void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent1) { | protected void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent1) { | ||||
showComplete(); | showComplete(); | ||||
if ("1".equals(bizContent1.getIsValueCard())) { //1 - 储值卡 | |||||
start = "1"; | |||||
} else { //2 - 记账卡 | |||||
if ("2".equals(bizContent1.getIsValueCard())) { //2 - 储值卡(无需签约) | |||||
start = "2"; | start = "2"; | ||||
} else { //1 - 记账卡 (需要签约) | |||||
start = "1"; | |||||
} | } | ||||
binding.text1.setText(bizContent1.getVehiclePlate()); | binding.text1.setText(bizContent1.getVehiclePlate()); | ||||
binding.text2.setText(bizContent1.getVehiclePlateColorStr()); | binding.text2.setText(bizContent1.getVehiclePlateColorStr()); |