|
楼主 |
发表于 2016-12-26 09:27:28
|
显示全部楼层
public static Table gridbxreport(){
String oracle = "SELECT fSBGD , fSCDY , fSBMC , fGZLX , fJJRW , fTSQK , fQQZY , fPJDM , fSL , fWXQK , fWXTD , fWXZK , fXYSD , fBXR , fKSBXSJ,fRWFPSJ, fXLR ,fWXWCSJ FROM FA_GZXX";
String mssql = "SELECT fSBGD , fSCDY , fSBMC , fGZLX , fJJRW , fTSQK , fQQZY , fPJDM, fSL , fWXQK , fWXTD , fWXZK , fXYSD , fBXR , fKSBXSJ,fRWFPSJ, fXLR ,fWXWCSJ FROM FA_GZXX";
HashMap<String,String> sqlMap = new HashMap<String,String>();
sqlMap.put(SQL.DEFAULT_DB_NAME,mssql);
sqlMap.put(DatabaseProduct.ORACLE.name(),oracle);
sqlMap.put(DatabaseProduct.MSSQL.name(),mssql);
sqlMap.put(DatabaseProduct.KINGBASE.name(),oracle);
sqlMap.put(DatabaseProduct.SYBASE.name(),mssql);
sqlMap.put(DatabaseProduct.DB2.name(),oracle);
return SQL.select(sqlMap,null,"/factory/sbbx/data");
怎么转换呢 |
|