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