优化:取不到地块名时直接返回
parent
5b918cbcb8
commit
a7a7894e83
|
|
@ -196,6 +196,11 @@ class FileMonitor : IJob
|
|||
}
|
||||
|
||||
var areaName = new DirectoryInfo(shpPath).Parent?.Parent?.Name;
|
||||
if (areaName == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var shpInfo = ShpUtil.GetShpInfo(shpPath);
|
||||
var insAishp = new InsAishp();
|
||||
var currentTime = DateTime.Now;
|
||||
|
|
|
|||
Loading…
Reference in New Issue