package com.dy.pipIrrGlobal.daoOp; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoOp.OpeProcessingResult; import org.apache.ibatis.annotations.Mapper; /** * @author ZhuBaoMin * @date 2024-11-06 11:39 * @LastEditTime 2024-11-06 11:39 * @Description */ @Mapper public interface OpeProcessingResultMapper extends BaseMapper { int deleteByPrimaryKey(Long id); int insert(OpeProcessingResult record); int insertSelective(OpeProcessingResult record); OpeProcessingResult selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(OpeProcessingResult record); int updateByPrimaryKey(OpeProcessingResult record); /** * 根据workOrderId获取未删除的处理结果数量,添加结果上报前判断使用 * @param workOrderId * @return */ Integer getValidResultCount(Long workOrderId); }