liurunyu
2024-11-08 b18f999a5a899edec35a14daec21e764cc58ff2b
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoOp/OpeProcessingResultMapper.java
New file
@@ -0,0 +1,34 @@
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<OpeProcessingResult> {
    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);
}