音乐管理系统的权限功能的添加
public int qxcx(String usename1) throws Exception
{
int type = 1;
Connection connection =DBUtil.getConection();
String sql =“select * from ub_user where username =?”;
PreparedStatement preparedStatement =connection.prepareStatement(sql);
preparedStatement.setString(1,usename1);
ResultSet resultSet = preparedStatement.executeQuery();
while (resultSet.next()){
type=resultSet.getInt(4);
}
return type;
}
07-15
07-15
07-15
07-15
07-15
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交