liurunyu
2024-11-08 5b8a52d6cef6f6b1032cc576471b505e69304331
pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/program/UgRtuProgramSv.java
@@ -59,6 +59,19 @@
        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 ;
        }
    }
    /**
     * 新增保存分水口实体