This commit is contained in:
何美荣 2026-05-20 16:45:26 +08:00
parent 5f0c17aaf6
commit f618c33564

View File

@ -923,7 +923,7 @@ namespace APT.SC.WebApi.Controllers.Api.BI
} }
} }
//各家公司风险类别图 //各家公司风险类别图
string sqlRiskType = "select RISK_NAME as typeName,count(1) as qty from vhome_library_data GROUP BY RISK_NAME ORDER BY qty desc"; string sqlRiskType = "select typeName,count(1) as qty from vhome_library_data GROUP BY typeName 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);