|
|
@ -213,7 +213,7 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
// return await Task.FromResult(DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist));
|
|
|
|
// return await Task.FromResult(DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist));
|
|
|
|
//}
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//
|
|
|
|
var sequence = await commonService.GetSequenceNextAsync<SeaExport>(tenantDb, user);
|
|
|
|
var sequence = await commonService.GetSequenceNextAsync<SeaExport>(tenantDb, user,req.SaleId);
|
|
|
|
if (!sequence.Succeeded)
|
|
|
|
if (!sequence.Succeeded)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return await Task.FromResult(DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist));
|
|
|
|
return await Task.FromResult(DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist));
|
|
|
@ -690,7 +690,7 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//获取表单复制模板
|
|
|
|
//获取表单复制模板
|
|
|
|
var template = tenantDb.Queryable<CodeFormCopy>().Where(x => x.PermissionId == 1772509201441099776).First();
|
|
|
|
var template = tenantDb.Queryable<CodeFormCopy>().Where(x => x.PermissionId == 1772509201441099776).First();
|
|
|
|
var sequence = commonService.GetSequenceNextAsync<SeaExport>(tenantDb, user).GetAwaiter().GetResult();
|
|
|
|
var sequence = commonService.GetSequenceNextAsync<SeaExport>(tenantDb, user, info.SaleId).GetAwaiter().GetResult();
|
|
|
|
if (!sequence.Succeeded)
|
|
|
|
if (!sequence.Succeeded)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist);
|
|
|
|
return DataResult.Failed(sequence.Message, MultiLanguageConst.SequenceSetNotExist);
|
|
|
|