|
|
@@ -46,7 +46,7 @@ public class WxTopicController extends BaseController { |
|
|
String tenantId = getTenantId(); |
|
|
String tenantId = getTenantId(); |
|
|
wxTopic.setTenantId(tenantId); |
|
|
wxTopic.setTenantId(tenantId); |
|
|
WxTopic queryTopic = wxTopicService.findById(wxTopic); |
|
|
WxTopic queryTopic = wxTopicService.findById(wxTopic); |
|
|
if (queryTopic.getEndTime()!=null && new Date().getTime() > queryTopic.getEndTime().getTime()) { |
|
|
|
|
|
|
|
|
if (queryTopic!=null && queryTopic.getEndTime()!=null && new Date().getTime() > queryTopic.getEndTime().getTime()) { |
|
|
queryTopic.setStatus(EnumWxTopicStatus.INVAILD.getCode()); |
|
|
queryTopic.setStatus(EnumWxTopicStatus.INVAILD.getCode()); |
|
|
} |
|
|
} |
|
|
return new ResultData(queryTopic); |
|
|
return new ResultData(queryTopic); |
|
|
|