gc-order/src/main/java/com/xzx/gc/order/service/JhyOrderService.java | ●●●●● patch | view | raw | blame | history |
gc-order/src/main/java/com/xzx/gc/order/service/JhyOrderService.java
@@ -63,7 +63,9 @@ public void addJhyOrder(AddJhyOrderDto orderDto) { JhyInfo jhyInfo = jhyInfoMapper.selectJhyInfoByUserId(orderDto.getUserId()); if (jhyInfo != null && JhyInfo.CHECK_PASS.equals(jhyInfo.getStatus())) { throw new RestException(-3, "集货员不能下单"); if (JhyInfo.IS_JHY_Y.equals(jhyInfo.getIsJhy())) { throw new RestException(-3, "集货员不能下单"); } } AddressInfo addressInfo = addressMapper.selectByPrimaryKey(orderDto.getAddressId());