From 424a234582cd6cba54986623b435d8499a6c4b4d Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 7 Mar 2023 13:53:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../straw/service/impl/NoticeServiceImpl.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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; + /** * 添加通知 */