分拣后显示月台

master
erzhongxmu 2020-12-27 17:00:42 +08:00
parent 332feba672
commit b35a2dd826
1 changed files with 13 additions and 1 deletions

View File

@ -2696,8 +2696,20 @@ public class WmOmNoticeHController extends BaseController {
String hqlrongqi = "from WmOmQmIEntity where omNoticeId = ?";
List<WmOmQmIEntity> 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){
}