..
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user