| | |
| | | |
| | | Integer selectExistInEmpty(); |
| | | |
| | | @Select("select * from where crn_no=#{crnNo} and io_type>=100 order by appe_time") |
| | | @Select("select * from where crn_no=#{crnNo} and wrk_sts=11 and io_type>100 order by io_pri desc,io_time desc,wrk_no ASC") |
| | | public List<WrkMast> selectWrkIoType(@Param("crnNo") Integer crnNo); |
| | | |
| | | |
| | |
| | | wrkMasts.add(wrkMast); |
| | | count++; |
| | | if(count==0) continue; |
| | | if(wrkMast.getWrkDate().getTime()<wrkMasts.get(i).getWrkDate().getTime()) |
| | | if(wrkMast.getWrkDate().getTime()<wrkMasts.get(i).getWrkDate().getTime() && wrkMast.getIoPri()<wrkMasts.get(i).getIoPri()) |
| | | i=count; |
| | | crnStn1=crnStn; |
| | | } |