fix
Helius
2021-07-23 cf2deb37da116d7e2877f741971db4fa207e8617
gc-order/src/main/java/com/xzx/gc/order/service/JhyOrderService.java
@@ -92,13 +92,11 @@
            }
        }
        List<JhyOrder> addressExist = jhyOrderMapper.selectJhyOrderListByStatus(StrUtil.split("1,2", ','), jhyOrder.getUserId());
        List<JhyOrder> addressExist = jhyOrderMapper.selectJhyOrderListByStatus(StrUtil.split("1,2", ','), orderDto.getUserId());
        if (CollUtil.isNotEmpty(addressExist)) {
            for (JhyOrder order : addressExist) {
                String orderAddr = order.getArea() + order.getAddress();
                log.info("orderAddr====>>>>{}", orderAddr);
                log.info("address===>{}", address);
                if (orderAddr.equals(address.toString())) {
                    throw new RestException(-3, "同一地址仅能有一单在进行中");
                }