|
@@ -252,12 +252,16 @@ public class CommReceiveService {
|
|
|
if (!StringUtils.equals(CommParseUtils.subSimNum(s), CommParseUtils.subSimNum(r))) {
|
|
|
return AjaxResult.error("subSimNum不对应!");
|
|
|
}
|
|
|
- }
|
|
|
- if (!StringUtils.equals(CommParseUtils.subCmd(s), CommParseUtils.subCmd(r))) {
|
|
|
- return AjaxResult.error("subCmd不对应!");
|
|
|
- }
|
|
|
- if (!StringUtils.equals(CommParseUtils.subCmdId(s), CommParseUtils.subCmdId(r))) {
|
|
|
- return AjaxResult.error("subCmdId不对应!");
|
|
|
+ if (!StringUtils.equals(CommParseUtils.subCmd(s), CommParseUtils.subCmd(r))) {
|
|
|
+ return AjaxResult.error("subCmd不对应!");
|
|
|
+ }
|
|
|
+ if (!StringUtils.equals(CommParseUtils.subCmdId(s), CommParseUtils.subCmdId(r))) {
|
|
|
+ return AjaxResult.error("subCmdId不对应!" +
|
|
|
+ CommParseUtils.subCmdId(s) +
|
|
|
+ "////" +
|
|
|
+ CommParseUtils.subCmdId(r)
|
|
|
+ );
|
|
|
+ }
|
|
|
}
|
|
|
return AjaxResult.success("接收报文匹配正确!");
|
|
|
}
|