diff --git a/src/main/java/com/xkrs/straw/service/impl/NoticeServiceImpl.java b/src/main/java/com/xkrs/straw/service/impl/NoticeServiceImpl.java index 97a1c6b..e7dc95a 100644 --- a/src/main/java/com/xkrs/straw/service/impl/NoticeServiceImpl.java +++ b/src/main/java/com/xkrs/straw/service/impl/NoticeServiceImpl.java @@ -1,15 +1,37 @@ package com.xkrs.straw.service.impl; +import com.xkrs.straw.dao.NoticeDao; +import com.xkrs.straw.dao.NoticeRelaDao; +import com.xkrs.straw.dao.SysUserDao; import com.xkrs.straw.model.entity.NoticeEntity; import com.xkrs.straw.service.NoticeService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.context.i18n.LocaleContextHolder; import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.Locale; + /** * 公告栏通知接口 */ @Service public class NoticeServiceImpl implements NoticeService { + public static Logger log = LoggerFactory.getLogger(NoticeServiceImpl.class); + + private final Locale locale = LocaleContextHolder.getLocale(); + + @Resource + private NoticeDao noticeDao; + + @Resource + private NoticeRelaDao noticeRelaDao; + + @Resource + private SysUserDao sysUserDao; + /** * 添加通知 */