package com.ssj.service.sys.photoscroll.service;

import com.ssj.bean.sys.photoscroll.bean.Photoscroll;
import com.ssj.framework.core.common.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface PhotoscrollService extends BaseService<Photoscroll, String> {

	public Page<Photoscroll> findByPage(Map<String, Object> params, Pageable sp);

	/**
	 * 获取所有轮播图
	 * @param phoneType
	 * @return
	 */
	List<Photoscroll> getPhototList(String phoneType);

	/**
	 * 修改排序
	 * @param id
	 * @param photoOrder
	 * @return
	 */
	Integer updatePhotoOrder(String id,int photoOrder);

}
