yuanrf 9 月之前
父节点
当前提交
a44bffc85f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      OASystem/OASystem.Infrastructure/Repositories/CRM/NewClientDataRepository.cs

+ 2 - 1
OASystem/OASystem.Infrastructure/Repositories/CRM/NewClientDataRepository.cs

@@ -3,6 +3,7 @@ using AutoMapper.Execution;
 using MySqlX.XDevAPI.Relational;
 using NPOI.OpenXmlFormats.Dml.Diagram;
 using NPOI.SS.Formula.Functions;
+using NPOI.SS.UserModel;
 using OASystem.Domain;
 using OASystem.Domain.Dtos;
 using OASystem.Domain.Dtos.CRM;
@@ -54,7 +55,7 @@ namespace OASystem.Infrastructure.Repositories.CRM
                 var _Users = _sqlSugar.Queryable<Sys_Users>().Where(x => x.IsDel == 0).Select(x => new
                 {
                     x.Id,
-                    x.CnName
+                    Name = x.CnName
                 }).ToList();
 
                 //List<Sys_Users> users = GetNewExistClient();