warn clear

This commit is contained in:
ChiKyun Kim
2025-07-15 09:56:28 +09:00
parent 479a736b80
commit 2b322542f1
26 changed files with 53 additions and 191 deletions

File diff suppressed because one or more lines are too long

View File

@@ -323,8 +323,8 @@ namespace FPJ0000.JobReport_
//ETC영역계산
{
//전체합산데이터와, 2~10까지의 데이터가 일치하지 않으면 그것이 ETC이다
var etchr = item.Where(t => t.hrs != null).Sum(t => (float)t.hrs);
var etcot = item.Where(t => t.ot != null).Sum(t => (float)t.ot);
var etchr = item.Sum(t => (float)t.hrs);
var etcot = item.Sum(t => (float)t.ot);
//현재데이터의 hrs의 합
var subtotal = 0f;

View File

@@ -707,7 +707,6 @@
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.Button btRefreshTreeview;
private System.Windows.Forms.Label lbWarningManager;
private System.Windows.Forms.DataGridViewTextBoxColumn svalue2DataGridViewTextBoxColumn;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox4;

View File

@@ -134,7 +134,7 @@ namespace FPJ0000.JobReport_
var TotHrs = dsReport.JobProjectTimes.Sum(t => t.hrs);
//데이터를 추가한다.
bool addholy = false;
//bool addholy = false;
foreach (var dr in dsReport.JobProjectTimes.OrderByDescending(t => t.PrjStatus + t.PrjName).GroupBy(t => t.PrjName))
{
var pidx = dr.Key;
@@ -151,13 +151,13 @@ namespace FPJ0000.JobReport_
{
row.Add("--");
row.Add("미팅");
addholy = true;
//addholy = true;
}
else if (dr.Key == "휴가")
{
row.Add("--");
row.Add("휴가");
addholy = true;
//addholy = true;
}
else
{

View File

@@ -206,10 +206,7 @@ namespace FPJ0000.OtConfirm
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btOK;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
public System.Windows.Forms.NumericUpDown nudValuePMS;
public System.Windows.Forms.RadioButton radAllPMS;
public System.Windows.Forms.RadioButton radAll;

View File

@@ -768,8 +768,8 @@ namespace FPJ0000
private void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.RowIndex < 0 || e.ColumnIndex < 0) return;
var colr = "dvc_qtyreq";
var col = "dvc_qty";
// var colr = "dvc_qtyreq";
// var col = "dvc_qty";
//dv1.Rows[e.RowIndex].Cells[e.ColumnIndex]
}

View File

@@ -351,35 +351,35 @@ namespace FPJ0000
util.MsgE("프로젝트로 등록하세요. 프로젝트 정보 중 [비용절감]을 체크하세요");
return;
var newdr = this.dsMSSQL.EETGW_SaveCost.NewEETGW_SaveCostRow();
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd");
newdr.edate = DateTime.Now.ToString("yyyy-MM-dd");
newdr.userManager = FCOMMON.info.Login.nameK;
newdr.userprocess = FCOMMON.info.Login.process;
newdr.costn = 0;
newdr.costo = 0;
newdr.cnt = 1;
newdr.name = "Project Title";
var f = new fSaveCostData(newdr);
f.StartPosition = FormStartPosition.CenterScreen;
var dlg = f.ShowDialog();
if (dlg == System.Windows.Forms.DialogResult.OK)
{
this.dsMSSQL.EETGW_SaveCost.AddEETGW_SaveCostRow(newdr);
try
{
//var newdr = this.dsMSSQL.EETGW_SaveCost.NewEETGW_SaveCostRow();
//newdr.wuid = FCOMMON.info.Login.no;
//newdr.wdate = DateTime.Now;
//newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd");
//newdr.edate = DateTime.Now.ToString("yyyy-MM-dd");
//newdr.userManager = FCOMMON.info.Login.nameK;
//newdr.userprocess = FCOMMON.info.Login.process;
//newdr.costn = 0;
//newdr.costo = 0;
//newdr.cnt = 1;
//newdr.name = "Project Title";
//var f = new fSaveCostData(newdr);
//f.StartPosition = FormStartPosition.CenterScreen;
//var dlg = f.ShowDialog();
//if (dlg == System.Windows.Forms.DialogResult.OK)
//{
// this.dsMSSQL.EETGW_SaveCost.AddEETGW_SaveCostRow(newdr);
// try
// {
ta.Update(newdr);
}
catch (Exception ex)
{
FCOMMON.Util.MsgE("Save Error\n" + ex.Message);
}
// ta.Update(newdr);
// }
// catch (Exception ex)
// {
// FCOMMON.Util.MsgE("Save Error\n" + ex.Message);
// }
}
else newdr.Delete();
//}
//else newdr.Delete();
}
private void btEdit_Click(object sender, EventArgs e)
@@ -442,13 +442,6 @@ namespace FPJ0000
{
util.MsgE("프로젝트로 등록하세요. 프로젝트 정보 중 [비용절감]을 체크하세요");
return;
var newdr = this.dsMSSQL.EETGW_SaveCost.NewEETGW_SaveCostRow();
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pdate = DateTime.Now.ToShortDateString();
newdr.gcode = FCOMMON.info.Login.gcode;
this.dsMSSQL.EETGW_SaveCost.AddEETGW_SaveCostRow(newdr);
}
}
}

View File

@@ -832,7 +832,6 @@
private System.Windows.Forms.TextBox textBox3;
private dsMail dsMail;
private dsMailTableAdapters.MailDataTableAdapter ta;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private YARTE.UI.HtmlEditor htmlEditor1;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private System.Windows.Forms.ToolStripButton toolStripButton3;