| | |
| | | private final MallMemberWalletMapper mallMemberWalletMapper; |
| | | private final MallMqRecordMapper mallMqRecordMapper; |
| | | |
| | | private final MallShopMapper mallShopMapper; |
| | | |
| | | private final ICommonService commonService; |
| | | |
| | | @Override |
| | |
| | | throw new FebsException("请选择门店"); |
| | | } |
| | | Long shopId = addOrderDto.getShopId(); |
| | | MallShopApply mallShopApply = mallShopApplyMapper.selectById(shopId); |
| | | MallShop mallShopApply = mallShopMapper.selectById(shopId); |
| | | if(ObjectUtil.isEmpty(mallShopApply)){ |
| | | throw new FebsException("请选择门店"); |
| | | } |
| | | if(MallShopApply.APPLY_AGREE != mallShopApply.getStatus()){ |
| | | throw new FebsException("请选择门店"); |
| | | } |
| | | orderInfo.setShopId(shopId); |