Changeset 758 for branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy
- Timestamp:
- Jan 26, 2011, 3:29:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy
r751 r758 1097 1097 //TaskProcedure 1098 1098 def taskProcedureInstance 1099 1100 taskProcedureInstance = new TaskProcedure(name: "Daily check") 1099 def taskInstance 1100 1101 taskInstance = Task.get(5) 1102 taskProcedureInstance = new TaskProcedure(parentTask: taskInstance) 1101 1103 saveAndTest(taskProcedureInstance) 1102 taskProcedureInstance.addToTasks(Task.list()[0]) 1103 1104 taskProcedureInstance = new TaskProcedure(name: "100hr Service") 1104 taskProcedureInstance.addToTasks(taskInstance) 1105 1106 taskInstance = Task.get(7) 1107 taskProcedureInstance = new TaskProcedure(parentTask: taskInstance) 1105 1108 saveAndTest(taskProcedureInstance) 1106 taskProcedureInstance.addToTasks( Task.list()[6])1109 taskProcedureInstance.addToTasks(taskInstance) 1107 1110 } 1108 1111
Note: See TracChangeset
for help on using the changeset viewer.