Steps to Reproduce: In Order.java, run the function queryOrderByUsername() and addOrder(), we can see the return results of executions. Expected output: When executing the queryOrderByUsername() and addOrder(), when the result is not null, we will see rsToAl(rs), otherwise it will return null. Actual output: We can only get the rsToAl(rs) and when the rs==null, it fails.
Resolution: We should add if conditional sentences if(rs==null) in queryOrderByUsername() and addOrder() to judge whether the result is null.