sendmail 에 프로젝트업데이트하지 않은 대상 메일 발송 기능 추가 (월)

This commit is contained in:
ChiKyun Kim
2025-08-05 11:40:49 +09:00
parent 81f91f0897
commit d23771039b
4 changed files with 287 additions and 19 deletions

View File

@@ -88,6 +88,25 @@ namespace Console_SendMail
}
}
public static string GetUserEmail(string gcode, string uid)
{
if (string.IsNullOrEmpty(gcode) || string.IsNullOrEmpty(uid)) return string.Empty;
var slq = "select isnull(email,'') from vGroupUser" +
$" where gcode = '{gcode}'" +
$" and id = '{uid}'";
try
{
return ExecuteScalar(slq);
}
catch
{
return string.Empty;
}
}
public static string GetUserTel(string gcode, string uid)
{
var slq = "select isnull(tel,'') from vGroupUser" +