Merge branch '2.0-dev' into new-dev

# Conflicts:
#	hai-service/src/main/java/com/hai/order/service/impl/OrderPaySuccessServiceImpl.java
new-dev
袁野 11 months ago
commit f5d6281c4c
  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

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

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

Loading…
Cancel
Save