타 부서 로그인 가능 상태 해제

This commit is contained in:
chi
2023-01-02 09:22:15 +09:00
parent 6ea52f61be
commit 3df038909e
27 changed files with 1501 additions and 1340 deletions

View File

@@ -1,4 +1,4 @@
// 모델 'D:\Source\##### 완료아이템\(014) GroupWare\Source\Project\AdoNetEFMain.edmx'에 대해 T4 코드 생성이 사용됩니다. // 모델 'D:\Source\##### 완료아이템\(0014) GroupWare\Source\Project\AdoNetEFMain.edmx'에 대해 T4 코드 생성이 사용됩니다.
// 레거시 코드 생성을 사용하려면 '코드 생성 전략' 디자이너 속성의 값을 // 레거시 코드 생성을 사용하려면 '코드 생성 전략' 디자이너 속성의 값을
// 'Legacy ObjectContext'로 변경하십시오. 이 속성은 모델이 디자이너에서 열릴 때 // 'Legacy ObjectContext'로 변경하십시오. 이 속성은 모델이 디자이너에서 열릴 때
// 속성 창에서 사용할 수 있습니다. // 속성 창에서 사용할 수 있습니다.

View File

@@ -17,6 +17,7 @@
<Property Name="state" Type="varchar" MaxLength="20" /> <Property Name="state" Type="varchar" MaxLength="20" />
<Property Name="useJobReport" Type="bit" /> <Property Name="useJobReport" Type="bit" />
<Property Name="useUserState" Type="bit" /> <Property Name="useUserState" Type="bit" />
<Property Name="exceptHoly" Type="bit" />
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" /> <Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="wdate" Type="smalldatetime" Nullable="false" /> <Property Name="wdate" Type="smalldatetime" Nullable="false" />
</EntityType> </EntityType>
@@ -90,12 +91,21 @@
<Property Name="remark" Type="nvarchar" MaxLength="255" /> <Property Name="remark" Type="nvarchar" MaxLength="255" />
<Property Name="hrs" Type="float" /> <Property Name="hrs" Type="float" />
<Property Name="ot" Type="float" /> <Property Name="ot" Type="float" />
<Property Name="otStart" Type="datetime" />
<Property Name="otEnd" Type="datetime" />
<Property Name="import" Type="bit" /> <Property Name="import" Type="bit" />
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" /> <Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="wdate" Type="smalldatetime" Nullable="false" /> <Property Name="wdate" Type="smalldatetime" Nullable="false" />
<Property Name="description2" Type="nvarchar(max)" /> <Property Name="description2" Type="nvarchar(max)" />
<Property Name="tag" Type="varchar" MaxLength="255" /> <Property Name="tag" Type="varchar" MaxLength="255" />
<Property Name="autoinput" Type="bit" /> <Property Name="autoinput" Type="bit" />
<Property Name="kisullv" Type="varchar" MaxLength="10" />
<Property Name="kisuldiv" Type="varchar" MaxLength="100" />
<Property Name="kisulamt" Type="decimal" Precision="18" Scale="3" />
<Property Name="ot2" Type="float" />
<Property Name="otReason" Type="varchar" MaxLength="255" />
<Property Name="otwuid" Type="varchar" MaxLength="20" />
<Property Name="ottime" Type="datetime" />
</EntityType> </EntityType>
<EntityType Name="Projects"> <EntityType Name="Projects">
<Key> <Key>
@@ -128,6 +138,9 @@
<Property Name="ddate" Type="varchar" MaxLength="50" /> <Property Name="ddate" Type="varchar" MaxLength="50" />
<Property Name="edate" Type="varchar" MaxLength="50" /> <Property Name="edate" Type="varchar" MaxLength="50" />
<Property Name="odate" Type="varchar" MaxLength="50" /> <Property Name="odate" Type="varchar" MaxLength="50" />
<Property Name="bdate" Type="varchar" MaxLength="50" />
<Property Name="qdate" Type="varchar" MaxLength="50" />
<Property Name="cdate" Type="varchar" MaxLength="50" />
<Property Name="progress" Type="int" /> <Property Name="progress" Type="int" />
<Property Name="memo" Type="nvarchar" MaxLength="255" /> <Property Name="memo" Type="nvarchar" MaxLength="255" />
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" /> <Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
@@ -141,9 +154,12 @@
<Property Name="CMP_Description" Type="nvarchar(max)" /> <Property Name="CMP_Description" Type="nvarchar(max)" />
<Property Name="CMP_Before" Type="nvarchar(max)" /> <Property Name="CMP_Before" Type="nvarchar(max)" />
<Property Name="CMP_After" Type="nvarchar(max)" /> <Property Name="CMP_After" Type="nvarchar(max)" />
<Property Name="CMP_After2" Type="nvarchar(max)" />
<Property Name="bCost" Type="bit" /> <Property Name="bCost" Type="bit" />
<Property Name="bFanOut" Type="bit" /> <Property Name="bFanOut" Type="bit" />
<Property Name="div" Type="varchar" MaxLength="2" /> <Property Name="div" Type="varchar" MaxLength="2" />
<Property Name="model" Type="varchar" MaxLength="50" />
<Property Name="serial" Type="varchar" MaxLength="50" />
<Property Name="EB_Site" Type="varchar" MaxLength="20" /> <Property Name="EB_Site" Type="varchar" MaxLength="20" />
<Property Name="EB_Line" Type="varchar" MaxLength="10" /> <Property Name="EB_Line" Type="varchar" MaxLength="10" />
<Property Name="EB_Team" Type="varchar" MaxLength="10" /> <Property Name="EB_Team" Type="varchar" MaxLength="10" />
@@ -153,6 +169,7 @@
<Property Name="EB_ConstNew" Type="float" /> <Property Name="EB_ConstNew" Type="float" />
<Property Name="EB_BoardName" Type="nvarchar" MaxLength="255" /> <Property Name="EB_BoardName" Type="nvarchar" MaxLength="255" />
<Property Name="bAlert" Type="bit" /> <Property Name="bAlert" Type="bit" />
<Property Name="championid" Type="varchar" MaxLength="20" />
</EntityType> </EntityType>
<EntityType Name="ProjectsHistory"> <EntityType Name="ProjectsHistory">
<Key> <Key>
@@ -231,6 +248,9 @@
<Property Name="bbuy" Type="bit" /> <Property Name="bbuy" Type="bit" />
<Property Name="bconfirm" Type="bit" /> <Property Name="bconfirm" Type="bit" />
<Property Name="bCancel" Type="bit" /> <Property Name="bCancel" Type="bit" />
<Property Name="reqUser" Type="varchar" MaxLength="30" />
<Property Name="recvUser" Type="nvarchar" MaxLength="30" />
<Property Name="recvDate" Type="varchar" MaxLength="10" />
</EntityType> </EntityType>
<EntityType Name="Purchase"> <EntityType Name="Purchase">
<Key> <Key>
@@ -251,6 +271,7 @@
<Property Name="pumunit" Type="varchar" MaxLength="50" /> <Property Name="pumunit" Type="varchar" MaxLength="50" />
<Property Name="pumqty" Type="int" /> <Property Name="pumqty" Type="int" />
<Property Name="pumprice" Type="decimal" Precision="18" Scale="0" /> <Property Name="pumprice" Type="decimal" Precision="18" Scale="0" />
<Property Name="pumpriceD" Type="decimal" Precision="18" Scale="2" />
<Property Name="pumamt" Type="decimal" Precision="18" Scale="0" /> <Property Name="pumamt" Type="decimal" Precision="18" Scale="0" />
<Property Name="supply" Type="varchar" MaxLength="200" /> <Property Name="supply" Type="varchar" MaxLength="200" />
<Property Name="supplyidx" Type="int" /> <Property Name="supplyidx" Type="int" />
@@ -280,6 +301,9 @@
<Property Name="path_kj" Type="nvarchar" MaxLength="100" /> <Property Name="path_kj" Type="nvarchar" MaxLength="100" />
<Property Name="advpurchase" Type="bit" /> <Property Name="advpurchase" Type="bit" />
<Property Name="permission" Type="int" /> <Property Name="permission" Type="int" />
<Property Name="advkisul" Type="bit" />
<Property Name="managerinfo" Type="varchar" MaxLength="255" />
<Property Name="devinfo" Type="varchar" MaxLength="255" />
</EntityType> </EntityType>
<EntityType Name="Users"> <EntityType Name="Users">
<Key> <Key>
@@ -335,6 +359,7 @@
<EntityType Name="vGroupUser"> <EntityType Name="vGroupUser">
<Key> <Key>
<PropertyRef Name="gcode" /> <PropertyRef Name="gcode" />
</Key> </Key>
<Property Name="gcode" Type="varchar" MaxLength="10" Nullable="false" /> <Property Name="gcode" Type="varchar" MaxLength="10" Nullable="false" />
<Property Name="dept" Type="varchar" MaxLength="100" /> <Property Name="dept" Type="varchar" MaxLength="100" />
@@ -352,11 +377,13 @@
<Property Name="ads_title" Type="nvarchar" MaxLength="100" /> <Property Name="ads_title" Type="nvarchar" MaxLength="100" />
<Property Name="ads_created" Type="varchar" MaxLength="50" /> <Property Name="ads_created" Type="varchar" MaxLength="50" />
<Property Name="memo" Type="nvarchar" MaxLength="255" /> <Property Name="memo" Type="nvarchar" MaxLength="255" />
<Property Name="processs" Type="varchar" MaxLength="50" /> <Property Name="processs" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="id" Type="varchar" MaxLength="20" /> <Property Name="id" Type="varchar" MaxLength="20" />
<Property Name="state" Type="varchar" MaxLength="20" /> <Property Name="state" Type="varchar" MaxLength="20" />
<Property Name="useJobReport" Type="bit" /> <Property Name="useJobReport" Type="bit" />
<Property Name="useUserState" Type="bit" /> <Property Name="useUserState" Type="bit" />
<Property Name="password" Type="varchar" MaxLength="50" />
<Property Name="exceptHoly" Type="bit" />
</EntityType> </EntityType>
<EntityContainer Name="EEModelMainStoreContainer"> <EntityContainer Name="EEModelMainStoreContainer">
<EntitySet Name="EETGW_GroupUser" EntityType="Self.EETGW_GroupUser" Schema="dbo" store:Type="Tables" /> <EntitySet Name="EETGW_GroupUser" EntityType="Self.EETGW_GroupUser" Schema="dbo" store:Type="Tables" />
@@ -410,7 +437,9 @@
[vGroupUser].[id] AS [id], [vGroupUser].[id] AS [id],
[vGroupUser].[state] AS [state], [vGroupUser].[state] AS [state],
[vGroupUser].[useJobReport] AS [useJobReport], [vGroupUser].[useJobReport] AS [useJobReport],
[vGroupUser].[useUserState] AS [useUserState] [vGroupUser].[useUserState] AS [useUserState],
[vGroupUser].[password] AS [password],
[vGroupUser].[exceptHoly] AS [exceptHoly]
FROM [dbo].[vGroupUser] AS [vGroupUser]</DefiningQuery> FROM [dbo].[vGroupUser] AS [vGroupUser]</DefiningQuery>
</EntitySet> </EntitySet>
</EntityContainer> </EntityContainer>
@@ -427,6 +456,9 @@
<Property Name="path_kj" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="path_kj" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="advpurchase" Type="Boolean" /> <Property Name="advpurchase" Type="Boolean" />
<Property Name="permission" Type="Int32" /> <Property Name="permission" Type="Int32" />
<Property Name="advkisul" Type="Boolean" />
<Property Name="managerinfo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="devinfo" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
</EntityType> </EntityType>
<EntityContainer Name="EEEntitiesMain" annotation:LazyLoadingEnabled="true"> <EntityContainer Name="EEEntitiesMain" annotation:LazyLoadingEnabled="true">
<EntitySet Name="UserGroup" EntityType="Self.UserGroup" /> <EntitySet Name="UserGroup" EntityType="Self.UserGroup" />
@@ -497,6 +529,7 @@
<Property Name="useUserState" Type="Boolean" /> <Property Name="useUserState" Type="Boolean" />
<Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" /> <Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" />
<Property Name="exceptHoly" Type="Boolean" />
</EntityType> </EntityType>
<EntityType Name="vGroupUser"> <EntityType Name="vGroupUser">
<Key> <Key>
@@ -518,11 +551,13 @@
<Property Name="ads_title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" /> <Property Name="ads_title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="ads_created" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="ads_created" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="memo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="memo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="processs" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="processs" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="id" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="id" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="state" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="state" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="useJobReport" Type="Boolean" /> <Property Name="useJobReport" Type="Boolean" />
<Property Name="useUserState" Type="Boolean" /> <Property Name="useUserState" Type="Boolean" />
<Property Name="password" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="exceptHoly" Type="Boolean" />
</EntityType> </EntityType>
<EntityType Name="EETGW_JobReport_AutoInput"> <EntityType Name="EETGW_JobReport_AutoInput">
<Key> <Key>
@@ -577,6 +612,15 @@
<Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="autoinput" Type="Boolean" /> <Property Name="autoinput" Type="Boolean" />
<Property Name="otStart" Type="DateTime" Precision="3" />
<Property Name="otEnd" Type="DateTime" Precision="3" />
<Property Name="kisullv" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="kisuldiv" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="kisulamt" Type="Decimal" Precision="18" Scale="3" />
<Property Name="ot2" Type="Double" />
<Property Name="otReason" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="otwuid" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="ottime" Type="DateTime" Precision="3" />
</EntityType> </EntityType>
<EntityType Name="vFindSID"> <EntityType Name="vFindSID">
<Key> <Key>
@@ -655,6 +699,13 @@
<Property Name="EB_ConstNew" Type="Double" /> <Property Name="EB_ConstNew" Type="Double" />
<Property Name="EB_BoardName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="EB_BoardName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="bAlert" Type="Boolean" /> <Property Name="bAlert" Type="Boolean" />
<Property Name="bdate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="qdate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="cdate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CMP_After2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="model" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="serial" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="championid" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
</EntityType> </EntityType>
<EntityType Name="ProjectsHistory"> <EntityType Name="ProjectsHistory">
<Key> <Key>
@@ -733,6 +784,9 @@
<Property Name="bbuy" Type="Boolean" /> <Property Name="bbuy" Type="Boolean" />
<Property Name="bconfirm" Type="Boolean" /> <Property Name="bconfirm" Type="Boolean" />
<Property Name="bCancel" Type="Boolean" /> <Property Name="bCancel" Type="Boolean" />
<Property Name="reqUser" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="recvUser" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
<Property Name="recvDate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
</EntityType> </EntityType>
<EntityType Name="Purchase"> <EntityType Name="Purchase">
<Key> <Key>
@@ -772,6 +826,7 @@
<Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" /> <Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" />
<Property Name="inqty" Type="Int32" /> <Property Name="inqty" Type="Int32" />
<Property Name="pumpriceD" Type="Decimal" Precision="18" Scale="2" />
</EntityType> </EntityType>
<EntityType Name="HolidayLIst"> <EntityType Name="HolidayLIst">
<Key> <Key>
@@ -793,6 +848,9 @@
<EntitySetMapping Name="UserGroup"> <EntitySetMapping Name="UserGroup">
<EntityTypeMapping TypeName="EEModelMain.UserGroup"> <EntityTypeMapping TypeName="EEModelMain.UserGroup">
<MappingFragment StoreEntitySet="UserGroup"> <MappingFragment StoreEntitySet="UserGroup">
<ScalarProperty Name="devinfo" ColumnName="devinfo" />
<ScalarProperty Name="managerinfo" ColumnName="managerinfo" />
<ScalarProperty Name="advkisul" ColumnName="advkisul" />
<ScalarProperty Name="dept" ColumnName="dept" /> <ScalarProperty Name="dept" ColumnName="dept" />
<ScalarProperty Name="gcode" ColumnName="gcode" /> <ScalarProperty Name="gcode" ColumnName="gcode" />
<ScalarProperty Name="path_kj" ColumnName="path_kj" /> <ScalarProperty Name="path_kj" ColumnName="path_kj" />
@@ -844,6 +902,7 @@
<EntitySetMapping Name="EETGW_GroupUser"> <EntitySetMapping Name="EETGW_GroupUser">
<EntityTypeMapping TypeName="EEModelMain.EETGW_GroupUser"> <EntityTypeMapping TypeName="EEModelMain.EETGW_GroupUser">
<MappingFragment StoreEntitySet="EETGW_GroupUser"> <MappingFragment StoreEntitySet="EETGW_GroupUser">
<ScalarProperty Name="exceptHoly" ColumnName="exceptHoly" />
<ScalarProperty Name="wdate" ColumnName="wdate" /> <ScalarProperty Name="wdate" ColumnName="wdate" />
<ScalarProperty Name="wuid" ColumnName="wuid" /> <ScalarProperty Name="wuid" ColumnName="wuid" />
<ScalarProperty Name="useUserState" ColumnName="useUserState" /> <ScalarProperty Name="useUserState" ColumnName="useUserState" />
@@ -860,6 +919,8 @@
<EntitySetMapping Name="vGroupUser"> <EntitySetMapping Name="vGroupUser">
<EntityTypeMapping TypeName="EEModelMain.vGroupUser"> <EntityTypeMapping TypeName="EEModelMain.vGroupUser">
<MappingFragment StoreEntitySet="vGroupUser"> <MappingFragment StoreEntitySet="vGroupUser">
<ScalarProperty Name="exceptHoly" ColumnName="exceptHoly" />
<ScalarProperty Name="password" ColumnName="password" />
<ScalarProperty Name="useUserState" ColumnName="useUserState" /> <ScalarProperty Name="useUserState" ColumnName="useUserState" />
<ScalarProperty Name="useJobReport" ColumnName="useJobReport" /> <ScalarProperty Name="useJobReport" ColumnName="useJobReport" />
<ScalarProperty Name="state" ColumnName="state" /> <ScalarProperty Name="state" ColumnName="state" />
@@ -916,6 +977,15 @@
<EntitySetMapping Name="JobReport"> <EntitySetMapping Name="JobReport">
<EntityTypeMapping TypeName="EEModelMain.JobReport"> <EntityTypeMapping TypeName="EEModelMain.JobReport">
<MappingFragment StoreEntitySet="JobReport"> <MappingFragment StoreEntitySet="JobReport">
<ScalarProperty Name="ottime" ColumnName="ottime" />
<ScalarProperty Name="otwuid" ColumnName="otwuid" />
<ScalarProperty Name="otReason" ColumnName="otReason" />
<ScalarProperty Name="ot2" ColumnName="ot2" />
<ScalarProperty Name="kisulamt" ColumnName="kisulamt" />
<ScalarProperty Name="kisuldiv" ColumnName="kisuldiv" />
<ScalarProperty Name="kisullv" ColumnName="kisullv" />
<ScalarProperty Name="otEnd" ColumnName="otEnd" />
<ScalarProperty Name="otStart" ColumnName="otStart" />
<ScalarProperty Name="autoinput" ColumnName="autoinput" /> <ScalarProperty Name="autoinput" ColumnName="autoinput" />
<ScalarProperty Name="tag" ColumnName="tag" /> <ScalarProperty Name="tag" ColumnName="tag" />
<ScalarProperty Name="description2" ColumnName="description2" /> <ScalarProperty Name="description2" ColumnName="description2" />
@@ -961,6 +1031,13 @@
<EntitySetMapping Name="Projects"> <EntitySetMapping Name="Projects">
<EntityTypeMapping TypeName="EEModelMain.Projects"> <EntityTypeMapping TypeName="EEModelMain.Projects">
<MappingFragment StoreEntitySet="Projects"> <MappingFragment StoreEntitySet="Projects">
<ScalarProperty Name="championid" ColumnName="championid" />
<ScalarProperty Name="serial" ColumnName="serial" />
<ScalarProperty Name="model" ColumnName="model" />
<ScalarProperty Name="CMP_After2" ColumnName="CMP_After2" />
<ScalarProperty Name="cdate" ColumnName="cdate" />
<ScalarProperty Name="qdate" ColumnName="qdate" />
<ScalarProperty Name="bdate" ColumnName="bdate" />
<ScalarProperty Name="bAlert" ColumnName="bAlert" /> <ScalarProperty Name="bAlert" ColumnName="bAlert" />
<ScalarProperty Name="EB_BoardName" ColumnName="EB_BoardName" /> <ScalarProperty Name="EB_BoardName" ColumnName="EB_BoardName" />
<ScalarProperty Name="EB_ConstNew" ColumnName="EB_ConstNew" /> <ScalarProperty Name="EB_ConstNew" ColumnName="EB_ConstNew" />
@@ -1063,6 +1140,9 @@
<EntitySetMapping Name="ProjectsPart"> <EntitySetMapping Name="ProjectsPart">
<EntityTypeMapping TypeName="EEModelMain.ProjectsPart"> <EntityTypeMapping TypeName="EEModelMain.ProjectsPart">
<MappingFragment StoreEntitySet="ProjectsPart"> <MappingFragment StoreEntitySet="ProjectsPart">
<ScalarProperty Name="recvDate" ColumnName="recvDate" />
<ScalarProperty Name="recvUser" ColumnName="recvUser" />
<ScalarProperty Name="reqUser" ColumnName="reqUser" />
<ScalarProperty Name="bCancel" ColumnName="bCancel" /> <ScalarProperty Name="bCancel" ColumnName="bCancel" />
<ScalarProperty Name="bconfirm" ColumnName="bconfirm" /> <ScalarProperty Name="bconfirm" ColumnName="bconfirm" />
<ScalarProperty Name="bbuy" ColumnName="bbuy" /> <ScalarProperty Name="bbuy" ColumnName="bbuy" />
@@ -1101,6 +1181,7 @@
<EntitySetMapping Name="Purchase"> <EntitySetMapping Name="Purchase">
<EntityTypeMapping TypeName="EEModelMain.Purchase"> <EntityTypeMapping TypeName="EEModelMain.Purchase">
<MappingFragment StoreEntitySet="Purchase"> <MappingFragment StoreEntitySet="Purchase">
<ScalarProperty Name="pumpriceD" ColumnName="pumpriceD" />
<ScalarProperty Name="inqty" ColumnName="inqty" /> <ScalarProperty Name="inqty" ColumnName="inqty" />
<ScalarProperty Name="wdate" ColumnName="wdate" /> <ScalarProperty Name="wdate" ColumnName="wdate" />
<ScalarProperty Name="wuid" ColumnName="wuid" /> <ScalarProperty Name="wuid" ColumnName="wuid" />

View File

@@ -11,393 +11,401 @@ using System.Windows.Forms;
namespace Project.Dialog namespace Project.Dialog
{ {
public partial class fLogin : Form public partial class fLogin : Form
{ {
public fLogin() public fLogin()
{ {
InitializeComponent(); InitializeComponent();
this.tbID.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) tbPW.Focus(); }; this.tbID.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) tbPW.Focus(); };
this.tbPW.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btLogin.PerformClick(); }; this.tbPW.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btLogin.PerformClick(); };
this.KeyPreview = true; this.KeyPreview = true;
this.KeyDown += (s1, e1) => this.KeyDown += (s1, e1) =>
{ {
if (e1.KeyCode == Keys.Escape) this.Close(); if (e1.KeyCode == Keys.Escape) this.Close();
}; };
this.Text = string.Format("사용자 확인(v{0})", Application.ProductVersion); this.Text = string.Format("사용자 확인(v{0})", Application.ProductVersion);
} }
private void fLogin_Load(object sender, EventArgs e) private void fLogin_Load(object sender, EventArgs e)
{ {
var list = Pub.setting.lastid.Split(';'); var list = Pub.setting.lastid.Split(';');
foreach (var item in list) foreach (var item in list)
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 사용자 그룹목록 확인 //S1 사용자 그룹목록 확인
//var tas1 = new S1ACCESS300Entities(); //var tas1 = new S1ACCESS300Entities();
//var deptlist = tas1.VIEW_CARD_PERSON //var deptlist = tas1.VIEW_CARD_PERSON
// .Where(t => t.CardStatusID == 0 && string.IsNullOrEmpty(t.CardUser2) == false) // .Where(t => t.CardStatusID == 0 && string.IsNullOrEmpty(t.CardUser2) == false)
// .GroupBy(t => t.PersonUser2) // .GroupBy(t => t.PersonUser2)
// .OrderBy(t => t.Key) // .OrderBy(t => t.Key)
// .ToList(); // .ToList();
//this.cmbDept.Items.Clear(); //this.cmbDept.Items.Clear();
//foreach (var dept in deptlist) //foreach (var dept in deptlist)
// cmbDept.Items.Add(dept); // cmbDept.Items.Add(dept);
//그룹목록가져오기 //그룹목록가져오기
var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter(); var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter();
var grplist = tagrp.GetData(); var grplist = tagrp.GetData();
this.cmbDept.DataSource = grplist; this.cmbDept.DataSource = grplist;
this.cmbDept.DisplayMember = "dept"; this.cmbDept.DisplayMember = "dept";
this.cmbDept.ValueMember = "gcode"; this.cmbDept.ValueMember = "gcode";
//마지막으로사용한 부서이름 //마지막으로사용한 부서이름
if (Pub.setting.lastdpt.isEmpty()) this.cmbDept.SelectedIndex = -1; if (Pub.setting.lastdpt.isEmpty()) this.cmbDept.SelectedIndex = -1;
else this.cmbDept.Text = Pub.setting.lastdpt; else this.cmbDept.Text = Pub.setting.lastdpt;
//foreach (var item in dlist) //foreach (var item in dlist)
// if (item != "") this.cmbDept.Items.Add(item); // if (item != "") this.cmbDept.Items.Add(item);
//if (cmbDept.Items.Count > 0) cmbDept.SelectedIndex = 0; //if (cmbDept.Items.Count > 0) cmbDept.SelectedIndex = 0;
this.Show(); this.Show();
Application.DoEvents(); Application.DoEvents();
if (this.tbID.Text.isEmpty() == false) tbPW.Focus(); if (this.tbID.Text.isEmpty() == false) tbPW.Focus();
else tbID.Focus(); else tbID.Focus();
} }
private void button1_Click(object sender, EventArgs e) private void button1_Click(object sender, EventArgs e)
{ {
if (this.tbID.Text.isEmpty()) if (this.tbID.Text.isEmpty())
{ {
tbID.Focus(); tbID.Focus();
return; return;
} }
if (this.tbPW.Text.isEmpty()) if (this.tbPW.Text.isEmpty())
{ {
tbPW.Focus(); tbPW.Focus();
return; return;
} }
if (cmbDept.SelectedIndex < 0) if (cmbDept.SelectedIndex < 0)
{ {
FCOMMON.Util.MsgE("소속 부서를 선택하세요"); FCOMMON.Util.MsgE("소속 부서를 선택하세요");
cmbDept.Focus(); cmbDept.Focus();
return; return;
} }
List<string> idlist = new List<string>(); List<string> idlist = new List<string>();
idlist.Add(tbID.Text.Trim()); idlist.Add(tbID.Text.Trim());
foreach (var item in this.tbID.Items) foreach (var item in this.tbID.Items)
if (idlist.Contains(item) == false) idlist.Add(item.ToString()); if (idlist.Contains(item) == false) idlist.Add(item.ToString());
//List<string> deptlist = new List<string>(); //List<string> deptlist = new List<string>();
//deptlist.Add(cmbDept.Text.Trim()); //deptlist.Add(cmbDept.Text.Trim());
//foreach (var item in this.cmbDept.Items) //foreach (var item in this.cmbDept.Items)
// if (deptlist.Contains(item) == false) deptlist.Add(item.ToString()); // if (deptlist.Contains(item) == false) deptlist.Add(item.ToString());
//180605 //180605
var vuserlist = ""; var vuserlist = "";
foreach (var item in idlist) foreach (var item in idlist)
vuserlist += ";" + item; vuserlist += ";" + item;
//var vdeptlist = ""; //var vdeptlist = "";
//foreach(var item in deptlist) //foreach(var item in deptlist)
// vdeptlist += ";" + item; // vdeptlist += ";" + item;
var gCode = this.cmbDept.SelectedValue.ToString();// as dsMSSQL.UserGroupRow; var gCode = this.cmbDept.SelectedValue.ToString();// as dsMSSQL.UserGroupRow;
Pub.setting.lastid = vuserlist;// tbID.Text.Trim(); Pub.setting.lastid = vuserlist;// tbID.Text.Trim();
Pub.setting.lastdpt = cmbDept.Text; //부서저장 201006 Pub.setting.lastdpt = cmbDept.Text; //부서저장 201006
Pub.setting.Save(); Pub.setting.Save();
var encpass = Pub.MakePasswordEnc(tbPW.Text.Trim()); var encpass = Pub.MakePasswordEnc(tbPW.Text.Trim());
var id = tbID.Text.Trim(); var id = tbID.Text.Trim();
//var ta = new dsMSSQLTableAdapters.QueriesTableAdapter();//.UsersTableAdapter(); //var ta = new dsMSSQLTableAdapters.QueriesTableAdapter();//.UsersTableAdapter();
try try
{ {
var userGcode=FCOMMON.DBM.ExecuteScalar($"select dbo.GetUserLoginCheck('{id}','{encpass}')"); var userGcode = FCOMMON.DBM.ExecuteScalar($"select dbo.GetUserLoginCheck('{gCode}','{id}','{encpass}')");
//var userGcode = ta.GetUserLoginCheck(id, encpass).ToString(); //var userGcode = ta.GetUserLoginCheck(id, encpass).ToString();
if (String.IsNullOrEmpty(userGcode)) if (String.IsNullOrEmpty(userGcode))
{ {
Util.MsgE("입력한 사용자 계정이 존재하지 않습니다\n관리자 문의 하세요"); Util.MsgE($"입력한 사용자 계정이 존재하지 않습니다\n\n담당부서명:{cmbDept.Text}\n부서코드:{gCode}\n\n접속 부서를 확인하시고 관리자 문의 하세요");
tbPW.SelectAll(); tbPW.SelectAll();
tbPW.Focus(); tbPW.Focus();
return; return;
} }
else if (userGcode.StartsWith("@ERR")) else if (userGcode.StartsWith("@ERR"))
{ {
Util.MsgE("접속실패\n\n" + userGcode.Substring(3)); Util.MsgE("접속실패\n\n" + userGcode.Substring(3));
return; return;
} }
//이사용자의 부서 코드확인 //이사용자의 부서 코드확인
var taUser = new dsMSSQLTableAdapters.vGroupUserTableAdapter(); var taUser = new dsMSSQLTableAdapters.vGroupUserTableAdapter();
var userdr = taUser.GetByID(userGcode, id).Rows[0] as dsMSSQL.vGroupUserRow; var userdr = taUser.GetByID(userGcode, id).Rows[0] as dsMSSQL.vGroupUserRow;
//var userdr = users.Rows[0] as dsMSSQL.UsersRow; //var deptname = cmbDept.Text.Trim();
//var taGrpUser = new dsMSSQLTableAdapters.EETGW_GroupUserTableAdapter(); //var seldeptcode = cmbDept.SelectedValue.ToString();
//var Exist = taGrpUser.ExistCheck(gCode, userdr.id) > 0; //if (deptname.Equals(userdr.dept) == false)
//if (userdr.level < 9 && Exist == false) //{
//{ // Util.MsgE("입력한 사용자는 지정한 부서에 접속할 권한이 없습니다");
// Util.MsgE("입력한 사용자는 지정한 부서에 접속할 권한이 없습니다"); // return;
// return; //}
//}
//if (userdr.outdate.isEmpty() == false) //var userdr = users.Rows[0] as dsMSSQL.UsersRow;
//{ //var taGrpUser = new dsMSSQLTableAdapters.EETGW_GroupUserTableAdapter();
// if (DateTime.TryParse(userdr.outdate, out DateTime dtout)) //var Exist = taGrpUser.ExistCheck(gCode, userdr.id) > 0;
// { //if (userdr.level < 9 && Exist == false)
// if (DateTime.Now > dtout) //{
// { // Util.MsgE("입력한 사용자는 지정한 부서에 접속할 권한이 없습니다");
// Util.MsgE("퇴사정보로 인해 이 계정은 로그인할 수 없습니다"); // return;
// return; //}
// }
// } //if (userdr.outdate.isEmpty() == false)
// else //{
// { // if (DateTime.TryParse(userdr.outdate, out DateTime dtout))
// Util.MsgE("퇴사일자가 입력되었지만 정상 문자열이 아니라서 진행할 수 없습니다"); // {
// return; // if (DateTime.Now > dtout)
// } // {
//} // Util.MsgE("퇴사정보로 인해 이 계정은 로그인할 수 없습니다");
// return;
// }
// }
// else
// {
// Util.MsgE("퇴사일자가 입력되었지만 정상 문자열이 아니라서 진행할 수 없습니다");
// return;
// }
//}
var MaxVerstion = FCOMMON.DBM.GetMaxVersion(); var MaxVerstion = FCOMMON.DBM.GetMaxVersion();
if (MaxVerstion.isEmpty() == false) if (MaxVerstion.isEmpty() == false)
{ {
var curversion = Application.ProductVersion; var curversion = Application.ProductVersion;
var verchk = curversion.CompareTo(MaxVerstion); var verchk = curversion.CompareTo(MaxVerstion);
if (verchk < 0) if (verchk < 0)
{ {
//내버젼이 낮다 //내버젼이 낮다
Util.MsgE("현재 구 버젼을 사용하고 있습니다.\n업데이트를 진행 하고 사용하시기 바랍니다"); Util.MsgE("현재 구 버젼을 사용하고 있습니다.\n업데이트를 진행 하고 사용하시기 바랍니다");
} }
} }
FCOMMON.info.Login.no = userdr.id; FCOMMON.info.Login.no = userdr.id;
FCOMMON.info.Login.nameK = userdr.name; FCOMMON.info.Login.nameK = userdr.name;
FCOMMON.info.Login.dept = cmbDept.Text;// userdr.dept;// cmbDept.Text; FCOMMON.info.Login.dept = cmbDept.Text;// userdr.dept;// cmbDept.Text;
FCOMMON.info.Login.level = userdr.level; FCOMMON.info.Login.level = userdr.level;
FCOMMON.info.Login.email = userdr.email; FCOMMON.info.Login.email = userdr.email;
FCOMMON.info.Login.nameE = userdr.nameE; FCOMMON.info.Login.nameE = userdr.nameE;
FCOMMON.info.Login.hp = userdr.hp; FCOMMON.info.Login.hp = userdr.hp;
FCOMMON.info.Login.tel = userdr.tel; FCOMMON.info.Login.tel = userdr.tel;
FCOMMON.info.Login.title = userdr.ads_title; FCOMMON.info.Login.title = userdr.ads_title;
FCOMMON.info.NotShowJobReportview = Pub.setting.NotShowJobreportPRewView; FCOMMON.info.NotShowJobReportview = Pub.setting.NotShowJobreportPRewView;
//var gcode = FCOMMON.DBM.ExecuteScalar("select isnull(gcode,'NOGCODE') from UserGroup where dept ='" + cmbDept.Text + "'"); //var gcode = FCOMMON.DBM.ExecuteScalar("select isnull(gcode,'NOGCODE') from UserGroup where dept ='" + cmbDept.Text + "'");
var gperm = FCOMMON.DBM.ExecuteScalar("select isnull(permission,0) from UserGroup where dept ='" + cmbDept.Text + "'"); var gperm = FCOMMON.DBM.ExecuteScalar("select isnull(permission,0) from UserGroup where dept ='" + cmbDept.Text + "'");
FCOMMON.info.Login.gcode = gCode;// gcode; FCOMMON.info.Login.gcode = gCode;// gcode;
FCOMMON.info.Login.process = userdr.id == "dev" ? "개발자": userdr.processs; FCOMMON.info.Login.process = userdr.id == "dev" ? "개발자" : userdr.processs;
FCOMMON.info.Login.permission = 0; FCOMMON.info.Login.permission = 0;
FCOMMON.info.Login.gpermission = int.Parse(gperm); FCOMMON.info.Login.gpermission = int.Parse(gperm);
FCOMMON.info.datapath = Pub.setting.SharedDataPath; FCOMMON.info.datapath = Pub.setting.SharedDataPath;
FCOMMON.info.ShowBuyerror = Pub.setting.Showbuyerror; //210625 FCOMMON.info.ShowBuyerror = Pub.setting.Showbuyerror; //210625
if (FCOMMON.info.datapath.isEmpty() && gCode == "EET1P") //210524 if (FCOMMON.info.datapath.isEmpty() && gCode == "EET1P") //210524
FCOMMON.info.datapath = @"\\k4fs3201n\k4bpartcenter$"; FCOMMON.info.datapath = @"\\k4fs3201n\k4bpartcenter$";
//using (var dbEnity = new EEEntitiesMain()) //using (var dbEnity = new EEEntitiesMain())
//{ //{
// var drGrpUser = dbEnity.EETGW_GroupUser.Where(t => t.uid == userdr.id & t.gcode == gCode).FirstOrDefault(); // var drGrpUser = dbEnity.EETGW_GroupUser.Where(t => t.uid == userdr.id & t.gcode == gCode).FirstOrDefault();
// if (drGrpUser == null) FCOMMON.info.Login.process = (userdr.id == "dev" ? "개발자" : ""); // if (drGrpUser == null) FCOMMON.info.Login.process = (userdr.id == "dev" ? "개발자" : "");
// else FCOMMON.info.Login.process = drGrpUser.Process; // else FCOMMON.info.Login.process = drGrpUser.Process;
//} //}
//로그인정보 기록 //로그인정보 기록
AddLoginInfo(); AddLoginInfo();
//210221 //210221
MakeAutoJobReportbyLogin(); MakeAutoJobReportbyLogin();
//210613 //210613
MakeAutoJobReportByAuto(); MakeAutoJobReportByAuto();
DialogResult = DialogResult.OK; DialogResult = DialogResult.OK;
} }
catch (Exception ex) catch (Exception ex)
{ {
Util.MsgE("데이터베이스 조회 실패 다음 오류 메세지를 참고하세요.\n\n" + ex.Message + "\n\n증상이 동일 할 경우 서버가 접속가능한지 먼저 확인하세요"); Util.MsgE("데이터베이스 조회 실패 다음 오류 메세지를 참고하세요.\n\n" + ex.Message + "\n\n증상이 동일 할 경우 서버가 접속가능한지 먼저 확인하세요");
DialogResult = System.Windows.Forms.DialogResult.Cancel; DialogResult = System.Windows.Forms.DialogResult.Cancel;
} }
} }
/// <summary> /// <summary>
/// 무조건 업무일지를 자동으로 작성하는 경우 /// 무조건 업무일지를 자동으로 작성하는 경우
/// </summary> /// </summary>
void MakeAutoJobReportByAuto() void MakeAutoJobReportByAuto()
{ {
//누군가가 로그인하면 당일 자동 생성되어야할 유저의 데이터를 기록한다. //누군가가 로그인하면 당일 자동 생성되어야할 유저의 데이터를 기록한다.
var dbi = new EEEntitiesMain(); var dbi = new EEEntitiesMain();
var db = new EEEntitiesMain(); var db = new EEEntitiesMain();
var nd = DateTime.Now.ToShortDateString(); var nd = DateTime.Now.ToShortDateString();
//이 날짜가 휴일인지 체크한다. //이 날짜가 휴일인지 체크한다.
var Holyinfo = db.HolidayLIst.Where(t => t.pdate == nd).FirstOrDefault(); var Holyinfo = db.HolidayLIst.Where(t => t.pdate == nd).FirstOrDefault();
if (Holyinfo != null && Holyinfo.free != null && (bool)(Holyinfo.free)) return; if (Holyinfo != null && Holyinfo.free != null && (bool)(Holyinfo.free)) return;
//토,일은 처리하지 않음 //토,일은 처리하지 않음
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday || DateTime.Now.DayOfWeek == DayOfWeek.Sunday) return; if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday || DateTime.Now.DayOfWeek == DayOfWeek.Sunday) return;
var rows = db.EETGW_JobReport_AutoInput.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.enable == true && t.autoinput == "A" && t.pdate.CompareTo(nd) <= 0 && (string.IsNullOrEmpty(t.edate) == true || t.edate.CompareTo(nd) > 0)); var rows = db.EETGW_JobReport_AutoInput.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.enable == true && t.autoinput == "A" && t.pdate.CompareTo(nd) <= 0 && (string.IsNullOrEmpty(t.edate) == true || t.edate.CompareTo(nd) > 0));
foreach (var dr in rows) foreach (var dr in rows)
{ {
//퇴사자 확인 //퇴사자 확인
var userdata = db.vGroupUser.Where(t => t.id == dr.uid).FirstOrDefault(); var userdata = db.vGroupUser.Where(t => t.id == dr.uid).FirstOrDefault();
if (userdata != null && string.IsNullOrEmpty(userdata.outdate) == false) continue; if (userdata != null && string.IsNullOrEmpty(userdata.outdate) == false) continue;
//오늘자 자동생성된 데이터가 있다면 처리하지 않는다 //오늘자 자동생성된 데이터가 있다면 처리하지 않는다
if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate == nd && t.uid == dr.uid && t.autoinput == true).Any()) continue; if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate == nd && t.uid == dr.uid && t.autoinput == true).Any()) continue;
//이데이터를 그대로 생성해준다. //이데이터를 그대로 생성해준다.
var newdr = new JobReport(); var newdr = new JobReport();
newdr.gcode = FCOMMON.info.Login.gcode; newdr.gcode = FCOMMON.info.Login.gcode;
newdr.wuid = dr.uid;// FCOMMON.info.Login.no; newdr.wuid = dr.uid;// FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now; newdr.wdate = DateTime.Now;
newdr.pdate = nd; newdr.pdate = nd;
newdr.import = false; newdr.import = false;
newdr.hrs = dr.hrs; newdr.hrs = dr.hrs;
newdr.type = dr.type;//210305 누락분 추가 newdr.type = dr.type;//210305 누락분 추가
newdr.ot = dr.ot; newdr.ot = dr.ot;
newdr.process = dr.process; newdr.process = dr.process;
newdr.projectName = dr.projectName; newdr.projectName = dr.projectName;
newdr.pidx = dr.pidx; newdr.pidx = dr.pidx;
newdr.package = dr.package; newdr.package = dr.package;
newdr.autoinput = true; newdr.autoinput = true;
newdr.description = dr.description; newdr.description = dr.description;
newdr.description2 = dr.description2; newdr.description2 = dr.description2;
newdr.remark = dr.remark; newdr.remark = dr.remark;
newdr.requestpart = dr.requestpart; newdr.requestpart = dr.requestpart;
newdr.status = dr.status; newdr.status = dr.status;
newdr.tag = dr.tag; newdr.tag = dr.tag;
newdr.uid = dr.uid; newdr.uid = dr.uid;
dbi.JobReport.Add(newdr); dbi.JobReport.Add(newdr);
dbi.SaveChanges(); dbi.SaveChanges();
} }
dbi.Dispose(); dbi.Dispose();
db.Dispose(); db.Dispose();
} }
/// <summary> /// <summary>
/// 로그인으로 업무일지를 작성하는 경우 /// 로그인으로 업무일지를 작성하는 경우
/// </summary> /// </summary>
void MakeAutoJobReportbyLogin() void MakeAutoJobReportbyLogin()
{ {
//자동로그인 업무일지 기록 기능 추가 = 210220 //자동로그인 업무일지 기록 기능 추가 = 210220
//select* from EETGW_JobReport_AutoInput where gcode = 'EET1P' and pdate <= '2021-02-20' and(edate is null or edate > '2021-02-20') and autoinput = 'L' //select* from EETGW_JobReport_AutoInput where gcode = 'EET1P' and pdate <= '2021-02-20' and(edate is null or edate > '2021-02-20') and autoinput = 'L'
var db = new EEEntitiesMain(); var db = new EEEntitiesMain();
var nd = DateTime.Now.ToShortDateString(); var nd = DateTime.Now.ToShortDateString();
if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode && if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode &&
t.autoinput == true && t.autoinput == true &&
t.uid == FCOMMON.info.Login.no && t.uid == FCOMMON.info.Login.no &&
t.pdate == nd).Any() == false) t.pdate == nd).Any() == false)
{ {
var rows = db.EETGW_JobReport_AutoInput.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.enable == true && t.autoinput == "L" && t.uid == FCOMMON.info.Login.no && t.pdate.CompareTo(nd) <= 0 && (string.IsNullOrEmpty(t.edate) == true || t.edate.CompareTo(nd) > 0)); var rows = db.EETGW_JobReport_AutoInput.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.enable == true && t.autoinput == "L" && t.uid == FCOMMON.info.Login.no && t.pdate.CompareTo(nd) <= 0 && (string.IsNullOrEmpty(t.edate) == true || t.edate.CompareTo(nd) > 0));
foreach (var dr in rows) foreach (var dr in rows)
{ {
//이데이터를 그대로 생성해준다. //이데이터를 그대로 생성해준다.
var newdr = new JobReport(); var newdr = new JobReport();
newdr.gcode = FCOMMON.info.Login.gcode; newdr.gcode = FCOMMON.info.Login.gcode;
newdr.wuid = FCOMMON.info.Login.no; newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now; newdr.wdate = DateTime.Now;
newdr.pdate = nd; newdr.pdate = nd;
newdr.import = false; newdr.import = false;
newdr.hrs = dr.hrs; newdr.hrs = dr.hrs;
newdr.type = dr.type;//210305 누락분 추가 newdr.type = dr.type;//210305 누락분 추가
newdr.ot = dr.ot; newdr.ot = dr.ot;
newdr.process = dr.process; newdr.process = dr.process;
newdr.projectName = dr.projectName; newdr.projectName = dr.projectName;
newdr.pidx = dr.pidx; newdr.pidx = dr.pidx;
newdr.package = dr.package; newdr.package = dr.package;
newdr.autoinput = true; newdr.autoinput = true;
newdr.description = dr.description; newdr.description = dr.description;
newdr.description2 = dr.description2; newdr.description2 = dr.description2;
newdr.remark = dr.remark; newdr.remark = dr.remark;
newdr.requestpart = dr.requestpart; newdr.requestpart = dr.requestpart;
newdr.status = dr.status; newdr.status = dr.status;
newdr.tag = dr.tag; newdr.tag = dr.tag;
newdr.uid = dr.uid; newdr.uid = dr.uid;
db.JobReport.Add(newdr); db.JobReport.Add(newdr);
} }
if (rows.Count() > 0) if (rows.Count() > 0)
{ {
db.SaveChanges(); db.SaveChanges();
Util.MsgI($"{rows.Count()} 건의 업무일지가 자동 생성 되었습니다\n업무일지는 로그인시 최초 1회 자동 등록됩니다\n" + Util.MsgI($"{rows.Count()} 건의 업무일지가 자동 생성 되었습니다\n업무일지는 로그인시 최초 1회 자동 등록됩니다\n" +
"자동입력을 해제하려면 '업무일지-자동입력' 화면에서 내역을 변경하거나 종료일자를 설정하시기 바랍니다"); "자동입력을 해제하려면 '업무일지-자동입력' 화면에서 내역을 변경하거나 종료일자를 설정하시기 바랍니다");
} }
} }
} }
void AddLoginInfo() void AddLoginInfo()
{ {
string ip = string.Empty; string ip = string.Empty;
string hostname = Dns.GetHostName(); string hostname = Dns.GetHostName();
string fullname = System.Net.Dns.GetHostEntry("").HostName; string fullname = System.Net.Dns.GetHostEntry("").HostName;
var nif = NetworkInterface.GetAllNetworkInterfaces(); var nif = NetworkInterface.GetAllNetworkInterfaces();
var host = Dns.GetHostEntry(hostname); var host = Dns.GetHostEntry(hostname);
foreach (IPAddress r in host.AddressList) foreach (IPAddress r in host.AddressList)
{ {
string str = r.ToString(); string str = r.ToString();
if (str != "" && str.Substring(0, 3) == "10.") if (str != "" && str.Substring(0, 3) == "10.")
{ {
ip = str; ip = str;
break; break;
} }
} }
if (ip == "" || hostname == "") return; if (ip == "" || hostname == "") return;
try try
{ {
var db = new EEEntitiesMain(); var db = new EEEntitiesMain();
db.EETGW_LoginInfo.Add(new EETGW_LoginInfo db.EETGW_LoginInfo.Add(new EETGW_LoginInfo
{ {
uid = FCOMMON.info.Login.no, uid = FCOMMON.info.Login.no,
hostname = fullname, hostname = fullname,
ip = ip, ip = ip,
login = DateTime.Now, login = DateTime.Now,
wuid = FCOMMON.info.Login.no, wuid = FCOMMON.info.Login.no,
wdate = DateTime.Now wdate = DateTime.Now
}); });
db.SaveChanges(); db.SaveChanges();
} }
catch (Exception ex) catch (Exception ex)
{ {
FCOMMON.Util.MsgE(ex.Message); FCOMMON.Util.MsgE(ex.Message);
Console.WriteLine(ex.Message); Console.WriteLine(ex.Message);
} }
} }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{ {
FCOMMON.Util.RunExplorer("mailto:chikyun.kim@amkor.co.kr"); FCOMMON.Util.RunExplorer("mailto:chikyun.kim@amkor.co.kr");
} }
private void cmbDept_SelectedIndexChanged(object sender, EventArgs e) private void cmbDept_SelectedIndexChanged(object sender, EventArgs e)
{ {
//부서명이 변경되었다 //부서명이 변경되었다
label4.Text = "문의) 정보없음(?)"; label4.Text = "문의) 정보없음(?)";
var sel = cmbDept.SelectedItem as DataRowView; var sel = cmbDept.SelectedItem as DataRowView;
if (sel == null) return; if (sel == null) return;
var dr = sel.Row as dsMSSQL.UserGroupRow; var dr = sel.Row as dsMSSQL.UserGroupRow;
if (dr == null) return; if (dr == null) return;
var admin = dr.managerinfo; var admin = dr.managerinfo;
if (string.IsNullOrEmpty(admin)) if (string.IsNullOrEmpty(admin))
admin = "--"; admin = "--";
var dev = dr.devinfo; var dev = dr.devinfo;
if (string.IsNullOrEmpty(dev)) if (string.IsNullOrEmpty(dev))
dev = "chikyun.kim@amkor.co.kr(T8567)"; dev = "chikyun.kim@amkor.co.kr(T8567)";
label4.Text = $"문의) 관리:{admin},개발:{dev}"; label4.Text = $"문의) 관리:{admin},개발:{dev}";
} }
} }
} }

View File

@@ -452,7 +452,7 @@
<DependentUpon>AdoNetEFMain.tt</DependentUpon> <DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="Purchase.cs"> <Compile Include="Purchase.cs">
<DependentUpon>ModelPurchase.tt</DependentUpon> <DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="Settings.cs" /> <Compile Include="Settings.cs" />
<Compile Include="SqlServerTypes\Loader.cs" /> <Compile Include="SqlServerTypes\Loader.cs" />

View File

@@ -24,5 +24,6 @@ namespace Project
public Nullable<bool> useUserState { get; set; } public Nullable<bool> useUserState { get; set; }
public string wuid { get; set; } public string wuid { get; set; }
public System.DateTime wdate { get; set; } public System.DateTime wdate { get; set; }
public Nullable<bool> exceptHoly { get; set; }
} }
} }

View File

@@ -35,5 +35,14 @@ namespace Project
public string description2 { get; set; } public string description2 { get; set; }
public string tag { get; set; } public string tag { get; set; }
public Nullable<bool> autoinput { get; set; } public Nullable<bool> autoinput { get; set; }
public Nullable<System.DateTime> otStart { get; set; }
public Nullable<System.DateTime> otEnd { get; set; }
public string kisullv { get; set; }
public string kisuldiv { get; set; }
public Nullable<decimal> kisulamt { get; set; }
public Nullable<double> ot2 { get; set; }
public string otReason { get; set; }
public string otwuid { get; set; }
public Nullable<System.DateTime> ottime { get; set; }
} }
} }

View File

@@ -66,5 +66,12 @@ namespace Project
public Nullable<double> EB_ConstNew { get; set; } public Nullable<double> EB_ConstNew { get; set; }
public string EB_BoardName { get; set; } public string EB_BoardName { get; set; }
public Nullable<bool> bAlert { get; set; } public Nullable<bool> bAlert { get; set; }
public string bdate { get; set; }
public string qdate { get; set; }
public string cdate { get; set; }
public string CMP_After2 { get; set; }
public string model { get; set; }
public string serial { get; set; }
public string championid { get; set; }
} }
} }

View File

@@ -46,5 +46,8 @@ namespace Project
public Nullable<bool> bbuy { get; set; } public Nullable<bool> bbuy { get; set; }
public Nullable<bool> bconfirm { get; set; } public Nullable<bool> bconfirm { get; set; }
public Nullable<bool> bCancel { get; set; } public Nullable<bool> bCancel { get; set; }
public string reqUser { get; set; }
public string recvUser { get; set; }
public string recvDate { get; set; }
} }
} }

View File

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

View File

@@ -19,5 +19,8 @@ namespace Project
public string path_kj { get; set; } public string path_kj { get; set; }
public Nullable<bool> advpurchase { get; set; } public Nullable<bool> advpurchase { get; set; }
public Nullable<int> permission { get; set; } public Nullable<int> permission { get; set; }
public Nullable<bool> advkisul { get; set; }
public string managerinfo { get; set; }
public string devinfo { get; set; }
} }
} }

View File

@@ -28,411 +28,423 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.Label idLabel; System.Windows.Forms.Label idLabel;
System.Windows.Forms.Label passwordLabel; System.Windows.Forms.Label passwordLabel;
System.Windows.Forms.Label nameLabel; System.Windows.Forms.Label nameLabel;
System.Windows.Forms.Label deptLabel; System.Windows.Forms.Label deptLabel;
System.Windows.Forms.Label gradeLabel; System.Windows.Forms.Label gradeLabel;
System.Windows.Forms.Label emailLabel; System.Windows.Forms.Label emailLabel;
System.Windows.Forms.Label levelLabel; System.Windows.Forms.Label levelLabel;
System.Windows.Forms.Label indateLabel; System.Windows.Forms.Label indateLabel;
System.Windows.Forms.Label outdateLabel; System.Windows.Forms.Label outdateLabel;
System.Windows.Forms.Label memoLabel; System.Windows.Forms.Label memoLabel;
System.Windows.Forms.Label label1; System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2; System.Windows.Forms.Label label2;
System.Windows.Forms.Label label3; System.Windows.Forms.Label label3;
System.Windows.Forms.Label label4; System.Windows.Forms.Label label4;
System.Windows.Forms.Label label5; System.Windows.Forms.Label label5;
System.Windows.Forms.Label label6; System.Windows.Forms.Label label6;
this.tbId = new System.Windows.Forms.TextBox(); this.tbId = new System.Windows.Forms.TextBox();
this.tbNameK = new System.Windows.Forms.TextBox(); this.tbNameK = new System.Windows.Forms.TextBox();
this.tbDept = new System.Windows.Forms.TextBox(); this.tbDept = new System.Windows.Forms.TextBox();
this.tbGrade = new System.Windows.Forms.TextBox(); this.tbGrade = new System.Windows.Forms.TextBox();
this.tbEmail = new System.Windows.Forms.TextBox(); this.tbEmail = new System.Windows.Forms.TextBox();
this.tbLevel = new System.Windows.Forms.TextBox(); this.tbLevel = new System.Windows.Forms.TextBox();
this.tbDateIn = new System.Windows.Forms.TextBox(); this.tbDateIn = new System.Windows.Forms.TextBox();
this.tbDateO = new System.Windows.Forms.TextBox(); this.tbDateO = new System.Windows.Forms.TextBox();
this.tbMemo = new System.Windows.Forms.TextBox(); this.tbMemo = new System.Windows.Forms.TextBox();
this.button2 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button();
this.tbTel = new System.Windows.Forms.TextBox(); this.tbTel = new System.Windows.Forms.TextBox();
this.tbHp = new System.Windows.Forms.TextBox(); this.tbHp = new System.Windows.Forms.TextBox();
this.tbNameE = new System.Windows.Forms.TextBox(); this.tbNameE = new System.Windows.Forms.TextBox();
this.tbKJPath = new System.Windows.Forms.TextBox(); this.tbKJPath = new System.Windows.Forms.TextBox();
this.tbProcess = new System.Windows.Forms.TextBox(); this.tbProcess = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.tbState = new System.Windows.Forms.TextBox(); this.tbState = new System.Windows.Forms.TextBox();
this.chkJobReport = new System.Windows.Forms.CheckBox(); this.chkJobReport = new System.Windows.Forms.CheckBox();
this.chkUseState = new System.Windows.Forms.CheckBox(); this.chkUseState = new System.Windows.Forms.CheckBox();
idLabel = new System.Windows.Forms.Label(); this.chkExceptHoly = new System.Windows.Forms.CheckBox();
passwordLabel = new System.Windows.Forms.Label(); idLabel = new System.Windows.Forms.Label();
nameLabel = new System.Windows.Forms.Label(); passwordLabel = new System.Windows.Forms.Label();
deptLabel = new System.Windows.Forms.Label(); nameLabel = new System.Windows.Forms.Label();
gradeLabel = new System.Windows.Forms.Label(); deptLabel = new System.Windows.Forms.Label();
emailLabel = new System.Windows.Forms.Label(); gradeLabel = new System.Windows.Forms.Label();
levelLabel = new System.Windows.Forms.Label(); emailLabel = new System.Windows.Forms.Label();
indateLabel = new System.Windows.Forms.Label(); levelLabel = new System.Windows.Forms.Label();
outdateLabel = new System.Windows.Forms.Label(); indateLabel = new System.Windows.Forms.Label();
memoLabel = new System.Windows.Forms.Label(); outdateLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label(); memoLabel = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label(); label4 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label(); label5 = new System.Windows.Forms.Label();
this.SuspendLayout(); label6 = new System.Windows.Forms.Label();
// this.SuspendLayout();
// idLabel //
// // idLabel
idLabel.AutoSize = true; //
idLabel.Location = new System.Drawing.Point(26, 15); idLabel.AutoSize = true;
idLabel.Name = "idLabel"; idLabel.Location = new System.Drawing.Point(26, 15);
idLabel.Size = new System.Drawing.Size(74, 21); idLabel.Name = "idLabel";
idLabel.TabIndex = 0; idLabel.Size = new System.Drawing.Size(74, 21);
idLabel.Text = "사원번호"; idLabel.TabIndex = 0;
// idLabel.Text = "사원번호";
// passwordLabel //
// // passwordLabel
passwordLabel.AutoSize = true; //
passwordLabel.Location = new System.Drawing.Point(26, 49); passwordLabel.AutoSize = true;
passwordLabel.Name = "passwordLabel"; passwordLabel.Location = new System.Drawing.Point(26, 49);
passwordLabel.Size = new System.Drawing.Size(74, 21); passwordLabel.Name = "passwordLabel";
passwordLabel.TabIndex = 2; passwordLabel.Size = new System.Drawing.Size(74, 21);
passwordLabel.Text = "비밀번호"; passwordLabel.TabIndex = 2;
// passwordLabel.Text = "비밀번호";
// nameLabel //
// // nameLabel
nameLabel.AutoSize = true; //
nameLabel.Location = new System.Drawing.Point(58, 86); nameLabel.AutoSize = true;
nameLabel.Name = "nameLabel"; nameLabel.Location = new System.Drawing.Point(58, 86);
nameLabel.Size = new System.Drawing.Size(42, 21); nameLabel.Name = "nameLabel";
nameLabel.TabIndex = 4; nameLabel.Size = new System.Drawing.Size(42, 21);
nameLabel.Text = "이름"; nameLabel.TabIndex = 4;
// nameLabel.Text = "이름";
// deptLabel //
// // deptLabel
deptLabel.AutoSize = true; //
deptLabel.Location = new System.Drawing.Point(58, 123); deptLabel.AutoSize = true;
deptLabel.Name = "deptLabel"; deptLabel.Location = new System.Drawing.Point(58, 123);
deptLabel.Size = new System.Drawing.Size(42, 21); deptLabel.Name = "deptLabel";
deptLabel.TabIndex = 8; deptLabel.Size = new System.Drawing.Size(42, 21);
deptLabel.Text = "부서"; deptLabel.TabIndex = 8;
// deptLabel.Text = "부서";
// gradeLabel //
// // gradeLabel
gradeLabel.AutoSize = true; //
gradeLabel.Location = new System.Drawing.Point(360, 123); gradeLabel.AutoSize = true;
gradeLabel.Name = "gradeLabel"; gradeLabel.Location = new System.Drawing.Point(360, 123);
gradeLabel.Size = new System.Drawing.Size(42, 21); gradeLabel.Name = "gradeLabel";
gradeLabel.TabIndex = 10; gradeLabel.Size = new System.Drawing.Size(42, 21);
gradeLabel.Text = "직책"; gradeLabel.TabIndex = 10;
// gradeLabel.Text = "직책";
// emailLabel //
// // emailLabel
emailLabel.AutoSize = true; //
emailLabel.Location = new System.Drawing.Point(26, 159); emailLabel.AutoSize = true;
emailLabel.Name = "emailLabel"; emailLabel.Location = new System.Drawing.Point(26, 159);
emailLabel.Size = new System.Drawing.Size(74, 21); emailLabel.Name = "emailLabel";
emailLabel.TabIndex = 12; emailLabel.Size = new System.Drawing.Size(74, 21);
emailLabel.Text = "전자메일"; emailLabel.TabIndex = 12;
// emailLabel.Text = "전자메일";
// levelLabel //
// // levelLabel
levelLabel.AutoSize = true; //
levelLabel.Location = new System.Drawing.Point(360, 229); levelLabel.AutoSize = true;
levelLabel.Name = "levelLabel"; levelLabel.Location = new System.Drawing.Point(360, 229);
levelLabel.Size = new System.Drawing.Size(42, 21); levelLabel.Name = "levelLabel";
levelLabel.TabIndex = 18; levelLabel.Size = new System.Drawing.Size(42, 21);
levelLabel.Text = "권한"; levelLabel.TabIndex = 18;
// levelLabel.Text = "권한";
// indateLabel //
// // indateLabel
indateLabel.AutoSize = true; //
indateLabel.Location = new System.Drawing.Point(344, 15); indateLabel.AutoSize = true;
indateLabel.Name = "indateLabel"; indateLabel.Location = new System.Drawing.Point(344, 15);
indateLabel.Size = new System.Drawing.Size(58, 21); indateLabel.Name = "indateLabel";
indateLabel.TabIndex = 20; indateLabel.Size = new System.Drawing.Size(58, 21);
indateLabel.Text = "입사일"; indateLabel.TabIndex = 20;
// indateLabel.Text = "입사일";
// outdateLabel //
// // outdateLabel
outdateLabel.AutoSize = true; //
outdateLabel.Location = new System.Drawing.Point(344, 49); outdateLabel.AutoSize = true;
outdateLabel.Name = "outdateLabel"; outdateLabel.Location = new System.Drawing.Point(344, 49);
outdateLabel.Size = new System.Drawing.Size(58, 21); outdateLabel.Name = "outdateLabel";
outdateLabel.TabIndex = 22; outdateLabel.Size = new System.Drawing.Size(58, 21);
outdateLabel.Text = "퇴사일"; outdateLabel.TabIndex = 22;
// outdateLabel.Text = "퇴사일";
// memoLabel //
// // memoLabel
memoLabel.AutoSize = true; //
memoLabel.Location = new System.Drawing.Point(360, 156); memoLabel.AutoSize = true;
memoLabel.Name = "memoLabel"; memoLabel.Location = new System.Drawing.Point(360, 156);
memoLabel.Size = new System.Drawing.Size(42, 21); memoLabel.Name = "memoLabel";
memoLabel.TabIndex = 24; memoLabel.Size = new System.Drawing.Size(42, 21);
memoLabel.Text = "비고"; memoLabel.TabIndex = 24;
// memoLabel.Text = "비고";
// label1 //
// // label1
label1.AutoSize = true; //
label1.Location = new System.Drawing.Point(10, 193); label1.AutoSize = true;
label1.Name = "label1"; label1.Location = new System.Drawing.Point(10, 193);
label1.Size = new System.Drawing.Size(90, 21); label1.Name = "label1";
label1.TabIndex = 14; label1.Size = new System.Drawing.Size(90, 21);
label1.Text = "사무실전화"; label1.TabIndex = 14;
// label1.Text = "사무실전화";
// label2 //
// // label2
label2.AutoSize = true; //
label2.Location = new System.Drawing.Point(26, 229); label2.AutoSize = true;
label2.Name = "label2"; label2.Location = new System.Drawing.Point(26, 229);
label2.Size = new System.Drawing.Size(74, 21); label2.Name = "label2";
label2.TabIndex = 16; label2.Size = new System.Drawing.Size(74, 21);
label2.Text = "휴대전화"; label2.TabIndex = 16;
// label2.Text = "휴대전화";
// label3 //
// // label3
label3.AutoSize = true; //
label3.Location = new System.Drawing.Point(318, 86); label3.AutoSize = true;
label3.Name = "label3"; label3.Location = new System.Drawing.Point(318, 86);
label3.Size = new System.Drawing.Size(84, 21); label3.Name = "label3";
label3.TabIndex = 6; label3.Size = new System.Drawing.Size(84, 21);
label3.Text = "이름(영문)"; label3.TabIndex = 6;
// label3.Text = "이름(영문)";
// label4 //
// // label4
label4.AutoSize = true; //
label4.Location = new System.Drawing.Point(106, 361); label4.AutoSize = true;
label4.Name = "label4"; label4.Location = new System.Drawing.Point(106, 361);
label4.Size = new System.Drawing.Size(96, 21); label4.Name = "label4";
label4.TabIndex = 27; label4.Size = new System.Drawing.Size(96, 21);
label4.Text = "견적서 위치"; label4.TabIndex = 27;
// label4.Text = "견적서 위치";
// label5 //
// // label5
label5.AutoSize = true; //
label5.Location = new System.Drawing.Point(360, 193); label5.AutoSize = true;
label5.Name = "label5"; label5.Location = new System.Drawing.Point(360, 193);
label5.Size = new System.Drawing.Size(42, 21); label5.Name = "label5";
label5.TabIndex = 29; label5.Size = new System.Drawing.Size(42, 21);
label5.Text = "공정"; label5.TabIndex = 29;
// label5.Text = "공정";
// label6 //
// // label6
label6.AutoSize = true; //
label6.Location = new System.Drawing.Point(58, 264); label6.AutoSize = true;
label6.Name = "label6"; label6.Location = new System.Drawing.Point(58, 264);
label6.Size = new System.Drawing.Size(42, 21); label6.Name = "label6";
label6.TabIndex = 33; label6.Size = new System.Drawing.Size(42, 21);
label6.Text = "상태"; label6.TabIndex = 33;
// label6.Text = "상태";
// tbId //
// // tbId
this.tbId.Location = new System.Drawing.Point(105, 11); //
this.tbId.Name = "tbId"; this.tbId.Location = new System.Drawing.Point(105, 11);
this.tbId.Size = new System.Drawing.Size(145, 29); this.tbId.Name = "tbId";
this.tbId.TabIndex = 1; this.tbId.Size = new System.Drawing.Size(145, 29);
// this.tbId.TabIndex = 1;
// tbNameK //
// // tbNameK
this.tbNameK.Location = new System.Drawing.Point(105, 82); //
this.tbNameK.Name = "tbNameK"; this.tbNameK.Location = new System.Drawing.Point(105, 82);
this.tbNameK.Size = new System.Drawing.Size(200, 29); this.tbNameK.Name = "tbNameK";
this.tbNameK.TabIndex = 5; this.tbNameK.Size = new System.Drawing.Size(200, 29);
// this.tbNameK.TabIndex = 5;
// tbDept //
// // tbDept
this.tbDept.Location = new System.Drawing.Point(105, 119); //
this.tbDept.Name = "tbDept"; this.tbDept.Location = new System.Drawing.Point(105, 119);
this.tbDept.Size = new System.Drawing.Size(200, 29); this.tbDept.Name = "tbDept";
this.tbDept.TabIndex = 9; this.tbDept.Size = new System.Drawing.Size(200, 29);
// this.tbDept.TabIndex = 9;
// tbGrade //
// // tbGrade
this.tbGrade.Location = new System.Drawing.Point(407, 119); //
this.tbGrade.Name = "tbGrade"; this.tbGrade.Location = new System.Drawing.Point(407, 119);
this.tbGrade.Size = new System.Drawing.Size(189, 29); this.tbGrade.Name = "tbGrade";
this.tbGrade.TabIndex = 11; this.tbGrade.Size = new System.Drawing.Size(189, 29);
// this.tbGrade.TabIndex = 11;
// tbEmail //
// // tbEmail
this.tbEmail.Location = new System.Drawing.Point(105, 156); //
this.tbEmail.Name = "tbEmail"; this.tbEmail.Location = new System.Drawing.Point(105, 156);
this.tbEmail.Size = new System.Drawing.Size(200, 29); this.tbEmail.Name = "tbEmail";
this.tbEmail.TabIndex = 13; this.tbEmail.Size = new System.Drawing.Size(200, 29);
// this.tbEmail.TabIndex = 13;
// tbLevel //
// // tbLevel
this.tbLevel.Location = new System.Drawing.Point(407, 225); //
this.tbLevel.Name = "tbLevel"; this.tbLevel.Location = new System.Drawing.Point(407, 225);
this.tbLevel.ReadOnly = true; this.tbLevel.Name = "tbLevel";
this.tbLevel.Size = new System.Drawing.Size(189, 29); this.tbLevel.ReadOnly = true;
this.tbLevel.TabIndex = 19; this.tbLevel.Size = new System.Drawing.Size(189, 29);
// this.tbLevel.TabIndex = 19;
// tbDateIn //
// // tbDateIn
this.tbDateIn.Location = new System.Drawing.Point(407, 11); //
this.tbDateIn.Name = "tbDateIn"; this.tbDateIn.Location = new System.Drawing.Point(407, 11);
this.tbDateIn.Size = new System.Drawing.Size(189, 29); this.tbDateIn.Name = "tbDateIn";
this.tbDateIn.TabIndex = 21; this.tbDateIn.Size = new System.Drawing.Size(189, 29);
// this.tbDateIn.TabIndex = 21;
// tbDateO //
// // tbDateO
this.tbDateO.Location = new System.Drawing.Point(407, 45); //
this.tbDateO.Name = "tbDateO"; this.tbDateO.Location = new System.Drawing.Point(407, 45);
this.tbDateO.Size = new System.Drawing.Size(189, 29); this.tbDateO.Name = "tbDateO";
this.tbDateO.TabIndex = 23; this.tbDateO.Size = new System.Drawing.Size(189, 29);
// this.tbDateO.TabIndex = 23;
// tbMemo //
// // tbMemo
this.tbMemo.Location = new System.Drawing.Point(407, 156); //
this.tbMemo.Name = "tbMemo"; this.tbMemo.Location = new System.Drawing.Point(407, 156);
this.tbMemo.Size = new System.Drawing.Size(189, 29); this.tbMemo.Name = "tbMemo";
this.tbMemo.TabIndex = 25; this.tbMemo.Size = new System.Drawing.Size(189, 29);
// this.tbMemo.TabIndex = 25;
// button2 //
// // button2
this.button2.Location = new System.Drawing.Point(105, 295); //
this.button2.Name = "button2"; this.button2.Location = new System.Drawing.Point(105, 295);
this.button2.Size = new System.Drawing.Size(491, 54); this.button2.Name = "button2";
this.button2.TabIndex = 26; this.button2.Size = new System.Drawing.Size(491, 54);
this.button2.Text = "저장(&S)"; this.button2.TabIndex = 26;
this.button2.UseVisualStyleBackColor = true; this.button2.Text = "저장(&S)";
this.button2.Click += new System.EventHandler(this.button2_Click); this.button2.UseVisualStyleBackColor = true;
// this.button2.Click += new System.EventHandler(this.button2_Click);
// tbTel //
// // tbTel
this.tbTel.Location = new System.Drawing.Point(105, 190); //
this.tbTel.Name = "tbTel"; this.tbTel.Location = new System.Drawing.Point(105, 190);
this.tbTel.Size = new System.Drawing.Size(200, 29); this.tbTel.Name = "tbTel";
this.tbTel.TabIndex = 15; this.tbTel.Size = new System.Drawing.Size(200, 29);
// this.tbTel.TabIndex = 15;
// tbHp //
// // tbHp
this.tbHp.Location = new System.Drawing.Point(105, 225); //
this.tbHp.Name = "tbHp"; this.tbHp.Location = new System.Drawing.Point(105, 225);
this.tbHp.Size = new System.Drawing.Size(200, 29); this.tbHp.Name = "tbHp";
this.tbHp.TabIndex = 17; this.tbHp.Size = new System.Drawing.Size(200, 29);
// this.tbHp.TabIndex = 17;
// tbNameE //
// // tbNameE
this.tbNameE.Location = new System.Drawing.Point(407, 82); //
this.tbNameE.Name = "tbNameE"; this.tbNameE.Location = new System.Drawing.Point(407, 82);
this.tbNameE.Size = new System.Drawing.Size(189, 29); this.tbNameE.Name = "tbNameE";
this.tbNameE.TabIndex = 7; this.tbNameE.Size = new System.Drawing.Size(189, 29);
// this.tbNameE.TabIndex = 7;
// tbKJPath //
// // tbKJPath
this.tbKJPath.Location = new System.Drawing.Point(184, 358); //
this.tbKJPath.Name = "tbKJPath"; this.tbKJPath.Location = new System.Drawing.Point(184, 358);
this.tbKJPath.ReadOnly = true; this.tbKJPath.Name = "tbKJPath";
this.tbKJPath.Size = new System.Drawing.Size(177, 29); this.tbKJPath.ReadOnly = true;
this.tbKJPath.TabIndex = 28; this.tbKJPath.Size = new System.Drawing.Size(177, 29);
// this.tbKJPath.TabIndex = 28;
// tbProcess //
// // tbProcess
this.tbProcess.Location = new System.Drawing.Point(407, 190); //
this.tbProcess.Name = "tbProcess"; this.tbProcess.Location = new System.Drawing.Point(407, 190);
this.tbProcess.Size = new System.Drawing.Size(189, 29); this.tbProcess.Name = "tbProcess";
this.tbProcess.TabIndex = 30; this.tbProcess.Size = new System.Drawing.Size(189, 29);
// this.tbProcess.TabIndex = 30;
// textBox1 //
// // textBox1
this.textBox1.Location = new System.Drawing.Point(105, 45); //
this.textBox1.Name = "textBox1"; this.textBox1.Location = new System.Drawing.Point(105, 45);
this.textBox1.ReadOnly = true; this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(200, 29); this.textBox1.ReadOnly = true;
this.textBox1.TabIndex = 31; this.textBox1.Size = new System.Drawing.Size(200, 29);
this.textBox1.Text = "기본값 0"; this.textBox1.TabIndex = 31;
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.textBox1.Text = "기본값 0";
// this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// button1 //
// // button1
this.button1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); //
this.button1.Location = new System.Drawing.Point(256, 11); this.button1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button1.Name = "button1"; this.button1.Location = new System.Drawing.Point(256, 11);
this.button1.Size = new System.Drawing.Size(49, 29); this.button1.Name = "button1";
this.button1.TabIndex = 32; this.button1.Size = new System.Drawing.Size(49, 29);
this.button1.Text = "조회"; this.button1.TabIndex = 32;
this.button1.UseVisualStyleBackColor = true; this.button1.Text = "조회";
this.button1.Click += new System.EventHandler(this.button1_Click); this.button1.UseVisualStyleBackColor = true;
// this.button1.Click += new System.EventHandler(this.button1_Click);
// tbState //
// // tbState
this.tbState.Location = new System.Drawing.Point(105, 260); //
this.tbState.Name = "tbState"; this.tbState.Location = new System.Drawing.Point(105, 260);
this.tbState.Size = new System.Drawing.Size(200, 29); this.tbState.Name = "tbState";
this.tbState.TabIndex = 34; this.tbState.Size = new System.Drawing.Size(200, 29);
// this.tbState.TabIndex = 34;
// chkUserSt //
// // chkJobReport
this.chkJobReport.AutoSize = true; //
this.chkJobReport.Location = new System.Drawing.Point(407, 262); this.chkJobReport.AutoSize = true;
this.chkJobReport.Name = "chkUserSt"; this.chkJobReport.Location = new System.Drawing.Point(407, 262);
this.chkJobReport.Size = new System.Drawing.Size(93, 25); this.chkJobReport.Name = "chkJobReport";
this.chkJobReport.TabIndex = 36; this.chkJobReport.Size = new System.Drawing.Size(93, 25);
this.chkJobReport.Text = "업무일지"; this.chkJobReport.TabIndex = 36;
this.chkJobReport.UseVisualStyleBackColor = true; this.chkJobReport.Text = "업무일지";
this.chkJobReport.CheckedChanged += new System.EventHandler(this.chkUserSt_CheckedChanged); this.chkJobReport.UseVisualStyleBackColor = true;
// this.chkJobReport.CheckedChanged += new System.EventHandler(this.chkUserSt_CheckedChanged);
// chkUseSta //
// // chkUseState
this.chkUseState.AutoSize = true; //
this.chkUseState.Location = new System.Drawing.Point(503, 260); this.chkUseState.AutoSize = true;
this.chkUseState.Name = "chkUseSta"; this.chkUseState.Location = new System.Drawing.Point(503, 260);
this.chkUseState.Size = new System.Drawing.Size(93, 25); this.chkUseState.Name = "chkUseState";
this.chkUseState.TabIndex = 37; this.chkUseState.Size = new System.Drawing.Size(93, 25);
this.chkUseState.Text = "계정사용"; this.chkUseState.TabIndex = 37;
this.chkUseState.UseVisualStyleBackColor = true; this.chkUseState.Text = "계정사용";
// this.chkUseState.UseVisualStyleBackColor = true;
// fAddNewUser //
// // checkBox1
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; //
this.ClientSize = new System.Drawing.Size(601, 355); this.chkExceptHoly.AutoSize = true;
this.Controls.Add(this.chkUseState); this.chkExceptHoly.Location = new System.Drawing.Point(311, 260);
this.Controls.Add(this.chkJobReport); this.chkExceptHoly.Name = "checkBox1";
this.Controls.Add(label6); this.chkExceptHoly.Size = new System.Drawing.Size(93, 25);
this.Controls.Add(this.tbState); this.chkExceptHoly.TabIndex = 38;
this.Controls.Add(this.button1); this.chkExceptHoly.Text = "휴가제외";
this.Controls.Add(this.textBox1); this.chkExceptHoly.UseVisualStyleBackColor = true;
this.Controls.Add(label5); //
this.Controls.Add(this.tbProcess); // fAddNewUser
this.Controls.Add(label4); //
this.Controls.Add(this.tbKJPath); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(label3); this.ClientSize = new System.Drawing.Size(601, 355);
this.Controls.Add(this.tbNameE); this.Controls.Add(this.chkExceptHoly);
this.Controls.Add(label2); this.Controls.Add(this.chkUseState);
this.Controls.Add(this.tbHp); this.Controls.Add(this.chkJobReport);
this.Controls.Add(label1); this.Controls.Add(label6);
this.Controls.Add(this.tbTel); this.Controls.Add(this.tbState);
this.Controls.Add(this.button2); this.Controls.Add(this.button1);
this.Controls.Add(idLabel); this.Controls.Add(this.textBox1);
this.Controls.Add(this.tbId); this.Controls.Add(label5);
this.Controls.Add(passwordLabel); this.Controls.Add(this.tbProcess);
this.Controls.Add(nameLabel); this.Controls.Add(label4);
this.Controls.Add(this.tbNameK); this.Controls.Add(this.tbKJPath);
this.Controls.Add(deptLabel); this.Controls.Add(label3);
this.Controls.Add(this.tbDept); this.Controls.Add(this.tbNameE);
this.Controls.Add(gradeLabel); this.Controls.Add(label2);
this.Controls.Add(this.tbGrade); this.Controls.Add(this.tbHp);
this.Controls.Add(emailLabel); this.Controls.Add(label1);
this.Controls.Add(this.tbEmail); this.Controls.Add(this.tbTel);
this.Controls.Add(levelLabel); this.Controls.Add(this.button2);
this.Controls.Add(this.tbLevel); this.Controls.Add(idLabel);
this.Controls.Add(indateLabel); this.Controls.Add(this.tbId);
this.Controls.Add(this.tbDateIn); this.Controls.Add(passwordLabel);
this.Controls.Add(outdateLabel); this.Controls.Add(nameLabel);
this.Controls.Add(this.tbDateO); this.Controls.Add(this.tbNameK);
this.Controls.Add(memoLabel); this.Controls.Add(deptLabel);
this.Controls.Add(this.tbMemo); this.Controls.Add(this.tbDept);
this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.Controls.Add(gradeLabel);
this.MaximizeBox = false; this.Controls.Add(this.tbGrade);
this.MinimizeBox = false; this.Controls.Add(emailLabel);
this.Name = "fAddNewUser"; this.Controls.Add(this.tbEmail);
this.Text = "사용자추가"; this.Controls.Add(levelLabel);
this.Load += new System.EventHandler(this.fUserInfo_Load); this.Controls.Add(this.tbLevel);
this.ResumeLayout(false); this.Controls.Add(indateLabel);
this.PerformLayout(); this.Controls.Add(this.tbDateIn);
this.Controls.Add(outdateLabel);
this.Controls.Add(this.tbDateO);
this.Controls.Add(memoLabel);
this.Controls.Add(this.tbMemo);
this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fAddNewUser";
this.Text = "사용자추가";
this.Load += new System.EventHandler(this.fUserInfo_Load);
this.ResumeLayout(false);
this.PerformLayout();
} }
@@ -457,5 +469,6 @@
private System.Windows.Forms.TextBox tbState; private System.Windows.Forms.TextBox tbState;
private System.Windows.Forms.CheckBox chkJobReport; private System.Windows.Forms.CheckBox chkJobReport;
private System.Windows.Forms.CheckBox chkUseState; private System.Windows.Forms.CheckBox chkUseState;
} private System.Windows.Forms.CheckBox chkExceptHoly;
}
} }

View File

@@ -47,6 +47,7 @@ namespace Project._Common
tbDateO.Text = db_user.outdate; tbDateO.Text = db_user.outdate;
tbGrade.Text = db_user.grade; tbGrade.Text = db_user.grade;
tbMemo.Text = db_user.memo; tbMemo.Text = db_user.memo;
} }
if (db_guser != null) if (db_guser != null)
{ {
@@ -56,6 +57,7 @@ namespace Project._Common
//this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport); //this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport); this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
this.chkUseState.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState); this.chkUseState.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState);
this.chkExceptHoly.Checked = (db_guser.exceptHoly == null ? false : (bool)db_guser.exceptHoly);
} }
this.Text = "사용자 정보 변경"; this.Text = "사용자 정보 변경";
@@ -137,6 +139,7 @@ namespace Project._Common
drGuser.state = this.tbState.Text.Trim(); drGuser.state = this.tbState.Text.Trim();
drGuser.useJobReport = chkJobReport.Checked; drGuser.useJobReport = chkJobReport.Checked;
drGuser.useUserState = chkUseState.Checked; drGuser.useUserState = chkUseState.Checked;
drGuser.exceptHoly = chkExceptHoly.Checked;
} }
else else
{ {
@@ -158,6 +161,7 @@ namespace Project._Common
//drGuser.useJobReport = this.chkJobReport.Checked; //drGuser.useJobReport = this.chkJobReport.Checked;
drGuser.useJobReport = this.chkJobReport.Checked; drGuser.useJobReport = this.chkJobReport.Checked;
drGuser.useUserState = this.chkUseState.Checked; drGuser.useUserState = this.chkUseState.Checked;
drGuser.exceptHoly = this.chkExceptHoly.Checked;
db.EETGW_GroupUser.Add(drGuser); db.EETGW_GroupUser.Add(drGuser);
} }

View File

@@ -203,7 +203,7 @@
// label4 // label4
// //
label4.AutoSize = true; label4.AutoSize = true;
label4.Location = new System.Drawing.Point(106, 330); label4.Location = new System.Drawing.Point(106, 356);
label4.Name = "label4"; label4.Name = "label4";
label4.Size = new System.Drawing.Size(96, 21); label4.Size = new System.Drawing.Size(96, 21);
label4.TabIndex = 27; label4.TabIndex = 27;
@@ -248,9 +248,9 @@
// //
// tbDept // tbDept
// //
this.tbDept.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "dept", true));
this.tbDept.Location = new System.Drawing.Point(105, 119); this.tbDept.Location = new System.Drawing.Point(105, 119);
this.tbDept.Name = "tbDept"; this.tbDept.Name = "tbDept";
this.tbDept.ReadOnly = true;
this.tbDept.Size = new System.Drawing.Size(200, 29); this.tbDept.Size = new System.Drawing.Size(200, 29);
this.tbDept.TabIndex = 9; this.tbDept.TabIndex = 9;
// //
@@ -315,7 +315,7 @@
// //
// button2 // button2
// //
this.button2.Location = new System.Drawing.Point(105, 264); this.button2.Location = new System.Drawing.Point(105, 290);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(491, 54); this.button2.Size = new System.Drawing.Size(491, 54);
this.button2.TabIndex = 26; this.button2.TabIndex = 26;
@@ -333,12 +333,14 @@
this.tam.EETGW_GroupUserTableAdapter = null; this.tam.EETGW_GroupUserTableAdapter = null;
this.tam.InventoryTableAdapter = null; this.tam.InventoryTableAdapter = null;
this.tam.ItemsTableAdapter = null; this.tam.ItemsTableAdapter = null;
this.tam.JobReportTableAdapter = null;
this.tam.LineCodeTableAdapter = null; this.tam.LineCodeTableAdapter = null;
this.tam.ProjectsTableAdapter = null; this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null; this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
this.tam.UserGroupTableAdapter = null; this.tam.UserGroupTableAdapter = null;
this.tam.UsersTableAdapter = this.ta; this.tam.UsersTableAdapter = this.ta;
this.tam.vGroupUserTableAdapter = null;
// //
// tbTel // tbTel
// //
@@ -367,7 +369,7 @@
// tbKJPath // tbKJPath
// //
this.tbKJPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true)); this.tbKJPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true));
this.tbKJPath.Location = new System.Drawing.Point(184, 327); this.tbKJPath.Location = new System.Drawing.Point(184, 353);
this.tbKJPath.Name = "tbKJPath"; this.tbKJPath.Name = "tbKJPath";
this.tbKJPath.ReadOnly = true; this.tbKJPath.ReadOnly = true;
this.tbKJPath.Size = new System.Drawing.Size(177, 29); this.tbKJPath.Size = new System.Drawing.Size(177, 29);
@@ -384,7 +386,7 @@
// fUserInfo // fUserInfo
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(601, 326); this.ClientSize = new System.Drawing.Size(601, 351);
this.Controls.Add(label5); this.Controls.Add(label5);
this.Controls.Add(this.tbProcess); this.Controls.Add(this.tbProcess);
this.Controls.Add(label4); this.Controls.Add(label4);

View File

@@ -35,6 +35,8 @@ namespace Project._Common
if (drGroupUser != null) if (drGroupUser != null)
this.tbProcess.Text = drGroupUser.Process; this.tbProcess.Text = drGroupUser.Process;
else this.tbProcess.Text = string.Empty; else this.tbProcess.Text = string.Empty;
this.tbDept.Text = FCOMMON.info.Login.dept;
} }
private void button1_Click(object sender, EventArgs e) private void button1_Click(object sender, EventArgs e)
@@ -77,7 +79,7 @@ namespace Project._Common
this.Validate(); this.Validate();
dr.name = tbNameK.Text; dr.name = tbNameK.Text;
dr.dept = tbDept.Text; //dr.dept = tbDept.Text;
dr.email = tbEmail.Text; dr.email = tbEmail.Text;
dr.tel = tbTel.Text; dr.tel = tbTel.Text;
dr.hp = tbHp.Text; dr.hp = tbHp.Text;

View File

@@ -165,6 +165,12 @@
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value> <value>122, 17</value>
</metadata> </metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value>
</metadata>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>

File diff suppressed because it is too large Load Diff

View File

@@ -4210,6 +4210,8 @@ namespace Project {
private global::System.Data.DataColumn columnpassword; private global::System.Data.DataColumn columnpassword;
private global::System.Data.DataColumn columnexceptHoly;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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 vGroupUserDataTable() { public vGroupUserDataTable() {
@@ -4419,6 +4421,14 @@ namespace Project {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn exceptHolyColumn {
get {
return this.columnexceptHoly;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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")]
[global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.Browsable(false)]
@@ -4478,7 +4488,8 @@ namespace Project {
string state, string state,
bool useJobReport, bool useJobReport,
bool useUserState, bool useUserState,
string password) { string password,
bool exceptHoly) {
vGroupUserRow rowvGroupUserRow = ((vGroupUserRow)(this.NewRow())); vGroupUserRow rowvGroupUserRow = ((vGroupUserRow)(this.NewRow()));
object[] columnValuesArray = new object[] { object[] columnValuesArray = new object[] {
gcode, gcode,
@@ -4502,7 +4513,8 @@ namespace Project {
state, state,
useJobReport, useJobReport,
useUserState, useUserState,
password}; password,
exceptHoly};
rowvGroupUserRow.ItemArray = columnValuesArray; rowvGroupUserRow.ItemArray = columnValuesArray;
this.Rows.Add(rowvGroupUserRow); this.Rows.Add(rowvGroupUserRow);
return rowvGroupUserRow; return rowvGroupUserRow;
@@ -4555,6 +4567,7 @@ namespace Project {
this.columnuseJobReport = base.Columns["useJobReport"]; this.columnuseJobReport = base.Columns["useJobReport"];
this.columnuseUserState = base.Columns["useUserState"]; this.columnuseUserState = base.Columns["useUserState"];
this.columnpassword = base.Columns["password"]; this.columnpassword = base.Columns["password"];
this.columnexceptHoly = base.Columns["exceptHoly"];
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4604,6 +4617,8 @@ namespace Project {
base.Columns.Add(this.columnuseUserState); base.Columns.Add(this.columnuseUserState);
this.columnpassword = new global::System.Data.DataColumn("password", typeof(string), null, global::System.Data.MappingType.Element); this.columnpassword = new global::System.Data.DataColumn("password", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpassword); base.Columns.Add(this.columnpassword);
this.columnexceptHoly = new global::System.Data.DataColumn("exceptHoly", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnexceptHoly);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columngcode, this.columngcode,
this.columnid}, true)); this.columnid}, true));
@@ -8359,6 +8374,22 @@ namespace Project {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool exceptHoly {
get {
if (this.IsexceptHolyNull()) {
return false;
}
else {
return ((bool)(this[this.tablevGroupUser.exceptHolyColumn]));
}
}
set {
this[this.tablevGroupUser.exceptHolyColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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 bool IsdeptNull() { public bool IsdeptNull() {
@@ -8598,6 +8629,18 @@ namespace Project {
public void SetpasswordNull() { public void SetpasswordNull() {
this[this.tablevGroupUser.passwordColumn] = global::System.Convert.DBNull; this[this.tablevGroupUser.passwordColumn] = global::System.Convert.DBNull;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsexceptHolyNull() {
return this.IsNull(this.tablevGroupUser.exceptHolyColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetexceptHolyNull() {
this[this.tablevGroupUser.exceptHolyColumn] = global::System.Convert.DBNull;
}
} }
/// <summary> /// <summary>
@@ -15804,6 +15847,7 @@ SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FR
tableMapping.ColumnMappings.Add("useJobReport", "useJobReport"); tableMapping.ColumnMappings.Add("useJobReport", "useJobReport");
tableMapping.ColumnMappings.Add("useUserState", "useUserState"); tableMapping.ColumnMappings.Add("useUserState", "useUserState");
tableMapping.ColumnMappings.Add("password", "password"); tableMapping.ColumnMappings.Add("password", "password");
tableMapping.ColumnMappings.Add("exceptHoly", "exceptHoly");
this._adapter.TableMappings.Add(tableMapping); this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.Connection = this.Connection;
@@ -15811,13 +15855,14 @@ SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FR
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE EETGW_GroupUser\r\nSET Process = @Process, state = @state\r\nWHERE (gc" + this._adapter.UpdateCommand.CommandText = "UPDATE EETGW_GroupUser\r\nSET Process = @Process, state = @state, exceptHoly" +
"ode = @gcode) AND (uid = @id)"; " = @exceptHoly\r\nWHERE (gcode = @gcode) AND (uid = @id)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "processs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.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._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@exceptHoly", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "exceptHoly", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.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.Original, false, null, "", "", "")); this._adapter.UpdateCommand.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.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -15833,7 +15878,8 @@ SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FR
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
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 gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState, password this._commandCollection[0].CommandText = @"SELECT gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState, password,
exceptHoly
FROM vGroupUser FROM vGroupUser
WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs) WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs)
ORDER BY name"; ORDER BY name";
@@ -15842,7 +15888,7 @@ ORDER BY name";
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@processs", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@processs", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = @"SELECT ads_created, ads_employNo, ads_title, dept, email, gcode, grade, hp, id, indate, level, memo, name, nameE, outdate, password, place, processs, state, tel, useJobReport, useUserState FROM vGroupUser WHERE (gcode = @gcode) AND (id = @id) ORDER BY name"; this._commandCollection[1].CommandText = @"SELECT ads_created, ads_employNo, ads_title, dept, email, exceptHoly, gcode, grade, hp, id, indate, level, memo, name, nameE, outdate, password, place, processs, state, tel, useJobReport, useUserState FROM vGroupUser WHERE (gcode = @gcode) AND (id = @id) ORDER BY name";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));

View File

@@ -2,7 +2,7 @@
{ {
partial class dsMSSQL partial class dsMSSQL
{ {
} }
} }

View File

@@ -1087,7 +1087,8 @@ and uid = @uid</CommandText>
</DeleteCommand> </DeleteCommand>
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState, password <CommandText>SELECT gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState, password,
exceptHoly
FROM vGroupUser FROM vGroupUser
WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs) WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs)
ORDER BY name</CommandText> ORDER BY name</CommandText>
@@ -1098,15 +1099,16 @@ ORDER BY name</CommandText>
</DbCommand> </DbCommand>
</SelectCommand> </SelectCommand>
<UpdateCommand> <UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE EETGW_GroupUser <CommandText>UPDATE EETGW_GroupUser
SET Process = @Process, state = @state SET Process = @Process, state = @state, exceptHoly = @exceptHoly
WHERE (gcode = @gcode) AND (uid = @id)</CommandText> WHERE (gcode = @gcode) AND (uid = @id)</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="Process" ColumnName="Process" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" 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="state" ColumnName="state" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="state" ColumnName="state" DataSourceName="EE.dbo.EETGW_GroupUser" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="exceptHoly" ColumnName="exceptHoly" DataSourceName="EE.dbo.EETGW_GroupUser" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@exceptHoly" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="exceptHoly" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_GroupUser" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="uid" DataSourceName="EE.dbo.EETGW_GroupUser" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</UpdateCommand> </UpdateCommand>
@@ -1135,12 +1137,13 @@ WHERE (gcode = @gcode) AND (uid = @id)</CommandText>
<Mapping SourceColumn="useJobReport" DataSetColumn="useJobReport" /> <Mapping SourceColumn="useJobReport" DataSetColumn="useJobReport" />
<Mapping SourceColumn="useUserState" DataSetColumn="useUserState" /> <Mapping SourceColumn="useUserState" DataSetColumn="useUserState" />
<Mapping SourceColumn="password" DataSetColumn="password" /> <Mapping SourceColumn="password" DataSetColumn="password" />
<Mapping SourceColumn="exceptHoly" DataSetColumn="exceptHoly" />
</Mappings> </Mappings>
<Sources> <Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.vGroupUser" DbObjectType="View" FillMethodModifier="Public" FillMethodName="FillByID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByID" GeneratorSourceName="FillByID" GetMethodModifier="Public" GetMethodName="GetByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByID" UserSourceName="FillByID"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.vGroupUser" DbObjectType="View" FillMethodModifier="Public" FillMethodName="FillByID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByID" GeneratorSourceName="FillByID" GetMethodModifier="Public" GetMethodName="GetByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByID" UserSourceName="FillByID">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ads_created, ads_employNo, ads_title, dept, email, gcode, grade, hp, id, indate, level, memo, name, nameE, outdate, password, place, processs, state, tel, useJobReport, useUserState FROM vGroupUser WHERE (gcode = @gcode) AND (id = @id) ORDER BY name</CommandText> <CommandText>SELECT ads_created, ads_employNo, ads_title, dept, email, exceptHoly, gcode, grade, hp, id, indate, level, memo, name, nameE, outdate, password, place, processs, state, tel, useJobReport, useUserState FROM vGroupUser WHERE (gcode = @gcode) AND (id = @id) ORDER BY name</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.vGroupUser" 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.vGroupUser" 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="true" AutogeneratedName="id" ColumnName="id" DataSourceName="EE.dbo.vGroupUser" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="id" ColumnName="id" DataSourceName="EE.dbo.vGroupUser" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1369,7 +1372,7 @@ WHERE (idx = @idx)</CommandText>
<xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL"> <xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow"> <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowClassName="UsersRow" msprop:Generator_UserTableName="Users" msprop:Generator_RowEvArgName="UsersRowChangeEvent">
<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"> <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id">
@@ -1510,7 +1513,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent"> <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow">
<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" />
@@ -1581,7 +1584,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_RowClassName="ItemsRow"> <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_UserTableName="Items" msprop:Generator_RowEvArgName="ItemsRowChangeEvent">
<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" />
@@ -1639,7 +1642,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_RowClassName="InventoryRow"> <xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowEvArgName="InventoryRowChangeEvent">
<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" />
@@ -1709,7 +1712,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent" msprop:Generator_RowClassName="LineCodeRow"> <xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_RowClassName="LineCodeRow" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent">
<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" />
@@ -1767,7 +1770,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="UserGroup" msprop:Generator_TableClassName="UserGroupDataTable" msprop:Generator_TableVarName="tableUserGroup" msprop:Generator_TablePropName="UserGroup" msprop:Generator_RowDeletingName="UserGroupRowDeleting" msprop:Generator_RowChangingName="UserGroupRowChanging" msprop:Generator_RowEvHandlerName="UserGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="UserGroupRowDeleted" msprop:Generator_UserTableName="UserGroup" msprop:Generator_RowChangedName="UserGroupRowChanged" msprop:Generator_RowEvArgName="UserGroupRowChangeEvent" msprop:Generator_RowClassName="UserGroupRow"> <xs:element name="UserGroup" msprop:Generator_TableClassName="UserGroupDataTable" msprop:Generator_TableVarName="tableUserGroup" msprop:Generator_RowChangedName="UserGroupRowChanged" msprop:Generator_TablePropName="UserGroup" msprop:Generator_RowDeletingName="UserGroupRowDeleting" msprop:Generator_RowChangingName="UserGroupRowChanging" msprop:Generator_RowEvHandlerName="UserGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="UserGroupRowDeleted" msprop:Generator_RowClassName="UserGroupRow" msprop:Generator_UserTableName="UserGroup" msprop:Generator_RowEvArgName="UserGroupRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept"> <xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept">
@@ -1811,7 +1814,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent" msprop:Generator_RowClassName="SPMasterRow"> <xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_RowClassName="SPMasterRow" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent">
<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" type="xs:int" /> <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
@@ -1927,7 +1930,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="EETGW_GroupUser" msprop:Generator_TableClassName="EETGW_GroupUserDataTable" msprop:Generator_TableVarName="tableEETGW_GroupUser" msprop:Generator_TablePropName="EETGW_GroupUser" msprop:Generator_RowDeletingName="EETGW_GroupUserRowDeleting" msprop:Generator_RowChangingName="EETGW_GroupUserRowChanging" msprop:Generator_RowEvHandlerName="EETGW_GroupUserRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_GroupUserRowDeleted" msprop:Generator_UserTableName="EETGW_GroupUser" msprop:Generator_RowChangedName="EETGW_GroupUserRowChanged" msprop:Generator_RowEvArgName="EETGW_GroupUserRowChangeEvent" msprop:Generator_RowClassName="EETGW_GroupUserRow"> <xs:element name="EETGW_GroupUser" msprop:Generator_TableClassName="EETGW_GroupUserDataTable" msprop:Generator_TableVarName="tableEETGW_GroupUser" msprop:Generator_RowChangedName="EETGW_GroupUserRowChanged" msprop:Generator_TablePropName="EETGW_GroupUser" msprop:Generator_RowDeletingName="EETGW_GroupUserRowDeleting" msprop:Generator_RowChangingName="EETGW_GroupUserRowChanging" msprop:Generator_RowEvHandlerName="EETGW_GroupUserRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_GroupUserRowDeleted" msprop:Generator_RowClassName="EETGW_GroupUserRow" msprop:Generator_UserTableName="EETGW_GroupUser" msprop:Generator_RowEvArgName="EETGW_GroupUserRowChangeEvent">
<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" />
@@ -1966,7 +1969,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="vGroupUser" msprop:Generator_TableClassName="vGroupUserDataTable" msprop:Generator_TableVarName="tablevGroupUser" msprop:Generator_RowChangedName="vGroupUserRowChanged" msprop:Generator_TablePropName="vGroupUser" msprop:Generator_RowDeletingName="vGroupUserRowDeleting" msprop:Generator_RowChangingName="vGroupUserRowChanging" msprop:Generator_RowEvHandlerName="vGroupUserRowChangeEventHandler" msprop:Generator_RowDeletedName="vGroupUserRowDeleted" msprop:Generator_RowClassName="vGroupUserRow" msprop:Generator_UserTableName="vGroupUser" msprop:Generator_RowEvArgName="vGroupUserRowChangeEvent"> <xs:element name="vGroupUser" msprop:Generator_TableClassName="vGroupUserDataTable" msprop:Generator_TableVarName="tablevGroupUser" msprop:Generator_TablePropName="vGroupUser" msprop:Generator_RowDeletingName="vGroupUserRowDeleting" msprop:Generator_RowChangingName="vGroupUserRowChanging" msprop:Generator_RowEvHandlerName="vGroupUserRowChangeEventHandler" msprop:Generator_RowDeletedName="vGroupUserRowDeleted" msprop:Generator_UserTableName="vGroupUser" msprop:Generator_RowChangedName="vGroupUserRowChanged" msprop:Generator_RowEvArgName="vGroupUserRowChangeEvent" msprop:Generator_RowClassName="vGroupUserRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
@@ -2082,7 +2085,7 @@ WHERE (idx = @idx)</CommandText>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="id" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id"> <xs:element name="id" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
@@ -2105,10 +2108,11 @@ WHERE (idx = @idx)</CommandText>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="exceptHoly" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="exceptHoly" msprop:Generator_ColumnVarNameInTable="columnexceptHoly" msprop:Generator_ColumnPropNameInTable="exceptHolyColumn" msprop:Generator_UserColumnName="exceptHoly" type="xs:boolean" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<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="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" />

View File

@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated. the code is regenerated.
</autogenerated>--> </autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="348" ViewPortY="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes> <Shapes>
<Shape ID="DesignTable:Users" ZOrder="4" X="997" Y="61" Height="651" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="429" /> <Shape ID="DesignTable:Users" ZOrder="4" X="997" Y="61" Height="651" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="429" />
<Shape ID="DesignTable:Projects" ZOrder="11" X="208" Y="0" Height="149" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="59" /> <Shape ID="DesignTable:Projects" ZOrder="11" X="208" Y="0" Height="149" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="59" />

View File

@@ -35,5 +35,7 @@ namespace Project
public string state { get; set; } public string state { get; set; }
public Nullable<bool> useJobReport { get; set; } public Nullable<bool> useJobReport { get; set; }
public Nullable<bool> useUserState { get; set; } public Nullable<bool> useUserState { get; set; }
public string password { get; set; }
public Nullable<bool> exceptHoly { get; set; }
} }
} }

View File

@@ -2703,7 +2703,8 @@ namespace FBS0000.dsReportTableAdapters {
FROM Users INNER JOIN FROM Users INNER JOIN
Holyday ON Users.id = Holyday.uid LEFT OUTER JOIN Holyday ON Users.id = Holyday.uid LEFT OUTER JOIN
EETGW_GroupUser ON Holyday.uid = EETGW_GroupUser.uid AND Holyday.gcode = EETGW_GroupUser.gcode EETGW_GroupUser ON Holyday.uid = EETGW_GroupUser.uid AND Holyday.gcode = EETGW_GroupUser.gcode
WHERE (Holyday.gcode = @gcode) AND (Holyday.sdate BETWEEN @sd AND @ed) AND (EETGW_GroupUser.level > 0) AND (EETGW_GroupUser.useUserState = 1) WHERE (Holyday.gcode = @gcode) AND (Holyday.sdate BETWEEN @sd AND @ed) AND (EETGW_GroupUser.level > 0) AND (ISNULL(EETGW_GroupUser.useUserState, 0) = 1) AND
(ISNULL(EETGW_GroupUser.exceptHoly, 0) = 0)
ORDER BY Holyday.uid, CrDay"; ORDER BY Holyday.uid, CrDay";
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("@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, "", "", ""));

View File

@@ -2,9 +2,9 @@
{ {
partial class dsReport partial class dsReport
{ {
} }
} }
namespace FBS0000.dsReportTableAdapters { namespace FBS0000.dsReportTableAdapters {

View File

@@ -16,7 +16,8 @@
FROM Users INNER JOIN FROM Users INNER JOIN
Holyday ON Users.id = Holyday.uid LEFT OUTER JOIN Holyday ON Users.id = Holyday.uid LEFT OUTER JOIN
EETGW_GroupUser ON Holyday.uid = EETGW_GroupUser.uid AND Holyday.gcode = EETGW_GroupUser.gcode EETGW_GroupUser ON Holyday.uid = EETGW_GroupUser.uid AND Holyday.gcode = EETGW_GroupUser.gcode
WHERE (Holyday.gcode = @gcode) AND (Holyday.sdate BETWEEN @sd AND @ed) AND (EETGW_GroupUser.level &gt; 0) AND (EETGW_GroupUser.useUserState = 1) WHERE (Holyday.gcode = @gcode) AND (Holyday.sdate BETWEEN @sd AND @ed) AND (EETGW_GroupUser.level &gt; 0) AND (ISNULL(EETGW_GroupUser.useUserState, 0) = 1) AND
(ISNULL(EETGW_GroupUser.exceptHoly, 0) = 0)
ORDER BY Holyday.uid, CrDay</CommandText> ORDER BY Holyday.uid, CrDay</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Holyday" 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.Holyday" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -166,7 +167,7 @@ ORDER BY Holyday.sdate, Holyday.idx</CommandText>
<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="holydata" msprop:Generator_TableClassName="holydataDataTable" msprop:Generator_TableVarName="tableholydata" msprop:Generator_RowChangedName="holydataRowChanged" msprop:Generator_TablePropName="holydata" msprop:Generator_RowDeletingName="holydataRowDeleting" msprop:Generator_RowChangingName="holydataRowChanging" msprop:Generator_RowEvHandlerName="holydataRowChangeEventHandler" msprop:Generator_RowDeletedName="holydataRowDeleted" msprop:Generator_RowClassName="holydataRow" msprop:Generator_UserTableName="holydata" msprop:Generator_RowEvArgName="holydataRowChangeEvent"> <xs:element name="holydata" msprop:Generator_TableClassName="holydataDataTable" msprop:Generator_TableVarName="tableholydata" msprop:Generator_TablePropName="holydata" msprop:Generator_RowDeletingName="holydataRowDeleting" msprop:Generator_RowChangingName="holydataRowChanging" msprop:Generator_RowEvHandlerName="holydataRowChangeEventHandler" msprop:Generator_RowDeletedName="holydataRowDeleted" msprop:Generator_UserTableName="holydata" msprop:Generator_RowChangedName="holydataRowChanged" msprop:Generator_RowEvArgName="holydataRowChangeEvent" msprop:Generator_RowClassName="holydataRow">
<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" minOccurs="0"> <xs:element name="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0">
@@ -211,7 +212,7 @@ ORDER BY Holyday.sdate, Holyday.idx</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Holydata_Day" msprop:Generator_TableClassName="Holydata_DayDataTable" msprop:Generator_TableVarName="tableHolydata_Day" msprop:Generator_TablePropName="Holydata_Day" msprop:Generator_RowDeletingName="Holydata_DayRowDeleting" msprop:Generator_RowChangingName="Holydata_DayRowChanging" msprop:Generator_RowEvHandlerName="Holydata_DayRowChangeEventHandler" msprop:Generator_RowDeletedName="Holydata_DayRowDeleted" msprop:Generator_UserTableName="Holydata_Day" msprop:Generator_RowChangedName="Holydata_DayRowChanged" msprop:Generator_RowEvArgName="Holydata_DayRowChangeEvent" msprop:Generator_RowClassName="Holydata_DayRow"> <xs:element name="Holydata_Day" msprop:Generator_TableClassName="Holydata_DayDataTable" msprop:Generator_TableVarName="tableHolydata_Day" msprop:Generator_RowChangedName="Holydata_DayRowChanged" msprop:Generator_TablePropName="Holydata_Day" msprop:Generator_RowDeletingName="Holydata_DayRowDeleting" msprop:Generator_RowChangingName="Holydata_DayRowChanging" msprop:Generator_RowEvHandlerName="Holydata_DayRowChangeEventHandler" msprop:Generator_RowDeletedName="Holydata_DayRowDeleted" msprop:Generator_RowClassName="Holydata_DayRow" msprop:Generator_UserTableName="Holydata_Day" msprop:Generator_RowEvArgName="Holydata_DayRowChangeEvent">
<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" />
@@ -265,7 +266,7 @@ ORDER BY Holyday.sdate, Holyday.idx</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Holydata_Time" msprop:Generator_TableClassName="Holydata_TimeDataTable" msprop:Generator_TableVarName="tableHolydata_Time" msprop:Generator_TablePropName="Holydata_Time" msprop:Generator_RowDeletingName="Holydata_TimeRowDeleting" msprop:Generator_RowChangingName="Holydata_TimeRowChanging" msprop:Generator_RowEvHandlerName="Holydata_TimeRowChangeEventHandler" msprop:Generator_RowDeletedName="Holydata_TimeRowDeleted" msprop:Generator_UserTableName="Holydata_Time" msprop:Generator_RowChangedName="Holydata_TimeRowChanged" msprop:Generator_RowEvArgName="Holydata_TimeRowChangeEvent" msprop:Generator_RowClassName="Holydata_TimeRow"> <xs:element name="Holydata_Time" msprop:Generator_TableClassName="Holydata_TimeDataTable" msprop:Generator_TableVarName="tableHolydata_Time" msprop:Generator_RowChangedName="Holydata_TimeRowChanged" msprop:Generator_TablePropName="Holydata_Time" msprop:Generator_RowDeletingName="Holydata_TimeRowDeleting" msprop:Generator_RowChangingName="Holydata_TimeRowChanging" msprop:Generator_RowEvHandlerName="Holydata_TimeRowChangeEventHandler" msprop:Generator_RowDeletedName="Holydata_TimeRowDeleted" msprop:Generator_RowClassName="Holydata_TimeRow" msprop:Generator_UserTableName="Holydata_Time" msprop:Generator_RowEvArgName="Holydata_TimeRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">

View File

@@ -164,7 +164,6 @@ namespace FPJ0000.OtConfirm
this.grpUser.TabIndex = 0; this.grpUser.TabIndex = 0;
this.grpUser.TabStop = false; this.grpUser.TabStop = false;
this.grpUser.Text = "신청자"; this.grpUser.Text = "신청자";
this.grpUser.Enter += new System.EventHandler(this.grpUser_Enter);
// //
// cmbUser // cmbUser
// //
@@ -218,7 +217,6 @@ namespace FPJ0000.OtConfirm
this.tbDays.Size = new System.Drawing.Size(130, 38); this.tbDays.Size = new System.Drawing.Size(130, 38);
this.tbDays.TabIndex = 18; this.tbDays.TabIndex = 18;
this.tbDays.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbDays.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbDays.TextChanged += new System.EventHandler(this.tbDays_TextChanged);
// //
// label10 // label10
// //
@@ -249,7 +247,6 @@ namespace FPJ0000.OtConfirm
this.label9.Size = new System.Drawing.Size(93, 27); this.label9.Size = new System.Drawing.Size(93, 27);
this.label9.TabIndex = 11; this.label9.TabIndex = 11;
this.label9.Text = "행선지"; this.label9.Text = "행선지";
this.label9.Click += new System.EventHandler(this.label9_Click);
// //
// tbLocation // tbLocation
// //
@@ -262,7 +259,6 @@ namespace FPJ0000.OtConfirm
this.tbLocation.Name = "tbLocation"; this.tbLocation.Name = "tbLocation";
this.tbLocation.Size = new System.Drawing.Size(381, 35); this.tbLocation.Size = new System.Drawing.Size(381, 35);
this.tbLocation.TabIndex = 12; this.tbLocation.TabIndex = 12;
this.tbLocation.SelectedIndexChanged += new System.EventHandler(this.tbLocation_SelectedIndexChanged);
// //
// label8 // label8
// //
@@ -284,7 +280,6 @@ namespace FPJ0000.OtConfirm
this.tbReason.Name = "tbReason"; this.tbReason.Name = "tbReason";
this.tbReason.Size = new System.Drawing.Size(310, 35); this.tbReason.Size = new System.Drawing.Size(310, 35);
this.tbReason.TabIndex = 10; this.tbReason.TabIndex = 10;
this.tbReason.SelectedIndexChanged += new System.EventHandler(this.tbReason_SelectedIndexChanged);
// //
// label5 // label5
// //

View File

@@ -201,7 +201,7 @@ namespace FPJ0000.OtConfirm
//사용시간여부 확인 //사용시간여부 확인
var minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 문의 하세요"; var minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 문의 하세요";
if(IsAdmin) if (IsAdmin)
minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 권한으로 기록은 진행 됩니다"; minmsg = "해당 항목 [{0}]의 신청 가능 일(시간)이 없습니다\n\n남은 일(시간) : {1} \n\n관리자 권한으로 기록은 진행 됩니다";
bool oktime = false; bool oktime = false;
@@ -236,8 +236,8 @@ namespace FPJ0000.OtConfirm
} }
if (oktime == false) if (oktime == false)
{ {
FCOMMON.Util.MsgE(minmsg); //FCOMMON.Util.MsgE(minmsg);
if (IsAdmin == false) return; //if (IsAdmin == false) return;
} }
// return; // return;
@@ -396,35 +396,6 @@ namespace FPJ0000.OtConfirm
UpdateStatus(); UpdateStatus();
} }
private void label11_Click(object sender, EventArgs e)
{
}
private void tbDays_TextChanged(object sender, EventArgs e)
{
}
private void grpUser_Enter(object sender, EventArgs e)
{
}
private void tbLocation_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void tbReason_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void label9_Click(object sender, EventArgs e)
{
}
Dictionary<string, string> holydata = new Dictionary<string, string>(); Dictionary<string, string> holydata = new Dictionary<string, string>();
@@ -437,9 +408,11 @@ namespace FPJ0000.OtConfirm
if (uid.isEmpty()) return; if (uid.isEmpty()) return;
holydata = FCOMMON.DBM.GetUserHolidayJan(FCOMMON.info.Login.gcode, uid, DateTime.Now.AddDays(-1).ToShortDateString()); var basedate = DateTime.Now.AddDays(-1).ToShortDateString();
holydata = FCOMMON.DBM.GetUserHolidayJan(FCOMMON.info.Login.gcode, uid, basedate);
this.richTextBox1.Clear(); this.richTextBox1.Clear();
if (holydata.Any()) richTextBox1.AppendText($"[기준:{basedate}] => ");
foreach (var item in holydata) foreach (var item in holydata)
{ {
var val = item.Value.Split('|'); var val = item.Value.Split('|');

View File

@@ -331,20 +331,20 @@
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALpSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6WpTQ3s YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6WpTQ3s
Zipm3uYUTU10YZAtppHX0ESFClGKXlRoF53a1Dnn3IZbZC5Tm/MueFnqLudsO9NvzzlbaiD0gw/Pi+d8 Zipm3uYUTU10YZAtpqGpC01UqBCl6EWFdtGpTZ1zTjfcInOZ2pw6L+Blqbuc43am355zttRA6AcfnhfP
P5zf9xweO2EPFMmXKzWy6CrN73CxhiInzVHNnlo6ulJNR5arDOdEylr/mLcHuNDeiXg8qFyx0GsGg8Ft +X44v+85PHbCHiiTL1dq5NFVmt/hYg1FTppDyp5aOrpyiI58ojacE6lq/GPeHuBCeyfi8YBq2UqvGgwG
tjlgtu6yZmGh8XPJguJPc4ivGrfzc6Q+3qhnospUK2xYPeOCdpaBdo6BZoaBatoJxS8HusZscDBA+ziF t8W+CYttl1UrC42fi1YUfzIjvmrcwc+R+XijnokqVy+z4aEZF7SzDLRmBpoZBuppJ5S/NtE5ZscmA7SN
4g+zSHtmoP6RhIu7qE27E/p5N77OM+RkMMxJnBgwOvBlzE4EW9AvuaFddKFUOoeQ+31vuHBcdbDppjhm Uyj+MIu0ZwbqH0m4uJPacDihn3Pj6xxDTgbDnMSJfuMmvow5iGAL+kU3tAsulMrMCLnf+4YLx0mDTTfF
W9hwHWn1N1Df3YKS1mqEiAMQTOCXnkWY5BRq2mu4Vaw0g+V1O8KSBhhOEFsZ8r5vtAMdky9RrynkJEl1 MdvC+utIq7uBuq5mlLRIESIOQDCBX3oWYZJTqG6r5lax0QyW1hwIS+pnOEFsZcj73tF2tE++RJ2mkJMk
kSh8nYjclngIGq8gtTEV7SPL6DBY8fn7JjZIT+GSQZoT8Gv5Pv7iPLdmoh+vRiWoUORwkuSGKBK+iszn 1Uai8HUicpvjIWi4gtSGVLSNLKHdYMPn7xtYJz2FSwZoTsCv4fv4i/Pcmok+vBqVoEKZw0mS66NI+Coy
GVAabdwqvZMUZKSHdZsL4SVDHgE7EWUDdH5TCnRGFRq19/CkpwBx1ReRXBcD3YwdOlIsW7ByytOJmQjC n2dAZbRzq/RMUpCTHtbsLoSXDHoE7ESU99P5jSnQGdVo0N5DWXcB4qQXkVwbA92MAzpSLFuwasrTiYUI
JHsE5x+KXaeLjiCxlg/9lBql/VmQSPMR/zQULYqP+LbAQEeKVU+7MERYsbgQ8sgrOCHyFQaJDiO3OQG3 wiR7BOcfil2ni44gsYYP/dQQSvuyIJHlI/5pKJqVH/FtnoGOFDs07cIgYdnqQsgjr+CEyFcYJDqM3KYE
GiKQUHOJk+RLEyFqzSBvEgr2Xj/nxjD7iQkWUmRgnsojCBIdXAgSHSIP+SKo0BfXKkKR/SIFyjEZSmVF 3KqPQEL1JU6SL0uEqCWDvEko2Hu92Y1h9hMTrKTIwDy1RxAkOjgfJDpEHvJFUKEvrlWEIvtFClRjcpTK
yHqXAkFDLHREoCX/hoYIaNcWESh2V7iQN0gvbdAYWXBzDEws4m5TJtJJUNgYj4LmOzt3LHanmwjadgWs i5D1LgWC+ljoiEBL/g0NEdCuLSJQ7q5wIW+AXlynMTLv5uifWMDdxkykk6CwIR4FTXd27lgcTjcRtO4K
bd68K/gfNnaFjD2CM/lyu1hcvr3fw/shl8u3jiW1W71xUmRmj2l2025hL0yrFEwrFIxeVq0uDrZ5K+0J WNucZVfwP+zsChl7BGfyFQ6xuGx7v4f3Q6FQbB1LarN546TIzG7T7IbDyl6YViiYlikYvazYXBxs8zba
UxS14Xe784c3zuOdzOzODhR09RwXysyBwjZ6h3QPAX8RtNF+gs71o6mdvQEp0jQej8f7A8h4nb60ARZQ E6Yoat3vdscPb5zHO5nZlR0o6Ow+LpRbAoWt9A7pHgL+Imil/QQda0dTO3oCUmRpPB6P9wfHCJ28kSNT
AAAAAElFTkSuQmCC iAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<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">