拍照bug修复
This commit is contained in:
parent
f352932fa9
commit
4dddcc5d96
@ -158,7 +158,7 @@ public class PhotoCarActivity extends BaseAppCompatActivity implements View.OnCl
|
||||
IsAuthDriverAuthQualificationBean ib = gson.fromJson(CacheGroup.cacheList.get("saveCarRoadLicenseNo"), IsAuthDriverAuthQualificationBean.class);
|
||||
if (ib.getCode() == 200) {
|
||||
//判断是否需要跳转挂车行驶证页面
|
||||
if (!"".equals(carId)) {
|
||||
if (!"".equals(carId)&&cdb.getData()!=null) {
|
||||
if (cdb.getData().getIsTrailer() == 1 && cdb.getData().getTrailerResVo() != null && !TextUtils.isEmpty(cdb.getData().getTrailerResVo().getCarNumber())) {//需要挂车,并且传过挂车直接结束
|
||||
finish();
|
||||
Intent in = new Intent(con, AddCarSuccActivity.class);
|
||||
@ -187,6 +187,8 @@ public class PhotoCarActivity extends BaseAppCompatActivity implements View.OnCl
|
||||
con.startActivity(in);
|
||||
}
|
||||
}
|
||||
}else{
|
||||
finish();
|
||||
}
|
||||
|
||||
// if (!"".equals(carId) && cdb.getData().getIsTrailer() == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user