package com.sales.dao;

import java.util.List;

import com.sales.model.SUserPerformancePlan;

public interface SUserPerformancePlanDAO {
    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table s_user_performance_plan
     *
     * @abatorgenerated Tue Apr 23 17:36:31 CST 2013
     */
	Integer insert(SUserPerformancePlan record);

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table s_user_performance_plan
     *
     * @abatorgenerated Tue Apr 23 17:36:31 CST 2013
     */
    int updateByPrimaryKey(SUserPerformancePlan record);

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table s_user_performance_plan
     *
     * @abatorgenerated Tue Apr 23 17:36:31 CST 2013
     */
    int updateByPrimaryKeySelective(SUserPerformancePlan record);

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table s_user_performance_plan
     *
     * @abatorgenerated Tue Apr 23 17:36:31 CST 2013
     */
    SUserPerformancePlan selectByPrimaryKey(Integer performancePlanId);

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table s_user_performance_plan
     *
     * @abatorgenerated Tue Apr 23 17:36:31 CST 2013
     */
    int deleteByPrimaryKey(Integer performancePlanId);
    
    public List<SUserPerformancePlan> getUserPlanListPage(SUserPerformancePlan upp);
    
    public Integer getUserPlanListPageCount(SUserPerformancePlan upp);
}