优化
This commit is contained in:
parent
739cd28427
commit
424a234582
@ -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;
|
||||
|
||||
/**
|
||||
* 添加通知
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user