diff --git a/BWP.B3_YunKen/TimerTask/StoppedCarrier.cs b/BWP.B3_YunKen/TimerTask/StoppedCarrier.cs index 05eaaf6..9138376 100644 --- a/BWP.B3_YunKen/TimerTask/StoppedCarrier.cs +++ b/BWP.B3_YunKen/TimerTask/StoppedCarrier.cs @@ -39,7 +39,7 @@ namespace BWP.B3_YunKen.TimerTask { dom.Columns.Add(new DQUpdateColumn("Stopped", true)); dom.Columns.Add(new DQUpdateColumn("RowVersion",DQExpression.Add(DQExpression.Field("RowVersion"),DQExpression.Value(1)))); dom.Where.Conditions.Add(DQCondition.EQ("Stopped", false)); - dom.Where.Conditions.Add(DQExpression.Snippet("cast(EndDateStr as datetime) < getdate()")); + dom.Where.Conditions.Add(DQExpression.Snippet("EndDate < getdate()")); dom.EExecute(); }