zhubaomin
2025-03-25 802fc74478ae3f2c4e8ab7cd417f97469c84f157
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.dy.pipIrrGlobal.daoIr;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoIr.IrIntakeOperate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * @author ZhuBaoMin
 * @date 2025-03-25 20:41
 * @LastEditTime 2025-03-25 20:41
 * @Description
 */
 
@Mapper
public interface IrIntakeOperateMapper extends BaseMapper<IrIntakeOperate> {
    int deleteByPrimaryKey(Long id);
 
    int insert(IrIntakeOperate record);
 
    int insertSelective(IrIntakeOperate record);
 
    IrIntakeOperate selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(IrIntakeOperate record);
 
    int updateByPrimaryKey(IrIntakeOperate record);
 
    /**
     * 根据命令ID更新取水口操作记录
     * @param commandId
     * @param commandResult
     * @return
     */
    int updateByCommandId(@Param("commandId") Long commandId, @Param("commandResult") Byte commandResult, @Param("failureFactors") String failureFactors);
}