sqlserver.xml
33.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
<?xml version="1.0" encoding="UTF-8"?><sql>
<statement error="语句执行出错,请联系开发者修复!" key="0">
create table cloudstore_sqlrun (
keyStr varchar(512) not null,
appNo varchar(512) not null
)
</statement>
<statement key="0.1">
create table cloudstore_errsql (
errKey varchar(16) not null,
errSql varchar(1000) ,
errMsg varchar(1000) ,
errTime varchar(20)
)
</statement>
<statement key="1">
create table cloudstore_role (
id int identity(1,1) not null,
rolename varchar(512) not null,
rolecode varchar(512) not null,
roledesc varchar(512) not null,
appcode varchar(512) not null,
del int default 1
)
</statement>
<statement key="2">
create table cloudstore_rolemember (
id int identity(1,1) not null,
roleid int not null,
membertype int not null,
memberobj int not null,
rolelevel int not null,
roleobj int not null,
del int default 1
)
</statement>
<statement key="3">
create table cloudstore_cdSerializeNo(
id varchar(50),
curNo varchar(300),
supNo varchar(300),
no1 varchar(300)
)
</statement>
<statement key="3.1">
create table cloudstore_tocstoken(
token varchar(300) not null,
license varchar(300) not null
)
</statement>
<statement key="3.2">
alter table cloudstore_tocstoken add loginconfig varchar(300) default 0
</statement>
<statement key="3.3">
create table cloudstore_checkforuuid(
id varchar(300) not null,
uuid varchar(300) not null,
type varchar(300) not null
)
</statement>
<statement key="3.4">
alter table cloudstore_checkforuuid add counts int
</statement>
<statement key="3.5">
alter table cloudstore_checkforuuid add name varchar(300)
</statement>
<statement key="3.6">
create table cloudstore_checkforuuidtimes(
id int identity(1,1) not null,
uuid varchar(300) not null,
updatetimes datetime,
count int not null,
counts int not null,
type varchar(300) not null,
urls varchar(300)
)
</statement>
<statement key="3.7">
create table cloudstore_checkforuuidtypes(
id int identity(1,1) not null,
license varchar(300) not null,
type varchar(300) not null
)
</statement>
<statement key="3.8">
create table cloudstore_checkforuuiddb(
id int identity(1,1) not null,
fid varchar(300) not null default 0,
type varchar(300) not null ,
enname varchar(300) not null ,
chname varchar(300) not null ,
dbname varchar(300) ,
dbtitle text ,
url varchar(300),
dborder int
)
</statement>
<statement key="3.8001">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'gs','分部','','','',0)
</statement>
<statement key="3.8002">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'bm','部门','','','',0)
</statement>
<statement key="3.8003">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'Gw','岗位','','','',0)
</statement>
<statement key="3.8004">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'rol','角色','','','',0)
</statement>
<statement key="3.8005">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'ry','人员','','','',0)
</statement>
<statement key="3.8006">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'martix','矩阵','','','',0)
</statement>
<statement key="3.8007">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'Jc','集成','','','',0)
</statement>
<statement key="3.8008">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'lc','流程','','','',0)
</statement>
<statement key="3.8009">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'lz','流转','','','',0)
</statement>
<statement key="3.8010">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(1,1,'gs-init','基础数据','HrmSubCompany','','',0)
</statement>
<statement key="3.8011">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(2,1,'bm-init','基础数据','HrmDepartment','','',0)
</statement>
<statement key="3.8012">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(3,1,'Gw-Init','基础数据','hrmjobtitles','','',0)
</statement>
<statement key="3.8013">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(3,1,'Gw-Gwzz','人力资源职责表','hrmjobactivities','','',0)
</statement>
<statement key="3.8014">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(4,1,'rol-init','基础数据','hrmroles','','',0)
</statement>
<statement key="3.8015">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(4,1,'rol-member','人力资源角色成员表','hrmrolemembers','','',0)
</statement>
<statement key="3.8016">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(5,1,'ry-init','人力资源角色成员表','hrmrolemembers','','',0)
</statement>
<statement key="3.8017">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(6,1,'Martix-Mtfi','人力资源组矩阵字段信息表','MatrixFieldInfo','','',0)
</statement>
<statement key="3.8018">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(6,1,'Martix-Mti','人力资源组矩阵信息表','matrixinfo','','',0)
</statement>
<statement key="3.8019">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(7,2,'Jc-Datasource','数据源','','','/WEB-INF/service/datasource.xml',0)
</statement>
<statement key="3.8020">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(7,1,'Jc-Jcdss','数据展现集成设置表','datashowset','','',0)
</statement>
<statement key="3.8021">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(7,1,'Jc-Jcdsp','数据展现集成显示字段表','datashowset','','',0)
</statement>
<statement key="3.8022">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(7,2,'Jc-DataAction','节点后操作','','','/WEB-INF/service/action.xml',0)
</statement>
<statement key="3.8023">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcasd','自定义接口详细设置表','actionsettingdetail','','',0)
</statement>
<statement key="3.8024">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcfafm','DML接口字段映射表','formactionfieldmap','','',0)
</statement>
<statement key="3.8025">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcfass','DML接口自定义sql设置表','formactionsqlset','','',0)
</statement>
<statement key="3.8026">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcfas','DML接口设置表','formactionset','','',0)
</statement>
<statement key="3.8027">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcwfas','WebService接口设置表','wsformactionset','','',0)
</statement>
<statement key="3.8028">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzjcac','自定义接口设置表','actionsetting','','',0)
</statement>
<statement key="3.8029">
update cloudstore_checkforuuiddb set dbname = 'hrmresource' where id = 16
</statement>
<statement key="3.8030">
update cloudstore_checkforuuiddb set dbname = 'datasource.xml' where id =19
</statement>
<statement key="3.8031">
update cloudstore_checkforuuiddb set dbname = 'datashowparam' where id = 21
</statement>
<statement key="3.8032">
update cloudstore_checkforuuiddb set dbname = 'action.xml' where id = 22
</statement>
<statement key="3.8033">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwdc','字段联动条件表','workflow_datainput_condition','','',0)
</statement>
<statement key="3.8034">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwde','工作流字段联动设置表','workflow_datainput_entry','','',0)
</statement>
<statement key="3.8035">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwdf','工作流字段联动设置表-取值与赋值字段表','workflow_datainput_field','','',0)
</statement>
<statement key="3.8036">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwdm','工作流字段联动设置表(联动主表)','workflow_datainput_main','','',0)
</statement>
<statement key="3.8037">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwdt','工作流字段联动设置表—关联数据表','workflow_datainput_table','','',0)
</statement>
<statement key="3.8038">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzmdal','属性联动基本信息表','modeattrlinkage','','',0)
</statement>
<statement key="3.8039">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzmdi','字段联动引用数据库表名','modedatainputtable','','',0)
</statement>
<statement key="3.8040">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzmdit','字段联动设置基本信息','modedatainputentry','','',0)
</statement>
<statement key="3.8041">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzcmdif','字段联动字段信息','modedatainputfield','','',0)
</statement>
<statement key="3.8042">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzcmdim','字段联动设置主信息','modedatainputmain','','',0)
</statement>
<statement key="3.8043">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'gongw','公文','','','',0)
</statement>
<statement key="3.8044">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(39,1,'gongw-dru','基础信息','DocReceiveUnit','','',0)
</statement>
<statement key="3.8045">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(7,1,'Jc-dsp','数据展现集成查询字段表','datasearchparam','','',0)
</statement>
<statement key="3.8046">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,2,'Lz-SapB','旧版本Sap数据','SapBrowser.xml','SapBrowser.xml','\WEB-INF\config\SapBrowser.xml',0)
</statement>
<statement key="3.8047">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-ibbi','Sap初始化信息表','int_BrowserbaseInfo','','',0)
</statement>
<statement key="3.8048">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-ipt','SapinParameter','sap_inParameter','','',0)
</statement>
<statement key="3.8049">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-ist','SapinStructure','sap_inStructure','','',0)
</statement>
<statement key="3.8050">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-it','SapinTable','sap_inTable','','',0)
</statement>
<statement key="3.8051">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-sop','SapoutParameter','sap_outParameter','','',0)
</statement>
<statement key="3.8052">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-sos','SapoutStructure','sap_outStructure','','',0)
</statement>
<statement key="3.8053">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-sot','SapoutTable','sap_outTable','','',0)
</statement>
<statement key="3.8054">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-smb','SapmultiBrowser','sap_multiBrowser','','',0)
</statement>
<statement key="3.8055">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,2,'Lz-brow','自定义浏览旧版本数据','browser.xml','browser.xml','WEB-INF\service\browser.xml',0)
</statement>
<statement key="3.8056">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(0,1,'Sap','Sap集成','','','',0)
</statement>
<statement key="3.8057">
update cloudstore_checkforuuiddb set fid = 52 where id in (42,43,44,45,46,47,48,49,50)
</statement>
<statement key="3.8058">
alter table cloudstore_checkforuuiddb add isshow varchar(10) default 0
</statement>
<statement key="3.8059">
update cloudstore_checkforuuiddb set isshow = 1 where id in(44,45,46,47,48,49)
</statement>
<statement key="3.8060">
update cloudstore_checkforuuiddb set isshow = 0 where id not in(44,45,46,47,48,49)
</statement>
<statement key="3.90">
create table cloudstore_checkforky(
kyinit int not null default 0
)
</statement>
<statement key="3.91">
insert into cloudstore_checkforky (kyinit) values(0)
</statement>
<statement key="3.8061">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(8,1,'lc-init','流程基本数据','workflow_base','','',0)
</statement>
<statement key="3.92">
update cloudstore_checkforky set kyinit = 1 where kyinit = 0
</statement>
<statement key="3.8062">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(52,1,'lz-ibm','sap浏览按钮相关信息','int_browermark','','',0)
</statement>
<statement key="3.8063">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(52,1,'lz-ss','sap注册信息表','sap_service','','',0)
</statement>
<statement key="3.8064">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwfap','出口附加规则或节点前后附加操作表','workflow_addinoperate','','',0)
</statement>
<statement key="3.8065">
insert into cloudstore_checkforuuiddb (fid,type,enname,chname,dbname,dbtitle,url,dborder) values(9,1,'Lz-Lzwfas','流程action配置表','workflowactionset','','',0)
</statement>
<statement key="3.8066">
update cloudstore_checkforuuiddb set enname = 'Lz-Lzwfas' , chname = '流程action配置表' ,dbname = 'workflowactionset' where id = 23
</statement>
<statement key="3.8067">
update cloudstore_checkforuuiddb set enname = 'Lz-Lzjcasd' , chname = '自定义接口详细设置表' ,dbname = 'actionsettingdetail' where id = 57
</statement>
<statement key="4.4">
create table cloudstore_sdfcol(
id int identity(1,1) not null,
isdefault varchar(1000),
pageid varchar(1000) ,
pageuid varchar(1000) ,
align varchar(1000) ,
name varchar(1000) ,
column_ varchar(1000) ,
orderkey varchar(1000) ,
linkvaluecolumn varchar(1000) ,
linkkey varchar(1000) ,
href varchar(1000) ,
target varchar(1000) ,
transmethod varchar(1000),
otherpara varchar(1000),
orders int,
width varchar(1000),
text_ varchar(1000),
labelid varchar(1000),
hide_ varchar(1000),
pkey varchar(1000),
isfixed varchar(1000)
)
</statement>
<statement key="4.5">
drop table cloudstore_sdfcol
</statement>
<statement key="4.7">
create table cloudstore_sdfcol(
id int identity(1,1) not null,
uuid varchar(1000) not null,
pageuid varchar(1000) not null,
_key varchar(1000) not null,
display int ,
orders varchar(1000) ,
orderkey varchar(1000) ,
_text varchar(1000)
)
</statement>
<statement key="6">
create table cloudstore_localerls(
id int identity(1,1) not null,
localeindexid varchar(1000) not null,
lableindexid varchar(1000) not null
)
</statement>
<!-- <statement key="7">
IF EXISTS ( Select 1 From Sysobjects Where Name='wf_browser_config') DROP TABLE wf_browser_config
</statement>-->
<!-- <statement key="7.1">
create table wf_browser_config (
type varchar(100) not null,
clazz varchar(2000) not null,
description varchar(100)
)
</statement>-->
<statement key="8">
CREATE TABLE cloud_logintoken(
id int IDENTITY(1,1) NOT NULL,
userid varchar(500) NOT NULL,
loginid varchar(500) NOT NULL,
access_token varchar(500) NOT NULL,
logintimes varchar(500) NOT NULL,
updatetimes varchar(500) NOT NULL,
status varchar(500) NULL DEFAULT ((0)),
sessionid varchar(500) NOT NULL
)
</statement>
<statement key="8.501">
CREATE TABLE CS_ECOLOGY_PC_DEMO (
id varchar(250) NOT NULL ,
demo_input varchar(250) ,
demo_textarea varchar(250) ,
demo_select varchar(250) ,
demo_datepicker varchar(250) ,
demo_timepicker varchar(250) ,
demo_rangepicker varchar(250) ,
demo_browser varchar(250) ,
demo_selectlinkage varchar(250) ,
demo_checkbox varchar(250) ,
fromDate varchar(250) ,
toDate varchar(250) ,
demo_colorpicker varchar(250) ,
demo_upload varchar(250) ,
demo_richtext varchar(250) ,
demo_radio varchar(250) ,
demo_password varchar(250)
)
</statement>
<statement key="8.502">
CREATE TABLE CS_ECOLOGY_PC_DEMO_WORKFOLW (
id varchar(255) NOT NULL PRIMARY KEY ,
requestname varchar(255) ,
creater varchar(255) ,
state varchar(255) ,
creatertime varchar(255) ,
type varchar(255)
)
</statement>
<statement key="11.1">
create table cloudstore_codesegment
(
id varchar(250) not null primary key (id),
folderid varchar(250),
version int,
name varchar(100),
fileextension varchar(100),
category varchar(50),
creater int,
attachmentid int,
compiledid int,
flownum int,
deleted int,
status varchar(10),
createdate varchar(10),
createtime varchar(8),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="11.2">
create table cloudstore_codeversion
(
id varchar(250) not null primary key (id),
userid int,
filecode varchar(250),
name varchar(100),
attachmentid int,
version int,
lastversion int,
status varchar(10),
operatingdate varchar(10),
operatingtime varchar(8)
)
</statement>
<statement key="11.3">
create table cloudstore_codefolder
(
id varchar(250) not null primary key (id),
name varchar(100),
parentid varchar(250),
description varchar(1000),
creater int,
flownum int,
deleted int,
depth int,
status varchar(10),
createdate varchar(10),
createtime varchar(8),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="11.4">
create table cloudstore_releaselog (
id varchar(250) not null primary key (id),
folderid varchar(250),
name varchar(250),
attachmentid int,
category varchar(250),
route varchar(250),
isCluster int,
host varchar(250),
userid int,
needupdate int,
deleted int,
operatingdate varchar(10),
operatingtime varchar(8)
)
</statement>
<statement key="12.1">
delete from SystemRightDetail where rightid =2398
</statement>
<statement key="12.2">
delete from SystemRightsLanguage where id =2398
</statement>
<statement key="12.3">
delete from SystemRights where id =2398
</statement>
<statement key="12.4">
insert into SystemRights (id,rightdesc,righttype,detachable) values (2398,'前端在线开发权限','7',0)
</statement>
<statement key="12.5">
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2398,7,'前端在线开发权限','前端在线开发权限')
</statement>
<statement key="12.6">
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2398,8,'Front-end Coding Online','Front-end Coding Online')
</statement>
<statement key="12.7">
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2398,9,'前端線上開發許可權','前端線上開發許可權')
</statement>
<statement key="12.8">
insert into SystemRightDetail (id,rightdetailname,rightdetail,rightid) values (43656,'前端在线开发权限','CodingOnline:Front-end',2398)
</statement>
<statement key="12.91">
alter table cloudstore_codesegment add attribute varchar(10)
</statement>
<statement key="12.92">
alter table cloudstore_codefolder add attribute varchar(10)
</statement>
<statement key="13.1">
alter table cloudstore_codesegment add type int default 0
</statement>
<statement key="13.2">
alter table cloudstore_codefolder add type int default 0
</statement>
<statement key="13.3">
alter table cloudstore_codesegment add viewattr int default 2
</statement>
<statement key="13.4">
alter table cloudstore_codefolder add viewattr int default 2
</statement>
<statement key="13.5">
alter table cloudstore_releaselog add kbversion varchar(1000)
</statement>
<statement key="13.6">
alter table cloudstore_codefolder add version int
</statement>
<statement key="13.7">
alter table cloudstore_codesegment add state varchar(10)
</statement>
<statement key="14.1">
create table cloudstore_folderversion
(
id varchar(250) not null primary key (id),
parentid varchar(250),
userid int,
folderid varchar(2000),
datakey varchar(2000),
objecttype varchar(20),
operatetype varchar(10),
originname varchar(1000),
newname varchar(1000),
origincontent varchar(1000),
newcontent varchar(1000),
version int,
lastversion int,
restored int,
status varchar(10),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="14.2">
alter table cloudstore_codefolder add shownum int default 0
</statement>
<statement key="14.3">
alter table cloudstore_codesegment add shownum int default 0
</statement>
<statement key="14.4">
alter table cloudstore_codesegment add mergenum int default 0
</statement>
<statement key="14.5">
alter table cloudstore_codesegment add impmodule varchar(1000)
</statement>
<statement key="14.6">
alter table cloudstore_codesegment add expmodule varchar(1000)
</statement>
<statement key="14.7">
alter table cloudstore_codesegment add rootfolder varchar(250)
</statement>
<statement key="15.01">
create table cloudstore_ecodefile (
id varchar(250) not null primary key (id),
name varchar(250),
host varchar(250),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="15.011">
alter table cloudstore_ecodefile add attachid int
</statement>
<statement key="15.02">
create table cloudstore_foldertype (
id varchar(250) not null primary key (id),
name varchar(250),
shownum int default 0,
flownum int default 0,
creater int,
depth int default 1,
deleted int default 0,
status varchar(10),
createdate varchar(10),
createtime varchar(8),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="15.021">
alter table cloudstore_foldertype add parentid varchar(250)
</statement>
<statement key="15.03">
insert into
cloudstore_foldertype
(id,name,shownum,creater)
values
('f7dc85d3db774409b45d82b4f91668c6', '默认分类', -1, 1)
</statement>
<statement key="15.031">
alter table
cloudstore_foldertype
alter column
status varchar(50)
</statement>
<statement key="15.032">
update
cloudstore_foldertype
set
status = 'undeletable'
where
id = 'f7dc85d3db774409b45d82b4f91668c6'
</statement>
<statement key="15.033">
update
cloudstore_foldertype
set
parentid = 'root'
where
id = 'f7dc85d3db774409b45d82b4f91668c6'
</statement>
<statement key="15.04">
alter table cloudstore_codefolder add foldertype varchar(250)
</statement>
<statement key="15.05">
update
cloudstore_codefolder
set
foldertype = 'f7dc85d3db774409b45d82b4f91668c6'
where
parentid = 'root'
</statement>
<statement key="15.06">
create table cloudstore_ecode (
id varchar(250) not null primary key (id),
type varchar(250),
datakey varchar(250),
datavalue varchar(250),
status varchar(50)
)
</statement>
<statement key="16.01">
create table cloudstore_resource (
id varchar(250) not null primary key (id),
parentid varchar(250),
attachid int,
filesize int,
name varchar(250),
extension varchar(20),
flownum int,
category varchar(250),
route varchar(250),
shownum int default 0,
creater int,
deleted int default 0,
status varchar(10),
createdate varchar(10),
createtime varchar(8),
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="16.02">
alter table cloudstore_codefolder add sharemd varchar(10) default 'n'
</statement>
<statement key="16.03">
alter table cloudstore_resource add originid varchar(100) default 'y'
</statement>
<statement key="16.04">
update cloudstore_resource set originid = 'y'
</statement>
<statement key="17.01">
create table cloudstore_plugin (
id varchar(250) not null primary key (id) ,
name varchar(250),
category varchar(1000),
datakey varchar(4000),
extension varchar(20),
status varchar(10),
modifydate varchar(10),
modifytime varchar(8),
operatingdate varchar(10),
operatingtime varchar(8)
)
</statement>
<statement key="17.02">
delete from cloudstore_releaselog
</statement>
<statement key="17.03">
drop table cloudstore_ecodefile
</statement>
<statement key="17.04">
create table cloudstore_ecodefile (
id varchar(100) not null primary key,
macaddress varchar(250),
datavalue text,
modifydate varchar(10),
modifytime varchar(8)
)
</statement>
<statement key="17.05">
alter table cloudstore_codefolder add debugmode varchar(10) default 'n'
</statement>
<statement key="17.06">
alter table cloudstore_codefolder add allowrelease varchar(10) default 'y'
</statement>
<statement key="17.061">
alter table cloudstore_codefolder add cloudsharing varchar(10) default 'toShare'
</statement>
<statement key="17.07">
alter table cloudstore_foldertype add allowrelease varchar(10) default 'y'
</statement>
<!--<statement key="18.01">-->
<!--create table cloudstore_permission (-->
<!--id int not null identity(1,1) primary key ,-->
<!--folderid varchar(100) NOT NULL ,-->
<!--objectid varchar(100) NOT NULL ,-->
<!--objecttype varchar(100),-->
<!--permission varchar(100),-->
<!--status varchar(100)-->
<!--)-->
<!--</statement>-->
<statement key="19.01">
delete from cloudstore_plugin
</statement>
<statement key="19.02">
alter table cloudstore_plugin add host varchar(250)
</statement>
<statement key="20.001">
create table cloudstore_sourcecode (
id int not null primary key,
content nvarchar(max)
)
</statement>
</sql><!--
drop table cloudstore_sqlrun
go
drop table cloudstore_role
go
drop table cloudstore_rolemember
1、参开配置如下:
<sql>
<statement>
create table ...
</statement>
</sql>
2、系统打开后会自动按顺序执行statement,如果有错误会在xml中体现,执行完成会有如下提示,也可以手动标记executed="true"达到不执行的效果,如果有错误会出现error标签
<sql>
<statement executed="true" error="">
create table ...
</statement>
</sql>
3、开发者在语句错误的时候直接获取此文件即可
<statement>
insert into cloudstore_role111(a,b,c)
</statement>
<statement>
update cloudstore_role
</statement>
<statement>
drop table cloudstore_role
</statement>
<statement>
delete from cloudstore_role
</statement>
<statement>
create view cloudstore_role as
select * from hrmresource
</statement>
<statement>
create proc cloudstore_role as
select * from hrmresource
</statement>
--><!--
create table cloudstore_role (
id int identity(1,1) not null, 主键自增
rolename varchar(512) not null, 角色名
rolecode varchar(512) not null, 角色编码
del int default 1 是否删除:0是 1否
)
create table cloudstore_rolemenber (
id int identity(1,1) not null, 主键自增
roleid int not null, 角色id
membertype int not null,0个人 1分部 2部门
memberobj int not null,type是个人选人,是分部选分部,是部门选部门
rolelevel int not null, 0总部 1分部 2部门
roleobj int not null, 0代表都为自己的部门、分部、总部,其它就是和rolelevel绑定,它选择什么类型这里就存放什么类型
del int default 1 是否删除:0是 1否
)
-->