Changeset 821 for trunk/grails-app
- Timestamp:
- Feb 23, 2011, 5:45:01 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Task.groovy
r809 r821 14 14 TaskRecurringSchedule taskRecurringSchedule 15 15 TaskProcedureRevision taskProcedureRevision 16 ConditionSeverity highestSeverity 16 17 17 18 String description … … 62 63 taskRecurringSchedule(nullable:true) 63 64 taskProcedureRevision(nullable:true) 64 65 highestSeverity(nullable:true) 65 66 } 66 67 -
trunk/grails-app/services/CreateDataService.groovy
r809 r821 71 71 createBaseMaintenancePolicies() 72 72 createBaseInventoryItemPurchaseTypes() 73 createBaseConditionSeverity() 73 74 74 75 // Assets … … 636 637 } 637 638 639 def createBaseConditionSeverity() { 640 641 // ConditionSeverity 642 def conditionSeverity 643 644 // ConditionSeverity #1 645 conditionSeverity = new ConditionSeverity(code: 'A', 646 recommendation: 'Normal Monitoring').save(failOnError:true) 647 648 // ConditionSeverity #2 649 conditionSeverity = new ConditionSeverity(code: 'B', 650 recommendation: 'Increase Monitoring').save(failOnError:true) 651 652 // ConditionSeverity #3 653 conditionSeverity = new ConditionSeverity(code: 'C', 654 recommendation: 'Replace 2-6 weeks').save(failOnError:true) 655 656 // ConditionSeverity #4 657 conditionSeverity = new ConditionSeverity(code: 'D', 658 recommendation: 'Replace 1-2 weeks').save(failOnError:true) 659 } 660 638 661 def createDemoSuppliers() { 639 662
Note: See TracChangeset
for help on using the changeset viewer.