Compare commits

..

No commits in common. "9517766e46b686fa77860319d6e96a56c66af637" and "7257b3469f14f31abf624d9e93850049b72209e1" have entirely different histories.

View File

@ -923,7 +923,7 @@ namespace APT.SC.WebApi.Controllers.Api.BI
} }
} }
//各家公司风险类别图 //各家公司风险类别图
string sqlRiskType = "select typeName,count(1) as qty from vhome_library_data GROUP BY typeName ORDER BY qty desc"; string sqlRiskType = "select RISK_NAME as typeName,count(1) as qty from vhome_library_data GROUP BY RISK_NAME ORDER BY qty desc";
SqlCommand comRiskType = new SqlCommand(sqlRiskType, connection); SqlCommand comRiskType = new SqlCommand(sqlRiskType, connection);
SqlDataAdapter riskTypeData = new SqlDataAdapter(comRiskType); SqlDataAdapter riskTypeData = new SqlDataAdapter(comRiskType);
riskTypeData.Fill(tableRiskType); riskTypeData.Fill(tableRiskType);