|
|
@ -6,6 +6,7 @@ import com.epmet.dao.topic.TopicDao; |
|
|
|
import com.epmet.dto.form.LoginUserDetailsFormDTO; |
|
|
|
import com.epmet.dto.result.LoginUserDetailsResultDTO; |
|
|
|
import com.epmet.feign.EpmetUserOpenFeignClient; |
|
|
|
import com.epmet.group.constant.GroupConstant; |
|
|
|
import com.epmet.service.topic.TopicService; |
|
|
|
import com.epmet.topic.constant.TopicConstant; |
|
|
|
import com.epmet.topic.dto.form.TopicIncrTrendFormDTO; |
|
|
@ -41,6 +42,7 @@ public class TopicServiceImpl implements TopicService { |
|
|
|
@Override |
|
|
|
public TopicSummaryResultDTO topicSummary(TokenDto tokenDto) { |
|
|
|
TopicSummaryResultDTO result = new TopicSummaryResultDTO(); |
|
|
|
result.setDeadline(LocalDate.now().minusDays(NumConstant.ONE).toString().replace(TopicConstant.RAIL,TopicConstant.NULL_CHAR_STRING)); |
|
|
|
String agencyId = this.getLoginUserDetails(tokenDto); |
|
|
|
List<TopicStatusResultDTO> topicStatus = topicDao.getTopicStatus(agencyId); |
|
|
|
result.setDeadline(LocalDate.now().minusDays(NumConstant.ONE).toString()); |
|
|
|