v3.4.6
This commit is contained in:
@@ -194,6 +194,8 @@ public class MessageTemplateService : IDynamicApiController, ITransient
|
||||
entity.Id = SnowflakeIdHelper.NextId();
|
||||
entity.EnabledMark = 0;
|
||||
entity.TemplateType = "0";
|
||||
entity.LastModifyTime = null;
|
||||
entity.LastModifyUserId = null;
|
||||
if (entity.FullName.Length >= 50 || entity.EnCode.Length >= 50)
|
||||
throw Oops.Oh(ErrorCode.COM1009);
|
||||
var templateParamList = await _repository.AsSugarClient().Queryable<MessageTemplateParamEntity>().Where(x => x.TemplateId == id && x.DeleteMark == null).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user