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

正文內(nèi)容

基于android系統(tǒng)的人事管理系統(tǒng)設(shè)計與實現(xiàn)(參考版)

2024-12-08 01:01本頁面
  

【正文】 return cursor。}/*** 顯示員工信息*/public Cursor select() {SQLiteDatabase db = ()。if(()){return new Person(((pnumber)),((pname)), ((psex)),((page)),((password)),((job)), ((pdepartment)),((power)))。String sql=select pnumber,pname,psex,page,password,job,pdepartment,power from staff where pname=?。} return null。Cursor cursor=(sql, new String[]{(id)})。}/*** 查找指定員工編號的信息*/public Person find(String id){SQLiteDatabase db=()。String sql=update staff set pname=?,psex=?,page=?,password=?,job=?,pdepartment=?,power=? where pnumber=?。(sql)。}}/*** 刪除表里的全部數(shù)據(jù)*/public void delelteall(){SQLiteDatabase database=()。String sql=delete from staff where pnumber in (+sb+)。} (()1)。i。}/*** 刪除指定編號的員工*/ public void delete(String...id){ if(0){StringBuffer sb=new StringBuffer()。(sql, new Object[]{(),(),(),(),(),(),(),()})。}/*** 添加人員*/public void add(Person person){SQLiteDatabase db=()。}}}public class PersonDAO { private SqliteHelper helper。} break。}}}catch (Exception e) {(TAG, 出錯了)。}}else{(, 此編號的員工已存在!, ).show()。 (新添數(shù)據(jù)為:+\n+編號:+().toString()+,姓名:+().toString()+,性別:+()+,年齡:+(().toString())+,密碼:+()+,職務(wù):+().toString()+,所屬部門:+().toString()+,權(quán)限:+().toString())。}(person)。}else{if(()){person = new Person(().toString(), ().toString(), 男,(().toString()),().toString(),().toString(), (()), (()))。 (新添數(shù)據(jù)為:+\n+編號:+().toString()+,姓名:+().toString()+,性別:+()+,年齡: +,密碼:+()+,職務(wù):+().toString()+,所屬部門:+().toString()+,權(quán)限:+().toString())。} (person)。if(person==null){if(().toString().equals()){if(()){person = new Person(().toString(), ().toString(), 男,0,().toString(),().toString(), (()),().toString())。} Override public void onClick(View v) { switch (()) {//增加case :try{if(().toString().equals()){(, 員工編號不能為空!, ).show()。 break。(, new (){public void onClick(DialogInterface dialog,int which) {// TODO Autogenerated method stub }})。(, 出錯了, ).show()。empty()。 (, 修改成功, ).show()。empty()。(, 修改成功, ).show()。 if(!().toString().equals()){ ((().toString()))。if(!().toString().equals())(().toString()) if(!().toString().equals()) (().toString())。 else{(女)。if(!().toString().equals()) (().toString())。 (確認修改此員工信息么?)。 break。 (, new (){public void onClick(DialogInterface dialog,int which) { // TODO Autogenerated method stub }})。 }catch (Exception e) {(Delete, ())。 (, 員工編號為+().toString()+的員工刪除成功!, ).show()。 (確認刪除此員工信息么?)。 Builder builder=new (this)。} Override protected Dialog onCreateDialog(int id){ Dialog dialog=null。(0)。()。(false)。()。} }})。}else{showDialog(DIALOG_DELETE)。 if(person==null){(, 此員工不存在!, ).show()。}}} })。empty()。 } else{Person person = (().toString())。/** 監(jiān)聽器*/ (this)。 (new (){ Overridepublic void onItemSelected(AdapterView? arg0, View arg1, int arg2, long arg3) {// TODO Autogenerated method stub ()。 (請選擇權(quán)限)。 ()。 (0, true)。 (adapter)。 ArrayAdapterCharSequence adapter=(this, , )。 radio1 = (RadioButton)findViewById()。 buupdate = (Button)findViewById()。 datashow = (TextView)findViewById()。 spdepartment = (Spinner)findViewById()。 edpassword=(EditText)findViewById()。 edname = (EditText)findViewById()。 getWindow().setBackgroundDrawableResource()。 }public void onCreate(Bundle savedInstanceState) { (savedInstanceState)。}})。}})。 Overridepublic void onClick(View arg0) {intent=new Intent(, )。}})。 Overridepublic void onClick(View arg0) {intent=new Intent(, )。}})。 Overridepublic void onClick(View arg0) {intent=new Intent(, )。}})。(, )。//工資管理(new (){ Intent intent=null。startActivity(intent)。 } //人員管理 (new (){Intent intent=null。 (person)。 PersonDAO personDAO = new PersonDAO(this)。 close=(Button)findViewById()。 departmentmanegement=(Button)findViewById() integratedManagement=(Button)findViewById()。 //* 引入組件 staffmanagement=(Button)findViewById()。 setContentView()。}})。(new (){ public void onClick(View arg0) {()。 }}else{(, 用戶名或密碼不正確!, ).show()。()。}(, 登錄成功!^_^, ).show()。(3000)。 USER=().toString()。amp。startActivity(intent)。} catch (InterruptedException e) {()。 try{(, 正在登錄,請稍等....., ).show()。 ().equals(管理員)){intent=new Intent(, )。 } else if(person!=null){ if(().toString().equals(())amp。} (, 登錄成功!^_^, ).show()。(3000)。} intent=new Intent(, )。 if(person==null){ person = new Person(1130070131, admin,男,22,admin,學(xué)生,人事部,管理員)。().toString().equals(123456)){ USER=().toString()。 if(().toString().equals(admin) amp。 (new (){ Intent intent=null。 ()。 reset=(Button)findViewById()。 password = (EditText)findViewById()。 getWindow().setBackgroundDrawableResource()。 第三章 人事管理系統(tǒng)的詳細實現(xiàn) 登陸界面運行效果圖 LinearLayout android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical TextView android:id=+id/textView5 android:layout_width=wrap_content android:layout_height=wrap_content android:text= / TextView android:id=+id/textView3 android:layout_width=wrap_content android:layout_height=wrap_content android:text= 歡迎進入人事管理系統(tǒng) android:textSize=23dp / TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text= / LinearLayout android:layout_width=match_parent android:layout_height=wrap_content LinearLayout andro
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1