Browse Source

first

master
lxc 1 year ago
parent
commit
c9a9bcac2d
  1. 5
      ECDeveloper/DataBase/AI.db
  2. 5
      ECDeveloper/DataBase/AKU8.db
  3. 467
      ECDeveloper/DataBase/Advert.db
  4. 2525
      ECDeveloper/DataBase/AreaManager.db
  5. 1465
      ECDeveloper/DataBase/CodeBuilder.db
  6. 3425
      ECDeveloper/DataBase/DDT.db
  7. 5
      ECDeveloper/DataBase/DT.db
  8. 5471
      ECDeveloper/DataBase/Defence.db
  9. 595
      ECDeveloper/DataBase/Download.db
  10. 1086
      ECDeveloper/DataBase/EMail.db
  11. 1561
      ECDeveloper/DataBase/Education.db
  12. 3049
      ECDeveloper/DataBase/FQ.db
  13. 1427
      ECDeveloper/DataBase/Group.db
  14. 2476
      ECDeveloper/DataBase/GroupDefense.db
  15. 1011
      ECDeveloper/DataBase/HD.db
  16. 3431
      ECDeveloper/DataBase/HFWorkFlow.db
  17. 946
      ECDeveloper/DataBase/Interface.db
  18. 1449
      ECDeveloper/DataBase/JointControl.db
  19. 1370
      ECDeveloper/DataBase/LF.db
  20. 3205
      ECDeveloper/DataBase/MD.db
  21. 1165
      ECDeveloper/DataBase/Machine.db
  22. 5
      ECDeveloper/DataBase/OPC.db
  23. 5
      ECDeveloper/DataBase/Project.db
  24. 2523
      ECDeveloper/DataBase/ProjectManagement.db
  25. 687
      ECDeveloper/DataBase/Publicity.db
  26. 741
      ECDeveloper/DataBase/SealManager.db
  27. 4437
      ECDeveloper/DataBase/Shop.db
  28. 1
      ECDeveloper/DataBase/SpSampleDb.Sp
  29. 1
      ECDeveloper/DataBase/SpSampleDb.dbprj
  30. 305
      ECDeveloper/DataBase/Sql/Create.sql
  31. 1
      ECDeveloper/DataBase/Sql/Data.sql
  32. 70
      ECDeveloper/DataBase/Sql/Drop.sql
  33. BIN
      ECDeveloper/DataBase/Sql/vssver.scc
  34. 660
      ECDeveloper/DataBase/Supervise.db
  35. 1893
      ECDeveloper/DataBase/System.db
  36. 5
      ECDeveloper/DataBase/db_opc.db
  37. 125
      ECDeveloper/DataBase/iot.db
  38. 649
      ECDeveloper/DataBase/ticket.db
  39. BIN
      ECDeveloper/DataBase/vssver.scc
  40. 998
      ECDeveloper/DataBase/zgx.db
  41. 1
      ECDeveloper/ECDeveloper1.0.Sp
  42. 201
      ECDeveloper/Template/Code/WebBase/AlertTextBox.cs
  43. 108
      ECDeveloper/Template/Code/WebBase/ButtonEx.cs
  44. 438
      ECDeveloper/Template/Code/WebBase/Calendar.cs
  45. 1976
      ECDeveloper/Template/Code/WebBase/DataPager.cs
  46. 207
      ECDeveloper/Template/Code/WebBase/PageEx.cs
  47. 35
      ECDeveloper/Template/Code/WebBase/Properties/AssemblyInfo.cs
  48. BIN
      ECDeveloper/Template/Code/WebBase/Properties/vssver.scc
  49. 308
      ECDeveloper/Template/Code/WebBase/SqlHelper.cs
  50. 58
      ECDeveloper/Template/Code/WebBase/TextBoxEx.cs
  51. 62
      ECDeveloper/Template/Code/WebBase/WebBase.csproj
  52. 566
      ECDeveloper/Template/Code/WebBase/WebHelper.cs
  53. 17
      ECDeveloper/Template/Code/WebBase/enums.cs
  54. BIN
      ECDeveloper/Template/Code/WebBase/vssver.scc
  55. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/Thumbs.db
  56. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/bg.jpg
  57. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/header.jpg
  58. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/headerOver.jpg
  59. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_arro2.gif
  60. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_coop.gif
  61. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_expand.gif
  62. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/vssver.scc
  63. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Thumbs.db
  64. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/Thumbs.db
  65. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/bg.jpg
  66. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/logo_bg.jpg
  67. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/menu_bg_off.jpg
  68. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/menu_bg_on.jpg
  69. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/nav_bg.jpg
  70. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/nav_ico.gif
  71. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/quit_ico.gif
  72. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/vssver.scc
  73. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/btnBackgroup.jpg
  74. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/login.gif
  75. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleBg.jpg
  76. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleLeft.jpg
  77. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleRight.jpg
  78. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/vssver.scc
  79. 104
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Left.css
  80. 103
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/Top.css
  81. 197
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/default.css
  82. BIN
      ECDeveloper/Template/Code/WebSite/App_Themes/Default/vssver.scc
  83. BIN
      ECDeveloper/Template/Code/WebSite/Bin/AjaxPro.2.dll
  84. BIN
      ECDeveloper/Template/Code/WebSite/Bin/vssver.scc
  85. 4
      ECDeveloper/Template/Code/WebSite/Default.aspx
  86. 18
      ECDeveloper/Template/Code/WebSite/Default.aspx.cs
  87. 25
      ECDeveloper/Template/Code/WebSite/Default.master
  88. 18
      ECDeveloper/Template/Code/WebSite/Default.master.cs
  89. 35
      ECDeveloper/Template/Code/WebSite/Login.aspx
  90. 35
      ECDeveloper/Template/Code/WebSite/Login.aspx.cs
  91. 172
      ECDeveloper/Template/Code/WebSite/UC/LeftUc.ascx
  92. 71
      ECDeveloper/Template/Code/WebSite/UC/LeftUc.ascx.cs
  93. 43
      ECDeveloper/Template/Code/WebSite/UC/TopUc.ascx
  94. 64
      ECDeveloper/Template/Code/WebSite/UC/TopUc.ascx.cs
  95. BIN
      ECDeveloper/Template/Code/WebSite/UC/vssver.scc
  96. BIN
      ECDeveloper/Template/Code/WebSite/vssver.scc
  97. 325
      ECDeveloper/Template/DAL.cst
  98. 65
      ECDeveloper/Template/Dto.cst
  99. 1
      ECDeveloper/Template/EC.cstprj
  100. 41
      ECDeveloper/Template/FieldHelper.cs

5
ECDeveloper/DataBase/AI.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

5
ECDeveloper/DataBase/AKU8.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

467
ECDeveloper/DataBase/Advert.db

@ -0,0 +1,467 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>4c6142cd-9758-4cd0-8c8f-076da2385d82</Guid>
<Text>Advert</Text>
<ModuleName>Advert</ModuleName>
<FileNodeGuid>9bea223e-fe21-40f8-8fe9-129d8803389b</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>189</X>
<Y>123</Y>
</Location>
<Size>
<Width>102.143532</Width>
<Height>154.587875</Height>
</Size>
<X>189</X>
<Y>123</Y>
<Width>102.143532</Width>
<Height>154.587875</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>92b0c911-8a37-4b2c-809a-ebbadaee1de5</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>d27a3143-c52e-445d-83ac-10f04ef4135d</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>db123f6f-4709-489c-910a-3721ceb3b107</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>2cead7fb-58b7-49d2-95a0-66d8dce65494</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>Advert</Name>
<Guid>406c7a9a-3db0-4124-aaca-ad3e9c5880af</Guid>
<CnName>广告</CnName>
<Note />
<TableSpace>T_</TableSpace>
<Owner />
<ModuleName>Advert</ModuleName>
<Fields>
<Field>
<Guid>8dabe66b-abac-4431-8511-9cf1df876508</Guid>
<Name>Id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>bc99939b-a2f8-46dd-af5e-a4f4a74c1bd0</Guid>
<Name>TypeCode</Name>
<CnName>广告分类</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>10</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(10)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>507d7d62-dbc7-43b1-8a13-613987f368c6</Guid>
<Name>Title</Name>
<CnName>标题</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5228c9d6-ae70-4e77-965a-ff97130d17ab</Guid>
<Name>Description</Name>
<CnName>描述</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ac650722-44c3-4f39-a340-5b9e95604bbe</Guid>
<Name>Img</Name>
<CnName>图片</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b6a9661a-27b1-4840-8d9d-401543f4abe3</Guid>
<Name>LinkUrl</Name>
<CnName>链接</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>826a4de6-f4f1-4c5f-85c5-479ad305ff5d</Guid>
<Name>Module</Name>
<CnName>模块</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue>app</DefaultValue>
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes>
<Index>
<Name>PRIMARY</Name>
<Note>BTREE</Note>
<Type>Unique</Type>
<FieldNames>id</FieldNames>
</Index>
</Indexes>
<Triggers />
<Constraints />
<FileNodeGuid>9bea223e-fe21-40f8-8fe9-129d8803389b</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>542215e2-10ef-4a5f-80fe-e99a48e3f3d7</Guid>
<Text>AdvertType</Text>
<ModuleName>Advert</ModuleName>
<FileNodeGuid>9bea223e-fe21-40f8-8fe9-129d8803389b</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>44</X>
<Y>123</Y>
</Location>
<Size>
<Width>138.703583</Width>
<Height>122.419907</Height>
</Size>
<X>44</X>
<Y>123</Y>
<Width>138.703583</Width>
<Height>122.419907</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>d8bb0807-c18b-43f8-854c-b5a25f17eb63</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>4e47d066-1cde-4657-94ac-d202b432f71f</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>6c40ce56-3b92-493b-bfb4-5c2f986cf5a3</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>26d51d92-b59c-4526-9fbd-aadce1b1e3e3</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>AdvertType</Name>
<Guid>c10122ac-fb9f-4779-9411-3e39ebb5d3b0</Guid>
<CnName>广告分类</CnName>
<Note />
<TableSpace>T_</TableSpace>
<Owner />
<ModuleName>Advert</ModuleName>
<Fields>
<Field>
<Guid>89394674-f9a1-461e-a951-a6598e39faa7</Guid>
<Name>Id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ad688cb3-87f8-40a0-853a-45678a8d42ba</Guid>
<Name>TypeCode</Name>
<CnName>类别编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>52ed4108-b135-4627-95d5-025b681b9a92</Guid>
<Name>Description</Name>
<CnName>描述</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>55000b92-cca7-4974-9150-df6bc012c4e6</Guid>
<Name>OrderBy</Name>
<CnName>排序</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fafbad61-2323-4e9d-a6f4-dc6b057c6bcd</Guid>
<Name>Remark</Name>
<CnName>备注</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>9bea223e-fe21-40f8-8fe9-129d8803389b</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

2525
ECDeveloper/DataBase/AreaManager.db

File diff suppressed because it is too large

1465
ECDeveloper/DataBase/CodeBuilder.db

File diff suppressed because it is too large

3425
ECDeveloper/DataBase/DDT.db

File diff suppressed because it is too large

5
ECDeveloper/DataBase/DT.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

5471
ECDeveloper/DataBase/Defence.db

File diff suppressed because it is too large

595
ECDeveloper/DataBase/Download.db

@ -0,0 +1,595 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>7f8e4a31-8a90-4e7b-9ad3-e63ad61efedc</Guid>
<Text>DownLoadSub</Text>
<ModuleName>Download</ModuleName>
<FileNodeGuid>198e6258-8832-488e-841d-fc0ff29f812c</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>59</X>
<Y>51</Y>
</Location>
<Size>
<Width>160.537079</Width>
<Height>202.839844</Height>
</Size>
<X>59</X>
<Y>51</Y>
<Width>160.537079</Width>
<Height>202.839844</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>26f5dac0-0b66-4fc1-bf1d-983f67e81c16</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>7a640186-799c-4b54-8e8d-c5d9beb84745</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>01e3cd3f-40e3-4930-b0c3-0e68196a0874</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>9d53fee1-1c6c-4d58-9b49-4eab843d53fa</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>DownLoadSub</Name>
<Guid>6f7dfdf8-4e2a-4840-901b-b717f1b5ac25</Guid>
<CnName>附件表</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>Download</ModuleName>
<Fields>
<Field>
<Guid>4e63a340-5c9b-4cd4-82c9-127aeac042f3</Guid>
<Name>ID</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d614e54b-c1e1-4aa3-a4c9-7cf4c32ae000</Guid>
<Name>PID</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>33872e8f-0e25-4246-84a4-9d7f12e9b120</Guid>
<Name>TypeId</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note>0: 项目</Note>
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>efa8051d-6e18-4eba-a8eb-dca6acec6f72</Guid>
<Name>FileName</Name>
<CnName>驱动名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fde0aa76-d5f4-4c23-9f62-3afde3a5ce0a</Guid>
<Name>Remark</Name>
<CnName>备注</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>57650f83-9c2b-41a8-bb50-6c949735e189</Guid>
<Name>Crtman</Name>
<CnName>上传人</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5cb113ad-4d0b-4247-aa0c-2a5db836716b</Guid>
<Name>CrtDate</Name>
<CnName>创建时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>946736f9-dd2c-464e-888e-7adc12a95182</Guid>
<Name>CrtPath</Name>
<CnName>路径</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>8315eb96-4198-44a5-8167-ba4bead4efa9</Guid>
<Name>IsDel</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>736f09a1-06ee-4ac0-84d4-939d3524ae13</Guid>
<Name>Default1</Name>
<CnName>备注</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>198e6258-8832-488e-841d-fc0ff29f812c</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>000324ff-bf8a-49af-9d92-36fb62941e2d</Guid>
<Text>TabDownLoad</Text>
<ModuleName>Download</ModuleName>
<FileNodeGuid>198e6258-8832-488e-841d-fc0ff29f812c</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>269</X>
<Y>62</Y>
</Location>
<Size>
<Width>158.999</Width>
<Height>154.587875</Height>
</Size>
<X>269</X>
<Y>62</Y>
<Width>158.999</Width>
<Height>154.587875</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>a17d2032-c9b0-4d2b-9889-86c58f9b8df3</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>8108ae21-ef01-4edd-8045-2a15a7712912</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>de35431d-d7f7-4aae-859c-67e1bcce6305</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>2b35ad0c-66b2-48b9-98df-a436e3649f2e</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>TabDownLoad</Name>
<Guid>1e6a1255-c74c-48e5-9bdb-130a00741dd7</Guid>
<CnName>上传下载表</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>Download</ModuleName>
<Fields>
<Field>
<Guid>93d9d229-065e-450e-99fb-a59bcb39d408</Guid>
<Name>ID</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>90d50579-ae70-40b3-9566-9cd75f2d6fe2</Guid>
<Name>TypeId</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5dd929ee-a8f3-4ce5-a2aa-cfbc8b186251</Guid>
<Name>Pid</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ef60665c-2762-4931-ab2a-2b752995862a</Guid>
<Name>FilePath</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>100</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(100)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d1aeda64-b547-46cf-aa70-937f23645f66</Guid>
<Name>Crtdate</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ca8ce020-36ad-4069-a31f-3488c9b97b86</Guid>
<Name>Remark</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4f390dcd-30aa-4fb3-adf0-07d0775b9742</Guid>
<Name>CrtMan</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>10</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(10)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>198e6258-8832-488e-841d-fc0ff29f812c</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

1086
ECDeveloper/DataBase/EMail.db

File diff suppressed because it is too large

1561
ECDeveloper/DataBase/Education.db

File diff suppressed because it is too large

3049
ECDeveloper/DataBase/FQ.db

File diff suppressed because it is too large

1427
ECDeveloper/DataBase/Group.db

File diff suppressed because it is too large

2476
ECDeveloper/DataBase/GroupDefense.db

File diff suppressed because it is too large

1011
ECDeveloper/DataBase/HD.db

File diff suppressed because it is too large

3431
ECDeveloper/DataBase/HFWorkFlow.db

File diff suppressed because it is too large

946
ECDeveloper/DataBase/Interface.db

@ -0,0 +1,946 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>34284ce9-6a2d-4d5c-b91e-702c785f4f96</Guid>
<Text>Seceret</Text>
<ModuleName>Interface</ModuleName>
<FileNodeGuid>20723eed-4039-4532-aa07-e2891e56f020</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>128</X>
<Y>66</Y>
</Location>
<Size>
<Width>123.490234</Width>
<Height>299.34375</Height>
</Size>
<X>128</X>
<Y>66</Y>
<Width>123.490234</Width>
<Height>299.34375</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>118ba7a7-7b61-4d8c-8e00-042b0581c786</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>70f48f03-1222-4955-ba8c-05cf287fdb10</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>981769d4-741e-4f78-aafd-0e8ac5689d2b</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>4e5d8561-b137-4943-bb1b-4fec126878e8</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>Seceret</Name>
<Guid>366c0428-ec1d-47bb-be20-992215df793f</Guid>
<CnName>签章秘钥表</CnName>
<Note />
<TableSpace>Seal_</TableSpace>
<Owner />
<ModuleName>Interface</ModuleName>
<Fields>
<Field>
<Guid>fb411745-8c8a-4e0f-a5cd-ed0de13d6945</Guid>
<Name>id</Name>
<CnName>Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>63d8a27e-507e-47e0-8fba-d1fcbd3014c4</Guid>
<Name>seal_seceret</Name>
<CnName>签章秘钥</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d825eba9-a783-4ec2-9bc8-30b58d58fe91</Guid>
<Name>ua_file_Id</Name>
<CnName>文件平台统一编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>731a9ffd-03e3-473d-943d-22d3f2e8dacb</Guid>
<Name>member_code</Name>
<CnName>签名用户编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2298615b-8b96-42da-94e3-cf08725f625c</Guid>
<Name>update_time</Name>
<CnName>更新时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType7</ID>
<Name>Bigint</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Bigint</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f0df3e37-2b85-4238-a10f-bf9671f1d20f</Guid>
<Name>expires_in</Name>
<CnName>过期时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3a40274b-61f2-4aab-8dd1-aeb625ea2426</Guid>
<Name>remark</Name>
<CnName>备注</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>250</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(250)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5f4595d7-ebae-425a-ba38-53a755deb740</Guid>
<Name>default1</Name>
<CnName>备用</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>33d24ae7-de5e-4181-ae58-b01bee367500</Guid>
<Name>used</Name>
<CnName>是否使用</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fa2e1971-ac7a-4e2c-b8b9-d8598b1a396c</Guid>
<Name>notify_url</Name>
<CnName>通知地址</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>150</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(150)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>25be9d6d-1f03-460f-a416-4f9972f3cb6e</Guid>
<Name>send_success</Name>
<CnName>通知成功</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4a4ea207-0d13-4f79-9319-9e684d4c2232</Guid>
<Name>send_date</Name>
<CnName>通知时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>664b76dc-ff9f-49df-b001-1f8e968b7e3b</Guid>
<Name>access_token</Name>
<CnName>访问token</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f2e09837-65ff-41b5-8f86-898abbddaef8</Guid>
<Name>app_id</Name>
<CnName>AppId</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType15</ID>
<Name>Variant</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Variant</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>559fd36c-a8e6-4b80-bc50-2fcd3c674ef2</Guid>
<Name>add_time</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2a3f93ee-9613-46da-a431-a413bcd83279</Guid>
<Name>deteled</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>20723eed-4039-4532-aa07-e2891e56f020</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>48a6561b-7298-4633-84f4-15e07f84ef5a</Guid>
<Text>SignFile</Text>
<ModuleName>Interface</ModuleName>
<FileNodeGuid>20723eed-4039-4532-aa07-e2891e56f020</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>307</X>
<Y>73</Y>
</Location>
<Size>
<Width>123.570313</Width>
<Height>267.175781</Height>
</Size>
<X>307</X>
<Y>73</Y>
<Width>123.570313</Width>
<Height>267.175781</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>7760bc05-892d-4ed1-8a8b-b8c0b0f922c8</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>ed2a0330-6c63-4960-a536-f91661cddfe3</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>ba6e84ea-1f02-418c-8d94-760b42eeaa0c</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>a5baa7e2-f937-474e-a2ee-325fa772e730</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>SignFile</Name>
<Guid>79fe8359-b471-45bc-a9ef-8e963747cffe</Guid>
<CnName>签章文件</CnName>
<Note />
<TableSpace>Seal_</TableSpace>
<Owner />
<ModuleName>Interface</ModuleName>
<Fields>
<Field>
<Guid>ffc94e27-557b-40d5-8818-6ca87518aa00</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f48a69e5-5969-43af-b99d-f46642fac25b</Guid>
<Name>org_file_name</Name>
<CnName>文件名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d35e2e0b-2f48-46c7-b51b-8e2dc9e375a3</Guid>
<Name>ua_file_id</Name>
<CnName>平台统一文件Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c603bdbc-c9d4-4a21-9d9a-e46e9f41770f</Guid>
<Name>ua_file_name</Name>
<CnName>文件保存路径</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>100</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(100)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b08bcbbe-276f-4fb5-8d70-313178dc9723</Guid>
<Name>file_ext</Name>
<CnName>文件类型</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>10</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(10)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>bea60066-d61f-4237-b434-12a4ad974c2a</Guid>
<Name>upload_date</Name>
<CnName>上传时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3df64b09-a75e-4b6a-ba83-40d0d3e91ef7</Guid>
<Name>seal_date</Name>
<CnName>签章时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3a13d14b-39ef-4be4-b237-0b47a16e7bc3</Guid>
<Name>is_seal</Name>
<CnName>是否签章</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>a25b34dc-0c95-49d5-861c-4035451c20a7</Guid>
<Name>to_image</Name>
<CnName>转换图片</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ff612370-5cb5-42a8-b3fa-c51250247636</Guid>
<Name>page_count</Name>
<CnName>页数</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2846745e-dfe7-4663-813b-89cfb26cb5bd</Guid>
<Name>app_id</Name>
<CnName>集成商Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e5b8015e-2b2e-4514-82fb-066a38acda84</Guid>
<Name>member_code</Name>
<CnName>签名用Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>dce159cf-417c-4dae-a26c-0203da964081</Guid>
<Name>add_time</Name>
<CnName>添加时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e1fa928c-59a1-43d7-b6e1-1e19ebd6bfed</Guid>
<Name>deleted</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>20723eed-4039-4532-aa07-e2891e56f020</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

1449
ECDeveloper/DataBase/JointControl.db

File diff suppressed because it is too large

1370
ECDeveloper/DataBase/LF.db

File diff suppressed because it is too large

3205
ECDeveloper/DataBase/MD.db

File diff suppressed because it is too large

1165
ECDeveloper/DataBase/Machine.db

File diff suppressed because it is too large

5
ECDeveloper/DataBase/OPC.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

5
ECDeveloper/DataBase/Project.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

2523
ECDeveloper/DataBase/ProjectManagement.db

File diff suppressed because it is too large

687
ECDeveloper/DataBase/Publicity.db

@ -0,0 +1,687 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>02171dce-d9fc-4c30-860f-f0d985ee4aaa</Guid>
<Text>publicity_info_attachment</Text>
<ModuleName>Publicity</ModuleName>
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>576</X>
<Y>161</Y>
</Location>
<Size>
<Width>249.701111</Width>
<Height>106.335938</Height>
</Size>
<X>576</X>
<Y>161</Y>
<Width>249.701111</Width>
<Height>106.335938</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>25ebc43d-57b3-44b6-bbec-f60b744c6062</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>c439f390-6df9-47d3-9a57-316b76c32089</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>415526a6-cc49-4d99-a3f0-23b79b91ca72</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>5d544674-d655-4efe-9dda-1072c37bac01</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>publicity_info_attachment</Name>
<Guid>c411bb19-deab-43c0-afc1-262c6385dd67</Guid>
<CnName>学习资料附件</CnName>
<Note />
<TableSpace>PUB_</TableSpace>
<Owner />
<ModuleName>Publicity</ModuleName>
<Fields>
<Field>
<Guid>505047e0-abe4-4216-98ee-74468afac6b3</Guid>
<Name>id</Name>
<CnName>UUID</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ce8fc910-8aa3-4dd7-b34e-686d5b493aac</Guid>
<Name>pid</Name>
<CnName>父编码</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4ebb98fa-f8f1-4274-8556-2bdb213a40ed</Guid>
<Name>file_name</Name>
<CnName>文件名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ac88ae5e-8407-4328-be8c-8adac6094eca</Guid>
<Name>file_url</Name>
<CnName>文件路径</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>de985fea-d171-46de-94f5-3d522c491ddd</Guid>
<Text>publicity_item</Text>
<ModuleName>Publicity</ModuleName>
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>180</X>
<Y>156</Y>
</Location>
<Size>
<Width>170.916016</Width>
<Height>106.335922</Height>
</Size>
<X>180</X>
<Y>156</Y>
<Width>170.916016</Width>
<Height>106.335922</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>caffd050-78ee-42db-a366-44357e7e4cba</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>b90ed0c4-fdee-4945-8dd6-55e2015ba532</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>ba3b69c3-168f-4a99-a7a8-1a68b6f98950</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>fb2192d1-7b25-4b4d-8444-2176ffb68b31</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>publicity_item</Name>
<Guid>04ae3813-d479-434f-80c6-6ef24f40ca1c</Guid>
<CnName>宣传栏目</CnName>
<Note />
<TableSpace>PUB_</TableSpace>
<Owner />
<ModuleName>Publicity</ModuleName>
<Fields>
<Field>
<Guid>cea5863d-7535-4226-bdb6-69bea54426fa</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>17653f74-4112-4bb9-8fa7-496ab6a01de5</Guid>
<Name>pubcode</Name>
<CnName>编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>ff0504c2-836d-4377-a75c-2d7807453236</Guid>
<Name>itemname</Name>
<CnName>标题</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2f198e15-f2d9-4f7d-92f9-0b2ca8f844a3</Guid>
<Name>remark</Name>
<CnName>备注</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>6bfa177c-cd65-43e1-991f-cb23f876dafe</Guid>
<Text>publicity_info</Text>
<ModuleName>Publicity</ModuleName>
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>389</X>
<Y>157</Y>
</Location>
<Size>
<Width>150.238281</Width>
<Height>202.839828</Height>
</Size>
<X>389</X>
<Y>157</Y>
<Width>150.238281</Width>
<Height>202.839828</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>ee4db5f0-1f5e-4d5e-bb18-f7fee1e52cdb</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>2a92f482-d34f-425f-8b1d-b8640b063bf5</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>93fbb969-7e1a-4708-a882-0e72d8a97a51</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>a9e1e531-8eef-422e-94db-3039309a55a3</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>publicity_info</Name>
<Guid>d410a2a7-ed3d-460e-ae6c-9e43b315f9d2</Guid>
<CnName>宣传内容</CnName>
<Note />
<TableSpace>PUB_</TableSpace>
<Owner />
<ModuleName>Publicity</ModuleName>
<Fields>
<Field>
<Guid>a2f56578-22d3-4152-a033-0ae8283ef401</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c2c04a15-7490-4adb-b281-03f283e9aeeb</Guid>
<Name>itemid</Name>
<CnName>父类uuid</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c5119a39-cd0e-4046-ba25-8188741f6698</Guid>
<Name>infocode</Name>
<CnName>编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>0ff87c2e-51f5-485c-80b2-d374824b99ba</Guid>
<Name>title</Name>
<CnName>标题</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4f2b78c8-46ca-4b74-acd7-a2ce98551877</Guid>
<Name>h5text</Name>
<CnName>内容</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>a1e28317-7ae4-4fd5-ba54-760588c3b21e</Guid>
<Name>openlevel</Name>
<CnName>公开级别</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>0cf3ba72-f56f-4b96-950d-4d98cfd1243d</Guid>
<Name>zbdate</Name>
<CnName>制作时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>9dc1a743-09ed-4b81-a606-c19a57faebc8</Guid>
<Name>pcshow</Name>
<CnName>电脑端显示</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>331e9c05-3fa7-4001-b203-d29099503feb</Guid>
<Name>appshow</Name>
<CnName>内部app显示</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>02d0ddf6-7d39-4bd2-9d0d-0ba212e8c346</Guid>
<Name>wxshow</Name>
<CnName>微信显示</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note>备用</Note>
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>e532b6a2-7447-4740-a8e9-0610e10178bd</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

741
ECDeveloper/DataBase/SealManager.db

@ -0,0 +1,741 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>1838daf8-eeb3-44ca-bd78-72ac524fb63e</Guid>
<Text>deliver</Text>
<ModuleName>Seal</ModuleName>
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>181</X>
<Y>60</Y>
</Location>
<Size>
<Width>143.263611</Width>
<Height>154.587875</Height>
</Size>
<X>181</X>
<Y>60</Y>
<Width>143.263611</Width>
<Height>154.587875</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>38b11485-f5a9-451b-9ac4-4898059e0741</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>e10ceaf4-b9eb-4bec-87a2-33b5cbf9c889</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>800b6c53-936c-44ab-b122-e7e840be6fe4</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>d4bc84bd-2a1d-4bf2-8602-9e98882369d2</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>deliver</Name>
<Guid>c09a8738-9a5b-414e-b987-9145df4af761</Guid>
<CnName>交付表</CnName>
<Note />
<TableSpace>t_</TableSpace>
<Owner />
<ModuleName>SealManager</ModuleName>
<Fields>
<Field>
<Guid>37ec3273-5cc4-4d65-87da-2475de7f1cb5</Guid>
<Name>Id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>257a8077-ae9c-4c56-bcb1-b900413ac8dd</Guid>
<Name>StampId</Name>
<CnName>印章Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>9802e59a-9657-49a0-8527-0d6cd982e623</Guid>
<Name>RecordId</Name>
<CnName>备案Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b9c439a0-f383-4287-8fa9-4ee35f888370</Guid>
<Name>FileName</Name>
<CnName>附件名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>634ace3e-0c07-4890-8bfc-337e975fe3d5</Guid>
<Name>Xflag</Name>
<CnName>附件类型</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note>1.身份证正面 2.身份证背面 3.拍照 4.拍回执单 5.其他 10:签名 </Note>
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>981c9212-f4bd-45aa-afa8-b7df9a8051d4</Guid>
<Name>UserId</Name>
<CnName>用户Id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2e9255e0-d2cf-45e7-b49e-b0ef85d903d5</Guid>
<Name>Crtdate</Name>
<CnName>时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>6b105cf4-1323-47bd-8f35-666633964c2e</Guid>
<Text>stamp_1</Text>
<ModuleName>Seal</ModuleName>
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>414</X>
<Y>70</Y>
</Location>
<Size>
<Width>103.169922</Width>
<Height>106.335922</Height>
</Size>
<X>414</X>
<Y>70</Y>
<Width>103.169922</Width>
<Height>106.335922</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>44037c6f-bce3-4cbd-804d-84a20e4bb532</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>2f1c5e2d-e01a-4d60-8bf1-db9a0c1ecbf9</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>1c7a33a0-73c4-4fe8-8399-60268acc44b8</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>5c545ad7-55c9-4dcc-a6c2-463e36cedbc4</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>stamp_1</Name>
<Guid>4c36e786-eb67-4eee-9029-ed0cd33df0c5</Guid>
<CnName>t_</CnName>
<Note />
<TableSpace>t_</TableSpace>
<Owner />
<ModuleName>SealManager</ModuleName>
<Fields>
<Field>
<Guid>2a134870-c3b8-40c1-8fca-0f1edb3884c8</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>0</Scale>
<Visiable>false</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>0</Start>
<Inc>0</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>19e251e7-f652-4254-8623-d9ab1604efbf</Guid>
<Name>stamp_name</Name>
<CnName>印章名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>0</Scale>
<Visiable>false</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>0</Start>
<Inc>0</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c8982f82-31b1-4c8c-aae5-42902442145d</Guid>
<Name>stamp_state</Name>
<CnName>印章状态</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>0</Scale>
<Visiable>false</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>0</Start>
<Inc>0</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>bf4ea38c-770e-43b5-81e9-0f87a1e890c4</Guid>
<Name>record_Id</Name>
<CnName>备案号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>0</Scale>
<Visiable>false</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>0</Start>
<Inc>0</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>e4cb58a4-7c38-45cf-ae0a-99633a2a6d7b</Guid>
<Text>company_1</Text>
<ModuleName>Seal</ModuleName>
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>568</X>
<Y>68</Y>
</Location>
<Size>
<Width>120.935547</Width>
<Height>186.755844</Height>
</Size>
<X>568</X>
<Y>68</Y>
<Width>120.935547</Width>
<Height>186.755844</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>31550663-ae01-4f2e-80bd-a29fc5baf888</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>7e021e22-6ac4-4121-8a6f-a3de6413f963</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>9f891bc9-97cb-40b1-80a1-10d5a5f71075</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>eb324e71-9c37-477d-8f33-5ebbba4b74e4</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>company_1</Name>
<Guid>7e4842d4-b88c-4e93-a7c8-0fee3fb199ff</Guid>
<CnName>刻章单位</CnName>
<Note />
<TableSpace>t_</TableSpace>
<Owner />
<ModuleName>SealManager</ModuleName>
<Fields>
<Field>
<Guid>13f164e7-e751-4132-9611-a26092261421</Guid>
<Name>id</Name>
<CnName>id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>9976cee0-613f-4090-abd9-fbe9d890747d</Guid>
<Name>area_id</Name>
<CnName>所属区域</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b8e92b11-b889-4ee2-9265-1d81aa716cf7</Guid>
<Name>sole_code</Name>
<CnName>单位唯一编码</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>914084ca-f436-469c-886f-29e3d376a930</Guid>
<Name>company_Name</Name>
<CnName>单位名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d9e89649-9363-4e4f-84f4-b357826f4581</Guid>
<Name>bus_startDate</Name>
<CnName>营业期限起始时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4f20e70d-09f9-4f27-b764-60c22ab22e4e</Guid>
<Name>bus_endDate</Name>
<CnName>营业期限截止时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>84d450d6-7fea-4adf-b130-435bd3f0ab38</Guid>
<Name>comp_address</Name>
<CnName>单位地址</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>100</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(100)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>cafa5b91-8ed9-4b88-81f7-32653a6bc8bd</Guid>
<Name>comp_phone</Name>
<CnName>单位电话</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2c5b1a2f-76ac-40e2-9a67-81b85f3f19a8</Guid>
<Name>comp_creatDate</Name>
<CnName>成立日期</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>16568b75-c0ac-4b8b-9594-7ea7b8cfe62d</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

4437
ECDeveloper/DataBase/Shop.db

File diff suppressed because it is too large

1
ECDeveloper/DataBase/SpSampleDb.Sp

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><Soluction><Settings><FileNode Guid="484c7bfe-7a03-4990-8827-2f917a0a47e5" /></Settings><ProjectSet><DbProject RelativePath=".\SpSampleDb.dbprj" /></ProjectSet></Soluction>

1
ECDeveloper/DataBase/SpSampleDb.dbprj

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><DbProject><DataBase><MYSQL Guid="3b576077-0415-4597-b30e-eaa5561f2111" ID="5" Ver="MySql 5.0" DataSource="192.168.1.200" Port="3306" Passwd="4E-DC-56-4F-72-4E-A4-37" UserID="root" InitialCatalog="MySql" IsNew="False" /></DataBase><Numbers Guid="eb965687-ad39-4e2f-ba0d-0db512dca859" Table="212" View="1" Trigger="1" Index="1" /><Settings><FileNode Guid="eb965687-ad39-4e2f-ba0d-0db512dca859" /></Settings><FileSet><DbDraw Name="AI.db" RelativePath="" Guid="fcfb08e2-f6d9-4a19-91f9-c38428d9bc6c" /><DbDraw Name="AreaManager.db" RelativePath="" Guid="01291382-2f73-4771-a529-eb00aceda7d7" /><DbDraw Name="DDT.db" RelativePath="" Guid="e63e3199-8024-42cb-9836-e0f82b589bb1" /><DbDraw Name="Defence.db" RelativePath="" Guid="c61ff005-daf7-42b4-850a-3447d664b388" /><DbDraw Name="DT.db" RelativePath="" Guid="6f0ab34a-9aa8-41c8-8e4f-9d48145d1885" /><DbDraw Name="Education.db" RelativePath="" Guid="76bfce7d-0402-45c6-989c-ec619aad41c3" /><DbDraw Name="GroupDefense.db" RelativePath="" Guid="e336d3ca-0e44-4bd5-ae2d-3f437bd0f0f4" /><DbDraw Name="iot.db" RelativePath="" Guid="276f4108-ac9a-46d2-915d-836c70388b76" /><DbDraw Name="JointControl.db" RelativePath="" Guid="bdd57bfc-318c-4116-8e20-a672706a978d" /><DbDraw Name="LF.db" RelativePath="" Guid="eb388f0b-18de-483b-9085-e6d310a3e7e2" /><DbDraw Name="MD.db" RelativePath="" Guid="60fa656f-b0c4-48c5-a141-8d3d0bbfa729" /><DbDraw Name="ProjectManagement.db" RelativePath="" Guid="441b019f-aa69-4872-9032-f606f76d2f66" /><DbDraw Name="Publicity.db" RelativePath="" Guid="e532b6a2-7447-4740-a8e9-0610e10178bd" /><Folder Name="Sql" RelativePath="" Guid="f1bee0f2-e6a3-4689-8584-e126c1286853"><DbSql Name="Create.sql" RelativePath="Sql" Guid="42e39a8e-279f-4638-82e5-e0cb1081bd6e" /><DbSql Name="Data.sql" RelativePath="Sql" Guid="6470e47d-a7dc-47fb-9eec-4de1a0cac403" /><DbSql Name="Drop.sql" RelativePath="Sql" Guid="f8655af0-c0bf-4291-beac-e4036e9b995f" /></Folder><DbDraw Name="Supervise.db" RelativePath="" Guid="4bd6f3b2-3bfb-4dc3-b8cb-2a949f5ad3fd" /><DbDraw Name="zgx.db" RelativePath="" Guid="4733ded3-0248-4086-a6c6-698fadedea18" /></FileSet></DbProject>

305
ECDeveloper/DataBase/Sql/Create.sql

@ -0,0 +1,305 @@
/*=========================================================================*/
/* 此 SQL DDL 脚本由 SpDevelop 生成。 */
/* 所用驱动程序:MySql 5.0 驱动程序。 */
/* 创建时间:2022/6/7 12:07:22。 */
/*=========================================================================*/
/*==========================================================================*/
/* Tables */
/*==========================================================================*/
/*创建新表 MyMessage [消息表]:
* Id []:
* FromUserId []:
* ToUserId []:t_org 001
001001 001002
* Mleve []:0DEBUGINFOWARNERRORFATALOFF
* MessageRemark []:
* Remark []:
* LineNum [线]:
* CreateDate []:
* NeedRec []:
* IsRec []:
* RecDate []:
*/
CREATE TABLE MyMessage(
Id INTEGER auto_increment NOT NULL,
FromUserId varchar(50) binary NULL,
ToUserId varchar(50) binary NULL,
Mleve INTEGER NULL,
MessageRemark varchar(250) binary NULL,
Remark varchar(50) binary NULL,
LineNum varchar(50) binary NULL,
CreateDate datetime NULL,
NeedRec INTEGER NULL,
IsRec INTEGER NULL,
RecDate varchar(30) binary NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 EASLicence [许可证]:
* Id []:
* ProNo []:
* PublicKey []:
* PrivateKey []:
* EncryString []:
*/
CREATE TABLE EASLicence(
Id INTEGER auto_increment NOT NULL,
ProNo varchar(50) binary NULL,
PublicKey varchar(250) binary NULL,
PrivateKey varchar(250) binary NULL,
EncryString text NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 EASLicenceSub [许可证]:
* Id []:
* ProNo []:
* PrivateKey []:
* EncryString []:
* EndDate []:
* Days []:
* NetCartNo []:
* IsSend []:
*/
CREATE TABLE EASLicenceSub(
Id INTEGER auto_increment NOT NULL,
ProNo varchar(50) binary NULL,
PrivateKey varchar(250) binary NULL,
EncryString text NULL,
EndDate varchar(20) binary NULL,
Days INTEGER NULL,
NetCartNo varchar(50) binary NULL,
IsSend INTEGER NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 TSType1 [边防态势一级分类]:不需要程序编辑、只初始化
* id []:
* UID []:
* TypeName []:
* Remark []:
*/
CREATE TABLE TSType1(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TypeName varchar(50) binary NULL,
Remark varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 TSType2 [边防态势二级分类]:不需要程序编辑、只初始化
* id []:
* UID []:
* TypeName []:
* Remark []:
* NEType []:0
1
* ShowType []:0
1
2
* ShowColor []:
*/
CREATE TABLE TSType2(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TypeName varchar(50) binary NULL,
Remark varchar(50) binary NULL,
NEType INTEGER NULL,
ShowType INTEGER NULL,
ShowColor varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 TSRecord [态势表]:
* id []:
* UID []:
* TSType1UID [1]:
* TSType2UID [2]:
* TSName []:
*/
CREATE TABLE TSRecord(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TSType1UID varchar(50) binary NULL,
TSType2UID varchar(50) binary NULL,
TSName varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 message_exchange [文电交互]:
* id []:
* uuid [UUID]:
* code []:
* title []:
* message_type []:
* send_org []:
* send_userid []:
* send_date []:
* rec_org []:
* rec_userid []:
* isrec []:
* rec_date []:
* rec_reply []:
* h5message []:
* isencrypt []:
* password []:
*/
CREATE TABLE message_exchange(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
code varchar(50) binary NULL,
title varchar(50) binary NULL,
message_type varchar(50) binary NULL,
send_org varchar(50) binary NULL,
send_userid varchar(50) binary NULL,
send_date datetime NULL,
rec_org varchar(50) binary NULL,
rec_userid varchar(50) binary NULL,
isrec INTEGER NULL,
rec_date datetime NULL,
rec_reply text NULL,
h5message text NULL,
isencrypt INTEGER NULL,
password varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 message_attachment [电文附件]:
* id []:
* uuid [UUID]:
* puuid []:
* file_name []:
* file_url []:
* isencrypt []:
* password []:
*/
CREATE TABLE message_attachment(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
file_name varchar(50) binary NULL,
file_url varchar(50) binary NULL,
isencrypt INTEGER NULL,
password varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system [制度规定]:
* id []:
* uuid [UUID]:
* puuid []:
* code []:
* title []:
* h5message []:
* remark []:
*/
CREATE TABLE system(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
code varchar(50) binary NULL,
title varchar(50) binary NULL,
h5message text NULL,
remark varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_attachment [规定制度附件]:
* id []:
* uuid [UUID]:
* file_name []:
* file_url []:
*/
CREATE TABLE system_attachment(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
file_name varchar(50) binary NULL,
file_url varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_type [制度规定分类]:
* id []:
* uuid [UUID]:
* type_name []:
* remark []:
*/
CREATE TABLE system_type(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
type_name varchar(50) binary NULL,
remark varchar(150) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_type190 [制度规定分类]:
* id []:
* uuid [UUID]:
* type_name []:
* remark []:
*/
CREATE TABLE system_type190(
id INTEGER auto_increment NOT NULL,
uuid varchar(0) binary NULL,
type_name varchar(0) binary NULL,
remark varchar(0) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 read_log [制度规定阅读记录]:
* id []:
* uuid [UUID]:
* puuid []:
* userid [id]:
*/
CREATE TABLE read_log(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
userid varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*==========================================================================*/
/* Foreign Keys */
/*==========================================================================*/
/*==========================================================================*/
/* Indexes */
/*==========================================================================*/
/*==========================================================================*/
/* Sequences */
/*==========================================================================*/
/*==========================================================================*/
/* Views */
/*==========================================================================*/
/*==========================================================================*/
/* Triggers */
/*==========================================================================*/

1
ECDeveloper/DataBase/Sql/Data.sql

@ -0,0 +1 @@


70
ECDeveloper/DataBase/Sql/Drop.sql

@ -0,0 +1,70 @@
/*=========================================================================*/
/* 此 SQL DDL 脚本由 SpDevelop 生成。 */
/* 所用驱动程序:MySql 5.0 驱动程序。 */
/* 创建时间:2022/6/7 12:07:23。 */
/*=========================================================================*/
/*==========================================================================*/
/* Tables */
/*==========================================================================*/
/*删除表MyMessage:消息表*/
DROP TABLE MyMessage
;
/*删除表EASLicence:许可证*/
DROP TABLE EASLicence
;
/*删除表EASLicenceSub:许可证*/
DROP TABLE EASLicenceSub
;
/*删除表TSType1:边防态势一级分类*/
DROP TABLE TSType1
;
/*删除表TSType2:边防态势二级分类*/
DROP TABLE TSType2
;
/*删除表TSRecord:态势表*/
DROP TABLE TSRecord
;
/*删除表message_exchange:文电交互*/
DROP TABLE message_exchange
;
/*删除表message_attachment:电文附件*/
DROP TABLE message_attachment
;
/*删除表system:制度规定*/
DROP TABLE system
;
/*删除表system_attachment:规定制度附件*/
DROP TABLE system_attachment
;
/*删除表system_type:制度规定分类*/
DROP TABLE system_type
;
/*删除表system_type190:制度规定分类*/
DROP TABLE system_type190
;
/*删除表read_log:制度规定阅读记录*/
DROP TABLE read_log
;
/*==========================================================================*/
/* Views */
/*==========================================================================*/

BIN
ECDeveloper/DataBase/Sql/vssver.scc

Binary file not shown.

660
ECDeveloper/DataBase/Supervise.db

@ -0,0 +1,660 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>9fccf54f-6b65-4dd1-8784-371bba393928</Guid>
<Text>supervise_plan</Text>
<ModuleName>Supervise</ModuleName>
<FileNodeGuid>f8bf3ddb-edbc-4ede-8ea8-77ba2f7788f0</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>290</X>
<Y>188</Y>
</Location>
<Size>
<Width>169.884735</Width>
<Height>202.839828</Height>
</Size>
<X>290</X>
<Y>188</Y>
<Width>169.884735</Width>
<Height>202.839828</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>fe1539bc-ba19-4ce3-914b-92435de66efb</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>4b00bc9e-e9aa-4c84-9d7d-3e981c985e97</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>7ff30b66-e1dc-45cf-be97-67a96ad8b3b2</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>0022dd6f-d687-483a-ab40-47c5a9b63f21</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>supervise_plan</Name>
<Guid>d3bf069f-bb8a-46bc-958d-3460be7f02e9</Guid>
<CnName>督导计划表</CnName>
<Note />
<TableSpace>si_</TableSpace>
<Owner />
<ModuleName>Supervise</ModuleName>
<Fields>
<Field>
<Guid>6600449d-e40f-4db4-b9a1-24ea0fe83d9f</Guid>
<Name>id</Name>
<CnName>主键</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>36</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(36)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>bd56d9ab-70dd-4711-b456-e1938f372de5</Guid>
<Name>supervise_type</Name>
<CnName>督导类型</CnName>
<DataType>
<precision>-1</precision>
<Name>int</Name>
<GroupName />
<Precision>-1</Precision>
<Scale>1</Scale>
<Visiable>true</Visiable>
<FullName>int(1)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>1beea5c7-eb4f-4124-8714-ee7424fff2de</Guid>
<Name>category</Name>
<CnName>专项/业务分类</CnName>
<DataType>
<precision>-1</precision>
<Name>int</Name>
<GroupName />
<Precision>-1</Precision>
<Scale>1</Scale>
<Visiable>true</Visiable>
<FullName>int(1)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5bfe0422-8f6c-4243-9000-dd435926a712</Guid>
<Name>supervise_num</Name>
<CnName>编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>64</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(64)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>d6aa37ef-81d1-42e0-9cad-0061f83ec22e</Guid>
<Name>content</Name>
<CnName>督导内容</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e06e4a80-a8cf-4931-8506-cefc0c20a1fb</Guid>
<Name>plan_time</Name>
<CnName>计划时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>93da5a16-1cac-41f9-84e2-dc95ad1e2e2c</Guid>
<Name>supervise_mode</Name>
<CnName>督导方式</CnName>
<DataType>
<precision>-1</precision>
<Name>int</Name>
<GroupName />
<Precision>-1</Precision>
<Scale>1</Scale>
<Visiable>true</Visiable>
<FullName>int(1)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>acadd681-5c64-4ac1-8690-bccdf8e9fd04</Guid>
<Name>supervise_loc</Name>
<CnName>督导地点</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>64</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(64)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fb56896c-99f3-41d7-80f6-8cb7c8aa69bc</Guid>
<Name>supervise_unit</Name>
<CnName>督导单位</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>64</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(64)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b1377d66-44d3-4902-ab7e-55ce08e3e18c</Guid>
<Name>director</Name>
<CnName>负责人</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>32</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(32)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes>
<Index>
<Name>uk_supervise_num</Name>
<Note />
<Type>Unique</Type>
<FieldNames>supervise_num</FieldNames>
</Index>
</Indexes>
<Triggers />
<Constraints />
<FileNodeGuid>4bd6f3b2-3bfb-4dc3-b8cb-2a949f5ad3fd</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>990bbab4-a290-4d06-a5fe-f69044ef6469</Guid>
<Text>supervise_situation</Text>
<ModuleName>Supervise</ModuleName>
<FileNodeGuid>f8bf3ddb-edbc-4ede-8ea8-77ba2f7788f0</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>516</X>
<Y>189</Y>
</Location>
<Size>
<Width>169.884766</Width>
<Height>186.755844</Height>
</Size>
<X>516</X>
<Y>189</Y>
<Width>169.884766</Width>
<Height>186.755844</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>ec1b0bbf-1a4d-415f-a703-37c0a2ab1837</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>696b4795-1471-404b-9f09-e21d06994efc</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>38715d73-e591-44b7-a86a-23993356cd05</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>41b46683-398f-43bc-9ca9-303166955ec4</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>supervise_situation</Name>
<Guid>275e31c6-b006-4d2d-bb36-490545d4b0b5</Guid>
<CnName>督导情况表</CnName>
<Note />
<TableSpace>si_</TableSpace>
<Owner />
<ModuleName>Supervise</ModuleName>
<Fields>
<Field>
<Guid>b37546dc-4954-4023-a336-3f3fe4e553df</Guid>
<Name>id</Name>
<CnName>主键</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>36</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(36)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>6655a522-ea1f-47d3-a25c-56fea7481c52</Guid>
<Name>supervise_plan_id</Name>
<CnName>计划编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>64</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(64)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>75cda0fd-8db2-485e-bfd5-f44c5f4ae617</Guid>
<Name>supervise_time</Name>
<CnName>督导时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fdc011d8-5dfa-44b5-b21e-98049d619665</Guid>
<Name>participants</Name>
<CnName>参与人员</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fbe66634-13e3-4d10-8d11-18ea22b4f38f</Guid>
<Name>feedback</Name>
<CnName>问题反馈</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>226991fa-8ea8-4a9e-8217-a84ec3f03974</Guid>
<Name>target</Name>
<CnName>反馈对象</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f827d62b-9ef6-4abf-984f-c4f1fc31b0d5</Guid>
<Name>proposal</Name>
<CnName>整改建议</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3725f589-8d51-4ae2-b827-8898a1353ba6</Guid>
<Name>supervise_result</Name>
<CnName>督导结果</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e98fe2cf-4d91-48dd-aa3a-1a4e39a6b9c7</Guid>
<Name>file_url</Name>
<CnName>附件</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>255</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(255)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes>
<Index>
<Name>idx_supervise_plan_id</Name>
<Note />
<Type>Normal</Type>
<FieldNames>supervise_plan_id</FieldNames>
</Index>
</Indexes>
<Triggers />
<Constraints />
<FileNodeGuid>f8bf3ddb-edbc-4ede-8ea8-77ba2f7788f0</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

1893
ECDeveloper/DataBase/System.db

File diff suppressed because it is too large

5
ECDeveloper/DataBase/db_opc.db

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes />
<Connections />
</GraphAbstract>

125
ECDeveloper/DataBase/iot.db

@ -0,0 +1,125 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>6be18284-9e61-4900-b743-667af1fdd4c6</Guid>
<Text>node_info</Text>
<ModuleName>iot</ModuleName>
<FileNodeGuid>276f4108-ac9a-46d2-915d-836c70388b76</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>70</X>
<Y>100</Y>
</Location>
<Size>
<Width>110.306625</Width>
<Height>74.16796</Height>
</Size>
<X>70</X>
<Y>100</Y>
<Width>110.306625</Width>
<Height>74.16796</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>933cff95-c05a-4796-aaf7-c2cfa18bfe51</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>b9de2e8d-59b4-4816-9d5e-f3d57d353a05</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>05fae8b2-d0fa-488e-8eb0-6b47b90f81e8</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>304de479-fe86-47cf-b057-bc0d44a46dab</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>node_info</Name>
<Guid>4e5e5b59-73fe-4c02-bee9-6fe2878ecfa1</Guid>
<CnName>设备表</CnName>
<Note />
<TableSpace>iot_</TableSpace>
<Owner />
<ModuleName>iot</ModuleName>
<Fields>
<Field>
<Guid>a6c2bb00-3a98-4728-92d5-5d1c3e497a77</Guid>
<Name>id</Name>
<CnName>id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>a125b18c-fb54-4de4-aa6f-41a03e923269</Guid>
<Name>name</Name>
<CnName>名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>276f4108-ac9a-46d2-915d-836c70388b76</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

649
ECDeveloper/DataBase/ticket.db

@ -0,0 +1,649 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>2f7302ff-9c46-41fb-9315-6ae9d37d2fae</Guid>
<Text>TicketStock</Text>
<ModuleName>ticket</ModuleName>
<FileNodeGuid>5db7753a-b28f-42c6-902a-885a75af8dfc</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>327</X>
<Y>111</Y>
</Location>
<Size>
<Width>136.234344</Width>
<Height>218.923813</Height>
</Size>
<X>327</X>
<Y>111</Y>
<Width>136.234344</Width>
<Height>218.923813</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>17b9b728-2961-48f3-b742-158305ee9d04</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>8d4cce3a-bd6c-4aa7-bcc5-5c0497823faa</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>a6d43cf6-bce8-410b-99c4-f43ca4c8ba70</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>08589a35-6c40-4cd4-b88d-efc6d25ec5c3</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>TicketStock</Name>
<Guid>317d161a-51aa-4f4e-9804-1544a1cdc49f</Guid>
<CnName>庫存數量</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>ticket</ModuleName>
<Fields>
<Field>
<Guid>d55fc290-857c-40c3-b326-cb828fe8506b</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>594b0f17-6a02-4691-bf2f-7d3961924033</Guid>
<Name>ticketid</Name>
<CnName>票id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>482f31e1-da20-4e87-b86b-887387f5e309</Guid>
<Name>ticketdate</Name>
<CnName>票日期</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>fe1fe660-5f90-4497-8eb0-9c12b98b3cc5</Guid>
<Name>dateremark</Name>
<CnName>时间段</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3fac9c92-59ec-40f3-9d08-d4d82424be2e</Guid>
<Name>ticketqty</Name>
<CnName>库存数量</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>589a9282-9b7b-4d09-84c8-eb6d25212bf8</Guid>
<Name>saleqty</Name>
<CnName>销售数量</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>8866b564-7a00-4120-b804-7a9c676ad4c6</Guid>
<Name>lockqty</Name>
<CnName>锁定数量</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>4a36794e-50ff-4ce1-8052-0d25355e14fd</Guid>
<Name>securityqty</Name>
<CnName>安全库存</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>aa83335e-7cc4-4cda-bb37-d340b5140d6a</Guid>
<Name>updatedate</Name>
<CnName>修改时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>a6cb021f-3510-4188-ae6b-4c7a91a019b5</Guid>
<Name>crtdate</Name>
<CnName>创建时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>51d55536-e8b5-4ce3-a264-b32f779c125c</Guid>
<Name>stopdate</Name>
<CnName>停售时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>5db7753a-b28f-42c6-902a-885a75af8dfc</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>1ba2d173-032d-4008-8a46-dd52e00a9c2b</Guid>
<Text>TicketStockTemplate</Text>
<ModuleName>ticket</ModuleName>
<FileNodeGuid>5db7753a-b28f-42c6-902a-885a75af8dfc</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>45</X>
<Y>106</Y>
</Location>
<Size>
<Width>178.32222</Width>
<Height>170.67186</Height>
</Size>
<X>45</X>
<Y>106</Y>
<Width>178.32222</Width>
<Height>170.67186</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>b3364999-a70e-470c-b4fb-dc9067bacb00</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>7755038f-9255-4456-be80-3c5c333e99fc</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>48ba2810-c816-46c3-b722-5fd3c9ebd479</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>e2bb28c0-1b87-453f-976e-6514756008d8</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>TicketStockTemplate</Name>
<Guid>fb9bd7ac-5d1a-4b25-a313-4c45f273b19d</Guid>
<CnName>票庫存數量模板</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>ticket</ModuleName>
<Fields>
<Field>
<Guid>22cd61d2-20ba-48df-bf54-b04525eb2c79</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>true</Enable>
<Start>0</Start>
<Inc>0</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>bd64d514-269a-4e63-b79e-6b30489f39c4</Guid>
<Name>ticketid</Name>
<CnName>票id</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3d1b8a7f-d537-443f-a208-5ae3dfce4574</Guid>
<Name>dateremark</Name>
<CnName>时间段</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>51a0239b-e612-4456-9f32-a2494c3a13c3</Guid>
<Name>ticketqty</Name>
<CnName>库存数量</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f485372e-6d84-4e26-b8f5-350c57f77962</Guid>
<Name>securityqty</Name>
<CnName>安全库存</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e5953fcd-aefc-4a90-bf71-78e8a0913501</Guid>
<Name>crtdate</Name>
<CnName>创建时间</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType26</ID>
<Name>Datetime</Name>
<GroupName>datetime</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Datetime</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>13b7cd6b-235e-4b29-913a-06cd7dfe03f8</Guid>
<Name>priminute</Name>
<CnName>提前分钟</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>88787ba6-8a32-4931-9747-0c1118118a37</Guid>
<Name>daysqty</Name>
<CnName>生产天数</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType6</ID>
<Name>Integer</Name>
<GroupName>Number</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Integer</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>5db7753a-b28f-42c6-902a-885a75af8dfc</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

BIN
ECDeveloper/DataBase/vssver.scc

Binary file not shown.

998
ECDeveloper/DataBase/zgx.db

@ -0,0 +1,998 @@
<?xml version="1.0"?>
<GraphAbstract xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GraphicNodes>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>e390fd3f-94a3-4155-8aaf-5d9019c300c9</Guid>
<Text>ms_models_board</Text>
<ModuleName>zgx</ModuleName>
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>177</X>
<Y>94</Y>
</Location>
<Size>
<Width>163.193329</Width>
<Height>154.587875</Height>
</Size>
<X>177</X>
<Y>94</Y>
<Width>163.193329</Width>
<Height>154.587875</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>92799690-5db0-45a5-bd5a-8434fb09bb18</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>e63f4c8a-3a7c-4b30-8923-a798ed74af21</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>ad546841-bed4-4846-b6df-91d65bb8f2f6</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>0fd454f3-7f27-4a72-951f-fdd8cd05a16d</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>ms_models_board</Name>
<Guid>433e53de-e636-4ce2-a752-2144b4b327f8</Guid>
<CnName>看板模板</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>zgx</ModuleName>
<Fields>
<Field>
<Guid>06489533-7827-4a74-92b2-9fe8c1082a09</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e8fd9abc-cbb9-48e7-b269-60d0acef488d</Guid>
<Name>board_type</Name>
<CnName>看板类型</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>9cedfbf7-455d-48cd-af62-6d7a4b2b4649</Guid>
<Name>board_name</Name>
<CnName>看板名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>f38fa753-3d1f-4289-ba73-0eb74b0982e8</Guid>
<Name>template</Name>
<CnName>模板</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>82276310-0992-43d8-bd30-0ac20ff6f956</Guid>
<Name>dataurl</Name>
<CnName>数据url</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>150</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(150)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>6dea81c5-f6b9-415c-94f0-1564591b4782</Guid>
<Name>data_key</Name>
<CnName>参数key</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>48c80036-2ec0-4ffc-8c6d-33436821dd53</Guid>
<Name>testjson</Name>
<CnName>测试json</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>42427112-da4e-45db-a39a-63efc5378c0d</Guid>
<Text>ms_models_api_config</Text>
<ModuleName>zgx</ModuleName>
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>408</X>
<Y>92</Y>
</Location>
<Size>
<Width>191.171829</Width>
<Height>186.755844</Height>
</Size>
<X>408</X>
<Y>92</Y>
<Width>191.171829</Width>
<Height>186.755844</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>d8e41daa-d878-4d18-b071-69c11f751448</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>70e2b042-c490-47b8-9d8e-9b4c8950cfec</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>90ab8dc4-dca6-4893-9d38-cfac79fad2e1</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>2e7cac97-7c9b-4071-bd6d-02167e6e26fd</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>ms_models_api_config</Name>
<Guid>43144c3c-0a3f-4db2-b08f-ff44be385c94</Guid>
<CnName>模型API配置</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>zgx</ModuleName>
<Fields>
<Field>
<Guid>9357e648-1ee2-49ba-bd32-5866ce96473b</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>b6490270-d274-4bd5-a77c-7eb2bb91c305</Guid>
<Name>http_type</Name>
<CnName>请求方式</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note>get
post
put
delete</Note>
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>e5e5d83e-9402-480d-89f2-810d1bb75bd9</Guid>
<Name>url</Name>
<CnName>url</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>339170f0-0da9-40d7-8a72-7b1fbf55d991</Guid>
<Name>key1</Name>
<CnName>参数1</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>2d19a837-a456-4120-ac68-301ea3cf7b84</Guid>
<Name>value1</Name>
<CnName>参数1值</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>89893237-bd26-4026-b0d9-89ee4c6e8202</Guid>
<Name>key2</Name>
<CnName>参数2</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>a5a9eefd-d595-414b-86b4-e51825111bff</Guid>
<Name>value2</Name>
<CnName>参数2值</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>3f59b0a5-841e-4769-8778-83b69de368ef</Guid>
<Name>key3</Name>
<CnName>参数3</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c1d9d9fc-3cea-4001-ae7d-ae256b208dcc</Guid>
<Name>value3</Name>
<CnName>参数3值</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>2d7f288d-a32c-4ede-8503-24bad4ece8db</Guid>
<Text>ms_models_board_api</Text>
<ModuleName>zgx</ModuleName>
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>167</X>
<Y>330</Y>
</Location>
<Size>
<Width>189.56636</Width>
<Height>170.67186</Height>
</Size>
<X>167</X>
<Y>330</Y>
<Width>189.56636</Width>
<Height>170.67186</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>e13863e2-0962-433e-aaaf-9eb2b3e54844</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>ffcc5505-ac81-4a26-acc1-0427f5f9d2e6</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>5d108b09-c130-4c83-b724-e695912a059f</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>fc9d9f92-bc8e-41cb-bd6e-b93267c56336</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>ms_models_board_api</Name>
<Guid>ef0b8a66-7af9-4644-9670-2d2dbdde88b2</Guid>
<CnName>看板模板API</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>zgx</ModuleName>
<Fields>
<Field>
<Guid>01a7e6db-1a00-4359-9c19-a2a2e3ba4d9d</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>7356eff6-afd2-4619-b4b6-5a5896f66c5a</Guid>
<Name>board_type</Name>
<CnName>看板类型</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>014debde-6bae-4c12-8a62-e7a2155f4d6b</Guid>
<Name>board_name</Name>
<CnName>看板类型名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>9b5b392a-9587-4ea2-962c-47b31d493c3f</Guid>
<Name>template</Name>
<CnName>模板</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>c2956160-9c12-4d2d-a1ea-e2cd19270cb0</Guid>
<Name>dataapi</Name>
<CnName>数据api</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>150</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(150)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>5adfbaf1-271a-4fa7-98f0-02c27302c7c4</Guid>
<Name>data_key</Name>
<CnName>参数key</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>8d3b1e1f-714c-442c-a6fb-aefad33e1e72</Guid>
<Name>testjson</Name>
<CnName>测试json</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType19</ID>
<Name>Text</Name>
<GroupName>Blob</GroupName>
<Precision>-1</Precision>
<Scale>-1</Scale>
<Visiable>true</Visiable>
<FullName>Text</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>6d1ce539-ef63-4531-9a84-7d7d3c98f769</Guid>
<Name>serveapi</Name>
<CnName>服务API</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
<GraphicNode xsi:type="TableShape">
<UID>70B9E33A-D70C-4dfc-A1B0-801908608048</UID>
<Guid>3a84905d-5412-41f2-b458-73ccbd3e9d9a</Guid>
<Text>ms_rpt_data_head</Text>
<ModuleName>zgx</ModuleName>
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
<Resizable>false</Resizable>
<Rectangle>
<Location>
<X>442</X>
<Y>376</Y>
</Location>
<Size>
<Width>166.603485</Width>
<Height>90.25194</Height>
</Size>
<X>442</X>
<Y>376</Y>
<Width>166.603485</Width>
<Height>90.25194</Height>
</Rectangle>
<Connectors>
<Connector>
<Guid>d1d3fe2a-f56f-4d7e-8050-29b133ec3c8f</Guid>
<Text />
<ConnectorDirection>Top</ConnectorDirection>
<Name>Top</Name>
</Connector>
<Connector>
<Guid>a8aec023-120f-4f71-b3b8-8c88ffabfba6</Guid>
<Text />
<ConnectorDirection>Bottom</ConnectorDirection>
<Name>Bottom</Name>
</Connector>
<Connector>
<Guid>b8cbdd49-2a57-4db5-9031-3947e7104512</Guid>
<Text />
<ConnectorDirection>Left</ConnectorDirection>
<Name>Left</Name>
</Connector>
<Connector>
<Guid>d8ec116b-b760-47dc-ab98-3acaa13d7ddd</Guid>
<Text />
<ConnectorDirection>Right</ConnectorDirection>
<Name>Right</Name>
</Connector>
</Connectors>
<SubTitle> 双击编辑</SubTitle>
<Table>
<Name>ms_rpt_data_head</Name>
<Guid>5e46dcd2-8a44-453f-a33a-c1701b717c1c</Guid>
<CnName>看板数据主表</CnName>
<Note />
<TableSpace />
<Owner />
<ModuleName>zgx</ModuleName>
<Fields>
<Field>
<Guid>6c977303-5fca-4269-bf6f-3471f25813ad</Guid>
<Name>id</Name>
<CnName />
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>true</IsPK>
<IsFK>false</IsFK>
<IsNullable>false</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>78695135-17f6-4616-869f-7e4528de7e51</Guid>
<Name>board_code</Name>
<CnName>看板编号</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
<Field>
<Guid>6c8a31d2-c5b6-4a12-bac5-30571cbbbfe0</Guid>
<Name>board_name</Name>
<CnName>看板名称</CnName>
<DataType>
<precision>-1</precision>
<ID>DataType23</ID>
<Name>VarChar</Name>
<GroupName>string</GroupName>
<Precision>-1</Precision>
<Scale>50</Scale>
<Visiable>true</Visiable>
<FullName>VarChar(50)</FullName>
</DataType>
<Identity>
<Enable>false</Enable>
<Start>1</Start>
<Inc>1</Inc>
</Identity>
<IsPK>false</IsPK>
<IsFK>false</IsFK>
<IsNullable>true</IsNullable>
<DefaultValue />
<Note />
<Code />
<FormDbFullName />
</Field>
</Fields>
<Indexes />
<Triggers />
<Constraints />
<FileNodeGuid>4733ded3-0248-4086-a6c6-698fadedea18</FileNodeGuid>
</Table>
<Collapse>false</Collapse>
</GraphicNode>
</GraphicNodes>
<Connections />
</GraphAbstract>

1
ECDeveloper/ECDeveloper1.0.Sp

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><Soluction><Settings><FileNode Guid="fa7f8304-762e-4772-98a2-ff48e86d87c8" /></Settings><ProjectSet><DbProject RelativePath=".\..\..\dt\dt.dbprj" /><CSharpTemplateProject RelativePath=".\Template\SpSample.cstprj" /><DbProject RelativePath=".\DataBase\SpSampleDb.dbprj" /></ProjectSet></Soluction>

201
ECDeveloper/Template/Code/WebBase/AlertTextBox.cs

@ -0,0 +1,201 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;
using System.Web;
namespace WebBase
{
[DefaultProperty("Text")]
[ToolboxData("<{0}:TextboxEx runat=server></{0}:TextboxEx>")]
public class TextboxEx : TextBox
{
#region BackColorOff
private Color _colOff = Color.White;
[Category("扩展"), Description("The background color when the control loses focus")]
public Color BackColorOff
{
get { return _colOff; }
set { _colOff = value; }
}
#endregion
#region BackColorOn
private Color _colOn = Color.FromArgb(255, 255, 225);
[Category("扩展"), Description("The background color when the control has the focus")]
public Color BackColorOn
{
get { return _colOn; }
set { _colOn = value; }
}
#endregion
#region TextDivInterval
private int textDivInterval = 15;
[Category("扩展"), Description("输入框和提示框之间的间隔")]
public int TextDivInterval
{
get { return textDivInterval; }
set { textDivInterval = value; }
}
#endregion
#region DivWidth
private string divWidth = "400px";
[Category("扩展"), Description("提示框的宽度")]
public string DivWidth
{
get { return divWidth; }
set { divWidth = value; }
}
#endregion
#region DivText
private string divText = "";
[Category("扩展"), Description("提示框的默认的文字")]
public string DivText
{
get { return divText; }
set { divText = value; }
}
#endregion
#region FocusDivText
private string focusDivText = "";
[Category("扩展"), Description("输入框激活时提示框中显示的文字")]
public string FocusDivText
{
get
{
if (focusDivText == "")
return divText;
else
return focusDivText;
}
set { focusDivText = value; }
}
#endregion
#region ErrorDivText
private string errorDivText = "";
[Category("扩展"), Description("输入框输入错误时提示框中显示的文字")]
public string ErrorDivText
{
get { return errorDivText; }
set { errorDivText = value; }
}
#endregion
#region SuccessDivText
private string successDivText = "";
[Category("扩展"), Description("输入框输入成功时提示框中显示的文字")]
public string SuccessDivText
{
get { return successDivText; }
set { successDivText = value; }
}
#endregion
#region OnlyShowAlertDiv
private bool onlyShowAlertDiv = false;
[Category("扩展"), Description("只是显示提示框,输入框不显示,用于与其他控件的配合使用")]
public bool OnlyShowAlertDiv
{
get { return onlyShowAlertDiv; }
set { onlyShowAlertDiv = value; }
}
#endregion
#region AjaxRegisterType
private string ajaxRegisterType = "";
[Category("扩展"), Description("Ajax对应注册的名称,通常指在页面中AjaxPro.Utility.RegisterTypeForAjax(typeof(name))中的name")]
public string AjaxRegisterType
{
get { return ajaxRegisterType; }
set { ajaxRegisterType = value; }
}
#endregion
#region AjaxMethod
private string ajaxMethod = "";
[Category("扩展"), Description("Ajax对应的函数,通常指在页面中标有AjaxPro.AjaxMethod()的函数")]
public string AjaxMethod
{
get {
if (ajaxMethod == "")
ajaxMethod = "check" + ID;
return ajaxMethod; }
set { ajaxMethod = value; }
}
#endregion
private string controlToCompare = "";
public string ControlToCompare
{
get { return controlToCompare; }
set { controlToCompare = value; }
}
protected override void Render(HtmlTextWriter writer)
{
if (ajaxRegisterType != "")
{
string str = " <script language=\"javascript\" type=\"text/javascript\">"
+ " function check" + ID + "(){"
+ " var name = document.getElementById(\"" + ClientID + "\").value;";
if (ControlToCompare != "")
str += " var compare = document.getElementById(\"" + ControlToCompare + "\").value;";
str += " " + ajaxRegisterType + "." + AjaxMethod + "(name,";
if (controlToCompare != "")
str += "compare,";
str += " check" + ID + "_Callback);"
+ " }"
+ " function check" + ID + "_Callback(res){ "
+ " if(res.value==\"OK\"){"
+ " document.getElementById(\"Div" + ID + "\").innerHTML = \"" + successDivText + "\";"
+ " document.getElementById(\"Div" + ID + "\").className = \"NullDiv\";"
+ " }"
+ " else if( res.value==\"ERR\"){"
+ " document.getElementById(\"Div" + ID + "\").innerHTML = \"" + ErrorDivText + "\";"
+ " document.getElementById(\"Div" + ID + "\").className = \"AlertDiv\";"
+ " }"
+ " else"
+ " {"
+ " document.getElementById(\"Div" + ID + "\").innerHTML = \"" + DivText + "\";"
+ " document.getElementById(\"Div" + ID + "\").className = \"NullDiv\";"
+ " }"
+ " }"
+ " </script>";
writer.Write(str);
}
string dw = ((divWidth != "") ? " width='" + divWidth + "' " : "");
writer.Write("<table cellpadding='0' cellspacing='0' border='0' class='NullTable'><tr><td align='left'>");
if (onlyShowAlertDiv == false)
base.Render(writer);
writer.Write("</td><td width='" + textDivInterval.ToString() + "' ></td><td " + dw + ">");
writer.Write("<div id='Div" + ID + "' class='NullDiv'" + dw + ">" + divText + "</div>");
writer.Write("<div id='FocusDiv" + ID + "' class='InfoDiv'" + dw + " style='display:none'>" + FocusDivText + "</div>");
writer.Write("</td></tr></table>");
}
protected override void AddAttributesToRender(HtmlTextWriter writer)
{
base.AddAttributesToRender(writer);
string foc = "Div" + ID + ".style.display='none';";
if (FocusDivText != "")
foc += "FocusDiv" + ID + ".style.display='block';";
writer.AddAttribute("onFocus", foc);
string blurText = divText;
if (successDivText != "")
blurText = successDivText;
string blur = " Div" + ID + ".style.display='block';FocusDiv" + ID + ".style.display='none';";
//if (AjaxObject != "")
blur += "check" + ID + "();";
writer.AddAttribute("onBlur", blur);
}
}
}

108
ECDeveloper/Template/Code/WebBase/ButtonEx.cs

@ -0,0 +1,108 @@
using System;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
namespace Component
{
//#region New
//[DefaultProperty("EditPanel"), ToolboxData("<{0}:NewButton runat=\"server\" ID=\"btnNew\" SkinID=\"NewButton\" Text=\"ÐÂÔö\"></{0}:NewButton>")]
//public class NewButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "New";
// (Page as PageEx).SetEditModel();
// }
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.New);
// base.OnLoad(e);
// }
//}
//#endregion
//#region Delete
//[DefaultProperty("Text"), ToolboxData("<{0}:DeleteButton runat=\"server\" SkinID=\"DeleteButton\"></{0}:DeleteButton>")]
//public class DeleteButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// (Page as PageEx).Action = "Delete";
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.Delete);
// base.OnLoad(e);
// }
//}
//#endregion
//#region Edit
//[DefaultProperty("Text"), ToolboxData("<{0}:EditButton runat=\"server\" SkinID=\"EditButton\"></{0}:EditButton>")]
//public class EditButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "Edit";
// (Page as PageEx).SetEditModel();
// }
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.Edit);
// base.OnLoad(e);
// }
//}
//#endregion
//#region CancelEditButton
//[DefaultProperty("Text"), ToolboxData("<{0}:CancelEditButton ID=\"btnCancel\" runat=\"server\" SkinID=\"CancelEditButton\" Text=\"È¡Ïû\"></{0}:CancelEditButton>")]
//public class CancelEditButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "None";
// (Page as PageEx).SetFindModel();
// }
// base.OnClick(e);
// }
//}
//#endregion
//#region OkEditButton
//[DefaultProperty("Text"), ToolboxData("<{0}:OkEditButton ID=\"btnOK\" runat=\"server\" SkinID=\"OkEditButton\" Text=\"È·¶¨\"></{0}:OkEditButton>")]
//public class OkEditButton : System.Web.UI.WebControls.Button
//{
//}
//#endregion
//#region Find
//[DefaultProperty("Text"), ToolboxData("<{0}:FindButton ID=\"btnFind\" runat=\"server\" SkinID=\"FindButton\" Text=\"²éÕÒ\"></{0}:FindButton>")]
//public class FindButton : System.Web.UI.WebControls.Button
//{
//}
//#endregion
//#region Nav
//[DefaultProperty("Text"), ToolboxData("<{0}:NavLiteral runat=\"server\" ID=\"ltNav\"></{0}:NavLiteral>")]
//public class NavLiteral : System.Web.UI.WebControls.Literal
//{
//}
//#endregion
}

438
ECDeveloper/Template/Code/WebBase/Calendar.cs

@ -0,0 +1,438 @@
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebBase
{
/// <summary>
/// Calendar 的摘要说明。
/// </summary>
public class Calendar : TextBox
{
public Calendar()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
#region Javascript
private const string str_Js=@"
<script language=""javascript"">
var bMoveable=true;
var _VersionInfo=""Version:2.0""
var strFrame;
document.writeln('<iframe bgcolor=""#000000"" id=meizzDateLayer frameborder=0 style=""position: absolute; width: 186; height: 247; z-index: 9998; display: none""></iframe>');
strFrame='<style>';
strFrame+='INPUT.button{BORDER-RIGHT: #B3C9E1 1px solid;BORDER-TOP: #B3C9E1 1px solid;BORDER-LEFT: #B3C9E1 1px solid;';
strFrame+='BORDER-BOTTOM: #ff9900 1px solid;BACKGROUND-COLOR: #EDF2F8;font-family:;}';
strFrame+='TD{FONT-SIZE: 9pt;font-family:;}';
strFrame+='</style>';
strFrame+='<scr' + 'ipt>';
strFrame+='var datelayerx,datelayery;';
strFrame+='var bDrag; ';
strFrame+='function document.onmousemove() ';
strFrame+='{if(bDrag && window.event.button==1)';
strFrame+=' {var DateLayer=parent.document.all.meizzDateLayer.style;';
strFrame+=' DateLayer.posLeft += window.event.clientX-datelayerx;';
strFrame+=' DateLayer.posTop += window.event.clientY-datelayery;}}';
strFrame+='function DragStart() ';
strFrame+='{var DateLayer=parent.document.all.meizzDateLayer.style;';
strFrame+=' datelayerx=window.event.clientX;';
strFrame+=' datelayery=window.event.clientY;';
strFrame+=' bDrag=true;}';
strFrame+='function DragEnd(){ ';
strFrame+=' bDrag=false;}';
strFrame+='</scr' + 'ipt>';
strFrame+='<div style=""z-index:9999;position: absolute; left:0; top:0;"" onselectstart=""return false""><span id=tmpSelectYearLayer Author=wayx style=""z-index: 9999;position: absolute;top: 3; left: 19;display: none""></span>';
strFrame+='<span id=tmpSelectMonthLayer Author=wayx style=""z-index: 9999;position: absolute;top: 3; left: 78;display: none""></span>';
strFrame+='<table style=""FILTER:dropshadow(color=#EDEDF8,offx=3.3,offy=3.3,positive=1);"" cellSpacing=""0"" cellPadding=""0"" width=""100%"" border=""0""><tr><td>';
// 控件边框颜色
strFrame+='<table border=1 cellspacing=0 cellpadding=0 width=182 height=160 bgColor=""#FFFFFF"" borderColorLight=#7197CA borderColorDark=""#ffffff"" Author=""wayx"">';
strFrame+=' <tr Author=""wayx""><td width=182 height=23 Author=""wayx"" bgcolor=#FFFFFF><table border=0 cellspacing=1 cellpadding=0 width=180 Author=""wayx"" height=23>';
strFrame+=' <tr align=center Author=""wayx""><td width=16 align=center bgcolor=#B6CAE4 style=""font-size:12px;cursor: hand;color: #ffffff"" ';
strFrame+=' onclick=""parent.meizzPrevM()"" title="""" Author=meizz><b Author=meizz>&lt;</b>';
strFrame+=' </td><td width=60 align=center style=""font-size:12px;cursor:default"" Author=meizz ';
strFrame+='onmouseover=""style.backgroundColor=\'#D7E1F0\'"" onmouseout=""style.backgroundColor=\'white\'"" ';
strFrame+='onclick=""parent.tmpSelectYearInnerHTML(this.innerText.substring(0,4))"" title=""""><span Author=meizz id=meizzYearHead></span></td>';
strFrame+='<td width=48 align=center style=""font-size:12px;cursor:default"" Author=meizz onmouseover=""style.backgroundColor=\'#D7E1F0\'"" ';
strFrame+=' onmouseout=""style.backgroundColor=\'white\'"" onclick=""parent.tmpSelectMonthInnerHTML(this.innerText.length==3?this.innerText.substring(0,1):this.innerText.substring(0,2))""';
strFrame+=' title=""""><span id=meizzMonthHead Author=meizz></span></td>';
strFrame+=' <td width=16 bgcolor=#B6CAE4 align=center style=""font-size:12px;cursor: hand;color: #ffffff"" ';
strFrame+=' onclick=""parent.meizzNextM()"" title="""" Author=meizz><b Author=meizz>&gt;</b></td></tr>';
strFrame+=' </table></td></tr>';
strFrame+=' <tr Author=""wayx""><td width=180 height=18 Author=""wayx"">';
strFrame+='<table border=1 cellspacing=0 cellpadding=0 bgcolor=#618BC5 ' + (bMoveable? 'onmousedown=""DragStart()"" onmouseup=""DragEnd()""':'');
strFrame+=' BORDERCOLORLIGHT=#3677b1 bgcolor=#5168C8 BORDERCOLORDARK=#FFFFFF width=""100%"" height=25 Author=""wayx"" style=""cursor:' + (bMoveable ? 'move':'default') + '"">';
strFrame+='<tr Author=""wayx"" valign=""middle"" align=""center""><td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Sun</b></td>';
strFrame+='<td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Mon</b></td><td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Tus</b></td>';
strFrame+='<td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Wed</b></td><td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Thu</b></td>';
strFrame+='<td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Fir</b></td><td style=""font-size:12px;color:#FFFFFF"" Author=meizz><b>Sat</b></td></tr>';
strFrame+='</table></td></tr><!-- Author:F.R.Huang(meizz) http://www.meizz.com/ mail: meizz@hzcnc.com 2002-10-8 -->';
strFrame+=' <tr Author=""wayx""><td width=""100%"" height=120 Author=""Huangwenfa"">';
strFrame+=' <table border=1 cellspacing=2 cellpadding=0 borderColorDark=#ffffff bgColor=#FFFFFF borderColorLight=#83A4D1 width=""100%"" height=120 Author=""wayx"">';
var n=0; for (j=0;j<5;j++){ strFrame+= ' <tr align=center Author=""wayx"">'; for (i=0;i<7;i++){
strFrame+='<td width=25 height=25 id=meizzDay'+n+' style=""font-size:12px"" Author=meizz onclick=parent.meizzDayClick(this.innerText,0)></td>';n++;}
strFrame+='</tr>';}
strFrame+=' <tr align=center Author=""wayx"">';
for (i=35;i<39;i++)strFrame+='<td width=25 height=25 id=meizzDay'+i+' style=""font-size:12px"" Author=wayx onclick=""parent.meizzDayClick(this.innerText,0)""></td>';
strFrame+=' <td colspan=3 align=right Author=meizz><span onclick=parent.closeLayer() style=""font-size:12px;cursor: hand""';
strFrame+=' Author=meizz title=""' + _VersionInfo + '""><u>Close</u></span>&nbsp;</td></tr>';
strFrame+=' </table></td></tr><tr Author=""wayx""><td Author=""wayx"">';
strFrame+=' <table border=0 cellspacing=1 cellpadding=0 width=100% Author=""wayx"" bgcolor=#FFFFFF>';
strFrame+=' <tr Author=""wayx""><td Author=meizz align=left><input Author=meizz type=button class=button style=""cursor:hand"" value=""<<"" title="""" onclick=""parent.meizzPrevY()"" ';
strFrame+=' onfocus=""this.blur()"" style=""font-size: 12px; height: 20px""><input Author=meizz class=button title="""" type=button ';
strFrame+=' value=""< "" style=""cursor:hand"" onclick=""parent.meizzPrevM()"" onfocus=""this.blur()"" style=""font-size: 12px; height: 20px""></td><td ';
strFrame+=' Author=meizz align=center><input Author=meizz style=""cursor:hand"" type=button class=button value=Today onclick=""parent.meizzToday()"" ';
strFrame+=' onfocus=""this.blur()"" title=""Current Day"" style=""font-size: 12px; height: 20px; cursor:hand""></td><td ';
strFrame+=' Author=meizz align=right><input Author=meizz type=button class=button value="" >"" style=""cursor:hand"" onclick=""parent.meizzNextM()"" ';
strFrame+=' onfocus=""this.blur()"" title="""" class=button style=""font-size: 12px; height: 20px""><input ';
strFrame+=' Author=meizz type=button class=button style=""cursor:hand"" value="">>"" title="""" onclick=""parent.meizzNextY()""';
strFrame+=' onfocus=""this.blur()"" style=""font-size: 12px; height: 20px""></td>';
strFrame+='</tr></table></td></tr></table></td></tr></table></div>';
window.frames.meizzDateLayer.document.writeln(strFrame);
window.frames.meizzDateLayer.document.close();
var outObject;
var outButton;
var outDate="""";
var odatelayer=window.frames.meizzDateLayer.document.all;
function setday(tt,obj) //主调函数
{
if (arguments.length > 2){alert("""");return;}
if (arguments.length == 0){alert("""");return;}
var dads = document.all.meizzDateLayer.style;
var th = tt;
var ttop = tt.offsetTop; //TT控件的定位点高
var thei = tt.clientHeight; //TT控件本身的高
var tleft = tt.offsetLeft; //TT控件的定位点宽
var ttyp = tt.type; //TT控件的类型
while (tt = tt.offsetParent){ttop+=tt.offsetTop; tleft+=tt.offsetLeft;}
dads.top = (ttyp==""image"")? ttop+thei : ttop+thei+6;
dads.left = tleft;
outObject = (arguments.length == 1) ? th : obj;
outButton = (arguments.length == 1) ? null : th; //设定外部点击的按钮
//根据当前输入框的日期显示日历的年月
var reg = /^(\d+)-(\d{1,2})-(\d{1,2})$/;
var r = outObject.value.match(reg);
if(r!=null){
r[2]=r[2]-1;
var d= new Date(r[1], r[2],r[3]);
if(d.getFullYear()==r[1] && d.getMonth()==r[2] && d.getDate()==r[3]){
outDate=d; //保存外部传入的日期
}
else outDate="""";
meizzSetDay(r[1],r[2]+1);
}
else{
outDate="""";
meizzSetDay(new Date().getFullYear(), new Date().getMonth() + 1);
}
dads.display = '';
event.returnValue=false;
}
var MonHead = new Array(12); //定义阳历中每个月的最大天数
MonHead[0] = 31; MonHead[1] = 28; MonHead[2] = 31; MonHead[3] = 30; MonHead[4] = 31; MonHead[5] = 30;
MonHead[6] = 31; MonHead[7] = 31; MonHead[8] = 30; MonHead[9] = 31; MonHead[10] = 30; MonHead[11] = 31;
var meizzTheYear=new Date().getFullYear(); //定义年的变量的初始值
var meizzTheMonth=new Date().getMonth()+1; //定义月的变量的初始值
var meizzWDay=new Array(39); //定义写日期的数组
function document.onclick() //任意点击时关闭该控件 //ie6的情况可以由下面的切换焦点处理代替
{
with(window.event)
{ if (srcElement.getAttribute(""Author"")==null && srcElement != outObject && srcElement != outButton)
closeLayer();
}
}
function document.onkeyup() //按Esc键关闭,切换焦点关闭
{
if (window.event.keyCode==27){
if(outObject)outObject.blur();
closeLayer();
}
else if(document.activeElement)
if(document.activeElement.getAttribute(""Author"")==null && document.activeElement != outObject && document.activeElement != outButton)
{
closeLayer();
}
}
function meizzWriteHead(yy,mm) //往 head 中写入当前的年与月
{
odatelayer.meizzYearHead.innerText = yy + "" Year"";
odatelayer.meizzMonthHead.innerText = mm + "" Month"";
}
function tmpSelectYearInnerHTML(strYear) //年份的下拉框
{
if (strYear.match(/\D/)!=null){alert("""");return;}
var m = (strYear) ? strYear : new Date().getFullYear();
if (m < 1000 || m > 9999) {alert("" 1000 9999 "");return;}
var n = m - 10;
if (n < 1000) n = 1000;
if (n + 26 > 9999) n = 9974;
var s = ""&nbsp;&nbsp;&nbsp;<select Author=meizz name=tmpSelectYear style='font-size: 12px' ""
s += ""onblur='document.all.tmpSelectYearLayer.style.display=\""none\""' ""
s += ""onchange='document.all.tmpSelectYearLayer.style.display=\""none\"";""
s += ""parent.meizzTheYear = this.value; parent.meizzSetDay(parent.meizzTheYear,parent.meizzTheMonth)'>\r\n"";
var selectInnerHTML = s;
for (var i = n; i < n + 26; i++)
{
if (i == m)
{selectInnerHTML += ""<option Author=wayx value='"" + i + ""' selected>"" + i + """" + ""</option>\r\n"";}
else {selectInnerHTML += ""<option Author=wayx value='"" + i + ""'>"" + i + """" + ""</option>\r\n"";}
}
selectInnerHTML += ""</select>"";
odatelayer.tmpSelectYearLayer.style.display="""";
odatelayer.tmpSelectYearLayer.innerHTML = selectInnerHTML;
odatelayer.tmpSelectYear.focus();
}
function tmpSelectMonthInnerHTML(strMonth) //月份的下拉框
{
if (strMonth.match(/\D/)!=null){alert("""");return;}
var m = (strMonth) ? strMonth : new Date().getMonth() + 1;
var s = ""&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select Author=meizz name=tmpSelectMonth style='font-size: 12px' ""
s += ""onblur='document.all.tmpSelectMonthLayer.style.display=\""none\""' ""
s += ""onchange='document.all.tmpSelectMonthLayer.style.display=\""none\"";""
s += ""parent.meizzTheMonth = this.value; parent.meizzSetDay(parent.meizzTheYear,parent.meizzTheMonth)'>\r\n"";
var selectInnerHTML = s;
for (var i = 1; i < 13; i++)
{
if (i == m)
{selectInnerHTML += ""<option Author=wayx value='""+i+""' selected>""+i+""""+""</option>\r\n"";}
else {selectInnerHTML += ""<option Author=wayx value='""+i+""'>""+i+""""+""</option>\r\n"";}
}
selectInnerHTML += ""</select>"";
odatelayer.tmpSelectMonthLayer.style.display="""";
odatelayer.tmpSelectMonthLayer.innerHTML = selectInnerHTML;
odatelayer.tmpSelectMonth.focus();
}
function closeLayer() //这个层的关闭
{
document.all.meizzDateLayer.style.display=""none"";
}
function IsPinYear(year) //判断是否闰平年
{
if (0==year%4&&((year%100!=0)||(year%400==0))) return true;else return false;
}
function GetMonthCount(year,month) //闰年二月为29天
{
var c=MonHead[month-1];if((month==2)&&IsPinYear(year)) c++;return c;
}
function GetDOW(day,month,year) //求某天的星期几
{
var dt=new Date(year,month-1,day).getDay()/7; return dt;
}
function meizzPrevY() //往前翻 Year
{
if(meizzTheYear > 999 && meizzTheYear <10000){meizzTheYear--;}
else{alert(""1000-9999"");}
meizzSetDay(meizzTheYear,meizzTheMonth);
}
function meizzNextY() //往后翻 Year
{
if(meizzTheYear > 999 && meizzTheYear <10000){meizzTheYear++;}
else{alert(""1000-9999"");}
meizzSetDay(meizzTheYear,meizzTheMonth);
}
function meizzToday() //Today Button
{
var today;
meizzTheYear = new Date().getFullYear();
meizzTheMonth = new Date().getMonth()+1;
today=new Date().getDate();
//meizzSetDay(meizzTheYear,meizzTheMonth);
if(outObject){
if (meizzTheMonth < 10){meizzTheMonth = ""0"" + meizzTheMonth;}
if (today < 10){today = ""0"" + today;}
outObject.value=meizzTheYear + ""-"" + meizzTheMonth + ""-"" + today;
}
closeLayer();
}
function meizzPrevM() //往前翻月份
{
if(meizzTheMonth>1){meizzTheMonth--}else{meizzTheYear--;meizzTheMonth=12;}
meizzSetDay(meizzTheYear,meizzTheMonth);
}
function meizzNextM() //往后翻月份
{
if(meizzTheMonth==12){meizzTheYear++;meizzTheMonth=1}else{meizzTheMonth++}
meizzSetDay(meizzTheYear,meizzTheMonth);
}
function meizzSetDay(yy,mm) //主要的写程序**********
{
meizzWriteHead(yy,mm);
//设置当前年月的公共变量为传入值
meizzTheYear=yy;
meizzTheMonth=mm;
for (var i = 0; i < 39; i++){meizzWDay[i]=""""}; //将显示框的内容全部清空
var day1 = 1,day2=1,firstday = new Date(yy,mm-1,1).getDay(); //某月第一天的星期几
for (i=0;i<firstday;i++)meizzWDay[i]=GetMonthCount(mm==1?yy-1:yy,mm==1?12:mm-1)-firstday+i+1 //上个月的最后几天
for (i = firstday; day1 < GetMonthCount(yy,mm)+1; i++){meizzWDay[i]=day1;day1++;}
for (i=firstday+GetMonthCount(yy,mm);i<39;i++){meizzWDay[i]=day2;day2++}
for (i = 0; i < 39; i++)
{ var da = eval(""odatelayer.meizzDay""+i) //书写新的一个月的日期星期排列
if (meizzWDay[i]!="""")
{
//初始化边框
da.borderColorLight=""#76A0CF"";
da.borderColorDark=""#76A0CF"";
if(i<firstday) //上个月的部分
{
da.innerHTML=""<font style=' color: #B5C5D2;'>"" + meizzWDay[i] + ""</font>"";
da.title=(mm==1?12:mm-1) +"""" + meizzWDay[i] + """";
da.onclick=Function(""meizzDayClick(this.innerText,-1)"");
if(!outDate)
da.style.backgroundColor = ((mm==1?yy-1:yy) == new Date().getFullYear() &&
(mm==1?12:mm-1) == new Date().getMonth()+1 && meizzWDay[i] == new Date().getDate()) ?
""#E4E3F2"":""#FFFFFF"";
else
{
da.style.backgroundColor =((mm==1?yy-1:yy)==outDate.getFullYear() && (mm==1?12:mm-1)== outDate.getMonth() + 1 &&
meizzWDay[i]==outDate.getDate())? ""#E8F5E7"" : // 选中日期颜色
(((mm==1?yy-1:yy) == new Date().getFullYear() && (mm==1?12:mm-1) == new Date().getMonth()+1 &&
meizzWDay[i] == new Date().getDate()) ? ""#E4E3F2"":""#FFFFFF""); // 当前系统时间颜色
//将选中的日期显示为凹下去
if((mm==1?yy-1:yy)==outDate.getFullYear() && (mm==1?12:mm-1)== outDate.getMonth() + 1 &&
meizzWDay[i]==outDate.getDate())
{
//da.borderColorLight=""#E4E3F2"";
// da.borderColorDark=""#E4E3F2""; // 选择日期边框颜色
}
}
}
else if (i>=firstday+GetMonthCount(yy,mm)) //下个月的部分
{
da.innerHTML=""<font style=' color: #B5C5D2;'>"" + meizzWDay[i] + ""</font>"";
da.title=(mm==12?1:mm+1) +"""" + meizzWDay[i] + """";
da.onclick=Function(""meizzDayClick(this.innerText,1)"");
if(!outDate)
da.style.backgroundColor = ((mm==12?yy+1:yy) == new Date().getFullYear() &&
(mm==12?1:mm+1) == new Date().getMonth()+1 && meizzWDay[i] == new Date().getDate()) ?
""#E4E3F2"":""#FFFFFF"";
else
{
da.style.backgroundColor =((mm==12?yy+1:yy)==outDate.getFullYear() && (mm==12?1:mm+1)== outDate.getMonth() + 1 &&
meizzWDay[i]==outDate.getDate())? ""#E8F5E7"" : // 选中日期颜色
(((mm==12?yy+1:yy) == new Date().getFullYear() && (mm==12?1:mm+1) == new Date().getMonth()+1 &&
meizzWDay[i] == new Date().getDate()) ? ""#E4E3F2"":""#FFFFFF""); // 当前系统时间
//将选中的日期显示为凹下去
if((mm==12?yy+1:yy)==outDate.getFullYear() && (mm==12?1:mm+1)== outDate.getMonth() + 1 &&
meizzWDay[i]==outDate.getDate())
{
da.borderColorLight=""#E4E3F2"";
da.borderColorDark=""#E4E3F2""; // 选择日期边框颜色
}
}
}
else //本月的部分
{
da.innerHTML=""<font style=' color: #3E5468;'>"" + meizzWDay[i] + ""</FONT>"";
da.title=mm +"""" + meizzWDay[i] + """";
da.onclick=Function(""meizzDayClick(this.innerText,0)""); //给td赋予onclick事件的处理
//如果是当前选择的日期,则显示亮蓝色的背景;如果是当前日期,则显示暗黄色背景
if(!outDate)
da.style.backgroundColor = (yy == new Date().getFullYear() && mm == new Date().getMonth()+1 && meizzWDay[i] == new Date().getDate())?
""#FFFFFF"":""#FFFFFF"";
else
{
da.style.backgroundColor =(yy==outDate.getFullYear() && mm== outDate.getMonth() + 1 && meizzWDay[i]==outDate.getDate())?
""#D5ECD2"":((yy == new Date().getFullYear() && mm == new Date().getMonth()+1 && meizzWDay[i] == new Date().getDate())?
""#E4E3F2"":""#F8F8FC""); // 前一个当前系统时间,后一个是本月时间低色
//将选中的日期显示为凹下去
if(yy==outDate.getFullYear() && mm== outDate.getMonth() + 1 && meizzWDay[i]==outDate.getDate())
{
//da.borderColorLight=""#E4E3F2"";
//da.borderColorDark=""#E4E3F2""; // 选择日期边框颜色
}
}
}
da.style.cursor=""hand""
da.onmouseover=Function(""this.backgroundColor='#000000';this.borderColorDark='#000099';this.borderColorLight='#000099';"");
da.onmouseout=Function(""this.bgColor='#000000';this.borderColorDark='#9CBADE';this.borderColorLight='#9CBADE';"");
}
else{da.innerHTML="""";da.style.backgroundColor="""";da.style.cursor=""default"";da.onmouseover=Function(""this.backgroundColor='#000000';this.borderColorDark='#000099';this.borderColorLight='#000099';"");
da.onmouseout=Function(""this.bgColor='#000000';this.borderColorDark='#9CBADE';this.borderColorLight='#9CBADE';"");}
}
}
function meizzDayClick(n,ex) //点击显示框选取日期,主输入函数*************
{
var yy=meizzTheYear;
var mm = parseInt(meizzTheMonth)+ex; //ex表示偏移量,用于选择上个月份和下个月份的日期
//判断月份,并进行对应的处理
if(mm<1){
yy--;
mm=12+mm;
}
else if(mm>12){
yy++;
mm=mm-12;
}
if (mm < 10){mm = ""0"" + mm;}
if (outObject)
{
if (!n) {//outObject.value="""";
return;}
if ( n < 10){n = ""0"" + n;}
outObject.value= yy + ""-"" + mm + ""-"" + n ; //注:在这里你可以输出改成你想要的格式
closeLayer();
}
else {closeLayer(); alert("""");}
}
</script>
";
#endregion
private const string ScriptKey="HcTextBoxClientScrptKeyWord";
/// <summary>
/// 将此控件呈现给指定的输出参数。
/// </summary>
/// <param name="e"> 要写出到的 HTML 编写器 </param>
protected override void OnPreRender(EventArgs e)
{
Page.RegisterStartupScript(ScriptKey,str_Js);
}
protected override void AddAttributesToRender(HtmlTextWriter output)
{
output.AddAttribute("onfocus","setday(this);");
base.AddAttributesToRender(output);
}
public DateTime Date
{
get
{
return Convert.ToDateTime(this.Text);
}
set
{
int year,month,day;
year = value.Year;
month = value.Month;
day = value.Day;
string str = Convert.ToString(year)+"-";
if( month < 10) str += "0";
str += Convert.ToString(month)+"-";
if( day < 10) str += "0";
str += Convert.ToString(day);
this.Text= str;
}
}
}
}

1976
ECDeveloper/Template/Code/WebBase/DataPager.cs

File diff suppressed because it is too large

207
ECDeveloper/Template/Code/WebBase/PageEx.cs

@ -0,0 +1,207 @@
using System;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI;
using WebBase;
namespace System.Web.UI
{
///<summary>
///<b><font color="#316563">[模块名称]</font></b> the base of Page<br>
///<remarks>
///----------------------------------------------------------------------<br>
///<b><font color="#316563">[作者]</font></b> 黄文发 <br>
///<b><font color="#316563">[日期]</font></b> <br>
///<b><font color="#316563">[审 核 者]</font></b> <br>
///<b><font color="#316563">[审核日期]</font></b> <br>
///----------------------------------------------------------------------<br>
///<b><font color="#316563">[修改历史]</font></b> <br>
///<b><font color="#FF0000">[BUG]</font></b> <br>
///黄文发 Initial creation <br>
///----------------------------------------------------------------------<br>
///</remarks>
///</summary>
public class PageEx:Page
{
#region Action
/// <summary>
/// 动作类型
/// </summary>
public string Action
{
get
{
return Convert.ToString(ViewState["Action"]);
}
set
{
ViewState["Action"] = value;
}
}
#endregion
#region PK
/// <summary>
/// 动作类型
/// </summary>
public string PK
{
get
{
return Convert.ToString(ViewState["PK"]);
}
set
{
ViewState["PK"] = value;
}
}
#endregion
#region Privlege
/// <summary>
/// 权限
/// </summary>
public string Privlege
{
get
{
return Convert.ToString(ViewState["Privlege"]);
}
set
{
ViewState["Privlege"] = value;
}
}
/// <summary>
/// 判断是否有权限执行
/// </summary>
/// <param name="pb"></param>
/// <returns></returns>
public bool GetPrivlege(PrivlegeEnums pb)
{
string privlege = Convert.ToString(ViewState["Privlege"]);
if (privlege.Length > (int)pb && privlege[(int)pb] == '0')
return false;
else
return true;
}
#endregion
#region 模式
/// <summary>
/// 设置为编辑模式
/// </summary>
protected virtual void SetEditModel()
{
}
/// <summary>
/// 设置为查询模式
/// </summary>
protected virtual void SetFindModel()
{
}
#endregion
#region UserId
public int UserId
{
get
{
int i = -1;
if (Session["UserId"] != null && int.TryParse(Convert.ToString(Session["UserId"]), out i) == true)
return i;
else
return -1;
}
set
{
Session["UserId"] = value;
}
}
#endregion
#region RoleId
public int RoleId
{
get
{
int i = -1;
if (Session["RoleId"] != null && int.TryParse(Convert.ToString(Session["RoleId"]), out i) == true)
return i;
else
return -1;
}
set
{
Session["RoleId"] = value;
}
}
#endregion
#region TopMenuId
public int TopMenuId
{
get
{
int i = 0;
if (Session["TopMenuId"] != null && int.TryParse(Convert.ToString(Session["TopMenuId"]), out i) == true)
return i;
else
return 0;
}
set
{
Session["TopMenuId"] = value;
}
}
#endregion
#region Nav
public string Nav
{
get
{
Literal ltNav = Page.Master.FindControl("ltNav") as Literal;
if (ltNav != null)
return ltNav.Text;
else
return "";
}
set
{
if (Page.Master != null)
{
Literal ltNav = Page.Master.FindControl("ltNav") as Literal;
if (ltNav != null)
ltNav.Text = " >> " + value;
}
else
{
Literal ltNav = Page.FindControl("ltNav") as Literal;
if (ltNav != null)
ltNav.Text = " >> " + value;
}
}
}
#endregion
#region MessageBox
public void MessageBox(string msg)
{
msg = msg.Replace("<font color='red'>", "").Replace("</font>", "").Replace("<b>", "").Replace("</b>", "");
ClientScript.RegisterStartupScript(this.GetType(), "alertScript", "alert('" + msg + "');", true);
}
public void MessageBox(string msg, string url)
{
msg = msg.Replace("<font color='red'>", "").Replace("</font>", "").Replace("<b>", "").Replace("</b>", "");
ClientScript.RegisterStartupScript(this.GetType(), "alertScript", "alert('" + msg + "');location.href='" + url + "'", true);
}
protected void MessageBoxException(Exception ex)
{
ClientScript.RegisterStartupScript(this.GetType(), "alertScript", "alert('" + ex.Message + "');", true);
}
#endregion
}
}

35
ECDeveloper/Template/Code/WebBase/Properties/AssemblyInfo.cs

@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WebBase")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WebBase")]
[assembly: AssemblyCopyright("版权所有 (C) 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 使此程序集中的类型
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
// 则将该类型上的 ComVisible 属性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("b0b1f45f-1bcf-4540-beb4-98c8b0dd8c2c")]
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 内部版本号
// 修订号
//
// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
// 方法是按如下所示使用“*”:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

BIN
ECDeveloper/Template/Code/WebBase/Properties/vssver.scc

Binary file not shown.

308
ECDeveloper/Template/Code/WebBase/SqlHelper.cs

@ -0,0 +1,308 @@
///<summary>
///模块名: DbOra
/// <remarks>
/// 功能描述:
/// 1)提供数据连接的接口
/// </remarks>
/// <remarks>
/// 作者: 黄文发
/// 日期: 2003-09-09
/// </remarks>
///</summary>
using System.Collections;
using System.Configuration;
using System.Data.SqlClient;
namespace System.Data
{
/// <summary>
/// 数据库连接字符串用Base64加密在
/// App.Config/Web.Config中的
/// <appSettings>
/// <add key="SERVER" value="UHBhbXM=" />
///   <add key="DATABASE" value="UHBhbXM=" />
///   <add key="USERNAME" value="UHBhbXMy" />
///   <add key="PASSWD" value="UHBhbXMy" />
/// </appSettings>
/// </summary>
public class SqlHelper
{
private static string constr = null;
public static string ConnectString
{
get
{
if (constr == null)
constr = GetConnectStringFromConfig("SERVER", "DATABASE", "USERNAME", "PASSWD");
return constr;
}
}
/// <summary>
/// 从配置文件中获取数据库连接字符串
/// </summary>
/// <param name="cfDataBase"></param>
/// <param name="cfUserName"></param>
/// <param name="cfPasswd"></param>
/// <returns></returns>
public static string GetConnectStringFromConfig(string cfServer, string cfDataBase, string cfUserName, string cfPasswd)
{
string res;
try
{
string server = ConfigurationSettings.AppSettings[cfServer];
string dataBase = ConfigurationSettings.AppSettings[cfDataBase];
string userName = ConfigurationSettings.AppSettings[cfUserName];
string passwd = ConfigurationSettings.AppSettings[cfPasswd];
if (dataBase == null || dataBase == "")
throw new Exception("未指定数据库!");
res = "Password=" + passwd + ";Persist Security Info=True;User ID="
+ userName + ";Initial Catalog=" + dataBase + ";max pool size=3000;Data Source=" + server;
}
catch (Exception ex)
{
throw new Exception("连接字符串错误" + ex.Message);
}
return res;
}
public SqlHelper()
{
}
public static bool HasRow(DataSet ds)
{
if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
return false;
return true;
}
#region ExecSql
public static int ExecSql(string sql)
{
int res = 0;
SqlConnection con = new SqlConnection(ConnectString);
con.Open();
SqlCommand cmd = new SqlCommand(sql, con);
res = cmd.ExecuteNonQuery();
con.Close();
con.Dispose();
return res;
}
public static int ExecSql(ArrayList sqls)
{
int res = 0;
SqlConnection con = null;
SqlTransaction tran = null;
try
{
con = new SqlConnection(ConnectString);
con.Open();
tran = con.BeginTransaction();
foreach (string sql in sqls)
{
SqlCommand cmd = new SqlCommand(sql, con);
cmd.Transaction = tran;
res += cmd.ExecuteNonQuery();
}
tran.Commit();
}
catch (Exception ex)
{
res = -1;
tran.Rollback();
throw ex;
}
finally
{
if (con != null)
{
con.Close();
con.Dispose();
}
if (tran != null)
tran.Dispose();
}
return res;
}
#endregion
#region Select
public static SqlDataReader SelectReader(string sql)
{
SqlConnection con = new SqlConnection(ConnectString);
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandText = sql;
cmd.CommandType = CommandType.Text;
SqlDataReader reader = cmd.ExecuteReader();
return reader;
}
public static DataSet Select(string sql, int pageSize, int pageIndex, bool countInfo, ref int allCount)
{
SqlDataAdapter ad = null;
DataSet ds = new DataSet();
allCount = 0;
try
{
ad = new SqlDataAdapter(sql, ConnectString);
if ((pageSize == -1) && (pageSize == -1))
ad.Fill(ds, "TableName1");
else
{
int start = pageSize * (pageIndex - 1);
if (start < 0) start = 0;
ad.Fill(ds, start, pageSize, "TableName");
if (countInfo)
{
ad = new SqlDataAdapter(GetCountSqlString(sql), ConnectString);
DataSet dsCount = new DataSet();
ad.Fill(dsCount, "TableCount");
if (HasRow(dsCount))
allCount = Convert.ToInt32(dsCount.Tables[0].Rows[0][0]);
}
}
}
catch (Exception e)
{
allCount = 0;
ds = null;
throw e;
}
finally
{
if (ad != null)
{
ad.Dispose();
ad = null;
}
}
return ds;
}
public static DataSet Select(string sql, int pageSize, int pageIndex, ref int allCount)
{
return Select(sql, pageSize, pageIndex, true, ref allCount);
}
public static DataSet Select(string sql, int pageSize, int pageIndex)
{
int i = 0;
return Select(sql, pageSize, pageIndex, false, ref i);
}
public static DataSet Select(string sql)
{
return Select(sql, -1, -1);
}
public static DataSet ExecuteProd(string prodName, ArrayList objParams)
{
SqlConnection con = null;
try
{
con = new SqlConnection(ConnectString);
SqlCommand oc = new SqlCommand(prodName, con);
oc.CommandType = CommandType.StoredProcedure;
foreach (SqlParameter sp in objParams)
oc.Parameters.Add(sp);
con.Open();
SqlDataAdapter adp = new SqlDataAdapter(oc);
DataSet ds = new DataSet();
adp.Fill(ds);
return ds;
}
catch (Exception ex)
{
#if DEBUG
string str = ex.Message;
#endif
}
finally
{
if (con != null)
{
con.Close();
con.Dispose();
}
}
return null;
}
#endregion
private static string GetCountSqlString(string sql)
{
string res = "";
try
{
string sqlTemp = sql.ToUpper();
int iFrom = sqlTemp.IndexOf("FROM");
if (iFrom > 0)
{
int iOrder = sqlTemp.IndexOf("ORDER BY");
if (iOrder == -1)
iOrder = sql.Length;
res = "SELECT COUNT(*) AS NUM FROM " + sql.Substring(iFrom + 4, iOrder - iFrom - 4);
}
}
catch (Exception e)
{
throw e;
}
return res;
}
public static string String(string str)
{
if (str != null)
return str.Replace("'", "'");
else
return "";
}
/// <summary>
/// 1900-1-1
/// </summary>
public static DateTime MinDate
{
get { return new DateTime(1900, 1, 1); }
}
/// <summary>
/// 将字符串转化成日期,如果输入的字符串不是日期时,则返回1900-1-1
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public static DateTime Date(string str)
{
if (str == null || str == "")
return MinDate;
else
{
DateTime dt = MinDate;
if (DateTime.TryParse(str, out dt) == false)
return MinDate;
else
return dt;
}
}
public static string String(DateTime dt)
{
if (dt == (new DateTime(1,1,1)) || dt == MinDate)
return "";
else
return dt.ToShortDateString();
}
}
}

58
ECDeveloper/Template/Code/WebBase/TextBoxEx.cs

@ -0,0 +1,58 @@
using System;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
namespace Sp.Web.UI
{
[DefaultProperty( "BackColorOn" ),
ToolboxData( "<{0}:TextboxEx runat=\"server\" SkinID=\"TextBoxEx\"></{0}:TextboxEx>" )]
public class TextboxEx : System.Web.UI.WebControls.TextBox
{
private Color _colOff = Color.White;
[Category( "Appearance" ), Description( "The background color when the control loses focus" )]
public Color BackColorOff
{
get{return _colOff; }
set{_colOff = value;}
}
private Color _colOn = Color.WhiteSmoke;
[Category( "Appearance" ), Description( "The background color when the control has the focus" )]
public Color BackColorOn
{
get{return _colOn; }
set{_colOn = value;}
}
protected override void AddAttributesToRender( HtmlTextWriter writer )
{
base.AddAttributesToRender(writer);
if( inDesignMode() || System.Web.HttpContext.Current.Request.Browser.Type.IndexOf( "IE" ) > -1 )
{
writer.AddAttribute( "onFocus", "JavaScript:this.style.backgroundColor='" + ColorTranslator.ToHtml( _colOn ) + "';" );
if( _colOff.Equals( Color.Empty ) )
{
_colOff = this.BackColor;
}
writer.AddAttribute( "onBlur", "JavaScript:this.style.backgroundColor='" + ColorTranslator.ToHtml( _colOff ) + "';" );
}
}
private bool inDesignMode()
{
bool blnOut = false;
if( object.ReferenceEquals( System.Web.HttpContext.Current, null ) )
{
blnOut = true;
}
else
{
blnOut = false;
}
return blnOut;
}
}
}

62
ECDeveloper/Template/Code/WebBase/WebBase.csproj

@ -0,0 +1,62 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{EC357989-25CA-4D96-AE37-099E1810F1FF}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WebBase</RootNamespace>
<AssemblyName>WebBase</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxPro.2, Version=5.11.4.2, Culture=neutral, PublicKeyToken=eabb1b8f6347d5af, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tools\AjaxPro.2.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AlertTextBox.cs" />
<Compile Include="Calendar.cs" />
<Compile Include="DataPager.cs" />
<Compile Include="enums.cs" />
<Compile Include="PageEx.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SqlHelper.cs" />
<Compile Include="WebHelper.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

566
ECDeveloper/Template/Code/WebBase/WebHelper.cs

@ -0,0 +1,566 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Security;
using System.Security.Cryptography;
using System.Resources;
namespace WebBase
{
/// <summary>
/// The web helper class contains shared functions used by page and user controls, as base class of Page and UserControl.
/// </summary>
public class WebHelper
{
#region Helper Methods
/// <summary>
/// Gets the string param.
/// </summary>
/// <param name="request">The request.</param>
/// <param name="paramName">Name of the param.</param>
/// <param name="errorReturn">The error return.</param>
/// <returns>The param value.</returns>
public static string GetStringParam(System.Web.HttpRequest request, string paramName, string errorReturn)
{
string retStr = request.Form[paramName];
if (retStr == null)
{
retStr = request.QueryString[paramName];
}
if (retStr == null)
{
return errorReturn;
}
return retStr;
}
/// <summary>
/// Gets the int param.
/// </summary>
/// <param name="request">The request.</param>
/// <param name="paramName">Name of the param.</param>
/// <param name="errorReturn">The error return.</param>
/// <returns>The param value.</returns>
public static int GetIntParam(System.Web.HttpRequest request, string paramName, int errorReturn)
{
string retStr = request.Form[paramName];
if (retStr == null)
{
retStr = request.QueryString[paramName];
}
if (retStr == null || retStr.Trim() == string.Empty)
{
return errorReturn;
}
try
{
return Convert.ToInt32(retStr);
}
catch
{
return errorReturn;
}
}
/// <summary>
/// Gets the date time param.
/// </summary>
/// <param name="request">The request.</param>
/// <param name="paramName">Name of the param.</param>
/// <param name="errorReturn">The error return.</param>
/// <returns>The param value.</returns>
public static DateTime GetDateTimeParam(System.Web.HttpRequest request, string paramName, DateTime errorReturn)
{
string retStr = request.Form[paramName];
if (retStr == null)
{
retStr = request.QueryString[paramName];
}
if (retStr == null || retStr.Trim() == string.Empty)
{
return errorReturn;
}
try
{
return Convert.ToDateTime(retStr);
}
catch
{
return errorReturn;
}
}
/// <summary>
/// Strongs the typed.
/// </summary>
/// <param name="obj">The obj.</param>
/// <returns>The strong typed instance.</returns>
public static ObjectType StrongTyped<ObjectType>(object obj)
{
return (ObjectType)obj;
}
/// <summary>
/// Toes the js single quote safe string.
/// </summary>
/// <param name="str">The STR.</param>
/// <returns>The formated str.</returns>
public static string ToJsSingleQuoteSafeString(string str)
{
return str.Replace("'", "\\'");
}
/// <summary>
/// Toes the js double quote safe string.
/// </summary>
/// <param name="str">The STR.</param>
/// <returns>The formated str.</returns>
public static string ToJsDoubleQuoteSafeString(string str)
{
return str.Replace("\"", "\\\"");
}
/// <summary>
/// Toes the VBS quote safe string.
/// </summary>
/// <param name="str">The STR.</param>
/// <returns>The formated str.</returns>
public static string ToVbsQuoteSafeString(string str)
{
return str.Replace("\"", "\"\"");
}
/// <summary>
/// Toes the SQL quote safe string.
/// </summary>
/// <param name="str">The STR.</param>
/// <returns>The formated str.</returns>
public static string ToSqlQuoteSafeString(string str)
{
return str.Replace("'", "''");
}
/// <summary>
/// Texts to HTML.
/// </summary>
/// <param name="txtStr">The TXT STR.</param>
/// <returns>The formated str.</returns>
public static string TextToHtml(string txtStr)
{
return txtStr.Replace(" ", "&nbsp;").Replace("\t", "&nbsp;&nbsp;&nbsp;&nbsp;").
Replace("<", "&lt;").Replace(">", "&gt;").Replace("\r", "").Replace("\n", "<br />");
}
#endregion
#region Resource
private static Dictionary<string, Hashtable> stringResources = new Dictionary<string, Hashtable>();
private static System.Globalization.CultureInfo defaultCulture = null;
/// <summary>
/// Gets or sets the default culture.
/// </summary>
/// <value>The default culture.</value>
public static System.Globalization.CultureInfo DefaultCulture
{
get
{
return defaultCulture ?? System.Threading.Thread.CurrentThread.CurrentUICulture;
}
set
{
defaultCulture = value;
}
}
/// <summary>
/// Loads the resources.
/// </summary>
/// <param name="resourceName">Name of the resource.</param>
/// <param name="ci">The ci.</param>
public static void LoadResources(string resourceName, System.Globalization.CultureInfo ci)
{
string resFileName = System.Web.HttpRuntime.BinDirectory + resourceName + "." + ci.ToString() + ".resources";
if (System.IO.File.Exists(resFileName))
{
lock (stringResources)
{
if (!stringResources.ContainsKey(ci.ToString()))
{
stringResources.Add(ci.ToString(), new Hashtable());
try
{
ResourceReader reader = new ResourceReader(resFileName);
IDictionaryEnumerator en = reader.GetEnumerator();
while (en.MoveNext())
{
stringResources[ci.ToString()].Add(en.Key, en.Value);
}
reader.Close();
}
catch
{
}
}
}
}
}
/// <summary>
/// Loads the resources.
/// </summary>
/// <param name="resourceName">Name of the resource.</param>
public static void LoadResources(string resourceName)
{
LoadResources(resourceName, DefaultCulture);
}
/// <summary>
/// Gets the string.
/// </summary>
/// <param name="key">The key.</param>
/// <returns>The resouce value.</returns>
public static string GetString(string key)
{
return GetString(key, WebHelper.DefaultCulture);
}
/// <summary>
/// Gets the string.
/// </summary>
/// <param name="key">The key.</param>
/// <param name="ci">The ci.</param>
/// <returns>The resouce value.</returns>
public static string GetString(string key, System.Globalization.CultureInfo ci)
{
if (stringResources.ContainsKey(ci.ToString()))
{
if (stringResources[ci.ToString()].Contains(key))
{
return stringResources[ci.ToString()][key].ToString();
}
}
return string.Empty;
}
#endregion
#region ClientScriptFactoryHelper
/// <summary>
/// Common Client Script
/// </summary>
public class ClientScriptFactoryHelper
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="ClientScriptFactoryHelper"/> class.
/// </summary>
public ClientScriptFactoryHelper()
{
}
#endregion
/// <summary>
/// Wraps the script tag.
/// </summary>
/// <param name="scripts">The scripts.</param>
/// <returns>The script.</returns>
public string WrapScriptTag(params string[] scripts)
{
if (scripts != null && scripts.Length > 0)
{
StringBuilder sb = new StringBuilder();
sb.Append("\r\n<script language=\"javascript\" type=\"text/javascript\">\r\n<!--\r\n");
foreach (string script in scripts)
{
sb.Append(script.EndsWith(";") || script.EndsWith("}") ? script : script + ";");
}
sb.Append("\r\n//-->\r\n</script>\r\n");
return sb.ToString();
}
else
{
return string.Empty;
}
}
/// <summary>
/// Pops the alert.
/// </summary>
/// <param name="msg">The MSG.</param>
/// <returns>The script.</returns>
public string PopAlert(string msg)
{
return string.Format(" window.alert('{0}'); ", ToJsSingleQuoteSafeString(msg));
}
/// <summary>
/// Pops the confirm.
/// </summary>
/// <param name="msg">The MSG.</param>
/// <returns>The script.</returns>
public string PopConfirm(string msg)
{
return string.Format(" window.confirm('{0}') ", ToJsSingleQuoteSafeString(msg));
}
/// <summary>
/// Pops the prompt.
/// </summary>
/// <param name="msg">The MSG.</param>
/// <param name="defaultValue">The default value.</param>
/// <returns>The script.</returns>
public string PopPrompt(string msg, string defaultValue)
{
return string.Format(" window.prompt('{0}', '{1}') ", ToJsSingleQuoteSafeString(msg), ToJsSingleQuoteSafeString(defaultValue));
}
/// <summary>
/// Closes the self.
/// </summary>
/// <returns>The script.</returns>
public string CloseSelf()
{
return " window.close(); ";
}
/// <summary>
/// Closes the parent.
/// </summary>
/// <returns>The script.</returns>
public string CloseParent()
{
return " if (window.parent) { window.parent.close(); } ";
}
/// <summary>
/// Closes the opener.
/// </summary>
/// <returns>The script.</returns>
public string CloseOpener()
{
return " if (window.opener) { window.opener.close(); } ";
}
/// <summary>
/// Refreshes the self.
/// </summary>
/// <returns>The script.</returns>
public string RefreshSelf()
{
return " window.location += ' '; ";
}
/// <summary>
/// Refreshes the opener.
/// </summary>
/// <returns>The script.</returns>
public string RefreshOpener()
{
return " if (window.opener) { window.opener.location += ' '; } ";
}
/// <summary>
/// Refreshes the parent.
/// </summary>
/// <returns>The script.</returns>
public string RefreshParent()
{
return " if (window.parent) { window.parent.location += ' '; } ";
}
/// <summary>
/// Shows the modal dialog.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="status">if set to <c>true</c> [status].</param>
/// <param name="resizable">if set to <c>true</c> [resizable].</param>
/// <param name="height">The height.</param>
/// <param name="width">The width.</param>
/// <param name="top">The top.</param>
/// <param name="left">The left.</param>
/// <param name="scroll">if set to <c>true</c> [scroll].</param>
/// <returns>The script.</returns>
public string ShowModalDialog(string url, bool status, bool resizable, int height, int width, int top, int left, bool scroll)
{
return string.Format(" window.showModalDialog('{0}', window, 'status={1},resizable={2},dialogHeight={3}px,dialogWidth={4}px,dialogTop={5},dialogLeft={6},scroll={7},unadorne=yes'); ",
ToJsSingleQuoteSafeString(url), (status ? 1 : 0), (resizable ? 1 : 0), height, width, top, left, (scroll ? 1 : 0));
}
/// <summary>
/// Shows the modal dialog.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="status">if set to <c>true</c> [status].</param>
/// <param name="resizable">if set to <c>true</c> [resizable].</param>
/// <param name="height">The height.</param>
/// <param name="width">The width.</param>
/// <param name="center">if set to <c>true</c> [center].</param>
/// <param name="scroll">if set to <c>true</c> [scroll].</param>
/// <returns>The script.</returns>
public string ShowModalDialog(string url, bool status, bool resizable, int height, int width, bool center, bool scroll)
{
return string.Format(" window.showModalDialog('{0}', window, 'status={1},resizable={2},dialogHeight={3}px,dialogWidth={4}px,center={5},scroll={6},unadorne=yes'); ",
ToJsSingleQuoteSafeString(url), (status ? 1 : 0), (resizable ? 1 : 0), height, width, (center ? 1 : 0), (scroll ? 1 : 0));
}
/// <summary>
/// Shows the modeless dialog.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="status">if set to <c>true</c> [status].</param>
/// <param name="resizable">if set to <c>true</c> [resizable].</param>
/// <param name="height">The height.</param>
/// <param name="width">The width.</param>
/// <param name="top">The top.</param>
/// <param name="left">The left.</param>
/// <param name="scroll">if set to <c>true</c> [scroll].</param>
/// <returns>The script.</returns>
public string ShowModelessDialog(string url, bool status, bool resizable, int height, int width, int top, int left, bool scroll)
{
return string.Format(" window.showModelessDialog('{0}', window, 'status={1},resizable={2},dialogHeight={3}px,dialogWidth={4}px,dialogTop={5},dialogLeft={6},scroll={7},unadorne=yes'); ",
ToJsSingleQuoteSafeString(url), (status ? 1 : 0), (resizable ? 1 : 0), height, width, top, left, (scroll ? 1 : 0));
}
/// <summary>
/// Shows the modeless dialog.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="status">if set to <c>true</c> [status].</param>
/// <param name="resizable">if set to <c>true</c> [resizable].</param>
/// <param name="height">The height.</param>
/// <param name="width">The width.</param>
/// <param name="center">if set to <c>true</c> [center].</param>
/// <param name="scroll">if set to <c>true</c> [scroll].</param>
/// <returns>The script.</returns>
public string ShowModelessDialog(string url, bool status, bool resizable, int height, int width, bool center, bool scroll)
{
return string.Format(" window.showModelessDialog('{0}', window, 'status={1},resizable={2},dialogHeight={3}px,dialogWidth={4}px,center={5},scroll={6},unadorne=yes'); ",
ToJsSingleQuoteSafeString(url), (status ? 1 : 0), (resizable ? 1 : 0), height, width, (center ? 1 : 0), (scroll ? 1 : 0));
}
/// <summary>
/// Selfs the go back.
/// </summary>
/// <returns>The script.</returns>
public string SelfGoBack()
{
return " window.history.back(); ";
}
/// <summary>
/// Parents the go back.
/// </summary>
/// <returns>The script.</returns>
public string ParentGoBack()
{
return " if (window.parent) { window.parent.history.back(); } ";
}
/// <summary>
/// Openers the go back.
/// </summary>
/// <returns>The script.</returns>
public string OpenerGoBack()
{
return " if (window.opener) { window.opener.history.back(); } ";
}
/// <summary>
/// Opens the specified URL.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="frameName">Name of the frame.</param>
/// <param name="status">if set to <c>true</c> [status].</param>
/// <param name="location">if set to <c>true</c> [location].</param>
/// <param name="menubar">if set to <c>true</c> [menubar].</param>
/// <param name="resizable">if set to <c>true</c> [resizable].</param>
/// <param name="height">The height.</param>
/// <param name="width">The width.</param>
/// <param name="top">The top.</param>
/// <param name="left">The left.</param>
/// <param name="scrollbars">if set to <c>true</c> [scrollbars].</param>
/// <param name="toolbar">if set to <c>true</c> [toolbar].</param>
/// <returns>The script.</returns>
public string Open(string url, string frameName, bool status, bool location, bool menubar,
bool resizable, int height, int width, int top, int left, bool scrollbars, bool toolbar)
{
return string.Format(" window.open('{0}', '{1}', 'status={2},location={3},menubar={4},resizable={5},height={6}px,width={7}px,top={8},left={9},scrollbars={10},toolbar={11}'); ",
ToJsSingleQuoteSafeString(url), ToJsSingleQuoteSafeString(frameName), (status ? 1 : 0), (location ? 1 : 0), (menubar ? 1 : 0), (resizable ? 1 : 0), height, width, top, left, (scrollbars ? 1 : 0), (toolbar ? 1 : 0));
}
/// <summary>
/// Opens the specified URL.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="frameName">Name of the frame.</param>
/// <returns>The script.</returns>
public string Open(string url, string frameName)
{
return string.Format(" window.open('{0}', '{1}'); ", ToJsSingleQuoteSafeString(url), ToJsSingleQuoteSafeString(frameName));
}
/// <summary>
/// Calls the client validator.
/// </summary>
/// <param name="prefix">The prefix.</param>
/// <param name="validators">The validators.</param>
/// <returns>The script.</returns>
protected string CallClientValidator(string prefix, params System.Web.UI.WebControls.BaseValidator[] validators)
{
if (validators != null && validators.Length > 0)
{
StringBuilder sb = new StringBuilder();
foreach (System.Web.UI.WebControls.BaseValidator validator in validators)
{
sb.Append(string.Format(" ValidatorValidate({1}{0}); ", validator.ID, prefix));
}
return sb.ToString();
}
else
{
return string.Empty;
}
}
/// <summary>
/// Toes the js string array.
/// </summary>
/// <param name="strs">The STRS.</param>
/// <returns>The script.</returns>
public string ToJsStringArray(params string[] strs)
{
if (strs != null && strs.Length > 0)
{
StringBuilder sb = new StringBuilder();
sb.Append(" new Array(");
foreach (string str in strs)
{
sb.Append(string.Format("'{0}', ", str.Replace("'", "\\'")));
}
return sb.ToString().TrimEnd(',', ' ') + ");";
}
else
{
return " new Array;";
}
}
}
#endregion
}
}

17
ECDeveloper/Template/Code/WebBase/enums.cs

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WebBase
{
/// <summary>
/// ȨÏÞλ
/// </summary>
public enum PrivlegeEnums:int
{
New = 0,
Edit = 1,
Delete = 2,
View = 3
}
}

BIN
ECDeveloper/Template/Code/WebBase/vssver.scc

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/Thumbs.db

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/bg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/header.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/headerOver.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_arro2.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_coop.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/ico_expand.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Left/vssver.scc

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Thumbs.db

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/Thumbs.db

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/bg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/logo_bg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/menu_bg_off.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/menu_bg_on.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/nav_bg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/nav_ico.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/quit_ico.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/Top/vssver.scc

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/btnBackgroup.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/login.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleBg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleLeft.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 929 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/tableSubTitleRight.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Images/vssver.scc

Binary file not shown.

104
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Left.css

@ -0,0 +1,104 @@
.LeftBar
{
float:left;
width:200px;
background-image:url(images/left/bg.jpg);
background-position:bottom center;
background-repeat:no-repeat;
background-color:#FAFAFA ;
border-right:1px solid #D6DEED;
padding-left:15px;
height:100%; /*expression(body.clientHeight -112); 动态计算 112是顶部的高度*/
}
/*1级菜单*/
.LeftBar .Title
{
margin-bottom:6px;
margin-top: 10px;
color:#ff6600;
font-weight:bold;
cursor:hand;
}
/******************************************************************************************/
/*2级菜单中的背景*/
.LeftBar .Header
{
cursor:hand;
color:#284997;
padding-left:10px;
padding-top:8px;
height:12px;
background-image:url(images/left/header.jpg);
background-position:left bottom;
background-repeat:no-repeat;
}
/*2级菜单中的当鼠标移上去时的背景*/
.LeftBar .HeaderOver
{
cursor:hand;
color:#284997;
padding-left:10px;
padding-top:8px;
height:12px;
background-image:url(images/left/headerOver.jpg);
background-position:left bottom;
background-repeat:no-repeat;
}
/*2级菜单中的+号*/
.LeftBar .HeaderCoop
{
background-image:url(images/left/ico_coop.gif);
background-position:left top;
background-repeat:no-repeat;
padding-left:20px;
height:1px;
float:left;
}
/*2级菜单中的-号*/
.LeftBar .HeaderExpand
{
background-image:url(images/left/ico_expand.gif);
background-position:left top;
background-repeat:no-repeat;
padding-left:20px;
height:1px;
float:left;
}
/******************************************************************************************/
/*3级*/
.LeftBar .List
{
line-height:20px;
list-style-image:url(images/left/ico_arro2.gif);
list-style-type:none;
}
.LeftBar .List a
{
padding:2px 3px 0px 3px;
margin:0px 3px 0px 5px;
width:95%;
height:20px;
text-decoration:none;
color:Black;
}
.LeftBar .List a:hover
{
color:#ff6600;
text-decoration:none;
padding:2px 3px 0px 3px;
margin:0px 3px 0px 5px;
width:95%;
height:20px;
}
/*3级点击中*/
.LeftBar .List .clkBg
{
border:1px solid #84AACF;
background-color:#E8F2FF;
height:20px;
color:#154EB2;
}
.LeftBar .Link
{
}

103
ECDeveloper/Template/Code/WebSite/App_Themes/Default/Top.css

@ -0,0 +1,103 @@
/*****************************************************************************************************/
/* */
/*****************************************************************************************************/
.TopBar
{
background-image:url(images/top/bg.jpg);
width:100%;
height:74px;
}
/*LOGO*/
.TopBar .Logo
{
background-image:url(images/top/logo_bg.jpg);
background-repeat:no-repeat;
height:74px;
width:233px;
margin-left:10px;
}
/*菜单*/
.TopBar .Menu
{
height:30px;
position:absolute;
right:10px;
top:42px;
height:44px;
}
.TopBar .Menu a.menu_off
{
height:22px;
width:100px;
color:#FFFFFF;
text-decoration:none;
padding-top:10px;
text-align:center;
font-weight:bold;
display:inline-block;
background-image:url(images/top/menu_bg_off.jpg);
background-repeat:no-repeat;
background-position:bottom center;
}
.TopBar .Menu a.menu_on
{
height:22px;
width:100px;
color:#FFFFFF;
text-decoration:none;
padding-top:10px;
text-align:center;
font-weight:bold;
display:inline-block;
background-image:url(images/top/menu_bg_on.jpg);
background-position:bottom center;
background-repeat:no-repeat;
}
.TopBar .Menu a.menu_off:hover,.TopBar .Menu a.menu_on:hover
{
color:#FFffff;
}
/*****************************************************************************************************/
/* 导航 */
/*****************************************************************************************************/
.NavBar
{
height:36px;
background-image:url(images/top/nav_bg.jpg);
background-position:bottom;
width:100%;
border-bottom:1px solid #EFEFEF;
}
.NavBar .Title
{
background-image:url(images/top/nav_ico.gif);
background-position:left center;
background-repeat:no-repeat;
padding-top:3px;
padding-left:20px;
display:inline;
position:absolute;
top:83px;
left:240px;
height:14px;
}
.NavBar .Exit
{
background-image:url(images/top/quit_ico.gif);
background-position:left center;
background-repeat:no-repeat;
padding-top:3px;
padding-left:20px;
display:inline;
position:absolute;
top:83px;
right:20px;
height:14px;
}
.NavBar .Exit a
{
color:#5E6F95;
font-weight:bold;
text-decoration:none;
}

197
ECDeveloper/Template/Code/WebSite/App_Themes/Default/default.css

@ -0,0 +1,197 @@
body
{
margin:0px;
font-size:12px;
font-family:arial,sans-serif;
height:100%;
}
*
{
scrollbar-face-color: #E9EDF5;
scrollbar-shadow-color: #AFBEDD;
scrollbar-highlight-color:#D6DEED;
scrollbar-3dlight-color: #F3F3F3;
scrollbar-darkshadow-color: #AFBEDD;
scrollbar-track-color:#EFEFEF;
scrollbar-arrow-color: #5493F0;
background-color:transparent;
}
.ContentDiv
{
position:absolute;
top:115px;
left:220px;
width:expression( body.clientWidth-222); /*动态计算 222是右部的宽度*/
}
/*****************************************************************/
/* 输入框提示 */
/*****************************************************************/
.modalBackground {
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}
.modalPopup {
background-color:#ffffdd;
border-width:2px;
border-style:solid;
border-color:Gray;
padding:3px;
width:250px;
}
/*****************************************************************/
/* 按钮 */
/*****************************************************************/
.btn {
background-image:url(images/btnBackgroup.jpg);
background-position:center center;
background-color:#FFB381;
border:1px solid #FF9C59;
border-bottom:1px solid #FF6400;
height:22px;
letter-spacing:2px;
color:#ffffff;
}
/*****************************************************************/
/* 表格 */
/*****************************************************************/
.TitleTable
{
background-image:url(images/tableSubTitleBg.jpg);
background-repeat:repeat-x;
height:25px;
width:100%;
margin-bottom:3px;
}
.TitleTable th
{
background-image:url(images/tableSubTitleLeft.jpg);
background-position:left;
background-repeat:no-repeat;
width:5%;
}
.TitleTable td
{
background-image:url(images/tableSubTitleRight.jpg);
background-position:right;
background-repeat:no-repeat;
color:#154EB2;
font-weight:bold;
}
.MainTable
{
border-top:1px solid #D6DDED;
border-left:1px solid #D6DDED;
width:100%;
background-color:#FFFFFF;
}
.MainTable td
{
border-bottom:1px solid #D6DDED;
border-right:1px solid #D6DDED;
color:#333333;
padding:3px 4px 3px 8px;
}
.MainTable a
{
color:#13459E;
}
.MainTable .Title
{
border-bottom:1px solid #CDD6E8;
border-right:1px solid #CDD6E8;
background-color:#F4F8FF;
text-align:right;
padding:5px 5px 5px 2px;
}
.MainTable .RTitle
{
border-bottom:1px solid #CDD6E8;
border-right:1px solid #CDD6E8;
background-color:#F4F8FF;
padding:5px 5px 5px 2px;
}
/*****************************************************************/
/* 输入提示框 */
/*****************************************************************/
.AlertDiv
{
border-width: 1px;
border-style:solid;
border-color: #FF6500;
background-color: #FFF3EF;
vertical-align:middle;
padding:2px;
line-height:18px;
}
.InfoDiv
{
border-width: 1px;
border-style:solid;
border-color: #00AAFF;
background-color: #E7F7FF;
vertical-align:middle;
padding:2px;
line-height:18px;
}
.NullDiv
{
border-width: 1px;
border-style:solid;
background-color: #FFFFFF;
border-color: #FFFFFF;
vertical-align:middle;
padding:2px;
line-height:18px;
}
.NullTable
{
border-width:0px;
border-color:White;
}
.NullTable .TextBoxTd
{
background-color:Red;
}
.NullTable td
{
border-width:0px;
border-color:White;
}
/*****************************************************************/
/* 输入提示框 */
/*****************************************************************/
.Login
{
background-image:url(images/login.gif);
background-repeat:no-repeat;
background-position:bottom;
width:443px;
height:231px;
margin:0 auto;
padding-top:80px;
}
.Login .inputTable
{
position:relative;
top:70px;
left:200px;
}
.Login .inputTable td
{
height:30px;
}
.Login .inputTable .txt
{
border:solid 1px #98B7DF;
}
.Login .inputTable .Label
{
color:#154EB2;
}

BIN
ECDeveloper/Template/Code/WebSite/App_Themes/Default/vssver.scc

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/Bin/AjaxPro.2.dll

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/Bin/vssver.scc

Binary file not shown.

4
ECDeveloper/Template/Code/WebSite/Default.aspx

@ -0,0 +1,4 @@
<%@ Page Language="C#" Theme="default" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

18
ECDeveloper/Template/Code/WebSite/Default.aspx.cs

@ -0,0 +1,18 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.PageEx
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

25
ECDeveloper/Template/Code/WebSite/Default.master

@ -0,0 +1,25 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Default.master.cs" Inherits="_Default" %>
<%@ Register Src="UC/LeftUc.ascx" TagName="LeftUc" TagPrefix="uc2" %>
<%@ Register Src="UC/TopUc.ascx" TagName="TopUc" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<uc1:TopUc ID="TopUc1" runat="server" />
<uc2:LeftUc ID="LeftUc1" runat="server" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="ContentDiv">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>

18
ECDeveloper/Template/Code/WebSite/Default.master.cs

@ -0,0 +1,18 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

35
ECDeveloper/Template/Code/WebSite/Login.aspx

@ -0,0 +1,35 @@
<%@ Page Language="C#" Theme="Default" AutoEventWireup="true" CodeFile="Login.aspx.cs"
Inherits="Login" %>
<%@ Register Src="UC/TopUc.ascx" TagName="TopUc" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<uc1:TopUc ID="TopUc1" runat="server" />
<div class="Login">
<table cellpadding="0" cellspacing="0" border="0" class="inputTable">
<tr>
<td class="Label">
用户名:</td>
<td>
<asp:TextBox ID="txtUserName" runat="server" CssClass="txt"></asp:TextBox></td>
</tr>
<tr>
<td class="Label">
密&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
<td>
<asp:TextBox ID="txtPasswd" runat="server" CssClass="txt"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnLogin" runat="server" CssClass="btn" Text="登 录" OnClick="btnLogin_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>

35
ECDeveloper/Template/Code/WebSite/Login.aspx.cs

@ -0,0 +1,35 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Login : System.Web.UI.PageEx
{
protected void Page_Load(object sender, EventArgs e)
{
TopUc1.SetNoLoginLayout();
}
protected void btnLogin_Click(object sender, EventArgs e)
{
// if (txtUserName.Text.Trim() != "" && txtPasswd.Text.Trim() != "")
// {
//DataSet ds = Dal.UsersDal.Select(" username='" + SqlHelper.String(txtUserName.Text) + "' and passwd='" + SqlHelper.String(txtPasswd.Text) + "'");
//if (SqlHelper.HasRow(ds))
//{
// Model.Users users = new Model.Users(ds.Tables[0].Rows[0]);
// UserId = users.UserId;
// RoleId = users.Rid;
/*Test*/
UserId = 1;
RoleId = 1;
Response.Redirect("default.aspx");
//}
// }
}
}

172
ECDeveloper/Template/Code/WebSite/UC/LeftUc.ascx

@ -0,0 +1,172 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LeftUc.ascx.cs" Inherits="UC_LeftUc" %>
<div class="LeftBar" id="LeftBar">
<asp:Literal ID="ltLeftMenu" runat="server"></asp:Literal>
</div>
<script language="JavaScript1.2">
<!--
var clkedId = "";
var chgedId = "";
var openId = "";
var openIndex = "";
//获取本菜单中的第一级菜单控件
function getLeftBarItem(itemid)
{
var item;
var leftBar = document.getElementById("LeftBar");
for(i=0;i<leftBar.childNodes.length;i++)
{
if(leftBar.childNodes[i].id == itemid)
{
item = leftBar.childNodes[i];
break;
}
}
return item;
}
function change()
{
var curEleId = event.srcElement.id;
var clickObj = getLeftBarItem(event.srcElement.id);
if (clickObj != null && (clickObj.className=="Header" || clickObj.className=="HeaderOver"
|| clickObj.className=="HeaderExpand" || clickObj.className=="HeaderCoop"))
{
var srcIndex = event.srcElement.sourceIndex;
var nested = document.all[srcIndex+2];
if (nested.style.display=="none")
{
if (openId!="")
{
openId.style.display = "none";
imgId = document.all[openIndex+1];
if( imgId != null)
imgId.className="HeaderExpand";
}
nested.style.display='';
openId = nested;
openIndex = srcIndex;
var nested = document.all[srcIndex+1];
if( nested != null)
nested.className="HeaderCoop";
}
else
{
nested.style.display="none";
openId = "";
openIndex = "";
var nested = document.all[srcIndex+1];
if( nested != null)
nested.className="HeaderExpand";
}
return;
}
if (curEleId == "submenu")
{
var srcIndex = event.srcElement.sourceIndex
var i=1;
var nested;
while(i<document.all.length)
{
nested = document.all[srcIndex-i];
if (nested.className == "Header" || nested.className == "HeaderOver")
break;
else
i++;
}
startPos = nested.innerHTML.indexOf(">") + 7;
endPos = nested.innerHTML.length;
clkedId.className = "";
clkedId = document.all[srcIndex];
clkedId.className = "clkBg";
clkedId.blur();
document.location =clkedId.href
return;
}
if (event.srcElement.className=="Title")
{
if (openId!="")
{
openId.style.display = "none";
openId = "";
}
return;
}
}
function changeBG()
{
if (chgedId!="")
{
var oldchge = getLeftBarItem(chgedId);
if( oldchge.className =="HeaderOver")
oldchge.className="Header";
chgedId = ""
}
if( event.srcElement.id != null && event.srcElement.id != "")
{
var chobj = getLeftBarItem(event.srcElement.id);
if(chobj != null && chobj.className=="Header")
{
chobj.className = "HeaderOver";
chgedId = event.srcElement.id;
}
}
}
function hiddenFolderlist()
{
var nested;
var leftBar = document.getElementById("LeftBar");
for(i=0;i<leftBar.childNodes.length;i++)
{
nested = leftBar.childNodes[i];
if (nested.className == "List")
nested.style.display="none";
}
}
function expandmenu()
{
var bclik = false;
var nested;
var leftBar = document.getElementById("LeftBar");
for(i=0;i<leftBar.childNodes.length;i++)
{
nested = leftBar.childNodes[i];
var ulIndex = document.all[nested.sourceIndex+2];
if( ulIndex != null && ulIndex.className=="List")
{
for(j=0;j<ulIndex.childNodes.length;j++)
{
var lia = ulIndex.childNodes[j].childNodes[0];
if( lia.href == document.location)
{
ulIndex.style.display="";
openId = ulIndex;
openIndex = nested.sourceIndex;
if( nested.childNodes.length>0)
{
var img = nested.childNodes[0];
if( img.className=="HeaderExpand" || img.className=="HeaderCoop")
{
img.className="HeaderCoop";
}
}
clkedId = lia;
clkedId.className = "clkBg";
bclik = true;
break;
}
}
}
if( bclik == true)
break;
}
}
document.getElementById("LeftBar").onclick=change;
document.getElementById("LeftBar").onmouseover = changeBG;
hiddenFolderlist();
expandmenu();
//-->
</script>

71
ECDeveloper/Template/Code/WebSite/UC/LeftUc.ascx.cs

@ -0,0 +1,71 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using Dal;
public partial class UC_LeftUc : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Page is PageEx)
{
string topMenuId = Convert.ToString((Page as PageEx).TopMenuId);
if (topMenuId != "0") //不是顶级菜单
{
StringBuilder sbLeftMenus = new StringBuilder();
string strFirsh = "<div class='Title'><div class='HeaderCoop'></div>{0}</div>";
string strSecond = "<div id='foldheader{0}' class='Header'><div class='HeaderExpand'></div>{1}</div>";
string strThree = "<li><a href='{0}' id='submenu'>{1}</a></li>";
DataSet dsAllMenus = MenusDal.Select(); //(Page as PageEx).RoleId
if (SqlHelper.HasRow(dsAllMenus))
{
//一级菜单
DataRow[] dsFirsts = dsAllMenus.Tables[0].Select("menuid=" + topMenuId);
if (dsFirsts != null && dsFirsts.Length == 1)
{
//一级
Model.Menus menusFirst = new Model.Menus(dsFirsts[0]);
sbLeftMenus.Append(string.Format(strFirsh, menusFirst.Text));
#region 二级
int iSecond = 0;
DataRow[] drSeconds = dsAllMenus.Tables[0].Select("upmenuid=" + topMenuId);
foreach (DataRow drSecond in drSeconds)
{
Model.Menus menusSecond = new Model.Menus(drSecond);
sbLeftMenus.Append(string.Format(strSecond,iSecond++, menusSecond.Text));
#region 三级
sbLeftMenus.Append("<ul class='List'>");
DataRow[] drThrees = dsAllMenus.Tables[0].Select("upmenuid=" + menusSecond.MenuId.ToString());
foreach (DataRow drThree in drThrees)
{
Model.Menus menusThree = new Model.Menus(drThree);
sbLeftMenus.Append(string.Format(strThree, menusThree.Url, menusThree.Text));
}
sbLeftMenus.Append("</ul>");
#endregion
}
#endregion
}
}
ltLeftMenu.Text = sbLeftMenus.ToString();
}
}
}
}
}

43
ECDeveloper/Template/Code/WebSite/UC/TopUc.ascx

@ -0,0 +1,43 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopUc.ascx.cs" Inherits="UC_TopUc" %>
<div class="TopBar">
<div class="Logo">
</div>
<div class="Menu">
<asp:Literal ID="litMenu" runat="server"></asp:Literal>
</div>
</div>
<div class="NavBar">
<asp:Panel ID="panNav" runat="server">
<div class="Title">
<asp:LinkButton ID="lbtnManager" runat="server" ></asp:LinkButton>
</div>
<div class="Exit">
<asp:LinkButton ID="lbtnExit" runat="server" Text="退出本系统" OnClick="lbtnExit_Click"></asp:LinkButton>
</div>
</asp:Panel>
<asp:HiddenField ID="hfNonLogin" runat="server" />
</div>
<script language="javascript" type="text/javascript">
var clicked_mainMenu = "";
var clkedId = "";
function init()
{
i=0;
while(i<document.all.length)
{
if (document.all[i].className == "menu_off")
{
if (document.all[i].href == document.location)
{
clkedId = document.all[i];
clkedId.className="menu_on";
break;
}
}
i++;
}
return;
}
init();
</script>

64
ECDeveloper/Template/Code/WebSite/UC/TopUc.ascx.cs

@ -0,0 +1,64 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using Dal;
public partial class UC_TopUc : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (hfNonLogin.Value != "1" && Page is PageEx)
{
int roleId = (Page as PageEx).RoleId;
if (roleId > 0 && (Page as PageEx).UserId > 0)
{
StringBuilder sbTopMenus = new StringBuilder();
//从数据库中获取
DataSet dsTopMenu = MenusDal.Select("upmenuid=0");
if (SqlHelper.HasRow(dsTopMenu))
{
foreach (DataRow dr in dsTopMenu.Tables[0].Rows)
{
Model.Menus menus = new Model.Menus(dr);
string strMenu = string.Format("<a href='{0}' class='menu_off'>{1}</a>", menus.Url, menus.Text);
sbTopMenus.Append(strMenu);
}
}
litMenu.Text = sbTopMenus.ToString();
}
else
{
Response.Redirect("~/login.aspx");
}
}
}
}
public void SetNoLoginLayout()
{
litMenu.Visible = false;
panNav.Visible = false;
hfNonLogin.Value = "1";
}
protected void lbtnExit_Click(object sender, EventArgs e)
{
if (Page is PageEx)
{
(Page as PageEx).UserId = 0;
(Page as PageEx).RoleId = 0;
}
Response.Redirect("~/Login.aspx");
}
}

BIN
ECDeveloper/Template/Code/WebSite/UC/vssver.scc

Binary file not shown.

BIN
ECDeveloper/Template/Code/WebSite/vssver.scc

Binary file not shown.

325
ECDeveloper/Template/DAL.cst

@ -0,0 +1,325 @@
<%@ CodeTemplate Language="C#" ClassName="DAL" TargetLanguage="C#" Debug="False" Description="" %>
<%@ Property Name="databaseProjectName" Type="System.String" Default="SpSampleDb" Optional="True" Category="Context" Description="" %>
<%@ Property Name="nameSpace" Type="System.String" Default="Dal" Optional="True" Category="Context" Description="" %>
<%
DbEntity db = Template.GetDataBase(databaseProjectName);
foreach(Table tb in db.Tables)
{
OpenResponse(databaseProjectName+"\\DAL\\"+tb.ModuleName+"\\"+tb.PropertyName+"Dal.cs");
string noDefaultFields = "";
string noDefaultFieldFormats = "";
string noDefaultFieldValues = "";
int iField = 0;
foreach(Field fd in tb.Fields)
{
if( (fd.DefaultValue != "" || fd.DefaultValue != null) && fd.Identity.Enable == false)
{
noDefaultFields += "\t\t\t\t\t"+fd.PropertyName+",\r\n";
if( fd.DataType.GroupName.ToUpper() == "STRING")
noDefaultFieldValues += "\t\t\t\t\tFormatCom.String("+tb.MemberName+"."+fd.MemberName+"),\r\n";
else if( fd.DataType.GroupName.ToUpper() == "DATETIME")
noDefaultFieldValues += "\t\t\t\t\t"+tb.MemberName+"."+fd.MemberName+",\r\n";
else
noDefaultFieldValues += "\t\t\t\t\t"+tb.MemberName+"."+fd.MemberName+",\r\n";
if( fd.DataType.GroupName.ToUpper() == "NUMBER")
noDefaultFieldFormats += "{"+iField.ToString()+"},";
//else if( fd.DataType.GroupName.ToUpper() == "DATETIME")
// noDefaultFieldFormats += "{"+iField.ToString()+"},";
else
noDefaultFieldFormats += "'{"+iField.ToString()+"}',";
iField++;
}
}
if( noDefaultFields.EndsWith(",\r\n"))
noDefaultFields = noDefaultFields.Substring(0,noDefaultFields.Length-3);
if( noDefaultFieldValues.EndsWith(",\r\n"))
noDefaultFieldValues = noDefaultFieldValues.Substring(0,noDefaultFieldValues.Length-3);
noDefaultFieldFormats = noDefaultFieldFormats.Trim(',');
%>
using System;
using System.Data;
using System.Collections.Generic;
using Model;
/*******************************************************/
/*Project:
Module :
Description :
Date : <%=DateTime.Now.ToString()%>
Create : lxc
Update :
TODO : */
/*******************************************************/
namespace <%=nameSpace%>
{
public class <%=tb.PropertyName%>Dal
{
public <%=tb.PropertyName%>Dal()
{
}
#region Insert
public static int Insert(<%=tb.PropertyName%>Model <%=tb.MemberName%>)
{
string sql = @"Insert Into <%=tb.MemberName%> (
<%=noDefaultFields%>
) values(<%=noDefaultFieldFormats%>)";
sql = string.Format(sql,
<%=noDefaultFieldValues%>
);
return DBAccess.ExecuteSql(sql);
}
#endregion
#region Update
public static int Update(<%=tb.PropertyName%>Model <%=tb.MemberName%>)
{
string sql = @"Update <%=tb.MemberName%> set
<%
iField = 0;
string updstr = "";
string upvalue = "";
iField = 0;
bool bHasPrevPk = false;
foreach(Field fd in tb.Fields)
{
if( fd.Identity.Enable == false && (fd.IsPK == false || bHasPrevPk== true))
{
updstr += "\t\t\t\t\t"+fd.PropertyName+"= ";
if( fd.DataType.GroupName.ToUpper() == "NUMBER")
updstr += "{"+iField.ToString()+"}";
//else if( fd.DataType.GroupName.ToUpper() == "DATETIME")
// updstr += "{"+iField.ToString()+"}";
else
updstr += "'{"+iField.ToString()+"}'";
updstr += ",\r\n";
if( fd.DataType.GroupName.ToUpper() == "STRING")
upvalue += "\t\t\t\t\tFormatCom.String("+tb.MemberName+"."+fd.MemberName+"),\r\n";
else if( fd.DataType.GroupName.ToUpper() == "DATETIME")
upvalue += "\t\t\t\t\tDBAccess.DateStr("+tb.MemberName+"."+fd.MemberName+"),\r\n";
else
upvalue += "\t\t\t\t\t"+tb.MemberName+"."+fd.MemberName+",\r\n";
iField++;
}
if( fd.IsPK == true)
bHasPrevPk = true;
}
if( updstr.EndsWith(",\r\n"))
updstr = updstr.Substring(0,updstr.Length-3);
%>
<%=updstr%>
where
<%
updstr = "";
foreach(Field fd in tb.Fields){
if( fd.IsPK == true)
{
updstr += "\t\t\t\t\t"+fd.PropertyName+"= ";
if( fd.DataType.GroupName.ToUpper() == "NUMBER")
updstr += "{"+iField.ToString()+"}";
//else if( fd.DataType.GroupName.ToUpper() == "DATETIME")
// updstr += "{"+iField.ToString()+"}";
else
updstr += "'{"+iField.ToString()+"}'";
updstr += ",\r\n";
if( fd.DataType.GroupName.ToUpper() == "DATETIME")
upvalue += "\t\t\t\t\tDBAccess.DateStr("+tb.MemberName+"."+fd.MemberName+"),\r\n";
else
upvalue += "\t\t\t\t\t"+tb.MemberName+"."+fd.MemberName+",\r\n";
break;
}}
if( updstr.EndsWith(",\r\n"))
updstr = updstr.Substring(0,updstr.Length-3);
if( upvalue.EndsWith(",\r\n"))
upvalue = upvalue.Substring(0,upvalue.Length-3);
%>
<%=updstr%>";
sql = string.Format(sql,
<%=upvalue%>);
return DBAccess.ExecuteSql(sql);
}
#endregion
<%
string signPk = "";
string signPkValue = "";
string pkList = "";
string pkListValue = "";
foreach(Field fd in tb.Fields)
{
if( fd.IsPK == true)
{
pkList += fd.DataType.DotNetType+" "+ fd.MemberName+",";
pkListValue += "\t\t\t\t\t"+fd.MemberName+",\r\n";
if( signPk == "")
{
signPk = fd.DataType.DotNetType+" "+ fd.MemberName;
signPkValue = "\t\t\t"+fd.MemberName ;//+"\r\n";
}
}
}
pkList = pkList.Trim(',');
if( pkListValue.EndsWith(",\r\n"))
pkListValue = pkListValue.Substring(0,pkListValue.Length-3);
%>
#region Delete
public static int Delete(<%=signPk%>)
{
<%
string delInsstr = "";
string selectInsstr = "";
string signSelectInsstr = "";
string delIncvalue = "";
iField = 0;
foreach(Field fd in tb.Fields)
{
if( fd.IsPK == true)
{
string strt = "";
if( fd.DataType.GroupName.ToUpper() == "NUMBER")
strt = "{"+iField.ToString()+"}";
else
strt = "'{"+iField.ToString()+"}'";
if( signSelectInsstr == "")
signSelectInsstr = "\t\t\t\t\ta."+fd.PropertyName+"= " + strt +"\r\n";
selectInsstr += "\t\t\t\t\ta."+fd.PropertyName+"= " + strt +",\r\n";
delInsstr += "\t\t\t\t\t"+fd.PropertyName+"= " + strt +",\r\n";
delIncvalue += "\t\t\t"+tb.MemberName+"."+fd.PropertyName+",\r\n";
iField++;
break;
}
}
if( selectInsstr.EndsWith(",\r\n"))
selectInsstr = selectInsstr.Substring(0,selectInsstr.Length-3);
if( delInsstr.EndsWith(",\r\n"))
delInsstr = delInsstr.Substring(0,delInsstr.Length-3);
if( delIncvalue.EndsWith(",\r\n"))
delIncvalue = delIncvalue.Substring(0,delIncvalue.Length-3);
%>
string sql = @"Delete from <%=tb.MemberName%> where <%=delInsstr%>";
sql = string.Format(sql,<%=signPkValue%>);
return DBAccess.ExecuteSql(sql);
}
#endregion
#region Select
<%
string fieldstr = "a.*";
string tablestr = tb.Name+" a ";
foreach(Field fd in tb.Fields)
{
FieldRel fieldRel = new FieldRel(fd.Code);
if( fieldRel.RelTable != "")
{
fieldstr +=","+fieldRel.RelTableAlias+"."+fieldRel.RelShowField;
if( fieldRel.RelShowFieldAlias != fieldRel.RelShowField)
fieldstr += " as "+fieldRel.RelShowFieldAlias;
tablestr +=" inner join "+fieldRel.RelTable;
if( fieldRel.RelTableAlias != fieldRel.RelTable)
tablestr += " "+fieldRel.RelTableAlias;
tablestr +=" on a."+fd.PropertyName+"="+fieldRel.RelTableAlias+"."+fieldRel.RelField;
}
}
string sqlHead = "select "+fieldstr+" from "+tablestr;
%>
public static DataSet Select()
{
string sql = "<%=sqlHead%>";
return DBAccess.Query(sql);
}
public static DataSet Select(string where)
{
string sql = "<%=sqlHead%>";
if( where !="")
sql += " where "+ where;
return DBAccess.Query(sql);
}
public static List<<%=tb.PropertyName%>Model> SelectModelList(string where)
{
List<<%=tb.PropertyName%>Model> modelLst = new List<<%=tb.PropertyName%>Model>();
DataSet ds = Select(where);
if (DBUnit.HasRow(ds))
{
DataTable dt = ds.Tables[0];
int icount = dt.Rows.Count;
for (int i = 0; i < icount; i++)
{
DataRow dr = dt.Rows[i];
<%=tb.PropertyName%>Model messagemodel = new <%=tb.PropertyName%>Model(dr);
modelLst.Add(messagemodel);
}
}
return modelLst;
}
public static List<<%=tb.PropertyName%>Model> SelectModelList(string where,int pageIndex,int pageSize,out int count )
{
List<<%=tb.PropertyName%>Model> modelLst = new List<<%=tb.PropertyName%>Model>();
DataSet ds = SelectForList(where,pageIndex,pageSize,out count);
if (DBUnit.HasRow(ds))
{
DataTable dt = ds.Tables[0];
int icount = dt.Rows.Count;
for (int i = 0; i < icount; i++)
{
DataRow dr = dt.Rows[i];
<%=tb.PropertyName%>Model messagemodel = new <%=tb.PropertyName%>Model(dr);
modelLst.Add(messagemodel);
}
}
return modelLst;
}
public static DataSet SelectForList(string where,int pageIndex,int pageSize,out int count )
{
count = 0;
string tableName ="V_<%=tb.Name%>";
return DBAccess.Query(tableName,pageSize,pageIndex, where,ref count);
}
public static <%=tb.PropertyName%>Model SelectByWhere(string where)
{
<%=tb.PropertyName%>Model <%=tb.MemberName%> = null;
DataSet ds = Select(where);
if (DBUnit.HasRow(ds))
<%=tb.MemberName%> = new <%=tb.PropertyName%>Model(ds.Tables[0].Rows[0]);
return <%=tb.MemberName%>;
}
public static <%=tb.PropertyName%>Model Select(Int32 id)
{
string where = "id="+id;
return SelectByWhere(where);
}
#endregion
}
}
<%
CloseResponse();
}
%>

65
ECDeveloper/Template/Dto.cst

@ -0,0 +1,65 @@
<%@ CodeTemplate Language="C#" ClassName="Dto" TargetLanguage="C#" Debug="False" Description="" encoding="GB2312" %>
<%@ Property Name="databaseProjectName" Type="String" Default="SpSampleDb" Optional="True" Category="Context" Description="" %>
<%@ Property Name="nameSpace" Type="System.String" Default="Dto" Optional="True" Category="Context" Description="" %>
<%
DbEntity db = Template.GetDataBase(databaseProjectName);
foreach(Table tb in db.Tables)
{
OpenResponse(databaseProjectName+"\\Dto\\"+tb.ModuleName+"\\"+tb.PropertyName+"Dto.cs");
string pkParmList = "";
foreach(Field fd in tb.Fields)
{
if(fd.IsPK == true)
pkParmList += fd.DataType.DotNetType+" "+fd.MemberName+",";
}
pkParmList = pkParmList.Trim(',');
%>
using System;
/*******************************************************/
/*Project:
Module :
Description :
Date : <%=DateTime.Now.ToString()%>
Create : Lxc
Update :
TODO : */
/*******************************************************/
namespace <%=nameSpace%>
{
/// <summary>
/// <%=tb.CnName%>
/// </summary>
public class <%=tb.PropertyName%>Dto
{
#region <%=tb.PropertyName%>
/// <summary>
///
/// </summary>
public <%=tb.PropertyName%>Dto()
{
}
#endregion
<%--Field--%>
<%
foreach(Field fd in tb.Fields)
{
%>
public <%=fd.DataType.DotNetType%> <%=fd.MemberName%>{get;set;}
<%
}
%><%--Field End--%>
}
}
<%
CloseResponse();
}
%>

1
ECDeveloper/Template/EC.cstprj

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><CSharpTemplateProject><Settings><FileNode Guid="88c36cd2-5641-4ea5-a6e7-6d7f51681dd5" /></Settings><FileSet><CSharpTemplate Name="datatable.cst" RelativePath="" Guid="27429437-1000-427d-83f6-bbf54df05e3d" /><CSharpTemplate Name="datatablejava.cst" RelativePath="" Guid="02f6e9b2-f5f5-4975-bc76-a2bfdd991e5c" /><CSharpTemplate Name="Dto.cst" RelativePath="" Guid="b15eb178-12b6-46d6-94fc-d9e0a79a9aa7" /><CSharp Name="FieldHelper.cs" RelativePath="" Guid="7a134810-c824-4f5a-bdec-11c0b06c2403" /><Folder Name="Go" RelativePath="" Guid="b3b2a019-0b9a-4f35-9a6b-e91b78e2fa80"><CSharpTemplate Name="GoApiCrtl.cst" RelativePath="Go" Guid="c9e293cc-39a5-44d5-8ee3-84bcd7bb141f" /><CSharpTemplate Name="GoCrtl.cst" RelativePath="Go" Guid="f2f52f1d-bfcd-4d56-a9c5-1d6550911da0" /><CSharpTemplate Name="GoFastApiCtrl.cst" RelativePath="Go" Guid="9cdb2854-c707-4472-ade2-8daf183a2821" /><CSharpTemplate Name="GoModelJson.cst" RelativePath="Go" Guid="f266b863-c658-4bb2-be6b-c062a30a69cf" /><CSharpTemplate Name="GoModelORM.cst" RelativePath="Go" Guid="105a6b50-1e73-4f0d-ae59-fa8944ef8161" /><CSharpTemplate Name="GoModelOrm2.cst" RelativePath="Go" Guid="c756ac45-cce5-43de-8d2d-4fece04be3e9" /><CSharpTemplate Name="GoModelSvr.cst" RelativePath="Go" Guid="c98faf1b-87e1-492c-9e76-246eef243145" /></Folder><Folder Name="Mlangage" RelativePath="" Guid="093747ea-db5f-4576-9ac4-a2fa07f44e12"><CSharpTemplate Name="LangageSql.cst" RelativePath="Mlangage" Guid="bee9d334-61c9-41e3-ba86-238c7d4657ce" /></Folder><CSharpTemplate Name="OrmEntity.cst" RelativePath="" Guid="d5c464d2-b10c-4f56-aa4e-1dcd49fb1c67" /><CSharpTemplate Name="OrmService.cst" RelativePath="" Guid="a4a20335-1292-4809-aed3-5e431da77aea" /><Folder Name="Project" RelativePath="" Guid="ae410a35-ead7-4dc4-889a-237a6a135c29"><CSharpTemplate Name="DalProject.cst" RelativePath="Project" Guid="a51def40-60ec-446a-b95b-f0b002dc7b7c" /><CSharpTemplate Name="ModelProject.cst" RelativePath="Project" Guid="53fbe936-1443-49ea-80db-ef6198c68cc8" /><CSharpTemplate Name="Soluction.cst" RelativePath="Project" Guid="4889cb27-615f-4350-b5aa-40585cd04939" /><CSharpTemplate Name="WebBaseProject.cst" RelativePath="Project" Guid="d579be8f-8427-4dc7-8b1b-f3aefe260e9d" /><CSharpTemplate Name="WebSiteProject.cst" RelativePath="Project" Guid="4ddf5457-b445-4b78-8d54-416911fc72c8" /></Folder><CSharpTemplate Name="Service.cst" RelativePath="" Guid="c5e49fb5-fe21-45f8-b478-c3a0339895b8" /><CSharpTemplate Name="TableInfo.cst" RelativePath="" Guid="3174e867-81d6-4718-848e-41deae5931cc" /><CSharpTemplate Name="TableInfoEx.cst" RelativePath="" Guid="8458b697-c908-45a3-91c5-81d3d6b477ef" /></FileSet></CSharpTemplateProject>

41
ECDeveloper/Template/FieldHelper.cs

@ -0,0 +1,41 @@
using System;
using System.Data;
using System.Collections;
using Sp.DbPlugin;
namespace Sp.TemplatePlugin
{
public class FieldHelper
{
public FieldHelper()
{
}
public static string GetControlName(Field fd,bool find)
{
string ctlName = "";
string ctlPrefix = "";
if(find == true)
ctlPrefix = "F";
if(fd.NoteIsEnum == true)
ctlName = "ddl"+ctlPrefix+fd.PropertyName;
else
{
switch(fd.DataType.GroupName.ToUpper())
{
case "NUMBER":
case "STRING":
case "BLOB":
ctlName = "txt"+ctlPrefix+fd.PropertyName;
break;
case "DATETIME":
ctlName = "cb"+ctlPrefix+fd.PropertyName;
break;
}
}
if(fd.IsFK == true)
ctlName = "ddl"+ctlPrefix+fd.PropertyName;
return ctlName;
}
}
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save