|
@@ -512,8 +512,8 @@ open class ProductionScheduleService( |
|
|
tempObj.scheduleAt = LocalDateTime.now() |
|
|
tempObj.scheduleAt = LocalDateTime.now() |
|
|
tempObj.totalFGType = fgCount; |
|
|
tempObj.totalFGType = fgCount; |
|
|
tempObj.totalEstProdCount = accProdCount; |
|
|
tempObj.totalEstProdCount = accProdCount; |
|
|
tempObj.id = saveProductionScheduleToDatabase(tempObj); |
|
|
|
|
|
tempObj.type = "detailed" |
|
|
tempObj.type = "detailed" |
|
|
|
|
|
tempObj.id = saveProductionScheduleToDatabase(tempObj); |
|
|
|
|
|
|
|
|
for (detailedScheduleRecord in sortedEntries) { |
|
|
for (detailedScheduleRecord in sortedEntries) { |
|
|
saveDetailedScheduleLineToDatabase(tempObj.id ?: -1, detailedScheduleRecord) |
|
|
saveDetailedScheduleLineToDatabase(tempObj.id ?: -1, detailedScheduleRecord) |
|
|