1
0
Fork 0

[DEV-5312] Set processed flag

master
Austin Schaffer 2019-11-12 17:10:19 -05:00
parent c5733d1dff
commit e737850efd
2 changed files with 3 additions and 0 deletions

View File

@ -340,6 +340,7 @@ module.exports = Class( 'Server' )
.setImported( quote_data.importedInd || false )
.setBound( quote_data.boundInd || false )
.needsImport( quote_data.importDirty || false )
.needsDeltaProcessing( quote_data.processed || true )
.setCurrentStepId(
quote_data.currentStepId
|| quote_program.getFirstStepId()
@ -392,6 +393,7 @@ module.exports = Class( 'Server' )
importedInd: ( quote.isImported() ) ? 1 : 0,
boundInd: ( quote.isBound() ) ? 1 : 0,
importDirty: 0,
published: 1,
syncInd: 0,
boundInd: 0,
notifyInd: 0,

View File

@ -306,6 +306,7 @@ export class MongoServerDao extends EventEmitter implements ServerDao
save_data.id = id;
save_data.pver = quote.getProgramVersion();
save_data.importDirty = 1;
save_data.published = 0;
save_data.lastPremDate = quote.getLastPremiumDate();
save_data.initialRatedDate = quote.getRatedDate();
save_data.explicitLock = quote.getExplicitLockReason();