|
@@ -71,12 +71,12 @@ public class OrderServiceMock
|
|
|
_systemDicDataCacheManager = systemDicDataCacheManager;
|
|
|
}
|
|
|
|
|
|
- public IOrderServiceStartWorkflow CreateSnapshotOrder(Action action)
|
|
|
+ public IOrderServiceStartWorkflow CreateSnapshotOrder(Action action, string industryName = "电气焊作业申报")
|
|
|
{
|
|
|
action.Invoke();
|
|
|
var homePage = _snapshotController.GetHomePageAsync().GetAwaiter().GetResult();
|
|
|
var industry = homePage.Industrys
|
|
|
- .Where(m => m.IndustryType == EIndustryType.Clue)
|
|
|
+ .Where(m => m.Name == industryName)
|
|
|
.OrderBy(m => m.DisplayOrder)
|
|
|
.FirstOrDefault();
|
|
|
var pageBase = _snapshotController.GetIndustryBaseAsync(industry.Id).GetAwaiter().GetResult();
|