...
This commit is contained in:
@@ -226,7 +226,25 @@ namespace FCOMMON
|
||||
return datacnt == 1;
|
||||
|
||||
}
|
||||
public static bool DelMagamList(string mon)
|
||||
{
|
||||
var gcode = FCOMMON.info.Login.gcode;
|
||||
|
||||
//해당기간내의 마감 자료를 조회해서 넣는다.
|
||||
var cn = getCn();
|
||||
cn.Open();
|
||||
|
||||
var retval = new List<string>();
|
||||
string sql = "delete from EETGW_Magam where gcode=@gcode and pdate = @pdate";
|
||||
var cmd = new SqlCommand(sql, cn);
|
||||
cmd.Parameters.Add("gcode", System.Data.SqlDbType.VarChar).Value = gcode;
|
||||
cmd.Parameters.Add("pdate", System.Data.SqlDbType.VarChar).Value = mon;
|
||||
var datacnt = int.Parse(cmd.ExecuteNonQuery().ToString());
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
return datacnt == 1;
|
||||
|
||||
}
|
||||
public static List<string> GetMagamList()
|
||||
{
|
||||
var gcode = FCOMMON.info.Login.gcode;
|
||||
|
||||
Reference in New Issue
Block a user