Commit 929298f7 authored by shiyu's avatar shiyu

专场商品列表查询

parent 526faea3
......@@ -431,9 +431,10 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
resultMap.put("specialPerformanceId", specialPerformance.getId());
//判断用户是否订阅过消息
if (dto.getUserId() != null) {
resultMap.put("subscribeStart", disposableSubscribeRecordDao.isSubscribed(dto.getUserId(), specialPerformance.getId(), DisposableSubscribeRecordEnum.TypeEnum.PRE_START.getType()));
resultMap.put("subscribeEnd", disposableSubscribeRecordDao.isSubscribed(dto.getUserId(), specialPerformance.getId(), DisposableSubscribeRecordEnum.TypeEnum.PRE_END.getType()));
}
//当前时间大于专场结束时间则修改专场的状态
if (now.after(specialPerformance.getEndTime())) {
SpecialPerformance updateDto = new SpecialPerformance();
......
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