package com.cftech.sys.service;

import com.cftech.core.generic.GenericService;
import com.cftech.core.sql.Conds;
import com.cftech.core.sql.Sort;
import com.cftech.sys.model.Log;

import java.util.List;

/**
 * logService
 * Created by lisw 02/09/2016.
 */
public interface LogService extends GenericService<Log> {
	 /**
     * 分页查询，关联后台用户
     *
     * @return
     */
    List<Log> fetchSearchByPageSysUser(Conds conds, Sort sort, int page, int pageSize);

    /**
     * 查询总数
     *
     * @return
     */
    int countSysUser(Conds conds);
}
