From 93b9a4bd47bfec774894928392d52a61fca07c38 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 20 十月 2022 10:37:32 +0800 Subject: [PATCH] 修改数据结构、业务数据映射 --- JavaCode/FrmMain.Designer.cs | 398 ++++---------------------------------------------------- 1 files changed, 32 insertions(+), 366 deletions(-) diff --git a/JavaCode/FrmMain.Designer.cs b/JavaCode/FrmMain.Designer.cs index cf64b9d..ccb57a1 100644 --- a/JavaCode/FrmMain.Designer.cs +++ b/JavaCode/FrmMain.Designer.cs @@ -3,14 +3,14 @@ partial class FrmMain { /// <summary> - /// 蹇呴渶鐨勮璁″櫒鍙橀噺銆� + /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> - /// 娓呯悊鎵�鏈夋鍦ㄤ娇鐢ㄧ殑璧勬簮銆� + /// Clean up any resources being used. /// </summary> - /// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) @@ -20,391 +20,57 @@ base.Dispose(disposing); } - #region Windows 绐椾綋璁捐鍣ㄧ敓鎴愮殑浠g爜 + #region Windows Form Designer generated code /// <summary> - /// 璁捐鍣ㄦ敮鎸佹墍闇�鐨勬柟娉� - 涓嶈 - /// 浣跨敤浠g爜缂栬緫鍣ㄤ慨鏀规鏂规硶鐨勫唴瀹广�� + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { - this.tabList = new System.Windows.Forms.ListBox(); - this.btnReadTab = new System.Windows.Forms.Button(); - this.txtTabPre = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.txtTabNS = new System.Windows.Forms.TextBox(); - this.txtMapperNS = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.txtEntityNS = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.button4 = new System.Windows.Forms.Button(); - this.dgvTab = new System.Windows.Forms.DataGridView(); - this.label4 = new System.Windows.Forms.Label(); - this.txtInsert = new System.Windows.Forms.TextBox(); - this.txtUpdate = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.button5 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); - this.txtNS = new System.Windows.Forms.TextBox(); - this.button2 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.txtServiceNS = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.txtControllerNS = new System.Windows.Forms.TextBox(); - this.label7 = new System.Windows.Forms.Label(); - this.txtApiTag = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dgvTab)).BeginInit(); + this.btnSys = new System.Windows.Forms.Button(); + this.btnMybatis = new System.Windows.Forms.Button(); this.SuspendLayout(); // - // tabList + // btnSys // - this.tabList.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.tabList.FormattingEnabled = true; - this.tabList.ItemHeight = 16; - this.tabList.Location = new System.Drawing.Point(12, 49); - this.tabList.Name = "tabList"; - this.tabList.Size = new System.Drawing.Size(353, 244); - this.tabList.TabIndex = 0; - this.tabList.SelectedIndexChanged += new System.EventHandler(this.tabList_SelectedIndexChanged); + this.btnSys.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSys.Location = new System.Drawing.Point(142, 63); + this.btnSys.Name = "btnSys"; + this.btnSys.Size = new System.Drawing.Size(183, 25); + this.btnSys.TabIndex = 13; + this.btnSys.Text = "鐢� 鎴� 绯� 缁� 琛�"; + this.btnSys.UseVisualStyleBackColor = true; + this.btnSys.Click += new System.EventHandler(this.btnSys_Click); // - // btnReadTab + // btnMybatis // - this.btnReadTab.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnReadTab.Location = new System.Drawing.Point(247, 13); - this.btnReadTab.Name = "btnReadTab"; - this.btnReadTab.Size = new System.Drawing.Size(118, 23); - this.btnReadTab.TabIndex = 1; - this.btnReadTab.Text = "璇诲彇鏁版嵁搴撹〃"; - this.btnReadTab.UseVisualStyleBackColor = true; - this.btnReadTab.Click += new System.EventHandler(this.btnReadTab_Click); - // - // txtTabPre - // - this.txtTabPre.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtTabPre.Location = new System.Drawing.Point(129, 10); - this.txtTabPre.Name = "txtTabPre"; - this.txtTabPre.Size = new System.Drawing.Size(100, 26); - this.txtTabPre.TabIndex = 2; - this.txtTabPre.Text = "sys_"; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(437, 18); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(88, 16); - this.label1.TabIndex = 6; - this.label1.Text = "琛ㄥ悕鍓嶇紑锛�"; - // - // txtTabNS - // - this.txtTabNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtTabNS.Location = new System.Drawing.Point(529, 13); - this.txtTabNS.Name = "txtTabNS"; - this.txtTabNS.Size = new System.Drawing.Size(339, 26); - this.txtTabNS.TabIndex = 7; - this.txtTabNS.Text = "lf."; - // - // txtMapperNS - // - this.txtMapperNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtMapperNS.Location = new System.Drawing.Point(529, 51); - this.txtMapperNS.Name = "txtMapperNS"; - this.txtMapperNS.Size = new System.Drawing.Size(339, 26); - this.txtMapperNS.TabIndex = 9; - this.txtMapperNS.Text = "com.lf.server.mapper.sys"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(389, 56); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(136, 16); - this.label2.TabIndex = 8; - this.label2.Text = "Mapper鍚嶇О绌洪棿锛�"; - // - // txtEntityNS - // - this.txtEntityNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtEntityNS.Location = new System.Drawing.Point(529, 88); - this.txtEntityNS.Name = "txtEntityNS"; - this.txtEntityNS.Size = new System.Drawing.Size(339, 26); - this.txtEntityNS.TabIndex = 11; - this.txtEntityNS.Text = "com.lf.server.entity.sys"; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label3.Location = new System.Drawing.Point(389, 93); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(136, 16); - this.label3.TabIndex = 10; - this.label3.Text = "Entity鍚嶇О绌洪棿锛�"; - // - // button4 - // - this.button4.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button4.Location = new System.Drawing.Point(885, 202); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(183, 25); - this.button4.TabIndex = 12; - this.button4.Text = "鐢� 鎴� 鎵� 鏈� 鏂� 浠�"; - this.button4.UseVisualStyleBackColor = true; - this.button4.Click += new System.EventHandler(this.generateAll_Click); - // - // dgvTab - // - this.dgvTab.AllowUserToAddRows = false; - this.dgvTab.AllowUserToDeleteRows = false; - this.dgvTab.BackgroundColor = System.Drawing.SystemColors.ButtonFace; - this.dgvTab.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvTab.Location = new System.Drawing.Point(12, 312); - this.dgvTab.Margin = new System.Windows.Forms.Padding(0); - this.dgvTab.MultiSelect = false; - this.dgvTab.Name = "dgvTab"; - this.dgvTab.ReadOnly = true; - this.dgvTab.RowHeadersWidth = 40; - this.dgvTab.RowTemplate.Height = 23; - this.dgvTab.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.dgvTab.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvTab.Size = new System.Drawing.Size(1056, 300); - this.dgvTab.TabIndex = 13; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label4.Location = new System.Drawing.Point(387, 241); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(136, 16); - this.label4.TabIndex = 14; - this.label4.Text = "鎻掑叆鏃舵帓闄ゅ瓧娈碉細"; - // - // txtInsert - // - this.txtInsert.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtInsert.Location = new System.Drawing.Point(529, 236); - this.txtInsert.Name = "txtInsert"; - this.txtInsert.Size = new System.Drawing.Size(339, 26); - this.txtInsert.TabIndex = 15; - this.txtInsert.Text = "id,update_user,update_time"; - // - // txtUpdate - // - this.txtUpdate.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtUpdate.Location = new System.Drawing.Point(529, 271); - this.txtUpdate.Name = "txtUpdate"; - this.txtUpdate.Size = new System.Drawing.Size(339, 26); - this.txtUpdate.TabIndex = 17; - this.txtUpdate.Text = "id,create_user,create_time"; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label5.Location = new System.Drawing.Point(387, 276); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(136, 16); - this.label5.TabIndex = 16; - this.label5.Text = "鏇存柊鏃舵帓闄ゅ瓧娈碉細"; - // - // button5 - // - this.button5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button5.Location = new System.Drawing.Point(885, 14); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(183, 25); - this.button5.TabIndex = 18; - this.button5.Text = "鐢� 鎴� Mapper.xml"; - this.button5.UseVisualStyleBackColor = true; - this.button5.Click += new System.EventHandler(this.mapperXml_Click); - // - // button6 - // - this.button6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button6.Location = new System.Drawing.Point(885, 52); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(183, 25); - this.button6.TabIndex = 19; - this.button6.Text = "鐢� 鎴� Mapper.java"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Click += new System.EventHandler(this.mapperJava_Click); - // - // button1 - // - this.button1.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(885, 89); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(183, 25); - this.button1.TabIndex = 20; - this.button1.Text = "鐢� 鎴� Entity.java"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.entityJava_Click); - // - // txtNS - // - this.txtNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtNS.Location = new System.Drawing.Point(12, 10); - this.txtNS.Name = "txtNS"; - this.txtNS.Size = new System.Drawing.Size(100, 26); - this.txtNS.TabIndex = 21; - this.txtNS.Text = "69701"; - // - // button2 - // - this.button2.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button2.Location = new System.Drawing.Point(885, 127); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(183, 25); - this.button2.TabIndex = 22; - this.button2.Text = "鐢� 鎴� Service.java"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.serviceJava_Click); - // - // button3 - // - this.button3.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button3.Location = new System.Drawing.Point(885, 165); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(183, 25); - this.button3.TabIndex = 23; - this.button3.Text = "鐢熸垚 Controller.java"; - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.controllerJava_Click); - // - // txtServiceNS - // - this.txtServiceNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtServiceNS.Location = new System.Drawing.Point(529, 126); - this.txtServiceNS.Name = "txtServiceNS"; - this.txtServiceNS.Size = new System.Drawing.Size(339, 26); - this.txtServiceNS.TabIndex = 25; - this.txtServiceNS.Text = "com.lf.server.service.sys"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label6.Location = new System.Drawing.Point(381, 131); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(144, 16); - this.label6.TabIndex = 24; - this.label6.Text = "Service鍚嶇О绌洪棿锛�"; - // - // txtControllerNS - // - this.txtControllerNS.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtControllerNS.Location = new System.Drawing.Point(529, 164); - this.txtControllerNS.Name = "txtControllerNS"; - this.txtControllerNS.Size = new System.Drawing.Size(339, 26); - this.txtControllerNS.TabIndex = 27; - this.txtControllerNS.Text = "com.lf.server.controller.sys"; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(365, 169); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(160, 16); - this.label7.TabIndex = 26; - this.label7.Text = "Controller鍚嶇О绌洪棿:"; - // - // txtApiTag - // - this.txtApiTag.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtApiTag.Location = new System.Drawing.Point(529, 201); - this.txtApiTag.Name = "txtApiTag"; - this.txtApiTag.Size = new System.Drawing.Size(339, 26); - this.txtApiTag.TabIndex = 29; - this.txtApiTag.Text = "杩愮淮绠$悊\\\\{bak}"; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(445, 206); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(80, 16); - this.label8.TabIndex = 28; - this.label8.Text = "Api鏍囪瘑锛�"; + this.btnMybatis.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnMybatis.Location = new System.Drawing.Point(142, 134); + this.btnMybatis.Name = "btnMybatis"; + this.btnMybatis.Size = new System.Drawing.Size(183, 25); + this.btnMybatis.TabIndex = 14; + this.btnMybatis.Text = "鐢� 鎴� Mybatis Plus"; + this.btnMybatis.UseVisualStyleBackColor = true; + this.btnMybatis.Click += new System.EventHandler(this.btnMybatis_Click); // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1095, 630); - this.Controls.Add(this.txtApiTag); - this.Controls.Add(this.label8); - this.Controls.Add(this.txtControllerNS); - this.Controls.Add(this.label7); - this.Controls.Add(this.txtServiceNS); - this.Controls.Add(this.label6); - this.Controls.Add(this.button3); - this.Controls.Add(this.button2); - this.Controls.Add(this.txtNS); - this.Controls.Add(this.button1); - this.Controls.Add(this.button6); - this.Controls.Add(this.button5); - this.Controls.Add(this.txtUpdate); - this.Controls.Add(this.label5); - this.Controls.Add(this.txtInsert); - this.Controls.Add(this.label4); - this.Controls.Add(this.dgvTab); - this.Controls.Add(this.button4); - this.Controls.Add(this.txtEntityNS); - this.Controls.Add(this.label3); - this.Controls.Add(this.txtMapperNS); - this.Controls.Add(this.label2); - this.Controls.Add(this.txtTabNS); - this.Controls.Add(this.label1); - this.Controls.Add(this.txtTabPre); - this.Controls.Add(this.btnReadTab); - this.Controls.Add(this.tabList); + this.ClientSize = new System.Drawing.Size(484, 261); + this.Controls.Add(this.btnMybatis); + this.Controls.Add(this.btnSys); this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FrmMain"; - this.Load += new System.EventHandler(this.FrmMain_Load); - ((System.ComponentModel.ISupportInitialize)(this.dgvTab)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - private System.Windows.Forms.ListBox tabList; - private System.Windows.Forms.Button btnReadTab; - private System.Windows.Forms.TextBox txtTabPre; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox txtTabNS; - private System.Windows.Forms.TextBox txtMapperNS; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.TextBox txtEntityNS; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.Button button4; - private System.Windows.Forms.DataGridView dgvTab; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.TextBox txtInsert; - private System.Windows.Forms.TextBox txtUpdate; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.TextBox txtNS; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button button3; - private System.Windows.Forms.TextBox txtServiceNS; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.TextBox txtControllerNS; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.TextBox txtApiTag; - private System.Windows.Forms.Label label8; + private System.Windows.Forms.Button btnSys; + private System.Windows.Forms.Button btnMybatis; } -} - +} \ No newline at end of file -- Gitblit v1.9.3