Changeset 1677 for trunk/grails-app/services/dbnp
- Timestamp:
- Mar 28, 2011, 12:35:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r1621 r1677 270 270 def table = [] 271 271 def failedcells = [] // list of cells that have failed to import 272 272 273 // First check for each record whether an entity in the database should be updated, 273 274 // or a new entity should be added. This is done before any new object is created, since … … 627 628 if( event ) { 628 629 def evGroup = new EventGroup(); 630 631 sample.parentEventGroup = evGroup; 629 632 evGroup.addToEvents( event ); 633 630 634 if( subject ) evGroup.addToSubjects( subject ); 631 635 if( samplingEvent ) evGroup.addToSamplingEvents( samplingEvent ); 632 636 633 sample.parentEventGroup = evGroup;634 637 } 635 638
Note: See TracChangeset
for help on using the changeset viewer.