@ -216,6 +216,10 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
{
await this._balanceRepository.UpdateAsync(balance).ConfigureAwait(false);
}
if (logType == VmiLogType.Type100 && balance.Qty < decimal.Zero && data.Qty > 0)
log.IsReplenished = true;
await _logRepository.InsertAsync(log).ConfigureAwait(false);