| | |
| | | }); |
| | | } else if (type == BaseCommon.REPLACE_NO_CARD) { |
| | | startNFCActivit(iccardInfoId); |
| | | } else if (type == BaseCommon.REPLACE_HAS_CARD) { |
| | | startNFCActivit(iccardInfoId); |
| | | } |
| | | |
| | | } else { |
| | |
| | | }); |
| | | } |
| | | |
| | | /** |
| | | * 已关泵补卡 |
| | | * |
| | | * @param iccardInfoId |
| | | */ |
| | | private void startNFCActivit(String iccardInfoId) { |
| | | //直接补卡的方式 |
| | | Intent intent = new Intent(CardSearchActivity.this, NFCWreatActivity.class); |
| | |
| | | CardSearchActivity.this.finish(); |
| | | } |
| | | |
| | | /** |
| | | * 未关泵补卡 |
| | | * |
| | | * @param iccardInfoId |
| | | * @param oldCardNumber |
| | | */ |
| | | private void startManagerActivity(String iccardInfoId, String oldCardNumber) { |
| | | Intent intent = new Intent(CardSearchActivity.this, ManagerReadActivity.class); |
| | | Intent intent = new Intent(CardSearchActivity.this, ManagerWriteActivity.class); |
| | | intent.putExtra("iccardInfoId", iccardInfoId); |
| | | intent.putExtra("replaceType", type); |
| | | intent.putExtra("oldCardNumber", oldCardNumber); |