Skip to content

Commit

Permalink
庆祝国人加入JCP
Browse files Browse the repository at this point in the history
  • Loading branch information
shuaje committed May 29, 2018
1 parent 603fb11 commit ad3b004
Show file tree
Hide file tree
Showing 22 changed files with 109 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
package org.ibase4j.service.impl;

import org.ibase4j.service.SchedulerService;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.support.scheduler.SchedulerServiceImpl;

/**
* @author ShenHuaJie
* @version 2016年7月1日 上午11:34:59
*/
@Service
@Service(interfaceClass = SchedulerService.class)
@MotanService(interfaceClass = SchedulerService.class)
public class ScheduledServiceImpl extends SchedulerServiceImpl implements SchedulerService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import org.ibase4j.service.SysMsgService;
import org.ibase4j.service.SysParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
Expand All @@ -28,6 +28,7 @@
import com.aliyuncs.profile.DefaultProfile;
import com.aliyuncs.profile.IClientProfile;
import com.baomidou.mybatisplus.toolkit.IdWorker;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.Constants.MSGCHKTYPE;
import top.ibase4j.core.util.CacheUtil;
Expand All @@ -40,7 +41,8 @@
* @author ShenHuaJie
* @since 2017年3月16日 下午2:38:44
*/
@Service
@Service(interfaceClass = SendMsgService.class)
@MotanService(interfaceClass = SendMsgService.class)
public class SendMsgServiceImpl implements SendMsgService {
protected Logger logger = LogManager.getLogger(getClass());
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import org.ibase4j.model.SysArticle;
import org.ibase4j.service.SysArticleService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

Expand All @@ -16,8 +18,9 @@
* @author ShenHuaJie
* @since 2017-03-12
*/
@Service
@CacheConfig(cacheNames = "sysArticle")
@Service(interfaceClass = SysArticleService.class)
@MotanService(interfaceClass = SysArticleService.class)
public class SysArticleServiceImpl extends BaseServiceImpl<SysArticle, SysArticleMapper> implements SysArticleService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.Constants;
import top.ibase4j.core.util.InstanceUtil;
Expand All @@ -32,8 +33,9 @@
* @author ShenHuaJie
* @version 2016年5月20日 下午3:19:19
*/
@Service
@CacheConfig(cacheNames = "sysAuthorize")
@Service(interfaceClass = SysAuthorizeService.class)
@MotanService(interfaceClass = SysAuthorizeService.class)
public class SysAuthorizeServiceImpl implements SysAuthorizeService {
@Autowired
private SysUserMenuMapper sysUserMenuMapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.ibase4j.service.SysCacheService;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.Constants;
import top.ibase4j.core.util.CacheUtil;

@Service
@Service(interfaceClass = SysCacheService.class)
@MotanService(interfaceClass = SysCacheService.class)
public class SysCacheServiceImpl implements SysCacheService {
Logger logger = LogManager.getLogger();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysDept;
import org.ibase4j.service.SysDeptService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
* @version 2016年5月20日 下午3:19:19
*/
@Service
@CacheConfig(cacheNames = "sysDept")
@Service(interfaceClass = SysDeptService.class)
@MotanService(interfaceClass = SysDeptService.class)
public class SysDeptServiceImpl extends BaseServiceImpl<SysDept, SysDeptMapper> implements SysDeptService {
@Override
public SysDept queryById(Long id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
import org.ibase4j.service.SysDicService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.Constants;
import top.ibase4j.core.base.BaseServiceImpl;
Expand All @@ -19,8 +21,9 @@
* @author ShenHuaJie
* @version 2016年5月20日 下午3:19:19
*/
@Service
@CacheConfig(cacheNames = "sysDic")
@Service(interfaceClass = SysDicService.class)
@MotanService(interfaceClass = SysDicService.class)
public class SysDicServiceImpl extends BaseServiceImpl<SysDic, SysDicMapper> implements SysDicService {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysEmailConfig;
import org.ibase4j.service.SysEmailConfigService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
*
*/
@Service
@CacheConfig(cacheNames = "sysEmailConfig")
@Service(interfaceClass = SysEmailConfigService.class)
@MotanService(interfaceClass = SysEmailConfigService.class)
public class SysEmailConfigServiceImpl extends BaseServiceImpl<SysEmailConfig, SysEmailConfigMapper>
implements SysEmailConfigService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysEmail;
import org.ibase4j.service.SysEmailService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
*
*/
@Service
@CacheConfig(cacheNames = "sysEmail")
@Service(interfaceClass = SysEmailService.class)
@MotanService(interfaceClass = SysEmailService.class)
public class SysEmailServiceImpl extends BaseServiceImpl<SysEmail, SysEmailMapper> implements SysEmailService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysEmailTemplate;
import org.ibase4j.service.SysEmailTemplateService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
*
*/
@Service
@CacheConfig(cacheNames = "sysEmailTemplate")
@Service(interfaceClass = SysEmailTemplateService.class)
@MotanService(interfaceClass = SysEmailTemplateService.class)
public class SysEmailTemplateServiceImpl extends BaseServiceImpl<SysEmailTemplate, SysEmailTemplateMapper>
implements SysEmailTemplateService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@
import org.ibase4j.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;
import top.ibase4j.core.support.Pagination;
import top.ibase4j.model.SysEvent;

@Service
@CacheConfig(cacheNames = "sysEvent")
@Service(interfaceClass = SysEventService.class)
@MotanService(interfaceClass = SysEventService.class)
public class SysEventServiceImpl extends BaseServiceImpl<SysEvent, SysEventMapper> implements SysEventService {
@Autowired
private SysUserService sysUserService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import org.ibase4j.model.SysFeedback;
import org.ibase4j.service.SysFeedbackService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

Expand All @@ -16,9 +18,10 @@
* @author ShenHuaJie
* @since 2017-03-12
*/
@Service
@CacheConfig(cacheNames = "SysFeedback")
@Service(interfaceClass = SysFeedbackService.class)
@MotanService(interfaceClass = SysFeedbackService.class)
public class SysFeedbackServiceImpl extends BaseServiceImpl<SysFeedback, SysFeedbackMapper>
implements SysFeedbackService {
implements SysFeedbackService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
import org.ibase4j.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;
import top.ibase4j.core.util.InstanceUtil;
Expand All @@ -20,8 +22,9 @@
* @author ShenHuaJie
* @version 2016年5月20日 下午3:19:19
*/
@Service
@CacheConfig(cacheNames = "sysMenu")
@Service(interfaceClass = SysMenuService.class)
@MotanService(interfaceClass = SysMenuService.class)
public class SysMenuServiceImpl extends BaseServiceImpl<SysMenu, SysMenuMapper> implements SysMenuService {
@Autowired
private SysDicService sysDicService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import org.ibase4j.model.SysMsgConfig;
import org.ibase4j.service.SysMsgConfigService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

Expand All @@ -16,8 +18,9 @@
* @author ShenHuaJie
* @since 2017-03-12
*/
@Service
@CacheConfig(cacheNames = "sysMsgConfig")
@Service(interfaceClass = SysMsgConfigService.class)
@MotanService(interfaceClass = SysMsgConfigService.class)
public class SysMsgConfigServiceImpl extends BaseServiceImpl<SysMsgConfig, SysMsgConfigMapper>
implements SysMsgConfigService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import org.ibase4j.model.SysMsg;
import org.ibase4j.service.SysMsgService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

Expand All @@ -16,8 +18,9 @@
* @author ShenHuaJie
* @since 2017-03-12
*/
@Service
@CacheConfig(cacheNames = "sysMsg")
@Service(interfaceClass = SysMsgService.class)
@MotanService(interfaceClass = SysMsgService.class)
public class SysMsgServiceImpl extends BaseServiceImpl<SysMsg, SysMsgMapper> implements SysMsgService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysNews;
import org.ibase4j.service.SysNewsService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
*
*/
@Service
@CacheConfig(cacheNames = "sysNews")
@Service(interfaceClass = SysNewsService.class)
@MotanService(interfaceClass = SysNewsService.class)
public class SysNewsServiceImpl extends BaseServiceImpl<SysNews, SysNewsMapper> implements SysNewsService {

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
import org.ibase4j.model.SysNotice;
import org.ibase4j.service.SysNoticeService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Service;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;

import top.ibase4j.core.base.BaseServiceImpl;

/**
* @author ShenHuaJie
*
*/
@Service
@CacheConfig(cacheNames = "sysNotice")
@Service(interfaceClass = SysNoticeService.class)
@MotanService(interfaceClass = SysNoticeService.class)
public class SysNoticeServiceImpl extends BaseServiceImpl<SysNotice, SysNoticeMapper> implements SysNoticeService {

}
Loading

0 comments on commit ad3b004

Please sign in to comment.