删除多余表 标准记录单控件修改 秦皇岛数据导入

This commit is contained in:
leomo 2022-10-24 16:18:36 +08:00
parent e80461bd6e
commit 5a42722905
60 changed files with 936 additions and 15217 deletions

View File

@ -117,12 +117,6 @@
<Compile Include="DataDictionary\frmEvents.Designer.cs">
<DependentUpon>frmEvents.cs</DependentUpon>
</Compile>
<Compile Include="DataDictionary\frmMedicalItemKind.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DataDictionary\frmMedicalItemKind.Designer.cs">
<DependentUpon>frmMedicalItemKind.cs</DependentUpon>
</Compile>
<Compile Include="DataDictionary\frmOperation.cs">
<SubType>Form</SubType>
</Compile>
@ -189,54 +183,6 @@
<Compile Include="DrugManagement\frmDosageUnit.Designer.cs">
<DependentUpon>frmDosageUnit.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmDrugKind.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmDrugKind.Designer.cs">
<DependentUpon>frmDrugKind.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmDrugManufacturer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmDrugManufacturer.Designer.cs">
<DependentUpon>frmDrugManufacturer.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmDrugManufacturerList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmDrugManufacturerList.Designer.cs">
<DependentUpon>frmDrugManufacturerList.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmMedicalDict.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmMedicalDict.Designer.cs">
<DependentUpon>frmMedicalDict.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmMedicalDictList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmMedicalDictList.Designer.cs">
<DependentUpon>frmMedicalDictList.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmMedicalItem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmMedicalItem.Designer.cs">
<DependentUpon>frmMedicalItem.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmMedicalItemDetail.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmMedicalItemDetail.Designer.cs">
<DependentUpon>frmMedicalItemDetail.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmMedicamentPrice.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DrugManagement\frmMedicamentPrice.Designer.cs">
<DependentUpon>frmMedicamentPrice.cs</DependentUpon>
</Compile>
<Compile Include="DrugManagement\frmPharmaCology.cs">
<SubType>Form</SubType>
</Compile>
@ -931,9 +877,6 @@
<EmbeddedResource Include="DataDictionary\frmEvents.resx">
<DependentUpon>frmEvents.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmMedicalItemKind.resx">
<DependentUpon>frmMedicalItemKind.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmOperation.resx">
<DependentUpon>frmOperation.cs</DependentUpon>
</EmbeddedResource>
@ -968,30 +911,6 @@
<EmbeddedResource Include="DrugManagement\frmDosageUnit.resx">
<DependentUpon>frmDosageUnit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmDrugKind.resx">
<DependentUpon>frmDrugKind.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmDrugManufacturer.resx">
<DependentUpon>frmDrugManufacturer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmDrugManufacturerList.resx">
<DependentUpon>frmDrugManufacturerList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmMedicalDict.resx">
<DependentUpon>frmMedicalDict.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmMedicalDictList.resx">
<DependentUpon>frmMedicalDictList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmMedicalItem.resx">
<DependentUpon>frmMedicalItem.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmMedicalItemDetail.resx">
<DependentUpon>frmMedicalItemDetail.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmMedicamentPrice.resx">
<DependentUpon>frmMedicamentPrice.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DrugManagement\frmPharmaCology.resx">
<DependentUpon>frmPharmaCology.cs</DependentUpon>
</EmbeddedResource>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<AtuoUpdate>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_SXTLYY_Temp;User ID=sa;Password=Test2020;</ConnectionString>
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;</DataConnectionString>
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
</AtuoUpdate>

View File

@ -1,323 +0,0 @@
namespace DataDictionary.UI
{
partial class frmMedicalItemKind
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMedicalItemKind));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.cboIsMed = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.txtName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dgvMedicalItemKind = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsMedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalItemKind)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(710, 49);
this.toolStrip1.TabIndex = 6;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel1
//
this.panel1.Controls.Add(this.cboIsMed);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel1.Location = new System.Drawing.Point(0, 49);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(710, 48);
this.panel1.TabIndex = 7;
//
// cboIsMed
//
this.cboIsMed.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboIsMed.FormattingEnabled = true;
this.cboIsMed.Items.AddRange(new object[] {
"药品",
"非药品"});
this.cboIsMed.Location = new System.Drawing.Point(316, 8);
this.cboIsMed.Name = "cboIsMed";
this.cboIsMed.Size = new System.Drawing.Size(152, 22);
this.cboIsMed.TabIndex = 556;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(248, 15);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(63, 14);
this.label5.TabIndex = 555;
this.label5.Text = "是否药品";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(32, 40);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(0, 14);
this.label2.TabIndex = 14;
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(474, 13);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 13;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(70, 7);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(152, 23);
this.txtName.TabIndex = 12;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(30, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 14);
this.label1.TabIndex = 11;
this.label1.Text = "名称";
//
// dgvMedicalItemKind
//
this.dgvMedicalItemKind.AllowUserToAddRows = false;
this.dgvMedicalItemKind.BackgroundColor = System.Drawing.Color.White;
this.dgvMedicalItemKind.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMedicalItemKind.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColumn,
this.IsMedColumn,
this.IsValidColumn});
this.dgvMedicalItemKind.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMedicalItemKind.Location = new System.Drawing.Point(0, 97);
this.dgvMedicalItemKind.Name = "dgvMedicalItemKind";
this.dgvMedicalItemKind.RowHeadersVisible = false;
this.dgvMedicalItemKind.RowTemplate.Height = 23;
this.dgvMedicalItemKind.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvMedicalItemKind.Size = new System.Drawing.Size(710, 416);
this.dgvMedicalItemKind.TabIndex = 8;
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 300;
//
// IsMedColumn
//
this.IsMedColumn.HeaderText = "是否药品";
this.IsMedColumn.Name = "IsMedColumn";
this.IsMedColumn.ReadOnly = true;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "有效性";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Width = 75;
//
// frmMedicalItemKind
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(710, 513);
this.ControlBox = false;
this.Controls.Add(this.dgvMedicalItemKind);
this.Controls.Add(this.panel1);
this.Controls.Add(this.toolStrip1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmMedicalItemKind";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmMedicalItemKind_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalItemKind)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ComboBox cboIsMed;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridView dgvMedicalItemKind;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsMedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
}
}

View File

@ -1,148 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DataDictionary.UI
{
public partial class frmMedicalItemKind : Form
{
public AIMSExtension.EditState _state;
private int SelectMedicalItemKindRowId=0;
public frmMedicalItemKind()
{
InitializeComponent();
}
private void frmMedicalItemKind_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalItemKind);
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
GetMedicalItemKindDataTable();
}
private void tsbAdd_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.ADD;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
AIMSExtension.PublicMethod.ClearControl(panel1);
chkIsValid.Checked = true;
}
private void tsbModify_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.EDIT;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
if (dgvMedicalItemKind.Rows.Count > 0)
{
SelectMedicalItemKindRowId = int.Parse(dgvMedicalItemKind.CurrentRow.Cells["Id"].Value.ToString());
txtName.Text = dgvMedicalItemKind.CurrentRow.Cells["NameColumn"].Value.ToString();
cboIsMed.Text = dgvMedicalItemKind.CurrentRow.Cells["IsMedColumn"].Value.ToString();
if (dgvMedicalItemKind.CurrentRow.Cells["IsValidColumn"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private void tsbCancel_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
}
private void tsbSava_Click(object sender, EventArgs e)
{
if (this.ValidInput())
{
MedicalItemKind MedicalItemKindObj = new MedicalItemKind();
MedicalItemKindObj.Name = txtName.Text.Trim();
if(cboIsMed.Text =="药品")
{
MedicalItemKindObj.IsMed ="1";
}
else
{
MedicalItemKindObj.IsMed ="0";
}
MedicalItemKindObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
MedicalItemKindObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
MedicalItemKindObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
MedicalItemKindObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
BMedicalItemKind.Add(MedicalItemKindObj);
}
if (_state == AIMSExtension.EditState.EDIT)
{
MedicalItemKindObj.Id = SelectMedicalItemKindRowId;
BMedicalItemKind.Update(MedicalItemKindObj);
}
}
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
GetMedicalItemKindDataTable();
}
private void GetMedicalItemKindDataTable()
{
dgvMedicalItemKind.Rows.Clear();
DataTable dt = BMedicalItemKind.GetDataTable();
for (int i = 0; i < dt.Rows.Count; i++)
{
dgvMedicalItemKind.Rows.Add(dt.Rows[i]["Id"].ToString(),
dt.Rows[i]["Name"].ToString(),
dt.Rows[i]["IsMed"].ToString(),
dt.Rows[i]["IsValid"].ToString());
dgvMedicalItemKind.Rows[i].Cells["Id"].Selected = false;
}
if (dgvMedicalItemKind.Rows.Count > 0)
{
dgvMedicalItemKind.ClearSelection();
dgvMedicalItemKind.Rows[0].Selected = false;
dgvMedicalItemKind.Rows[dgvMedicalItemKind.Rows.Count - 1].Selected = true;
dgvMedicalItemKind.CurrentCell = this.dgvMedicalItemKind.Rows[dgvMedicalItemKind.Rows.Count - 1].Cells[1];
}
}
private bool ValidInput()
{
bool result = false;
if (this.txtName.Text.Trim().Length < 1)
{
MessageBox.Show("请输入名称!");
}
else if (cboIsMed.Text.Trim().Length < 1)
{
MessageBox.Show("是否药品不能为空!");
}
else
{
result = true;
}
return result;
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,314 +0,0 @@
namespace DrugManagement.UI
{
partial class frmDrugKind
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDrugKind));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel2 = new System.Windows.Forms.Panel();
this.cboMedicalItemKind = new System.Windows.Forms.ComboBox();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.label3 = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.dgvDrugKind = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColume = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalItemKindNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugKind)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(748, 49);
this.toolStrip1.TabIndex = 6;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._手术申请;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel2
//
this.panel2.Controls.Add(this.cboMedicalItemKind);
this.panel2.Controls.Add(this.chkIsValid);
this.panel2.Controls.Add(this.label3);
this.panel2.Controls.Add(this.txtName);
this.panel2.Controls.Add(this.label2);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel2.Location = new System.Drawing.Point(0, 49);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(748, 86);
this.panel2.TabIndex = 8;
//
// cboMedicalItemKind
//
this.cboMedicalItemKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboMedicalItemKind.FormattingEnabled = true;
this.cboMedicalItemKind.Items.AddRange(new object[] {
"西药",
"中成药",
"中草药",
"化学制剂"});
this.cboMedicalItemKind.Location = new System.Drawing.Point(87, 52);
this.cboMedicalItemKind.Name = "cboMedicalItemKind";
this.cboMedicalItemKind.Size = new System.Drawing.Size(152, 22);
this.cboMedicalItemKind.TabIndex = 15;
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(292, 57);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 14;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(17, 58);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(63, 14);
this.label3.TabIndex = 4;
this.label3.Text = "医药类别";
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(87, 18);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(152, 23);
this.txtName.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(45, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(35, 14);
this.label2.TabIndex = 2;
this.label2.Text = "名称";
//
// dgvDrugKind
//
this.dgvDrugKind.AllowUserToAddRows = false;
this.dgvDrugKind.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugKind.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugKind.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColume,
this.MedicalItemKindNameColumn,
this.IsValidColumn});
this.dgvDrugKind.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugKind.Location = new System.Drawing.Point(0, 135);
this.dgvDrugKind.Name = "dgvDrugKind";
this.dgvDrugKind.RowHeadersVisible = false;
this.dgvDrugKind.RowTemplate.Height = 23;
this.dgvDrugKind.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvDrugKind.Size = new System.Drawing.Size(748, 307);
this.dgvDrugKind.TabIndex = 9;
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NameColume
//
this.NameColume.DataPropertyName = "Name";
this.NameColume.HeaderText = "名称";
this.NameColume.Name = "NameColume";
this.NameColume.ReadOnly = true;
this.NameColume.Width = 300;
//
// MedicalItemKindNameColumn
//
this.MedicalItemKindNameColumn.DataPropertyName = "MedicalItemKindName";
this.MedicalItemKindNameColumn.HeaderText = "医疗类别";
this.MedicalItemKindNameColumn.Name = "MedicalItemKindNameColumn";
this.MedicalItemKindNameColumn.ReadOnly = true;
this.MedicalItemKindNameColumn.Width = 150;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "有效性";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Width = 75;
//
// frmDrugKind
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(748, 442);
this.ControlBox = false;
this.Controls.Add(this.dgvDrugKind);
this.Controls.Add(this.panel2);
this.Controls.Add(this.toolStrip1);
this.Name = "frmDrugKind";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmDrugKind_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugKind)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ComboBox cboMedicalItemKind;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.DataGridView dgvDrugKind;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColume;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalItemKindNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
}
}

View File

@ -1,146 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmDrugKind : Form
{
public AIMSExtension.EditState _state;
private List<DrugKind> DrugKindObjList = new List<DrugKind>();
private int SelectRowId = 0;
public frmDrugKind()
{
InitializeComponent();
}
private void frmDrugKind_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDrugKind);
this.cboMedicalItemKind.DataSource =
AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
this.cboMedicalItemKind.DisplayMember = "Name";
this.cboMedicalItemKind.ValueMember = "Id";
GetDrugKindDataTable();
}
private void GetDrugKindDataTable()
{
dgvDrugKind.Rows.Clear();
DataTable dt = BDrugKind.GetDataTable();
for (int i = 0; i < dt.Rows.Count; i++)
{
dgvDrugKind.Rows.Add(dt.Rows[i]["Id"].ToString(),
dt.Rows[i]["Name"].ToString(),
dt.Rows[i]["MedicalItemKindName"].ToString(),
dt.Rows[i]["IsValid"].ToString());
}
if (dgvDrugKind.Rows.Count > 0)
{
dgvDrugKind.ClearSelection();
dgvDrugKind.Rows[0].Selected = false;
dgvDrugKind.Rows[dgvDrugKind.Rows.Count - 1].Selected = true;
dgvDrugKind.CurrentCell = this.dgvDrugKind.Rows[dgvDrugKind.Rows.Count - 1].Cells[1];
}
}
private void tsbAdd_Click(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.EnabledControl(panel2, true);
AIMSExtension.PublicMethod.ClearControl(panel2);
_state = AIMSExtension.EditState.ADD;
chkIsValid.Checked = true;
}
private void tsbModify_Click(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.EnabledControl(panel2, true);
_state = AIMSExtension.EditState.EDIT;
txtName.Enabled = false;
if (dgvDrugKind.Rows.Count > 0)
{
SelectRowId = int.Parse(dgvDrugKind.CurrentRow.Cells["Id"].Value.ToString());
txtName.Text = dgvDrugKind.CurrentRow.Cells["NameColume"].Value.ToString();
cboMedicalItemKind.Text = dgvDrugKind.CurrentRow.Cells["MedicalItemKindNameColumn"].Value.ToString();
if (dgvDrugKind.CurrentRow.Cells["IsValidColumn"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private void tsbCancel_Click(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
AIMSExtension.PublicMethod.ClearControl(panel2);
_state = AIMSExtension.EditState.BROWSE;
}
private void tsbSava_Click(object sender, EventArgs e)
{
if (ValidInput())
{
DrugKind DrugKindObj = new DrugKind();
DrugKindObj.Name = txtName.Text.Trim();
DrugKindObj.MedicalItemKindId = int.Parse(cboMedicalItemKind.SelectedValue.ToString());
DrugKindObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
DrugKindObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
DrugKindObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
DrugKindObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
BDrugKind.Add(DrugKindObj);
}
if (_state == AIMSExtension.EditState.EDIT)
{
DrugKindObj.Id = SelectRowId;
BDrugKind.Update(DrugKindObj);
}
GetDrugKindDataTable();
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
AIMSExtension.PublicMethod.ClearControl(panel2);
_state = AIMSExtension.EditState.BROWSE;
}
}
private bool ValidInput()
{
bool result = false;
if (this.txtName.Text.Trim().Length < 1)
{
MessageBox.Show("请输入名称!");
}
else if (this.cboMedicalItemKind.Text.Trim().Length < 1)
{
MessageBox.Show("请输入医药类别!");
}
else
{
result = true;
}
return result;
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,307 +0,0 @@
namespace DrugManagement.UI
{
partial class frmDrugManufacturer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDrugManufacturer));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel2 = new System.Windows.Forms.Panel();
this.txtHelpCode = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.txtName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dgvDrugManufacturer = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugManufacturer)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(665, 49);
this.toolStrip1.TabIndex = 6;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._手术申请;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel2
//
this.panel2.Controls.Add(this.txtHelpCode);
this.panel2.Controls.Add(this.label12);
this.panel2.Controls.Add(this.chkIsValid);
this.panel2.Controls.Add(this.txtName);
this.panel2.Controls.Add(this.label1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel2.Location = new System.Drawing.Point(0, 49);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(665, 47);
this.panel2.TabIndex = 7;
//
// txtHelpCode
//
this.txtHelpCode.Location = new System.Drawing.Point(405, 14);
this.txtHelpCode.Name = "txtHelpCode";
this.txtHelpCode.Size = new System.Drawing.Size(123, 23);
this.txtHelpCode.TabIndex = 554;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(350, 23);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(49, 14);
this.label12.TabIndex = 553;
this.label12.Text = "助记码";
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(560, 19);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 5;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(116, 14);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(218, 23);
this.txtName.TabIndex = 4;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(24, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(91, 14);
this.label1.TabIndex = 3;
this.label1.Text = "生产厂家名称";
//
// dgvDrugManufacturer
//
this.dgvDrugManufacturer.AllowUserToAddRows = false;
this.dgvDrugManufacturer.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugManufacturer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugManufacturer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColumn,
this.HelpCodeColumn,
this.IsValidColumn});
this.dgvDrugManufacturer.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugManufacturer.Location = new System.Drawing.Point(0, 96);
this.dgvDrugManufacturer.Name = "dgvDrugManufacturer";
this.dgvDrugManufacturer.RowHeadersVisible = false;
this.dgvDrugManufacturer.RowTemplate.Height = 23;
this.dgvDrugManufacturer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvDrugManufacturer.Size = new System.Drawing.Size(665, 319);
this.dgvDrugManufacturer.TabIndex = 8;
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "生产厂家名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 300;
//
// HelpCodeColumn
//
this.HelpCodeColumn.DataPropertyName = "HelpCode";
this.HelpCodeColumn.HeaderText = "助记码";
this.HelpCodeColumn.Name = "HelpCodeColumn";
this.HelpCodeColumn.ReadOnly = true;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "有效性";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Width = 75;
//
// frmDrugManufacturer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(665, 415);
this.ControlBox = false;
this.Controls.Add(this.dgvDrugManufacturer);
this.Controls.Add(this.panel2);
this.Controls.Add(this.toolStrip1);
this.Name = "frmDrugManufacturer";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmDrugManufacturer_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugManufacturer)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox txtHelpCode;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridView dgvDrugManufacturer;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCodeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
}
}

View File

@ -1,135 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmDrugManufacturer : Form
{
public AIMSExtension.EditState _state;
private int SelectDrugManufacturerId = 0;
public frmDrugManufacturer()
{
InitializeComponent();
}
private void frmDrugManufacturer_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDrugManufacturer);
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
txtName.Focus();
GetDrugManufacturerDataTable();
}
private void tsbAdd_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.ADD;
AIMSExtension.PublicMethod.EnabledControl(panel2, true);
AIMSExtension.PublicMethod.ClearControl(panel2);
chkIsValid.Checked = true;
txtName.Focus();
}
private void tsbModify_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.EDIT;
AIMSExtension.PublicMethod.EnabledControl(panel2, true);
txtName.Enabled = false;
if (dgvDrugManufacturer.Rows.Count > 0)
{
SelectDrugManufacturerId = int.Parse(dgvDrugManufacturer.CurrentRow.Cells["Id"].Value.ToString());
txtName.Text = dgvDrugManufacturer.CurrentRow.Cells["NameColumn"].Value.ToString();
txtHelpCode.Text = dgvDrugManufacturer.CurrentRow.Cells["HelpCodeColumn"].Value.ToString();
if (dgvDrugManufacturer.CurrentRow.Cells["IsValidColumn"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private void tsbCancel_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
AIMSExtension.PublicMethod.ClearControl(panel2);
}
private void tsbSava_Click(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.ValidDataGridViewExistsItemName(dgvDrugManufacturer, "NameColumn", txtName.Text);
DrugManufacturer DrugManufacturerObj = new DrugManufacturer();
DrugManufacturerObj.Name = txtName.Text.Trim();
DrugManufacturerObj.HelpCode = txtHelpCode.Text.Trim();
DrugManufacturerObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
DrugManufacturerObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
DrugManufacturerObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
DrugManufacturerObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
if (!AIMSExtension.PublicMethod.ValidDataGridViewExistsItemName(dgvDrugManufacturer, "NameColumn", txtName.Text))
{
BDrugManufacturer.Add(DrugManufacturerObj);
}
else
{
MessageBox.Show("有重复名称!");
}
}
if (_state == AIMSExtension.EditState.EDIT)
{
DrugManufacturerObj.Id = SelectDrugManufacturerId;
BDrugManufacturer.Update(DrugManufacturerObj);
}
AIMSExtension.PublicMethod.EnabledControl(panel2, false);
_state = AIMSExtension.EditState.BROWSE;
GetDrugManufacturerDataTable();
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHelpCode.Text = AIMSExtension.PublicMethod.GetFirstLetter(txtName.Text);
}
private void GetDrugManufacturerDataTable()
{
dgvDrugManufacturer.Rows.Clear();
DataTable dt = BDrugManufacturer.GetDataTable();
for (int i = 0; i < dt.Rows.Count; i++)
{
dgvDrugManufacturer.Rows.Add(dt.Rows[i]["Id"].ToString(),
dt.Rows[i]["Name"].ToString(),
dt.Rows[i]["HelpCode"].ToString(),
dt.Rows[i]["IsValid"].ToString());
}
if (dgvDrugManufacturer.Rows.Count > 0)
{
dgvDrugManufacturer.ClearSelection();
dgvDrugManufacturer.Rows[0].Selected = false;
dgvDrugManufacturer.Rows[dgvDrugManufacturer.Rows.Count - 1].Selected = true;
dgvDrugManufacturer.CurrentCell = this.dgvDrugManufacturer.Rows[dgvDrugManufacturer.Rows.Count - 1].Cells[1];
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,96 +0,0 @@
namespace DrugManagement.UI
{
partial class frmDrugManufacturerList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dgvDrugManufacturer = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugManufacturer)).BeginInit();
this.SuspendLayout();
//
// dgvDrugManufacturer
//
this.dgvDrugManufacturer.AllowUserToAddRows = false;
this.dgvDrugManufacturer.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugManufacturer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugManufacturer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColumn});
this.dgvDrugManufacturer.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugManufacturer.Location = new System.Drawing.Point(0, 0);
this.dgvDrugManufacturer.Name = "dgvDrugManufacturer";
this.dgvDrugManufacturer.RowHeadersVisible = false;
this.dgvDrugManufacturer.RowTemplate.Height = 23;
this.dgvDrugManufacturer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvDrugManufacturer.Size = new System.Drawing.Size(292, 369);
this.dgvDrugManufacturer.TabIndex = 12;
this.dgvDrugManufacturer.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvDrugManufacturer_CellMouseClick);
this.dgvDrugManufacturer.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvDrugManufacturer_KeyDown);
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 240;
//
// frmDrugManufacturerList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 369);
this.ControlBox = false;
this.Controls.Add(this.dgvDrugManufacturer);
this.Font = new System.Drawing.Font("宋体", 10.5F);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmDrugManufacturerList";
this.Load += new System.EventHandler(this.DrugManufacturerList_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugManufacturer)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvDrugManufacturer;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
}
}

View File

@ -1,55 +0,0 @@
using AIMSBLL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmDrugManufacturerList : Form
{
public string HelpCode;
public int DrugManufacturerId = 0;
public string DrugManufacturerName = "";
public frmDrugManufacturerList()
{
InitializeComponent();
}
private void DrugManufacturerList_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDrugManufacturer);
int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width) / 2+200;
int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) / 2;
this.StartPosition = FormStartPosition.Manual;
this.Location = (Point)new Size(x, y);
dgvDrugManufacturer.DataSource = BDrugManufacturer.GetDataTable(HelpCode);
}
private void dgvDrugManufacturer_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
DrugManufacturerId = int.Parse(dgvDrugManufacturer.CurrentRow.Cells["Id"].Value.ToString());
DrugManufacturerName = dgvDrugManufacturer.CurrentRow.Cells["NameColumn"].Value.ToString();
Close();
}
}
private void dgvDrugManufacturer_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
if (e.Button == System.Windows.Forms.MouseButtons.Left)
{
DrugManufacturerId = int.Parse(dgvDrugManufacturer.CurrentRow.Cells["Id"].Value.ToString());
DrugManufacturerName = dgvDrugManufacturer.CurrentRow.Cells["NameColumn"].Value.ToString();
Close();
}
}
}
}

View File

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

View File

@ -1,550 +0,0 @@
namespace DrugManagement.UI
{
partial class frmMedicalDict
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMedicalDict));
this.panel2 = new System.Windows.Forms.Panel();
this.treeView1 = new System.Windows.Forms.TreeView();
this.panel3 = new System.Windows.Forms.Panel();
this.txtInput = new System.Windows.Forms.TextBox();
this.btnFind = new System.Windows.Forms.Button();
this.panel4 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.dgvMedicalDict = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DrugKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalItemKindNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel6 = new System.Windows.Forms.Panel();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.txtName = new System.Windows.Forms.TextBox();
this.txtNo = new System.Windows.Forms.TextBox();
this.cboDosageKind = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.cboDrugKind = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.txtHelpCode = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
this.panel5.SuspendLayout();
this.panel7.SuspendLayout();
this.panel8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalDict)).BeginInit();
this.panel6.SuspendLayout();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.Controls.Add(this.treeView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(174, 499);
this.panel2.TabIndex = 1;
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.Font = new System.Drawing.Font("宋体", 10.5F);
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(174, 499);
this.treeView1.TabIndex = 0;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
//
// panel3
//
this.panel3.Controls.Add(this.txtInput);
this.panel3.Controls.Add(this.btnFind);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(174, 461);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(736, 38);
this.panel3.TabIndex = 2;
//
// txtInput
//
this.txtInput.Location = new System.Drawing.Point(105, 7);
this.txtInput.Name = "txtInput";
this.txtInput.Size = new System.Drawing.Size(100, 21);
this.txtInput.TabIndex = 4;
//
// btnFind
//
this.btnFind.Location = new System.Drawing.Point(13, 6);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(85, 24);
this.btnFind.TabIndex = 3;
this.btnFind.Text = "查询";
this.btnFind.UseVisualStyleBackColor = true;
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
//
// panel4
//
this.panel4.Controls.Add(this.panel5);
this.panel4.Controls.Add(this.panel1);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(174, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(736, 461);
this.panel4.TabIndex = 3;
//
// panel5
//
this.panel5.Controls.Add(this.panel7);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(0, 49);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(736, 412);
this.panel5.TabIndex = 6;
//
// panel7
//
this.panel7.Controls.Add(this.panel8);
this.panel7.Controls.Add(this.panel6);
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel7.Location = new System.Drawing.Point(0, 0);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(736, 412);
this.panel7.TabIndex = 3;
//
// panel8
//
this.panel8.Controls.Add(this.dgvMedicalDict);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 85);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(736, 327);
this.panel8.TabIndex = 4;
//
// dgvMedicalDict
//
this.dgvMedicalDict.AllowUserToAddRows = false;
this.dgvMedicalDict.BackgroundColor = System.Drawing.Color.White;
this.dgvMedicalDict.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMedicalDict.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NoColumn,
this.NameColumn,
this.DrugKindColumn,
this.DosageKindColumn,
this.IsValidColumn,
this.HelpCodeColumn,
this.MedicalItemKindNameColumn});
this.dgvMedicalDict.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMedicalDict.Location = new System.Drawing.Point(0, 0);
this.dgvMedicalDict.Name = "dgvMedicalDict";
this.dgvMedicalDict.RowHeadersVisible = false;
this.dgvMedicalDict.RowTemplate.Height = 23;
this.dgvMedicalDict.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvMedicalDict.Size = new System.Drawing.Size(736, 327);
this.dgvMedicalDict.TabIndex = 2;
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NoColumn
//
this.NoColumn.DataPropertyName = "No";
this.NoColumn.HeaderText = "编码";
this.NoColumn.Name = "NoColumn";
this.NoColumn.ReadOnly = true;
this.NoColumn.Width = 150;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 150;
//
// DrugKindColumn
//
this.DrugKindColumn.DataPropertyName = "DrugKindName";
this.DrugKindColumn.HeaderText = "药品类别";
this.DrugKindColumn.Name = "DrugKindColumn";
this.DrugKindColumn.ReadOnly = true;
this.DrugKindColumn.Width = 150;
//
// DosageKindColumn
//
this.DosageKindColumn.DataPropertyName = "DosageKindName";
this.DosageKindColumn.HeaderText = "药品剂型";
this.DosageKindColumn.Name = "DosageKindColumn";
this.DosageKindColumn.ReadOnly = true;
this.DosageKindColumn.Width = 150;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "有效性";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Width = 75;
//
// HelpCodeColumn
//
this.HelpCodeColumn.DataPropertyName = "HelpCode";
this.HelpCodeColumn.HeaderText = "助记码";
this.HelpCodeColumn.Name = "HelpCodeColumn";
this.HelpCodeColumn.ReadOnly = true;
//
// MedicalItemKindNameColumn
//
this.MedicalItemKindNameColumn.DataPropertyName = "MedicalItemKindName";
this.MedicalItemKindNameColumn.HeaderText = "MedicalItemKindName";
this.MedicalItemKindNameColumn.Name = "MedicalItemKindNameColumn";
this.MedicalItemKindNameColumn.ReadOnly = true;
this.MedicalItemKindNameColumn.Visible = false;
//
// panel6
//
this.panel6.Controls.Add(this.chkIsValid);
this.panel6.Controls.Add(this.txtName);
this.panel6.Controls.Add(this.txtNo);
this.panel6.Controls.Add(this.cboDosageKind);
this.panel6.Controls.Add(this.label4);
this.panel6.Controls.Add(this.cboDrugKind);
this.panel6.Controls.Add(this.label3);
this.panel6.Controls.Add(this.txtHelpCode);
this.panel6.Controls.Add(this.label12);
this.panel6.Controls.Add(this.label2);
this.panel6.Controls.Add(this.label1);
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
this.panel6.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel6.Location = new System.Drawing.Point(0, 0);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(736, 85);
this.panel6.TabIndex = 3;
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(470, 54);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 563;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(292, 17);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(246, 23);
this.txtName.TabIndex = 562;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
// txtNo
//
this.txtNo.Location = new System.Drawing.Point(89, 17);
this.txtNo.Name = "txtNo";
this.txtNo.Size = new System.Drawing.Size(143, 23);
this.txtNo.TabIndex = 561;
//
// cboDosageKind
//
this.cboDosageKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDosageKind.FormattingEnabled = true;
this.cboDosageKind.Location = new System.Drawing.Point(292, 51);
this.cboDosageKind.Name = "cboDosageKind";
this.cboDosageKind.Size = new System.Drawing.Size(121, 22);
this.cboDosageKind.TabIndex = 560;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(254, 59);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(35, 14);
this.label4.TabIndex = 559;
this.label4.Text = "剂型";
//
// cboDrugKind
//
this.cboDrugKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDrugKind.FormattingEnabled = true;
this.cboDrugKind.Location = new System.Drawing.Point(89, 50);
this.cboDrugKind.Name = "cboDrugKind";
this.cboDrugKind.Size = new System.Drawing.Size(143, 22);
this.cboDrugKind.TabIndex = 558;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(20, 59);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(63, 14);
this.label3.TabIndex = 557;
this.label3.Text = "药品类别";
//
// txtHelpCode
//
this.txtHelpCode.Location = new System.Drawing.Point(603, 17);
this.txtHelpCode.Name = "txtHelpCode";
this.txtHelpCode.Size = new System.Drawing.Size(121, 23);
this.txtHelpCode.TabIndex = 556;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(548, 26);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(49, 14);
this.label12.TabIndex = 555;
this.label12.Text = "助记码";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(254, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(35, 14);
this.label2.TabIndex = 1;
this.label2.Text = "名称";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(47, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 14);
this.label1.TabIndex = 0;
this.label1.Text = "编码";
//
// panel1
//
this.panel1.Controls.Add(this.toolStrip1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(736, 49);
this.panel1.TabIndex = 5;
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(736, 49);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._手术申请;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// frmMedicalDict
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(910, 499);
this.ControlBox = false;
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Name = "frmMedicalDict";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmMedicalDict_Load);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel7.ResumeLayout(false);
this.panel8.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalDict)).EndInit();
this.panel6.ResumeLayout(false);
this.panel6.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.DataGridView dgvMedicalDict;
private System.Windows.Forms.TextBox txtInput;
private System.Windows.Forms.Button btnFind;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboDosageKind;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cboDrugKind;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtHelpCode;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.TextBox txtNo;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DrugKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCodeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalItemKindNameColumn;
}
}

View File

@ -1,215 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmMedicalDict : Form
{
public AIMSExtension.EditState _state;
public int SelectMedicalDictRowId = 0;
public frmMedicalDict()
{
InitializeComponent();
}
private void frmMedicalDict_Load(object sender, EventArgs e)
{
this.treeView1.BackColor = System.Drawing.Color.Snow;
InitTreeView();
}
private void InitTreeView()
{
treeView1.Nodes.Clear();
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalDict);
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel6, false);
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
for (int i = 0; i < dt.Rows.Count; i++)
{
TreeNode Node = treeView1.Nodes.Add(dt.Rows[i]["Id"].ToString(), dt.Rows[i]["Name"].ToString());
DataTable dt1 = BDrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
for (int j = 0; j < dt1.Rows.Count; j++)
{
Node.Nodes.Add(dt1.Rows[j]["Id"].ToString(), dt1.Rows[j]["Name"].ToString());
}
}
cboDrugKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BDrugKind.GetDataTable(), "IsValid='有效'", "");
cboDrugKind.DisplayMember = "Name";
cboDrugKind.ValueMember = "Id";
cboDrugKind.SelectedIndex = -1;
cboDosageKind.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BDosageKind.GetDataTable(), "IsValid='有效'", "");
cboDosageKind.DisplayMember = "Name";
cboDosageKind.ValueMember = "Id";
cboDosageKind.SelectedIndex = -1;
}
private void tsbAdd_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.ADD;
AIMSExtension.PublicMethod.EnabledControl(panel6, true);
AIMSExtension.PublicMethod.ClearControl(panel6);
chkIsValid.Checked = true;
TreeNode sNode = treeView1.SelectedNode;
if (sNode.Parent != null)
{
DrugKind DrugKindObj = new DrugKind();
cboDrugKind.SelectedValue = sNode.Name;
}
}
private void tsbModify_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.EDIT;
AIMSExtension.PublicMethod.EnabledControl(panel6, true);
txtNo.Enabled = false;
txtName.Enabled = false;
if (dgvMedicalDict.Rows.Count > 0)
{
SelectMedicalDictRowId = int.Parse(dgvMedicalDict.CurrentRow.Cells["Id"].Value.ToString());
txtNo.Text = dgvMedicalDict.CurrentRow.Cells["NoColumn"].Value.ToString();
txtName.Text = dgvMedicalDict.CurrentRow.Cells["NameColumn"].Value.ToString();
cboDrugKind.Text= dgvMedicalDict.CurrentRow.Cells["DrugKindColumn"].Value.ToString();
cboDosageKind.Text= dgvMedicalDict.CurrentRow.Cells["DosageKindColumn"].Value.ToString();
if (dgvMedicalDict.CurrentRow.Cells["IsValidColumn"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
dgvMedicalDict.CurrentRow.Cells["HelpCodeColumn"].Value.ToString();
txtNo.Enabled = false;
txtName.Enabled =false;
}
}
private void tsbCancel_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel6, false);
AIMSExtension.PublicMethod.ClearControl(panel6);
}
private void tsbSava_Click(object sender, EventArgs e)
{
if(ValidInput())
{
MedicalDict MedicalDictObj = new MedicalDict();
MedicalDictObj.No = txtNo.Text.Trim();
MedicalDictObj.Name = txtName.Text.Trim();
MedicalDictObj.HelpCode = txtHelpCode.Text;
MedicalDictObj.DrugKindId = int.Parse(cboDrugKind.SelectedValue.ToString());
MedicalDictObj.DosageKindId = int.Parse(cboDosageKind.SelectedValue.ToString());
MedicalDictObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
MedicalDictObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
MedicalDictObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
MedicalDictObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
BMedicalDict.Add(MedicalDictObj);
}
if (_state == AIMSExtension.EditState.EDIT)
{
MedicalDictObj.Id = SelectMedicalDictRowId;
BMedicalDict.Update(MedicalDictObj);
}
}
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel6, false);
AIMSExtension.PublicMethod.ClearControl(panel6);
TreeNode sNode = treeView1.SelectedNode;
if (sNode.Parent != null)
{
DrugKind DrugKindObj = new DrugKind();
cboDrugKind.SelectedValue = sNode.Name;
dgvMedicalDict.DataSource = BMedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
}
}
private bool ValidInput()
{
bool result = false;
if (txtNo.Text.Trim().Length < 1)
{
MessageBox.Show("编码不能为空!");
}
else if (txtName.Text.Trim().Length < 1)
{
MessageBox.Show("名称不能为空!");
}
else if (this.cboDrugKind.Text.Trim().Length < 1)
{
MessageBox.Show("药品类别不能为空!");
}
else if (cboDosageKind.Text.Trim().Length < 1)
{
MessageBox.Show("剂型不能为空!");
}
else if (_state == AIMSExtension.EditState.ADD && BMedicalDict.Exists(txtNo.Text))
{
MessageBox.Show("编码不能重复!");
}
else
{
result = true;
}
return result;
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHelpCode.Text= AIMSExtension.PublicMethod.GetFirstLetter(txtName.Text.Trim());
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
TreeNode sNode = treeView1.SelectedNode;
if (sNode.Parent != null)
{
DrugKind DrugKindObj = new DrugKind();
cboDrugKind.SelectedValue = sNode.Name;
dgvMedicalDict.DataSource = BMedicalDict.GetDataTable(int.Parse(cboDrugKind.SelectedValue.ToString()));
}
}
private void btnFind_Click(object sender, EventArgs e)
{
dgvMedicalDict.DataSource = BMedicalDict.GetDataTableByName(txtInput.Text.Trim());
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,159 +0,0 @@
namespace DrugManagement.UI
{
partial class frmMedicalDictList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dgvMedicalDictList = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalItemKindNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DrugKindNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageKindNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalDictList)).BeginInit();
this.SuspendLayout();
//
// dgvMedicalDictList
//
this.dgvMedicalDictList.AllowUserToAddRows = false;
this.dgvMedicalDictList.BackgroundColor = System.Drawing.Color.White;
this.dgvMedicalDictList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMedicalDictList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NoColumn,
this.NameColumn,
this.HelpCodeColumn,
this.MedicalItemKindNameColumn,
this.DrugKindNameColumn,
this.DosageKindNameColumn,
this.IsValidColumn});
this.dgvMedicalDictList.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMedicalDictList.Location = new System.Drawing.Point(0, 0);
this.dgvMedicalDictList.Name = "dgvMedicalDictList";
this.dgvMedicalDictList.RowHeadersVisible = false;
this.dgvMedicalDictList.RowTemplate.Height = 23;
this.dgvMedicalDictList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvMedicalDictList.Size = new System.Drawing.Size(496, 374);
this.dgvMedicalDictList.TabIndex = 11;
this.dgvMedicalDictList.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvMedicalDictList_CellMouseClick);
this.dgvMedicalDictList.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvMedicalDictList_KeyDown);
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NoColumn
//
this.NoColumn.DataPropertyName = "No";
this.NoColumn.HeaderText = "编码";
this.NoColumn.Name = "NoColumn";
this.NoColumn.ReadOnly = true;
this.NoColumn.Width = 130;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 240;
//
// HelpCodeColumn
//
this.HelpCodeColumn.DataPropertyName = "HelpCode";
this.HelpCodeColumn.HeaderText = "HelpCode";
this.HelpCodeColumn.Name = "HelpCodeColumn";
this.HelpCodeColumn.ReadOnly = true;
this.HelpCodeColumn.Visible = false;
//
// MedicalItemKindNameColumn
//
this.MedicalItemKindNameColumn.DataPropertyName = "MedicalItemKindName";
this.MedicalItemKindNameColumn.HeaderText = "MedicalItemKindName";
this.MedicalItemKindNameColumn.Name = "MedicalItemKindNameColumn";
this.MedicalItemKindNameColumn.ReadOnly = true;
this.MedicalItemKindNameColumn.Visible = false;
//
// DrugKindNameColumn
//
this.DrugKindNameColumn.DataPropertyName = "DrugKindName";
this.DrugKindNameColumn.HeaderText = "DrugKindName";
this.DrugKindNameColumn.Name = "DrugKindNameColumn";
this.DrugKindNameColumn.ReadOnly = true;
this.DrugKindNameColumn.Visible = false;
//
// DosageKindNameColumn
//
this.DosageKindNameColumn.DataPropertyName = "DosageKindName";
this.DosageKindNameColumn.HeaderText = "剂型";
this.DosageKindNameColumn.Name = "DosageKindNameColumn";
this.DosageKindNameColumn.ReadOnly = true;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "IsValid";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Visible = false;
//
// frmMedicalDictList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(496, 374);
this.ControlBox = false;
this.Controls.Add(this.dgvMedicalDictList);
this.Name = "frmMedicalDictList";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmMedicalDictList_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalDictList)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvMedicalDictList;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCodeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalItemKindNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DrugKindNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageKindNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
}
}

View File

@ -1,46 +0,0 @@
using AIMSBLL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmMedicalDictList : Form
{
public string HelpCode;
public int MedicalDictId=0;
public frmMedicalDictList()
{
InitializeComponent();
}
private void frmMedicalDictList_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalDictList);
dgvMedicalDictList.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalDict.GetDataTableByName(HelpCode), "IsValid='有效'", "");
}
private void dgvMedicalDictList_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
MedicalDictId = int.Parse(dgvMedicalDictList.CurrentRow.Cells["Id"].Value.ToString());
Close();
}
}
private void dgvMedicalDictList_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
if (e.Button == System.Windows.Forms.MouseButtons.Left)
{
MedicalDictId = int.Parse(dgvMedicalDictList.CurrentRow.Cells["Id"].Value.ToString());
Close();
}
}
}
}

View File

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

View File

@ -1,667 +0,0 @@
namespace DrugManagement.UI
{
partial class frmMedicalItem
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMedicalItem));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.btnFind = new System.Windows.Forms.Button();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.txtInput = new System.Windows.Forms.TextBox();
this.panel4 = new System.Windows.Forms.Panel();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.panel1 = new System.Windows.Forms.Panel();
this.dgvMedicalItem = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DrugKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StandColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BarCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalDictNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PharmaCologyNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MedicalItemAliasColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InsuranceKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InsuranceKindNHColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AntibioticsColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsSkintestColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageUnitColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PackingUnitColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SplitUnitColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.QuotietyColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel2 = new System.Windows.Forms.Panel();
this.treeView1 = new System.Windows.Forms.TreeView();
this.panel3 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.dgvMedicamentPrice = new System.Windows.Forms.DataGridView();
this.IdColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NoColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DrugManufacturerNameColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PurchasePriceColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TradePriceColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RetailPriceColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValidColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnDeletePrice = new System.Windows.Forms.Button();
this.btnAddPrice = new System.Windows.Forms.Button();
this.panel7 = new System.Windows.Forms.Panel();
this.toolStrip1.SuspendLayout();
this.panel4.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalItem)).BeginInit();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicamentPrice)).BeginInit();
this.panel7.SuspendLayout();
this.SuspendLayout();
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._申请修改;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._手术申请;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// btnFind
//
this.btnFind.Location = new System.Drawing.Point(6, 51);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(85, 24);
this.btnFind.TabIndex = 3;
this.btnFind.Text = "查询";
this.btnFind.UseVisualStyleBackColor = true;
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(812, 49);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// txtInput
//
this.txtInput.Location = new System.Drawing.Point(97, 54);
this.txtInput.Name = "txtInput";
this.txtInput.Size = new System.Drawing.Size(100, 21);
this.txtInput.TabIndex = 4;
//
// panel4
//
this.panel4.Controls.Add(this.chkIsValid);
this.panel4.Controls.Add(this.btnFind);
this.panel4.Controls.Add(this.txtInput);
this.panel4.Controls.Add(this.panel1);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(174, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(812, 78);
this.panel4.TabIndex = 6;
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Checked = true;
this.chkIsValid.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkIsValid.Font = new System.Drawing.Font("宋体", 10.5F);
this.chkIsValid.Location = new System.Drawing.Point(244, 55);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 36;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// panel1
//
this.panel1.Controls.Add(this.toolStrip1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(812, 49);
this.panel1.TabIndex = 5;
//
// dgvMedicalItem
//
this.dgvMedicalItem.AllowUserToAddRows = false;
this.dgvMedicalItem.BackgroundColor = System.Drawing.Color.White;
this.dgvMedicalItem.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMedicalItem.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NoColumn,
this.NameColumn,
this.DrugKindColumn,
this.StandColumn,
this.DosageKindColumn,
this.BarCodeColumn,
this.MedicalDictNoColumn,
this.PharmaCologyNameColumn,
this.HelpCodeColumn,
this.MedicalItemAliasColumn,
this.InsuranceKindColumn,
this.InsuranceKindNHColumn,
this.AntibioticsColumn,
this.IsSkintestColumn,
this.DosageColumn,
this.DosageUnitColumn,
this.PackingUnitColumn,
this.SplitUnitColumn,
this.QuotietyColumn,
this.IsValidColumn,
this.RemarkColumn});
this.dgvMedicalItem.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMedicalItem.Location = new System.Drawing.Point(0, 0);
this.dgvMedicalItem.Name = "dgvMedicalItem";
this.dgvMedicalItem.RowHeadersVisible = false;
this.dgvMedicalItem.RowTemplate.Height = 23;
this.dgvMedicalItem.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvMedicalItem.Size = new System.Drawing.Size(812, 292);
this.dgvMedicalItem.TabIndex = 2;
this.dgvMedicalItem.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvMedicalItem_CellMouseClick);
this.dgvMedicalItem.CurrentCellChanged += new System.EventHandler(this.dgvMedicalItem_CurrentCellChanged);
this.dgvMedicalItem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvMedicalItem_KeyDown);
this.dgvMedicalItem.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvMedicalItem_KeyPress);
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "Id";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
//
// NoColumn
//
this.NoColumn.DataPropertyName = "No";
this.NoColumn.HeaderText = "编码";
this.NoColumn.Name = "NoColumn";
this.NoColumn.ReadOnly = true;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
this.NameColumn.Width = 200;
//
// DrugKindColumn
//
this.DrugKindColumn.DataPropertyName = "DrugKindName";
this.DrugKindColumn.HeaderText = "药物分类";
this.DrugKindColumn.Name = "DrugKindColumn";
this.DrugKindColumn.ReadOnly = true;
this.DrugKindColumn.Width = 120;
//
// StandColumn
//
this.StandColumn.DataPropertyName = "Stand";
this.StandColumn.HeaderText = "规格";
this.StandColumn.Name = "StandColumn";
this.StandColumn.ReadOnly = true;
this.StandColumn.Width = 75;
//
// DosageKindColumn
//
this.DosageKindColumn.DataPropertyName = "DosageKindName";
this.DosageKindColumn.HeaderText = "药品剂型";
this.DosageKindColumn.Name = "DosageKindColumn";
this.DosageKindColumn.ReadOnly = true;
this.DosageKindColumn.Width = 80;
//
// BarCodeColumn
//
this.BarCodeColumn.DataPropertyName = "BarCode";
this.BarCodeColumn.HeaderText = "条形码";
this.BarCodeColumn.Name = "BarCodeColumn";
this.BarCodeColumn.ReadOnly = true;
this.BarCodeColumn.Visible = false;
//
// MedicalDictNoColumn
//
this.MedicalDictNoColumn.DataPropertyName = "MedicalDictNo";
this.MedicalDictNoColumn.HeaderText = "品种码";
this.MedicalDictNoColumn.Name = "MedicalDictNoColumn";
this.MedicalDictNoColumn.ReadOnly = true;
//
// PharmaCologyNameColumn
//
this.PharmaCologyNameColumn.DataPropertyName = "PharmaCologyName";
this.PharmaCologyNameColumn.HeaderText = "药理分类";
this.PharmaCologyNameColumn.Name = "PharmaCologyNameColumn";
this.PharmaCologyNameColumn.ReadOnly = true;
this.PharmaCologyNameColumn.Width = 80;
//
// HelpCodeColumn
//
this.HelpCodeColumn.DataPropertyName = "HelpCode";
this.HelpCodeColumn.HeaderText = "助记码";
this.HelpCodeColumn.Name = "HelpCodeColumn";
this.HelpCodeColumn.ReadOnly = true;
this.HelpCodeColumn.Visible = false;
//
// MedicalItemAliasColumn
//
this.MedicalItemAliasColumn.DataPropertyName = "MedicalItemAlias";
this.MedicalItemAliasColumn.HeaderText = "别名";
this.MedicalItemAliasColumn.Name = "MedicalItemAliasColumn";
this.MedicalItemAliasColumn.ReadOnly = true;
this.MedicalItemAliasColumn.Visible = false;
//
// InsuranceKindColumn
//
this.InsuranceKindColumn.DataPropertyName = "InsuranceKind";
this.InsuranceKindColumn.HeaderText = "医保类别";
this.InsuranceKindColumn.Name = "InsuranceKindColumn";
this.InsuranceKindColumn.ReadOnly = true;
this.InsuranceKindColumn.Width = 80;
//
// InsuranceKindNHColumn
//
this.InsuranceKindNHColumn.DataPropertyName = "InsuranceKindNH";
this.InsuranceKindNHColumn.HeaderText = "农合类别";
this.InsuranceKindNHColumn.Name = "InsuranceKindNHColumn";
this.InsuranceKindNHColumn.ReadOnly = true;
this.InsuranceKindNHColumn.Width = 80;
//
// AntibioticsColumn
//
this.AntibioticsColumn.DataPropertyName = "Antibiotics";
this.AntibioticsColumn.HeaderText = "是否抗菌素";
this.AntibioticsColumn.Name = "AntibioticsColumn";
this.AntibioticsColumn.Width = 90;
//
// IsSkintestColumn
//
this.IsSkintestColumn.DataPropertyName = "IsSkintest";
this.IsSkintestColumn.HeaderText = "是否皮试";
this.IsSkintestColumn.Name = "IsSkintestColumn";
this.IsSkintestColumn.ReadOnly = true;
this.IsSkintestColumn.Width = 80;
//
// DosageColumn
//
this.DosageColumn.DataPropertyName = "Dosage";
this.DosageColumn.HeaderText = "剂量";
this.DosageColumn.Name = "DosageColumn";
this.DosageColumn.Width = 75;
//
// DosageUnitColumn
//
this.DosageUnitColumn.DataPropertyName = "DosageUnit";
this.DosageUnitColumn.HeaderText = "剂量单位";
this.DosageUnitColumn.Name = "DosageUnitColumn";
this.DosageUnitColumn.ReadOnly = true;
this.DosageUnitColumn.Width = 80;
//
// PackingUnitColumn
//
this.PackingUnitColumn.DataPropertyName = "PackingUnit";
this.PackingUnitColumn.HeaderText = "包装单位";
this.PackingUnitColumn.Name = "PackingUnitColumn";
this.PackingUnitColumn.ReadOnly = true;
this.PackingUnitColumn.Width = 80;
//
// SplitUnitColumn
//
this.SplitUnitColumn.DataPropertyName = "SplitUnit";
this.SplitUnitColumn.HeaderText = "拆分单位";
this.SplitUnitColumn.Name = "SplitUnitColumn";
this.SplitUnitColumn.ReadOnly = true;
this.SplitUnitColumn.Width = 80;
//
// QuotietyColumn
//
this.QuotietyColumn.DataPropertyName = "Quotiety";
this.QuotietyColumn.HeaderText = "转换倍数";
this.QuotietyColumn.Name = "QuotietyColumn";
this.QuotietyColumn.ReadOnly = true;
//
// IsValidColumn
//
this.IsValidColumn.DataPropertyName = "IsValid";
this.IsValidColumn.HeaderText = "有效性";
this.IsValidColumn.Name = "IsValidColumn";
this.IsValidColumn.ReadOnly = true;
this.IsValidColumn.Width = 75;
//
// RemarkColumn
//
this.RemarkColumn.DataPropertyName = "Remark";
this.RemarkColumn.HeaderText = "说明";
this.RemarkColumn.Name = "RemarkColumn";
this.RemarkColumn.ReadOnly = true;
this.RemarkColumn.Width = 260;
//
// panel2
//
this.panel2.Controls.Add(this.treeView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(174, 489);
this.panel2.TabIndex = 4;
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.Font = new System.Drawing.Font("宋体", 10.5F);
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(174, 489);
this.treeView1.TabIndex = 0;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
//
// panel3
//
this.panel3.Controls.Add(this.groupBox1);
this.panel3.Controls.Add(this.btnDeletePrice);
this.panel3.Controls.Add(this.btnAddPrice);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(174, 370);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(812, 119);
this.panel3.TabIndex = 7;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.dgvMedicamentPrice);
this.groupBox1.Location = new System.Drawing.Point(3, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(755, 113);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "价格";
//
// dgvMedicamentPrice
//
this.dgvMedicamentPrice.AllowUserToAddRows = false;
this.dgvMedicamentPrice.BackgroundColor = System.Drawing.Color.White;
this.dgvMedicamentPrice.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMedicamentPrice.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.IdColumn1,
this.NoColumn1,
this.NameColumn1,
this.DrugManufacturerNameColumn1,
this.PurchasePriceColumn1,
this.TradePriceColumn1,
this.RetailPriceColumn1,
this.IsValidColumn1});
this.dgvMedicamentPrice.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMedicamentPrice.Location = new System.Drawing.Point(3, 17);
this.dgvMedicamentPrice.Name = "dgvMedicamentPrice";
this.dgvMedicamentPrice.RowHeadersVisible = false;
this.dgvMedicamentPrice.RowTemplate.Height = 23;
this.dgvMedicamentPrice.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvMedicamentPrice.Size = new System.Drawing.Size(749, 93);
this.dgvMedicamentPrice.TabIndex = 3;
//
// IdColumn1
//
this.IdColumn1.DataPropertyName = "Id";
this.IdColumn1.HeaderText = "Id";
this.IdColumn1.Name = "IdColumn1";
this.IdColumn1.ReadOnly = true;
this.IdColumn1.Visible = false;
//
// NoColumn1
//
this.NoColumn1.DataPropertyName = "No";
this.NoColumn1.HeaderText = "药品编码";
this.NoColumn1.Name = "NoColumn1";
this.NoColumn1.ReadOnly = true;
this.NoColumn1.Visible = false;
//
// NameColumn1
//
this.NameColumn1.DataPropertyName = "Name";
this.NameColumn1.HeaderText = "药品名称";
this.NameColumn1.Name = "NameColumn1";
this.NameColumn1.ReadOnly = true;
this.NameColumn1.Width = 180;
//
// DrugManufacturerNameColumn1
//
this.DrugManufacturerNameColumn1.DataPropertyName = "DrugManufacturerName";
this.DrugManufacturerNameColumn1.HeaderText = "厂家名称";
this.DrugManufacturerNameColumn1.Name = "DrugManufacturerNameColumn1";
this.DrugManufacturerNameColumn1.ReadOnly = true;
this.DrugManufacturerNameColumn1.Width = 180;
//
// PurchasePriceColumn1
//
this.PurchasePriceColumn1.DataPropertyName = "PurchasePrice";
dataGridViewCellStyle1.Format = "N2";
dataGridViewCellStyle1.NullValue = null;
this.PurchasePriceColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.PurchasePriceColumn1.HeaderText = "进货价格";
this.PurchasePriceColumn1.Name = "PurchasePriceColumn1";
this.PurchasePriceColumn1.ReadOnly = true;
this.PurchasePriceColumn1.Width = 90;
//
// TradePriceColumn1
//
this.TradePriceColumn1.DataPropertyName = "TradePrice";
dataGridViewCellStyle2.Format = "N2";
dataGridViewCellStyle2.NullValue = null;
this.TradePriceColumn1.DefaultCellStyle = dataGridViewCellStyle2;
this.TradePriceColumn1.HeaderText = "批发价格";
this.TradePriceColumn1.Name = "TradePriceColumn1";
this.TradePriceColumn1.ReadOnly = true;
this.TradePriceColumn1.Width = 90;
//
// RetailPriceColumn1
//
this.RetailPriceColumn1.DataPropertyName = "RetailPrice";
dataGridViewCellStyle3.Format = "N2";
dataGridViewCellStyle3.NullValue = null;
this.RetailPriceColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.RetailPriceColumn1.HeaderText = "零售价格";
this.RetailPriceColumn1.Name = "RetailPriceColumn1";
this.RetailPriceColumn1.ReadOnly = true;
this.RetailPriceColumn1.Width = 90;
//
// IsValidColumn1
//
this.IsValidColumn1.DataPropertyName = "IsValid";
this.IsValidColumn1.HeaderText = "有效性";
this.IsValidColumn1.Name = "IsValidColumn1";
this.IsValidColumn1.ReadOnly = true;
this.IsValidColumn1.Width = 80;
//
// btnDeletePrice
//
this.btnDeletePrice.Location = new System.Drawing.Point(761, 55);
this.btnDeletePrice.Name = "btnDeletePrice";
this.btnDeletePrice.Size = new System.Drawing.Size(45, 23);
this.btnDeletePrice.TabIndex = 5;
this.btnDeletePrice.Text = "-";
this.btnDeletePrice.UseVisualStyleBackColor = true;
this.btnDeletePrice.Click += new System.EventHandler(this.btnDeletePrice_Click);
//
// btnAddPrice
//
this.btnAddPrice.Location = new System.Drawing.Point(761, 28);
this.btnAddPrice.Name = "btnAddPrice";
this.btnAddPrice.Size = new System.Drawing.Size(45, 23);
this.btnAddPrice.TabIndex = 4;
this.btnAddPrice.Text = "+";
this.btnAddPrice.UseVisualStyleBackColor = true;
this.btnAddPrice.Click += new System.EventHandler(this.btnAddPrice_Click);
//
// panel7
//
this.panel7.Controls.Add(this.dgvMedicalItem);
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel7.Location = new System.Drawing.Point(174, 78);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(812, 292);
this.panel7.TabIndex = 3;
//
// frmMedicalItem
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(986, 489);
this.ControlBox = false;
this.Controls.Add(this.panel7);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel2);
this.Name = "frmMedicalItem";
this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
this.Load += new System.EventHandler(this.frmMedicalItem_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMedicalItem)).EndInit();
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvMedicamentPrice)).EndInit();
this.panel7.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.Button btnFind;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.TextBox txtInput;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.DataGridView dgvMedicalItem;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.DataGridView dgvMedicamentPrice;
private System.Windows.Forms.Button btnDeletePrice;
private System.Windows.Forms.Button btnAddPrice;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DrugKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn StandColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn BarCodeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalDictNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PharmaCologyNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCodeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MedicalItemAliasColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InsuranceKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InsuranceKindNHColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AntibioticsColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsSkintestColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageUnitColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PackingUnitColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SplitUnitColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn QuotietyColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IdColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn NoColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn DrugManufacturerNameColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn PurchasePriceColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn TradePriceColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn RetailPriceColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValidColumn1;
}
}

View File

@ -1,183 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmMedicalItem : Form
{
public AIMSExtension.EditState _state;
public int SelectMedicalItemRowId = 0;
public frmMedicalItem()
{
InitializeComponent();
}
private void frmMedicalItem_Load(object sender, EventArgs e)
{
this.treeView1.BackColor = System.Drawing.Color.Snow;
InitTreeView();
}
private void InitTreeView()
{
treeView1.Nodes.Clear();
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicalItem);
AIMSExtension.PublicMethod.SetDgvAttribute(dgvMedicamentPrice);
_state = AIMSExtension.EditState.BROWSE;
DataTable dt = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
for (int i = 0; i < dt.Rows.Count; i++)
{
TreeNode Node = treeView1.Nodes.Add(dt.Rows[i]["Id"].ToString(), dt.Rows[i]["Name"].ToString());
DataTable dt1 = BDrugKind.GetDataTable(dt.Rows[i]["Id"].ToString());
for (int j = 0; j < dt1.Rows.Count; j++)
{
Node.Nodes.Add(dt1.Rows[j]["Id"].ToString(), dt1.Rows[j]["Name"].ToString());
}
}
}
private void tsbAdd_Click(object sender, EventArgs e)
{
frmMedicalItemDetail frmMedicalItemDetail = new frmMedicalItemDetail();
frmMedicalItemDetail._State = AIMSExtension.EditState.ADD;
TreeNode sNode = treeView1.SelectedNode;
if (sNode != null)
{
DrugKind DrugKindObj = new DrugKind();
frmMedicalItemDetail.DrugKindId =int.Parse(sNode.Name);
}
frmMedicalItemDetail.ShowDialog();
}
private void tsbModify_Click(object sender, EventArgs e)
{
if (dgvMedicalItem.Rows.Count > 0)
{
frmMedicalItemDetail frmMedicalItemDetail = new frmMedicalItemDetail();
frmMedicalItemDetail._State = AIMSExtension.EditState.EDIT;
frmMedicalItemDetail.MedicalItemEditId = int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString());
frmMedicalItemDetail.ShowDialog();
}
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void btnFind_Click(object sender, EventArgs e)
{
int IsValid = 0;
if (chkIsValid.Checked)
{
IsValid = 1;
}
dgvMedicalItem.DataSource = BMedicalItem.GetMedicalItemDrugDataTable(txtInput.Text.Trim(), IsValid);
if (dgvMedicalItem.Rows.Count > 0)
{
dgvMedicalItem.ClearSelection();
dgvMedicalItem.Rows[0].Selected = false;
dgvMedicalItem.Rows[dgvMedicalItem.Rows.Count - 1].Selected = true;
}
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
TreeNode sNode = treeView1.SelectedNode;
if (sNode != null)
{
DrugKind DrugKindObj = new DrugKind();
dgvMedicalItem.DataSource = BMedicalItem.GetMedicalItemByDrugKindId(int.Parse(sNode.Name));
}
}
private void btnAddPrice_Click(object sender, EventArgs e)
{
if (dgvMedicalItem.Rows.Count > 0)
{
frmMedicamentPrice frmMedicamentPrice = new frmMedicamentPrice();
frmMedicamentPrice._state = AIMSExtension.EditState.ADD;
frmMedicamentPrice.FormClosed += new FormClosedEventHandler(frmMedicamentPrice_FormClosed);
if (dgvMedicamentPrice.Rows.Count > 0)
{
frmMedicamentPrice.MedicamentPriceId = int.Parse(dgvMedicamentPrice.CurrentRow.Cells["IdColumn1"].Value.ToString());
}
frmMedicamentPrice.SelectRowMedicalItemObj = BMedicalItem.GetModel(int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString()));
frmMedicamentPrice.ShowDialog();
}
}
void frmMedicamentPrice_FormClosed(object sender, FormClosedEventArgs e)
{
//throw new NotImplementedException();
GetMedicamentPriceData();
}
private void btnDeletePrice_Click(object sender, EventArgs e)
{
if (dgvMedicamentPrice.Rows.Count > 0)
{
frmMedicamentPrice frmMedicamentPrice = new frmMedicamentPrice();
frmMedicamentPrice._state = AIMSExtension.EditState.EDIT;
frmMedicamentPrice.MedicamentPriceId = int.Parse(dgvMedicamentPrice.CurrentRow.Cells["IdColumn1"].Value.ToString());
frmMedicamentPrice.FormClosed += new FormClosedEventHandler(frmMedicamentPrice_FormClosed);
frmMedicamentPrice.ShowDialog();
}
}
private void dgvMedicalItem_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
if (dgvMedicalItem.Rows.Count > 0)
{
GetMedicamentPriceData();
}
}
private void dgvMedicalItem_KeyPress(object sender, KeyPressEventArgs e)
{
if (dgvMedicalItem.CurrentRow != null)
{
GetMedicamentPriceData();
}
}
private void dgvMedicalItem_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == Keys.Enter)
{
if (dgvMedicalItem.Rows.Count > 0)
{
GetMedicamentPriceData();
}
}
}
private void dgvMedicalItem_CurrentCellChanged(object sender, EventArgs e)
{
if (dgvMedicalItem.CurrentRow != null)
{
GetMedicamentPriceData();
}
}
private void GetMedicamentPriceData()
{
if (dgvMedicalItem.Rows.Count > 0)
{
int MedicalItemId = int.Parse(dgvMedicalItem.CurrentRow.Cells["Id"].Value.ToString());
dgvMedicamentPrice.DataSource = BMedicamentPrice.GetDataTable(MedicalItemId);
}
}
}
}

View File

@ -1,820 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="tsbModify.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAD/TSURBVHhe7b0HWFVXuv8/99659/7vzH9mYmLHbtTEqDGm
d9MnmZg6JrEl9thiTbP3joINpImIIAhKlaIi9oa9I0V67wcOne/v/a5zNm4IKCZqTOJ+nvfZZ59zdluf
t661zj5/ur/cX+4v95fbs1jtPTD0x/Dw7Cme26om7DmAcWH7MVZkzO59f2gZLfL17r0YuWsvvt7sUTUm
dHf2jKCQoeZm++0tlgcObBgSHl45ee8hjA8/gDFh+zBCbm5I6B58GRKGQUFhGBi0+w8vA4J3o1/QLiWf
B+40yy68GbSrcmJgkIu5Oe/tZX744eTv9h3GJIFNax6xMxxfhexBvx270DcwFB/7h+BDvxB84BuEPj4i
XP+hJRjvy/p9P3ntF6y22T5KAkLwkciggB3J5ua9t5bZBw6nfLfvCCaGH8JogT00NBz9RZM/DQhVN/LO
9kC84R2A3lv98MpWX7zs6YuXZP1Hlxc9fWTth5fZLl5+6O3tj9elnd6S9nrHZwfeFYV4T+Rf0oaf+fqn
mJv7111W7D9o/cP+I5i897CCPWTnHuW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TupKdhsywevoUjv7vA/+zokOuHLpm6qBt5Tyr9nI
sWjy5TA8NXBgNzO2X768ucLqhzaWa9FGSgLVY7VeYr2UIwTPC6l9cfflNop5SFslbWJs7HVUMdzcAdNM
LJz9AI8P/PIHM67bt7y+bOX81ktXoY3lGrSVurMdYz27Qmn1+gTvTg/B/mFE2lDrEWUPIHvb1jlJ+6+G
BZO2iRLDJWlrMnAIevQbNN+M6fYvby1cPJD9xa2XWqPtinXK5VPz2BNFt1MNX12s/gbuyy0J2469oNKe
JuuWDF0MjXPYOfWJvW1Nh4xE4wGD0f2LgZPMeO7c8vbixU+2WbAMrRZaos0Sa7RZudbUy8RET7RRwa/u
xuUN6OP+falXlLGIELaETQVbyjG2Lfv2+eyZFt+y42U8mnw1HE36DUKv/v2fNGO5O0vneYuLOP+q9fzl
aL14JdqsWKu0UY1oOUiWz5ivFMDLrADmm6rrhv+oUg2agzjSTuz+FsOh9+SoHkf0GLs5x635N2Ldw0zu
vFW/fkVmDHd/eWnmbGuLGfMlxiyEhdSKyvrp+mn9zPYlBin3zw4eR/PQqBomFRFN/kOLagcOEwtkVkQ2
zsqqOVhDI6Jlc6oTJ0E0Vdn5cDVo0/Wz/tbm5v91l8emTUtt+eNsFW9azpyvOgs44a/1EvEAoq28kbYr
bUyDDvflukgW3pZVkSTInJ9Oz8nZsS2+myaWbYYtrpyjc+2/6J9qbu57a+k68cdkxp0W301HC9FS9gXT
E3CuFjWXymASec33/shC7zhzgUCeh5ZTZ5tAT/gOzUZPMGXlUncr2J8OaPjw6K+5PDVxskurLwZVNh//
rboRlhfsJqwW2eb7f3j5ZoppgGTUNybQtGqJ2c1ef7uy6xf9XczN+dtbnhk1ZmjHr8dktxg5pqrpsFFq
EkGTwSPkBimShf4hxXzvYs3sWGk+cHBV2/4Ds3t8MWCoudnuL/eX27X86U//D9m1cYy6s+NFAAAAAElF
TkSuQmCC
</value>
</data>
<data name="tsbExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-micros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BMSBOGMBVJWoMg3IUapQqtZ2tGRsrJk7D31g4
Oj1uPniIi9RtqqhSXvKPf/wfwZd2DUVLuS4AAAAASUVORK5CYII=
</value>
</data>
<data name="tsbAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAC3ESURBVHhe7Z11fFTX3u7fP+57zz165T11igSoUaPwtj3n
tKe0hUKhlCotENxdWrRAgABBAgkuCYS4G05xLRok7iQZi3sI+tznt2ZPMoEpBYokJPvzeT5rz8yevWev
7/rJkpn5j4atYWvYGrb7s7kcODxgyv79+T8Eht4Yu+8wRu09hJHUiD0H67WGU0P3HMCQ3Qcw1Cfgxohd
e/Knb985QKu2urc5Hz68sf/+/dcnHDiKMfsPY8TegxjMm+u/ax/67NyL3tv3wn77nnqvXjv2oMf23Urf
bf1Z02603777+rit2z216qzdm+P+Y/qJB49hPGGLNQ/+eT/67tyHHtt249utu/Dl5p3oFrkTn0dsR9dw
Ssp6rR34jOVnkdyP3KEeS/0obdmJL6jeW7bpteqtXZvD4WOGiQd/wbj9RzGcsAfs2o+ebMlfb9mlbqRj
2FZ8HLIF7YIi8e+gCLwfGIH3WNZ3/SswnGUk3pd6CY5Eu5DN+Ij11IH11TF8Gz5lg+hMdWEddo/YbNCq
+9FuSw4dcZ186BdMOHBMwe7/8z7lnrqx1XYM3Yp2vJF3A8LRxi8Ub/qE4DXvILSiXvEOxCteLOu7VH0E
41XvELzuE4rW/mF4m/X1LhvE+8Gb2Qi24iM2gA5h2/CJpoGh4a5a9T/8bcL+/eU/EvgoJmcD6ca/owv/
jC1SLPqfbMFvEfRrPsF42SsQLTcFovkmfzTz8IOdB0vZVwqo97KjmnsGooVnEF6QhuDLRuAbgjf9Q9FG
NYDNeI8e4APxlGJILD/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Su
QmCC
</value>
</data>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DrugKindColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="StandColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DosageKindColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BarCodeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MedicalDictNoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PharmaCologyNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="HelpCodeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MedicalItemAliasColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InsuranceKindColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InsuranceKindNHColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="AntibioticsColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsSkintestColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DosageColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DosageUnitColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PackingUnitColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SplitUnitColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="QuotietyColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsValidColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IdColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NoColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NameColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DrugManufacturerNameColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PurchasePriceColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TradePriceColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RetailPriceColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsValidColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -1,677 +0,0 @@
namespace DrugManagement.UI
{
partial class frmMedicalItemDetail
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMedicalItemDetail));
this.panel1 = new System.Windows.Forms.Panel();
this.cboAntibiotics = new System.Windows.Forms.ComboBox();
this.label21 = new System.Windows.Forms.Label();
this.chkIsSkintest = new System.Windows.Forms.CheckBox();
this.btnFind = new System.Windows.Forms.Button();
this.txtMedicalItemAlias = new System.Windows.Forms.TextBox();
this.label17 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.txtRemark = new System.Windows.Forms.TextBox();
this.label19 = new System.Windows.Forms.Label();
this.cboPharmaCology = new System.Windows.Forms.ComboBox();
this.label18 = new System.Windows.Forms.Label();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.panel2 = new System.Windows.Forms.Panel();
this.txtDosage = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.cboDosageUnit = new System.Windows.Forms.ComboBox();
this.label11 = new System.Windows.Forms.Label();
this.cboPackingUnit = new System.Windows.Forms.ComboBox();
this.label10 = new System.Windows.Forms.Label();
this.cboSplitUnit = new System.Windows.Forms.ComboBox();
this.txtQuotiety = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.cboDosageKind = new System.Windows.Forms.ComboBox();
this.label16 = new System.Windows.Forms.Label();
this.cboInsuranceKindNH = new System.Windows.Forms.ComboBox();
this.label14 = new System.Windows.Forms.Label();
this.cboInsuranceKind = new System.Windows.Forms.ComboBox();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.txtMedicalDictNo = new System.Windows.Forms.TextBox();
this.txtHelpCode = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.cboDrugKind = new System.Windows.Forms.ComboBox();
this.label8 = new System.Windows.Forms.Label();
this.txtBarCode = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.cboDrugKindTotal = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.txtStand = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtNo = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.cboAntibiotics);
this.panel1.Controls.Add(this.label21);
this.panel1.Controls.Add(this.chkIsSkintest);
this.panel1.Controls.Add(this.btnFind);
this.panel1.Controls.Add(this.txtMedicalItemAlias);
this.panel1.Controls.Add(this.label17);
this.panel1.Controls.Add(this.label20);
this.panel1.Controls.Add(this.txtRemark);
this.panel1.Controls.Add(this.label19);
this.panel1.Controls.Add(this.cboPharmaCology);
this.panel1.Controls.Add(this.label18);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.panel2);
this.panel1.Controls.Add(this.cboDosageKind);
this.panel1.Controls.Add(this.label16);
this.panel1.Controls.Add(this.cboInsuranceKindNH);
this.panel1.Controls.Add(this.label14);
this.panel1.Controls.Add(this.cboInsuranceKind);
this.panel1.Controls.Add(this.label15);
this.panel1.Controls.Add(this.label13);
this.panel1.Controls.Add(this.txtMedicalDictNo);
this.panel1.Controls.Add(this.txtHelpCode);
this.panel1.Controls.Add(this.label9);
this.panel1.Controls.Add(this.cboDrugKind);
this.panel1.Controls.Add(this.label8);
this.panel1.Controls.Add(this.txtBarCode);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.cboDrugKindTotal);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.txtStand);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.txtNo);
this.panel1.Controls.Add(this.label1);
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel1.Location = new System.Drawing.Point(2, 48);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(947, 191);
this.panel1.TabIndex = 0;
//
// cboAntibiotics
//
this.cboAntibiotics.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboAntibiotics.FormattingEnabled = true;
this.cboAntibiotics.Items.AddRange(new object[] {
"非抗菌素",
"抗菌素"});
this.cboAntibiotics.Location = new System.Drawing.Point(644, 102);
this.cboAntibiotics.Name = "cboAntibiotics";
this.cboAntibiotics.Size = new System.Drawing.Size(89, 22);
this.cboAntibiotics.TabIndex = 15;
//
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(568, 108);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(77, 14);
this.label21.TabIndex = 48;
this.label21.Text = "是否抗菌素";
//
// chkIsSkintest
//
this.chkIsSkintest.AutoSize = true;
this.chkIsSkintest.Location = new System.Drawing.Point(741, 106);
this.chkIsSkintest.Name = "chkIsSkintest";
this.chkIsSkintest.Size = new System.Drawing.Size(82, 18);
this.chkIsSkintest.TabIndex = 47;
this.chkIsSkintest.Text = "是否皮试";
this.chkIsSkintest.UseVisualStyleBackColor = true;
//
// btnFind
//
this.btnFind.Location = new System.Drawing.Point(530, 9);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(24, 23);
this.btnFind.TabIndex = 43;
this.btnFind.Text = "..";
this.btnFind.UseVisualStyleBackColor = true;
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
//
// txtMedicalItemAlias
//
this.txtMedicalItemAlias.Location = new System.Drawing.Point(64, 38);
this.txtMedicalItemAlias.Name = "txtMedicalItemAlias";
this.txtMedicalItemAlias.Size = new System.Drawing.Size(318, 23);
this.txtMedicalItemAlias.TabIndex = 5;
//
// label17
//
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(1, 47);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(63, 14);
this.label17.TabIndex = 41;
this.label17.Text = "药品别名";
//
// label20
//
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(-3, 127);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(938, 14);
this.label20.TabIndex = 40;
this.label20.Text = "---------------------------------------------------------------------------------" +
"----------------------------------------------------";
//
// txtRemark
//
this.txtRemark.Location = new System.Drawing.Point(64, 101);
this.txtRemark.Name = "txtRemark";
this.txtRemark.Size = new System.Drawing.Size(504, 23);
this.txtRemark.TabIndex = 14;
//
// label19
//
this.label19.AutoSize = true;
this.label19.Location = new System.Drawing.Point(23, 110);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(35, 14);
this.label19.TabIndex = 38;
this.label19.Text = "说明";
//
// cboPharmaCology
//
this.cboPharmaCology.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboPharmaCology.FormattingEnabled = true;
this.cboPharmaCology.Location = new System.Drawing.Point(450, 67);
this.cboPharmaCology.Name = "cboPharmaCology";
this.cboPharmaCology.Size = new System.Drawing.Size(118, 22);
this.cboPharmaCology.TabIndex = 11;
//
// label18
//
this.label18.AutoSize = true;
this.label18.Location = new System.Drawing.Point(385, 75);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(63, 14);
this.label18.TabIndex = 36;
this.label18.Text = "药理分类";
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(850, 106);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 35;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// panel2
//
this.panel2.Controls.Add(this.txtDosage);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.label7);
this.panel2.Controls.Add(this.cboDosageUnit);
this.panel2.Controls.Add(this.label11);
this.panel2.Controls.Add(this.cboPackingUnit);
this.panel2.Controls.Add(this.label10);
this.panel2.Controls.Add(this.cboSplitUnit);
this.panel2.Controls.Add(this.txtQuotiety);
this.panel2.Controls.Add(this.label12);
this.panel2.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel2.Location = new System.Drawing.Point(3, 142);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(932, 38);
this.panel2.TabIndex = 34;
//
// txtDosage
//
this.txtDosage.Location = new System.Drawing.Point(71, 5);
this.txtDosage.Name = "txtDosage";
this.txtDosage.Size = new System.Drawing.Size(118, 23);
this.txtDosage.TabIndex = 16;
this.txtDosage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDosage_KeyPress);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(7, 11);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(63, 14);
this.label6.TabIndex = 10;
this.label6.Text = "最小剂量";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(197, 11);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(63, 14);
this.label7.TabIndex = 12;
this.label7.Text = "剂量单位";
//
// cboDosageUnit
//
this.cboDosageUnit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDosageUnit.FormattingEnabled = true;
this.cboDosageUnit.Location = new System.Drawing.Point(261, 5);
this.cboDosageUnit.Name = "cboDosageUnit";
this.cboDosageUnit.Size = new System.Drawing.Size(118, 22);
this.cboDosageUnit.TabIndex = 17;
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(387, 11);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(63, 14);
this.label11.TabIndex = 18;
this.label11.Text = "包装单位";
//
// cboPackingUnit
//
this.cboPackingUnit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboPackingUnit.FormattingEnabled = true;
this.cboPackingUnit.Location = new System.Drawing.Point(451, 3);
this.cboPackingUnit.Name = "cboPackingUnit";
this.cboPackingUnit.Size = new System.Drawing.Size(118, 22);
this.cboPackingUnit.TabIndex = 18;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(575, 11);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(63, 14);
this.label10.TabIndex = 20;
this.label10.Text = "拆分单位";
//
// cboSplitUnit
//
this.cboSplitUnit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboSplitUnit.FormattingEnabled = true;
this.cboSplitUnit.Location = new System.Drawing.Point(643, 3);
this.cboSplitUnit.Name = "cboSplitUnit";
this.cboSplitUnit.Size = new System.Drawing.Size(118, 22);
this.cboSplitUnit.TabIndex = 19;
this.cboSplitUnit.SelectedIndexChanged += new System.EventHandler(this.cboSplitUnit_SelectedIndexChanged);
//
// txtQuotiety
//
this.txtQuotiety.Location = new System.Drawing.Point(833, 3);
this.txtQuotiety.Name = "txtQuotiety";
this.txtQuotiety.Size = new System.Drawing.Size(83, 23);
this.txtQuotiety.TabIndex = 20;
this.txtQuotiety.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQuotiety_KeyPress);
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(770, 8);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(63, 14);
this.label12.TabIndex = 23;
this.label12.Text = "转换倍数";
//
// cboDosageKind
//
this.cboDosageKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDosageKind.FormattingEnabled = true;
this.cboDosageKind.Location = new System.Drawing.Point(614, 10);
this.cboDosageKind.Name = "cboDosageKind";
this.cboDosageKind.Size = new System.Drawing.Size(118, 22);
this.cboDosageKind.TabIndex = 3;
//
// label16
//
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(578, 18);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(35, 14);
this.label16.TabIndex = 30;
this.label16.Text = "剂型";
//
// cboInsuranceKindNH
//
this.cboInsuranceKindNH.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboInsuranceKindNH.FormattingEnabled = true;
this.cboInsuranceKindNH.Location = new System.Drawing.Point(802, 67);
this.cboInsuranceKindNH.Name = "cboInsuranceKindNH";
this.cboInsuranceKindNH.Size = new System.Drawing.Size(89, 22);
this.cboInsuranceKindNH.TabIndex = 13;
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(738, 75);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(63, 14);
this.label14.TabIndex = 28;
this.label14.Text = "农合类别";
//
// cboInsuranceKind
//
this.cboInsuranceKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboInsuranceKind.FormattingEnabled = true;
this.cboInsuranceKind.Location = new System.Drawing.Point(643, 67);
this.cboInsuranceKind.Name = "cboInsuranceKind";
this.cboInsuranceKind.Size = new System.Drawing.Size(89, 22);
this.cboInsuranceKind.TabIndex = 12;
//
// label15
//
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(578, 75);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(63, 14);
this.label15.TabIndex = 26;
this.label15.Text = "医保类别";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(750, 47);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(49, 14);
this.label13.TabIndex = 25;
this.label13.Text = "品种码";
//
// txtMedicalDictNo
//
this.txtMedicalDictNo.Enabled = false;
this.txtMedicalDictNo.Location = new System.Drawing.Point(800, 38);
this.txtMedicalDictNo.Name = "txtMedicalDictNo";
this.txtMedicalDictNo.Size = new System.Drawing.Size(118, 23);
this.txtMedicalDictNo.TabIndex = 8;
//
// txtHelpCode
//
this.txtHelpCode.Location = new System.Drawing.Point(450, 38);
this.txtHelpCode.Name = "txtHelpCode";
this.txtHelpCode.Size = new System.Drawing.Size(118, 23);
this.txtHelpCode.TabIndex = 6;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(567, 47);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(49, 14);
this.label9.TabIndex = 16;
this.label9.Text = "条形码";
//
// cboDrugKind
//
this.cboDrugKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDrugKind.FormattingEnabled = true;
this.cboDrugKind.Location = new System.Drawing.Point(250, 67);
this.cboDrugKind.Name = "cboDrugKind";
this.cboDrugKind.Size = new System.Drawing.Size(133, 22);
this.cboDrugKind.TabIndex = 10;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(187, 75);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(63, 14);
this.label8.TabIndex = 14;
this.label8.Text = "药物分类";
//
// txtBarCode
//
this.txtBarCode.Location = new System.Drawing.Point(619, 38);
this.txtBarCode.Name = "txtBarCode";
this.txtBarCode.Size = new System.Drawing.Size(113, 23);
this.txtBarCode.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(395, 47);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(49, 14);
this.label5.TabIndex = 8;
this.label5.Text = "拼音码";
//
// cboDrugKindTotal
//
this.cboDrugKindTotal.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDrugKindTotal.FormattingEnabled = true;
this.cboDrugKindTotal.Location = new System.Drawing.Point(65, 67);
this.cboDrugKindTotal.Name = "cboDrugKindTotal";
this.cboDrugKindTotal.Size = new System.Drawing.Size(118, 22);
this.cboDrugKindTotal.TabIndex = 9;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(4, 75);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(63, 14);
this.label4.TabIndex = 6;
this.label4.Text = "药品大类";
//
// txtStand
//
this.txtStand.Location = new System.Drawing.Point(800, 9);
this.txtStand.Name = "txtStand";
this.txtStand.Size = new System.Drawing.Size(118, 23);
this.txtStand.TabIndex = 4;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(759, 18);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(35, 14);
this.label3.TabIndex = 4;
this.label3.Text = "规格";
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(265, 9);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(261, 23);
this.txtName.TabIndex = 2;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(201, 18);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(63, 14);
this.label2.TabIndex = 2;
this.label2.Text = "药品名称";
//
// txtNo
//
this.txtNo.Enabled = false;
this.txtNo.Location = new System.Drawing.Point(65, 9);
this.txtNo.Name = "txtNo";
this.txtNo.Size = new System.Drawing.Size(118, 23);
this.txtNo.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(4, 18);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 14);
this.label1.TabIndex = 0;
this.label1.Text = "药品编码";
//
// toolStrip1
//
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbSava,
this.toolStripSeparator3,
this.tsbCancel,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(949, 49);
this.toolStrip1.TabIndex = 6;
this.toolStrip1.Text = "toolStrip1";
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// frmMedicalItemDetail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(949, 246);
this.ControlBox = false;
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.panel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmMedicalItemDetail";
this.Load += new System.EventHandler(this.frmMedicalItemDetail_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox txtStand;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtNo;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboDosageUnit;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox txtDosage;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtBarCode;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox cboDrugKindTotal;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cboSplitUnit;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.ComboBox cboPackingUnit;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtHelpCode;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ComboBox cboDrugKind;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtQuotiety;
private System.Windows.Forms.ComboBox cboInsuranceKindNH;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.ComboBox cboInsuranceKind;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtMedicalDictNo;
private System.Windows.Forms.ComboBox cboDosageKind;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.ComboBox cboPharmaCology;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.TextBox txtRemark;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.TextBox txtMedicalItemAlias;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Button btnFind;
private System.Windows.Forms.CheckBox chkIsSkintest;
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.ComboBox cboAntibiotics;
private System.Windows.Forms.Label label21;
}
}

View File

@ -1,348 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using AIMSBLL;
using AIMSModel;
namespace DrugManagement.UI
{
public partial class frmMedicalItemDetail : Form
{
public int DrugKindId = 0;
private frmMedicalDictList frmMedicalDictList;
private MedicalDict MedicalDictObj = new MedicalDict();
public AIMSExtension.EditState _State;
public int MedicalItemEditId = 0;
public frmMedicalItemDetail()
{
InitializeComponent();
}
private void frmMedicalItemDetail_Load(object sender, EventArgs e)
{
int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width) / 2;
int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) / 2 - 150;
this.StartPosition = FormStartPosition.Manual;
this.Location = (Point)new Size(x, y);
AIMSExtension.PublicMethod.ClearControl(panel1);
Init();
if (DrugKindId != 0)
{
DrugKind DrugKindObj = BDrugKind.GetModel(DrugKindId);
cboDrugKind.Text = DrugKindObj.Name;
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId.Value).Name;
}
chkIsValid.Checked = true;
txtName.Select();
txtName.Focus();
cboPharmaCology.Text = "普通";
cboAntibiotics.Text = "非抗菌素";
if (_State == AIMSExtension.EditState.EDIT)
{
MedicalItem MedicalItemObj = new MedicalItem();
MedicalItemObj = BMedicalItem.GetModel(MedicalItemEditId);
txtNo.Text = MedicalItemObj.No;
txtName.Text = MedicalItemObj.Name;
txtHelpCode.Text = MedicalItemObj.HelpCode;
txtMedicalItemAlias.Text = MedicalItemObj.MedicalItemAlias;
txtMedicalItemAlias.Text = MedicalItemObj.MedicalItemAliasHelpCode = AIMSExtension.PublicMethod.GetFirstLetter(txtMedicalItemAlias.Text.Trim());
cboDosageKind.SelectedValue = MedicalItemObj.DosageKindId;
txtStand.Text = MedicalItemObj.Stand;
txtBarCode.Text = MedicalItemObj.BarCode;
txtMedicalDictNo.Text = MedicalItemObj.MedicalDictNo;
cboDrugKindTotal.SelectedValue = BDrugKind.GetModel(MedicalItemObj.DrugKindId.Value).MedicalItemKindId;
cboDrugKind.SelectedValue = MedicalItemObj.DrugKindId;
cboPharmaCology.SelectedValue = MedicalItemObj.PharmaCologyId;
cboInsuranceKind.Text = MedicalItemObj.InsuranceKind;
cboInsuranceKindNH.Text = MedicalItemObj.InsuranceKindNH;
txtRemark.Text = MedicalItemObj.Remark;
cboAntibiotics.Text = MedicalItemObj.Antibiotics;
if (MedicalItemObj.IsSkintest == 1)
{
chkIsSkintest.Checked = true;
}
else
{
chkIsSkintest.Checked = false;
}
if (MedicalItemObj.IsValid == 1)
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
txtDosage.Text = MedicalItemObj.Dosage.ToString();
cboDosageUnit.Text = MedicalItemObj.DosageUnit;
cboPackingUnit.Text = MedicalItemObj.PackingUnit;
cboSplitUnit.Text = MedicalItemObj.SplitUnit;
txtQuotiety.Text = MedicalItemObj.Quotiety.ToString();
}
}
private void Init()
{
cboDosageKind.DataSource = BDosageKind.GetDataTable();
cboDosageKind.DisplayMember = "Name";
cboDosageKind.ValueMember = "Id";
cboDosageKind.SelectedIndex = -1;
cboDrugKind.DataSource = BDrugKind.GetDataTable();
cboDrugKind.DisplayMember = "Name";
cboDrugKind.ValueMember = "Id";
cboDrugKind.SelectedIndex = -1;
cboDrugKindTotal.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BMedicalItemKind.GetDataTable(), "IsMed='药品'", "");
cboDrugKindTotal.DisplayMember = "Name";
cboDrugKindTotal.ValueMember = "Id";
cboDrugKindTotal.SelectedIndex = -1;
cboInsuranceKind.DisplayMember = "Name";
cboInsuranceKind.ValueMember = "Id";
cboInsuranceKind.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
cboInsuranceKind.SelectedIndex = -1;
cboInsuranceKindNH.DisplayMember = "Name";
cboInsuranceKindNH.ValueMember = "Id";
cboInsuranceKindNH.DataSource = BBasicDictionary.GetDataDictionaryDataTable(" ParentId IN (SELECT Id FROM BasicDictionary WHERE NAME='医保用药类别')");
cboInsuranceKindNH.SelectedIndex = -1;
cboDosageUnit.DataSource = BDosageUnit.GetDataTable(1);
cboDosageUnit.DisplayMember = "Name";
cboDosageUnit.ValueMember = "Id";
cboDosageUnit.SelectedIndex = -1;
cboPharmaCology.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(BPharmaCology.GetDataTable(), "IsValid='有效'", "");
cboPharmaCology.DisplayMember = "Name";
cboPharmaCology.ValueMember = "Id";
cboPharmaCology.SelectedIndex = -1;
cboDosageUnit.DataSource = BDosageUnit.GetDataTable(1);
cboDosageUnit.DisplayMember = "Name";
cboDosageUnit.ValueMember = "Id";
cboDosageUnit.SelectedIndex = -1;
cboPackingUnit.DataSource = BDosageUnit.GetDataTable(2);
cboPackingUnit.DisplayMember = "Name";
cboPackingUnit.ValueMember = "Id";
cboPackingUnit.SelectedIndex = -1;
cboSplitUnit.DataSource = BDosageUnit.GetDataTable(2);
cboSplitUnit.DisplayMember = "Name";
cboSplitUnit.ValueMember = "Id";
cboSplitUnit.SelectedIndex = -1;
}
private void btnFind_Click(object sender, EventArgs e)
{
frmMedicalDictList = new frmMedicalDictList();
frmMedicalDictList.HelpCode = txtName.Text.Trim();
frmMedicalDictList.FormClosed += new FormClosedEventHandler(frmMedicalDictList_FormClosed);
if (AIMSExtension.PublicMethod.GetNewDataTable(BMedicalDict.GetDataTableByName(txtName.Text.Trim()), "IsValid='有效'", "").Rows.Count > 0)
{
frmMedicalDictList.ShowDialog();
}
}
void frmMedicalDictList_FormClosed(object sender, FormClosedEventArgs e)
{
MedicalDictObj = BMedicalDict.GetModel(frmMedicalDictList.MedicalDictId);
int RowsCount =BMedicalItem.GetMedicalItemByDictNo(MedicalDictObj.No);
if (RowsCount == 0)
{
txtNo.Text = MedicalDictObj.No;
}
else
{
RowsCount =RowsCount - 1;
txtNo.Text = MedicalDictObj.No + (RowsCount + 1);
}
txtName.Text = MedicalDictObj.Name;
cboDosageKind.Text = BDosageKind.GetModel(MedicalDictObj.DosageKindId.Value).Name;
txtMedicalDictNo.Text = MedicalDictObj.No;
cboDrugKind.Text = BDrugKind.GetModel(MedicalDictObj.DrugKindId.Value).Name;
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(BDrugKind.GetModel(MedicalDictObj.DrugKindId.Value).MedicalItemKindId.Value).Name;
chkIsValid.Checked = true;
txtStand.Select();
txtStand.Focus();
}
private void tsbCancel_Click(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.ClearControl(panel1);
if (DrugKindId != 0)
{
DrugKind DrugKindObj = BDrugKind.GetModel(DrugKindId);
cboDrugKind.Text = DrugKindObj.Name;
cboDrugKindTotal.Text = BMedicalItemKind.GetModel(DrugKindObj.MedicalItemKindId.Value).Name;
}
chkIsValid.Checked = true;
txtName.Select();
txtName.Focus();
cboPharmaCology.Text = "普通";
cboAntibiotics.Text = "非抗菌素";
}
private void tsbSava_Click(object sender, EventArgs e)
{
if (ValidInput())
{
MedicalItem MedicalItemObj = new MedicalItem();
MedicalItemObj.No = txtNo.Text.Trim();
MedicalItemObj.Name = txtName.Text.Trim();
MedicalItemObj.HelpCode = txtHelpCode.Text.Trim();
MedicalItemObj.MedicalItemAlias = txtMedicalItemAlias.Text.Trim();
MedicalItemObj.MedicalItemAliasHelpCode = AIMSExtension.PublicMethod.GetFirstLetter(txtMedicalItemAlias.Text.Trim());
MedicalItemObj.DosageKindId = int.Parse(cboDosageKind.SelectedValue.ToString());
MedicalItemObj.Stand = txtStand.Text.Trim();
MedicalItemObj.BarCode = txtBarCode.Text.Trim();
MedicalItemObj.MedicalDictNo = txtMedicalDictNo.Text.Trim();
MedicalItemObj.DrugKindId = int.Parse(cboDrugKind.SelectedValue.ToString());
MedicalItemObj.PharmaCologyId = int.Parse(cboPharmaCology.SelectedValue.ToString());
MedicalItemObj.InsuranceKind = cboInsuranceKind.Text.Trim();
MedicalItemObj.InsuranceKindNH = cboInsuranceKindNH.Text.Trim();
MedicalItemObj.Remark = txtRemark.Text.Trim();
MedicalItemObj.Antibiotics = cboAntibiotics.Text.Trim();
MedicalItemObj.IsSkintest = chkIsSkintest.Checked ? 1 : 0;
MedicalItemObj.IsValid = chkIsValid.Checked ? 1 : 0;
MedicalItemObj.Dosage = decimal.Parse(txtDosage.Text.Trim());
MedicalItemObj.DosageUnit = cboDosageUnit.Text.Trim();
MedicalItemObj.PackingUnit = cboPackingUnit.Text.Trim();
MedicalItemObj.SplitUnit = cboSplitUnit.Text.Trim();
MedicalItemObj.Quotiety = int.Parse(txtQuotiety.Text.Trim());
MedicalItemObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
MedicalItemObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
MedicalItemObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_State == AIMSExtension.EditState.ADD)
{
BMedicalItem.Add(MedicalItemObj);
}
if (_State == AIMSExtension.EditState.EDIT)
{
MedicalItemObj.Id = MedicalItemEditId;
BMedicalItem.Update(MedicalItemObj);
}
tsbCancel_Click(null, null);
}
}
private bool ValidInput()
{
bool result = false;
if (txtNo.Text.Trim().Length < 1)
{
MessageBox.Show("编码不能为空!");
}
else if (this.txtName.Text.Trim().Length < 1)
{
MessageBox.Show("名称不能为空!");
}
else if (cboDosageKind.Text.Trim().Length < 1)
{
MessageBox.Show("剂型不能为空!");
}
else if (txtStand.Text.Trim().Length < 1)
{
MessageBox.Show("规格不能为空!");
}
else if (cboDrugKindTotal.Text.Trim().Length < 1)
{
MessageBox.Show("药品大类不能为空!");
}
else if (cboDrugKind.Text.Trim().Length < 1)
{
MessageBox.Show("药物分类不能为空!");
}
else if (cboPharmaCology.Text.Trim().Length < 1)
{
MessageBox.Show("药理不能为空!");
}
else if (cboAntibiotics.Text.Trim().Length < 1)
{
MessageBox.Show("是否抗菌素不能为空!");
}
else if (txtDosage.Text.Trim().Length < 1)
{
MessageBox.Show("最小剂量不能为空!");
}
else if (cboDosageUnit.Text.Trim().Length < 1)
{
MessageBox.Show("剂量单位不能为空!");
}
else if (cboPackingUnit.Text.Trim().Length < 1)
{
MessageBox.Show("包装单位不能为空!");
}
else if (cboSplitUnit.Text.Trim().Length < 1)
{
MessageBox.Show("拆分单位不能为空!");
}
else if (txtQuotiety.Text.Trim().Length < 1)
{
MessageBox.Show("转换倍数不能为空!");
}
else
{
result = true;
}
return result;
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void txtName_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
btnFind_Click(null, null);
}
}
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHelpCode.Text = AIMSExtension.PublicMethod.GetFirstLetter(txtName.Text.Trim());
}
private void cboSplitUnit_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void txtDosage_KeyPress(object sender, KeyPressEventArgs e)
{
AIMSExtension.PublicMethod.KeyPressByIsMatch(e, txtDosage);
}
private void txtQuotiety_KeyPress(object sender, KeyPressEventArgs e)
{
AIMSExtension.PublicMethod.KeyPressByIsMatch(e, txtQuotiety);
}
}
}

View File

@ -1,514 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="tsbSava.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB8ESURBVHhe7Z2HfxTV2sf9C66ChJpeSAOkeL36WlC86vte
C1cRMCG0JLRQA4QOQRJIgAAhtEB67430ntD16hWQrqgIhKKgqGCF3/s8Z2Y2k2Q3ySaB7CZ7Pp/nM9kn
u7Mz53ue5/zOmTOzj5mKqZiKqXRM2VZz0HNZdfWtRQkpD+ZXHcScygOYTeZTUdutbRbZjIoaTC+vwYzo
+Ac+pRW3VhWVeMrVZnwl5ODB6AnV1fcX1hzGvOqD8KmsxTQ6uamlVZhUUomJRZXwKKro9jahuAJuReXC
xheUyVaOkUXl9xcUFMXJ1WnYJaD6yFW/2iPwJdgczdPKqjG5pApuheUYW1CKd/eXYHReCd7JLcLbOWS8
7dZWjLdo+1Ye/Z1XLF5z/QjLL8G/ySbmF16Vq9ewiv/BI3V+tUexoPowZhFsz9JquFNLHpNfKk7kjewC
vJqZj5fT8/BSei5eTMvFC7Tt7vZ8Wg5t8/Ai10tGHl7O3I9RVE+vUX29kVOI/6MG8S+yN6kOx+Xur5Or
u3PLlgOHQpceOIqFNUcE7KllVSI9ja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ziVSXrMYDGiiL6OfVz9LPapz5IpH+e4ImkcT41BLGAQF5E0K1N1APVRyRB
5hHR7hgR1Xz7MwcRRzYvdeJFEL2FOvdGL4pul3HuoXL1d25xXbHiWv9l/qK/6c9LgagBiKVAwZQBqLXy
iVht3S2WA5lMZaTCrXhURAKZ16dz5hyw8kP081tBkS3DplTey30ybD5wvyZXt2EVlwXLrnK/089vJfpR
K+W5YM4EvFaLWy43Bsnob/Z1Z+PsuDqQIK9D/+X+Euj5fugza76kymncLWCPmdD6y6OdWZ5esDDO/L3x
9/vOWyxOhIcXPE2oMXrN/m5vcxdJF0hmzpVAc1RTn91n5Mv3XT5wj5Or0/jKMzN9PO1m+NzqN93nQW+v
mTCjoYbZlGl0gmykQrulyedO0cwTK309pjywcve4NeSDCZ5ytZmKqXRUeeyx/wePzLWELkUUzQAAAABJ
RU5ErkJggg==
</value>
</data>
<data name="tsbCancel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABvxSURBVHhe7Z2He1TV1sb9E64f0tNDKKGXi9x7VbChooCK
tBBa6AGkiRSphghIlRII6QnpnXRSCQSkCUS6SJWqoCCgqLC+9e45e3ImTJJJMslMkrOe531mkkzOOXv/
9lp77XLOvKCZZpppZh7bULDXY35+/t05YZHPZuTtpWm5hTSV5Zmzp0FrCmtSTgFNzC6gSYGhzzyzcu4u
Ss/0UKqt7tnavXsDR+TnP51dUESf5u8lz9w9NIELNzYrj0Zl5tLI9FxyT89p8BqRkUPD07OFhqbuVpRN
vdOzn85MTQ9RqtO6zSt///W5e/bTLIYNb56wO59GZ+bR8LRsGpyaRR/tyqSByZk0ICmd+iey8NqglUEf
8OsHyfw+OUP8jPoRSsmkD1kjU9KuK9VrXbZ07/4bc/ccoJn5R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ODr
p3FRAHW/r6lMCWdhATZ3mwI2Njdy3WIyCI9Zwaxl08mfiqXZxsNHUjc3t+4Kltqx1l+ufIT9V7Zea8h2
5XqyW7dFtEbAd8RjQdDniwYQqzQApVDGCtxQpQfNCRrqCdPf7DiIntj3ji/5Q9+NPW7NprN3j9OFc5vh
wx8pGGrfXlm8dCPmnFsu8aaW+ApKeD9CP7wf2T73QSL8Y4LHX351ZYRO3JIbtEQ94Gs8GTJGRD5Bwqvx
FCk4ETwbW52wCQLf7dp41Hh6ib3bdYjbRqX6LWvtFy682WL+UtHftFjsJSYLsGHfdhVHAG6tKIj9eh+y
5+xfk0qchdtjVMQJMvanI3K2/GI5NZ+7kD1bgc2h/CW30eQ4zO2mUt3WZa4z519Hv9N87hfUnFsp5oIR
CbDMiJYrvpBWiN/jdw1ZiI6LVzDkL6nFgqU60DPmUtMpM3RZOY+7BexBI0xfHrWk9Zg5O8Tm46FPm336
mSgIhheYJtSLf8bvG7ymz9EtkEyergMNr+Y+u2nvPk9dh7mFKNVZ96znZE8P50med5tP9HyG56fgm4ca
j5nABYQ4C22QUsrO3oyJlWbuY57Zu7nf7TRshIdSbZppZi574YX/B/agTFnPRwyHAAAAAElFTkSuQmCC
</value>
</data>
<data name="tsbExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABv4SURBVHhe7Z2HX1TXEsfzF7wXTVRUOmLXqCQ+33vx2TUx
sYsKYhTEbqxRY+8iBhUVsSAgIB2kF0FFRexo7L3HAvYYTUyC8+Z39t7l7rogICLL3vl85rNL2d1z5ntm
zpxz5t79SBVVVFGlfGT1nmy3H7OyHk0NCX89cXc2jd+1j8axjt2516R1DOuonXtoZOYeGhUQ/Hrsjp2P
5qSmu0lmMz7xys4OG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Cl1zqx+WCNuX4LJ3nwemWCZ0pH
sO9V2Ybyjigvm8Vu23p/tv9aqoukbRLP4Zy01XBxpeZOQxZLmMpfuiz1cEGhnYWnN1mtXC9CPkae2Gbk
sKOFLxqr7ICqpVLYDrugbE+Nd3OGzo6GDSGUPmG3rabrSHHrtWaDXCZLeN6fdPXwcLBcsoLMl3qR5XJv
slzlIypLceCP0Sjga7dx0QHlvK9qkSqchRWwedoUsFHcyLbFOTuu36v9AzZeJohDnBpOQ6iVs7ODhKVi
pP4ijxeov7JY/BNZeKwiy5U+YjQCvo0fZ/mY88UAiJYGgNQpQx02VdWC5gQNdsL2NzsOoidq4VA9g7kb
NW74FqmawzXh3NzJ6YWEoeLly7nzvXEBYN15S6kurxWF9yP0w/uR7fMcJMI/Nni28DqfBwI2eoTySDZp
FXZge2A7Fysi30Dh1SjQhBPBs1HqhCKImiI7d6dP2bsbD3D2lsz/YaXJrFn3UO6D+abO3MViswBVoxbL
OQLwaEVHrFb5Eq46VVWhnIVbYVXECTLq0xE5685eSLWnzWLPlmBzKMc9dWwGOd+TzF25pPGkH+9g3qk9
bTbV5lGKvWBEAtRqYeRiMGiUn+N3pqyIjnOXMORFVGfmfA3oidOo1piJmqyc190Cdr/BJT8e/ZDy+aQp
QeZ9BxaYTfhBdATLC2wTapV/xu9NXr+fqjkgGf29BjS8mufsWu3aFzQe5BwkmdP4pPXosW52o8Y+qj1y
7GsUA+KCAdxVosZQKGehJqlS39mbsbFi5jLstZWzy6Pmgwa7SWZTRZXyko8++j/xwGj5XI5HJgAAAABJ
RU5ErkJggg==
</value>
</data>
</root>

View File

@ -1,285 +0,0 @@
namespace DrugManagement.UI
{
partial class frmMedicamentPrice
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.btnDrugManufacturer = new System.Windows.Forms.Button();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.btnReturn = new System.Windows.Forms.Button();
this.btnSave = new System.Windows.Forms.Button();
this.label8 = new System.Windows.Forms.Label();
this.txtRetailPrice = new System.Windows.Forms.TextBox();
this.txtTradePrice = new System.Windows.Forms.TextBox();
this.txtPurchasePrice = new System.Windows.Forms.TextBox();
this.txtPackingUnit = new System.Windows.Forms.TextBox();
this.txtDrugManufacturer = new System.Windows.Forms.TextBox();
this.txtName = new System.Windows.Forms.TextBox();
this.txtNo = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.btnDrugManufacturer);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.btnReturn);
this.panel1.Controls.Add(this.btnSave);
this.panel1.Controls.Add(this.label8);
this.panel1.Controls.Add(this.txtRetailPrice);
this.panel1.Controls.Add(this.txtTradePrice);
this.panel1.Controls.Add(this.txtPurchasePrice);
this.panel1.Controls.Add(this.txtPackingUnit);
this.panel1.Controls.Add(this.txtDrugManufacturer);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.txtNo);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.label7);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(314, 287);
this.panel1.TabIndex = 0;
//
// btnDrugManufacturer
//
this.btnDrugManufacturer.Location = new System.Drawing.Point(268, 74);
this.btnDrugManufacturer.Name = "btnDrugManufacturer";
this.btnDrugManufacturer.Size = new System.Drawing.Size(21, 23);
this.btnDrugManufacturer.TabIndex = 19;
this.btnDrugManufacturer.Text = ".";
this.btnDrugManufacturer.UseVisualStyleBackColor = true;
this.btnDrugManufacturer.Click += new System.EventHandler(this.btnDrugManufacturer_Click);
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Location = new System.Drawing.Point(94, 219);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 18;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// btnReturn
//
this.btnReturn.Location = new System.Drawing.Point(217, 254);
this.btnReturn.Name = "btnReturn";
this.btnReturn.Size = new System.Drawing.Size(75, 23);
this.btnReturn.TabIndex = 17;
this.btnReturn.Text = "返回";
this.btnReturn.UseVisualStyleBackColor = true;
this.btnReturn.Click += new System.EventHandler(this.btnReturn_Click);
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(136, 254);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 16;
this.btnSave.Text = "保存";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(3, 237);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(308, 14);
this.label8.TabIndex = 14;
this.label8.Text = "-------------------------------------------";
//
// txtRetailPrice
//
this.txtRetailPrice.Location = new System.Drawing.Point(94, 190);
this.txtRetailPrice.Name = "txtRetailPrice";
this.txtRetailPrice.Size = new System.Drawing.Size(195, 23);
this.txtRetailPrice.TabIndex = 13;
this.txtRetailPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtRetailPrice_KeyPress);
//
// txtTradePrice
//
this.txtTradePrice.Location = new System.Drawing.Point(94, 161);
this.txtTradePrice.Name = "txtTradePrice";
this.txtTradePrice.Size = new System.Drawing.Size(195, 23);
this.txtTradePrice.TabIndex = 12;
this.txtTradePrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTradePrice_KeyPress);
//
// txtPurchasePrice
//
this.txtPurchasePrice.Location = new System.Drawing.Point(94, 132);
this.txtPurchasePrice.Name = "txtPurchasePrice";
this.txtPurchasePrice.Size = new System.Drawing.Size(195, 23);
this.txtPurchasePrice.TabIndex = 11;
this.txtPurchasePrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPurchasePrice_KeyPress);
//
// txtPackingUnit
//
this.txtPackingUnit.Location = new System.Drawing.Point(94, 103);
this.txtPackingUnit.Name = "txtPackingUnit";
this.txtPackingUnit.Size = new System.Drawing.Size(195, 23);
this.txtPackingUnit.TabIndex = 10;
//
// txtDrugManufacturer
//
this.txtDrugManufacturer.Location = new System.Drawing.Point(94, 74);
this.txtDrugManufacturer.Name = "txtDrugManufacturer";
this.txtDrugManufacturer.Size = new System.Drawing.Size(171, 23);
this.txtDrugManufacturer.TabIndex = 9;
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(94, 45);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(195, 23);
this.txtName.TabIndex = 8;
//
// txtNo
//
this.txtNo.Location = new System.Drawing.Point(94, 17);
this.txtNo.Name = "txtNo";
this.txtNo.Size = new System.Drawing.Size(195, 23);
this.txtNo.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(25, 199);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(63, 14);
this.label5.TabIndex = 6;
this.label5.Text = "零售价格";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(25, 170);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(63, 14);
this.label6.TabIndex = 5;
this.label6.Text = "批发价格";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(25, 137);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(63, 14);
this.label7.TabIndex = 4;
this.label7.Text = "进货价格";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(25, 110);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(63, 14);
this.label4.TabIndex = 3;
this.label4.Text = "包装单位";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(25, 82);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(63, 14);
this.label3.TabIndex = 2;
this.label3.Text = "生产厂家";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(25, 54);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(63, 14);
this.label2.TabIndex = 1;
this.label2.Text = "药品名称";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(25, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 14);
this.label1.TabIndex = 0;
this.label1.Text = "药品编码";
//
// frmMedicamentPrice
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(314, 287);
this.ControlBox = false;
this.Controls.Add(this.panel1);
this.Name = "frmMedicamentPrice";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmMedicamentPrice_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox txtRetailPrice;
private System.Windows.Forms.TextBox txtTradePrice;
private System.Windows.Forms.TextBox txtPurchasePrice;
private System.Windows.Forms.TextBox txtPackingUnit;
private System.Windows.Forms.TextBox txtDrugManufacturer;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.TextBox txtNo;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnReturn;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnDrugManufacturer;
private System.Windows.Forms.CheckBox chkIsValid;
}
}

View File

@ -1,198 +0,0 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrugManagement.UI
{
public partial class frmMedicamentPrice : Form
{
public AIMSExtension.EditState _state;
public MedicalItem SelectRowMedicalItemObj;
public int DrugManufacturerId =0;
public string DrugManufacturerName;
private frmDrugManufacturerList frmDrugManufacturerList;
public int MedicamentPriceId = 0;
public frmMedicamentPrice()
{
InitializeComponent();
}
private void frmMedicamentPrice_Load(object sender, EventArgs e)
{
int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width) / 2;
int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) / 2 -150;
this.StartPosition = FormStartPosition.Manual;
this.Location = (Point)new Size(x, y);
if (_state == AIMSExtension.EditState.ADD)
{
txtNo.Enabled = false;
txtName.Enabled = false;
txtPackingUnit.Enabled = false;
txtNo.Text = SelectRowMedicalItemObj.No;
txtName.Text = SelectRowMedicalItemObj.Name;
txtPackingUnit.Text = SelectRowMedicalItemObj.PackingUnit;
chkIsValid.Checked = true;
}
if (_state == AIMSExtension.EditState.EDIT)
{
txtNo.Enabled = false;
txtName.Enabled = false;
txtPackingUnit.Enabled = false;
txtPurchasePrice.Enabled = false;
txtTradePrice.Enabled = false;
txtRetailPrice.Enabled = false;
txtDrugManufacturer.Enabled = false;
MedicamentPrice MedicamentPriceObj = BMedicamentPrice.GetModel(MedicamentPriceId);
MedicalItem MedicalItemObj = BMedicalItem.GetModel(MedicamentPriceObj.MedicalItemId.Value);
txtNo.Text = MedicalItemObj.No;
txtName.Text = MedicalItemObj.Name;
txtPackingUnit.Text = MedicalItemObj.PackingUnit;
txtDrugManufacturer.Text = BDrugManufacturer.GetModel(MedicamentPriceObj.DrugManufacturerId.Value).Name;
txtPurchasePrice.Text = MedicamentPriceObj.PurchasePrice.ToString();
txtRetailPrice.Text = MedicamentPriceObj.RetailPrice.ToString();
txtTradePrice.Text = MedicamentPriceObj.TradePrice.ToString();
if (MedicamentPriceObj.IsValid == 1)
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private void btnDrugManufacturer_Click(object sender, EventArgs e)
{
frmDrugManufacturerList = new frmDrugManufacturerList();
frmDrugManufacturerList.FormClosed += new FormClosedEventHandler(frmDrugManufacturerList_FormClosed);
frmDrugManufacturerList.ShowDialog();
}
void frmDrugManufacturerList_FormClosed(object sender, FormClosedEventArgs e)
{
DrugManufacturerId = frmDrugManufacturerList.DrugManufacturerId;
txtDrugManufacturer.Text = frmDrugManufacturerList.DrugManufacturerName;
DrugManufacturerName = frmDrugManufacturerList.DrugManufacturerName;
txtPurchasePrice.Select();
txtPurchasePrice.Focus();
}
private void btnReturn_Click(object sender, EventArgs e)
{
Close();
}
private void txtPurchasePrice_KeyPress(object sender, KeyPressEventArgs e)
{
AIMSExtension.PublicMethod.KeyPressByIsMatch(e, txtPurchasePrice);
}
private void txtTradePrice_KeyPress(object sender, KeyPressEventArgs e)
{
AIMSExtension.PublicMethod.KeyPressByIsMatch(e, txtTradePrice);
}
private void txtRetailPrice_KeyPress(object sender, KeyPressEventArgs e)
{
AIMSExtension.PublicMethod.KeyPressByIsMatch(e, txtRetailPrice);
}
private void btnSave_Click(object sender, EventArgs e)
{
if (ValidInput())
{
if (txtDrugManufacturer.Text == DrugManufacturerName)
{
if (_state == AIMSExtension.EditState.ADD)
{
MedicamentPrice MedicamentPriceObj = new MedicamentPrice();
MedicamentPriceObj.MedicalItemId = SelectRowMedicalItemObj.Id;
MedicamentPriceObj.DrugManufacturerId = DrugManufacturerId;
MedicamentPriceObj.PurchasePrice = decimal.Parse(txtPurchasePrice.Text.Trim());
MedicamentPriceObj.TradePrice = decimal.Parse(txtTradePrice.Text.Trim());
MedicamentPriceObj.RetailPrice = decimal.Parse(txtRetailPrice.Text.Trim());
MedicamentPriceObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
MedicamentPriceObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
MedicamentPriceObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
MedicamentPriceObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
BMedicamentPrice.Add(MedicamentPriceObj);
}
else
{
MessageBox.Show("厂家名称只能选择!");
}
}
if (_state == AIMSExtension.EditState.EDIT)
{
MedicamentPrice MedicamentPriceObj = new MedicamentPrice();
MedicamentPriceObj.Id = MedicamentPriceId;
MedicamentPriceObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
MedicamentPriceObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
MedicamentPriceObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
MedicamentPriceObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
BMedicamentPrice.Update(MedicamentPriceObj);
}
Close();
}
}
private bool ValidInput()
{
bool result = false;
if (txtNo.Text.Trim().Length < 1)
{
MessageBox.Show("编码不能为空!");
}
else if (txtName.Text.Trim().Length < 1)
{
MessageBox.Show("名称不能为空!");
}
else if (txtDrugManufacturer.Text.Trim().Length < 1)
{
MessageBox.Show("厂家不能为空!");
}
else if (this.txtPurchasePrice.Text.Trim().Length < 1)
{
MessageBox.Show("进价不能为空!");
}
else if (this.txtTradePrice.Text.Trim().Length < 1)
{
MessageBox.Show("批发价格不能为空!");
}
else if (this.txtRetailPrice.Text.Trim().Length < 1)
{
MessageBox.Show("零售价格不能为空!");
}
else
{
result = true;
}
return result;
}
}
}

View File

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

View File

@ -904,18 +904,18 @@ namespace AIMS.OperationFront.UI
OperationApplyObj = EditOperationApplyObj;
}
OperationApplyObj.ApplyDepId = int.Parse(cboApplyDepId.SelectedValue.ToString());
if ( rboJZ.Checked == true )
if (rboJZ.Checked == true)
{
OperationApplyObj.OperationType = "急诊";
OperationApplyObj.OperationType = "急诊";
}
if ( rboRJ.Checked == true )
if (rboRJ.Checked == true)
{
OperationApplyObj.OperationType = "日间";
OperationApplyObj.OperationType = "日间";
}
if ( rboZQ.Checked == true )
if (rboZQ.Checked == true)
{
OperationApplyObj.OperationType = "择期";
}
OperationApplyObj.OperationType = "择期";
}
OperationApplyObj.OrderOperationTime = DateTime.Parse(dtpOrderOperationTime.Value.ToString("yyyy-MM-dd HH:mm"));
//if (txtOperationTimeLeight.Text != "")
// OperationApplyObj.OperationTimeLeight = int.Parse(txtOperationTimeLeight.Text);
@ -1613,42 +1613,92 @@ namespace AIMS.OperationFront.UI
private void btnDR_Click(object sender, EventArgs e)
{
string sqlStr = string.Format("select * from AIMS_PATIENT where IPD_NO like '%{0}%'", txtMdrecNo.Text);
DataTable dt = null;
dt = HisDBHelper.GetDataTable(sqlStr);
if (dt != null && dt.Rows.Count > 0)
try
{
DataRow row = dt.Rows[0];
txtArchivesNo.Text = row["PATIENT_ID"].ToString();//HIS患者ID
if (PublicMethod.GetHospitalName().Contains("屯留"))
{
string sqlStr = string.Format("select * from AIMS_PATIENT where IPD_NO like '%{0}%'", txtMdrecNo.Text);
DataTable dt = null;
dt = HisDBHelper.GetDataTable(sqlStr);
if (dt != null && dt.Rows.Count > 0)
{
DataRow row = dt.Rows[0];
txtArchivesNo.Text = row["PATIENT_ID"].ToString();//HIS患者ID
cboDepartment.Text = row["PATIENT_SECTION_NAME"].ToString(); //申请手术科室编码
cboApplyDepId.Text = row["PATIENT_SECTION_NAME"].ToString(); //申请手术科室编码
txtName.Text = row["PATIENT_NAME"].ToString();
cboSex.Text = row["PATIENT_SEX"].ToString();
try
{
dtpBirthDay.Value = Convert.ToDateTime(row["PATIENT_BIRTH"].ToString());
if (row["PATIENT_HEIGHT"].ToString() != "") txtHeight.Text = Convert.ToDecimal(row["PATIENT_HEIGHT"].ToString()).ToString();
if (row["PATIENT_WEIGHT"].ToString() != "") txtWeight.Text = Convert.ToDecimal(row["PATIENT_WEIGHT"].ToString()).ToString();
cboDepartment.Text = row["PATIENT_SECTION_NAME"].ToString(); //申请手术科室编码
cboApplyDepId.Text = row["PATIENT_SECTION_NAME"].ToString(); //申请手术科室编码
txtName.Text = row["PATIENT_NAME"].ToString();
cboSex.Text = row["PATIENT_SEX"].ToString();
try
{
dtpBirthDay.Value = Convert.ToDateTime(row["PATIENT_BIRTH"].ToString());
if (row["PATIENT_HEIGHT"].ToString() != "") txtHeight.Text = Convert.ToDecimal(row["PATIENT_HEIGHT"].ToString()).ToString();
if (row["PATIENT_WEIGHT"].ToString() != "") txtWeight.Text = Convert.ToDecimal(row["PATIENT_WEIGHT"].ToString()).ToString();
}
catch (Exception)
{
}
cboBloodType.Text = row["PATINET_BLOODTYPE"].ToString();
cboRHBloodType.Text = row["PATINET_BLOODTYPE_RH"].ToString();
txtIdentityCard.Text = row["IDNO"].ToString();
cboPatientKind.Text = row["PATIENT_CHARGE_TYPE"].ToString();
txtIlldistrict.Text = row["ROOM_NO"].ToString();
txtSickBed.Text = row["PATIENT_BED"].ToString();
//patient.ADDRESS = row["PATIENT_ADDRESS"].ToString();
txtContacts.Text = row["PATIENT_CONTACTOR"].ToString();
txtContactsPhone.Text = row["PATIENT_CONTACTOR_PHONE"].ToString();
dtpInHosDate.Value = Convert.ToDateTime(row["INHOSPITALTIME"].ToString());
rboZQ.Checked = true;
}
catch (Exception)
else
{
MessageBox.Show("未找到该患者信息!");
}
}
if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
{
string sqlStr = string.Format("select * from AIMS_PATIENTS where IPD_NO like '%{0}%'", txtMdrecNo.Text);
DataTable dt = null;
dt = HisDBHelper.GetDataTable(sqlStr);
if (dt != null && dt.Rows.Count > 0)
{
DataRow row = dt.Rows[0];
txtArchivesNo.Text = row["PATIENT_ID"].ToString();//HIS患者ID
cboDepartment.Text = row["AREA_NAME"].ToString(); //申请手术科室编码
cboApplyDepId.Text = row["AREA_NAME"].ToString(); //申请手术科室编码
txtName.Text = row["PATIENT_NAME"].ToString();
cboSex.Text = row["PATIENT_SEX"].ToString();
try
{
dtpBirthDay.Value = Convert.ToDateTime(row["PATIENT_BIRTH"].ToString());
if (row["PATIENT_HEIGHT"].ToString() != "") txtHeight.Text = Convert.ToDecimal(row["PATIENT_HEIGHT"].ToString()).ToString();
if (row["PATIENT_WEIGHT"].ToString() != "") txtWeight.Text = Convert.ToDecimal(row["PATIENT_WEIGHT"].ToString()).ToString();
}
catch (Exception)
{
}
cboBloodType.Text = row["PATINET_BLOODTYPE"].ToString();
cboRHBloodType.Text = row["PATINET_BLOODTYPE_RH"].ToString();
txtIdentityCard.Text = row["IDNO"].ToString();
cboPatientKind.Text = row["PATIENT_CHARGE_TYPE"].ToString();
txtIlldistrict.Text = row["ROOM_NO"].ToString();
txtSickBed.Text = row["PATIENT_BED"].ToString();
//patient.ADDRESS = row["PATIENT_ADDRESS"].ToString();
txtContacts.Text = row["PATIENT_CONTACTOR"].ToString();
txtContactsPhone.Text = row["PATIENT_CONTACTOR_PHONE"].ToString();
dtpInHosDate.Value = Convert.ToDateTime(row["INHOSPITALTIME"].ToString());
rboZQ.Checked = true;
}
}
else
{
MessageBox.Show("未找到该患者信息!");
}
cboBloodType.Text = row["PATINET_BLOODTYPE"].ToString();
cboRHBloodType.Text = row["PATINET_BLOODTYPE_RH"].ToString();
txtIdentityCard.Text = row["IDNO"].ToString();
cboPatientKind.Text = row["PATIENT_CHARGE_TYPE"].ToString();
txtIlldistrict.Text = row["ROOM_NO"].ToString();
txtSickBed.Text = row["PATIENT_BED"].ToString();
//patient.ADDRESS = row["PATIENT_ADDRESS"].ToString();
txtContacts.Text = row["PATIENT_CONTACTOR"].ToString();
txtContactsPhone.Text = row["PATIENT_CONTACTOR_PHONE"].ToString();
dtpInHosDate.Value = Convert.ToDateTime(row["INHOSPITALTIME"].ToString());
rboZQ.Checked = true;
}
else
catch (Exception ex)
{
MessageBox.Show("未找到该患者信息!");
MessageBox.Show("导入患者出错! " + ex.Message + ex.StackTrace);
}
}

View File

@ -90,9 +90,6 @@
<Compile Include="BLL\AutoGenerate\BHospitalInfo.cs" />
<Compile Include="BLL\AutoGenerate\BKBITEM.cs" />
<Compile Include="BLL\AutoGenerate\BKBLIST.cs" />
<Compile Include="BLL\AutoGenerate\BMedicalDict.cs" />
<Compile Include="BLL\AutoGenerate\BMedicalItem.cs" />
<Compile Include="BLL\AutoGenerate\BMedicalItemKind.cs" />
<Compile Include="BLL\AutoGenerate\BMedicamentPrice.cs" />
<Compile Include="BLL\AutoGenerate\BMenu.cs" />
<Compile Include="BLL\AutoGenerate\BNotice.cs" />
@ -161,9 +158,6 @@
<Compile Include="BLL\Extension\BHospitalInfo.cs" />
<Compile Include="BLL\Extension\BKBITEM.cs" />
<Compile Include="BLL\Extension\BKBLIST.cs" />
<Compile Include="BLL\Extension\BMedicalDict.cs" />
<Compile Include="BLL\Extension\BMedicalItem.cs" />
<Compile Include="BLL\Extension\BMedicalItemKind.cs" />
<Compile Include="BLL\Extension\BMedicamentPrice.cs" />
<Compile Include="BLL\Extension\BMenu.cs" />
<Compile Include="BLL\Extension\BNotice.cs" />
@ -241,9 +235,6 @@
<Compile Include="DAL\AutoGenerate\DHospitalInfo.cs" />
<Compile Include="DAL\AutoGenerate\DKBITEM.cs" />
<Compile Include="DAL\AutoGenerate\DKBLIST.cs" />
<Compile Include="DAL\AutoGenerate\DMedicalDict.cs" />
<Compile Include="DAL\AutoGenerate\DMedicalItem.cs" />
<Compile Include="DAL\AutoGenerate\DMedicalItemKind.cs" />
<Compile Include="DAL\AutoGenerate\DMedicamentPrice.cs" />
<Compile Include="DAL\AutoGenerate\DMenu.cs" />
<Compile Include="DAL\AutoGenerate\DNotice.cs" />
@ -310,9 +301,6 @@
<Compile Include="DAL\Extension\DHospitalInfo.cs" />
<Compile Include="DAL\Extension\DKBITEM.cs" />
<Compile Include="DAL\Extension\DKBLIST.cs" />
<Compile Include="DAL\Extension\DMedicalDict.cs" />
<Compile Include="DAL\Extension\DMedicalItem.cs" />
<Compile Include="DAL\Extension\DMedicalItemKind.cs" />
<Compile Include="DAL\Extension\DMedicamentPrice.cs" />
<Compile Include="DAL\Extension\DMenu.cs" />
<Compile Include="DAL\Extension\DNotice.cs" />
@ -372,9 +360,6 @@
<Compile Include="Model\AutoGenerate\HospitalInfo.cs" />
<Compile Include="Model\AutoGenerate\KBITEM.cs" />
<Compile Include="Model\AutoGenerate\KBLIST.cs" />
<Compile Include="Model\AutoGenerate\MedicalDict.cs" />
<Compile Include="Model\AutoGenerate\MedicalItem.cs" />
<Compile Include="Model\AutoGenerate\MedicalItemKind.cs" />
<Compile Include="Model\AutoGenerate\MedicamentPrice.cs" />
<Compile Include="Model\AutoGenerate\Menu.cs" />
<Compile Include="Model\AutoGenerate\Notice.cs" />
@ -434,9 +419,6 @@
<Compile Include="Model\Extension\HospitalInfo.cs" />
<Compile Include="Model\Extension\KBITEM.cs" />
<Compile Include="Model\Extension\KBLIST.cs" />
<Compile Include="Model\Extension\MedicalDict.cs" />
<Compile Include="Model\Extension\MedicalItem.cs" />
<Compile Include="Model\Extension\MedicalItemKind.cs" />
<Compile Include="Model\Extension\MedicamentPrice.cs" />
<Compile Include="Model\Extension\Menu.cs" />
<Compile Include="Model\Extension\Notice.cs" />
@ -508,9 +490,6 @@
<Compile Include="ObjectQuery\KBITEMMap.cs" />
<Compile Include="ObjectQuery\KBLISTMap.cs" />
<Compile Include="ObjectQuery\KnowledgeBaseMap.cs" />
<Compile Include="ObjectQuery\MedicalDictMap.cs" />
<Compile Include="ObjectQuery\MedicalItemKindMap.cs" />
<Compile Include="ObjectQuery\MedicalItemMap.cs" />
<Compile Include="ObjectQuery\MedicamentPriceMap.cs" />
<Compile Include="ObjectQuery\MenuMap.cs" />
<Compile Include="ObjectQuery\NoticeContentMap.cs" />

View File

@ -1,160 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using System.Collections;
using System.Collections.Generic;
namespace AIMSBLL
{
public partial class BMedicalDict
{
#region
/// <summary>
/// 插入实体
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
public static int Insert(MedicalDict medicalDict)
{
return DMedicalDict.Insert(medicalDict);
}
#endregion
#region
/// <summary>
/// 删除实体
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Delete(MedicalDict medicalDict)
{
return DMedicalDict.Delete(medicalDict);
}
/// <summary>
/// 根据对象查询语句删除
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Delete(string oql, ParameterList parameters)
{
return DMedicalDict.Delete(oql,parameters);
}
#endregion
#region
/// <summary>
/// 更新实体
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Update(MedicalDict medicalDict)
{
return DMedicalDict.Update(medicalDict);
}
/// <summary>
/// 根据对象查询语句更新实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Update(string oql, ParameterList parameters)
{
return DMedicalDict.Update(oql,parameters);
}
#endregion
#region
/// <summary>
/// \查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
public static List<MedicalDict> Select()
{
return DMedicalDict.Select();
}
/// <summary>
/// 递归查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalDict> Select(RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalDict.Select(recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalDict> Select(string oql, ParameterList parameters)
{
return DMedicalDict.Select(oql, parameters);
}
/// <summary>
/// 根据对象查询语句递归查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalDict> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalDict.Select(oql, parameters, recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
public static MedicalDict SelectSingle(string oql, ParameterList parameters)
{
return DMedicalDict.SelectSingle(oql, parameters);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalDict SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalDict.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
public static MedicalDict SelectSingle(int? id)
{
return DMedicalDict.SelectSingle(id);
}
/// <summary>
/// 更据主键递归查询单个实体
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalDict SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalDict.SelectSingle(id, recursiveType, recursiveDepth);
}
#endregion
}
}

View File

@ -1,160 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using System.Collections;
using System.Collections.Generic;
namespace AIMSBLL
{
public partial class BMedicalItem
{
#region
/// <summary>
/// 插入实体
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
public static int Insert(MedicalItem medicalItem)
{
return DMedicalItem.Insert(medicalItem);
}
#endregion
#region
/// <summary>
/// 删除实体
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Delete(MedicalItem medicalItem)
{
return DMedicalItem.Delete(medicalItem);
}
/// <summary>
/// 根据对象查询语句删除
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Delete(string oql, ParameterList parameters)
{
return DMedicalItem.Delete(oql,parameters);
}
#endregion
#region
/// <summary>
/// 更新实体
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Update(MedicalItem medicalItem)
{
return DMedicalItem.Update(medicalItem);
}
/// <summary>
/// 根据对象查询语句更新实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Update(string oql, ParameterList parameters)
{
return DMedicalItem.Update(oql,parameters);
}
#endregion
#region
/// <summary>
/// \查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
public static List<MedicalItem> Select()
{
return DMedicalItem.Select();
}
/// <summary>
/// 递归查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItem> Select(RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItem.Select(recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItem> Select(string oql, ParameterList parameters)
{
return DMedicalItem.Select(oql, parameters);
}
/// <summary>
/// 根据对象查询语句递归查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItem> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItem.Select(oql, parameters, recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
public static MedicalItem SelectSingle(string oql, ParameterList parameters)
{
return DMedicalItem.SelectSingle(oql, parameters);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalItem SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItem.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
public static MedicalItem SelectSingle(int? id)
{
return DMedicalItem.SelectSingle(id);
}
/// <summary>
/// 更据主键递归查询单个实体
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalItem SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItem.SelectSingle(id, recursiveType, recursiveDepth);
}
#endregion
}
}

View File

@ -1,160 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using System.Collections;
using System.Collections.Generic;
namespace AIMSBLL
{
public partial class BMedicalItemKind
{
#region
/// <summary>
/// 插入实体
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
public static int Insert(MedicalItemKind medicalItemKind)
{
return DMedicalItemKind.Insert(medicalItemKind);
}
#endregion
#region
/// <summary>
/// 删除实体
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Delete(MedicalItemKind medicalItemKind)
{
return DMedicalItemKind.Delete(medicalItemKind);
}
/// <summary>
/// 根据对象查询语句删除
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Delete(string oql, ParameterList parameters)
{
return DMedicalItemKind.Delete(oql,parameters);
}
#endregion
#region
/// <summary>
/// 更新实体
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
public static int Update(MedicalItemKind medicalItemKind)
{
return DMedicalItemKind.Update(medicalItemKind);
}
/// <summary>
/// 根据对象查询语句更新实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
public static int Update(string oql, ParameterList parameters)
{
return DMedicalItemKind.Update(oql,parameters);
}
#endregion
#region
/// <summary>
/// \查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
public static List<MedicalItemKind> Select()
{
return DMedicalItemKind.Select();
}
/// <summary>
/// 递归查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItemKind> Select(RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItemKind.Select(recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItemKind> Select(string oql, ParameterList parameters)
{
return DMedicalItemKind.Select(oql, parameters);
}
/// <summary>
/// 根据对象查询语句递归查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
public static List<MedicalItemKind> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItemKind.Select(oql, parameters, recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
public static MedicalItemKind SelectSingle(string oql, ParameterList parameters)
{
return DMedicalItemKind.SelectSingle(oql, parameters);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalItemKind SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItemKind.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
public static MedicalItemKind SelectSingle(int? id)
{
return DMedicalItemKind.SelectSingle(id);
}
/// <summary>
/// 更据主键递归查询单个实体
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
public static MedicalItemKind SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
return DMedicalItemKind.SelectSingle(id, recursiveType, recursiveDepth);
}
#endregion
}
}

View File

@ -1,47 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data;
namespace AIMSBLL
{
public partial class BMedicalDict
{
public static void Add(MedicalDict MedicalDictObj)
{
try
{
DMedicalDict.Add(MedicalDictObj);
MessageBox.Show("增加成功!");
}
catch (Exception ex)
{
MessageBox.Show("增加失败!"+ex.Message);
}
}
public static MedicalDict GetModel(int Id)
{
return DMedicalDict.GetModel(Id);
}
public static DataTable GetDataTable(int DrugKindId)
{
return DMedicalDict.GetDataTable(DrugKindId);
}
public static DataTable GetDataTableByName(string Name)
{
return DMedicalDict.GetDataTableByName(Name);
}
public static bool Exists(string No)
{
return DMedicalDict.Exists(No);
}
}
}

View File

@ -1,55 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data;
namespace AIMSBLL
{
public partial class BMedicalItem
{
public static bool Exists(string No)
{
return DMedicalItem.Exists(No);
}
public static void Add(MedicalItem MedicalItemObj)
{
try
{
DMedicalItem.Add(MedicalItemObj);
MessageBox.Show("增加成功!");
}
catch (Exception ex)
{
MessageBox.Show("增加失败!"+ex.Message);
}
}
public static MedicalItem GetModel(int Id)
{
return DMedicalItem.GetModel(Id);
}
public static DataTable GetDataTable()
{
return DMedicalItem.GetDataTable();
}
public static DataTable GetMedicalItemDrugDataTable(string HelpCode, int IsValid)
{
return DMedicalItem.GetMedicalItemDrugDataTable(HelpCode, IsValid);
}
public static DataTable GetMedicalItemByDrugKindId(int DrugKindId)
{
return DMedicalItem.GetMedicalItemByDrugKindId(DrugKindId);
}
public static int GetMedicalItemByDictNo(string MedicalDictNo)
{
return DMedicalItem.GetMedicalItemByDictNo(MedicalDictNo);
}
}
}

View File

@ -1,42 +0,0 @@
using System;
using AIMSDAL;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using System.Windows.Forms;
namespace AIMSBLL
{
public partial class BMedicalItemKind
{
public static void Add(MedicalItemKind MedicalItemKindObj)
{
try
{
DMedicalItemKind.Add(MedicalItemKindObj);
}
catch (Exception ex)
{
MessageBox.Show("增加成功!" + ex.Message);
}
}
public static MedicalItemKind GetModel(int Id)
{
return DMedicalItemKind.GetModel(Id);
}
public static DataTable GetDataTable()
{
return DMedicalItemKind.GetDataTable();
}
public static DataTable GetTreeViewDataTable()
{
return DMedicalItemKind.GetTreeViewDataTable();
}
}
}

View File

@ -32,8 +32,9 @@ namespace AIMSBLL
if (OperationFrontdt.Rows.Count > 0)
{
_record.DepartmentId = int.Parse(OperationFrontdt.Rows[0]["DepartmentId"].ToString());
_record.ApplyDepartmentName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString();// + " " + OperationFrontdt.Rows[0]["SickBed"].ToString();
_record.ApplyDepartmentName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString() + " " + OperationFrontdt.Rows[0]["SickBed"].ToString();
_record.ApplyDepName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString();
_record.PatientDepName = OperationFrontdt.Rows[0]["PatientDepName"].ToString();
_record.EndemicArea = OperationFrontdt.Rows[0]["Illdistrict"].ToString();
_record.Bed = OperationFrontdt.Rows[0]["SickBed"].ToString();
_record.InHospitalNo = OperationFrontdt.Rows[0]["MdrecNo"].ToString();

View File

@ -1,633 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections.Generic;
namespace AIMSDAL
{
internal partial class DMedicalDict
{
#region
/// <summary>
/// 插入
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(SqlCommand cmd, MedicalDict medicalDict)
{
cmd.Parameters.Clear();
cmd.CommandText = "insert into MedicalDict (No,Name,HelpCode,DrugKindId,DosageKindId,IsValid,OperatorNo,OperatorName,OperateDate) values (@No,@Name,@HelpCode,@DrugKindId,@DosageKindId,@IsValid,@OperatorNo,@OperatorName,@OperateDate);select @@identity";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@No",medicalDict.No==null?(object)DBNull.Value:(object)medicalDict.No));
cmd.Parameters.Add(new SqlParameter("@Name",medicalDict.Name==null?(object)DBNull.Value:(object)medicalDict.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",medicalDict.HelpCode==null?(object)DBNull.Value:(object)medicalDict.HelpCode));
cmd.Parameters.Add(new SqlParameter("@DrugKindId",medicalDict.DrugKindId.HasValue?(object)medicalDict.DrugKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageKindId",medicalDict.DosageKindId.HasValue?(object)medicalDict.DosageKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalDict.IsValid.HasValue?(object)medicalDict.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalDict.OperatorNo==null?(object)DBNull.Value:(object)medicalDict.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalDict.OperatorName==null?(object)DBNull.Value:(object)medicalDict.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalDict.OperateDate.HasValue?(object)medicalDict.OperateDate.Value:(object)DBNull.Value));
return Convert.ToInt32(cmd.ExecuteScalar());
}
/// <summary>
/// 不使用事务的插入方法
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(MedicalDict medicalDict)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return Insert(cmd, medicalDict);
}
}
}
/// <summary>
/// 使用事务的插入方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(Connection connection,MedicalDict medicalDict)
{
return Insert(connection.Command, medicalDict);
}
#endregion
#region
/// <summary>
/// 删除
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, MedicalDict medicalDict)
{
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalDict where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Id", medicalDict.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(MedicalDict medicalDict)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, medicalDict);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection,MedicalDict medicalDict)
{
return ExcuteDeleteCommand(connection.Command, medicalDict);
}
/// <summary>
/// 执行删除命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalDictMap());
if (filterString != string.Empty)
{
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalDict " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection, string oql, ParameterList parameters)
{
return ExcuteDeleteCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 更新
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, MedicalDict medicalDict)
{
cmd.CommandText = "update MedicalDict set No=@No,Name=@Name,HelpCode=@HelpCode,DrugKindId=@DrugKindId,DosageKindId=@DosageKindId,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@No",medicalDict.No==null?(object)DBNull.Value:(object)medicalDict.No));
cmd.Parameters.Add(new SqlParameter("@Name",medicalDict.Name==null?(object)DBNull.Value:(object)medicalDict.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",medicalDict.HelpCode==null?(object)DBNull.Value:(object)medicalDict.HelpCode));
cmd.Parameters.Add(new SqlParameter("@DrugKindId",medicalDict.DrugKindId.HasValue?(object)medicalDict.DrugKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageKindId",medicalDict.DosageKindId.HasValue?(object)medicalDict.DosageKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalDict.IsValid.HasValue?(object)medicalDict.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalDict.OperatorNo==null?(object)DBNull.Value:(object)medicalDict.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalDict.OperatorName==null?(object)DBNull.Value:(object)medicalDict.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalDict.OperateDate.HasValue?(object)medicalDict.OperateDate.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Id", medicalDict.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(MedicalDict medicalDict)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, medicalDict);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalDict">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection,MedicalDict medicalDict)
{
return ExcuteUpdateCommand(connection.Command, medicalDict);
}
/// <summary>
/// 执行更新命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string updateString = SyntaxAnalyzer.ParseSql(oql, new MedicalDictMap());
cmd.CommandText = "update MedicalDict set " + updateString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection, string oql, ParameterList parameters)
{
return ExcuteUpdateCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 执行Command获取对象列表
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象列表</returns>
internal static List<MedicalDict> ExcuteSelectCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
List<MedicalDict> medicalDictList = new List<MedicalDict>();
using (SqlDataReader dr = cmd.ExecuteReader())
{
while (dr.Read())
{
MedicalDict medicalDict = DataReaderToEntity(dr);
medicalDictList.Add(medicalDict);
}
}
return medicalDictList;
}
/// <summary>
/// 执行查询命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> ExcuteSelectCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalDictMap());
if (filterString != string.Empty)
{
if(filterString.Trim().ToLower().IndexOf("order ")!=0)
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "select * from MedicalDict " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> Select()
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalDict";
return ExcuteSelectCommand(cmd, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> Select(RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalDict";
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> Select(string oql, ParameterList parameters)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合(启用事务)
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalDict> Select(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectCommand(connection.Command, oql, parameters,recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalDict ExcuteSelectSingleCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
MedicalDict medicalDict=null;
using (SqlDataReader dr = cmd.ExecuteReader())
{
if(dr.Read())
medicalDict = DataReaderToEntity(dr);
}
if(medicalDict==null)
return medicalDict;
return medicalDict;
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalDict ExcuteSelectSingleCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalDictMap());
if(filterString!=string.Empty)
{
filterString=" where "+filterString;
}
cmd.CommandText = "select * from MedicalDict " + filterString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalDict SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectSingleCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalDict SelectSingle(string oql, ParameterList parameters)
{
return SelectSingle(oql,parameters,RecursiveType.Parent,1);
}
/// <summary>
/// 更据对象查询语句并启用事务查询单个实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalDict SelectSingle(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectSingleCommand(connection.Command, oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据主键值递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalDict SelectSingle(SqlCommand cmd, int? id,RecursiveType recursiveType,int recursiveDepth)
{
cmd.Parameters.Clear();
if(id.HasValue)
{
cmd.CommandText = "select * from MedicalDict where Id=@pk";
cmd.Parameters.Add(new SqlParameter("@pk",id.Value));
}
else
{
cmd.CommandText = "select * from MedicalDict where Id is null";
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalDict SelectSingle(int? id)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id,RecursiveType.Parent,1);
}
}
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象</returns>
internal static MedicalDict SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 使用事务并按主键字段查询特定实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalDict SelectSingle(Connection connection,int? id, RecursiveType recursiveType, int recursiveDepth)
{
return SelectSingle(connection.Command, id, recursiveType, recursiveDepth);
}
#endregion
/// <summary>
/// 从DataReader中取出值生成实体对象
/// </summary>
/// <param name="searcher">查询对象</param>
/// <returns>过滤条件字符串</returns>
private static MedicalDict DataReaderToEntity(SqlDataReader dr)
{
MedicalDict entity = new MedicalDict ();
if(dr["Id"]!=System.DBNull.Value)
{
entity.Id=Convert.ToInt32(dr["Id"]);
}
if(dr["No"]!=System.DBNull.Value)
{
entity.No=dr["No"].ToString();
}
if(dr["Name"]!=System.DBNull.Value)
{
entity.Name=dr["Name"].ToString();
}
if(dr["HelpCode"]!=System.DBNull.Value)
{
entity.HelpCode=dr["HelpCode"].ToString();
}
if(dr["DrugKindId"]!=System.DBNull.Value)
{
entity.DrugKindId=Convert.ToInt32(dr["DrugKindId"]);
}
if(dr["DosageKindId"]!=System.DBNull.Value)
{
entity.DosageKindId=Convert.ToInt32(dr["DosageKindId"]);
}
if(dr["IsValid"]!=System.DBNull.Value)
{
entity.IsValid=Convert.ToInt32(dr["IsValid"]);
}
if(dr["OperatorNo"]!=System.DBNull.Value)
{
entity.OperatorNo=dr["OperatorNo"].ToString();
}
if(dr["OperatorName"]!=System.DBNull.Value)
{
entity.OperatorName=dr["OperatorName"].ToString();
}
if(dr["OperateDate"]!=System.DBNull.Value)
{
entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]);
}
return entity;
}
}
}

View File

@ -1,735 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections.Generic;
namespace AIMSDAL
{
internal partial class DMedicalItem
{
#region
/// <summary>
/// 插入
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(SqlCommand cmd, MedicalItem medicalItem)
{
cmd.Parameters.Clear();
cmd.CommandText = "insert into MedicalItem (No,Name,HelpCode,MedicalItemAlias,MedicalItemAliasHelpCode,RetailPrice,DosageKindId,Stand,BarCode,MedicalDictNo,DrugKindId,PharmaCologyId,InsuranceKind,InsuranceKindNH,Antibiotics,IsSkintest,Dosage,DosageUnit,PackingUnit,SplitUnit,Quotiety,IsValid,Remark,OperatorNo,OperatorName,OperateDate) values (@No,@Name,@HelpCode,@MedicalItemAlias,@MedicalItemAliasHelpCode,@RetailPrice,@DosageKindId,@Stand,@BarCode,@MedicalDictNo,@DrugKindId,@PharmaCologyId,@InsuranceKind,@InsuranceKindNH,@Antibiotics,@IsSkintest,@Dosage,@DosageUnit,@PackingUnit,@SplitUnit,@Quotiety,@IsValid,@Remark,@OperatorNo,@OperatorName,@OperateDate);select @@identity";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@No",medicalItem.No==null?(object)DBNull.Value:(object)medicalItem.No));
cmd.Parameters.Add(new SqlParameter("@Name",medicalItem.Name==null?(object)DBNull.Value:(object)medicalItem.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",medicalItem.HelpCode==null?(object)DBNull.Value:(object)medicalItem.HelpCode));
cmd.Parameters.Add(new SqlParameter("@MedicalItemAlias",medicalItem.MedicalItemAlias==null?(object)DBNull.Value:(object)medicalItem.MedicalItemAlias));
cmd.Parameters.Add(new SqlParameter("@MedicalItemAliasHelpCode",medicalItem.MedicalItemAliasHelpCode==null?(object)DBNull.Value:(object)medicalItem.MedicalItemAliasHelpCode));
cmd.Parameters.Add(new SqlParameter("@RetailPrice",medicalItem.RetailPrice.HasValue?(object)medicalItem.RetailPrice.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageKindId",medicalItem.DosageKindId.HasValue?(object)medicalItem.DosageKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Stand",medicalItem.Stand==null?(object)DBNull.Value:(object)medicalItem.Stand));
cmd.Parameters.Add(new SqlParameter("@BarCode",medicalItem.BarCode==null?(object)DBNull.Value:(object)medicalItem.BarCode));
cmd.Parameters.Add(new SqlParameter("@MedicalDictNo",medicalItem.MedicalDictNo==null?(object)DBNull.Value:(object)medicalItem.MedicalDictNo));
cmd.Parameters.Add(new SqlParameter("@DrugKindId",medicalItem.DrugKindId.HasValue?(object)medicalItem.DrugKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@PharmaCologyId",medicalItem.PharmaCologyId.HasValue?(object)medicalItem.PharmaCologyId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@InsuranceKind",medicalItem.InsuranceKind==null?(object)DBNull.Value:(object)medicalItem.InsuranceKind));
cmd.Parameters.Add(new SqlParameter("@InsuranceKindNH",medicalItem.InsuranceKindNH==null?(object)DBNull.Value:(object)medicalItem.InsuranceKindNH));
cmd.Parameters.Add(new SqlParameter("@Antibiotics",medicalItem.Antibiotics==null?(object)DBNull.Value:(object)medicalItem.Antibiotics));
cmd.Parameters.Add(new SqlParameter("@IsSkintest",medicalItem.IsSkintest.HasValue?(object)medicalItem.IsSkintest.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Dosage",medicalItem.Dosage.HasValue?(object)medicalItem.Dosage.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageUnit",medicalItem.DosageUnit==null?(object)DBNull.Value:(object)medicalItem.DosageUnit));
cmd.Parameters.Add(new SqlParameter("@PackingUnit",medicalItem.PackingUnit==null?(object)DBNull.Value:(object)medicalItem.PackingUnit));
cmd.Parameters.Add(new SqlParameter("@SplitUnit",medicalItem.SplitUnit==null?(object)DBNull.Value:(object)medicalItem.SplitUnit));
cmd.Parameters.Add(new SqlParameter("@Quotiety",medicalItem.Quotiety.HasValue?(object)medicalItem.Quotiety.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalItem.IsValid.HasValue?(object)medicalItem.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Remark",medicalItem.Remark==null?(object)DBNull.Value:(object)medicalItem.Remark));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalItem.OperatorNo==null?(object)DBNull.Value:(object)medicalItem.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalItem.OperatorName==null?(object)DBNull.Value:(object)medicalItem.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalItem.OperateDate.HasValue?(object)medicalItem.OperateDate.Value:(object)DBNull.Value));
return Convert.ToInt32(cmd.ExecuteScalar());
}
/// <summary>
/// 不使用事务的插入方法
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(MedicalItem medicalItem)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return Insert(cmd, medicalItem);
}
}
}
/// <summary>
/// 使用事务的插入方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(Connection connection,MedicalItem medicalItem)
{
return Insert(connection.Command, medicalItem);
}
#endregion
#region
/// <summary>
/// 删除
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, MedicalItem medicalItem)
{
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalItem where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Id", medicalItem.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(MedicalItem medicalItem)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, medicalItem);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection,MedicalItem medicalItem)
{
return ExcuteDeleteCommand(connection.Command, medicalItem);
}
/// <summary>
/// 执行删除命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemMap());
if (filterString != string.Empty)
{
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalItem " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection, string oql, ParameterList parameters)
{
return ExcuteDeleteCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 更新
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, MedicalItem medicalItem)
{
cmd.CommandText = "update MedicalItem set No=@No,Name=@Name,HelpCode=@HelpCode,MedicalItemAlias=@MedicalItemAlias,MedicalItemAliasHelpCode=@MedicalItemAliasHelpCode,RetailPrice=@RetailPrice,DosageKindId=@DosageKindId,Stand=@Stand,BarCode=@BarCode,MedicalDictNo=@MedicalDictNo,DrugKindId=@DrugKindId,PharmaCologyId=@PharmaCologyId,InsuranceKind=@InsuranceKind,InsuranceKindNH=@InsuranceKindNH,Antibiotics=@Antibiotics,IsSkintest=@IsSkintest,Dosage=@Dosage,DosageUnit=@DosageUnit,PackingUnit=@PackingUnit,SplitUnit=@SplitUnit,Quotiety=@Quotiety,IsValid=@IsValid,Remark=@Remark,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@No",medicalItem.No==null?(object)DBNull.Value:(object)medicalItem.No));
cmd.Parameters.Add(new SqlParameter("@Name",medicalItem.Name==null?(object)DBNull.Value:(object)medicalItem.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",medicalItem.HelpCode==null?(object)DBNull.Value:(object)medicalItem.HelpCode));
cmd.Parameters.Add(new SqlParameter("@MedicalItemAlias",medicalItem.MedicalItemAlias==null?(object)DBNull.Value:(object)medicalItem.MedicalItemAlias));
cmd.Parameters.Add(new SqlParameter("@MedicalItemAliasHelpCode",medicalItem.MedicalItemAliasHelpCode==null?(object)DBNull.Value:(object)medicalItem.MedicalItemAliasHelpCode));
cmd.Parameters.Add(new SqlParameter("@RetailPrice",medicalItem.RetailPrice.HasValue?(object)medicalItem.RetailPrice.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageKindId",medicalItem.DosageKindId.HasValue?(object)medicalItem.DosageKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Stand",medicalItem.Stand==null?(object)DBNull.Value:(object)medicalItem.Stand));
cmd.Parameters.Add(new SqlParameter("@BarCode",medicalItem.BarCode==null?(object)DBNull.Value:(object)medicalItem.BarCode));
cmd.Parameters.Add(new SqlParameter("@MedicalDictNo",medicalItem.MedicalDictNo==null?(object)DBNull.Value:(object)medicalItem.MedicalDictNo));
cmd.Parameters.Add(new SqlParameter("@DrugKindId",medicalItem.DrugKindId.HasValue?(object)medicalItem.DrugKindId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@PharmaCologyId",medicalItem.PharmaCologyId.HasValue?(object)medicalItem.PharmaCologyId.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@InsuranceKind",medicalItem.InsuranceKind==null?(object)DBNull.Value:(object)medicalItem.InsuranceKind));
cmd.Parameters.Add(new SqlParameter("@InsuranceKindNH",medicalItem.InsuranceKindNH==null?(object)DBNull.Value:(object)medicalItem.InsuranceKindNH));
cmd.Parameters.Add(new SqlParameter("@Antibiotics",medicalItem.Antibiotics==null?(object)DBNull.Value:(object)medicalItem.Antibiotics));
cmd.Parameters.Add(new SqlParameter("@IsSkintest",medicalItem.IsSkintest.HasValue?(object)medicalItem.IsSkintest.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Dosage",medicalItem.Dosage.HasValue?(object)medicalItem.Dosage.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@DosageUnit",medicalItem.DosageUnit==null?(object)DBNull.Value:(object)medicalItem.DosageUnit));
cmd.Parameters.Add(new SqlParameter("@PackingUnit",medicalItem.PackingUnit==null?(object)DBNull.Value:(object)medicalItem.PackingUnit));
cmd.Parameters.Add(new SqlParameter("@SplitUnit",medicalItem.SplitUnit==null?(object)DBNull.Value:(object)medicalItem.SplitUnit));
cmd.Parameters.Add(new SqlParameter("@Quotiety",medicalItem.Quotiety.HasValue?(object)medicalItem.Quotiety.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalItem.IsValid.HasValue?(object)medicalItem.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Remark",medicalItem.Remark==null?(object)DBNull.Value:(object)medicalItem.Remark));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalItem.OperatorNo==null?(object)DBNull.Value:(object)medicalItem.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalItem.OperatorName==null?(object)DBNull.Value:(object)medicalItem.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalItem.OperateDate.HasValue?(object)medicalItem.OperateDate.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Id", medicalItem.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(MedicalItem medicalItem)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, medicalItem);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItem">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection,MedicalItem medicalItem)
{
return ExcuteUpdateCommand(connection.Command, medicalItem);
}
/// <summary>
/// 执行更新命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string updateString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemMap());
cmd.CommandText = "update MedicalItem set " + updateString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection, string oql, ParameterList parameters)
{
return ExcuteUpdateCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 执行Command获取对象列表
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象列表</returns>
internal static List<MedicalItem> ExcuteSelectCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
List<MedicalItem> medicalItemList = new List<MedicalItem>();
using (SqlDataReader dr = cmd.ExecuteReader())
{
while (dr.Read())
{
MedicalItem medicalItem = DataReaderToEntity(dr);
medicalItemList.Add(medicalItem);
}
}
return medicalItemList;
}
/// <summary>
/// 执行查询命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> ExcuteSelectCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemMap());
if (filterString != string.Empty)
{
if(filterString.Trim().ToLower().IndexOf("order ")!=0)
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "select * from MedicalItem " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> Select()
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalItem";
return ExcuteSelectCommand(cmd, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> Select(RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalItem";
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> Select(string oql, ParameterList parameters)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合(启用事务)
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItem> Select(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectCommand(connection.Command, oql, parameters,recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItem ExcuteSelectSingleCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
MedicalItem medicalItem=null;
using (SqlDataReader dr = cmd.ExecuteReader())
{
if(dr.Read())
medicalItem = DataReaderToEntity(dr);
}
if(medicalItem==null)
return medicalItem;
return medicalItem;
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItem ExcuteSelectSingleCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemMap());
if(filterString!=string.Empty)
{
filterString=" where "+filterString;
}
cmd.CommandText = "select * from MedicalItem " + filterString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItem SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectSingleCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalItem SelectSingle(string oql, ParameterList parameters)
{
return SelectSingle(oql,parameters,RecursiveType.Parent,1);
}
/// <summary>
/// 更据对象查询语句并启用事务查询单个实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalItem SelectSingle(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectSingleCommand(connection.Command, oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据主键值递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItem SelectSingle(SqlCommand cmd, int? id,RecursiveType recursiveType,int recursiveDepth)
{
cmd.Parameters.Clear();
if(id.HasValue)
{
cmd.CommandText = "select * from MedicalItem where Id=@pk";
cmd.Parameters.Add(new SqlParameter("@pk",id.Value));
}
else
{
cmd.CommandText = "select * from MedicalItem where Id is null";
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalItem SelectSingle(int? id)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id,RecursiveType.Parent,1);
}
}
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象</returns>
internal static MedicalItem SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 使用事务并按主键字段查询特定实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalItem SelectSingle(Connection connection,int? id, RecursiveType recursiveType, int recursiveDepth)
{
return SelectSingle(connection.Command, id, recursiveType, recursiveDepth);
}
#endregion
/// <summary>
/// 从DataReader中取出值生成实体对象
/// </summary>
/// <param name="searcher">查询对象</param>
/// <returns>过滤条件字符串</returns>
private static MedicalItem DataReaderToEntity(SqlDataReader dr)
{
MedicalItem entity = new MedicalItem ();
if(dr["Id"]!=System.DBNull.Value)
{
entity.Id=Convert.ToInt32(dr["Id"]);
}
if(dr["No"]!=System.DBNull.Value)
{
entity.No=dr["No"].ToString();
}
if(dr["Name"]!=System.DBNull.Value)
{
entity.Name=dr["Name"].ToString();
}
if(dr["HelpCode"]!=System.DBNull.Value)
{
entity.HelpCode=dr["HelpCode"].ToString();
}
if(dr["MedicalItemAlias"]!=System.DBNull.Value)
{
entity.MedicalItemAlias=dr["MedicalItemAlias"].ToString();
}
if(dr["MedicalItemAliasHelpCode"]!=System.DBNull.Value)
{
entity.MedicalItemAliasHelpCode=dr["MedicalItemAliasHelpCode"].ToString();
}
if(dr["RetailPrice"]!=System.DBNull.Value)
{
entity.RetailPrice=Convert.ToDecimal(dr["RetailPrice"]);
}
if(dr["DosageKindId"]!=System.DBNull.Value)
{
entity.DosageKindId=Convert.ToInt32(dr["DosageKindId"]);
}
if(dr["Stand"]!=System.DBNull.Value)
{
entity.Stand=dr["Stand"].ToString();
}
if(dr["BarCode"]!=System.DBNull.Value)
{
entity.BarCode=dr["BarCode"].ToString();
}
if(dr["MedicalDictNo"]!=System.DBNull.Value)
{
entity.MedicalDictNo=dr["MedicalDictNo"].ToString();
}
if(dr["DrugKindId"]!=System.DBNull.Value)
{
entity.DrugKindId=Convert.ToInt32(dr["DrugKindId"]);
}
if(dr["PharmaCologyId"]!=System.DBNull.Value)
{
entity.PharmaCologyId=Convert.ToInt32(dr["PharmaCologyId"]);
}
if(dr["InsuranceKind"]!=System.DBNull.Value)
{
entity.InsuranceKind=dr["InsuranceKind"].ToString();
}
if(dr["InsuranceKindNH"]!=System.DBNull.Value)
{
entity.InsuranceKindNH=dr["InsuranceKindNH"].ToString();
}
if(dr["Antibiotics"]!=System.DBNull.Value)
{
entity.Antibiotics=dr["Antibiotics"].ToString();
}
if(dr["IsSkintest"]!=System.DBNull.Value)
{
entity.IsSkintest=Convert.ToInt32(dr["IsSkintest"]);
}
if(dr["Dosage"]!=System.DBNull.Value)
{
entity.Dosage=Convert.ToDecimal(dr["Dosage"]);
}
if(dr["DosageUnit"]!=System.DBNull.Value)
{
entity.DosageUnit=dr["DosageUnit"].ToString();
}
if(dr["PackingUnit"]!=System.DBNull.Value)
{
entity.PackingUnit=dr["PackingUnit"].ToString();
}
if(dr["SplitUnit"]!=System.DBNull.Value)
{
entity.SplitUnit=dr["SplitUnit"].ToString();
}
if(dr["Quotiety"]!=System.DBNull.Value)
{
entity.Quotiety=Convert.ToInt32(dr["Quotiety"]);
}
if(dr["IsValid"]!=System.DBNull.Value)
{
entity.IsValid=Convert.ToInt32(dr["IsValid"]);
}
if(dr["Remark"]!=System.DBNull.Value)
{
entity.Remark=dr["Remark"].ToString();
}
if(dr["OperatorNo"]!=System.DBNull.Value)
{
entity.OperatorNo=dr["OperatorNo"].ToString();
}
if(dr["OperatorName"]!=System.DBNull.Value)
{
entity.OperatorName=dr["OperatorName"].ToString();
}
if(dr["OperateDate"]!=System.DBNull.Value)
{
entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]);
}
return entity;
}
}
}

View File

@ -1,615 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections.Generic;
namespace AIMSDAL
{
internal partial class DMedicalItemKind
{
#region
/// <summary>
/// 插入
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(SqlCommand cmd, MedicalItemKind medicalItemKind)
{
cmd.Parameters.Clear();
cmd.CommandText = "insert into MedicalItemKind (Name,IsMed,IsValid,OperatorNo,OperatorName,OperateDate) values (@Name,@IsMed,@IsValid,@OperatorNo,@OperatorName,@OperateDate);select @@identity";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Name",medicalItemKind.Name==null?(object)DBNull.Value:(object)medicalItemKind.Name));
cmd.Parameters.Add(new SqlParameter("@IsMed",medicalItemKind.IsMed==null?(object)DBNull.Value:(object)medicalItemKind.IsMed));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalItemKind.IsValid.HasValue?(object)medicalItemKind.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalItemKind.OperatorNo==null?(object)DBNull.Value:(object)medicalItemKind.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalItemKind.OperatorName==null?(object)DBNull.Value:(object)medicalItemKind.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalItemKind.OperateDate.HasValue?(object)medicalItemKind.OperateDate.Value:(object)DBNull.Value));
return Convert.ToInt32(cmd.ExecuteScalar());
}
/// <summary>
/// 不使用事务的插入方法
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(MedicalItemKind medicalItemKind)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return Insert(cmd, medicalItemKind);
}
}
}
/// <summary>
/// 使用事务的插入方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>标识列值或影响的记录行数</returns>
internal static int Insert(Connection connection,MedicalItemKind medicalItemKind)
{
return Insert(connection.Command, medicalItemKind);
}
#endregion
#region
/// <summary>
/// 删除
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, MedicalItemKind medicalItemKind)
{
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalItemKind where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Id", medicalItemKind.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(MedicalItemKind medicalItemKind)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, medicalItemKind);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection,MedicalItemKind medicalItemKind)
{
return ExcuteDeleteCommand(connection.Command, medicalItemKind);
}
/// <summary>
/// 执行删除命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteDeleteCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemKindMap());
if (filterString != string.Empty)
{
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "delete from MedicalItemKind " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的删除方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteDeleteCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的删除方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Delete(Connection connection, string oql, ParameterList parameters)
{
return ExcuteDeleteCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 更新
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, MedicalItemKind medicalItemKind)
{
cmd.CommandText = "update MedicalItemKind set Name=@Name,IsMed=@IsMed,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Name",medicalItemKind.Name==null?(object)DBNull.Value:(object)medicalItemKind.Name));
cmd.Parameters.Add(new SqlParameter("@IsMed",medicalItemKind.IsMed==null?(object)DBNull.Value:(object)medicalItemKind.IsMed));
cmd.Parameters.Add(new SqlParameter("@IsValid",medicalItemKind.IsValid.HasValue?(object)medicalItemKind.IsValid.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@OperatorNo",medicalItemKind.OperatorNo==null?(object)DBNull.Value:(object)medicalItemKind.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",medicalItemKind.OperatorName==null?(object)DBNull.Value:(object)medicalItemKind.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",medicalItemKind.OperateDate.HasValue?(object)medicalItemKind.OperateDate.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Id", medicalItemKind.Id));
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(MedicalItemKind medicalItemKind)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, medicalItemKind);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="medicalItemKind">实体类对象</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection,MedicalItemKind medicalItemKind)
{
return ExcuteUpdateCommand(connection.Command, medicalItemKind);
}
/// <summary>
/// 执行更新命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, string oql, ParameterList parameters)
{
//解析过滤部份Sql语句
string updateString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemKindMap());
cmd.CommandText = "update MedicalItemKind set " + updateString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return cmd.ExecuteNonQuery();
}
/// <summary>
/// 不使用事务的更新方法
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(string oql, ParameterList parameters)
{
using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteUpdateCommand(cmd, oql, parameters);
}
}
}
/// <summary>
/// 使用事务的更新方法
/// </summary>
/// <param name="connection">实现共享Connection的对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>影响的记录行数</returns>
internal static int Update(Connection connection, string oql, ParameterList parameters)
{
return ExcuteUpdateCommand(connection.Command, oql, parameters);
}
#endregion
#region
/// <summary>
/// 执行Command获取对象列表
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象列表</returns>
internal static List<MedicalItemKind> ExcuteSelectCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
List<MedicalItemKind> medicalItemKindList = new List<MedicalItemKind>();
using (SqlDataReader dr = cmd.ExecuteReader())
{
while (dr.Read())
{
MedicalItemKind medicalItemKind = DataReaderToEntity(dr);
medicalItemKindList.Add(medicalItemKind);
}
}
return medicalItemKindList;
}
/// <summary>
/// 执行查询命令
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> ExcuteSelectCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemKindMap());
if (filterString != string.Empty)
{
if(filterString.Trim().ToLower().IndexOf("order ")!=0)
filterString = " where " + filterString;
}
cmd.Parameters.Clear();
cmd.CommandText = "select * from MedicalItemKind " + filterString;
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> Select()
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalItemKind";
return ExcuteSelectCommand(cmd, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> Select(RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select * from MedicalItemKind";
return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> Select(string oql, ParameterList parameters)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, RecursiveType.Parent, 1);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合
/// </summary>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 根据对象查询语句查询实体集合(启用事务)
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象集合</returns>
internal static List<MedicalItemKind> Select(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectCommand(connection.Command, oql, parameters,recursiveType, recursiveDepth);
}
#endregion
#region
/// <summary>
/// 递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind ExcuteSelectSingleCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
{
MedicalItemKind medicalItemKind=null;
using (SqlDataReader dr = cmd.ExecuteReader())
{
if(dr.Read())
medicalItemKind = DataReaderToEntity(dr);
}
if(medicalItemKind==null)
return medicalItemKind;
return medicalItemKind;
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind ExcuteSelectSingleCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
{
//解析过滤部份Sql语句
string filterString = SyntaxAnalyzer.ParseSql(oql, new MedicalItemKindMap());
if(filterString!=string.Empty)
{
filterString=" where "+filterString;
}
cmd.CommandText = "select * from MedicalItemKind " + filterString;
cmd.Parameters.Clear();
//添加参数
if (parameters != null)
{
foreach (string key in parameters.Keys)
{
cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
}
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据对象查询语句递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return ExcuteSelectSingleCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 更据对象查询语句查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind SelectSingle(string oql, ParameterList parameters)
{
return SelectSingle(oql,parameters,RecursiveType.Parent,1);
}
/// <summary>
/// 更据对象查询语句并启用事务查询单个实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="oql">对象查询语句</param>
/// <param name="parameters">参数列表</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind SelectSingle(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
{
return ExcuteSelectSingleCommand(connection.Command, oql, parameters, recursiveType, recursiveDepth);
}
/// <summary>
/// 更据主键值递归查询单个实体
/// </summary>
/// <param name="cmd">Command对象</param>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体对象</returns>
internal static MedicalItemKind SelectSingle(SqlCommand cmd, int? id,RecursiveType recursiveType,int recursiveDepth)
{
cmd.Parameters.Clear();
if(id.HasValue)
{
cmd.CommandText = "select * from MedicalItemKind where Id=@pk";
cmd.Parameters.Add(new SqlParameter("@pk",id.Value));
}
else
{
cmd.CommandText = "select * from MedicalItemKind where Id is null";
}
return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalItemKind SelectSingle(int? id)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id,RecursiveType.Parent,1);
}
}
}
/// <summary>
/// 按主键字段查询特定实体
/// </summary>
/// <param name="id">主键值</param>
/// <param name="recursiveType">递归类型</param>
/// <param name="recursiveDepth">递归深度</param>
/// <returns>实体类对象</returns>
internal static MedicalItemKind SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
{
using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
{
conn.Open();
using (SqlCommand cmd = conn.CreateCommand())
{
return SelectSingle(cmd,id, recursiveType, recursiveDepth);
}
}
}
/// <summary>
/// 使用事务并按主键字段查询特定实体
/// </summary>
/// <param name="connection">连接对象</param>
/// <param name="id">主键值</param>
/// <returns>实体类对象</returns>
internal static MedicalItemKind SelectSingle(Connection connection,int? id, RecursiveType recursiveType, int recursiveDepth)
{
return SelectSingle(connection.Command, id, recursiveType, recursiveDepth);
}
#endregion
/// <summary>
/// 从DataReader中取出值生成实体对象
/// </summary>
/// <param name="searcher">查询对象</param>
/// <returns>过滤条件字符串</returns>
private static MedicalItemKind DataReaderToEntity(SqlDataReader dr)
{
MedicalItemKind entity = new MedicalItemKind ();
if(dr["Id"]!=System.DBNull.Value)
{
entity.Id=Convert.ToInt32(dr["Id"]);
}
if(dr["Name"]!=System.DBNull.Value)
{
entity.Name=dr["Name"].ToString();
}
if(dr["IsMed"]!=System.DBNull.Value)
{
entity.IsMed=dr["IsMed"].ToString();
}
if(dr["IsValid"]!=System.DBNull.Value)
{
entity.IsValid=Convert.ToInt32(dr["IsValid"]);
}
if(dr["OperatorNo"]!=System.DBNull.Value)
{
entity.OperatorNo=dr["OperatorNo"].ToString();
}
if(dr["OperatorName"]!=System.DBNull.Value)
{
entity.OperatorName=dr["OperatorName"].ToString();
}
if(dr["OperateDate"]!=System.DBNull.Value)
{
entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]);
}
return entity;
}
}
}

View File

@ -1,112 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using System.Collections.Generic;
using AIMSModel;
using AIMSObjectQuery;
using System.Text;
namespace AIMSDAL
{
internal partial class DMedicalDict
{
public static void Add(MedicalDict MedicalDictObj)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into [MedicalDict](");
strSql.Append("No,Name,HelpCode,DrugKindId,DosageKindId,IsValid,OperatorNo,OperatorName,OperateDate");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("'"+MedicalDictObj.No+"',");
strSql.Append("'"+MedicalDictObj.Name+"',");
strSql.Append("'"+MedicalDictObj.HelpCode+"',");
strSql.Append(""+MedicalDictObj.DrugKindId+",");
strSql.Append(""+MedicalDictObj.DosageKindId+",");
strSql.Append("'" + MedicalDictObj.IsValid + "',");
strSql.Append("'"+MedicalDictObj.OperatorNo+"',");
strSql.Append("'"+MedicalDictObj.OperatorName+"',");
strSql.Append("'"+MedicalDictObj.OperateDate+"'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static MedicalDict GetModel(int Id)
{
MedicalDict MedicalDictObj = new MedicalDict();
StringBuilder strSql=new StringBuilder();
strSql.Append("select ");
strSql.Append("Id,No,Name,HelpCode,DrugKindId,DosageKindId,IsValid,OperatorNo,OperatorName,OperateDate ");
strSql.Append(" from MedicalDict ");
strSql.Append(" where Id="+Id+"" );
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
if(ds.Tables[0].Rows.Count>0)
{
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
{
MedicalDictObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
}
MedicalDictObj.No = ds.Tables[0].Rows[0]["No"].ToString();
MedicalDictObj.Name = ds.Tables[0].Rows[0]["Name"].ToString();
MedicalDictObj.HelpCode = ds.Tables[0].Rows[0]["HelpCode"].ToString();
if(ds.Tables[0].Rows[0]["DrugKindId"].ToString()!="")
{
MedicalDictObj.DrugKindId = int.Parse(ds.Tables[0].Rows[0]["DrugKindId"].ToString());
}
if(ds.Tables[0].Rows[0]["DosageKindId"].ToString()!="")
{
MedicalDictObj.DosageKindId = int.Parse(ds.Tables[0].Rows[0]["DosageKindId"].ToString());
}
MedicalDictObj.IsValid =int.Parse(ds.Tables[0].Rows[0]["IsValid"].ToString());
MedicalDictObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
MedicalDictObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
{
MedicalDictObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
}
}
return MedicalDictObj;
}
public static DataTable GetDataTable(int DrugKindId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("SELECT md.Id,md.No, md.Name, md.HelpCode,dk.Name AS DrugKindName,dk2.Name AS DosageKindName ,");
strSql.Append(" CASE md.IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid ");
strSql.Append(" FROM MedicalDict md ");
strSql.Append(" LEFT JOIN DrugKind dk ON dk.Id= md.DrugKindId ");
strSql.Append(" LEFT JOIN DosageKind dk2 ON dk2.Id =md.DosageKindId ");
strSql.Append(" WHERE md.DrugKindId="+DrugKindId+"");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetDataTableByName(string Name)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("SELECT md.Id,md.No, md.Name, md.HelpCode, mik.Name AS MedicalItemKindName,dk.Name AS DrugKindName,dk2.Name AS DosageKindName ,");
strSql.Append(" CASE md.IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid ");
strSql.Append(" FROM MedicalDict md ");
strSql.Append(" LEFT JOIN DrugKind dk ON dk.Id= md.DrugKindId ");
strSql.Append(" LEFT JOIN DosageKind dk2 ON dk2.Id =md.DosageKindId ");
strSql.Append(" LEFT JOIN MedicalItemKind mik ON mik.Id = dk.MedicalItemKindId ");
strSql.Append(" WHERE (md.Name like '%" + Name + "%') or (md.HelpCode like '%" + Name + "%')");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static bool Exists(string No)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select count(*) AS RowsCount from MedicalDict where No='" + No + "'");
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
if (int.Parse(dt.Rows[0]["RowsCount"].ToString()) > 0)
{
return true;
}
else
{
return false;
}
}
}
}

View File

@ -1,177 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using System.Collections.Generic;
using AIMSModel;
using AIMSObjectQuery;
using System.Text;
namespace AIMSDAL
{
internal partial class DMedicalItem
{
public static bool Exists(string No)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select count(1) from MedicalItem where No="+No+"");
return HelperDB.DbHelperSQL.Exists(strSql.ToString());
}
public static void Add(MedicalItem MedicalItemObj)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into [MedicalItem](");
strSql.Append("No,Name,HelpCode,MedicalItemAlias,MedicalItemAliasHelpCode,RetailPrice,DosageKindId,Stand,BarCode,MedicalDictNo,DrugKindId,PharmaCologyId,InsuranceKind,InsuranceKindNH,Antibiotics,IsSkintest,Dosage,DosageUnit,PackingUnit,SplitUnit,Quotiety,IsValid,Remark,OperatorNo,OperatorName,OperateDate");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("'"+MedicalItemObj.No+"',");
strSql.Append("'"+MedicalItemObj.Name+"',");
strSql.Append("'"+MedicalItemObj.HelpCode+"',");
strSql.Append("'"+MedicalItemObj.MedicalItemAlias+"',");
strSql.Append("'"+MedicalItemObj.MedicalItemAliasHelpCode+"',");
strSql.Append(""+MedicalItemObj.RetailPrice+",");
strSql.Append(""+MedicalItemObj.DosageKindId+",");
strSql.Append("'"+MedicalItemObj.Stand+"',");
strSql.Append("'"+MedicalItemObj.BarCode+"',");
strSql.Append("'"+MedicalItemObj.MedicalDictNo+"',");
strSql.Append(""+MedicalItemObj.DrugKindId+",");
strSql.Append(""+MedicalItemObj.PharmaCologyId+",");
strSql.Append("'"+MedicalItemObj.InsuranceKind+"',");
strSql.Append("'"+MedicalItemObj.InsuranceKindNH+"',");
strSql.Append("'"+MedicalItemObj.Antibiotics+"',");
strSql.Append(""+MedicalItemObj.IsSkintest+",");
strSql.Append(""+MedicalItemObj.Dosage+",");
strSql.Append("'"+MedicalItemObj.DosageUnit+"',");
strSql.Append("'"+MedicalItemObj.PackingUnit+"',");
strSql.Append("'"+MedicalItemObj.SplitUnit+"',");
strSql.Append(""+MedicalItemObj.Quotiety+",");
strSql.Append(""+MedicalItemObj.IsValid+",");
strSql.Append("'"+MedicalItemObj.Remark+"',");
strSql.Append("'"+MedicalItemObj.OperatorNo+"',");
strSql.Append("'"+MedicalItemObj.OperatorName+"',");
strSql.Append("'"+MedicalItemObj.OperateDate+"'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static MedicalItem GetModel(int Id)
{
MedicalItem MedicalItemObj = new MedicalItem();
StringBuilder strSql=new StringBuilder();
strSql.Append("select ");
strSql.Append("Id,No,Name,HelpCode,MedicalItemAlias,MedicalItemAliasHelpCode,RetailPrice,DosageKindId,Stand,BarCode,MedicalDictNo,DrugKindId,PharmaCologyId,InsuranceKind,InsuranceKindNH,Antibiotics,IsSkintest,Dosage,DosageUnit,PackingUnit,SplitUnit,Quotiety,IsValid,Remark,OperatorNo,OperatorName,OperateDate ");
strSql.Append(" from MedicalItem ");
strSql.Append(" where Id="+Id+"" );
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
if(ds.Tables[0].Rows.Count>0)
{
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
{
MedicalItemObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
}
MedicalItemObj.No = ds.Tables[0].Rows[0]["No"].ToString();
MedicalItemObj.Name = ds.Tables[0].Rows[0]["Name"].ToString();
MedicalItemObj.HelpCode = ds.Tables[0].Rows[0]["HelpCode"].ToString();
MedicalItemObj.MedicalItemAlias = ds.Tables[0].Rows[0]["MedicalItemAlias"].ToString();
MedicalItemObj.MedicalItemAliasHelpCode = ds.Tables[0].Rows[0]["MedicalItemAliasHelpCode"].ToString();
if(ds.Tables[0].Rows[0]["RetailPrice"].ToString()!="")
{
MedicalItemObj.RetailPrice = decimal.Parse(ds.Tables[0].Rows[0]["RetailPrice"].ToString());
}
if(ds.Tables[0].Rows[0]["DosageKindId"].ToString()!="")
{
MedicalItemObj.DosageKindId = int.Parse(ds.Tables[0].Rows[0]["DosageKindId"].ToString());
}
MedicalItemObj.Stand = ds.Tables[0].Rows[0]["Stand"].ToString();
MedicalItemObj.BarCode = ds.Tables[0].Rows[0]["BarCode"].ToString();
MedicalItemObj.MedicalDictNo = ds.Tables[0].Rows[0]["MedicalDictNo"].ToString();
if(ds.Tables[0].Rows[0]["DrugKindId"].ToString()!="")
{
MedicalItemObj.DrugKindId = int.Parse(ds.Tables[0].Rows[0]["DrugKindId"].ToString());
}
if(ds.Tables[0].Rows[0]["PharmaCologyId"].ToString()!="")
{
MedicalItemObj.PharmaCologyId = int.Parse(ds.Tables[0].Rows[0]["PharmaCologyId"].ToString());
}
MedicalItemObj.InsuranceKind = ds.Tables[0].Rows[0]["InsuranceKind"].ToString();
MedicalItemObj.InsuranceKindNH = ds.Tables[0].Rows[0]["InsuranceKindNH"].ToString();
MedicalItemObj.Antibiotics = ds.Tables[0].Rows[0]["Antibiotics"].ToString();
if(ds.Tables[0].Rows[0]["IsSkintest"].ToString()!="")
{
MedicalItemObj.IsSkintest = int.Parse(ds.Tables[0].Rows[0]["IsSkintest"].ToString());
}
if(ds.Tables[0].Rows[0]["Dosage"].ToString()!="")
{
MedicalItemObj.Dosage = decimal.Parse(ds.Tables[0].Rows[0]["Dosage"].ToString());
}
MedicalItemObj.DosageUnit = ds.Tables[0].Rows[0]["DosageUnit"].ToString();
MedicalItemObj.PackingUnit = ds.Tables[0].Rows[0]["PackingUnit"].ToString();
MedicalItemObj.SplitUnit = ds.Tables[0].Rows[0]["SplitUnit"].ToString();
if(ds.Tables[0].Rows[0]["Quotiety"].ToString()!="")
{
MedicalItemObj.Quotiety = int.Parse(ds.Tables[0].Rows[0]["Quotiety"].ToString());
}
if(ds.Tables[0].Rows[0]["IsValid"].ToString()!="")
{
MedicalItemObj.IsValid = int.Parse(ds.Tables[0].Rows[0]["IsValid"].ToString());
}
MedicalItemObj.Remark = ds.Tables[0].Rows[0]["Remark"].ToString();
MedicalItemObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
MedicalItemObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
{
MedicalItemObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
}
}
return MedicalItemObj;
}
public static DataTable GetDataTable()
{
StringBuilder strSql = new StringBuilder();
strSql.Append("select [Id],[No],[Name],[HelpCode],[MedicalItemAlias],[MedicalItemAliasHelpCode],[RetailPrice],[DosageKindId],[Stand],[BarCode],[MedicalDictNo],[DrugKindId],[PharmaCologyId],[InsuranceKind],[InsuranceKindNH],[Antibiotics],[IsSkintest],[Dosage],[DosageUnit],[PackingUnit],[SplitUnit],[Quotiety],[IsValid],[Remark],[OperatorNo],[OperatorName],[OperateDate] ");
strSql.Append(" FROM MedicalItem ");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetMedicalItemDrugDataTable(string HelpCode, int IsValid)
{
string strSql = "SELECT mi.Id, mi.No, mi.Name,mi.MedicalItemAlias,mi.Stand,dk.Name AS DosageKindName,mi.BarCode,mi.MedicalDictNo, " +
"dk2.Name AS DrugKindName,pc.Name AS PharmaCologyName,mi.InsuranceKind,mi.InsuranceKindNH, " +
"mi.Antibiotics,CASE mi.IsSkintest WHEN 0 THEN '非皮试' WHEN 1 THEN '皮试' end as IsSkintest, " +
"mi.Dosage,mi.DosageUnit,mi.PackingUnit,mi.SplitUnit,mi.Quotiety,mi.Remark," +
"CASE mi.IsValid WHEN 0 THEN '无效' WHEN 1 THEN '有效' end as IsValid FROM MedicalItem mi " +
"LEFT JOIN DosageKind dk ON dk.Id =mi.DosageKindId " +
"LEFT JOIN DrugKind dk2 ON dk2.Id =mi.DrugKindId " +
"LEFT JOIN PharmaCology pc ON pc.Id =mi.PharmaCologyId " +
"WHERE mi.IsValid ='" + IsValid + "' and ((mi.Name LIKE '%" + HelpCode + "%') OR (mi.HelpCode LIKE '%" + HelpCode + "%') OR (mi.MedicalItemAlias LIKE '%" + HelpCode + "%') OR (mi.MedicalItemAliasHelpCode LIKE '%" + HelpCode + "%')) ";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetMedicalItemByDrugKindId(int DrugKindId)
{
string strSql = "SELECT mi.Id, mi.No, mi.Name,mi.MedicalItemAlias,mi.Stand,dk.Name AS DosageKindName,mi.BarCode,mi.MedicalDictNo, " +
"dk2.Name AS DrugKindName,pc.Name AS PharmaCologyName,mi.InsuranceKind,mi.InsuranceKindNH, " +
"mi.Antibiotics,CASE mi.IsSkintest WHEN 0 THEN '非皮试' WHEN 1 THEN '皮试' end as IsSkintest, " +
"mi.Dosage,mi.DosageUnit,mi.PackingUnit,mi.SplitUnit,mi.Quotiety,mi.Remark," +
"CASE mi.IsValid WHEN 0 THEN '无效' WHEN 1 THEN '有效' end as IsValid FROM MedicalItem mi " +
"LEFT JOIN DosageKind dk ON dk.Id =mi.DosageKindId " +
"LEFT JOIN DrugKind dk2 ON dk2.Id =mi.DrugKindId " +
"LEFT JOIN PharmaCology pc ON pc.Id =mi.PharmaCologyId " +
"WHERE mi.DrugKindId ='" + DrugKindId + "'";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static int GetMedicalItemByDictNo(string MedicalDictNo)
{
string strSql = "SELECT COUNT(*) RowsCount FROM MedicalItem mi WHERE mi.MedicalDictNo='" + MedicalDictNo + "'";
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
return int.Parse(dt.Rows[0]["RowsCount"].ToString());
}
}
}

View File

@ -1,79 +0,0 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using System.Collections.Generic;
using AIMSModel;
using AIMSObjectQuery;
using System.Text;
namespace AIMSDAL
{
internal partial class DMedicalItemKind
{
public static void Add(MedicalItemKind MedicalItemKindObj)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into [MedicalItemKind](");
strSql.Append("Name,IsMed,IsValid,OperatorNo,OperatorName,OperateDate");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("'"+MedicalItemKindObj.Name+"',");
strSql.Append("'"+MedicalItemKindObj.IsMed+"',");
strSql.Append(""+MedicalItemKindObj.IsValid+",");
strSql.Append("'"+MedicalItemKindObj.OperatorNo+"',");
strSql.Append("'"+MedicalItemKindObj.OperatorName+"',");
strSql.Append("'"+MedicalItemKindObj.OperateDate+"'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static MedicalItemKind GetModel(int Id)
{
MedicalItemKind MedicalItemKindObj = new MedicalItemKind();
StringBuilder strSql=new StringBuilder();
strSql.Append("select ");
strSql.Append("Id,Name,IsMed,IsValid,OperatorNo,OperatorName,OperateDate ");
strSql.Append(" from MedicalItemKind ");
strSql.Append(" where Id="+Id+"" );
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
if(ds.Tables[0].Rows.Count>0)
{
if(ds.Tables[0].Rows[0]["Id"].ToString()!="")
{
MedicalItemKindObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
}
MedicalItemKindObj.Name = ds.Tables[0].Rows[0]["Name"].ToString();
MedicalItemKindObj.IsMed = ds.Tables[0].Rows[0]["IsMed"].ToString();
if(ds.Tables[0].Rows[0]["IsValid"].ToString()!="")
{
MedicalItemKindObj.IsValid = int.Parse(ds.Tables[0].Rows[0]["IsValid"].ToString());
}
MedicalItemKindObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
MedicalItemKindObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="")
{
MedicalItemKindObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
}
}
return MedicalItemKindObj;
}
public static DataTable GetDataTable()
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select [Id],[Name],CASE IsMed WHEN 1 THEN '药品' WHEN 0 THEN '非药品' END AS IsMed,CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid");
strSql.Append(" FROM MedicalItemKind ");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetTreeViewDataTable()
{
string strSql = "SELECT dk.Id, dk.Name,mik.Name AS MedicalItemKindName FROM DrugKind dk " +
"LEFT JOIN MedicalItemKind mik ON mik.Id =dk.MedicalItemKindId " +
"WHERE mik.IsMed=1 AND dk.IsValid=1 ";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
}
}

View File

@ -238,7 +238,7 @@ namespace AIMSDAL
public static DataTable GetOperationFrontDataTableByPatientId(int PatientId)
{
string strSql = "SELECT of1.ApplyId, of1.MdrecNo, of1.ArchivesNo, of1.PatientName,of1.DepartmentId,of1.ApplyDepName, of1.PatientKind," +
string strSql = "SELECT of1.ApplyId, of1.MdrecNo, of1.ArchivesNo, of1.PatientName,of1.DepartmentId,of1.PatientDepName,of1.ApplyDepName, of1.PatientKind," +
"of1.Sex, of1.BirthDay, of1.Height, of1.[Weight], of1.BloodType," +
"of1.RHBloodType, of1.Illdistrict, of1.SickBed, of1.OperationType," +
"of1.OrderOperationTime, of1.OperationTimeLeight, of1.[State],of1.StateId," +

View File

@ -1,104 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
[Serializable]
public partial class MedicalDict
{
private int? id;
private string no;
private string name;
private string helpCode;
private int? drugKindId;
private int? dosageKindId;
private int? isValid;
private string operatorNo;
private string operatorName;
private DateTime? operateDate;
/// <summary>
///
/// </summary>
public int? Id
{
get{ return id; }
set{ id=value; }
}
/// <summary>
///
/// </summary>
public string No
{
get{ return no; }
set{ no=value; }
}
/// <summary>
///
/// </summary>
public string Name
{
get{ return name; }
set{ name=value; }
}
/// <summary>
///
/// </summary>
public string HelpCode
{
get{ return helpCode; }
set{ helpCode=value; }
}
/// <summary>
///
/// </summary>
public int? DrugKindId
{
get{ return drugKindId; }
set{ drugKindId=value; }
}
/// <summary>
///
/// </summary>
public int? DosageKindId
{
get{ return dosageKindId; }
set{ dosageKindId=value; }
}
/// <summary>
///
/// </summary>
public int? IsValid
{
get{ return isValid; }
set{ isValid=value; }
}
/// <summary>
///
/// </summary>
public string OperatorNo
{
get{ return operatorNo; }
set{ operatorNo=value; }
}
/// <summary>
///
/// </summary>
public string OperatorName
{
get{ return operatorName; }
set{ operatorName=value; }
}
/// <summary>
///
/// </summary>
public DateTime? OperateDate
{
get{ return operateDate; }
set{ operateDate=value; }
}
}
}

View File

@ -1,257 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
[Serializable]
public partial class MedicalItem
{
private int? id;
private string no;
private string name;
private string helpCode;
private string medicalItemAlias;
private string medicalItemAliasHelpCode;
private Decimal? retailPrice;
private int? dosageKindId;
private string stand;
private string barCode;
private string medicalDictNo;
private int? drugKindId;
private int? pharmaCologyId;
private string insuranceKind;
private string insuranceKindNH;
private string antibiotics;
private int? isSkintest;
private Decimal? dosage;
private string dosageUnit;
private string packingUnit;
private string splitUnit;
private int? quotiety;
private int? isValid;
private string remark;
private string operatorNo;
private string operatorName;
private DateTime? operateDate;
/// <summary>
///
/// </summary>
public int? Id
{
get{ return id; }
set{ id=value; }
}
/// <summary>
/// 编码
/// </summary>
public string No
{
get{ return no; }
set{ no=value; }
}
/// <summary>
/// 名称
/// </summary>
public string Name
{
get{ return name; }
set{ name=value; }
}
/// <summary>
/// 帮助码
/// </summary>
public string HelpCode
{
get{ return helpCode; }
set{ helpCode=value; }
}
/// <summary>
/// 别名
/// </summary>
public string MedicalItemAlias
{
get{ return medicalItemAlias; }
set{ medicalItemAlias=value; }
}
/// <summary>
/// 别名帮助码
/// </summary>
public string MedicalItemAliasHelpCode
{
get{ return medicalItemAliasHelpCode; }
set{ medicalItemAliasHelpCode=value; }
}
/// <summary>
/// 零售价格
/// </summary>
public Decimal? RetailPrice
{
get{ return retailPrice; }
set{ retailPrice=value; }
}
/// <summary>
/// 剂型
/// </summary>
public int? DosageKindId
{
get{ return dosageKindId; }
set{ dosageKindId=value; }
}
/// <summary>
/// 规格
/// </summary>
public string Stand
{
get{ return stand; }
set{ stand=value; }
}
/// <summary>
/// 条形码
/// </summary>
public string BarCode
{
get{ return barCode; }
set{ barCode=value; }
}
/// <summary>
/// 品种码
/// </summary>
public string MedicalDictNo
{
get{ return medicalDictNo; }
set{ medicalDictNo=value; }
}
/// <summary>
/// 药物分类
/// </summary>
public int? DrugKindId
{
get{ return drugKindId; }
set{ drugKindId=value; }
}
/// <summary>
/// 药理分类
/// </summary>
public int? PharmaCologyId
{
get{ return pharmaCologyId; }
set{ pharmaCologyId=value; }
}
/// <summary>
/// 医保类别
/// </summary>
public string InsuranceKind
{
get{ return insuranceKind; }
set{ insuranceKind=value; }
}
/// <summary>
/// 农合类别
/// </summary>
public string InsuranceKindNH
{
get{ return insuranceKindNH; }
set{ insuranceKindNH=value; }
}
/// <summary>
/// 抗菌素
/// </summary>
public string Antibiotics
{
get{ return antibiotics; }
set{ antibiotics=value; }
}
/// <summary>
/// 是否皮试
/// </summary>
public int? IsSkintest
{
get{ return isSkintest; }
set{ isSkintest=value; }
}
/// <summary>
/// 剂量
/// </summary>
public Decimal? Dosage
{
get{ return dosage; }
set{ dosage=value; }
}
/// <summary>
/// 剂量单位
/// </summary>
public string DosageUnit
{
get{ return dosageUnit; }
set{ dosageUnit=value; }
}
/// <summary>
/// 包装单位
/// </summary>
public string PackingUnit
{
get{ return packingUnit; }
set{ packingUnit=value; }
}
/// <summary>
/// 拆分单位
/// </summary>
public string SplitUnit
{
get{ return splitUnit; }
set{ splitUnit=value; }
}
/// <summary>
/// 转换系数
/// </summary>
public int? Quotiety
{
get{ return quotiety; }
set{ quotiety=value; }
}
/// <summary>
/// 是否有效
/// </summary>
public int? IsValid
{
get{ return isValid; }
set{ isValid=value; }
}
/// <summary>
/// 备注
/// </summary>
public string Remark
{
get{ return remark; }
set{ remark=value; }
}
/// <summary>
/// 操作员工号
/// </summary>
public string OperatorNo
{
get{ return operatorNo; }
set{ operatorNo=value; }
}
/// <summary>
/// 操作员姓名
/// </summary>
public string OperatorName
{
get{ return operatorName; }
set{ operatorName=value; }
}
/// <summary>
/// 操作日期
/// </summary>
public DateTime? OperateDate
{
get{ return operateDate; }
set{ operateDate=value; }
}
}
}

View File

@ -1,77 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
[Serializable]
public partial class MedicalItemKind
{
private int? id;
private string name;
private string isMed;
private int? isValid;
private string operatorNo;
private string operatorName;
private DateTime? operateDate;
/// <summary>
///
/// </summary>
public int? Id
{
get{ return id; }
set{ id=value; }
}
/// <summary>
///
/// </summary>
public string Name
{
get{ return name; }
set{ name=value; }
}
/// <summary>
///
/// </summary>
public string IsMed
{
get{ return isMed; }
set{ isMed=value; }
}
/// <summary>
///
/// </summary>
public int? IsValid
{
get{ return isValid; }
set{ isValid=value; }
}
/// <summary>
///
/// </summary>
public string OperatorNo
{
get{ return operatorNo; }
set{ operatorNo=value; }
}
/// <summary>
///
/// </summary>
public string OperatorName
{
get{ return operatorName; }
set{ operatorName=value; }
}
/// <summary>
///
/// </summary>
public DateTime? OperateDate
{
get{ return operateDate; }
set{ operateDate=value; }
}
}
}

View File

@ -1,10 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
public partial class MedicalDict
{
}
}

View File

@ -1,10 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
public partial class MedicalItem
{
}
}

View File

@ -1,10 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using AIMSDAL;
namespace AIMSModel
{
public partial class MedicalItemKind
{
}
}

View File

@ -39,10 +39,7 @@ namespace AIMSObjectQuery
entitiesMap.Add("factpersonduty",new EntityInfo("FactPersonDuty",new FactPersonDutyMap()));
entitiesMap.Add("hospitalinfo",new EntityInfo("HospitalInfo",new HospitalInfoMap()));
entitiesMap.Add("kbitem",new EntityInfo("KB_ITEM",new KBITEMMap()));
entitiesMap.Add("kblist",new EntityInfo("KB_LIST",new KBLISTMap()));
entitiesMap.Add("medicaldict",new EntityInfo("MedicalDict",new MedicalDictMap()));
entitiesMap.Add("medicalitem",new EntityInfo("MedicalItem",new MedicalItemMap()));
entitiesMap.Add("medicalitemkind",new EntityInfo("MedicalItemKind",new MedicalItemKindMap()));
entitiesMap.Add("kblist",new EntityInfo("KB_LIST",new KBLISTMap()));
entitiesMap.Add("medicamentprice",new EntityInfo("MedicamentPrice",new MedicamentPriceMap()));
entitiesMap.Add("menu",new EntityInfo("Menu",new MenuMap()));
entitiesMap.Add("notice",new EntityInfo("Notice",new NoticeMap()));

View File

@ -1,43 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class MedicalDictMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public MedicalDictMap()
{
dictionary.Add("id", "Id");
dictionary.Add("no", "No");
dictionary.Add("name", "Name");
dictionary.Add("helpcode", "HelpCode");
dictionary.Add("drugkindid", "DrugKindId");
dictionary.Add("dosagekindid", "DosageKindId");
dictionary.Add("isvalid", "IsValid");
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}

View File

@ -1,40 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class MedicalItemKindMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public MedicalItemKindMap()
{
dictionary.Add("id", "Id");
dictionary.Add("name", "Name");
dictionary.Add("ismed", "IsMed");
dictionary.Add("isvalid", "IsValid");
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}

View File

@ -1,60 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class MedicalItemMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public MedicalItemMap()
{
dictionary.Add("id", "Id");
dictionary.Add("no", "No");
dictionary.Add("name", "Name");
dictionary.Add("helpcode", "HelpCode");
dictionary.Add("medicalitemalias", "MedicalItemAlias");
dictionary.Add("medicalitemaliashelpcode", "MedicalItemAliasHelpCode");
dictionary.Add("retailprice", "RetailPrice");
dictionary.Add("dosagekindid", "DosageKindId");
dictionary.Add("stand", "Stand");
dictionary.Add("barcode", "BarCode");
dictionary.Add("medicaldictno", "MedicalDictNo");
dictionary.Add("drugkindid", "DrugKindId");
dictionary.Add("pharmacologyid", "PharmaCologyId");
dictionary.Add("insurancekind", "InsuranceKind");
dictionary.Add("insurancekindnh", "InsuranceKindNH");
dictionary.Add("antibiotics", "Antibiotics");
dictionary.Add("isskintest", "IsSkintest");
dictionary.Add("dosage", "Dosage");
dictionary.Add("dosageunit", "DosageUnit");
dictionary.Add("packingunit", "PackingUnit");
dictionary.Add("splitunit", "SplitUnit");
dictionary.Add("quotiety", "Quotiety");
dictionary.Add("isvalid", "IsValid");
dictionary.Add("remark", "Remark");
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}

View File

@ -192,18 +192,18 @@ namespace DrawGraph
if (pan != null)
{
foreach (Control conl in pan.Controls)
{
RadioButton chBox = conl as RadioButton;
{
CheckBox chBox = conl as CheckBox;
if (chBox != null)
{
chBox.CheckedChanged -= new EventHandler(txt_Leave);
chBox.CheckedChanged += new EventHandler(txt_Leave);
chBox.Click -= new EventHandler(radio_click);
chBox.Click += new EventHandler(radio_click);
//chBox.Click -= new EventHandler(radio_click);
//chBox.Click += new EventHandler(radio_click);
}
}
}
}
}
else
{
if (ableEdit.ControlType == EControlType.TextBox)
@ -354,7 +354,7 @@ namespace DrawGraph
spanT = spanT.Remove(spanT.Length - conl.Text.Length, conl.Text.Length);
}
}
RadioButton radio = conl as RadioButton;
CheckBox radio = conl as CheckBox;
if (radio.Checked)
{
text += "☑" + conl.Text + spanT;
@ -454,19 +454,19 @@ namespace DrawGraph
}
}
private void radio_click(object sender, EventArgs e)
{
RadioButton control = (RadioButton)sender;
if (control == null) return;
//private void radio_click(object sender, EventArgs e)
//{
// CheckBox control = (CheckBox)sender;
// if (control == null) return;
if (!valChang)
{
control.Checked = false;
}
// if (!valChang)
// {
// control.Checked = false;
// }
valChang = false;
// valChang = false;
}
//}
private void txt_Leave(object sender, EventArgs e)
{
@ -481,14 +481,16 @@ namespace DrawGraph
SetAbleEditView(ableEdit);
if (ableEdit.ControlType == EControlType.RadioButtonList)
{
RadioButton rb = (RadioButton)sender;
if (control == null) return;
AbleEditPackObj ableEdit1 = control.Tag as AbleEditPackObj;
AbleEditPackObj selectAbleEdit = null;
//值变了
valChang = true;
if ((sender as CheckBox).Checked == true)
{
foreach (CheckBox chk in (sender as CheckBox).Parent.Controls)
{
if (chk != sender)
{
chk.Checked = false;
}
}
}
}
}
catch (Exception ex)

View File

@ -167,6 +167,7 @@ namespace DrawGraph
private string patientType;
private int? applyDepartmentId;
private string applyDepartmentName;
private string patientDepName;
private string applyDepName;
private string applydiagnose;
private string applydiagnoseRemark;
@ -201,7 +202,13 @@ namespace DrawGraph
get { return applyDepartmentId; }
set { applyDepartmentId = value; }
}
[ClassAttributs(Description = "申请科室")]
[ClassAttributs(Description = "患者科室")]
public string PatientDepName
{
get { return patientDepName; }
set { patientDepName = value; }
}
[ClassAttributs(Description = "申请科室+床号")]
public string ApplyDepartmentName
{
get { return applyDepartmentName; }

View File

@ -133,13 +133,13 @@ namespace DrawGraph
{
foreach (Control conl in pan.Controls)
{
RadioButton chBox = conl as RadioButton;
CheckBox chBox = conl as CheckBox ;
if (chBox != null)
{
chBox.CheckedChanged -= new EventHandler(txt_Leave);
chBox.CheckedChanged += new EventHandler(txt_Leave);
chBox.Click -= new EventHandler(radio_click);
chBox.Click += new EventHandler(radio_click);
//chBox.Click -= new EventHandler(radio_click);
//chBox.Click += new EventHandler(radio_click);
}
}
}
@ -316,7 +316,7 @@ namespace DrawGraph
spanT = spanT.Remove(spanT.Length - conl.Text.Length, conl.Text.Length);
}
}
RadioButton radio = conl as RadioButton;
CheckBox radio = conl as CheckBox;
if (radio.Checked)
{
text += "☑" + conl.Text + spanT;
@ -432,21 +432,7 @@ namespace DrawGraph
{
template.ZedControl.Refresh();
}
}
private void radio_click(object sender, EventArgs e)
{
RadioButton control = (RadioButton)sender;
if (control == null) return;
if (!valChang)
{
control.Checked = false;
}
valChang = false;
}
}
private void txt_Leave(object sender, EventArgs e)
{
@ -460,15 +446,19 @@ namespace DrawGraph
{
SetAbleEditView(ableEdit);
if (ableEdit.ControlType == EControlType.RadioButtonList)
{
RadioButton rb = (RadioButton)sender;
if (control == null) return;
AbleEditPackObj ableEdit1 = control.Tag as AbleEditPackObj;
AbleEditPackObj selectAbleEdit = null;
//值变了
valChang = true;
{
if ((sender as CheckBox).Checked == true)
{
foreach (CheckBox chk in (sender as CheckBox).Parent.Controls)
{
chk.CheckedChanged -= new EventHandler(txt_Leave);
if (chk != sender)
{
chk.Checked = false;
}
chk.CheckedChanged += new EventHandler(txt_Leave);
}
}
}
}
catch (Exception ex)

File diff suppressed because it is too large Load Diff

View File

@ -73,7 +73,7 @@ namespace DrawGraph
public enum EControlType {
TextBox,
CheckBox,
RadioButtonList,
RadioButtonList,
DateTimePicker,
Directory,
ComboBox,