Merge remote-tracking branch 'origin/2.0-dev' into 2.0-dev

master
袁野 11 months ago
parent f7fbf15176
commit f16c2cc000
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighTestController.java
  2. 4
      hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java
  3. 13
      hai-service/src/main/java/com/hai/service/impl/ApiIpAddressServiceImpl.java

File diff suppressed because one or more lines are too long

@ -259,12 +259,10 @@ public class OrderPaySuccessServiceImpl implements OrderPaySuccessService {
blxOrderHandle(order); blxOrderHandle(order);
} else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE14.getNumber())) { } else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE14.getNumber())) {
oilCardHandle(childOrder.getGoodsSpecName(), order); oilCardHandle(childOrder.getGoodsSpecName(), order);
} else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE14.getNumber())) { } else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE15.getNumber())) {
levelUp(order); levelUp(order);
} else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE17.getNumber())) { } else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE17.getNumber())) {
group(order); group(order);
} else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE15.getNumber())) {
oilCardHandle(childOrder.getGoodsSpecName(), order);
} else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE18.getNumber())) { } else if (childOrder.getGoodsType().equals(OrderChildGoodsType.TYPE18.getNumber())) {
petroCoupon(order , childOrder); petroCoupon(order , childOrder);
} }

@ -55,12 +55,11 @@ public class ApiIpAddressServiceImpl implements ApiIpAddressService {
@Override @Override
public Boolean validationIpAddressLegal(String mchId, String ipAddress) { public Boolean validationIpAddressLegal(String mchId, String ipAddress) {
// ApiIpAddressExample example = new ApiIpAddressExample(); ApiIpAddressExample example = new ApiIpAddressExample();
// example.createCriteria().andMchIdEqualTo(mchId).andIpAddressLike("%" + ipAddress + "%"); example.createCriteria().andMchIdEqualTo(mchId).andIpAddressLike("%" + ipAddress + "%");
//
// List<ApiIpAddress> list = apiIpAddressMapper.selectByExample(example); List<ApiIpAddress> list = apiIpAddressMapper.selectByExample(example);
//
// return list.size()>0; return list.size()>0;
return true;
} }
} }

Loading…
Cancel
Save