Skip to content

Commit

Permalink
更新查询条件
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopanp committed Oct 8, 2015
1 parent deb4cff commit 4a87747
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Binary file modified com.tk.dam.v11.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion com.tk.dam/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void Main()
//IList<ALARMAPPEND> list = ALARMAPPENDDao.QueryForList(null);
//IList<station> list = stationDao.QueryForList(null);
//IList<sat> list =satDao.QueryForList(null);
IList<DEVICE_STATUS_CLEAN> list = DEVICE_STATUS_CLEANDao.QueryForList("0+175_clean");
IList<DEVICE_STATUS_CLEAN> list = DEVICE_STATUS_CLEANDao.QueryForList("0+175_clean", new DEVICE_STATUS_CLEAN() { aDatetime=new DateTime(2015,07,29)});
Application.Run(new MainForm());
}
}
Expand Down
Binary file modified com.tk.orm/bin/Debug/com.tk.orm.dll
Binary file not shown.
Binary file modified com.tk.orm/bin/Debug/com.tk.orm.pdb
Binary file not shown.
8 changes: 4 additions & 4 deletions com.tk.orm/bin/Debug/mappers/DEVICE_STATUS_CLEANMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@
</isGreaterThan>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="aDatetime">
aDatetime =#aDatetime#
aDatetime &gt;#aDatetime#
</isPropertyAvailable>
</dynamic>
<!--order by-->
<dynamic>
order by
GPSIndex
</dynamic>
order by
aDatetime desc
</dynamic>
</select>
</statements>
</sqlMap>
4 changes: 2 additions & 2 deletions com.tk.orm/mappers/DEVICE_STATUSMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@
</isGreaterThan>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="aDatetime">
aDatetime =#aDatetime#
aDatetime &gt;#aDatetime#
</isPropertyAvailable>
</dynamic>
<!--order by-->
<dynamic>
order by
GPSIndex
aDatetime desc
</dynamic>
</select>

Expand Down
8 changes: 4 additions & 4 deletions com.tk.orm/mappers/DEVICE_STATUS_CLEANMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@
</isGreaterThan>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="aDatetime">
aDatetime =#aDatetime#
aDatetime &gt;#aDatetime#
</isPropertyAvailable>
</dynamic>
<!--order by-->
<dynamic>
order by
GPSIndex
</dynamic>
order by
aDatetime desc
</dynamic>
</select>
</statements>
</sqlMap>
Binary file modified com.tk.orm/obj/Debug/com.tk.orm.dll
Binary file not shown.
Binary file modified com.tk.orm/obj/Debug/com.tk.orm.pdb
Binary file not shown.

0 comments on commit 4a87747

Please sign in to comment.