This commit is contained in:
chi
2020-09-03 20:44:39 +09:00
parent d88b1e1909
commit 31941ae90f
54 changed files with 4184 additions and 1604 deletions

View File

@@ -211,7 +211,6 @@ namespace FPJ0000
return false;
}
if (cbProcess.Text.Trim() == "")
{
FCOMMON.Util.MsgE("프로세스를 선택하세요.");
@@ -327,7 +326,7 @@ namespace FPJ0000
var SQLExist =
" select count(*) from Purchase" +
" where import = 1" +
" and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" +
" 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());
var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist);
@@ -339,7 +338,7 @@ namespace FPJ0000
SQLExist =
" delete from Purchase" +
" where import = 1" +
" and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" +
" 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());
var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist);