toshortstring -> tostring

This commit is contained in:
ChiKyun Kim
2025-12-19 08:23:13 +09:00
parent ab46ccb924
commit b1c3bbac42
76 changed files with 324 additions and 324 deletions

View File

@@ -364,7 +364,7 @@ namespace FPJ0000
// " where import = 1" +
// " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}' and state in ('---','PR','')" +
// " and projectidx = {1}";
//SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString());
//SQLExist = string.Format(SQLExist, dtPdate.Value.ToString("yyyy-MM-dd"), this.ProjectIndex.ToString());
//var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist);
//if (ExistCnt > 0)
//{
@@ -376,7 +376,7 @@ namespace FPJ0000
// " where import = 1" +
// " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}' and state in ('---','PR','')" +
// " and projectidx = {1}";
// SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString());
// SQLExist = string.Format(SQLExist, dtPdate.Value.ToString("yyyy-MM-dd"), this.ProjectIndex.ToString());
// var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist);
// Console.WriteLine(delCnt.ToString() + "건의 기존 입력된 자료가 삭제됨");
// }
@@ -437,7 +437,7 @@ namespace FPJ0000
if (newadd)
{
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.pdate = dtPdate.Value.ToShortDateString();
newdr.pdate = dtPdate.Value.ToString("yyyy-MM-dd");
newdr.state = "---";// cmbState.Text.Trim();
newdr.request = userNo.Trim();
newdr.sid = dr.ItemSid.Replace(" ", "").Trim();
@@ -514,7 +514,7 @@ namespace FPJ0000
{
newdr.process = FCOMMON.info.Login.process;
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.pdate = dtPdate.Value.ToShortDateString();
newdr.pdate = dtPdate.Value.ToString("yyyy-MM-dd");
newdr.state = "---";// cmbState.Text.Trim();
newdr.request = userNo.Trim();
newdr.sid = dr.ItemSid.Replace(" ", "").Trim();