diff --git a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java index 2aa882d5..961e6192 100644 --- a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java +++ b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java @@ -2696,8 +2696,20 @@ public class WmOmNoticeHController extends BaseController { String hqlrongqi = "from WmOmQmIEntity where omNoticeId = ?"; List listom =new ArrayList<>(); listom = wmOmNoticeHService.findHql(hqlrongqi, t.getOmNoticeId()); + boolean isshow = true; + for(WmOmQmIEntity tom: listom ){ + if("H".equals(tom.getBinSta())){ + isshow = false; + } + + } try{ - t.setOmPlatNo(listom.get(0).getSecondRq()); + if(isshow){ + t.setOmPlatNo(listom.get(0).getSecondRq()); + }else{ + t.setOmPlatNo("未分拣完成"); + + } }catch (Exception e){ }