This commit is contained in:
chikyun.kim
2018-11-26 11:34:20 +09:00
parent 8002b1a254
commit 3f68c3c5e8
19 changed files with 1072 additions and 664 deletions

View File

@@ -333,8 +333,6 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnpumidx;
private global::System.Data.DataColumn columnstateName;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public PurchaseDataTable() {
@@ -584,14 +582,6 @@ namespace FEQ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn stateNameColumn {
get {
return this.columnstateName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -655,8 +645,7 @@ namespace FEQ0000 {
string wuid,
System.DateTime wdate,
bool import,
int pumidx,
string stateName) {
int pumidx) {
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -685,8 +674,7 @@ namespace FEQ0000 {
wuid,
wdate,
import,
pumidx,
stateName};
pumidx};
rowPurchaseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPurchaseRow);
return rowPurchaseRow;
@@ -743,7 +731,6 @@ namespace FEQ0000 {
this.columnwdate = base.Columns["wdate"];
this.columnimport = base.Columns["import"];
this.columnpumidx = base.Columns["pumidx"];
this.columnstateName = base.Columns["stateName"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -803,8 +790,6 @@ namespace FEQ0000 {
base.Columns.Add(this.columnimport);
this.columnpumidx = new global::System.Data.DataColumn("pumidx", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpumidx);
this.columnstateName = new global::System.Data.DataColumn("stateName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstateName);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -833,8 +818,6 @@ namespace FEQ0000 {
this.columnwuid.AllowDBNull = false;
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
this.columnstateName.ReadOnly = true;
this.columnstateName.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1392,22 +1375,6 @@ namespace FEQ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string stateName {
get {
if (this.IsstateNameNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tablePurchase.stateNameColumn]));
}
}
set {
this[this.tablePurchase.stateNameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IspdateNull() {
@@ -1695,18 +1662,6 @@ namespace FEQ0000 {
public void SetpumidxNull() {
this[this.tablePurchase.pumidxColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsstateNameNull() {
return this.IsNull(this.tablePurchase.stateNameColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetstateNameNull() {
this[this.tablePurchase.stateNameColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -1895,7 +1850,6 @@ namespace FEQ0000.dsPurchaseTableAdapters {
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("import", "import");
tableMapping.ColumnMappings.Add("pumidx", "pumidx");
tableMapping.ColumnMappings.Add("stateName", "stateName");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -2129,7 +2083,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,
wdate, import, pumidx, dbo.getCodeName('04', state) AS stateName
wdate, import, pumidx
FROM Purchase
ORDER BY pdate DESC, idx DESC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
@@ -2142,9 +2096,9 @@ ORDER BY pdate DESC, idx DESC";
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = @"SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,
wdate, import, pumidx, dbo.getCodeName('04', state) AS stateName
wdate, import, pumidx
FROM Purchase
where pdate between @sd and @ed
WHERE (pdate BETWEEN @sd AND @ed)
ORDER BY pdate DESC, idx DESC";
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));