作者 xudada

进出卡口写日志更新写入运单列表问题

... ... @@ -424,11 +424,11 @@ public class LiftBar {
logger.info(String.format("开始发送指令:车牌%s,场站%s,通道%s,重量%s",info.getVename(),info.getAreaid(),info.getChnlno(),info.getGrosswt()));
boolean flag = false;
if (check) {
//CommandClient.Client(info, PERMITTHOUGH);
CommandClient.Client(info, PERMITTHOUGH);
logger.info("=============>>>>>>>>放行报文发送成功<<<<<<<<<==============");
flag = true;
} else {
//CommandClient.Client(info, reason);
CommandClient.Client(info, reason);
logger.info("=============>>>>>>>>重量异常报文发送成功<<<<<<<<<==============");
}
commandlog(info,check,reason,land,list_infos);
... ...
... ... @@ -47,7 +47,7 @@ public class ResMessageServiceImpl implements ResMessageService {
public boolean checkManifestRelease(GatherInfo info, List<LAND_BUSINEESTYPE_LIST_INFO> list_infos) {
List<String> noRelease = new Vector<>();
if (list_infos.size() < 1) {
//CommandClient.Client(info, AWB_EMPTY);
CommandClient.Client(info, AWB_EMPTY);
return false;
}
... ... @@ -71,7 +71,7 @@ public class ResMessageServiceImpl implements ResMessageService {
}
if (!noRelease.isEmpty()) {
logger.info(Arrays.toString(noRelease.toArray())+FANGXING);
//CommandClient.Client(info, Arrays.toString(noRelease.toArray())+FANGXING);
CommandClient.Client(info, Arrays.toString(noRelease.toArray())+FANGXING);
}
}
}
... ...