Merge branch 'release/AddEmailToResp02'
This commit is contained in:
@@ -52,7 +52,7 @@ namespace GPW.CORE.Data.DbModels
|
||||
public DateTime? DataCessazione { get; set; }
|
||||
public bool? Attivo { get; set; }
|
||||
public string Sigla { get; set; } = "";
|
||||
public int IdxResp { get; set; } = 0;
|
||||
public int idxResp { get; set; } = 0;
|
||||
|
||||
public virtual ICollection<RegAttivitaModel> RegAttivitaNav { get; set; }
|
||||
public virtual ICollection<RilievoTempModel> RilievoTempNav { get; set; }
|
||||
|
||||
@@ -904,9 +904,9 @@ namespace GPW.CORE.Smart.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoMal"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1042,9 +1042,9 @@ namespace GPW.CORE.Smart.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoMal"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1094,9 +1094,9 @@ namespace GPW.CORE.Smart.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoRich"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1191,9 +1191,9 @@ namespace GPW.CORE.Smart.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoRich"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
|
||||
@@ -1072,9 +1072,9 @@ namespace GPW.CORE.WRKLOG.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoMal"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1210,9 +1210,9 @@ namespace GPW.CORE.WRKLOG.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoMal"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1262,9 +1262,9 @@ namespace GPW.CORE.WRKLOG.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoRich"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
@@ -1360,9 +1360,9 @@ namespace GPW.CORE.WRKLOG.Data
|
||||
var currDip = listDip.FirstOrDefault(x => x.IdxDipendente == currItem.IdxDipendente);
|
||||
// gestisco email notifica...
|
||||
string emailDest = _configuration["MailDest:InfoRich"];
|
||||
if (currDip.IdxResp > 0)
|
||||
if (currDip.idxResp > 0)
|
||||
{
|
||||
string mailResp = await emailResp(currDip.IdxResp);
|
||||
string mailResp = await emailResp(currDip.idxResp);
|
||||
if (!string.IsNullOrEmpty(mailResp) && !emailDest.Contains(mailResp))
|
||||
{
|
||||
emailDest += $",{mailResp}";
|
||||
|
||||
Reference in New Issue
Block a user