package com.test.test.mapper;

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

public interface TestProjectMapper {

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

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

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

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

    /**
     * 更新需求
     * @param testProject
     * @return
     */
    int updateTestProject(TestProject testProject);
}

