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
| <?xml version="1.0" encoding="UTF-8"?>
| <root>
| <code>4500000001</code>
| <!-- <source>
| <url>jdbc:mysql://10.2.2.231:3306/guanxing_medical</url>
| <username>root</username>
| <password>root</password>
| <dbtype>mysql</dbtype>
| <driver>com.mysql.jdbc.Driver</driver>
| </source>
| <dest>
| <url>jdbc:mysql://127.0.0.1:3306/guanxing_medical</url>
| <username>root</username>
| <password>root</password>
| <dbtype>mysql</dbtype>
| <driver>com.mysql.jdbc.Driver</driver>
| </dest> -->
| <source>
| <url>jdbc:oracle:thin:@localhost:1521:orcl</url>
| <username>mpm205</username>
| <password>vcitest</password>
| <dbtype>oracle</dbtype>
| <driver>oracle.jdbc.driver.OracleDriver</driver>
| </source>
| <srcVM>
| <url>localhost:30000</url>
| <identity>mpm205-</identity>
| <service>VolumnFactoryService</service>
| </srcVM>
| <dest>
| <url>jdbc:oracle:thin:@172.16.0.30:1521:orcl</url>
| <username>mpm205</username>
| <password>vcitest</password>
| <dbtype>oracle</dbtype>
| <driver>oracle.jdbc.driver.OracleDriver</driver>
| </dest>
| <destVM>
| <url>172.16.0.33:30000</url>
| <identity>vci-mpm205-</identity>
| <service>VolumnFactoryService</service>
| </destVM>
| <jobs>
| <job>
| <name>数据同步测试</name>
| <cron>0 0/1 * * * ?</cron>
| <!-- <item>
| <name>pluser</name>
| <direction>true</direction>
| <operate>both</operate>
| <srcSql>select pluid, plusername, plpassword, pltruename, plemail, pldesc, plusertype, plstatus, plpwdupdatetime, plcreatetime, plcreateuser, plupdatetime, plupdateuser, pllicensors, plsecretgrade, plisdeptleader from PLUSER</srcSql>
| <destTable>pluser</destTable>
| <destTableFields>pluid, plusername, plpassword, pltruename, plemail, pldesc, plusertype, plstatus, plpwdupdatetime, plcreatetime, plcreateuser, plupdatetime, plupdateuser, pllicensors, plsecretgrade, plisdeptleader</destTableFields>
| <destTableKey>pluid</destTableKey>
| <destTableUpdate>plusername, plpassword, pltruename, plemail, pldesc, plusertype, plstatus, plpwdupdatetime, plcreatetime, plcreateuser, plupdatetime, plupdateuser, pllicensors, plsecretgrade, plisdeptleader</destTableUpdate>
| </item> -->
| <item>
| <name>PLATFORMBTM_FILEOBJECT</name>
| <direction>true</direction>
| <operate>both</operate>
| <srcSql>SELECT OID, REVISIONOID, NAMEOID, BTMNAME, ISLASTR, ISFIRSTR, ISLASTV, ISFIRSTV, CREATOR, CREATETIME, LASTMODIFIER, LASTMODIFYTIME, REVISIONRULE, VERSIONRULE, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, ID, NAME, DESCRIPTION, OWNER, CHECKINBY, CHECKINTIME, CHECKOUTBY, CHECKOUTTIME, COPYFROMVERSION, DOCUMENTOID, DRAWINGSIZE, FILEEXTENSION, FILEPATH, FILESIZE, FILEVERSION, FORMATVERSION, KEYINFOS, OWNBIZOID, OWNBTMNAME, OWNFORMATOID, PAGESNUM, REVISIONLIMIT, SECRETGRADE, MDCODE FROM PLATFORMBTM_FILEOBJECT</srcSql>
| <destTable>PLATFORMBTM_FILEOBJECT</destTable>
| <destTableFields>OID, REVISIONOID, NAMEOID, BTMNAME, ISLASTR, ISFIRSTR, ISLASTV, ISFIRSTV, CREATOR, CREATETIME, LASTMODIFIER, LASTMODIFYTIME, REVISIONRULE, VERSIONRULE, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, ID, NAME, DESCRIPTION, OWNER, CHECKINBY, CHECKINTIME, CHECKOUTBY, CHECKOUTTIME, COPYFROMVERSION, DOCUMENTOID, DRAWINGSIZE, FILEEXTENSION, FILEPATH, FILESIZE, FILEVERSION, FORMATVERSION, KEYINFOS, OWNBIZOID, OWNBTMNAME, OWNFORMATOID, PAGESNUM, REVISIONLIMIT, SECRETGRADE, MDCODE</destTableFields>
| <destTableKey>OID</destTableKey>
| <destTableUpdate>REVISIONOID, NAMEOID, BTMNAME, ISLASTR, ISFIRSTR, ISLASTV, ISFIRSTV, CREATOR, CREATETIME, LASTMODIFIER, LASTMODIFYTIME, REVISIONRULE, VERSIONRULE, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, ID, NAME, DESCRIPTION, OWNER, CHECKINBY, CHECKINTIME, CHECKOUTBY, CHECKOUTTIME, COPYFROMVERSION, DOCUMENTOID, DRAWINGSIZE, FILEEXTENSION, FILEPATH, FILESIZE, FILEVERSION, FORMATVERSION, KEYINFOS, OWNBIZOID, OWNBTMNAME, OWNFORMATOID, PAGESNUM, REVISIONLIMIT, SECRETGRADE, MDCODE</destTableUpdate>
| </item>
| </job>
| <!-- <job>
| <name>PSM数据同步</name>
| <cron>0 0/1 * * * ?</cron>
| <item>
| <name>PLATFORMBTM_USER</name>
| <direction>true</direction>
| <operate>both</operate>
| <srcSql>select oid ,revisionoid, nameoid, btmname,islastr, isfirstr, islastv, isfirstv,creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby from PLATFORMBTM_USER </srcSql>
| <destTable>PLATFORMBTM_USER</destTable>
| <destTableFields>oid, revisionoid, nameoid, btmname,islastr, isfirstr, islastv, isfirstv,creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby</destTableFields>
| <destTableKey>oid</destTableKey>
| <destTableUpdate>revisionoid, nameoid, btmname,islastr, isfirstr, islastv, isfirstv,creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby</destTableUpdate>
| </item>
|
| <item>
| <name>PLATFORMBTM_PARTINSTANCE</name>
| <direction>true</direction>
| <operate>both</operate>
| <srcSql>select oid, revisionoid, nameoid, btmname, islastr, isfirstr, islastv, isfirstv, creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby, checkintime, checkoutby, checkouttime, copyfromversion, cadtoken, lmtoken, partoid, pointlinepath, cadposition, lmposition, fpartoid, sourceoid, enduser from PLATFORMBTM_PARTINSTANCE</srcSql>
| <destTable>PLATFORMBTM_PARTINSTANCE</destTable>
| <destTableFields>oid, revisionoid, nameoid, btmname, islastr, isfirstr, islastv, isfirstv, creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby, checkintime, checkoutby, checkouttime, copyfromversion, cadtoken, lmtoken, partoid, pointlinepath, cadposition, lmposition, fpartoid, sourceoid, enduser</destTableFields>
| <destTableKey>oid</destTableKey>
| <destTableUpdate>revisionoid, nameoid, btmname, islastr, isfirstr, islastv, isfirstv, creator, createtime, lastmodifier, lastmodifytime, revisionrule, versionrule, revisionseq, revisionvalue, versionseq, versionvalue, lctid, lcstatus, ts, id, name, description, owner, checkinby, checkintime, checkoutby, checkouttime, copyfromversion, cadtoken, lmtoken, partoid, pointlinepath, cadposition, lmposition, fpartoid, sourceoid, enduser</destTableUpdate>
| </item>
| <item>
| <name>PLATFORMLT_PBOM</name>
| <direction>true</direction>
| <operate>both</operate>
| <srcSql>select oid, creator, createtime, lastmodifier, lastmodifytime, f_oid, f_revisionoid, f_nameoid, f_btwname, t_oid, t_revisionoid, t_nameoid, t_btwname, ts, sequence, dboid, snapshotoid, countstr, unit, measureunit, quantity, valid, bompath, sourcepos from PLATFORMLT_PBOM</srcSql>
| <destTable>PLATFORMLT_PBOM</destTable>
| <destTableFields>oid, creator, createtime, lastmodifier, lastmodifytime, f_oid, f_revisionoid, f_nameoid, f_btwname, t_oid, t_revisionoid, t_nameoid, t_btwname, ts, sequence, dboid, snapshotoid, countstr, unit, measureunit, quantity, valid, bompath, sourcepos</destTableFields>
| <destTableKey>oid</destTableKey>
| <destTableUpdate>creator, createtime, lastmodifier, lastmodifytime, f_oid, f_revisionoid, f_nameoid, f_btwname, t_oid, t_revisionoid, t_nameoid, t_btwname, ts, sequence, dboid, snapshotoid, countstr, unit, measureunit, quantity, valid, bompath, sourcepos</destTableUpdate>
| </item>
| </job>
| -->
| </jobs>
| </root>
|
|