package com.jeeplus.modules.sg.project.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.sg.project.entity.WbsProject;
import com.jeeplus.modules.sg.project.entity.WbsSelection;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@MyBatisMapper
public interface ProjectMapper extends BaseMapper<WbsProject> {
    List<WbsProject> getList(WbsSelection wbsSelection);
    void updateNum(@Param("number") int number,@Param("id") String id);
//    int update(WbsProject wbsProject);
    List<WbsProject> findByName(String projectName);
}
