Changeset 447 for trunk/grails-app/services
- Timestamp:
- Mar 17, 2010, 8:44:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/CreateDataService.groovy
r441 r447 829 829 description:"Level sensor not working", 830 830 comment:"Has been noted as problematic, try recalibrating.", 831 targetStartDate: dateUtilService.today] 831 targetStartDate: dateUtilService.today, 832 targetCompletionDate: dateUtilService.today] 832 833 833 834 taskResult = taskService.save(p) … … 841 842 comment:"Some help required", 842 843 targetStartDate: dateUtilService.tomorrow, 844 targetCompletionDate: dateUtilService.tomorrow, 843 845 parentTask: Task.get(1)] 844 846 … … 853 855 comment:"Some help required", 854 856 targetStartDate: dateUtilService.yesterday, 857 targetCompletionDate: dateUtilService.yesterday, 855 858 parentTask: Task.get(1)] 856 859 … … 864 867 description:"Please replace sensor at next available opportunity.", 865 868 comment:"Nothing else has worked. So we now require the part to be replaced.", 866 targetStartDate: dateUtilService.oneWeekFromNow, 869 targetStartDate: dateUtilService.today, 870 targetCompletionDate: dateUtilService.oneWeekFromNow, 867 871 parentTask: Task.get(1)] 868 872 … … 876 880 description:"Production Task", 877 881 comment:"Production task for specific production run or shift", 878 targetStartDate: dateUtilService.today - 6] 882 targetStartDate: dateUtilService.today - 6, 883 targetCompletionDate: dateUtilService.today - 6] 879 884 880 885 taskResult = taskService.save(p) … … 887 892 description:"This is a recurring preventative maintenance task.", 888 893 comment:"If there is a parent task specified then this is a generated sub task, if there is a recurring schedule specified then this is a parent task.", 889 targetStartDate: dateUtilService.today] 894 targetStartDate: dateUtilService.today, 895 targetCompletionDate: dateUtilService.today + 30] 890 896 891 897 taskResult = taskService.save(p)
Note: See TracChangeset
for help on using the changeset viewer.