正在显示
2 个修改的文件
包含
3 行增加
和
2 行删除
@@ -94,7 +94,7 @@ class G2X21NoticeToSamples extends Script implements ChannelCheckScript{ | @@ -94,7 +94,7 @@ class G2X21NoticeToSamples extends Script implements ChannelCheckScript{ | ||
94 | /** | 94 | /** |
95 | * 写入本地验放通过信息 | 95 | * 写入本地验放通过信息 |
96 | */ | 96 | */ |
97 | - enginCheckService.commandlog(info,true,"同步采集信息通知",executeParams); | 97 | + enginCheckService.commandlog(info,true,"口岸放行,已转至特殊区域验放",executeParams); |
98 | 98 | ||
99 | if (info!=null){ | 99 | if (info!=null){ |
100 | //将X21报文转换成X81格式 | 100 | //将X21报文转换成X81格式 |
@@ -186,6 +186,7 @@ class G2X21NoticeToSamples extends Script implements ChannelCheckScript{ | @@ -186,6 +186,7 @@ class G2X21NoticeToSamples extends Script implements ChannelCheckScript{ | ||
186 | log.info("[X21]-{}",x21XML); | 186 | log.info("[X21]-{}",x21XML); |
187 | 187 | ||
188 | sendWithSocket_x21(x21XML,"4612329012",channelG2,IE_TYPE) | 188 | sendWithSocket_x21(x21XML,"4612329012",channelG2,IE_TYPE) |
189 | + log.info("[X21-同步]-success") | ||
189 | return x21XML; | 190 | return x21XML; |
190 | 191 | ||
191 | }else { | 192 | }else { |
@@ -231,7 +231,7 @@ class G2X21NoticeWithTrue extends Script implements ChannelCheckScript{ | @@ -231,7 +231,7 @@ class G2X21NoticeWithTrue extends Script implements ChannelCheckScript{ | ||
231 | 231 | ||
232 | return HAIGUAN_MQ_TEMPLATE.replace("#{CopMsgId}",copMsgId) | 232 | return HAIGUAN_MQ_TEMPLATE.replace("#{CopMsgId}",copMsgId) |
233 | .replace("#{CreatTime}",creatTime) | 233 | .replace("#{CreatTime}",creatTime) |
234 | - .replace("#{MsgType}","QNLZ") | 234 | + .replace("#{MsgType}","QGDB") |
235 | .replace("#{Data}",base64EncodeToString); | 235 | .replace("#{Data}",base64EncodeToString); |
236 | } | 236 | } |
237 | 237 |
-
请 注册 或 登录 后发表评论