This commit is contained in:
liuchengqian 2023-03-07 13:53:04 +08:00
parent 739cd28427
commit 424a234582

View File

@ -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;
/**
* 添加通知
*/