|  |  | 
 |  |  |  | 
 |  |  | import com.dy.common.webUtil.QueryResultVo; | 
 |  |  | import com.dy.pipIrrGlobal.daoRm.UgRtuProgramMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoRm.UgRtuProgram; | 
 |  |  | import com.dy.pipIrrGlobal.pojoUg.UgRtuProgram; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.dubbo.common.utils.PojoUtils; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | 
 |  |  |         rsVo.obj = this.dao.selectAll() ; | 
 |  |  |         return rsVo ; | 
 |  |  |     } | 
 |  |  |     /** | 
 |  |  |      * 查询数据库,是否存在给定升级文件名称 | 
 |  |  |      * @param programFileName 文件名称 | 
 |  |  |      * @return bool | 
 |  |  |      */ | 
 |  |  |     public boolean existFileName(String programFileName){ | 
 |  |  |         Long count = this.dao.selectByFileName(programFileName) ; | 
 |  |  |         if(count != null && count > 0){ | 
 |  |  |             return true ; | 
 |  |  |         }else{ | 
 |  |  |             return false ; | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增保存分水口实体 |