package com.jnzyjsxy.test; import com.jnzyjsxy.common.Database; import com.jnzyjsxy.common.DeptBean; import com.jnzyjsxy.common.HistrinBean; import com.jnzyjsxy.common.PersonBean; public class Text { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //PersonBean personBean=new PersonBean(); //personBean.add("7","庞玉栋", "男", "1998-1-19", "汉", "", "7", "1900.23", "优秀",null); //personBean.updateDept("5", "2000.0"); //String[][] strings=personBean.searchAll(); //System.out.println(strings[0][2]); //String f1 = "1"; //personBean.delete(f1); //DeptBean deptBean=new DeptBean(); //String[] strings=deptBean.search("7"); //System.out.print(strings[0]+"."); //System.out.print(strings[1]+"."); //System.out.print(strings[2]); //System.out.println(deptBean.getDepstr("1")); HistrinBean histrinBean=new HistrinBean(); String[] string=null; //histrinBean.add("13", "人员分配", "2", "4", "1", "1", "1"); string=histrinBean.search("1"); System.out.println(string[4]); } }

庞玉栋个人博客、人生苦短-我用Python