摘要:
JAVA中按照"\"截取字符串,则:4个\相当于一个\,涉及到JAVA中的转义字符:String[] strs=imageValue.split("\\\\"); 阅读全文
posted @ 2015-01-12 14:31
紫发少年
阅读(1064)
评论(0)
推荐(0)
摘要:
页面.ftl: 后台JAVA代码: import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java... 阅读全文
posted @ 2015-01-12 14:24
紫发少年
阅读(169)
评论(0)
推荐(0)
摘要:
List jfAuctionListValue=new ArrayList(); Map jfAuctionMap = new HashMap(); for (Integer key : jfAuctionMap.keySet()) { jfAuctionListValue.add(jfAucti... 阅读全文
posted @ 2015-01-12 14:17
紫发少年
阅读(275)
评论(0)
推荐(0)
摘要:
List jfAuctionListValue=null; if(jfAuctionList!=null && jfAuctionList.size()>0){ Map jfAuctionMap = new HashMap(); for(JfAuction jfAuction:jfAuctio... 阅读全文
posted @ 2015-01-12 14:16
紫发少年
阅读(398)
评论(0)
推荐(0)
摘要:
public List comparatorScoreAscTest(List jfAuctionList){ Collections.sort(jfAuctionList, new Comparator() { /* * int compare(Student o1, Student o2... 阅读全文
posted @ 2015-01-12 14:11
紫发少年
阅读(211)
评论(0)
推荐(0)
摘要:
public int getMaxScoreByJfEventIdNumber(Integer jfEventId) { int numberValue=0; String hql = "from JfAuction where jfEvent.id =:jfEventId"; Finder fi... 阅读全文
posted @ 2015-01-12 14:07
紫发少年
阅读(99)
评论(0)
推荐(0)
摘要:
String hql ="select j from JfAuction j where 1=1 "; hql+=" and j.jfEvent.id ="; hql+=jfEventId; hql+=" order by j.score desc "; Query query = jfAucti... 阅读全文
posted @ 2015-01-12 14:06
紫发少年
阅读(132)
评论(0)
推荐(0)
摘要:
public JfAuction getMaxScoreByJfEventId(Integer jfEventId) { JfAuction jfAuction=null; String hql = "from JfAuction where jfEvent.id =:jfEventId and ... 阅读全文
posted @ 2015-01-12 14:04
紫发少年
阅读(138)
评论(0)
推荐(0)
摘要:
public List getListScoreByJfEventId(Integer jfEventId){ List jfAuctionList=null; String hql ="select j.id,j.user,j.jfEvent,sum(j.score),j.status,j.cre... 阅读全文
posted @ 2015-01-12 14:01
紫发少年
阅读(443)
评论(0)
推荐(0)
浙公网安备 33010602011771号