📄 testtype.java
字号:
package com.easyjf.test;
import java.util.List;
import com.easyjf.news.logic.impl.TypeServiceImpl;
import com.easyjf.news.model.Type;
public class TestType {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
TypeServiceImpl typedao=TypeServiceImpl.getInstance();
List typeList=typedao.getType();
for(int i=0;i<typeList.size();i++){
Type subtype=(Type)typeList.get(i);
System.out.println(subtype.getId());
System.out.println(subtype.getName());
System.out.println(subtype.getBig_type_value());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -