| | |
| | | add(1901); |
| | | }}; |
| | | public static final List<Integer> STA_WORK_CU_CAR_THREE = new ArrayList<Integer>() {{ |
| | | add(118); |
| | | add(118);add(1901); |
| | | }}; |
| | | public static final List<Integer> STA_WORK_CU_CAR_FOUR = new ArrayList<Integer>() {{ |
| | | add(118); |
| | | add(118);add(1901); |
| | | }}; |
| | | |
| | | public static final List<Integer> STA_WORK_RU = new ArrayList<Integer>() {{ |
| | |
| | | } |
| | | } |
| | | |
| | | @Scheduled(cron = "0/1 * * * * ? ") |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void execute2(){ |
| | | RgvOneSign rgvTwoSign = rgvOneSignService.selectOne(new EntityWrapper<RgvOneSign>().eq("rgv_one_type","rgvTwo")); |
| | | if (Cools.isEmpty(rgvTwoSign) || rgvTwoSign.getRgvOneSign()!=0){ |
| | |
| | | } |
| | | } |
| | | int count1 = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_start", wrkMast.getStaNoCar$())); |
| | | if (count1!=0){ |
| | | continue; |
| | | } |
| | | int count2 = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_end", wrkMast.getStaNoCar$())); |
| | | if (count1+count2!=0){ |
| | | if (count2!=0){ |
| | | continue; |
| | | } |
| | | int countStart1 = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_start", staNo)); |
| | | if (countStart1!=0){ |
| | | continue; |
| | | } |
| | | int countStart2 = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_end", staNo)); |
| | | if (countStart2!=0){ |
| | | continue; |
| | | } |
| | | int countStart3 = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("wrk_no", wrkMast.getWrkNo())); |
| | | if (countStart1+countStart2+countStart3!=0){ |
| | | if (countStart3!=0){ |
| | | continue; |
| | | } |
| | | RgvOneSign rgvOneSign = rgvOneSignService.selectOne(new EntityWrapper<RgvOneSign>().eq("rgv_one_type","oneSign")); |