This commit is contained in:
		
							parent
							
								
									88a8609b3e
								
							
						
					
					
						commit
						ac83188bc8
					
				| 
						 | 
					@ -54,7 +54,7 @@ internal class ClsDobbsEmail_T1439 : IDisposable
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        bool? ReportDueNow = false;
 | 
					        bool? ReportDueNow = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        ReportDueNow = cn.ExecuteScalar<bool>("Select Top 1 [NeedToSend] From [crpt].[Dobbs_EmailContestCalendar] Where [SendReport]=@Today", new { Today = DateTime.Today });
 | 
					        ReportDueNow = DebugMode || cn.ExecuteScalar<bool>("Select Top 1 [NeedToSend] From [crpt].[Dobbs_EmailContestCalendar] Where [SendReport]=@Today", new { Today = DateTime.Today });
 | 
				
			||||||
        if (ReportDueNow.HasValue && ReportDueNow.Value)
 | 
					        if (ReportDueNow.HasValue && ReportDueNow.Value)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          cn.Open();
 | 
					          cn.Open();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,10 +24,9 @@ internal class Program
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (Debugger.IsAttached)
 | 
					    if (Debugger.IsAttached)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      using (var obj = new ClsDobbsEmail_T1439() { DebugMode = false })
 | 
					      using (var obj = new ClsDobbsEmail_T1439() { DebugMode = true })
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        obj.Go();
 | 
					        obj.Go();
 | 
				
			||||||
        obj.Go();
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue