From ff6db29dff9b4778b97d2234d08cdcc10770562a Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 28 Jul 2006 06:26:05 +0000 Subject: Update time-tracker --- .../protected/App_Data/mysql-maps/time-entry.xml | 42 +++++++++++----------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml') diff --git a/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml b/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml index 2708a6c5..841bd03e 100644 --- a/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml +++ b/demos/time-tracker/protected/App_Data/mysql-maps/time-entry.xml @@ -1,7 +1,7 @@ - + INSERT INTO time_entry( EntryCreated, Duration, @@ -36,7 +36,23 @@ - SELECT * FROM @@ -49,9 +65,10 @@ DELETE FROM time_entry WHERE EntryID = #value# - SELECT - time_entry.* + time_entry.*, + categories.Name as CategoryName FROM time_entry, categories WHERE @@ -62,7 +79,7 @@ EntryID ASC - + UPDATE time_entry SET Duration = #Duration#, Description = #Description#, @@ -73,19 +90,4 @@ EntryID = #ID# - - \ No newline at end of file -- cgit v1.2.3