Commit 292fc390 authored by 李健华's avatar 李健华

去掉原本订单号为空判断

parent 90b3ac77
...@@ -235,8 +235,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR ...@@ -235,8 +235,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
} }
//保存时如果有其中一项为空则默认为导入失败,其他则默认初始状态 //保存时如果有其中一项为空则默认为导入失败,其他则默认初始状态
if(record.getUserId() ==null || record.getUserId() ==0 if(record.getUserId() ==null || record.getUserId() ==0
|| StringUtils.isEmpty(record.getUserName()) || StringUtils.isEmpty(record.getUserName())){
|| StringUtils.isEmpty(record.getOrderNo())){
record.setImportStatus(VoucherExportStatus.EXPORT_FAIL.getCode()); record.setImportStatus(VoucherExportStatus.EXPORT_FAIL.getCode());
//默认导出失败 //默认导出失败
record.setExportStatus(VoucherExportStatus.EXPORT_FAIL.getCode()); record.setExportStatus(VoucherExportStatus.EXPORT_FAIL.getCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment