|
@@ -190,7 +190,9 @@ public class SelfCarServiceLImpl implements SelfCarServiceL {
|
|
double needFee = 0;
|
|
double needFee = 0;
|
|
//更新交易id申请开票时间,并将转态改为开票中
|
|
//更新交易id申请开票时间,并将转态改为开票中
|
|
for(String tradeId : tradeIds){
|
|
for(String tradeId : tradeIds){
|
|
- SelfCarTrade selfCarTrade = sellCarTradeMapper.selectByTradeId(tradeId).get(0);
|
|
|
|
|
|
+ List<SelfCarTrade> selfCarTrades = sellCarTradeMapper.selectByTradeId(tradeId);
|
|
|
|
+ if(selfCarTrades == null || selfCarTrades.size() == 0){continue;}
|
|
|
|
+ SelfCarTrade selfCarTrade = selfCarTrades.get(0);
|
|
selfCarTrade.setStatus(2);
|
|
selfCarTrade.setStatus(2);
|
|
selfCarTrade.setAclTime(DateUtil.getCurrentDateStr());
|
|
selfCarTrade.setAclTime(DateUtil.getCurrentDateStr());
|
|
selfCarTrade.setApplId(b2BInvoiceApplyResponse.getApplyId());
|
|
selfCarTrade.setApplId(b2BInvoiceApplyResponse.getApplyId());
|