| @@ -95,7 +95,8 @@ public abstract class BaseBatchOrderAdapterService implements OrderAdapterServic | |||||
| if(EnumPayWay.PAY_WAY_TT.equals(payWay) && isTtPoiOrder(tenantEntity,couponChannelMap)){ | if(EnumPayWay.PAY_WAY_TT.equals(payWay) && isTtPoiOrder(tenantEntity,couponChannelMap)){ | ||||
| isTtPoiOrder = EnumYesOrNo.YES.getCode(); | isTtPoiOrder = EnumYesOrNo.YES.getCode(); | ||||
| } | } | ||||
| }catch(Exception e){} | |||||
| }catch(Exception e){ | |||||
| } | |||||
| WxBatchOrder order =new WxBatchOrder(); | WxBatchOrder order =new WxBatchOrder(); | ||||
| final IdWorker idWorker = IdWorker.get(); | final IdWorker idWorker = IdWorker.get(); | ||||
| @@ -120,7 +121,7 @@ public abstract class BaseBatchOrderAdapterService implements OrderAdapterServic | |||||
| private boolean isTtPoiOrder(TenantEntity tenantEntity,Map<Long,WxCouponChannel> couponChannelMap){ | private boolean isTtPoiOrder(TenantEntity tenantEntity,Map<Long,WxCouponChannel> couponChannelMap){ | ||||
| boolean isTtPoiOrder = false; | boolean isTtPoiOrder = false; | ||||
| if(null != couponChannelMap){ | if(null != couponChannelMap){ | ||||
| List<Long> couponChannelIds = (List<Long>) couponChannelMap.keySet(); | |||||
| List<Long> couponChannelIds = new ArrayList<>(couponChannelMap.keySet()); | |||||
| Integer poiCount = ttCouponChannelPoiMapper.getPoiPutOnCount(tenantEntity.getTenantId(),couponChannelIds); | Integer poiCount = ttCouponChannelPoiMapper.getPoiPutOnCount(tenantEntity.getTenantId(),couponChannelIds); | ||||
| if(couponChannelIds.size() == poiCount.intValue()){ | if(couponChannelIds.size() == poiCount.intValue()){ | ||||
| isTtPoiOrder = true; | isTtPoiOrder = true; | ||||