|
@@ -252,7 +252,6 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
|
|
|
// 调用upload 发送数据
|
|
// 调用upload 发送数据
|
|
WaybillHistoryStartResponse response = ETCCommHelper.upload(fileName, request, WaybillHistoryStartResponse.class);
|
|
WaybillHistoryStartResponse response = ETCCommHelper.upload(fileName, request, WaybillHistoryStartResponse.class);
|
|
-
|
|
|
|
dto.setIsHistory(CommonConstant.HISTORY_WAY_BILL);
|
|
dto.setIsHistory(CommonConstant.HISTORY_WAY_BILL);
|
|
wayBillStartService.saveBillStart(dto);
|
|
wayBillStartService.saveBillStart(dto);
|
|
|
|
|
|
@@ -271,7 +270,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
log.error("[-wayBillHistoryStart-] 错误信息:" + se.getMessage());
|
|
log.error("[-wayBillHistoryStart-] 错误信息:" + se.getMessage());
|
|
throw new ServiceException(se.getMessage());
|
|
throw new ServiceException(se.getMessage());
|
|
}
|
|
}
|
|
- return analyzeApiResultItems(result);
|
|
|
|
|
|
+ return ApiResponseData.success(ApiResponseCodeEnum.CODE_200.getValue(), result);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -312,7 +311,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
log.error("[-wayBillHistoryEnd-] 错误信息:" + se.getMessage());
|
|
log.error("[-wayBillHistoryEnd-] 错误信息:" + se.getMessage());
|
|
throw new ServiceException(se.getMessage());
|
|
throw new ServiceException(se.getMessage());
|
|
}
|
|
}
|
|
- return analyzeApiResultItems(result);
|
|
|
|
|
|
+ return ApiResponseData.success(ApiResponseCodeEnum.CODE_200.getValue(), result);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|