This commit is contained in:
atvstdla
2025-09-26 18:15:59 +09:00
parent 54c64a06bd
commit 16da4a5ffa
65 changed files with 5700 additions and 3514 deletions

View File

@@ -450,7 +450,7 @@ namespace Project.Dialog
{
//check double data 220706
var CSQL = "select count(*) from Component_Reel_SID_Information WITH(NOLOCK) ";
var CSQL = "select count(*) from K4EE_Component_Reel_SID_Information WITH(NOLOCK) ";
CSQL += WSQL;
CMD.CommandText = CSQL;
var cnt = int.Parse(CMD.ExecuteScalar().ToString());
@@ -468,7 +468,7 @@ namespace Project.Dialog
}
else
{
var USQL = $"update Component_Reel_SID_Information set [MC]='{PUB.MCCode}'," +
var USQL = $"update K4EE_Component_Reel_SID_Information set [MC]='{PUB.MCCode}'," +
string.Join(",", UpdateTarget.Select(t => "[" + t.Key + "]='" + t.Value + "'"));
USQL += WSQL;
@@ -498,7 +498,7 @@ namespace Project.Dialog
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
{
var ISQL = $"insert into Component_Reel_SID_Information ([MC],wdate," +
var ISQL = $"insert into K4EE_Component_Reel_SID_Information ([MC],wdate," +
string.Join(",", InsertTarget.Select(t => "[" + t.Key + "]")) + ") values(" +
$"'{PUB.MCCode}',getdate()," +
string.Join(",", InsertTarget.Select(t => "'" + t.Value.Replace("'", "''") + "'")) + ")";
@@ -669,7 +669,7 @@ namespace Project.Dialog
void ServerWriteCNV(Dictionary<string, string> columns, Dictionary<string, string> wheres)
{
//변경된 값만 저장여부를 확인할 것이므로 기존 값을 모두 가져온다
var tableName = "Component_Reel_SID_Convert";
var tableName = "K4EE_Component_Reel_SID_Convert";
var SQL = "select top 1 " + string.Join(",", columns.Select(t => "isnull([" + t.Key + "],'') as " + t.Key + "")) +
$" from {tableName} WITH(NOLOCK) ";