|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.daoRm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoRm.RmWorkReportHistory; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoRm.UgRtuController; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoUg.UgRtuController; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voPr.VoController; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voUg.VoUgResult; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return deleteCount | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteByPrimaryKey(Long id); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * delete by task key | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param taskId task id | 
|---|
|  |  |  | * @return deleteCount | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteByTaskId(@Param("taskId")Long taskId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * insert record to table | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long selectCountByTaskAndCon(@Param("taskId") Long taskId, @Param("conId") Long conId) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 分页查询一个升级任务中所有控制器升级结查 数量 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long selectControllerUpgradeResultsCount(Map<?, ?> params) ; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 分页查询一个升级任务中所有控制器升级结查 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<VoUgResult> selectControllerUpgradeResults(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * update record selective | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return update count | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int updateByPrimaryKey(UgRtuController record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 更新升级RTU的升级完成状态 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int updateRtuUpgradeState(Map<?, ?> params) ; | 
|---|
|  |  |  | } | 
|---|