|
|
|
@@ -381,8 +381,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { |
|
|
|
if (null != wxCouponOrder.getBuilding() || null != wxCouponOrder.getFloor()) { |
|
|
|
WxShop shopQ = new WxShop(); |
|
|
|
shopQ.updateTenantInfo(wxCouponOrder); |
|
|
|
shopQ.setBuilding(Long.parseLong(String.valueOf(wxCouponOrder.getBuilding()))); |
|
|
|
shopQ.setFloor(Long.parseLong(String.valueOf(wxCouponOrder.getFloor()))); |
|
|
|
if (null != wxCouponOrder.getBuilding()) { |
|
|
|
shopQ.setBuilding(Long.parseLong(String.valueOf(wxCouponOrder.getBuilding()))); |
|
|
|
} |
|
|
|
if (null != wxCouponOrder.getFloor()) { |
|
|
|
shopQ.setFloor(Long.parseLong(String.valueOf(wxCouponOrder.getFloor()))); |
|
|
|
} |
|
|
|
List<Long> shopIds = wxShopMapper.findIdList(shopQ); |
|
|
|
if (null == shopIds || shopIds.size() <= 0 ){ |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY.getCode(),"楼座楼层提交查询不到店铺信息."); |
|
|
|
|