New file |
| | |
| | | package com.dy.pipIrrGlobal.daoOp; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeProcessingResult; |
| | | import com.dy.pipIrrGlobal.voOp.VoProcessingResult_temp; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * @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); |
| | | |
| | | /** |
| | | * 根据工单ID获取未删除的工单对象 |
| | | * @param workOrderId |
| | | * @return |
| | | */ |
| | | OpeProcessingResult getByWorkOrderId(Long workOrderId); |
| | | |
| | | /** |
| | | * 获取指定巡检员的指定未删除且未审批的处理结果上报,删除处理结果前判断使用使用 |
| | | * @param proResultId |
| | | * @param inspectorId |
| | | * @return |
| | | */ |
| | | OpeProcessingResult getProResult(@Param("proResultId")Long proResultId, @Param("inspectorId")Long inspectorId); |
| | | |
| | | /** |
| | | * 逻辑删除一个未删除的处理结果记录 |
| | | * @param proResultId |
| | | * @return |
| | | */ |
| | | Integer deleteProResult(Long proResultId); |
| | | |
| | | /** |
| | | * 根据主键获取处理结果视图对象 |
| | | * @param proResultId |
| | | * @return |
| | | */ |
| | | VoProcessingResult_temp getProResultById(Long proResultId); |
| | | } |