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

正文內(nèi)容

基于jsp(java)財(cái)務(wù)管理系統(tǒng)的設(shè)計(jì)和開發(fā)-資料下載頁(yè)

2025-05-07 19:25本頁(yè)面
  

【正文】 ((6))。 ((7))。 (list2)。 } return list。 }catch(Exception e){ ()。 return null。 }finally{ ()。 } } public List getAllCaiWu6(String js,String xingzhi){ String sql = select * from inmoney where addtime39。+js+ 23:59:5939。 and xingzhi=39。+xingzhi+39。 order by id desc 。 DBO dbo=new DBO()。 list = new ArrayList()。 ()。 try{ rs = (sql)。 while(()){ List list2=new ArrayList()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 ((7))。 (list2)。 } return list。 }catch(Exception e){ ()。 return null。 }finally{ ()。 } } public List getAllCaiWu7(String ks,String xingzhi){ String sql = select * from inmoney where addtime39。+ks+ 23:59:5939。 and xingzhi=39。+xingzhi+39。 order by id desc 。 DBO dbo=new DBO()。 list = new ArrayList()。 ()。 try{ rs = (sql)。 while(()){ List list2=new ArrayList()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 ((7))。 (list2)。 } return list。 }catch(Exception e){ ()。 return null。 }finally{ ()。 } } //all in ,all out public List getAllIn(String xingzhi){ String sql = select * from inmoney where xingzhi=39。+xingzhi+39。 order by id desc 。 DBO dbo=new DBO()。 list = new ArrayList()。 ()。 try{ rs = (sql)。 while(()){ List list2=new ArrayList()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 ((7))。 (list2)。 } return list。 }catch(Exception e){ ()。 return null。 }finally{ ()。 } } } package 。 /** * * 管理員登陸 修改密碼 登陸記錄查詢 通用類文件 * */ import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 public class AdminBean { private List list。 private ResultSet rs = null。 private int EVERYPAGENUM = 2。 private int count = 1。 private int qq = 0。 private String sql=select count(*) from adminlog。 private String sql2=select * from adminlog order by id desc 。 //聲明時(shí)間變量 String date=new SimpleDateFormat(yyyyMMdd HH:mm:ss).format(().getTime())。 //分頁(yè)查詢登陸日志 public void setEVERYPAGENUM(int EVERYPAGENUM){ =EVERYPAGENUM。 } public int getMessageCount() { //得到信息總數(shù) DBO dbo=new DBO()。 ()。 try { rs = (sql)。 ()。 count = (1)。 return count。 } catch (SQLException ex) { ()。 return 1。 } finally { ()。 } } public int getPageCount() { //得到共多少頁(yè)(根據(jù)每頁(yè)要顯示幾條信息) if (count % EVERYPAGENUM == 0) { return count / EVERYPAGENUM。 } else { return count / EVERYPAGENUM + 1。 } } public List getMessage(int page) { //得到每頁(yè)要顯示的信息 DBO dbo=new DBO()。 ()。 List list = new ArrayList()。 try { rs = (sql2)。 for (int i = 0。 i (page 1) * EVERYPAGENUM。 i++) { ()。 } for (int t = 0。 t EVERYPAGENUM。 t++) { if (()) { qq++。 List list2=new ArrayList()。 ((id))。 ((username))。 ((password))。 ((logintime))。 ((loginip))。 ((useros))。 ((ok))。 (list2)。 } else { break。 //減少空循環(huán)的時(shí)間 } } return list。 } catch (SQLException ex) { ()。 return null。 } finally { ()。 } } //管理員登錄 更新登錄次數(shù) 寫登錄日志 public int adminLogin(String username,String md5password,String password,String loginip,String useros){ String sql = select * from admin where username = 39。+username+39。 and isuse=39。139。 String sql2 = insert into adminlog(username,password,logintime,loginip,useros,ok) values(39。+username+39。,39。+md5password+39。,39。+date+39。,39。+loginip+39。,39。+useros+39。,39。true39。)。 String sql3 = insert into adminlog(username,password,logintime,loginip,useros,ok) values(39。+username+39。,39。+password+39。,39。+date+39。,39。+loginip+39。,39。+useros+39。,39。false39。)。 String sql4 = update admin set logintimes = logintimes+1 where username = 39。+username+39。 。 DBO dbo = new DBO()。 String pwd。 ()。 try{ rs = (sql)。 if(()){ pwd = (password)。 if(().equals(md5password)){ (sql2)。 (sql4)。 return 。 } else{ (sql3)。 return 。 } } else{ (sql3)。 return 。 } }catch(Exception e){ ()。 return 。 }finally{ ()。 } } //查詢管理員信息 public List getAdminInfo(String username){ String sql = select * from admin where username=39。+username+39。 。 DBO dbo = new DBO()。 ()。 list = new ArrayList()。 try{ rs = (sql)。 ()。 ((username))。 ((flag))。 ((logintimes))。 (date)。 ((quanxian))。 return list。 }catch(Exception e){ ()。 return list。 }finally{ ()。 } } //admin edit password public int editPassword(String username,String oldpwd,String newpwd){ String sql=select * from admin where username = 39。+username+39。 and password = 39。+oldpwd+39。 String sql2=update admin set password = 39。+newpwd+39。 where username = 39。+username+39。 DBO dbo = new DBO()。 ()。 try{ rs = (sql)。 if(()){ int i = (sql2)。 if(i == 1){ return 。 } else{ return 。 } } else{ return 。 } }catch(Exception e){ ()。 return 。 }finally{ ()。 } } //add manager public int addManager(String username,String password,String type,St
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1