Changeset 772 for branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy
- Timestamp:
- Feb 3, 2011, 12:15:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy
r768 r772 1098 1098 def taskProcedureInstance 1099 1099 def taskInstance 1100 def person = Person.get(3) 1100 1101 1101 1102 taskInstance = Task.get(5) 1102 taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance) 1103 taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance, 1104 createdBy: person, 1105 lastUpdatedBy: person) 1103 1106 saveAndTest(taskProcedureInstance) 1104 1107 taskProcedureInstance.addToTasks(taskInstance) 1105 1108 1106 1109 taskInstance = Task.get(7) 1107 taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance) 1110 taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance, 1111 createdBy: person, 1112 lastUpdatedBy: person) 1108 1113 saveAndTest(taskProcedureInstance) 1109 1114 taskProcedureInstance.addToTasks(taskInstance)
Note: See TracChangeset
for help on using the changeset viewer.