사용자 로그인 완료하여 테이블 연결 데이터 수정.

This commit is contained in:
chi
2021-03-25 11:28:08 +09:00
parent 43672fabed
commit 3a667f14b1
22 changed files with 3492 additions and 135 deletions

View File

@@ -8,7 +8,7 @@
<EntityTypeShape EntityType="EEModelMain.UserGroup" Width="1.5" PointX="11.375" PointY="1" IsExpanded="true" /> <EntityTypeShape EntityType="EEModelMain.UserGroup" Width="1.5" PointX="11.375" PointY="1" IsExpanded="true" />
<EntityTypeShape EntityType="EEModelMain.EETGW_LoginInfo" Width="1.5" PointX="7.5" PointY="0.5" /> <EntityTypeShape EntityType="EEModelMain.EETGW_LoginInfo" Width="1.5" PointX="7.5" PointY="0.5" />
<EntityTypeShape EntityType="EEModelMain.Users" Width="1.5" PointX="8.875" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.Users" Width="1.5" PointX="8.875" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.EETGW_GroupUser" Width="1.5" PointX="0.75" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.EETGW_GroupUser" Width="2.125" PointX="0.75" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.vGroupUser" Width="1.5" PointX="3.375" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.vGroupUser" Width="1.5" PointX="3.375" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.EETGW_JobReport_AutoInput" Width="1.5" PointX="0.75" PointY="4.75" /> <EntityTypeShape EntityType="EEModelMain.EETGW_JobReport_AutoInput" Width="1.5" PointX="0.75" PointY="4.75" />
<EntityTypeShape EntityType="EEModelMain.JobReport" Width="1.5" PointX="5.375" PointY="3.75" /> <EntityTypeShape EntityType="EEModelMain.JobReport" Width="1.5" PointX="5.375" PointY="3.75" />

100
Project/Dialog/AccessDB.Designer.cs generated Normal file
View File

@@ -0,0 +1,100 @@

namespace Project.Dialog
{
partial class AccessDB
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.button3 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(39, 22);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(170, 58);
this.button1.TabIndex = 0;
this.button1.Text = "부서명 업데이트";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(166, 318);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(749, 47);
this.button2.TabIndex = 1;
this.button2.Text = "인원 업데이트";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// comboBox1
//
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(39, 86);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(925, 36);
this.comboBox1.TabIndex = 2;
//
// button3
//
this.button3.Location = new System.Drawing.Point(794, 22);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(170, 58);
this.button3.TabIndex = 3;
this.button3.Text = "등록";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// AccessDB
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(970, 470);
this.Controls.Add(this.button3);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "AccessDB";
this.Text = "AccessDB";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button button3;
}
}

107
Project/Dialog/AccessDB.cs Normal file
View File

@@ -0,0 +1,107 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class AccessDB : Form
{
public AccessDB()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
var dba = new dsAccessTableAdapters.GrpListTableAdapter();
var grplist = dba.GetData();
comboBox1.Items.Clear();
foreach (var item in grplist)
this.comboBox1.Items.Add(item.PersonUser2);
}
private void button3_Click(object sender, EventArgs e)
{
//부서등록
var ta = new dsMSSQLTableAdapters.UserGroupTableAdapter();
var usergrp = ta.GetData();
//이 부서에 속하지 않은 데이터는 추가한다.
var cnt = 0;
foreach (var item in comboBox1.Items)
{
var dept = item.ToString();
if (usergrp.Where(t => t.dept == dept).Any() == false)
{
var newdr = usergrp.NewUserGroupRow();
newdr.dept = dept;
newdr.permission = 511;
usergrp.AddUserGroupRow(newdr);
cnt += 1;
}
}
FCOMMON.Util.MsgI(cnt.ToString() + "건의 자료가 추가됨");
}
private void button2_Click(object sender, EventArgs e)
{
//인원업데이트
var dept = this.comboBox1.Text;
var tauser = new dsMSSQLTableAdapters.UsersTableAdapter();
var ta = new dsAccessTableAdapters.VIEW_CARD_PERSONTableAdapter();
var userlist = ta.GetData(dept);
var cnt = 0;
var cnte = 0;
foreach (dsAccess.VIEW_CARD_PERSONRow dr in userlist)
{
//이 사용자를 user 테이블에서 찾는다.
if (dr.IsSabunNull()) continue;
var dtUser = tauser.GetID(dr.Sabun);
if (dtUser.Rows.Count == 0)
{
//사라없음
var newdr = dtUser.NewUsersRow();
newdr.name = dr.Name;
if (dr.GradeName.Length > 5) newdr.grade = dr.GradeName.Substring(0, 5);
else newdr.grade = dr.GradeName;
newdr.dept = dr.PersonUser2;
newdr.hp = dr.Mobile;
if (dr.Tel.Length > 20) newdr.tel = dr.Tel.Substring(0, 15);
else newdr.tel = dr.Tel;
newdr.id = dr.Sabun;
newdr.password = "B6589FC6AB0DC82CF12099D1C2D40AB994E8410C";
newdr.wuid = "DEV";
newdr.wdate = DateTime.Now;
dtUser.AddUsersRow(newdr);
tauser.Update(dtUser);
cnt += 1;
}
else
{
//있으니 데이터 변경
foreach(dsMSSQL.UsersRow druser in dtUser.Rows)
{
druser.name = dr.Name;
druser.dept = dr.PersonUser2;
if (dr.GradeName.Length > 5) druser.grade = dr.GradeName.Substring(0, 5);
else druser.grade = dr.GradeName;
druser.EndEdit();
}
cnte += 1;
tauser.Update(dtUser);
}
}
FCOMMON.Util.MsgI($"A{cnt},I:{cnte}");
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -31,6 +31,8 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin));
this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.cmbDept = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.linkLabel2 = new System.Windows.Forms.LinkLabel();
this.tbID = new System.Windows.Forms.ComboBox(); this.tbID = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
@@ -38,8 +40,6 @@
this.tbPW = new System.Windows.Forms.TextBox(); this.tbPW = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.btLogin = new System.Windows.Forms.Button(); this.btLogin = new System.Windows.Forms.Button();
this.cmbDept = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@@ -48,7 +48,7 @@
// pictureBox1 // pictureBox1
// //
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(205, 26); this.pictureBox1.Location = new System.Drawing.Point(295, 25);
this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(80, 80); this.pictureBox1.Size = new System.Drawing.Size(80, 80);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@@ -69,9 +69,30 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(488, 377); this.panel1.Size = new System.Drawing.Size(675, 377);
this.panel1.TabIndex = 0; this.panel1.TabIndex = 0;
// //
// cmbDept
//
this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F);
this.cmbDept.FormattingEnabled = true;
this.cmbDept.Location = new System.Drawing.Point(16, 136);
this.cmbDept.Name = "cmbDept";
this.cmbDept.Size = new System.Drawing.Size(645, 41);
this.cmbDept.TabIndex = 9;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.Gray;
this.label3.Location = new System.Drawing.Point(13, 119);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 15);
this.label3.TabIndex = 8;
this.label3.Text = "부서";
//
// linkLabel2 // linkLabel2
// //
this.linkLabel2.AutoSize = true; this.linkLabel2.AutoSize = true;
@@ -92,7 +113,7 @@
this.tbID.FormattingEnabled = true; this.tbID.FormattingEnabled = true;
this.tbID.Location = new System.Drawing.Point(16, 213); this.tbID.Location = new System.Drawing.Point(16, 213);
this.tbID.Name = "tbID"; this.tbID.Name = "tbID";
this.tbID.Size = new System.Drawing.Size(460, 41); this.tbID.Size = new System.Drawing.Size(645, 41);
this.tbID.TabIndex = 3; this.tbID.TabIndex = 3;
// //
// label2 // label2
@@ -123,7 +144,7 @@
this.tbPW.Location = new System.Drawing.Point(16, 287); this.tbPW.Location = new System.Drawing.Point(16, 287);
this.tbPW.Name = "tbPW"; this.tbPW.Name = "tbPW";
this.tbPW.PasswordChar = '●'; this.tbPW.PasswordChar = '●';
this.tbPW.Size = new System.Drawing.Size(460, 40); this.tbPW.Size = new System.Drawing.Size(645, 40);
this.tbPW.TabIndex = 5; this.tbPW.TabIndex = 5;
this.tbPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
@@ -134,7 +155,7 @@
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel2.Location = new System.Drawing.Point(0, 377); this.panel2.Location = new System.Drawing.Point(0, 377);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(488, 34); this.panel2.Size = new System.Drawing.Size(675, 34);
this.panel2.TabIndex = 6; this.panel2.TabIndex = 6;
// //
// btLogin // btLogin
@@ -142,38 +163,17 @@
this.btLogin.Dock = System.Windows.Forms.DockStyle.Fill; this.btLogin.Dock = System.Windows.Forms.DockStyle.Fill;
this.btLogin.Location = new System.Drawing.Point(0, 0); this.btLogin.Location = new System.Drawing.Point(0, 0);
this.btLogin.Name = "btLogin"; this.btLogin.Name = "btLogin";
this.btLogin.Size = new System.Drawing.Size(488, 34); this.btLogin.Size = new System.Drawing.Size(675, 34);
this.btLogin.TabIndex = 0; this.btLogin.TabIndex = 0;
this.btLogin.Text = "접속"; this.btLogin.Text = "접속";
this.btLogin.UseVisualStyleBackColor = true; this.btLogin.UseVisualStyleBackColor = true;
this.btLogin.Click += new System.EventHandler(this.button1_Click); this.btLogin.Click += new System.EventHandler(this.button1_Click);
// //
// cmbDept
//
this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F);
this.cmbDept.FormattingEnabled = true;
this.cmbDept.Location = new System.Drawing.Point(16, 136);
this.cmbDept.Name = "cmbDept";
this.cmbDept.Size = new System.Drawing.Size(460, 41);
this.cmbDept.TabIndex = 9;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.Gray;
this.label3.Location = new System.Drawing.Point(13, 119);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(31, 15);
this.label3.TabIndex = 8;
this.label3.Text = "부서";
//
// fLogin // fLogin
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.OrangeRed; this.BackColor = System.Drawing.Color.OrangeRed;
this.ClientSize = new System.Drawing.Size(488, 411); this.ClientSize = new System.Drawing.Size(675, 411);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

View File

@@ -32,6 +32,19 @@ namespace Project.Dialog
if (item != "") tbID.Items.Add(item); if (item != "") tbID.Items.Add(item);
if (tbID.Items.Count > 0) tbID.SelectedIndex = 0; if (tbID.Items.Count > 0) tbID.SelectedIndex = 0;
//S1 사용자 그룹목록 확인
//var tas1 = new S1ACCESS300Entities();
//var deptlist = tas1.VIEW_CARD_PERSON
// .Where(t => t.CardStatusID == 0 && string.IsNullOrEmpty(t.CardUser2) == false)
// .GroupBy(t => t.PersonUser2)
// .OrderBy(t => t.Key)
// .ToList();
//this.cmbDept.Items.Clear();
//foreach (var dept in deptlist)
// cmbDept.Items.Add(dept);
//그룹목록가져오기 //그룹목록가져오기
var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter(); var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter();
var grplist = tagrp.GetData(); var grplist = tagrp.GetData();

View File

@@ -265,6 +265,12 @@
<DependentUpon>DataSet1.xsd</DependentUpon> <DependentUpon>DataSet1.xsd</DependentUpon>
</Compile> </Compile>
<Compile Include="Device\Barcode.cs" /> <Compile Include="Device\Barcode.cs" />
<Compile Include="Dialog\AccessDB.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialog\AccessDB.Designer.cs">
<DependentUpon>AccessDB.cs</DependentUpon>
</Compile>
<Compile Include="Dialog\fChat.cs"> <Compile Include="Dialog\fChat.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -325,6 +331,11 @@
<Compile Include="Dialog\PMPUpdate.Designer.cs"> <Compile Include="Dialog\PMPUpdate.Designer.cs">
<DependentUpon>PMPUpdate.cs</DependentUpon> <DependentUpon>PMPUpdate.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="dsAccess.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dsAccess.xsd</DependentUpon>
</Compile>
<Compile Include="dsMSSQL.cs"> <Compile Include="dsMSSQL.cs">
<DependentUpon>dsMSSQL.xsd</DependentUpon> <DependentUpon>dsMSSQL.xsd</DependentUpon>
</Compile> </Compile>
@@ -450,6 +461,9 @@
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Util.cs" /> <Compile Include="Util.cs" />
<EmbeddedResource Include="Dialog\AccessDB.resx">
<DependentUpon>AccessDB.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialog\fChat.resx"> <EmbeddedResource Include="Dialog\fChat.resx">
<DependentUpon>fChat.cs</DependentUpon> <DependentUpon>fChat.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@@ -543,6 +557,17 @@
<None Include="DataSet1.xss"> <None Include="DataSet1.xss">
<DependentUpon>DataSet1.xsd</DependentUpon> <DependentUpon>DataSet1.xsd</DependentUpon>
</None> </None>
<None Include="dsAccess.xsc">
<DependentUpon>dsAccess.xsd</DependentUpon>
</None>
<None Include="dsAccess.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dsAccess.Designer.cs</LastGenOutput>
</None>
<None Include="dsAccess.xss">
<DependentUpon>dsAccess.xsd</DependentUpon>
</None>
<None Include="dsMSSQL.xsc"> <None Include="dsMSSQL.xsc">
<DependentUpon>dsMSSQL.xsd</DependentUpon> <DependentUpon>dsMSSQL.xsd</DependentUpon>
</None> </None>

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다. // 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("21.03.24.1200")] [assembly: AssemblyVersion("21.03.25.1100")]
[assembly: AssemblyFileVersion("21.03.24.1200")] [assembly: AssemblyFileVersion("21.03.25.1100")]

View File

@@ -43,5 +43,16 @@ namespace Project.Properties {
return ((string)(this["PMPCS"])); return ((string)(this["PMPCS"]));
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;U" +
"ser ID=amkoruser;Password=AmkorUser!")]
public string csAccess {
get {
return ((string)(this["csAccess"]));
}
}
} }
} }

View File

@@ -18,5 +18,13 @@
&lt;/SerializableConnectionString&gt;</DesignTimeValue> &lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb</Value> <Value Profile="(Default)">Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb</Value>
</Setting> </Setting>
<Setting Name="csAccess" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!</Value>
</Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

View File

@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<configSections> <configSections></configSections>
<connectionStrings>
</configSections> <add name="Project.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient" />
<connectionStrings> <add name="Project.Properties.Settings.PMPCS" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb" providerName="System.Data.OleDb" />
<add name="Project.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient" /> <add name="Project.Properties.Settings.csAccess" connectionString="Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!" providerName="System.Data.SqlClient" />
<add name="Project.Properties.Settings.PMPCS" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb" providerName="System.Data.OleDb" /><add name="EEEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;persist security info=True;user id=eeuser;password=Amkor123!;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /><add name="EEEntities1" connectionString="metadata=res://*/ModelMain.csdl|res://*/ModelMain.ssdl|res://*/ModelMain.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /><add name="EEEntitiesMain" connectionString="metadata=res://*/AdoNetEFMain.csdl|res://*/AdoNetEFMain.ssdl|res://*/AdoNetEFMain.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /></connectionStrings> <add name="EEEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;persist security info=True;user id=eeuser;password=Amkor123!;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<add name="EEEntities1" connectionString="metadata=res://*/ModelMain.csdl|res://*/ModelMain.ssdl|res://*/ModelMain.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<add name="EEEntitiesMain" connectionString="metadata=res://*/AdoNetEFMain.csdl|res://*/AdoNetEFMain.ssdl|res://*/AdoNetEFMain.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.131.15.18;initial catalog=EE;user id=eeuser;password=Amkor123!;connect timeout=30;encrypt=False;trustservercertificate=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<add name="S1ACCESS300Entities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.141.18.50;initial catalog=S1ACCESS300;persist security info=True;user id=amkoruser;password=AmkorUser!;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly> <dependentAssembly>
@@ -27,4 +30,7 @@
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /></startup></configuration> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>

2697
Project/dsAccess.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

9
Project/dsAccess.xsc Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

247
Project/dsAccess.xsd Normal file
View File

@@ -0,0 +1,247 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsAccess" targetNamespace="http://tempuri.org/dsAccess.xsd" xmlns:mstns="http://tempuri.org/dsAccess.xsd" xmlns="http://tempuri.org/dsAccess.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="csAccess" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="csAccess (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Project.Properties.Settings.GlobalReference.Default.csAccess" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GrpListTableAdapter" GeneratorDataComponentClassName="GrpListTableAdapter" Name="GrpList" UserDataComponentName="GrpListTableAdapter">
<MainSource>
<DbSource ConnectionRef="csAccess (Settings)" DbObjectName="S1ACCESS300.dbo.VIEW_CARD_PERSON" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select PersonUser2 from view_card_person
where CardStatusID = 0
and isnull(PersonUser2,'') &lt;&gt; ''
group by PersonUser2
order by PersonUser2</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PersonUser2" DataSetColumn="PersonUser2" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VIEW_CARD_PERSONTableAdapter" GeneratorDataComponentClassName="VIEW_CARD_PERSONTableAdapter" Name="VIEW_CARD_PERSON" UserDataComponentName="VIEW_CARD_PERSONTableAdapter">
<MainSource>
<DbSource ConnectionRef="csAccess (Settings)" DbObjectName="S1ACCESS300.dbo.VIEW_CARD_PERSON" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from view_card_person
where CardStatusID = 0
and isnull(PersonUser2,'') = @dept</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="dept" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CardFullNo" DataSetColumn="CardFullNo" />
<Mapping SourceColumn="CardNo" DataSetColumn="CardNo" />
<Mapping SourceColumn="ReIssueCnt" DataSetColumn="ReIssueCnt" />
<Mapping SourceColumn="CardType" DataSetColumn="CardType" />
<Mapping SourceColumn="CardStatusID" DataSetColumn="CardStatusID" />
<Mapping SourceColumn="ValidDate" DataSetColumn="ValidDate" />
<Mapping SourceColumn="Sabun" DataSetColumn="Sabun" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="Tel" DataSetColumn="Tel" />
<Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
<Mapping SourceColumn="OrgName" DataSetColumn="OrgName" />
<Mapping SourceColumn="GradeName" DataSetColumn="GradeName" />
<Mapping SourceColumn="PersonType" DataSetColumn="PersonType" />
<Mapping SourceColumn="PersonStatus" DataSetColumn="PersonStatus" />
<Mapping SourceColumn="personValid" DataSetColumn="personValid" />
<Mapping SourceColumn="PersonUser1" DataSetColumn="PersonUser1" />
<Mapping SourceColumn="PersonUser2" DataSetColumn="PersonUser2" />
<Mapping SourceColumn="PersonUser3" DataSetColumn="PersonUser3" />
<Mapping SourceColumn="PersonUser4" DataSetColumn="PersonUser4" />
<Mapping SourceColumn="PersonUser5" DataSetColumn="PersonUser5" />
<Mapping SourceColumn="CardUser1" DataSetColumn="CardUser1" />
<Mapping SourceColumn="CardUser2" DataSetColumn="CardUser2" />
<Mapping SourceColumn="CardUser3" DataSetColumn="CardUser3" />
<Mapping SourceColumn="CardUser4" DataSetColumn="CardUser4" />
<Mapping SourceColumn="CardUser5" DataSetColumn="CardUser5" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="dsAccess" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsAccess" msprop:Generator_UserDSName="dsAccess">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="GrpList" msprop:Generator_TableClassName="GrpListDataTable" msprop:Generator_TableVarName="tableGrpList" msprop:Generator_TablePropName="GrpList" msprop:Generator_RowDeletingName="GrpListRowDeleting" msprop:Generator_RowChangingName="GrpListRowChanging" msprop:Generator_RowEvHandlerName="GrpListRowChangeEventHandler" msprop:Generator_RowDeletedName="GrpListRowDeleted" msprop:Generator_UserTableName="GrpList" msprop:Generator_RowChangedName="GrpListRowChanged" msprop:Generator_RowEvArgName="GrpListRowChangeEvent" msprop:Generator_RowClassName="GrpListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="PersonUser2" msprop:Generator_ColumnVarNameInTable="columnPersonUser2" msprop:Generator_ColumnPropNameInRow="PersonUser2" msprop:Generator_ColumnPropNameInTable="PersonUser2Column" msprop:Generator_UserColumnName="PersonUser2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VIEW_CARD_PERSON" msprop:Generator_TableClassName="VIEW_CARD_PERSONDataTable" msprop:Generator_TableVarName="tableVIEW_CARD_PERSON" msprop:Generator_TablePropName="VIEW_CARD_PERSON" msprop:Generator_RowDeletingName="VIEW_CARD_PERSONRowDeleting" msprop:Generator_RowChangingName="VIEW_CARD_PERSONRowChanging" msprop:Generator_RowEvHandlerName="VIEW_CARD_PERSONRowChangeEventHandler" msprop:Generator_RowDeletedName="VIEW_CARD_PERSONRowDeleted" msprop:Generator_UserTableName="VIEW_CARD_PERSON" msprop:Generator_RowChangedName="VIEW_CARD_PERSONRowChanged" msprop:Generator_RowEvArgName="VIEW_CARD_PERSONRowChangeEvent" msprop:Generator_RowClassName="VIEW_CARD_PERSONRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CardFullNo" msprop:Generator_ColumnVarNameInTable="columnCardFullNo" msprop:Generator_ColumnPropNameInRow="CardFullNo" msprop:Generator_ColumnPropNameInTable="CardFullNoColumn" msprop:Generator_UserColumnName="CardFullNo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="36" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardNo" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCardNo" msprop:Generator_ColumnPropNameInRow="CardNo" msprop:Generator_ColumnPropNameInTable="CardNoColumn" msprop:Generator_UserColumnName="CardNo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="26" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ReIssueCnt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnReIssueCnt" msprop:Generator_ColumnPropNameInRow="ReIssueCnt" msprop:Generator_ColumnPropNameInTable="ReIssueCntColumn" msprop:Generator_UserColumnName="ReIssueCnt" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="36" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardType" msprop:Generator_ColumnVarNameInTable="columnCardType" msprop:Generator_ColumnPropNameInRow="CardType" msprop:Generator_ColumnPropNameInTable="CardTypeColumn" msprop:Generator_UserColumnName="CardType" type="xs:int" />
<xs:element name="CardStatusID" msprop:Generator_ColumnVarNameInTable="columnCardStatusID" msprop:Generator_ColumnPropNameInRow="CardStatusID" msprop:Generator_ColumnPropNameInTable="CardStatusIDColumn" msprop:Generator_UserColumnName="CardStatusID" type="xs:int" />
<xs:element name="ValidDate" msprop:Generator_ColumnVarNameInTable="columnValidDate" msprop:Generator_ColumnPropNameInRow="ValidDate" msprop:Generator_ColumnPropNameInTable="ValidDateColumn" msprop:Generator_UserColumnName="ValidDate" type="xs:dateTime" />
<xs:element name="Sabun" msprop:Generator_ColumnVarNameInTable="columnSabun" msprop:Generator_ColumnPropNameInRow="Sabun" msprop:Generator_ColumnPropNameInTable="SabunColumn" msprop:Generator_UserColumnName="Sabun" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Tel" msprop:Generator_ColumnVarNameInTable="columnTel" msprop:Generator_ColumnPropNameInRow="Tel" msprop:Generator_ColumnPropNameInTable="TelColumn" msprop:Generator_UserColumnName="Tel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="68" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" msprop:Generator_UserColumnName="Mobile" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="68" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrgName" msprop:Generator_ColumnVarNameInTable="columnOrgName" msprop:Generator_ColumnPropNameInRow="OrgName" msprop:Generator_ColumnPropNameInTable="OrgNameColumn" msprop:Generator_UserColumnName="OrgName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GradeName" msprop:Generator_ColumnVarNameInTable="columnGradeName" msprop:Generator_ColumnPropNameInRow="GradeName" msprop:Generator_ColumnPropNameInTable="GradeNameColumn" msprop:Generator_UserColumnName="GradeName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PersonType" msprop:Generator_ColumnVarNameInTable="columnPersonType" msprop:Generator_ColumnPropNameInRow="PersonType" msprop:Generator_ColumnPropNameInTable="PersonTypeColumn" msprop:Generator_UserColumnName="PersonType" type="xs:int" minOccurs="0" />
<xs:element name="PersonStatus" msprop:Generator_ColumnVarNameInTable="columnPersonStatus" msprop:Generator_ColumnPropNameInRow="PersonStatus" msprop:Generator_ColumnPropNameInTable="PersonStatusColumn" msprop:Generator_UserColumnName="PersonStatus" type="xs:int" minOccurs="0" />
<xs:element name="personValid" msprop:Generator_ColumnVarNameInTable="columnpersonValid" msprop:Generator_ColumnPropNameInRow="personValid" msprop:Generator_ColumnPropNameInTable="personValidColumn" msprop:Generator_UserColumnName="personValid" type="xs:dateTime" minOccurs="0" />
<xs:element name="PersonUser1" msprop:Generator_ColumnVarNameInTable="columnPersonUser1" msprop:Generator_ColumnPropNameInRow="PersonUser1" msprop:Generator_ColumnPropNameInTable="PersonUser1Column" msprop:Generator_UserColumnName="PersonUser1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PersonUser2" msprop:Generator_ColumnVarNameInTable="columnPersonUser2" msprop:Generator_ColumnPropNameInRow="PersonUser2" msprop:Generator_ColumnPropNameInTable="PersonUser2Column" msprop:Generator_UserColumnName="PersonUser2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PersonUser3" msprop:Generator_ColumnVarNameInTable="columnPersonUser3" msprop:Generator_ColumnPropNameInRow="PersonUser3" msprop:Generator_ColumnPropNameInTable="PersonUser3Column" msprop:Generator_UserColumnName="PersonUser3" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PersonUser4" msprop:Generator_ColumnVarNameInTable="columnPersonUser4" msprop:Generator_ColumnPropNameInRow="PersonUser4" msprop:Generator_ColumnPropNameInTable="PersonUser4Column" msprop:Generator_UserColumnName="PersonUser4" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PersonUser5" msprop:Generator_ColumnVarNameInTable="columnPersonUser5" msprop:Generator_ColumnPropNameInRow="PersonUser5" msprop:Generator_ColumnPropNameInTable="PersonUser5Column" msprop:Generator_UserColumnName="PersonUser5" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardUser1" msprop:Generator_ColumnVarNameInTable="columnCardUser1" msprop:Generator_ColumnPropNameInRow="CardUser1" msprop:Generator_ColumnPropNameInTable="CardUser1Column" msprop:Generator_UserColumnName="CardUser1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardUser2" msprop:Generator_ColumnVarNameInTable="columnCardUser2" msprop:Generator_ColumnPropNameInRow="CardUser2" msprop:Generator_ColumnPropNameInTable="CardUser2Column" msprop:Generator_UserColumnName="CardUser2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardUser3" msprop:Generator_ColumnVarNameInTable="columnCardUser3" msprop:Generator_ColumnPropNameInRow="CardUser3" msprop:Generator_ColumnPropNameInTable="CardUser3Column" msprop:Generator_UserColumnName="CardUser3" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardUser4" msprop:Generator_ColumnVarNameInTable="columnCardUser4" msprop:Generator_ColumnPropNameInRow="CardUser4" msprop:Generator_ColumnPropNameInTable="CardUser4Column" msprop:Generator_UserColumnName="CardUser4" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CardUser5" msprop:Generator_ColumnVarNameInTable="columnCardUser5" msprop:Generator_ColumnPropNameInRow="CardUser5" msprop:Generator_ColumnPropNameInTable="CardUser5Column" msprop:Generator_UserColumnName="CardUser5" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VIEW_CARD_PERSON" />
<xs:field xpath="mstns:CardFullNo" />
</xs:unique>
</xs:element>
</xs:schema>

13
Project/dsAccess.xss Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:GrpList" ZOrder="2" X="302" Y="218" Height="96" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:VIEW_CARD_PERSON" ZOrder="1" X="619" Y="226" Height="305" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors />
</DiagramLayout>

View File

@@ -119,6 +119,7 @@
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.accessDBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmTab.SuspendLayout(); this.cmTab.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
@@ -239,14 +240,14 @@
// //
this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image")));
this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; this.codesToolStripMenuItem.Name = "codesToolStripMenuItem";
this.codesToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.codesToolStripMenuItem.Text = "공용코드"; this.codesToolStripMenuItem.Text = "공용코드";
this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click);
// //
// itemsToolStripMenuItem // itemsToolStripMenuItem
// //
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
this.itemsToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.itemsToolStripMenuItem.Text = "품목정보"; this.itemsToolStripMenuItem.Text = "품목정보";
this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click);
// //
@@ -257,7 +258,7 @@
this.myAccouserToolStripMenuItem, this.myAccouserToolStripMenuItem,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.userInfoToolStripMenuItem.Text = "사용자"; this.userInfoToolStripMenuItem.Text = "사용자";
// //
// userAccountToolStripMenuItem // userAccountToolStripMenuItem
@@ -284,14 +285,14 @@
// customerToolStripMenuItem // customerToolStripMenuItem
// //
this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; this.customerToolStripMenuItem.Name = "customerToolStripMenuItem";
this.customerToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.customerToolStripMenuItem.Text = "업체정보"; this.customerToolStripMenuItem.Text = "업체정보";
this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click);
// //
// mn_kuntae // mn_kuntae
// //
this.mn_kuntae.Name = "mn_kuntae"; this.mn_kuntae.Name = "mn_kuntae";
this.mn_kuntae.Size = new System.Drawing.Size(180, 24); this.mn_kuntae.Size = new System.Drawing.Size(153, 24);
this.mn_kuntae.Text = "월별 근무표"; this.mn_kuntae.Text = "월별 근무표";
this.mn_kuntae.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.mn_kuntae.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -299,7 +300,7 @@
// //
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; this.ToolStripMenuItem.Name = "메일양식ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.ToolStripMenuItem.Text = "메일 양식"; this.ToolStripMenuItem.Text = "메일 양식";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -343,14 +344,14 @@
// 목록ToolStripMenuItem // 목록ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "목록ToolStripMenuItem"; this.ToolStripMenuItem.Name = "목록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
this.ToolStripMenuItem.Text = "목록"; this.ToolStripMenuItem.Text = "목록";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 구매진행현황ToolStripMenuItem // 구매진행현황ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem"; this.ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
this.ToolStripMenuItem.Text = "CR구매현황"; this.ToolStripMenuItem.Text = "CR구매현황";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -649,7 +650,7 @@
// 품목검색ToolStripMenuItem // 품목검색ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "품목검색ToolStripMenuItem"; this.ToolStripMenuItem.Name = "품목검색ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
this.ToolStripMenuItem.Text = "품목 검색"; this.ToolStripMenuItem.Text = "품목 검색";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -677,7 +678,8 @@
this.toolStripMenuItem1, this.toolStripMenuItem1,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.pMP데이터베이스업데이트ToolStripMenuItem, this.pMP데이터베이스업데이트ToolStripMenuItem,
this.mailBackupToolStripMenuItem}); this.mailBackupToolStripMenuItem,
this.accessDBToolStripMenuItem});
this.btDev.ForeColor = System.Drawing.Color.Blue; this.btDev.ForeColor = System.Drawing.Color.Blue;
this.btDev.Name = "btDev"; this.btDev.Name = "btDev";
this.btDev.Size = new System.Drawing.Size(91, 23); this.btDev.Size = new System.Drawing.Size(91, 23);
@@ -884,6 +886,13 @@
this.toolStripButton2.Text = "품목정보"; this.toolStripButton2.Text = "품목정보";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
// //
// accessDBToolStripMenuItem
//
this.accessDBToolStripMenuItem.Name = "accessDBToolStripMenuItem";
this.accessDBToolStripMenuItem.Size = new System.Drawing.Size(278, 24);
this.accessDBToolStripMenuItem.Text = "Access DB";
this.accessDBToolStripMenuItem.Click += new System.EventHandler(this.accessDBToolStripMenuItem_Click);
//
// fMain // fMain
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1005,6 +1014,7 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem accessDBToolStripMenuItem;
} }
} }

View File

@@ -1150,5 +1150,11 @@ namespace Project
//var f = new Dialog.fWebView("http://localhost:9000/item/find"); //var f = new Dialog.fWebView("http://localhost:9000/item/find");
//f.Show(); //f.Show();
} }
private void accessDBToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new Dialog.AccessDB();
f.ShowDialog();
}
} }
} }

View File

@@ -374,53 +374,53 @@
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJGSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB
QwoXhVCNrK1o6oJog+iDkJrIvjRlkJQUgjUGI4Teo4g1o31bEGzqiG3e3bteTs/53StLVOiByz7ce55z QwoXhVCNrK1o6oJog+iDkJrIvjRlkJT0AtZlMELoPYpYM9q3BcGmjtjm3e56OT3nd68sUaEHLvtw73nO
nnPO1P9OzlC+r4aal9+iPHbaUL9nDfXHfb35yMdjWUMVCCj0HsNi8ByWBi9gOeyHvIP72foRNu9Ck8rn ec45U/87WUP5vhpqTn4L8tgpQ/1+bKg/7uuNRz4eyxgqT0C+9wgWgmewOHgOS2E/5B3cz9aOsHnnm1Qu
W7djMXAWpZt+lEcCKIf2YCXSip9zA6gFN1mQ26JiGUOZhTMnUIr048e1dphRD+yRXaiPOc+v1CDs6xss 17oVC4HTKF73ozQSQCm0C8uRVvycHUA1uMGC7CYVSxvKyp86hmKkHz+utMOKemCP7EB9zHl+JQdhX11n
yDWpaZFWXxo4j/LdAKrhHai7QHtqL6xnXai9Og47P4rK2+a1C8hM8PLQRVQmgrDueBxgog2150dgZnpg QbZJTYu0+uLAWZRuB1AJb0PdBdpTu1F71oXqq6Owc6Mov21evYDMBC8NnUd5IojaLY8DTLSh+vwQrHQP
fjmtH/v7OCrvPY0FvJmyyUywPbxTg63ZDpgfvRr0LePFw5fdCKXaMPphCNti/5xAw3gzZa8yW8lumNlT rC8n9WN/H0f5vaexgDdTNpkJtoe3a3DtSQesj14N+pb24v7LboSSbRj9MIQtsX9OoGG8mbJXmGtmN6zM
WBHw9Isu+OZ2o+NJC/Y/bkb0XQhbJ9wFjIqZlm5dQvVGS4NZwMXPPbid3odOF3gyHkDfeALx5CccujLj CSwLePpFF3yzO9HxqAV7HzYj+i6EzRPuAkbFTIs3LqByraXBLODC5x7cTO1Bpws8Hg+gbzyBuPkJBy7N
LGDOjKoau6oN482UTWaCDwjw8IOj6LuXwGQyi6nkAu4/zToLhN3HkjBnRkV2bZgrm8wEh+MpDYxOvkFv OAuYM6OqxC5rw3gzZZOZ4H0CPHjvMPruJDBpZjBlzuPu04yzQNh9LAlzZlRk14a5sslMcDie1MDo5Bv0
JCnguHWwf+Y1zZtnw1gS5syo6DYN482UTWaC/cNpDey8/KhdS+eIgiLryYbp2yVnstNtGsabKZvMBLuw RkwBx2v7+2de07w5NowlYc6Mim7TMN5M2WQm2D+c0sDOiw/atXSOKCiwnmyYvl1yJjvdpmG8mbLJTLAL
xsgCm91mPbV8KQkXMCrNLoaRnbLXMK8O7+cfg93W9ZSGsSTMmVHRbcewDdg5jE9U6D8Gu816smEsCXOm a4wssNlt1lPLl5JwAaPS7GIY2Sl7FfPK8H7+MdhtXU9pGEvCnBkV3XYMW4edw/hEhf5jsNusJxvGkjBn
03y0YetGqb9z/fRfd2rziQAAAABJRU5ErkJggg== Os1HG7ZmlPoLbev0XNP6gcQAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
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
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
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
</value> </value>
</data> </data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -89,7 +89,6 @@ namespace FPJ0000
tbProcess.Text = FCOMMON.info.Login.process; tbProcess.Text = FCOMMON.info.Login.process;
tbProcess.Tag = new List<string>(new string[] { FCOMMON.info.Login.process }); tbProcess.Tag = new List<string>(new string[] { FCOMMON.info.Login.process });
//담당자목록 - 사용자목록으로 처리한다. //담당자목록 - 사용자목록으로 처리한다.
string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no);
// if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; // if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)";

View File

@@ -1563,6 +1563,7 @@ namespace FPJ0000 {
this.columnid.Unique = true; this.columnid.Unique = true;
this.columnid.MaxLength = 20; this.columnid.MaxLength = 20;
this.columnname.MaxLength = 100; this.columnname.MaxLength = 100;
this.columngcode.AllowDBNull = false;
this.columngcode.MaxLength = 10; this.columngcode.MaxLength = 10;
} }
@@ -2774,12 +2775,7 @@ namespace FPJ0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string gcode { public string gcode {
get { get {
if (this.IsgcodeNull()) { return ((string)(this[this.tableProcessUserList.gcodeColumn]));
return string.Empty;
}
else {
return ((string)(this[this.tableProcessUserList.gcodeColumn]));
}
} }
set { set {
this[this.tableProcessUserList.gcodeColumn] = value; this[this.tableProcessUserList.gcodeColumn] = value;
@@ -2809,18 +2805,6 @@ namespace FPJ0000 {
public void SetnameNull() { public void SetnameNull() {
this[this.tableProcessUserList.nameColumn] = global::System.Convert.DBNull; this[this.tableProcessUserList.nameColumn] = global::System.Convert.DBNull;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsgcodeNull() {
return this.IsNull(this.tableProcessUserList.gcodeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetgcodeNull() {
this[this.tableProcessUserList.gcodeColumn] = global::System.Convert.DBNull;
}
} }
/// <summary> /// <summary>
@@ -4127,14 +4111,15 @@ SELECT Users.id, Users.name, Users.gcode FROM Users RIGHT OUTER JOIN JobReport O
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT Users.id, Users.name, Users.gcode this._commandCollection[0].CommandText = @"SELECT Users.id, Users.name, JobReport.gcode
FROM Users RIGHT OUTER JOIN FROM EETGW_GroupUser INNER JOIN
JobReport ON Users.id = JobReport.uid JobReport ON EETGW_GroupUser.gcode = JobReport.gcode AND EETGW_GroupUser.uid = JobReport.uid LEFT OUTER JOIN
WHERE (Users.processs LIKE @process) AND (Users.id <> 'dev') AND (Users.id <> 'test') AND (Users.gcode = @gcode) Users ON JobReport.uid = Users.id
GROUP BY Users.id, Users.name, Users.gcode WHERE (Users.id <> 'dev') AND (Users.id <> 'test') AND (EETGW_GroupUser.Process LIKE @process) AND (JobReport.gcode = @gcode)
GROUP BY Users.id, Users.name, JobReport.gcode
ORDER BY Users.name"; ORDER BY Users.name";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "processs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
@@ -4151,7 +4136,7 @@ ORDER BY Users.name";
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process)); this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process));
} }
if ((gcode == null)) { if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; throw new global::System.ArgumentNullException("gcode");
} }
else { else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
@@ -4176,7 +4161,7 @@ ORDER BY Users.name";
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process)); this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process));
} }
if ((gcode == null)) { if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; throw new global::System.ArgumentNullException("gcode");
} }
else { else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));

View File

@@ -93,7 +93,7 @@ ORDER BY processs</CommandText>
</TableAdapter> </TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProcessUserListTableAdapter" GeneratorDataComponentClassName="ProcessUserListTableAdapter" Name="ProcessUserList" UserDataComponentName="ProcessUserListTableAdapter"> <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProcessUserListTableAdapter" GeneratorDataComponentClassName="ProcessUserListTableAdapter" Name="ProcessUserList" UserDataComponentName="ProcessUserListTableAdapter">
<MainSource> <MainSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand> <DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Users] WHERE (((@IsNull_id = 1 AND [id] IS NULL) OR ([id] = @Original_id)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))</CommandText> <CommandText>DELETE FROM [Users] WHERE (((@IsNull_id = 1 AND [id] IS NULL) OR ([id] = @Original_id)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))</CommandText>
@@ -109,15 +109,16 @@ ORDER BY processs</CommandText>
</DeleteCommand> </DeleteCommand>
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Users.id, Users.name, Users.gcode <CommandText>SELECT Users.id, Users.name, JobReport.gcode
FROM Users RIGHT OUTER JOIN FROM EETGW_GroupUser INNER JOIN
JobReport ON Users.id = JobReport.uid JobReport ON EETGW_GroupUser.gcode = JobReport.gcode AND EETGW_GroupUser.uid = JobReport.uid LEFT OUTER JOIN
WHERE (Users.processs LIKE @process) AND (Users.id &lt;&gt; 'dev') AND (Users.id &lt;&gt; 'test') AND (Users.gcode = @gcode) Users ON JobReport.uid = Users.id
GROUP BY Users.id, Users.name, Users.gcode WHERE (Users.id &lt;&gt; 'dev') AND (Users.id &lt;&gt; 'test') AND (EETGW_GroupUser.Process LIKE @process) AND (JobReport.gcode = @gcode)
GROUP BY Users.id, Users.name, JobReport.gcode
ORDER BY Users.name</CommandText> ORDER BY Users.name</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="processs" DataSourceName="EE.dbo.Users" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@process" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="processs" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="Process" DataSourceName="EE.dbo.EETGW_GroupUser" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="Process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Users" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</SelectCommand> </SelectCommand>
@@ -135,7 +136,7 @@ SELECT Users.id, Users.name, Users.gcode FROM Users RIGHT OUTER JOIN JobReport O
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.JobReport" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</UpdateCommand> </UpdateCommand>
@@ -234,7 +235,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
<xs:element name="dsReport" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsReport" msprop:Generator_UserDSName="dsReport"> <xs:element name="dsReport" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsReport" msprop:Generator_UserDSName="dsReport">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="jobReport" msprop:Generator_TableClassName="jobReportDataTable" msprop:Generator_TableVarName="tablejobReport" msprop:Generator_RowChangedName="jobReportRowChanged" msprop:Generator_TablePropName="jobReport" msprop:Generator_RowDeletingName="jobReportRowDeleting" msprop:Generator_RowChangingName="jobReportRowChanging" msprop:Generator_RowEvHandlerName="jobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="jobReportRowDeleted" msprop:Generator_RowClassName="jobReportRow" msprop:Generator_UserTableName="jobReport" msprop:Generator_RowEvArgName="jobReportRowChangeEvent"> <xs:element name="jobReport" msprop:Generator_TableClassName="jobReportDataTable" msprop:Generator_TableVarName="tablejobReport" msprop:Generator_TablePropName="jobReport" msprop:Generator_RowDeletingName="jobReportRowDeleting" msprop:Generator_RowChangingName="jobReportRowChanging" msprop:Generator_RowEvHandlerName="jobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="jobReportRowDeleted" msprop:Generator_UserTableName="jobReport" msprop:Generator_RowChangedName="jobReportRowChanged" msprop:Generator_RowEvArgName="jobReportRowChangeEvent" msprop:Generator_RowClassName="jobReportRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="yymm" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnyymm" msprop:Generator_ColumnPropNameInRow="yymm" msprop:Generator_ColumnPropNameInTable="yymmColumn" msprop:Generator_UserColumnName="yymm"> <xs:element name="yymm" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnyymm" msprop:Generator_ColumnPropNameInRow="yymm" msprop:Generator_ColumnPropNameInTable="yymmColumn" msprop:Generator_UserColumnName="yymm">
@@ -271,7 +272,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="JobReportDay" msprop:Generator_TableClassName="JobReportDayDataTable" msprop:Generator_TableVarName="tableJobReportDay" msprop:Generator_RowChangedName="JobReportDayRowChanged" msprop:Generator_TablePropName="JobReportDay" msprop:Generator_RowDeletingName="JobReportDayRowDeleting" msprop:Generator_RowChangingName="JobReportDayRowChanging" msprop:Generator_RowEvHandlerName="JobReportDayRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportDayRowDeleted" msprop:Generator_RowClassName="JobReportDayRow" msprop:Generator_UserTableName="JobReportDay" msprop:Generator_RowEvArgName="JobReportDayRowChangeEvent"> <xs:element name="JobReportDay" msprop:Generator_TableClassName="JobReportDayDataTable" msprop:Generator_TableVarName="tableJobReportDay" msprop:Generator_TablePropName="JobReportDay" msprop:Generator_RowDeletingName="JobReportDayRowDeleting" msprop:Generator_RowChangingName="JobReportDayRowChanging" msprop:Generator_RowEvHandlerName="JobReportDayRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportDayRowDeleted" msprop:Generator_UserTableName="JobReportDay" msprop:Generator_RowChangedName="JobReportDayRowChanged" msprop:Generator_RowEvArgName="JobReportDayRowChangeEvent" msprop:Generator_RowClassName="JobReportDayRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid"> <xs:element name="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid">
@@ -314,7 +315,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="ProcessList" msprop:Generator_TableClassName="ProcessListDataTable" msprop:Generator_TableVarName="tableProcessList" msprop:Generator_RowChangedName="ProcessListRowChanged" msprop:Generator_TablePropName="ProcessList" msprop:Generator_RowDeletingName="ProcessListRowDeleting" msprop:Generator_RowChangingName="ProcessListRowChanging" msprop:Generator_RowEvHandlerName="ProcessListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProcessListRowDeleted" msprop:Generator_RowClassName="ProcessListRow" msprop:Generator_UserTableName="ProcessList" msprop:Generator_RowEvArgName="ProcessListRowChangeEvent"> <xs:element name="ProcessList" msprop:Generator_TableClassName="ProcessListDataTable" msprop:Generator_TableVarName="tableProcessList" msprop:Generator_TablePropName="ProcessList" msprop:Generator_RowDeletingName="ProcessListRowDeleting" msprop:Generator_RowChangingName="ProcessListRowChanging" msprop:Generator_RowEvHandlerName="ProcessListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProcessListRowDeleted" msprop:Generator_UserTableName="ProcessList" msprop:Generator_RowChangedName="ProcessListRowChanged" msprop:Generator_RowEvArgName="ProcessListRowChangeEvent" msprop:Generator_RowClassName="ProcessListRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="processs" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="processs" msprop:Generator_ColumnVarNameInTable="columnprocesss" msprop:Generator_ColumnPropNameInTable="processsColumn" msprop:Generator_UserColumnName="processs"> <xs:element name="processs" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="processs" msprop:Generator_ColumnVarNameInTable="columnprocesss" msprop:Generator_ColumnPropNameInTable="processsColumn" msprop:Generator_UserColumnName="processs">
@@ -327,7 +328,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="ProcessUserList" msprop:Generator_TableClassName="ProcessUserListDataTable" msprop:Generator_TableVarName="tableProcessUserList" msprop:Generator_RowChangedName="ProcessUserListRowChanged" msprop:Generator_TablePropName="ProcessUserList" msprop:Generator_RowDeletingName="ProcessUserListRowDeleting" msprop:Generator_RowChangingName="ProcessUserListRowChanging" msprop:Generator_RowEvHandlerName="ProcessUserListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProcessUserListRowDeleted" msprop:Generator_RowClassName="ProcessUserListRow" msprop:Generator_UserTableName="ProcessUserList" msprop:Generator_RowEvArgName="ProcessUserListRowChangeEvent"> <xs:element name="ProcessUserList" msprop:Generator_TableClassName="ProcessUserListDataTable" msprop:Generator_TableVarName="tableProcessUserList" msprop:Generator_TablePropName="ProcessUserList" msprop:Generator_RowDeletingName="ProcessUserListRowDeleting" msprop:Generator_RowChangingName="ProcessUserListRowChanging" msprop:Generator_RowEvHandlerName="ProcessUserListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProcessUserListRowDeleted" msprop:Generator_UserTableName="ProcessUserList" msprop:Generator_RowChangedName="ProcessUserListRowChanged" msprop:Generator_RowEvArgName="ProcessUserListRowChangeEvent" msprop:Generator_RowClassName="ProcessUserListRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" minOccurs="0"> <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" minOccurs="0">
@@ -344,7 +345,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="gcode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode" minOccurs="0"> <xs:element name="gcode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
@@ -354,7 +355,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="PartSummary" msprop:Generator_TableClassName="PartSummaryDataTable" msprop:Generator_TableVarName="tablePartSummary" msprop:Generator_RowChangedName="PartSummaryRowChanged" msprop:Generator_TablePropName="PartSummary" msprop:Generator_RowDeletingName="PartSummaryRowDeleting" msprop:Generator_RowChangingName="PartSummaryRowChanging" msprop:Generator_RowEvHandlerName="PartSummaryRowChangeEventHandler" msprop:Generator_RowDeletedName="PartSummaryRowDeleted" msprop:Generator_RowClassName="PartSummaryRow" msprop:Generator_UserTableName="PartSummary" msprop:Generator_RowEvArgName="PartSummaryRowChangeEvent"> <xs:element name="PartSummary" msprop:Generator_TableClassName="PartSummaryDataTable" msprop:Generator_TableVarName="tablePartSummary" msprop:Generator_TablePropName="PartSummary" msprop:Generator_RowDeletingName="PartSummaryRowDeleting" msprop:Generator_RowChangingName="PartSummaryRowChanging" msprop:Generator_RowEvHandlerName="PartSummaryRowChangeEventHandler" msprop:Generator_RowDeletedName="PartSummaryRowDeleted" msprop:Generator_UserTableName="PartSummary" msprop:Generator_RowChangedName="PartSummaryRowChanged" msprop:Generator_RowEvArgName="PartSummaryRowChangeEvent" msprop:Generator_RowClassName="PartSummaryRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="ItemGroup" msprop:nullValue="미지정" msprop:Generator_ColumnPropNameInRow="ItemGroup" msprop:Generator_ColumnVarNameInTable="columnItemGroup" msprop:Generator_ColumnPropNameInTable="ItemGroupColumn" msprop:Generator_UserColumnName="ItemGroup" type="xs:string" minOccurs="0" /> <xs:element name="ItemGroup" msprop:nullValue="미지정" msprop:Generator_ColumnPropNameInRow="ItemGroup" msprop:Generator_ColumnVarNameInTable="columnItemGroup" msprop:Generator_ColumnPropNameInTable="ItemGroupColumn" msprop:Generator_UserColumnName="ItemGroup" type="xs:string" minOccurs="0" />
@@ -366,19 +367,19 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent" msprop:Generator_RowClassName="HolidayLIstRow"> <xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> <xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="free" msprop:Generator_ColumnVarNameInTable="columnfree" msprop:Generator_ColumnPropNameInRow="free" msprop:nullValue="0" msprop:Generator_ColumnPropNameInTable="freeColumn" msprop:Generator_UserColumnName="free" type="xs:boolean" minOccurs="0" /> <xs:element name="free" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="free" msprop:Generator_ColumnVarNameInTable="columnfree" msprop:Generator_ColumnPropNameInTable="freeColumn" msprop:Generator_UserColumnName="free" type="xs:boolean" minOccurs="0" />
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> <xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />

View File

@@ -10,8 +10,8 @@
<Shape ID="DesignTable:JobReportDay" ZOrder="5" X="311" Y="177" Height="394" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="326" /> <Shape ID="DesignTable:JobReportDay" ZOrder="5" X="311" Y="177" Height="394" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="326" />
<Shape ID="DesignTable:ProcessList" ZOrder="4" X="587" Y="65" Height="190" Width="177" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:ProcessList" ZOrder="4" X="587" Y="65" Height="190" Width="177" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ProcessUserList" ZOrder="3" X="619" Y="303" Height="248" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="180" /> <Shape ID="DesignTable:ProcessUserList" ZOrder="3" X="619" Y="303" Height="248" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="180" />
<Shape ID="DesignTable:PartSummary" ZOrder="2" X="852" Y="79" Height="143" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="139" />
<Shape ID="DesignTable:HolidayLIst" ZOrder="1" X="915" Y="260" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:HolidayLIst" ZOrder="1" X="915" Y="260" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:PartSummary" ZOrder="2" X="852" Y="79" Height="143" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="139" />
</Shapes> </Shapes>
<Connectors /> <Connectors />
</DiagramLayout> </DiagramLayout>