| | |
| | | |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import com.example.springboot.entity.Glass; |
| | | import com.example.springboot.entity.Queue; |
| | | import com.example.springboot.entity.north_glass_buffer1; |
| | | @Component |
| | |
| | | return glass; |
| | | } |
| | | |
| | | //根据铝框id查询是否翻转 |
| | | //根据铝框id查询l铝框是否翻转 |
| | | public String SelectFlipByFrameBarcode(String frameBarcode) throws SQLException { |
| | | conn = getConn(); |
| | | // north_glass_buffer1 glass=new north_glass_buffer1(); |
| | |
| | | } |
| | | // conn.close(); |
| | | return flip; |
| | | } |
| | | //根据铝框id查询是否铝框摆放 |
| | | public String SelectPositionByFrameBarcode(String frameBarcode) throws SQLException { |
| | | conn = getConn(); |
| | | // north_glass_buffer1 glass=new north_glass_buffer1(); |
| | | String position=""; |
| | | String sql1 = "select * from north_glass_buffer1_frames where Barcode=? limit 1"; |
| | | ps = conn.prepareStatement(sql1); |
| | | ps.setString(1, frameBarcode); |
| | | rs= ps.executeQuery(); |
| | | while (rs.next()) { |
| | | position=rs.getString("position"); |
| | | } |
| | | // conn.close(); |
| | | return position; |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |