|
|
|
@@ -204,10 +204,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public WxCouponOrderCVo detailCUserVo(Long cUserId, String couponOrderId) { |
|
|
|
WxCUser wxCuser = wxCUserMapper.selectByPrimaryKey(cUserId); |
|
|
|
if (wxCuser == null) { |
|
|
|
logger.error("用户不存在:" + cUserId); |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY); |
|
|
|
if(cUserId != null) { |
|
|
|
WxCUser wxCuser = wxCUserMapper.selectByPrimaryKey(cUserId); |
|
|
|
if (wxCuser == null) { |
|
|
|
logger.error("用户不存在:" + cUserId); |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
WxCouponOrderCVo wxCouponOrderCVo = wxCouponOrderMapper.findDetailOfCUser(Long.valueOf(couponOrderId)); |
|
|
|
|