正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -128,6 +128,9 @@ class G2X81Notice extends Script implements ChannelCheckScript{ | @@ -128,6 +128,9 @@ class G2X81Notice extends Script implements ChannelCheckScript{ | ||
| 128 | JSONObject yard = chanel.getJSONObject("yard"); | 128 | JSONObject yard = chanel.getJSONObject("yard"); |
| 129 | String stationG2 = yard.getString("stationIdG2"); | 129 | String stationG2 = yard.getString("stationIdG2"); |
| 130 | log.info("[G2-YARD]-{}",stationG2); | 130 | log.info("[G2-YARD]-{}",stationG2); |
| 131 | + if (StringUtils.isEmpty(ve.getIcCode())){ | ||
| 132 | + ve.setIcCode(ve.getVeCustomsNo()) | ||
| 133 | + } | ||
| 131 | log.info("[VE-RFID-NO]:车辆电子车牌号:{}",ve.getIcCode()); | 134 | log.info("[VE-RFID-NO]:车辆电子车牌号:{}",ve.getIcCode()); |
| 132 | 135 | ||
| 133 | String x81XML= G2X81Template.template.replace("#{ie_flag}",gatherInfo.getIetype()) | 136 | String x81XML= G2X81Template.template.replace("#{ie_flag}",gatherInfo.getIetype()) |
-
请 注册 或 登录 后发表评论