点巡检 保养没子项目不生成
This commit is contained in:
@@ -119,6 +119,11 @@ namespace JNPF.TaskScheduler.Listener
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (spotInsRecordDs.Count<=0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var dbResult = db.Ado.UseTran(() =>
|
var dbResult = db.Ado.UseTran(() =>
|
||||||
{
|
{
|
||||||
if (tobeCreateList != null && tobeCreateList.Count > 0)
|
if (tobeCreateList != null && tobeCreateList.Count > 0)
|
||||||
|
|||||||
@@ -149,6 +149,11 @@ namespace JNPF.TaskScheduler.Listener
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (spotInsRecordDs.Count<=0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var dbResult = db.Ado.UseTran(() =>
|
var dbResult = db.Ado.UseTran(() =>
|
||||||
{
|
{
|
||||||
if (tobeCreateList != null && tobeCreateList.Count > 0)
|
if (tobeCreateList != null && tobeCreateList.Count > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user