|  |  | 
 |  |  |         com.code = "LCD0001"; | 
 |  |  |         com.type = "innerCommand"; | 
 |  |  |  | 
 |  |  |         JSONObject response = (JSONObject) JSON.toJSON(sendCom2Mw(com)); | 
 |  |  |         JSONObject response = null; | 
 |  |  |         try { | 
 |  |  |             response = (JSONObject) JSON.toJSON(sendCom2Mw(com)); | 
 |  |  |         }catch (Exception e) { | 
 |  |  |             QueryResultVo<List<VoController>> rsVo = new QueryResultVo<>(); | 
 |  |  |             return rsVo; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         if (response != null && response.getString("code").equals("0001")) { | 
 |  |  |             JSONObject attachment = response.getJSONObject("content").getJSONObject("attachment").getJSONObject("onLineMap"); | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据控制器编号逻辑删除控制 | 
 |  |  |      * 根据控制器编号物理删除控制 | 
 |  |  |      * | 
 |  |  |      * @param controllerId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public Integer deleteControllerById(Long controllerId) { | 
 |  |  |         return prControllerMapper.deleteControllerById(controllerId); | 
 |  |  |         return prControllerMapper.deleteByPrimaryKey(controllerId); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** |