@@ -431,7 +431,7 @@ public class SnapshotOrderApplication : IOrderSnapshotApplication, IScopeDepende
.Then(async industry =>
{
await _fileRepository.Queryable()
- .Where(m => m.Classify == EIndustryType.Declare.ToString())
+ .Where(m => m.Key == industry.Id)
.Select(m => new FileJson { Id = m.Id, FileName = m.Name, Path = m.Path, FileType = m.Type })
.ToListAsync()
.Then(async file =>
@@ -85,9 +85,9 @@ public class OrderSnapshotApplicationTest : TestBase
var order = _orderServiceMock.CreateSnapshotOrder(SetWeiXin)
.办理到派单员(SetZuoXi)
.办理到一级部门(SetPaiDanYuan)
- .办理到一级部门(Set一级部门)
.StepHandle(async order =>
+ Set一级部门();
var steps = await _orderController.GetNextStepsWithRecommend(order.Id);
steps.DocumentFiles.ShouldNotBeNull();
steps.DocumentFiles.NotNullOrEmpty().ShouldBeTrue();