作者 朱兆平

add: 增加boolean类型的单一核销规则,一般适用于一线进出口业务,顺序应设置与其他boolean类型的后面,异步规则的前面

@@ -41,8 +41,8 @@ class X21FormSingileReleaseCheckWithTrue extends Script implements ChannelCheckS @@ -41,8 +41,8 @@ class X21FormSingileReleaseCheckWithTrue extends Script implements ChannelCheckS
41 LandBusListService landBusListService = context.getBean(LandBusListService.class) 41 LandBusListService landBusListService = context.getBean(LandBusListService.class)
42 count = landBusListService.selectHistoryCount(gatherInfo.getBarcode()); 42 count = landBusListService.selectHistoryCount(gatherInfo.getBarcode());
43 if (count>0){ 43 if (count>0){
44 - log.info("[Singile-Release-Success]-{}-{}",gatherInfo.getBarcode(),gatherInfo.getVename())  
45 releaseBarCode(gatherInfo,executeParams); 44 releaseBarCode(gatherInfo,executeParams);
  45 + log.info("[Singile-Release-Success]-{}-{}",gatherInfo.getBarcode(),gatherInfo.getVename())
46 return true; 46 return true;
47 }else { 47 }else {
48 log.error("[Singile-Release-Faild]-{}-{}",gatherInfo.getBarcode(),gatherInfo.getVename()) 48 log.error("[Singile-Release-Faild]-{}-{}",gatherInfo.getBarcode(),gatherInfo.getVename())
@@ -53,7 +53,7 @@ class X21FormSingileReleaseCheckWithTrue extends Script implements ChannelCheckS @@ -53,7 +53,7 @@ class X21FormSingileReleaseCheckWithTrue extends Script implements ChannelCheckS
53 53
54 } catch (Exception e){ 54 } catch (Exception e){
55 e.printStackTrace(); 55 e.printStackTrace();
56 - log.error("[LockNoticeCheck-ERR]:",e); 56 + log.error("[Singile-Release-With-True-ERR]:",e);
57 } 57 }
58 return false; 58 return false;
59 } 59 }