diff --git a/Myshipping.Application/Myshipping.Application.xml b/Myshipping.Application/Myshipping.Application.xml
index df53b3f7..392e3151 100644
--- a/Myshipping.Application/Myshipping.Application.xml
+++ b/Myshipping.Application/Myshipping.Application.xml
@@ -6356,12 +6356,13 @@
文件名
-
+
订舱打印(返回文件名)
订舱Id
打印模板ID
+ 分类代码(使用字典【booking_template_category】中的代码)
类型,1:pdf、2:xlsx、3:docx
打印类型,10:FastReport、20:Excel模板
diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
index d6d25417..716e376b 100644
--- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
+++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
@@ -1165,8 +1165,8 @@ namespace Myshipping.Application
BookingId = item.BookingId,
TenantId = o.TenantId,
CreatedTime = DateTime.Now,
- CreatedUserId = UserManager.UserId,
- CreatedUserName = UserManager.Name
+ CreatedUserId = o.CreatedUserId,
+ CreatedUserName = "系统管理员"
});
await _bookinglogdetail.InsertReturnSnowflakeIdAsync(new BookingLogDetail
{
@@ -1192,8 +1192,8 @@ namespace Myshipping.Application
BookingId = it.Id,
TenantId = it.TenantId,
CreatedTime = DateTime.Now,
- CreatedUserId = UserManager.UserId,
- CreatedUserName = UserManager.Name
+ CreatedUserId = o.CreatedUserId,
+ CreatedUserName = "系统管理员"
});
await _bookinglogdetail.InsertReturnSnowflakeIdAsync(new BookingLogDetail
{