Commit 782a0f11 authored by 麻笑宇's avatar 麻笑宇

refactor(amos-boot-module-statistics): 优化技术参数查询异常提示信息

- 将异常信息从 "该条件需要优先选择设备种类,再进行尝试" 修改为 "需要先选择设备品种,才能选择技术参数" - 优化了用户体验,使错误提示更加清晰明了
parent 0d59326a
......@@ -1700,7 +1700,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
public JSONArray queryTechParam(String type) {
if(ValidationUtil.isEmpty(type)){
throw new BadRequest("该条件需要优先选择设备种类,再进行尝试");
throw new BadRequest("需要先选择设备品种,才能选择技术参数");
}
List<TechParamItem> paramMetaList = TechParamUtil.getParamMetaList(type);
JSONArray list = new JSONArray();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment