| | |
| | | List<StorageCage> selectAll(); |
| | | |
| | | // 查询1-5笼内层格子状态 |
| | | @Select("SELECT state from storage_cage where cage<=5 and tier=1") |
| | | @Select("SELECT cage,state from storage_cage where cage<=5 and tier=1") |
| | | List<StorageCage> selectRack1(); |
| | | |
| | | // 查询6-10笼内层格子状态 |
| | | @Select("SELECT state from storage_cage where cage>5 and tier=1") |
| | | @Select("SELECT cage,state from storage_cage where cage>5 and tier=1") |
| | | List<StorageCage> selectRack2(); |
| | | |
| | | // 查询1-5笼外层格子状态 |
| | | @Select("SELECT state from storage_cage where cage<=5 and tier=2") |
| | | @Select("SELECT cage,state from storage_cage where cage<=5 and tier=2") |
| | | List<StorageCage> selectRack3(); |
| | | |
| | | // 查询6-10笼外层格子状态 |
| | | @Select("SELECT state from storage_cage where cage>5 and tier=2") |
| | | @Select("SELECT cage,state from storage_cage where cage>5 and tier=2") |
| | | List<StorageCage> selectRack4(); |
| | | |
| | | // 根据任务类型查询当前正在出片,进片的玻璃信息 |
| | |
| | | //获取报警信息 |
| | | @Select("select id,content,timeon as timeons,endTime from alarmmg where endTime is null") |
| | | List<alarmmg> SelectAlarmmgInfo(); |
| | | |
| | | //获取理片笼内玻璃信息 |
| | | @Select("select *,concat(glasswidth,' x ',glassheight) as lengthwidth from storage_cage where cage=#{cage} ") |
| | | List<StorageCage> SelectCageInfo(short cage); |
| | | |
| | | @Update("update storage_cage set state=0,glass_id=null,order_id=null,glasswidth=null,glassheight=null,coating=null where glass_id=#{glassid}") |
| | | void DeleteByGlassID(short glassid); |
| | | |
| | | } |