Authored by mali

删除不必要的代码

... ... @@ -91,9 +91,6 @@ public class NFCServiceImpl implements INFCService {
}
Integer time = DateUtil.getCurrentTimeSeconds();
buyerOrderGoodsMapper.selectByOrderCode(Lists.newArrayList(buyerOrder.getOrderCode()));
List<BuyerOrderGoods> buyerOrderGoodses = Optional.ofNullable(Lists.newArrayList(buyerOrder.getOrderCode())).map(buyerOrderGoodsMapper::selectByOrderCode).orElse(Lists.newArrayList());
if (CollectionUtils.isEmpty(buyerOrderGoodses)) {
logger.warn("writeIdentify get seller order is null");
... ...