作者 xudada

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

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