@@ -371,7 +371,7 @@ public class NoCarInterServiceImpl implements NoCarInterService {
noCarWayBill.setContractType(contractType);
DataResult dataResult = getDataResult(appKey, data, costtimestart, result, customerRec, noCarWayBill);
try {
- if(dataResult.getCode() == 0 && StringUtils.isNotBlank(waybillFileName) && StringUtils.isNotBlank(base64Str)){
+ if(dataResult.getData() == 1 && dataResult.getCode()==200 && StringUtils.isNotBlank(waybillFileName) && StringUtils.isNotBlank(base64Str)){
NoCarWayBillFileInfo noCarWayBillFileInfo = new NoCarWayBillFileInfo();
noCarWayBillFileInfo.setBase64Str(base64Str);
noCarWayBillFileInfo.setFileName(waybillFileName);