Browse Source

add top

master
robin 7 years ago
parent
commit
e024625e59
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      B3QingDaoWanFu/Tasks/RecheckTrustPayTask.cs

+ 2
- 0
B3QingDaoWanFu/Tasks/RecheckTrustPayTask.cs View File

@ -11,6 +11,7 @@ using BWP.BWPTrustPayClient.TrustPayRequests;
using Forks.EnterpriseServices.BusinessInterfaces;
using Forks.EnterpriseServices.DomainObjects2;
using Forks.EnterpriseServices.DomainObjects2.DQuery;
using Forks.EnterpriseServices.SqlDoms;
using TSingSoft.WebPluginFramework;
using TSingSoft.WebPluginFramework.QueueTasks;
using TSingSoft.WebPluginFramework.TimerTasks;
@ -28,6 +29,7 @@ namespace BWP.B3QingDaoWanFu.Tasks {
query.Where.Conditions.Add(DQCondition.IsNull(DQExpression.Field("Gathering_ID")));
query.Columns.Add(DQSelectColumn.Field("ID"));
query.Range = SelectRange.Top(5);
var list = query.EExecuteList<long>();
foreach (var id in list) {
QueueTaskService.Add(new RecheckTrustPayTask(id));


Loading…
Cancel
Save