Ver Código Fonte

修改删除错误提醒

konghl 4 anos atrás
pai
commit
ee057bb592

+ 4 - 0
location-rescue-service/src/main/java/com/ai/bss/location/rescue/controller/DeviceManageController.java

@ -172,6 +172,10 @@ public class DeviceManageController {
172 172
			result.put("result", true);
173 173
		} else {
174 174
			result.put("result", false);
175
			if ("只有注册或停用状态的设备才能删除!".equals(String.valueOf(resultMap.get("resultMsg")))){
176
				resultMap.put("resultMsg","终端已上传数据");
177
			}
178
175 179
			result.put("errMsg", "删除失败:" + resultMap.get("resultMsg"));
176 180
		}
177 181