提交当前本机整理版本
This commit is contained in:
@@ -8,7 +8,7 @@ namespace NewMyFormDesigner
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>{FB58ED9E-DD23-4CD9-98AB-4059609ADB87}
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
@@ -20,21 +20,22 @@ namespace NewMyFormDesigner
|
||||
try
|
||||
{
|
||||
MyFormDesigner myFormDesigner = new MyFormDesigner();
|
||||
//myFormDesigner.FrmKey = "{80d30957-bca9-4ad4-8cf6-2e947e92b89b}";
|
||||
|
||||
//myFormDesigner.FrmKey = "{83184D92-F406-487E-9110-2CB991BFA817}";//B32C9D6E-EB85-4CE1-9B81-2B22EDF2D125 56F43621-6C15-4BDD-8870-98D235ECAB91
|
||||
|
||||
//myFormDesigner.SelectSQL = @"select b.orderid,b.id as fieldid,fieldname,username1 as username,
|
||||
// fieldsqltag as fieldtypeid,defaultdate as defaultValue
|
||||
// from p_systemDlltab a
|
||||
// left join p_systemwordbooktab b on a.DllCoid=b.tab where a.formkey='{80d30957-bca9-4ad4-8cf6-2e947e92b89b}' and fieldsqltag<>3 and username1 is not null and isnull(addVisible,0)=0";
|
||||
// left join p_systemwordbooktab b on a.DllCoid=b.tab where a.formkey='{83184D92-F406-487E-9110-2CB991BFA817}' and fieldsqltag<>3 and username1 is not null and isnull(addVisible,0)=0";
|
||||
|
||||
//myFormDesigner.updateSQL = @"update p_systemwordbooktab set controlleft=b.controlleft ,controlTop=b.controlTop, controlHeight=b.controlHeight,controlWidth=b.controlWidth, tabOrder=b.tabOrder from p_systemControlLocation b where p_systemwordbooktab.formKey=b.formKey and p_systemwordbooktab.id=b.fieldId and b.formkey='{80d30957-bca9-4ad4-8cf6-2e947e92b89b}'";
|
||||
//myFormDesigner.updateSQL = @"update p_systemwordbooktab set controlleft=b.controlleft ,controlTop=b.controlTop, controlHeight=b.controlHeight,controlWidth=b.controlWidth, tabOrder=b.tabOrder from p_systemControlLocation b where p_systemwordbooktab.formKey=b.formKey and p_systemwordbooktab.id=b.fieldId and b.formkey='{83184D92-F406-487E-9110-2CB991BFA817}'";
|
||||
|
||||
|
||||
|
||||
//myFormDesigner.ServerName = "222.209.207.65,37892";
|
||||
//myFormDesigner.DatabaseName = "lserp_xdsy";
|
||||
//myFormDesigner.ServerName = "110.185.161.104:5236";
|
||||
//myFormDesigner.DatabaseName = "LSERP_JTCS";
|
||||
//myFormDesigner.AccountNumber = "lserpAdmin";
|
||||
//myFormDesigner.Password = "";//XDerp20210411%
|
||||
//myFormDesigner.Password = "DWlserp1101";//XDerp20210411%
|
||||
|
||||
//MessageBox.Show(args.Length + "");
|
||||
//MessageBox.Show(args[0]);
|
||||
@@ -74,7 +75,6 @@ namespace NewMyFormDesigner
|
||||
fieldsqltag as fieldtypeid,defaultdate as defaultValue
|
||||
from p_systemDlltab a
|
||||
left join p_systemwordbooktab b on a.DllCoid=b.tab where a.formkey='" + myFormDesigner.FrmKey + "' and fieldsqltag<>3 and username1 is not null and isnull(addVisible,0)=0";
|
||||
|
||||
myFormDesigner.updateSQL = @"update p_systemwordbooktab set controlleft=b.controlleft ,controlTop=b.controlTop, controlHeight=b.controlHeight,controlWidth=b.controlWidth, tabOrder=b.tabOrder
|
||||
from p_systemControlLocation b where p_systemwordbooktab.formKey=b.formKey and p_systemwordbooktab.id=b.fieldId and b.formkey='" + myFormDesigner.FrmKey + "'";
|
||||
}
|
||||
@@ -85,7 +85,6 @@ namespace NewMyFormDesigner
|
||||
fieldTypeId as fieldtypeid,defaultValue as defaultValue
|
||||
from p_systembilltype a
|
||||
left join P_systembillinfo b on a.typecode=b.typecode where a.formkey='" + myFormDesigner.FrmKey + "' and fieldTypeId<>3 and userName is not null";
|
||||
|
||||
myFormDesigner.updateSQL = @"update P_systembillinfo set controlleft=b.controlleft ,controlTop=b.controlTop, controlHeight=b.controlHeight,controlWidth=b.controlWidth, tabOrder=b.tabOrder
|
||||
from p_systemControlLocation b where P_systembillinfo.formKey=b.formKey and P_systembillinfo.id=b.fieldId and b.formkey='" + myFormDesigner.FrmKey + "'";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user