以下代码会报错类型转换错误
List list = getKmsLmapPPhasesServiceImp().findList(hqlInfo);
// 删除错误评估数据
String[] ids = (String[]) list.toArray();
getKmsLmapPPhasesServiceImp().delete(ids);
正确的做法
List list = getKmsLmapPPhasesServiceImp().findList(hqlInfo);
// 删除错误评估数据
String[] ids = (String[]) list.toArray(new String[0]);
getKmsLmapPPhasesServiceImp().delete(ids);