12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.caimei.modules.cmpage.service;
- import com.caimei.modules.bulkpurchase.entity.PurchaseProduct;
- import com.caimei.modules.cmpage.dao.CmPageNameContentDao;
- import com.caimei.modules.cmpage.entity.PageNameContent ;
- import com.thinkgem.jeesite.common.service.CrudService;
- import com.thinkgem.jeesite.common.utils.StringUtils;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import org.springframework.transaction.annotation.Transactional;
- import java.util.List;
- /**
- * 图片及链接管理Service
- * @author LiJun
- * @version 2017-05-03
- */
- @Service
- @Transactional(readOnly = true)
- public class PageNameContentService extends CrudService<CmPageNameContentDao, PageNameContent> {
- @Autowired
- private CmPageNameContentDao cmPageNameContentDao;
- public PageNameContent get(String id) {
- return super.get(id);
- }
- @Transactional(readOnly = false)
- public void save(PageNameContent pageNameContent) {
- super.save(pageNameContent);
- }
- @Transactional(readOnly = false)
- public List<PageNameContent> findPageNameContentByPageid(String id) {
- return cmPageNameContentDao.findPageNameContentByPageid(id);
- }
- }
|