?? commoncode.java
字號:
package com.publish.shop.util.javabeans;import java.util.ArrayList;import java.util.Date;import java.util.Calendar;import java.text.SimpleDateFormat;import java.sql.Connection;import org.apache.struts.util.LabelValueBean;import com.publish.shop.util.dao.CommonCodeDAO;public class CommonCode{ CommonCodeDAO dao = new CommonCodeDAO(); public String getCommonValue(String codeType,String codeName){ return dao.getCommonCodeDescription(codeType,codeName); } public ArrayList getCommonCodeLabel(String codeType){ ArrayList list = dao.getCommonCodeLabel(codeType); return list; } public ArrayList getCommonCodeLabelAddAll(String codeType){ ArrayList list = dao.getCommonCodeLabel(codeType); list.add(0,new LabelValueBean(Utility.getMessage("label.all"),"")); return list; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -