| | |
| | | //更新出片队列的任务状态 |
| | | @Update("update out_slice set state=#{state} where glassid=#{glassid}") |
| | | void OverOutSlice(String glassid,int state); |
| | | |
| | | //获取玻璃的铝框id |
| | | @Select("select barcode from out_slice where glassid=#{glassid};") |
| | | String SelectBarcode(String glassId); |
| | | //获取出片队列的铝框是否全部完成 |
| | | @Select("select MIN(state) from out_slice where barcode=#{barcode};") |
| | | int SelectOverState(String barcode); |
| | | //删除出片队列该铝框的id |
| | | @Delete("delete from out_slice where barcode=#{barcode};") |
| | | void DeleteQueue(String barcode); |
| | | //把该进片的玻璃更新到出片队列 |
| | | @Select("update out_slice set state=0 where glassId=#{glassId} and state=3") |
| | | void UpdateAddQueue(String glassId); |
| | | } |
| | | |