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

正文內(nèi)容

科技項(xiàng)目申報(bào)系統(tǒng)畢業(yè)論文-資料下載頁

2025-07-04 08:14本頁面

【導(dǎo)讀】態(tài),以實(shí)現(xiàn)科技項(xiàng)目管理業(yè)務(wù)能夠高效,安全可靠的在網(wǎng)絡(luò)上運(yùn)行為目的,為此我選擇開發(fā)科技項(xiàng)目申報(bào)。層、控制轉(zhuǎn)發(fā)層、服務(wù)層、DAO層、持久化層和數(shù)據(jù)庫層。統(tǒng)管理、專家用戶管理和單位用戶管理等三大模塊。同時(shí)采用擴(kuò)展性設(shè)計(jì)。和部門分隔的限制,建成一個(gè)精簡、高效、廉潔、公平的運(yùn)作模式。該系統(tǒng)提高了科技項(xiàng)目申報(bào)的管理效率,增加了科技項(xiàng)目的透明度,關(guān)鍵詞:科技項(xiàng)目申報(bào)、SSH框架、MVC、J2EE、項(xiàng)目申報(bào)及評(píng)審。

  

【正文】 null) { (null)。 } // 刪除該用戶 (user)。 } } public void editProjectCategoryByCategoryid(ProjectCategory projectCategory) { // 根據(jù)項(xiàng)目 id 修改某一項(xiàng)目類別 HibernateTemplate template = ()。 ProjectCategory pc = (, ())。 (())。 (())。 (())。 try { (pc)。 50 } catch (Exception e) { ()。 } } public ArrayListExpert findAllExpert() { // 顯示所有專家信息 HibernateTemplate template = ()。 ArrayListExpert experts = (ArrayListExpert) template .find(from Expert)。 return experts。 } public ArrayListUnit findAllUnit() { // 顯示所有單位 HibernateTemplate template = ()。 ArrayListUnit units = (ArrayListUnit) (from Unit)。 return units。 } public ArrayListUser findAllUser() { // 顯示所有用戶 HibernateTemplate template = ()。 51 ArrayListUser users = (ArrayListUser) (from User)。 return users。 } public boolean isExistUsername(String username) { // 檢查用戶名是否已經(jīng)存在 HibernateTemplate template = ()。 ArrayListUser users = (ArrayListUser) ( from User u where =?, username)。 if (users != null amp。amp。 () 0) { // 該 username 已經(jīng)存在 return true。 } return false。 } public boolean isExistCategoryname(String categoryname) { // 驗(yàn)證類別名稱是否已經(jīng)存在 HibernateTemplate template = ()。 ArrayListProjectCategory lists = (ArrayListProjectCategory) template .find(from ProjectCategory pc where =?, 52 categoryname)。 if (lists != null amp。amp。 () 0) { return true。 } return false。 } public Admin findAdminByUserId(Integer uid) { // 根據(jù) userId 查詢管理員 HibernateTemplate template = ()。 ArrayListAdmin lists = (ArrayListAdmin) ( select a from Admin a where =?, uid)。 if (lists != null amp。amp。 () 0) { return (0)。 } return null。 } public void deleteProjectByProjectId(Integer projectId) { // 根據(jù)項(xiàng)目 id 刪除一個(gè)項(xiàng)目 HibernateTemplate template = ()。 Project project=(, projectId)。 (project)。 } ( 3)對(duì)密碼進(jìn)行加密代碼如下: /** 53 * 功能:實(shí)現(xiàn)對(duì)用戶的密碼進(jìn)行 MD5 加密 * * */ public class MD5ToPass { //該方法將輸入的字符串,通過 MD5 加密,返回一個(gè)加密后的字符串 public static String MD5Encrypt(String strIn){ MessageDigest md=null。 String strOut=null。 try { //可以選擇的算法 md=(MD5)。 byte[] digest=(())。 //返回的 byte[] 轉(zhuǎn)化成 String 存儲(chǔ)比較方便 strOut=bytetoString(digest)。 } catch (NoSuchAlgorithmException e) { // TODO Autogenerated catch block ()。 } return strOut。 } public static String bytetoString(byte[] digest) { String str=。 String tempStr=。 54 for(int i=1。i。i++){ tempStr=(digest[i] amp。 0xff)。 if(()==1){ str=str+0+tempStr。 }else{ str=str+tempStr。 } } return ()。 } //測試 // 用 戶 輸 入 的 密 碼 為 pass MD5 加 密 后 結(jié) 果 是 (pass) public static void main(String[] args) { String test = 123。 String result = (test)。 (test + 加密后的結(jié)果是 : + result)。 } } ( 4)對(duì)驗(yàn)證碼生成的工具類代碼如下: /** * 功能:編寫驗(yàn)證碼生成的工具類 * * 55 * */ public class RndImage { //定義隨機(jī)字符串中隨機(jī)出現(xiàn)的字符 az 09 private static char mapTable[] = { 39。a39。, 39。b39。, 39。c39。, 39。d39。, 39。e39。, 39。f39。, 39。g39。, 39。h39。,39。i39。, 39。j39。, 39。k39。, 39。l39。, 39。m39。, 39。n39。, 39。o39。, 39。p39。, 39。q39。, 39。r39。, 39。s39。, 39。t39。, 39。u39。,39。v39。, 39。w39。, 39。x39。, 39。y39。, 39。z39。, 39。039。, 39。139。, 39。239。, 39。339。, 39。439。, 39。539。, 39。639。, 39。739。,39。839。, 39。939。 }。 /**獲取隨機(jī)字符串 * @return 隨機(jī)的字符串 * */ public static String random(){ String str=。 //生成 5 位驗(yàn)證碼 for(int i=0。i5。++i){ str+=mapTable[(int)(*())]。 } return str。 } /**獲取隨機(jī)顏色對(duì)象 * @return 隨機(jī)顏色 * */ private static Color getRandomColor(){ Color col=null。 56 Random r=new Random()。 col=new Color((180),(180),(180))。 return col。 } //將隨機(jī)字符串轉(zhuǎn)換成圖像寫到輸出流 //num隨機(jī)字符串 out輸出流 width圖片寬度 height圖片高度 public static void imageOut(String num,OutputStream out, int width,int height) throws IOException{ //定義緩沖區(qū)圖像 rndImg BufferedImage rndImg=null。 rndImg=new BufferedImage(width,height,)。 //定義二維圖像畫筆對(duì)象 g Graphics2D g=(Graphics2D)()。 //設(shè)置矩形填充顏色 ()。 //畫一個(gè) 寬 高 為 的矩形 (0, 0, width, height)。 //設(shè)置顯示字體與字體類型 大小 Font mFont=new Font(Tahoma,height*4/5)。 (mFont)。 ()。//設(shè)置默認(rèn)字體顏色 57 String[] str1=new String[5]。 for(int i=0。i。i++){ //繪制驗(yàn)證碼字符 str1[i]=+(i)。 (getRandomColor())。 (str1[i], 15*i+5, height*4/5)。 } //設(shè)置干擾線 ()。 Random random=new Random()。 for(int i=0。i50。i++){ int x1=(width)。 int y1=(height)。 int x2=(10)。 int y2=(10)。 //在點(diǎn) (x1,y1) (x2,y2)之間畫一條線 (x1, y1, x1+x2,y1+y2 )。 } //繪制外邊框 (0, 0, width1, height1)。 //釋放畫筆 ()。 //將一個(gè)圖像寫入 OutputStream 58 //rndImg 要寫入的圖像緩沖區(qū)對(duì)象; jpg 是圖片格式 //out 將在其中寫入數(shù)據(jù)的 OutputStream //將內(nèi)存圖像寫出到輸出流 (rndImg, jpg, out)。 } }
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1