package com.dy.pipIrrGlobal.daoRm; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoRm.RmCommandHistory; import com.dy.pipIrrGlobal.voRm.VoUnclosedValve; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author ZhuBaoMin * @date 2024-05-24 10:46 * @LastEditTime 2024-05-24 10:46 * @Description */ @Mapper public interface RmCommandHistoryMapper extends BaseMapper { int deleteByPrimaryKey(Long id); int insert(RmCommandHistory record); int insertSelective(RmCommandHistory record); RmCommandHistory selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(RmCommandHistory record); int updateByPrimaryKey(RmCommandHistory record); /** * 根据操作员ID获取未关阀记录(包含在线情况) * @param onLineMap * @param operator * @return */ List getUnclosedValves(@Param("onLineMap") String onLineMap, @Param("operator") Long operator); }