记得上下班打卡 | git大法好,push需谨慎

Commit fda76138 authored by zhoujianping's avatar zhoujianping

1.演出详情增加用户vip判断

parent 4511a787
...@@ -140,6 +140,8 @@ public class KylinPerformanceVo implements Serializable, Cloneable { ...@@ -140,6 +140,8 @@ public class KylinPerformanceVo implements Serializable, Cloneable {
private Integer fieldAuditStatus; private Integer fieldAuditStatus;
@ApiModelProperty(value = "是否预约演出 0 无 1有") @ApiModelProperty(value = "是否预约演出 0 无 1有")
private Integer isSubscribe; private Integer isSubscribe;
@ApiModelProperty(value = "判断用户是否是vip 0不是 1是")
private Integer isVip;
@ApiModelProperty(value = "开票提醒 0为不提醒", example = "0") @ApiModelProperty(value = "开票提醒 0为不提醒", example = "0")
private Integer isInvoiceReminder; private Integer isInvoiceReminder;
......
...@@ -304,9 +304,13 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService { ...@@ -304,9 +304,13 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
} }
log.info(UserPathDto.setData("演出详情", "performancesId=" + performancesId + " latitudeFrom=" + latitudeFrom + " longitudeFrom=" + longitudeFrom, performancesInfo)); log.info(UserPathDto.setData("演出详情", "performancesId=" + performancesId + " latitudeFrom=" + latitudeFrom + " longitudeFrom=" + longitudeFrom, performancesInfo));
//默认普通用户
performancesInfo.setIsVip(0);
//判断当前用户是否预约演出 //判断当前用户是否预约演出
if (!StringUtils.isEmpty(uid)) { if (!StringUtils.isEmpty(uid)) {
performancesInfo.setIsSubscribe(dataUtils.getPerformanceSubscribe(uid, performancesInfo.getPerformancesId())); performancesInfo.setIsSubscribe(dataUtils.getPerformanceSubscribe(uid, performancesInfo.getPerformancesId()));
//判断是否是vip用户
performancesInfo.setIsVip(dataUtils.isMemberByUser(uid));
} }
return performancesInfo; return performancesInfo;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment