f4ef9fccb3347fd364ca59575bf62fe5e4362f59..fe04c9455a441c202f6c4590a08f46e16bd34ce3
2021-07-22 Helius
Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
fe04c9 diff | tree
2021-07-22 Helius
fix
9ff1c9 diff | tree
1 files modified
4 ■■■ changed files
gc-order/src/main/java/com/xzx/gc/order/service/JhyOrderService.java 4 ●●● 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());