package com.test.test.service;

import com.test.test.domain.TestProject;
import com.test.test.domain.qo.TestProjectListQO;
import java.util.List;

/**
 * 需求Service接口
 *
 * @author pfl
 */
public interface ITestProjectService {

    /**
     * 查询需求列表
     * @param qo
     * @return
     */
    List<TestProject> selectTestProjectList(TestProjectListQO qo);

    /**
     * 新增需求
     * @param testProject
     * @return
     */
    public int insertTestProject(TestProject testProject);

    /**
     * 删除需求
     * @param id
     * @return
     */
    public int deleteTestProjectById(Long id);

    /**
     * 查询需求详情
     * @param id
     * @return
     */
    public TestProject selectTestProjectById(Long id);

    /**
     * 修改需求
     * @param testProject
     * @return
     */
    public int updateTestProject(TestProject testProject);
}
