重新生成cms代码
This commit is contained in:
parent
5ec0f3cf04
commit
21d7176402
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsArticle;
|
||||||
import com.zheng.cms.dao.model.CmsArticleExample;
|
import com.zheng.cms.dao.model.CmsArticleExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文章service接口
|
* CmsArticleService接口
|
||||||
* Created by shuzheng on 2016/11/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsArticleService extends BaseService<CmsArticle, CmsArticleExample> {
|
public interface CmsArticleService extends BaseService<CmsArticle, CmsArticleExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsArticleMapper;
|
import com.zheng.cms.dao.mapper.CmsArticleMapper;
|
||||||
import com.zheng.cms.dao.model.CmsArticle;
|
import com.zheng.cms.dao.model.CmsArticle;
|
||||||
import com.zheng.cms.dao.model.CmsArticleExample;
|
import com.zheng.cms.dao.model.CmsArticleExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsArticleService接口
|
* 降级实现CmsArticleService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsArticleServiceMock extends BaseServiceMock<CmsArticleMapper, CmsArticle, CmsArticleExample> implements CmsArticleService {
|
public class CmsArticleServiceMock extends BaseServiceMock<CmsArticleMapper, CmsArticle, CmsArticleExample> implements CmsArticleService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsCategory;
|
||||||
import com.zheng.cms.dao.model.CmsCategoryExample;
|
import com.zheng.cms.dao.model.CmsCategoryExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 类目service接口
|
* CmsCategoryService接口
|
||||||
* Created by shuzheng on 2016/11/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsCategoryService extends BaseService<CmsCategory, CmsCategoryExample> {
|
public interface CmsCategoryService extends BaseService<CmsCategory, CmsCategoryExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsCategoryMapper;
|
import com.zheng.cms.dao.mapper.CmsCategoryMapper;
|
||||||
import com.zheng.cms.dao.model.CmsCategory;
|
import com.zheng.cms.dao.model.CmsCategory;
|
||||||
import com.zheng.cms.dao.model.CmsCategoryExample;
|
import com.zheng.cms.dao.model.CmsCategoryExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsCategoryService接口
|
* 降级实现CmsCategoryService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsCategoryServiceMock extends BaseServiceMock<CmsCategoryMapper, CmsCategory, CmsCategoryExample> implements CmsCategoryService {
|
public class CmsCategoryServiceMock extends BaseServiceMock<CmsCategoryMapper, CmsCategory, CmsCategoryExample> implements CmsCategoryService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsComment;
|
||||||
import com.zheng.cms.dao.model.CmsCommentExample;
|
import com.zheng.cms.dao.model.CmsCommentExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 评论service接口
|
* CmsCommentService接口
|
||||||
* Created by shuzheng on 2016/11/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsCommentService extends BaseService<CmsComment, CmsCommentExample> {
|
public interface CmsCommentService extends BaseService<CmsComment, CmsCommentExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsCommentMapper;
|
import com.zheng.cms.dao.mapper.CmsCommentMapper;
|
||||||
import com.zheng.cms.dao.model.CmsComment;
|
import com.zheng.cms.dao.model.CmsComment;
|
||||||
import com.zheng.cms.dao.model.CmsCommentExample;
|
import com.zheng.cms.dao.model.CmsCommentExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsCommentService接口
|
* 降级实现CmsCommentService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsCommentServiceMock extends BaseServiceMock<CmsCommentMapper, CmsComment, CmsCommentExample> implements CmsCommentService {
|
public class CmsCommentServiceMock extends BaseServiceMock<CmsCommentMapper, CmsComment, CmsCommentExample> implements CmsCommentService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsMenu;
|
||||||
import com.zheng.cms.dao.model.CmsMenuExample;
|
import com.zheng.cms.dao.model.CmsMenuExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 菜单service接口
|
* CmsMenuService接口
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsMenuService extends BaseService<CmsMenu, CmsMenuExample> {
|
public interface CmsMenuService extends BaseService<CmsMenu, CmsMenuExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsMenuMapper;
|
import com.zheng.cms.dao.mapper.CmsMenuMapper;
|
||||||
import com.zheng.cms.dao.model.CmsMenu;
|
import com.zheng.cms.dao.model.CmsMenu;
|
||||||
import com.zheng.cms.dao.model.CmsMenuExample;
|
import com.zheng.cms.dao.model.CmsMenuExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsMenuService接口
|
* 降级实现CmsMenuService接口
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsMenuServiceMock extends BaseServiceMock<CmsMenuMapper, CmsMenu, CmsMenuExample> implements CmsMenuService {
|
public class CmsMenuServiceMock extends BaseServiceMock<CmsMenuMapper, CmsMenu, CmsMenuExample> implements CmsMenuService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsPage;
|
||||||
import com.zheng.cms.dao.model.CmsPageExample;
|
import com.zheng.cms.dao.model.CmsPageExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 页面service接口
|
* CmsPageService接口
|
||||||
* Created by shuzheng on 2017/01/08.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsPageService extends BaseService<CmsPage, CmsPageExample> {
|
public interface CmsPageService extends BaseService<CmsPage, CmsPageExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsPageMapper;
|
import com.zheng.cms.dao.mapper.CmsPageMapper;
|
||||||
import com.zheng.cms.dao.model.CmsPage;
|
import com.zheng.cms.dao.model.CmsPage;
|
||||||
import com.zheng.cms.dao.model.CmsPageExample;
|
import com.zheng.cms.dao.model.CmsPageExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsPageService接口
|
* 降级实现CmsPageService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsPageServiceMock extends BaseServiceMock<CmsPageMapper, CmsPage, CmsPageExample> implements CmsPageService {
|
public class CmsPageServiceMock extends BaseServiceMock<CmsPageMapper, CmsPage, CmsPageExample> implements CmsPageService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsSetting;
|
||||||
import com.zheng.cms.dao.model.CmsSettingExample;
|
import com.zheng.cms.dao.model.CmsSettingExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 网站设置service接口
|
* CmsSettingService接口
|
||||||
* Created by shuzheng on 2017/01/08.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsSettingService extends BaseService<CmsSetting, CmsSettingExample> {
|
public interface CmsSettingService extends BaseService<CmsSetting, CmsSettingExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsSettingMapper;
|
import com.zheng.cms.dao.mapper.CmsSettingMapper;
|
||||||
import com.zheng.cms.dao.model.CmsSetting;
|
import com.zheng.cms.dao.model.CmsSetting;
|
||||||
import com.zheng.cms.dao.model.CmsSettingExample;
|
import com.zheng.cms.dao.model.CmsSettingExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsSettingService接口
|
* 降级实现CmsSettingService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsSettingServiceMock extends BaseServiceMock<CmsSettingMapper, CmsSetting, CmsSettingExample> implements CmsSettingService {
|
public class CmsSettingServiceMock extends BaseServiceMock<CmsSettingMapper, CmsSetting, CmsSettingExample> implements CmsSettingService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsTag;
|
||||||
import com.zheng.cms.dao.model.CmsTagExample;
|
import com.zheng.cms.dao.model.CmsTagExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 标签service接口
|
* CmsTagService接口
|
||||||
* Created by shuzheng on 2016/11/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsTagService extends BaseService<CmsTag, CmsTagExample> {
|
public interface CmsTagService extends BaseService<CmsTag, CmsTagExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsTagMapper;
|
import com.zheng.cms.dao.mapper.CmsTagMapper;
|
||||||
import com.zheng.cms.dao.model.CmsTag;
|
import com.zheng.cms.dao.model.CmsTag;
|
||||||
import com.zheng.cms.dao.model.CmsTagExample;
|
import com.zheng.cms.dao.model.CmsTagExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsTagService接口
|
* 降级实现CmsTagService接口
|
||||||
* Created by shuzheng on 2017/2/14.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsTagServiceMock extends BaseServiceMock<CmsTagMapper, CmsTag, CmsTagExample> implements CmsTagService {
|
public class CmsTagServiceMock extends BaseServiceMock<CmsTagMapper, CmsTag, CmsTagExample> implements CmsTagService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.zheng.cms.rpc.api;
|
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.CmsTopic;
|
||||||
import com.zheng.cms.dao.model.CmsTopicExample;
|
import com.zheng.cms.dao.model.CmsTopicExample;
|
||||||
import com.zheng.common.base.BaseService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 专题service接口
|
* CmsTopicService接口
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public interface CmsTopicService extends BaseService<CmsTopic, CmsTopicExample> {
|
public interface CmsTopicService extends BaseService<CmsTopic, CmsTopicExample> {
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
package com.zheng.cms.rpc.api;
|
package com.zheng.cms.rpc.api;
|
||||||
|
|
||||||
|
import com.zheng.common.base.BaseServiceMock;
|
||||||
import com.zheng.cms.dao.mapper.CmsTopicMapper;
|
import com.zheng.cms.dao.mapper.CmsTopicMapper;
|
||||||
import com.zheng.cms.dao.model.CmsTopic;
|
import com.zheng.cms.dao.model.CmsTopic;
|
||||||
import com.zheng.cms.dao.model.CmsTopicExample;
|
import com.zheng.cms.dao.model.CmsTopicExample;
|
||||||
import com.zheng.common.base.BaseServiceMock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 降级实现CmsTopicService接口
|
* 降级实现CmsTopicService接口
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
public class CmsTopicServiceMock extends BaseServiceMock<CmsTopicMapper, CmsTopic, CmsTopicExample> implements CmsTopicService {
|
public class CmsTopicServiceMock extends BaseServiceMock<CmsTopicMapper, CmsTopic, CmsTopicExample> implements CmsTopicService {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
||||||
|
}
|
|
@ -1,20 +1,21 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsArticleMapper;
|
||||||
import com.zheng.cms.dao.model.CmsArticle;
|
import com.zheng.cms.dao.model.CmsArticle;
|
||||||
import com.zheng.cms.dao.model.CmsArticleExample;
|
import com.zheng.cms.dao.model.CmsArticleExample;
|
||||||
import com.zheng.cms.rpc.api.CmsArticleService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文章service实现
|
* CmsArticleService实现
|
||||||
* Created by shuzheng on 2017/01/07.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
|
@ -22,4 +23,7 @@ public class CmsArticleServiceImpl extends BaseServiceImpl<CmsArticleMapper, Cms
|
||||||
|
|
||||||
private static Logger _log = LoggerFactory.getLogger(CmsArticleServiceImpl.class);
|
private static Logger _log = LoggerFactory.getLogger(CmsArticleServiceImpl.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CmsArticleMapper cmsArticleMapper;
|
||||||
|
|
||||||
}
|
}
|
|
@ -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;
|
||||||
|
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
||||||
|
}
|
|
@ -1,20 +1,21 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsCategoryMapper;
|
||||||
import com.zheng.cms.dao.model.CmsCategory;
|
import com.zheng.cms.dao.model.CmsCategory;
|
||||||
import com.zheng.cms.dao.model.CmsCategoryExample;
|
import com.zheng.cms.dao.model.CmsCategoryExample;
|
||||||
import com.zheng.cms.rpc.api.CmsCategoryService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 类目service实现
|
* CmsCategoryService实现
|
||||||
* Created by shuzheng on 2017/01/07.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
|
@ -22,4 +23,7 @@ public class CmsCategoryServiceImpl extends BaseServiceImpl<CmsCategoryMapper, C
|
||||||
|
|
||||||
private static Logger _log = LoggerFactory.getLogger(CmsCategoryServiceImpl.class);
|
private static Logger _log = LoggerFactory.getLogger(CmsCategoryServiceImpl.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CmsCategoryMapper cmsCategoryMapper;
|
||||||
|
|
||||||
}
|
}
|
|
@ -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;
|
||||||
|
|
||||||
|
}
|
|
@ -1,20 +1,21 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsCommentMapper;
|
||||||
import com.zheng.cms.dao.model.CmsComment;
|
import com.zheng.cms.dao.model.CmsComment;
|
||||||
import com.zheng.cms.dao.model.CmsCommentExample;
|
import com.zheng.cms.dao.model.CmsCommentExample;
|
||||||
import com.zheng.cms.rpc.api.CmsCommentService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 评论service实现
|
* CmsCommentService实现
|
||||||
* Created by shuzheng on 2017/01/07.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
|
@ -22,4 +23,7 @@ public class CmsCommentServiceImpl extends BaseServiceImpl<CmsCommentMapper, Cms
|
||||||
|
|
||||||
private static Logger _log = LoggerFactory.getLogger(CmsCommentServiceImpl.class);
|
private static Logger _log = LoggerFactory.getLogger(CmsCommentServiceImpl.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CmsCommentMapper cmsCommentMapper;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,20 +1,21 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsMenuMapper;
|
||||||
import com.zheng.cms.dao.model.CmsMenu;
|
import com.zheng.cms.dao.model.CmsMenu;
|
||||||
import com.zheng.cms.dao.model.CmsMenuExample;
|
import com.zheng.cms.dao.model.CmsMenuExample;
|
||||||
import com.zheng.cms.rpc.api.CmsMenuService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 菜单service实现
|
* CmsMenuService实现
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
|
@ -22,4 +23,7 @@ public class CmsMenuServiceImpl extends BaseServiceImpl<CmsMenuMapper, CmsMenu,
|
||||||
|
|
||||||
private static Logger _log = LoggerFactory.getLogger(CmsMenuServiceImpl.class);
|
private static Logger _log = LoggerFactory.getLogger(CmsMenuServiceImpl.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CmsMenuMapper cmsMenuMapper;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,25 +1,29 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsPageMapper;
|
||||||
import com.zheng.cms.dao.model.CmsPage;
|
import com.zheng.cms.dao.model.CmsPage;
|
||||||
import com.zheng.cms.dao.model.CmsPageExample;
|
import com.zheng.cms.dao.model.CmsPageExample;
|
||||||
import com.zheng.cms.rpc.api.CmsPageService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 页面service实现
|
* CmsPageService实现
|
||||||
* Created by shuzheng on 2017/01/08.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
public class CmsPageServiceImpl extends BaseServiceImpl<CmsPageMapper, CmsPage, CmsPageExample> implements CmsPageService {
|
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;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,25 +1,29 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsSettingMapper;
|
||||||
import com.zheng.cms.dao.model.CmsSetting;
|
import com.zheng.cms.dao.model.CmsSetting;
|
||||||
import com.zheng.cms.dao.model.CmsSettingExample;
|
import com.zheng.cms.dao.model.CmsSettingExample;
|
||||||
import com.zheng.cms.rpc.api.CmsSettingService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 网站设置service实现
|
* CmsSettingService实现
|
||||||
* Created by shuzheng on 2017/01/08.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
public class CmsSettingServiceImpl extends BaseServiceImpl<CmsSettingMapper, CmsSetting, CmsSettingExample> implements CmsSettingService {
|
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;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,25 +1,29 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsTagMapper;
|
||||||
import com.zheng.cms.dao.model.CmsTag;
|
import com.zheng.cms.dao.model.CmsTag;
|
||||||
import com.zheng.cms.dao.model.CmsTagExample;
|
import com.zheng.cms.dao.model.CmsTagExample;
|
||||||
import com.zheng.cms.rpc.api.CmsTagService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 标签service实现
|
* CmsTagService实现
|
||||||
* Created by shuzheng on 2017/01/07.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
public class CmsTagServiceImpl extends BaseServiceImpl<CmsTagMapper, CmsTag, CmsTagExample> implements CmsTagService {
|
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;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,20 +1,21 @@
|
||||||
package com.zheng.cms.rpc.service.impl;
|
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.mapper.CmsTopicMapper;
|
||||||
import com.zheng.cms.dao.model.CmsTopic;
|
import com.zheng.cms.dao.model.CmsTopic;
|
||||||
import com.zheng.cms.dao.model.CmsTopicExample;
|
import com.zheng.cms.dao.model.CmsTopicExample;
|
||||||
import com.zheng.cms.rpc.api.CmsTopicService;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 专题service实现
|
* CmsTopicService实现
|
||||||
* Created by shuzheng on 2017/3/18.
|
* Created by shuzheng on 2017/3/20.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@BaseService
|
@BaseService
|
||||||
|
@ -22,4 +23,7 @@ public class CmsTopicServiceImpl extends BaseServiceImpl<CmsTopicMapper, CmsTopi
|
||||||
|
|
||||||
private static Logger _log = LoggerFactory.getLogger(CmsTopicServiceImpl.class);
|
private static Logger _log = LoggerFactory.getLogger(CmsTopicServiceImpl.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
CmsTopicMapper cmsTopicMapper;
|
||||||
|
|
||||||
}
|
}
|
|
@ -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;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue