重新生成cms代码

This commit is contained in:
shuzheng 2017-03-20 23:51:40 +08:00
parent 5ec0f3cf04
commit 21d7176402
39 changed files with 419 additions and 107 deletions

View File

@ -0,0 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsArticleCategory;
import com.zheng.cms.dao.model.CmsArticleCategoryExample;
/**
* CmsArticleCategoryService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsArticleCategoryService extends BaseService<CmsArticleCategory, CmsArticleCategoryExample> {
}

View File

@ -0,0 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsArticleCategoryMapper;
import com.zheng.cms.dao.model.CmsArticleCategory;
import com.zheng.cms.dao.model.CmsArticleCategoryExample;
/**
* 降级实现CmsArticleCategoryService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsArticleCategoryServiceMock extends BaseServiceMock<CmsArticleCategoryMapper, CmsArticleCategory, CmsArticleCategoryExample> implements CmsArticleCategoryService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsArticle;
import com.zheng.cms.dao.model.CmsArticleExample;
import com.zheng.common.base.BaseService;
/**
* 文章service接口
* Created by shuzheng on 2016/11/14.
*/
* CmsArticleService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsArticleService extends BaseService<CmsArticle, CmsArticleExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsArticleMapper;
import com.zheng.cms.dao.model.CmsArticle;
import com.zheng.cms.dao.model.CmsArticleExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsArticleService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsArticleService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsArticleServiceMock extends BaseServiceMock<CmsArticleMapper, CmsArticle, CmsArticleExample> implements CmsArticleService {
}

View File

@ -0,0 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsArticleTag;
import com.zheng.cms.dao.model.CmsArticleTagExample;
/**
* CmsArticleTagService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsArticleTagService extends BaseService<CmsArticleTag, CmsArticleTagExample> {
}

View File

@ -0,0 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsArticleTagMapper;
import com.zheng.cms.dao.model.CmsArticleTag;
import com.zheng.cms.dao.model.CmsArticleTagExample;
/**
* 降级实现CmsArticleTagService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsArticleTagServiceMock extends BaseServiceMock<CmsArticleTagMapper, CmsArticleTag, CmsArticleTagExample> implements CmsArticleTagService {
}

View File

@ -0,0 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsBook;
import com.zheng.cms.dao.model.CmsBookExample;
/**
* CmsBookService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsBookService extends BaseService<CmsBook, CmsBookExample> {
}

View File

@ -0,0 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsBookMapper;
import com.zheng.cms.dao.model.CmsBook;
import com.zheng.cms.dao.model.CmsBookExample;
/**
* 降级实现CmsBookService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsBookServiceMock extends BaseServiceMock<CmsBookMapper, CmsBook, CmsBookExample> implements CmsBookService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsCategory;
import com.zheng.cms.dao.model.CmsCategoryExample;
import com.zheng.common.base.BaseService;
/**
* 类目service接口
* Created by shuzheng on 2016/11/14.
*/
* CmsCategoryService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsCategoryService extends BaseService<CmsCategory, CmsCategoryExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsCategoryMapper;
import com.zheng.cms.dao.model.CmsCategory;
import com.zheng.cms.dao.model.CmsCategoryExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsCategoryService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsCategoryService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsCategoryServiceMock extends BaseServiceMock<CmsCategoryMapper, CmsCategory, CmsCategoryExample> implements CmsCategoryService {
}

View File

@ -0,0 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsCategoryTag;
import com.zheng.cms.dao.model.CmsCategoryTagExample;
/**
* CmsCategoryTagService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsCategoryTagService extends BaseService<CmsCategoryTag, CmsCategoryTagExample> {
}

View File

@ -0,0 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsCategoryTagMapper;
import com.zheng.cms.dao.model.CmsCategoryTag;
import com.zheng.cms.dao.model.CmsCategoryTagExample;
/**
* 降级实现CmsCategoryTagService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsCategoryTagServiceMock extends BaseServiceMock<CmsCategoryTagMapper, CmsCategoryTag, CmsCategoryTagExample> implements CmsCategoryTagService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsComment;
import com.zheng.cms.dao.model.CmsCommentExample;
import com.zheng.common.base.BaseService;
/**
* 评论service接口
* Created by shuzheng on 2016/11/14.
*/
* CmsCommentService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsCommentService extends BaseService<CmsComment, CmsCommentExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsCommentMapper;
import com.zheng.cms.dao.model.CmsComment;
import com.zheng.cms.dao.model.CmsCommentExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsCommentService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsCommentService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsCommentServiceMock extends BaseServiceMock<CmsCommentMapper, CmsComment, CmsCommentExample> implements CmsCommentService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsMenu;
import com.zheng.cms.dao.model.CmsMenuExample;
import com.zheng.common.base.BaseService;
/**
* 菜单service接口
* Created by shuzheng on 2017/3/18.
*/
* CmsMenuService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsMenuService extends BaseService<CmsMenu, CmsMenuExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsMenuMapper;
import com.zheng.cms.dao.model.CmsMenu;
import com.zheng.cms.dao.model.CmsMenuExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsMenuService接口
* Created by shuzheng on 2017/3/18.
*/
* 降级实现CmsMenuService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsMenuServiceMock extends BaseServiceMock<CmsMenuMapper, CmsMenu, CmsMenuExample> implements CmsMenuService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsPage;
import com.zheng.cms.dao.model.CmsPageExample;
import com.zheng.common.base.BaseService;
/**
* 页面service接口
* Created by shuzheng on 2017/01/08.
*/
* CmsPageService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsPageService extends BaseService<CmsPage, CmsPageExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsPageMapper;
import com.zheng.cms.dao.model.CmsPage;
import com.zheng.cms.dao.model.CmsPageExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsPageService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsPageService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsPageServiceMock extends BaseServiceMock<CmsPageMapper, CmsPage, CmsPageExample> implements CmsPageService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsSetting;
import com.zheng.cms.dao.model.CmsSettingExample;
import com.zheng.common.base.BaseService;
/**
* 网站设置service接口
* Created by shuzheng on 2017/01/08.
*/
* CmsSettingService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsSettingService extends BaseService<CmsSetting, CmsSettingExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsSettingMapper;
import com.zheng.cms.dao.model.CmsSetting;
import com.zheng.cms.dao.model.CmsSettingExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsSettingService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsSettingService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsSettingServiceMock extends BaseServiceMock<CmsSettingMapper, CmsSetting, CmsSettingExample> implements CmsSettingService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsTag;
import com.zheng.cms.dao.model.CmsTagExample;
import com.zheng.common.base.BaseService;
/**
* 标签service接口
* Created by shuzheng on 2016/11/14.
*/
* CmsTagService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsTagService extends BaseService<CmsTag, CmsTagExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsTagMapper;
import com.zheng.cms.dao.model.CmsTag;
import com.zheng.cms.dao.model.CmsTagExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsTagService接口
* Created by shuzheng on 2017/2/14.
*/
* 降级实现CmsTagService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsTagServiceMock extends BaseServiceMock<CmsTagMapper, CmsTag, CmsTagExample> implements CmsTagService {
}

View File

@ -1,13 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsTopic;
import com.zheng.cms.dao.model.CmsTopicExample;
import com.zheng.common.base.BaseService;
/**
* 专题service接口
* Created by shuzheng on 2017/3/18.
*/
* CmsTopicService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsTopicService extends BaseService<CmsTopic, CmsTopicExample> {
}

View File

@ -1,14 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsTopicMapper;
import com.zheng.cms.dao.model.CmsTopic;
import com.zheng.cms.dao.model.CmsTopicExample;
import com.zheng.common.base.BaseServiceMock;
/**
* 降级实现CmsTopicService接口
* Created by shuzheng on 2017/3/18.
*/
* 降级实现CmsTopicService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsTopicServiceMock extends BaseServiceMock<CmsTopicMapper, CmsTopic, CmsTopicExample> implements CmsTopicService {
}

View File

@ -0,0 +1,13 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseService;
import com.zheng.cms.dao.model.CmsUser;
import com.zheng.cms.dao.model.CmsUserExample;
/**
* CmsUserService接口
* Created by shuzheng on 2017/3/20.
*/
public interface CmsUserService extends BaseService<CmsUser, CmsUserExample> {
}

View File

@ -0,0 +1,14 @@
package com.zheng.cms.rpc.api;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.cms.dao.mapper.CmsUserMapper;
import com.zheng.cms.dao.model.CmsUser;
import com.zheng.cms.dao.model.CmsUserExample;
/**
* 降级实现CmsUserService接口
* Created by shuzheng on 2017/3/20.
*/
public class CmsUserServiceMock extends BaseServiceMock<CmsUserMapper, CmsUser, CmsUserExample> implements CmsUserService {
}

View File

@ -0,0 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsArticleCategoryMapper;
import com.zheng.cms.dao.model.CmsArticleCategory;
import com.zheng.cms.dao.model.CmsArticleCategoryExample;
import com.zheng.cms.rpc.api.CmsArticleCategoryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* CmsArticleCategoryService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsArticleCategoryServiceImpl extends BaseServiceImpl<CmsArticleCategoryMapper, CmsArticleCategory, CmsArticleCategoryExample> implements CmsArticleCategoryService {
private static Logger _log = LoggerFactory.getLogger(CmsArticleCategoryServiceImpl.class);
@Autowired
CmsArticleCategoryMapper cmsArticleCategoryMapper;
}

View File

@ -1,20 +1,21 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsArticleMapper;
import com.zheng.cms.dao.model.CmsArticle;
import com.zheng.cms.dao.model.CmsArticleExample;
import com.zheng.cms.rpc.api.CmsArticleService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 文章service实现
* Created by shuzheng on 2017/01/07.
*/
* CmsArticleService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
@ -22,4 +23,7 @@ public class CmsArticleServiceImpl extends BaseServiceImpl<CmsArticleMapper, Cms
private static Logger _log = LoggerFactory.getLogger(CmsArticleServiceImpl.class);
@Autowired
CmsArticleMapper cmsArticleMapper;
}

View File

@ -0,0 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsArticleTagMapper;
import com.zheng.cms.dao.model.CmsArticleTag;
import com.zheng.cms.dao.model.CmsArticleTagExample;
import com.zheng.cms.rpc.api.CmsArticleTagService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* CmsArticleTagService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsArticleTagServiceImpl extends BaseServiceImpl<CmsArticleTagMapper, CmsArticleTag, CmsArticleTagExample> implements CmsArticleTagService {
private static Logger _log = LoggerFactory.getLogger(CmsArticleTagServiceImpl.class);
@Autowired
CmsArticleTagMapper cmsArticleTagMapper;
}

View File

@ -0,0 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsBookMapper;
import com.zheng.cms.dao.model.CmsBook;
import com.zheng.cms.dao.model.CmsBookExample;
import com.zheng.cms.rpc.api.CmsBookService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* CmsBookService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsBookServiceImpl extends BaseServiceImpl<CmsBookMapper, CmsBook, CmsBookExample> implements CmsBookService {
private static Logger _log = LoggerFactory.getLogger(CmsBookServiceImpl.class);
@Autowired
CmsBookMapper cmsBookMapper;
}

View File

@ -1,20 +1,21 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsCategoryMapper;
import com.zheng.cms.dao.model.CmsCategory;
import com.zheng.cms.dao.model.CmsCategoryExample;
import com.zheng.cms.rpc.api.CmsCategoryService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 类目service实现
* Created by shuzheng on 2017/01/07.
*/
* CmsCategoryService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
@ -22,4 +23,7 @@ public class CmsCategoryServiceImpl extends BaseServiceImpl<CmsCategoryMapper, C
private static Logger _log = LoggerFactory.getLogger(CmsCategoryServiceImpl.class);
@Autowired
CmsCategoryMapper cmsCategoryMapper;
}

View File

@ -0,0 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsCategoryTagMapper;
import com.zheng.cms.dao.model.CmsCategoryTag;
import com.zheng.cms.dao.model.CmsCategoryTagExample;
import com.zheng.cms.rpc.api.CmsCategoryTagService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* CmsCategoryTagService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsCategoryTagServiceImpl extends BaseServiceImpl<CmsCategoryTagMapper, CmsCategoryTag, CmsCategoryTagExample> implements CmsCategoryTagService {
private static Logger _log = LoggerFactory.getLogger(CmsCategoryTagServiceImpl.class);
@Autowired
CmsCategoryTagMapper cmsCategoryTagMapper;
}

View File

@ -1,20 +1,21 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsCommentMapper;
import com.zheng.cms.dao.model.CmsComment;
import com.zheng.cms.dao.model.CmsCommentExample;
import com.zheng.cms.rpc.api.CmsCommentService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 评论service实现
* Created by shuzheng on 2017/01/07.
*/
* CmsCommentService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
@ -22,4 +23,7 @@ public class CmsCommentServiceImpl extends BaseServiceImpl<CmsCommentMapper, Cms
private static Logger _log = LoggerFactory.getLogger(CmsCommentServiceImpl.class);
@Autowired
CmsCommentMapper cmsCommentMapper;
}

View File

@ -1,20 +1,21 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsMenuMapper;
import com.zheng.cms.dao.model.CmsMenu;
import com.zheng.cms.dao.model.CmsMenuExample;
import com.zheng.cms.rpc.api.CmsMenuService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 菜单service实现
* Created by shuzheng on 2017/3/18.
*/
* CmsMenuService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
@ -22,4 +23,7 @@ public class CmsMenuServiceImpl extends BaseServiceImpl<CmsMenuMapper, CmsMenu,
private static Logger _log = LoggerFactory.getLogger(CmsMenuServiceImpl.class);
@Autowired
CmsMenuMapper cmsMenuMapper;
}

View File

@ -1,25 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsPageMapper;
import com.zheng.cms.dao.model.CmsPage;
import com.zheng.cms.dao.model.CmsPageExample;
import com.zheng.cms.rpc.api.CmsPageService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 页面service实现
* Created by shuzheng on 2017/01/08.
*/
* CmsPageService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsPageServiceImpl extends BaseServiceImpl<CmsPageMapper, CmsPage, CmsPageExample> implements CmsPageService {
private static Logger _log = LoggerFactory.getLogger(CmsPageServiceImpl.class);
private static Logger _log = LoggerFactory.getLogger(CmsPageServiceImpl.class);
@Autowired
CmsPageMapper cmsPageMapper;
}

View File

@ -1,25 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsSettingMapper;
import com.zheng.cms.dao.model.CmsSetting;
import com.zheng.cms.dao.model.CmsSettingExample;
import com.zheng.cms.rpc.api.CmsSettingService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 网站设置service实现
* Created by shuzheng on 2017/01/08.
*/
* CmsSettingService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsSettingServiceImpl extends BaseServiceImpl<CmsSettingMapper, CmsSetting, CmsSettingExample> implements CmsSettingService {
private static Logger _log = LoggerFactory.getLogger(CmsSettingServiceImpl.class);
private static Logger _log = LoggerFactory.getLogger(CmsSettingServiceImpl.class);
@Autowired
CmsSettingMapper cmsSettingMapper;
}

View File

@ -1,25 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsTagMapper;
import com.zheng.cms.dao.model.CmsTag;
import com.zheng.cms.dao.model.CmsTagExample;
import com.zheng.cms.rpc.api.CmsTagService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 标签service实现
* Created by shuzheng on 2017/01/07.
*/
* CmsTagService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsTagServiceImpl extends BaseServiceImpl<CmsTagMapper, CmsTag, CmsTagExample> implements CmsTagService {
private static Logger _log = LoggerFactory.getLogger(CmsTagServiceImpl.class);
private static Logger _log = LoggerFactory.getLogger(CmsTagServiceImpl.class);
@Autowired
CmsTagMapper cmsTagMapper;
}

View File

@ -1,20 +1,21 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsTopicMapper;
import com.zheng.cms.dao.model.CmsTopic;
import com.zheng.cms.dao.model.CmsTopicExample;
import com.zheng.cms.rpc.api.CmsTopicService;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* 专题service实现
* Created by shuzheng on 2017/3/18.
*/
* CmsTopicService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
@ -22,4 +23,7 @@ public class CmsTopicServiceImpl extends BaseServiceImpl<CmsTopicMapper, CmsTopi
private static Logger _log = LoggerFactory.getLogger(CmsTopicServiceImpl.class);
@Autowired
CmsTopicMapper cmsTopicMapper;
}

View File

@ -0,0 +1,29 @@
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsUserMapper;
import com.zheng.cms.dao.model.CmsUser;
import com.zheng.cms.dao.model.CmsUserExample;
import com.zheng.cms.rpc.api.CmsUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* CmsUserService实现
* Created by shuzheng on 2017/3/20.
*/
@Service
@Transactional
@BaseService
public class CmsUserServiceImpl extends BaseServiceImpl<CmsUserMapper, CmsUser, CmsUserExample> implements CmsUserService {
private static Logger _log = LoggerFactory.getLogger(CmsUserServiceImpl.class);
@Autowired
CmsUserMapper cmsUserMapper;
}