|
|
|
@ -192,6 +192,12 @@ namespace Myshipping.Application
|
|
|
|
|
if (entity == null)
|
|
|
|
|
throw Oops.Oh($"服务流程不能为空", typeof(InvalidOperationException));
|
|
|
|
|
|
|
|
|
|
if(entity.BELONG_TENANT_ID == 0)
|
|
|
|
|
{
|
|
|
|
|
entity.BELONG_TENANT_ID = UserManager.TENANT_ID;
|
|
|
|
|
entity.BELONG_TENANT_NAME = UserManager.TENANT_NAME;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_logger.LogInformation($"服务流程保存 JSON={JSON.Serialize(entity)} user={UserManager.UserId}");
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(entity.PK_ID))
|
|
|
|
|