|  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoIr.IrProject; | 
 |  |  | import com.dy.pipIrrGlobal.pojoPr.PrController; | 
 |  |  | import com.dy.pipIrrGlobal.pojoPr.PrIntake; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoProject; | 
 |  |  | import com.dy.pipIrrGlobal.voIr.VoProjectOne; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoIntake; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author :WuZeYu | 
 |  |  | 
 |  |  |  */ | 
 |  |  | @Mapper | 
 |  |  | public interface IrProjectMapper extends BaseMapper<IrProject> { | 
 |  |  |  | 
 |  |  |     //增 | 
 |  |  |     int insertSelective(IrProject record); | 
 |  |  |  | 
 |  |  |     //删 | 
 |  |  |     int deleteLogicById(Long id); | 
 |  |  |  | 
 |  |  |     //改 | 
 |  |  |     int updateByPrimaryKeySelective(IrProject record); | 
 |  |  |  | 
 |  |  |     //查一个 | 
 |  |  |     VoProjectOne selectById(Long id); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改项目状态 | 
 |  |  |      * | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     int updateProjectState(IrProject record); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据下级Id获取上一级地址Id | 
 |  |  |      * | 
 |  |  |      * @param vaId 下一级Id | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getSupperByVillageId(long vaId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取项目记录数 | 
 |  |  |      * | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getRecordCount(Map<?, ?> params); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取项目记录 | 
 |  |  |      * | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoProject> getProjects(Map<?, ?> params); | 
 |  |  | } |