锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久久亚洲精品不卡4k岛国,欧美美女黄色,久久久久亚洲精品http://www.aygfsteel.com/Vanilla-Sky/category/46634.html閫愭ⅵ涔嬫梾zh-cnThu, 14 Oct 2010 06:23:44 GMTThu, 14 Oct 2010 06:23:44 GMT60- org.hibernate.QueryException: could not resolve property: depreciationDay of: com.cqta.oatianai.model.Depreciationhttp://www.aygfsteel.com/Vanilla-Sky/archive/2010/10/14/335119.html鏃犲敖嫻?/dc:creator>鏃犲敖嫻?/author>Thu, 14 Oct 2010 05:32:00 GMThttp://www.aygfsteel.com/Vanilla-Sky/archive/2010/10/14/335119.htmlhttp://www.aygfsteel.com/Vanilla-Sky/comments/335119.htmlhttp://www.aygfsteel.com/Vanilla-Sky/archive/2010/10/14/335119.html#Feedback0http://www.aygfsteel.com/Vanilla-Sky/comments/commentRss/335119.htmlhttp://www.aygfsteel.com/Vanilla-Sky/services/trackbacks/335119.htmlNO.1 鏄犲皠鍑轟簡闂銆傛煡鎵句笉鍒般備唬鐮佸涓?br />
1
/** *//**
2
* 鎶樻棫璁板綍媯绱?br />
3
*/
4
@SuppressWarnings("unchecked")
5
public List<Depreciation> queryDepreciationList(String name, String number, Date startTime, Date endTime)
{
6
7
Criteria criteria = getSession().createCriteria(Depreciation.class, "s").createAlias("s.asset", "a");
8
// 璧峰鏃ユ湡
9
if (startTime != null)
{
10
criteria.add(Restrictions.gt("s.depreciationDay ", startTime));
11
}
12
// 鎴鏃ユ湡
13
if (endTime != null)
{
14
criteria.add(Restrictions.lt("s.depreciationDay ", endTime));
15
}
16
if (name != null && !name.trim().equals(""))
{
17
criteria.add(Restrictions.like("a.name", name, MatchMode.ANYWHERE));
18
}
19
if (number != null && !number.trim().equals(""))
{
20
criteria.add(Restrictions.like("a.number", number, MatchMode.ANYWHERE));
21
}
22
23
List<Depreciation> items = criteria.list();
24
DebugUtil.showAllPorperty(items);
25
return items;
26
27
}
NO.2 浠旂粏鏍稿鏌ユ壘浠g爜涓殑璇ュ睘鎬ч厤緗紝娉祦婊¢潰涔嬪悗 鍙戠幇灞炴у悗闈㈠浜嗕釜絀烘牸........GG...

]]>
主站蜘蛛池模板:
本溪市|
舟曲县|
洛浦县|
镇雄县|
南陵县|
石棉县|
峨山|
吉安县|
西昌市|
库车县|
唐山市|
山东|
任丘市|
五峰|
朔州市|
余姚市|
龙江县|
和龙市|
新建县|
南召县|
安徽省|
锡林郭勒盟|
尼木县|
志丹县|
孝昌县|
泰兴市|
尉犁县|
福泉市|
柳河县|
安顺市|
包头市|
大邑县|
温泉县|
临海市|
防城港市|
金坛市|
沾益县|
扎囊县|
阿瓦提县|
梨树县|
四平市|