刷脸失败异常处理
This commit is contained in:
parent
61c22800f7
commit
6fc87c0d2e
@ -1277,6 +1277,8 @@ public class HomeFragment extends BaseFragment {
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
public void processResult(HomeWaybillEvent home) {
|
public void processResult(HomeWaybillEvent home) {
|
||||||
if (home.getMessage() == 1) {
|
if (home.getMessage() == 1) {
|
||||||
|
int curWaybillId = (int) SPUtils.get(con, "curWaybillId", -1);
|
||||||
|
hyr.startOrder(curWaybillId == -1 ? 0 : curWaybillId);
|
||||||
hyr.getHuoYuan(1, 100);
|
hyr.getHuoYuan(1, 100);
|
||||||
} else {
|
} else {
|
||||||
int curWaybillId = (int) SPUtils.get(con, "curWaybillId", -1);
|
int curWaybillId = (int) SPUtils.get(con, "curWaybillId", -1);
|
||||||
|
@ -133,6 +133,8 @@ public class HuoYunDelActivity extends BaseAppCompatActivity {
|
|||||||
}
|
}
|
||||||
//finish();
|
//finish();
|
||||||
} else {
|
} else {
|
||||||
|
EventBus.getDefault().post(new HomeWaybillEvent(1));
|
||||||
|
finish();
|
||||||
Toast.makeText(con, bb.getMsg(), Toast.LENGTH_SHORT).show();
|
Toast.makeText(con, bb.getMsg(), Toast.LENGTH_SHORT).show();
|
||||||
customDialog.dismiss();
|
customDialog.dismiss();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user