|  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson2.JSONObject; | 
|---|
|  |  |  | import com.dy.common.aop.SsoAop; | 
|---|
|  |  |  | import com.dy.common.mw.protocol.Command; | 
|---|
|  |  |  | import com.dy.common.util.Callback; | 
|---|
|  |  |  | import com.dy.common.util.NumUtil; | 
|---|
|  |  |  | import com.dy.common.webUtil.BaseResponse; | 
|---|
|  |  |  | import com.dy.common.webUtil.BaseResponseUtils; | 
|---|
|  |  |  | 
|---|
|  |  |  | res = super.doSend(sv, com) ; | 
|---|
|  |  |  | if(res == null) { | 
|---|
|  |  |  | //发送命令后 | 
|---|
|  |  |  | res = super.after(dto.comCode); | 
|---|
|  |  |  | res = super.after(dto.comCode, null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }catch (Exception e){ | 
|---|
|  |  |  | res = BaseResponseUtils.buildFail("服务端构造并向通信中间件发送请求时异常" + (e.getMessage() == null?"":e.getMessage())) ; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | protected String createRtnMsg(String code, JSONObject resultData){ | 
|---|
|  |  |  | protected String dealComResult(String code, JSONObject resultData, Callback callback){ | 
|---|
|  |  |  | String msg; | 
|---|
|  |  |  | if(resultData != null){ | 
|---|
|  |  |  | JSONObject codeData = resultData.getJSONObject("data") ; | 
|---|