摘要:
1. TypeDao.java public Type select(int id) throws SQLException{ QueryRunner r = new QueryRunner(DBUtil.getDataSource()); String sql = "select * from t 阅读全文
摘要:
效果 0. Model层中: Type.java 1. TypeDao.java public List<Type> selectAll() throws SQLException{ QueryRunner r = new QueryRunner(DBUtil.getDataSource()); S 阅读全文