package com.railway.business.catenary.mapper; import com.github.pagehelper.Page; import com.railway.business.catenary.domain.BusJcbJcxc; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; /** * 检查表-交叉线岔 * @author zcf * @date 2021/10/18 */ @Mapper @Repository public interface BusJcbJcxcMapper { /** * @Description: 新增 */ int insert(BusJcbJcxc busJcbJcxc); /** * @Description: 删除 */ int delete(@Param("id") String id); /** * @Description: 更新 */ int update(BusJcbJcxc busJcbJcxc); /** * @Description: 获取单个 */ BusJcbJcxc getInfo(@Param("id") String id); /** * @Description: 查询列表 */ Page getList(BusJcbJcxc busJcbJcxc); /** * @Description: 获取上次检查记录 */ BusJcbJcxc getLastRecord(Long userId); }