优化数据仓储

This commit is contained in:
不做码农
2021-11-27 09:43:04 +08:00
parent 640776181a
commit 67e1343e24
57 changed files with 689 additions and 627 deletions

View File

@@ -107,7 +107,7 @@ namespace ZR.Admin.WebApi.Controllers
//从 Dto 映射到 实体
var model = parm.Adapt<SysConfig>().ToCreate();
return SUCCESS(_SysConfigService.Add(model, it => new
return SUCCESS(_SysConfigService.Insert(model, it => new
{
it.ConfigName,
it.ConfigKey,