차적정보 반환 수정

master
mjkhan21 10 months ago
parent 9888ae8322
commit 660f7c359a

@ -85,7 +85,8 @@ public class VehicleInfoBean extends AbstractComponent {
vehicleInfoMapper.insertBasicInfo(params); vehicleInfoMapper.insertBasicInfo(params);
} }
return result; return BasicInfoResponse.getResult(resp);
// return result;
} catch (Throwable e) { } catch (Throwable e) {
log(e, "자동차 기본정보 조회"); log(e, "자동차 기본정보 조회");
return new BasicInfoResponse().setError(e); return new BasicInfoResponse().setError(e);
@ -176,7 +177,8 @@ public class VehicleInfoBean extends AbstractComponent {
create(req, resp); create(req, resp);
} }
return resp; return json.parse(data, BasicInfoExtResponse.class);
// return resp;
} else { } else {
Throwable error = sresp.getError(); Throwable error = sresp.getError();
if (error != null) if (error != null)

Loading…
Cancel
Save