|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoRm.RmCommandHistory; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voRm.VoCommand; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voRm.VoUnclosedParam; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voRm.VoUnclosedValve; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voRm.VoCommand; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2024-05-24 10:46 | 
|---|
|  |  |  | * @LastEditTime 2024-05-24 10:46 | 
|---|
|  |  |  | * @date 2024-07-17 10:31 | 
|---|
|  |  |  | * @LastEditTime 2024-07-17 10:31 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | public interface RmCommandHistoryMapper extends BaseMapper<RmCommandHistory> { | 
|---|
|  |  |  | int deleteByPrimaryKey(Long id); | 
|---|
|  |  |  | int deleteByPrimaryKey(Long comId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(RmCommandHistory record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertSelective(RmCommandHistory record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | RmCommandHistory selectByPrimaryKey(Long id); | 
|---|
|  |  |  | RmCommandHistory selectByPrimaryKey(Long comId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKeySelective(RmCommandHistory record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | VoUnclosedParam getUncloseParam(@Param("onLineMap") String onLineMap, @Param("intakeId")Long intakeId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //获取命令历史记录 | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定条件获取命令日志历史记录总数 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long getCommandHistoriesCount(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定条件获取命令日志历史记录 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<VoCommand> getCommandHistories(Map<?, ?> params); | 
|---|
|  |  |  | } | 
|---|