| | |
| | | List<alarmmg> SelectAlarmmgInfo(); |
| | | |
| | | //获取理片笼内玻璃信息 |
| | | @Select("select *,concat(round(a.glasswidth),' x ',round(a.glassheight)) as lengthwidth from storage_cage as a") |
| | | List<StorageCage> SelectCageInfo(short cage); |
| | | @Select("select * from storage_cage where position(#{cage} in ifnull(glass_id,\"\"))") |
| | | List<StorageCage> SelectCageInfo(String cage); |
| | | |
| | | @Update("update storage_cage set state=0,glass_id=null,order_id=null,glasswidth=null,glassheight=null where glass_id=#{glassid}") |
| | | void DeleteByGlassID(String glassid); |
| | |
| | | north_glass_buffer1 SelectBoxNo(String glassid); |
| | | |
| | | //查询出片队列信息 |
| | | @Select("select * from out_slice where state=0 or state=1") |
| | | @Select("select * from out_slice where state=0 or state=1 order by sequence") |
| | | List<Out_slice> SelectProductionqueue(); |
| | | |
| | | //根据玻璃id查询笼内玻璃信息 |
| | |
| | | @Select("INSERT INTO out_slice( `glassId`, `barcode`, `glasswidth`, `glassheight`, `state`, `flip`) VALUES ( #{glassid}, #{FrameNo}, #{glasslengthMm}, #{glassheightMm}, 0, #{flip});") |
| | | void AddOutSliceS(String glassid, String flip, String FrameNo, String glasslengthMm, String glassheightMm); |
| | | |
| | | //出片队列调序 |
| | | @Select("update out_slice set sequence=#{sequence} where glassid=#{glassId}") |
| | | void UpdateOutSliceSequence(String glassId,int sequence); |
| | | |
| | | |
| | | } |