freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生選課管理系統(tǒng)軟件工程設(shè)計論文-haorui(已改無錯字)

2022-10-19 08:23:23 本頁面
  

【正文】 urn i。 } public void setI(int i) { = i。 } public String getType() { return type。 } public void setType(String type) { = type。 } public Vector seclect(String ID,String password) throws SQLException { Vector v=new Vector()。 Dbc db=new Dbc()。 if((student)){ String sql=select * from stu where ID= 39。+ID+39。 and password= 39。+password+39。 (dkjgnkfdgnk)。 (sql)。 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 36 ResultSet rs=()。 String a = null。 while(()) { a=(name)。 Student s=new Student()。 ((ID))。 ((yuanxi))。 ((zhuanye))。 ((banji))。 ((nianji))。 ((name))。 (s)。 } if(!()){ i=1。 }else{ i=0。 } ().close()。 ().close()。 ().close()。 } if((teacher)){ String sql=select * from teacher where tno= 39。+ID+39。 and password= 39。+password+39。 (sql)。 ResultSet rs=()。 String a = null。 while(()) { a=(tname)。 Teacher t=new Teacher()。 ((tdept))。 ((tname))。 ((tno))。 (t)。 } if(!()){ i=1。 }else{ i=0。 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 37 } ().close()。 ().close()。 ().close()。 } if((manager)){ } return v。 } } package inter。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 public class Stufuntion { private int kexuan。 public Vector selectstu(String sid) throws SQLException{ Dbc db=new Dbc()。 String sql=select * from stu where ID= 39。+sid+39。 (sql)。 ResultSet rs=()。 Vector vct=new Vector()。 while(()){ Student stu=new Student()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 ((7))。 ((8))。 ((9))。 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 38 ((10))。 (stu)。 } ().close()。 ().close()。 ().close()。 return vct。 } public void xuanke(String sno,String o,String cxuhao) throws SQLException{ Dbc db=new Dbc()。 String sql,no =null,ko =null。 sql=select distinct o,cxuhao from courseinfo where o=39。+o+39。 and cxuhao=39。+cxuhao+39。 (sql)。 ResultSet rs。 rs=()。 while(()){ no=(o)。 } if(no==null){ kexuan=4。 return。 } sql=select o from selcourse where sno= 39。+sno+39。 and o= 39。+o+39。 (sql)。 rs=()。 while(()){ ko=(o)。 (ko)。 } if(ko!=null){ kexuan=2。 return。 } String rcsj[]=new String[100]。 sql=select distinct cshijian from courseinfo where (o,cxuhao) in ( select o,cxuhao from selcourse where sno=39。+sno+39。)。 (sql)。 rs=()。 int i=0。 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 39 while(()){ rcsj[i]=(cshijian)。 i=i+1。 } sql=select distinct cshijian from courseinfo where o=39。+o+39。 and cxuhao=39。+cxuhao+39。 (sql)。 rs=()。 int j=0。 String csj[]=new String[100]。 while(()){ csj[j]=(cshijian)。 j=j+1。 } for(int m=0。mi。m++){ (rcsj[m])。 for(int n=0。n=j。n++){ (csj[n])。 if(rcsj[m].equals(csj[n])){ kexuan=3。 return。 } } } sql=insert into selcourse(sno,o,cxuhao)values(39。+sno+39。,39。+o+39。,39。+cxuhao+39。)。 (sql)。 try { ().executeUpdate(sql)。 kexuan=1。 } catch (SQLException e) { kexuan=0。 ()。 } } public Vector rexcourse(String sno,int s) throws SQLException{ Dbc db=new Dbc()。 String st。 if(s==0){ st=select distinct o,ame,cxuhao,cxuefen,cxueshi,cjiaoshi,czhouci 。 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 40 } else{ st=select distinct * 。 } String sql=st+ from courseinfo where (o,cxuhao) in ( select distinct o,cxuhao from selcourse where sno= 39。+sno+39。)。 (sql)。 ResultSet rs=()。 Vector vct=new Vector()。 while(()){ Course c=new Course()。 ((o))。 ((ame))。 ((cxuhao))。 ((cxuefen))。 ((cxueshi))。 ((cjiaoshi))。 ((czhouci))。 if(s==1){ ((cdidian))。 ((cshijian))。 ((cxiaoqu))。 ((cxueyuan))。 ((crenshu))。 } (c)。 } ().close()。 ().close()。 ().close()。 return vct。 } public int studelcourse(String sno,String[] o) throws SQLException{ int a=0。 Dbc db=new Dbc()。 String sql。 for(int i=0。 i 。i++){ sql=delete from selcourse where sno= 39。+sno+39。 and o= 39。+o[i]+39。 (sql)。 try { 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 41 ().executeUpdate(sql)。 a=1。 } catch (SQLException e) { ()。 a=0。 } } return a。 } public int getKexuan() { return kexuan。 } public void setKexuan(int kexuan) { = kexuan。 } public int stugaimima(String sid,String ymima,String xmima,String qrmima) throws SQLException{ int t = 0。 Dbc db=new Dbc()。 (select password from stu where ID = 39。+sid+39。)。 ResultSet rs=()。 String passw = null。 while(()){ passw=(password)。 } if((ymima)){ if((qrmima)){ ().executeUpdate(update stu set password= 39。+xmima+39。 where ID= 39。+sid+39。)。 t=1。 ().close()。 ().close()。 } else{ t=2。}} else{ t=0。 }return t。 } public Vector stuchacourse(String o,String ame,String cxuhao,String cxuefen,String cxueshi,String crenshu,String cteacher,String czhouci,String cday,String cjieci,String cdidian,String 內(nèi)蒙古科技大學(xué)軟件工程課程設(shè)計論文 42 cxueyuan,String cxiaoqu) throws SQLException{ Dbc db=new Dbc()。 String sql=select * from courseinfo where o like 39。%+o+%39。 and ame like 39。%+ame+%39。 and cxuhao like 39。%+cxuhao+%39。 and cxuefen like 39。%+cxuefen+%39。 and cxueshi like 39。%+cxueshi+%39。 and crenshu like 39。%+crenshu+%39。 and cjiaoshi like 39。%+cteacher+%39。 and czhouci like 39。%
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1