📄 test1.java
字号:
package com.BO;
import java.text.SimpleDateFormat;
import java.util.*;
import com.BO.*;
import com.VO.*;
public class test1 {
/**
* @param args
*/
public static void main(String[] args) {
/*
* Date date = new Date(); SimpleDateFormat date1 = new
* SimpleDateFormat("yyyy-MM-dd-hh");
*
*
* String userTime = date1.format(date); System.out.println(userTime);
*/
/*
* afficheBO bo=new afficheBO(); ArrayList list=bo.affiche(); for(int
* i=0;i<list.size();i++){ afficheVO vo=(afficheVO)list.get(i);
* System.out.println(vo.getAffiche_id());
* System.out.println(vo.getAfficheID());
* System.out.println(vo.getAfficheTitle());
* System.out.println(vo.getAfficheContent());
* System.out.println(vo.getAfficheTime());
* System.out.println(vo.getManagerID());
*/
Vector list = new Vector();
projectMakerBO bo = new projectMakerBO();
list = bo.getMakerList(1, 5);
if (list != null) {
for (int i = 0; i < list.size(); i++) {
projectMakerVO vo = (projectMakerVO) list.get(i);
System.out.println(vo.getMaker_name());
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -