Ignore:
Timestamp:
Feb 3, 2011, 12:15:42 AM (14 years ago)
Author:
gav
Message:

Domain change, add TaskProcedure updated and created fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy

    r768 r772  
    10981098        def taskProcedureInstance
    10991099        def taskInstance
     1100        def person = Person.get(3)
    11001101
    11011102        taskInstance = Task.get(5)
    1102         taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance)
     1103        taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance,
     1104                                                                                    createdBy: person,
     1105                                                                                    lastUpdatedBy: person)
    11031106        saveAndTest(taskProcedureInstance)
    11041107        taskProcedureInstance.addToTasks(taskInstance)
    11051108
    11061109        taskInstance = Task.get(7)
    1107         taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance)
     1110        taskProcedureInstance = new TaskProcedure(linkedTask: taskInstance,
     1111                                                                                    createdBy: person,
     1112                                                                                    lastUpdatedBy: person)
    11081113        saveAndTest(taskProcedureInstance)
    11091114        taskProcedureInstance.addToTasks(taskInstance)
Note: See TracChangeset for help on using the changeset viewer.