gogozz

导航

泛微代码访问第三方数据库

1、OA数据源添加数据库

 

2、代码示例

RecordSet rs = new RecordSet() ;
        rs.executeSqlWithDataSource(" select mrcode from mes_drawingmanag where  mrcode = '10105600001' " , "Mes" );
        String mrcode = "";
        if (rs.next()){
            mrcode = rs.getString("mrcode");
        }

 

posted on 2023-09-08 11:00  stfzhuang  阅读(573)  评论(0编辑  收藏  举报