|
@@ -1,5 +1,6 @@
|
|
|
using AutoMapper;
|
|
|
using AutoMapper.Execution;
|
|
|
+using EyeSoft.Extensions;
|
|
|
using MySqlX.XDevAPI.Relational;
|
|
|
using NPOI.OpenXmlFormats.Dml.Diagram;
|
|
|
using NPOI.SS.Formula.Functions;
|
|
@@ -214,9 +215,12 @@ namespace OASystem.Infrastructure.Repositories.CRM
|
|
|
int state = 0;
|
|
|
|
|
|
#region 负责人
|
|
|
- if (dto.OperationUserId != 21 && dto.OperationUserId != 95)
|
|
|
+ if (dto.OperationUserId != 21)
|
|
|
{
|
|
|
- dto.Userid = dto.OperationUserId.ToString();
|
|
|
+ if (string.IsNullOrWhiteSpace(dto.Userid))
|
|
|
+ {
|
|
|
+ dto.Userid = dto.OperationUserId.ToString();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(dto.Userid))
|