DS7_JinGang
ddlucky 1 year ago
parent 7b0df04fe2
commit d96c73944b

@ -1540,7 +1540,7 @@ SELECT @ps_BillNo as N'billno'";
private static List<long> idList { get; set; } = new List<long>();
private static void () {
private static void (string name="") {
var docount = 0;
if (idList != null)
@ -1554,13 +1554,21 @@ SELECT @ps_BillNo as N'billno'";
}
}
logger.Debug($"执行列表数{docount}");
logger.Debug($"执行列表数({name}){docount};");
}
private static bool inworking { get; set; } = false;
public void (long DJYID)
public static void (long DJYID)
{
if (idList != null && idList.Count > 0) {
if (idList.Exists(x=>x== DJYID))
{
try {
idList.RemoveAll(x => x == DJYID);
logger.Debug($"移除执行:{DJYID};");
} catch (Exception e2) {
}
}
}
}
@ -1969,27 +1977,8 @@ SELECT @ps_BillNo as N'billno'";
}
finally {
if (idList.Exists(x=>x==head.Id))
{
try {
idList.RemoveAll(x => x == head.Id);
} catch (Exception e2) {
}
}
var docount1 = 0;
if (idList != null)
{
try
{
docount1 = idList.Count();
}
catch (Exception e1)
{
}
}
logger.Debug($"执行列表数:{docount1}");
(head.Id);
("完成");
//ThreadSaveDS6_Single.处理完成(head.Id);
}
}

Loading…
Cancel
Save