mlxt.sql 241 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : dokcer-mysql1
  4. Source Server Type : MySQL
  5. Source Server Version : 80028 (8.0.28)
  6. Source Host : localhost:3308
  7. Source Schema : mlxt
  8. Target Server Type : MySQL
  9. Target Server Version : 80028 (8.0.28)
  10. File Encoding : 65001
  11. Date: 25/12/2023 16:46:20
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for act_evt_log
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `act_evt_log`;
  19. CREATE TABLE `act_evt_log` (
  20. `LOG_NR_` bigint NOT NULL AUTO_INCREMENT,
  21. `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  22. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  23. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  24. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  25. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  26. `TIME_STAMP_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3),
  27. `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  28. `DATA_` longblob,
  29. `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  30. `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  31. `IS_PROCESSED_` tinyint DEFAULT '0',
  32. PRIMARY KEY (`LOG_NR_`) USING BTREE
  33. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  34. -- ----------------------------
  35. -- Table structure for act_ge_bytearray
  36. -- ----------------------------
  37. DROP TABLE IF EXISTS `act_ge_bytearray`;
  38. CREATE TABLE `act_ge_bytearray` (
  39. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  40. `REV_` int DEFAULT NULL,
  41. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  42. `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  43. `BYTES_` longblob,
  44. `GENERATED_` tinyint DEFAULT NULL,
  45. PRIMARY KEY (`ID_`) USING BTREE,
  46. KEY `ACT_FK_BYTEARR_DEPL` (`DEPLOYMENT_ID_`) USING BTREE,
  47. CONSTRAINT `ACT_FK_BYTEARR_DEPL` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  48. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  49. -- ----------------------------
  50. -- Table structure for act_ge_property
  51. -- ----------------------------
  52. DROP TABLE IF EXISTS `act_ge_property`;
  53. CREATE TABLE `act_ge_property` (
  54. `NAME_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  55. `VALUE_` varchar(300) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  56. `REV_` int DEFAULT NULL,
  57. PRIMARY KEY (`NAME_`) USING BTREE
  58. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  59. -- ----------------------------
  60. -- Table structure for act_hi_actinst
  61. -- ----------------------------
  62. DROP TABLE IF EXISTS `act_hi_actinst`;
  63. CREATE TABLE `act_hi_actinst` (
  64. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  65. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  66. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  67. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  68. `ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  69. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  70. `CALL_PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  71. `ACT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  72. `ACT_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  73. `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  74. `START_TIME_` datetime(3) NOT NULL,
  75. `END_TIME_` datetime(3) DEFAULT NULL,
  76. `DURATION_` bigint DEFAULT NULL,
  77. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  78. PRIMARY KEY (`ID_`) USING BTREE,
  79. KEY `ACT_IDX_HI_ACT_INST_START` (`START_TIME_`) USING BTREE,
  80. KEY `ACT_IDX_HI_ACT_INST_END` (`END_TIME_`) USING BTREE,
  81. KEY `ACT_IDX_HI_ACT_INST_PROCINST` (`PROC_INST_ID_`,`ACT_ID_`) USING BTREE,
  82. KEY `ACT_IDX_HI_ACT_INST_EXEC` (`EXECUTION_ID_`,`ACT_ID_`) USING BTREE
  83. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  84. -- ----------------------------
  85. -- Table structure for act_hi_attachment
  86. -- ----------------------------
  87. DROP TABLE IF EXISTS `act_hi_attachment`;
  88. CREATE TABLE `act_hi_attachment` (
  89. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  90. `REV_` int DEFAULT NULL,
  91. `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  92. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  93. `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  94. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  95. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  96. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  97. `URL_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  98. `CONTENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  99. `TIME_` datetime(3) DEFAULT NULL,
  100. PRIMARY KEY (`ID_`) USING BTREE
  101. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  102. -- ----------------------------
  103. -- Table structure for act_hi_comment
  104. -- ----------------------------
  105. DROP TABLE IF EXISTS `act_hi_comment`;
  106. CREATE TABLE `act_hi_comment` (
  107. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  108. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  109. `TIME_` datetime(3) NOT NULL,
  110. `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  111. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  112. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  113. `ACTION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  114. `MESSAGE_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  115. `FULL_MSG_` longblob,
  116. PRIMARY KEY (`ID_`) USING BTREE,
  117. KEY `index_act_hi_comment_proid` (`PROC_INST_ID_`) USING BTREE,
  118. KEY `index_act_hi_comment_action` (`ACTION_`) USING BTREE,
  119. KEY `index_act_hi_comment_taskid` (`TASK_ID_`) USING BTREE
  120. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  121. -- ----------------------------
  122. -- Table structure for act_hi_detail
  123. -- ----------------------------
  124. DROP TABLE IF EXISTS `act_hi_detail`;
  125. CREATE TABLE `act_hi_detail` (
  126. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  127. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  128. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  129. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  130. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  131. `ACT_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  132. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  133. `VAR_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  134. `REV_` int DEFAULT NULL,
  135. `TIME_` datetime(3) NOT NULL,
  136. `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  137. `DOUBLE_` double DEFAULT NULL,
  138. `LONG_` bigint DEFAULT NULL,
  139. `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  140. `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  141. PRIMARY KEY (`ID_`) USING BTREE,
  142. KEY `ACT_IDX_HI_DETAIL_PROC_INST` (`PROC_INST_ID_`) USING BTREE,
  143. KEY `ACT_IDX_HI_DETAIL_ACT_INST` (`ACT_INST_ID_`) USING BTREE,
  144. KEY `ACT_IDX_HI_DETAIL_TIME` (`TIME_`) USING BTREE,
  145. KEY `ACT_IDX_HI_DETAIL_NAME` (`NAME_`) USING BTREE,
  146. KEY `ACT_IDX_HI_DETAIL_TASK_ID` (`TASK_ID_`) USING BTREE
  147. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  148. -- ----------------------------
  149. -- Table structure for act_hi_identitylink
  150. -- ----------------------------
  151. DROP TABLE IF EXISTS `act_hi_identitylink`;
  152. CREATE TABLE `act_hi_identitylink` (
  153. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  154. `GROUP_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  155. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  156. `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  157. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  158. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  159. PRIMARY KEY (`ID_`) USING BTREE,
  160. KEY `ACT_IDX_HI_IDENT_LNK_USER` (`USER_ID_`) USING BTREE,
  161. KEY `ACT_IDX_HI_IDENT_LNK_TASK` (`TASK_ID_`) USING BTREE,
  162. KEY `ACT_IDX_HI_IDENT_LNK_PROCINST` (`PROC_INST_ID_`) USING BTREE
  163. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  164. -- ----------------------------
  165. -- Table structure for act_hi_procinst
  166. -- ----------------------------
  167. DROP TABLE IF EXISTS `act_hi_procinst`;
  168. CREATE TABLE `act_hi_procinst` (
  169. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  170. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  171. `BUSINESS_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  172. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  173. `START_TIME_` datetime(3) NOT NULL,
  174. `END_TIME_` datetime(3) DEFAULT NULL,
  175. `DURATION_` bigint DEFAULT NULL,
  176. `START_USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  177. `START_ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  178. `END_ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  179. `SUPER_PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  180. `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  181. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  182. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  183. PRIMARY KEY (`ID_`) USING BTREE,
  184. UNIQUE KEY `PROC_INST_ID_` (`PROC_INST_ID_`) USING BTREE,
  185. KEY `ACT_IDX_HI_PRO_INST_END` (`END_TIME_`) USING BTREE,
  186. KEY `ACT_IDX_HI_PRO_I_BUSKEY` (`BUSINESS_KEY_`) USING BTREE
  187. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  188. -- ----------------------------
  189. -- Table structure for act_hi_taskinst
  190. -- ----------------------------
  191. DROP TABLE IF EXISTS `act_hi_taskinst`;
  192. CREATE TABLE `act_hi_taskinst` (
  193. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  194. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  195. `TASK_DEF_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  196. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  197. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  198. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  199. `PARENT_TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  200. `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  201. `OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  202. `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  203. `START_TIME_` datetime(3) NOT NULL,
  204. `CLAIM_TIME_` datetime(3) DEFAULT NULL,
  205. `END_TIME_` datetime(3) DEFAULT NULL,
  206. `DURATION_` bigint DEFAULT NULL,
  207. `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  208. `PRIORITY_` int DEFAULT NULL,
  209. `DUE_DATE_` datetime(3) DEFAULT NULL,
  210. `FORM_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  211. `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  212. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  213. PRIMARY KEY (`ID_`) USING BTREE,
  214. KEY `ACT_IDX_HI_TASK_INST_PROCINST` (`PROC_INST_ID_`) USING BTREE,
  215. KEY `EXECUTION_ID_INDEX` (`EXECUTION_ID_`) USING BTREE,
  216. KEY `ID_INDEX` (`ID_`) USING BTREE,
  217. KEY `END_TIME_INDEX` (`END_TIME_`) USING BTREE
  218. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  219. -- ----------------------------
  220. -- Table structure for act_hi_varinst
  221. -- ----------------------------
  222. DROP TABLE IF EXISTS `act_hi_varinst`;
  223. CREATE TABLE `act_hi_varinst` (
  224. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  225. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  226. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  227. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  228. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  229. `VAR_TYPE_` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  230. `REV_` int DEFAULT NULL,
  231. `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  232. `DOUBLE_` double DEFAULT NULL,
  233. `LONG_` bigint DEFAULT NULL,
  234. `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  235. `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  236. `CREATE_TIME_` datetime(3) DEFAULT NULL,
  237. `LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL,
  238. PRIMARY KEY (`ID_`) USING BTREE,
  239. KEY `ACT_IDX_HI_PROCVAR_PROC_INST` (`PROC_INST_ID_`) USING BTREE,
  240. KEY `ACT_IDX_HI_PROCVAR_NAME_TYPE` (`NAME_`,`VAR_TYPE_`) USING BTREE,
  241. KEY `ACT_IDX_HI_PROCVAR_TASK_ID` (`TASK_ID_`) USING BTREE
  242. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  243. -- ----------------------------
  244. -- Table structure for act_id_group
  245. -- ----------------------------
  246. DROP TABLE IF EXISTS `act_id_group`;
  247. CREATE TABLE `act_id_group` (
  248. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  249. `REV_` int DEFAULT NULL,
  250. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  251. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  252. PRIMARY KEY (`ID_`) USING BTREE
  253. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  254. -- ----------------------------
  255. -- Table structure for act_id_info
  256. -- ----------------------------
  257. DROP TABLE IF EXISTS `act_id_info`;
  258. CREATE TABLE `act_id_info` (
  259. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  260. `REV_` int DEFAULT NULL,
  261. `USER_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  262. `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  263. `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  264. `VALUE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  265. `PASSWORD_` longblob,
  266. `PARENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  267. PRIMARY KEY (`ID_`) USING BTREE
  268. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  269. -- ----------------------------
  270. -- Table structure for act_id_membership
  271. -- ----------------------------
  272. DROP TABLE IF EXISTS `act_id_membership`;
  273. CREATE TABLE `act_id_membership` (
  274. `USER_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  275. `GROUP_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  276. PRIMARY KEY (`USER_ID_`,`GROUP_ID_`) USING BTREE,
  277. KEY `ACT_FK_MEMB_GROUP` (`GROUP_ID_`) USING BTREE,
  278. CONSTRAINT `ACT_FK_MEMB_GROUP` FOREIGN KEY (`GROUP_ID_`) REFERENCES `act_id_group` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  279. CONSTRAINT `ACT_FK_MEMB_USER` FOREIGN KEY (`USER_ID_`) REFERENCES `act_id_user` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  280. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  281. -- ----------------------------
  282. -- Table structure for act_id_user
  283. -- ----------------------------
  284. DROP TABLE IF EXISTS `act_id_user`;
  285. CREATE TABLE `act_id_user` (
  286. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  287. `REV_` int DEFAULT NULL,
  288. `FIRST_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  289. `LAST_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  290. `EMAIL_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  291. `PWD_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  292. `PICTURE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  293. PRIMARY KEY (`ID_`) USING BTREE
  294. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  295. -- ----------------------------
  296. -- Table structure for act_procdef_info
  297. -- ----------------------------
  298. DROP TABLE IF EXISTS `act_procdef_info`;
  299. CREATE TABLE `act_procdef_info` (
  300. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  301. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  302. `REV_` int DEFAULT NULL,
  303. `INFO_JSON_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  304. PRIMARY KEY (`ID_`) USING BTREE,
  305. UNIQUE KEY `ACT_UNIQ_INFO_PROCDEF` (`PROC_DEF_ID_`) USING BTREE,
  306. KEY `ACT_IDX_INFO_PROCDEF` (`PROC_DEF_ID_`) USING BTREE,
  307. KEY `ACT_FK_INFO_JSON_BA` (`INFO_JSON_ID_`) USING BTREE,
  308. CONSTRAINT `ACT_FK_INFO_JSON_BA` FOREIGN KEY (`INFO_JSON_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  309. CONSTRAINT `ACT_FK_INFO_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  310. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  311. -- ----------------------------
  312. -- Table structure for act_re_deployment
  313. -- ----------------------------
  314. DROP TABLE IF EXISTS `act_re_deployment`;
  315. CREATE TABLE `act_re_deployment` (
  316. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  317. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  318. `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  319. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  320. `DEPLOY_TIME_` timestamp(3) NULL DEFAULT NULL,
  321. PRIMARY KEY (`ID_`) USING BTREE
  322. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  323. -- ----------------------------
  324. -- Table structure for act_re_model
  325. -- ----------------------------
  326. DROP TABLE IF EXISTS `act_re_model`;
  327. CREATE TABLE `act_re_model` (
  328. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  329. `REV_` int DEFAULT NULL,
  330. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  331. `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  332. `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  333. `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  334. `LAST_UPDATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  335. `VERSION_` int DEFAULT NULL,
  336. `META_INFO_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  337. `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  338. `EDITOR_SOURCE_VALUE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  339. `EDITOR_SOURCE_EXTRA_VALUE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  340. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  341. PRIMARY KEY (`ID_`) USING BTREE,
  342. KEY `ACT_FK_MODEL_SOURCE` (`EDITOR_SOURCE_VALUE_ID_`) USING BTREE,
  343. KEY `ACT_FK_MODEL_SOURCE_EXTRA` (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) USING BTREE,
  344. KEY `ACT_FK_MODEL_DEPLOYMENT` (`DEPLOYMENT_ID_`) USING BTREE,
  345. CONSTRAINT `ACT_FK_MODEL_DEPLOYMENT` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  346. CONSTRAINT `ACT_FK_MODEL_SOURCE` FOREIGN KEY (`EDITOR_SOURCE_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  347. CONSTRAINT `ACT_FK_MODEL_SOURCE_EXTRA` FOREIGN KEY (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  348. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  349. -- ----------------------------
  350. -- Table structure for act_re_procdef
  351. -- ----------------------------
  352. DROP TABLE IF EXISTS `act_re_procdef`;
  353. CREATE TABLE `act_re_procdef` (
  354. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  355. `REV_` int DEFAULT NULL,
  356. `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  357. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  358. `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  359. `VERSION_` int NOT NULL,
  360. `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  361. `RESOURCE_NAME_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  362. `DGRM_RESOURCE_NAME_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  363. `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  364. `HAS_START_FORM_KEY_` tinyint DEFAULT NULL,
  365. `HAS_GRAPHICAL_NOTATION_` tinyint DEFAULT NULL,
  366. `SUSPENSION_STATE_` int DEFAULT NULL,
  367. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  368. PRIMARY KEY (`ID_`) USING BTREE,
  369. UNIQUE KEY `ACT_UNIQ_PROCDEF` (`KEY_`,`VERSION_`,`TENANT_ID_`) USING BTREE
  370. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  371. -- ----------------------------
  372. -- Table structure for act_ru_event_subscr
  373. -- ----------------------------
  374. DROP TABLE IF EXISTS `act_ru_event_subscr`;
  375. CREATE TABLE `act_ru_event_subscr` (
  376. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  377. `REV_` int DEFAULT NULL,
  378. `EVENT_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  379. `EVENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  380. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  381. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  382. `ACTIVITY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  383. `CONFIGURATION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  384. `CREATED_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  385. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  386. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  387. PRIMARY KEY (`ID_`) USING BTREE,
  388. KEY `ACT_IDX_EVENT_SUBSCR_CONFIG_` (`CONFIGURATION_`) USING BTREE,
  389. KEY `ACT_FK_EVENT_EXEC` (`EXECUTION_ID_`) USING BTREE,
  390. CONSTRAINT `ACT_FK_EVENT_EXEC` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  391. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  392. -- ----------------------------
  393. -- Table structure for act_ru_execution
  394. -- ----------------------------
  395. DROP TABLE IF EXISTS `act_ru_execution`;
  396. CREATE TABLE `act_ru_execution` (
  397. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  398. `REV_` int DEFAULT NULL,
  399. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  400. `BUSINESS_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  401. `PARENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  402. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  403. `SUPER_EXEC_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  404. `ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  405. `IS_ACTIVE_` tinyint DEFAULT NULL,
  406. `IS_CONCURRENT_` tinyint DEFAULT NULL,
  407. `IS_SCOPE_` tinyint DEFAULT NULL,
  408. `IS_EVENT_SCOPE_` tinyint DEFAULT NULL,
  409. `SUSPENSION_STATE_` int DEFAULT NULL,
  410. `CACHED_ENT_STATE_` int DEFAULT NULL,
  411. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  412. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  413. `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  414. PRIMARY KEY (`ID_`) USING BTREE,
  415. KEY `ACT_IDX_EXEC_BUSKEY` (`BUSINESS_KEY_`) USING BTREE,
  416. KEY `ACT_FK_EXE_PROCINST` (`PROC_INST_ID_`) USING BTREE,
  417. KEY `ACT_FK_EXE_PARENT` (`PARENT_ID_`) USING BTREE,
  418. KEY `ACT_FK_EXE_SUPER` (`SUPER_EXEC_`) USING BTREE,
  419. KEY `ACT_FK_EXE_PROCDEF` (`PROC_DEF_ID_`) USING BTREE,
  420. CONSTRAINT `ACT_FK_EXE_PARENT` FOREIGN KEY (`PARENT_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  421. CONSTRAINT `ACT_FK_EXE_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  422. CONSTRAINT `ACT_FK_EXE_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE ON UPDATE CASCADE,
  423. CONSTRAINT `ACT_FK_EXE_SUPER` FOREIGN KEY (`SUPER_EXEC_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  424. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  425. -- ----------------------------
  426. -- Table structure for act_ru_identitylink
  427. -- ----------------------------
  428. DROP TABLE IF EXISTS `act_ru_identitylink`;
  429. CREATE TABLE `act_ru_identitylink` (
  430. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  431. `REV_` int DEFAULT NULL,
  432. `GROUP_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  433. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  434. `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  435. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  436. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  437. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  438. PRIMARY KEY (`ID_`) USING BTREE,
  439. KEY `ACT_IDX_IDENT_LNK_USER` (`USER_ID_`) USING BTREE,
  440. KEY `ACT_IDX_IDENT_LNK_GROUP` (`GROUP_ID_`) USING BTREE,
  441. KEY `ACT_IDX_ATHRZ_PROCEDEF` (`PROC_DEF_ID_`) USING BTREE,
  442. KEY `ACT_FK_TSKASS_TASK` (`TASK_ID_`) USING BTREE,
  443. KEY `ACT_FK_IDL_PROCINST` (`PROC_INST_ID_`) USING BTREE,
  444. CONSTRAINT `ACT_FK_ATHRZ_PROCEDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  445. CONSTRAINT `ACT_FK_IDL_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  446. CONSTRAINT `ACT_FK_TSKASS_TASK` FOREIGN KEY (`TASK_ID_`) REFERENCES `act_ru_task` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  447. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  448. -- ----------------------------
  449. -- Table structure for act_ru_job
  450. -- ----------------------------
  451. DROP TABLE IF EXISTS `act_ru_job`;
  452. CREATE TABLE `act_ru_job` (
  453. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  454. `REV_` int DEFAULT NULL,
  455. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  456. `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  457. `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  458. `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  459. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  460. `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  461. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  462. `RETRIES_` int DEFAULT NULL,
  463. `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  464. `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  465. `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  466. `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  467. `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  468. `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  469. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  470. PRIMARY KEY (`ID_`) USING BTREE,
  471. KEY `ACT_FK_JOB_EXCEPTION` (`EXCEPTION_STACK_ID_`) USING BTREE,
  472. KEY `idx_type_` (`TYPE_`) USING BTREE,
  473. CONSTRAINT `ACT_FK_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  474. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  475. -- ----------------------------
  476. -- Table structure for act_ru_task
  477. -- ----------------------------
  478. DROP TABLE IF EXISTS `act_ru_task`;
  479. CREATE TABLE `act_ru_task` (
  480. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  481. `REV_` int DEFAULT NULL,
  482. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  483. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  484. `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  485. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  486. `PARENT_TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  487. `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  488. `TASK_DEF_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  489. `OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  490. `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  491. `DELEGATION_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  492. `PRIORITY_` int DEFAULT NULL,
  493. `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  494. `DUE_DATE_` datetime(3) DEFAULT NULL,
  495. `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  496. `SUSPENSION_STATE_` int DEFAULT NULL,
  497. `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  498. `FORM_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  499. PRIMARY KEY (`ID_`) USING BTREE,
  500. KEY `ACT_IDX_TASK_CREATE` (`CREATE_TIME_`) USING BTREE,
  501. KEY `ACT_FK_TASK_EXE` (`EXECUTION_ID_`) USING BTREE,
  502. KEY `ACT_FK_TASK_PROCINST` (`PROC_INST_ID_`) USING BTREE,
  503. KEY `ACT_FK_TASK_PROCDEF` (`PROC_DEF_ID_`) USING BTREE,
  504. KEY `INDEX_ASSIGNEE` (`ASSIGNEE_`) USING BTREE,
  505. CONSTRAINT `ACT_FK_TASK_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  506. CONSTRAINT `ACT_FK_TASK_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  507. CONSTRAINT `ACT_FK_TASK_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  508. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  509. -- ----------------------------
  510. -- Table structure for act_ru_variable
  511. -- ----------------------------
  512. DROP TABLE IF EXISTS `act_ru_variable`;
  513. CREATE TABLE `act_ru_variable` (
  514. `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  515. `REV_` int DEFAULT NULL,
  516. `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  517. `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  518. `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  519. `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  520. `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  521. `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  522. `DOUBLE_` double DEFAULT NULL,
  523. `LONG_` bigint DEFAULT NULL,
  524. `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  525. `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  526. PRIMARY KEY (`ID_`) USING BTREE,
  527. KEY `ACT_IDX_VARIABLE_TASK_ID` (`TASK_ID_`) USING BTREE,
  528. KEY `ACT_FK_VAR_EXE` (`EXECUTION_ID_`) USING BTREE,
  529. KEY `ACT_FK_VAR_PROCINST` (`PROC_INST_ID_`) USING BTREE,
  530. KEY `ACT_FK_VAR_BYTEARRAY` (`BYTEARRAY_ID_`) USING BTREE,
  531. CONSTRAINT `ACT_FK_VAR_BYTEARRAY` FOREIGN KEY (`BYTEARRAY_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  532. CONSTRAINT `ACT_FK_VAR_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  533. CONSTRAINT `ACT_FK_VAR_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE RESTRICT ON UPDATE RESTRICT
  534. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
  535. -- ----------------------------
  536. -- Table structure for application
  537. -- ----------------------------
  538. DROP TABLE IF EXISTS `application`;
  539. CREATE TABLE `application` (
  540. `ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '主键',
  541. `OFFERDEP` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(提供部门)',
  542. `APPLYDEP` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(申请部门)',
  543. `APPLICANT` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(申请人)',
  544. `APPLYREASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '(申请原因)',
  545. `APPLYDATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(申请时间)',
  546. `AUDITDEP` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核部门)',
  547. `AUDITREASON` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核原因)',
  548. `AUDITOR` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核人)',
  549. `AUDITDATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核时间)',
  550. `RECORDEP` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核部门)',
  551. `RECORDMAN` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(审核人)',
  552. `RECORDDATE` datetime DEFAULT NULL COMMENT '(审核时间)',
  553. `STATE` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(状态)',
  554. `INFOCLASSNAMES` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(记录的信息类名称)',
  555. `INFOCLASSIDS` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(记录的信息类id)',
  556. `APPLYTYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '(申请类型)',
  557. `SYSTEMCODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据显示部门code',
  558. `CATALOGDEPTID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '编目处室id',
  559. `CATALOGORGID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '编目审核部门id',
  560. `CATALOGORGGNAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '编目审核部门名称',
  561. `AUDITOPINION` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '审核意见',
  562. `COORDOPINION` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '协调意见',
  563. `CONFIGTYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '配置实施管理',
  564. `REGION_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL
  565. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  566. -- ----------------------------
  567. -- Table structure for apply_class
  568. -- ----------------------------
  569. DROP TABLE IF EXISTS `apply_class`;
  570. CREATE TABLE `apply_class` (
  571. `ID` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  572. `T_INFOCLASS_DATAMETA_ID` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息项id',
  573. `T_SHAREAPPLY_ID` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '共享申请id',
  574. PRIMARY KEY (`ID`) USING BTREE
  575. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  576. -- ----------------------------
  577. -- Table structure for code
  578. -- ----------------------------
  579. DROP TABLE IF EXISTS `code`;
  580. CREATE TABLE `code` (
  581. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  582. `CATEGORY` decimal(10,0) DEFAULT NULL,
  583. `CODE_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  584. `CODE_INDEX` decimal(10,0) DEFAULT NULL,
  585. `CODE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  586. `CODE_TYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  587. `CODE_TYPE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  588. `CREATE_TIME` datetime(6) DEFAULT NULL,
  589. `CREATOR_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  590. `REMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  591. `STATE` decimal(10,0) DEFAULT NULL,
  592. `UPDATE_TIME` datetime(6) DEFAULT NULL,
  593. `UPDATER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  594. `PARENT_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  595. `CODE_VALUE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  596. PRIMARY KEY (`ID`) USING BTREE
  597. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  598. -- ----------------------------
  599. -- Table structure for comp
  600. -- ----------------------------
  601. DROP TABLE IF EXISTS `comp`;
  602. CREATE TABLE `comp` (
  603. `COMP_ID` decimal(19,0) NOT NULL,
  604. `COMP_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  605. PRIMARY KEY (`COMP_ID`) USING BTREE
  606. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  607. -- ----------------------------
  608. -- Table structure for current_infoclass
  609. -- ----------------------------
  610. DROP TABLE IF EXISTS `current_infoclass`;
  611. CREATE TABLE `current_infoclass` (
  612. `dept_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '单位ID',
  613. `tablename` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '表名称',
  614. `updatetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '时间戳',
  615. KEY `idx_tablename` (`tablename`) USING BTREE
  616. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='展示版信息类信息';
  617. -- ----------------------------
  618. -- Table structure for data_count
  619. -- ----------------------------
  620. DROP TABLE IF EXISTS `data_count`;
  621. CREATE TABLE `data_count` (
  622. `infocode` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  623. `rowcount` decimal(16,0) DEFAULT '0',
  624. PRIMARY KEY (`infocode`) USING BTREE
  625. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=COMPACT;
  626. -- ----------------------------
  627. -- Table structure for datacount_all
  628. -- ----------------------------
  629. DROP TABLE IF EXISTS `datacount_all`;
  630. CREATE TABLE `datacount_all` (
  631. `infocode` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '信息类code',
  632. `rowcount` decimal(16,0) DEFAULT '0' COMMENT '数据量',
  633. PRIMARY KEY (`infocode`) USING BTREE
  634. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=COMPACT COMMENT='汇聚数据量统计';
  635. -- ----------------------------
  636. -- Table structure for dept_res
  637. -- ----------------------------
  638. DROP TABLE IF EXISTS `dept_res`;
  639. CREATE TABLE `dept_res` (
  640. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  641. `RES_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  642. PRIMARY KEY (`DEPT_ID`,`RES_ID`) USING BTREE
  643. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  644. -- ----------------------------
  645. -- Table structure for dept_user
  646. -- ----------------------------
  647. DROP TABLE IF EXISTS `dept_user`;
  648. CREATE TABLE `dept_user` (
  649. `USER_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  650. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  651. PRIMARY KEY (`DEPT_ID`,`USER_ID`) USING BTREE,
  652. KEY `index_deptuser_deptid` (`DEPT_ID`) USING BTREE,
  653. KEY `index_deptuser_userid` (`USER_ID`) USING BTREE
  654. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  655. -- ----------------------------
  656. -- Table structure for deptinfo
  657. -- ----------------------------
  658. DROP TABLE IF EXISTS `deptinfo`;
  659. CREATE TABLE `deptinfo` (
  660. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  661. `DEPT_DESC` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  662. `DEPT_INDEX` decimal(65,0) DEFAULT NULL,
  663. `DEPT_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  664. `DEPT_STATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  665. `DEPT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  666. `DEPT_URL` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  667. `PARENT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  668. `CREATE_TIME` datetime(6) DEFAULT NULL,
  669. `CREATOR_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  670. `UPDATE_TIME` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  671. `UPDATER_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  672. `FLAG` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  673. `REMARK` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  674. `YWBMNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门名称',
  675. `YWBMCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门编码',
  676. `XZQHNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划名称',
  677. `XZQHCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划编码',
  678. `CREDITNO` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  679. `YWBMID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门对应数据字典',
  680. `XZQHID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划对应数据字典',
  681. `PDEPTIDS` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  682. `pdept_id` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点ids',
  683. `DEPT_ABBREVIATION` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '机构简称',
  684. `DEPT_PROPERTY` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  685. `DEPT_TEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  686. PRIMARY KEY (`DEPT_ID`) USING BTREE,
  687. UNIQUE KEY `DEPT_ID` (`DEPT_ID`) USING BTREE,
  688. KEY `PARENT_ID` (`PARENT_ID`) USING BTREE
  689. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  690. -- ----------------------------
  691. -- Table structure for deptinfo_copy1
  692. -- ----------------------------
  693. DROP TABLE IF EXISTS `deptinfo_copy1`;
  694. CREATE TABLE `deptinfo_copy1` (
  695. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  696. `DEPT_DESC` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  697. `DEPT_INDEX` decimal(65,0) DEFAULT NULL,
  698. `DEPT_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  699. `DEPT_STATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  700. `DEPT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  701. `DEPT_URL` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  702. `PARENT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  703. `CREATE_TIME` datetime(6) DEFAULT NULL,
  704. `CREATOR_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  705. `UPDATE_TIME` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  706. `UPDATER_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  707. `FLAG` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  708. `REMARK` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  709. `YWBMNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门名称',
  710. `YWBMCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门编码',
  711. `XZQHNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划名称',
  712. `XZQHCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划编码',
  713. `CREDITNO` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  714. `YWBMID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门对应数据字典',
  715. `XZQHID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划对应数据字典',
  716. `PDEPTIDS` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  717. `pdept_id` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点ids',
  718. `DEPT_ABBREVIATION` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '机构简称',
  719. `DEPT_PROPERTY` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  720. UNIQUE KEY `DEPT_ID` (`DEPT_ID`) USING BTREE,
  721. KEY `PARENT_ID` (`PARENT_ID`) USING BTREE
  722. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  723. -- ----------------------------
  724. -- Table structure for deptinfo_copy2
  725. -- ----------------------------
  726. DROP TABLE IF EXISTS `deptinfo_copy2`;
  727. CREATE TABLE `deptinfo_copy2` (
  728. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  729. `DEPT_DESC` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  730. `DEPT_INDEX` decimal(65,0) DEFAULT NULL,
  731. `DEPT_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  732. `DEPT_STATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  733. `DEPT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  734. `DEPT_URL` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  735. `PARENT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  736. `CREATE_TIME` datetime(6) DEFAULT NULL,
  737. `CREATOR_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  738. `UPDATE_TIME` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  739. `UPDATER_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  740. `FLAG` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  741. `REMARK` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  742. `YWBMNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门名称',
  743. `YWBMCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门编码',
  744. `XZQHNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划名称',
  745. `XZQHCODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划编码',
  746. `CREDITNO` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  747. `YWBMID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务部门对应数据字典',
  748. `XZQHID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '行政区划对应数据字典',
  749. `PDEPTIDS` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  750. `pdept_id` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点ids',
  751. `DEPT_ABBREVIATION` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '机构简称',
  752. `DEPT_PROPERTY` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  753. UNIQUE KEY `DEPT_ID` (`DEPT_ID`) USING BTREE,
  754. KEY `PARENT_ID` (`PARENT_ID`) USING BTREE
  755. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  756. -- ----------------------------
  757. -- Table structure for gxwz_codevalue_picurl_rel
  758. -- ----------------------------
  759. DROP TABLE IF EXISTS `gxwz_codevalue_picurl_rel`;
  760. CREATE TABLE `gxwz_codevalue_picurl_rel` (
  761. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  762. `CATEGORY_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '目录名称',
  763. `CATEGORY_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '编码',
  764. `PARENT_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点code【父节点为部门时,code为上四级父节点code的拼接】',
  765. `PARENT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点',
  766. `PIC_URL` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '图片存储路径',
  767. `IS_SHOW` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否显示 0:不显示 1:显示',
  768. PRIMARY KEY (`ID`) USING BTREE
  769. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  770. -- ----------------------------
  771. -- Table structure for gxwz_codevalue_picurl_rel2
  772. -- ----------------------------
  773. DROP TABLE IF EXISTS `gxwz_codevalue_picurl_rel2`;
  774. CREATE TABLE `gxwz_codevalue_picurl_rel2` (
  775. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  776. `CATEGORY_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '目录名称',
  777. `CATEGORY_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '编码',
  778. `PARENT_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点code【父节点为部门时,code为上四级父节点code的拼接】',
  779. `PARENT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父节点',
  780. `PIC_URL` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '图片存储路径',
  781. `IS_SHOW` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否显示 0:不显示 1:显示',
  782. PRIMARY KEY (`ID`) USING BTREE
  783. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  784. -- ----------------------------
  785. -- Table structure for gxwz_infoclass_catalog_rel
  786. -- ----------------------------
  787. DROP TABLE IF EXISTS `gxwz_infoclass_catalog_rel`;
  788. CREATE TABLE `gxwz_infoclass_catalog_rel` (
  789. `INFOCLASS_CODE` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '信息类的编码',
  790. `INFOCLASS_NAME` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '信息类名称',
  791. `INFOCLASS_DEPT` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类提供方',
  792. `ISHANGON` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否挂接(是否与编目表关联)',
  793. `CATALOG_TABLE_NAME` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '编目名称',
  794. `CATALOG_TABLE_TIMECOLUM` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '时间戳字段',
  795. `EXCHANGE_COUNT` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据交换量',
  796. `VISIT_COUNT` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '访问量',
  797. `APPLY_COUNT` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请次数',
  798. `SUBSCRIBE_COUNT` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '订阅量',
  799. `CATALOG_TABLE_LASTTIME` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '最后更新时间',
  800. `rowcount` decimal(16,0) DEFAULT NULL COMMENT '数据量',
  801. `createtime` datetime DEFAULT NULL,
  802. `updatetime` datetime DEFAULT NULL,
  803. PRIMARY KEY (`INFOCLASS_CODE`) USING BTREE
  804. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  805. -- ----------------------------
  806. -- Table structure for last_infoclass
  807. -- ----------------------------
  808. DROP TABLE IF EXISTS `last_infoclass`;
  809. CREATE TABLE `last_infoclass` (
  810. `dept_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '单位ID',
  811. `tablename` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '表名称',
  812. `updatecycle` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  813. `sharemodetype` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  814. `isopensocial` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否开放',
  815. `shijian` datetime DEFAULT NULL
  816. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='定版信息类信息';
  817. -- ----------------------------
  818. -- Table structure for loadingcache
  819. -- ----------------------------
  820. DROP TABLE IF EXISTS `loadingcache`;
  821. CREATE TABLE `loadingcache` (
  822. `LOADNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '??????',
  823. `LOADTIME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '????????????',
  824. `ISBLOCKED` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '??????????',
  825. `ERRORLOADNUMS` decimal(65,0) DEFAULT NULL COMMENT '????????????',
  826. PRIMARY KEY (`LOADNAME`) USING BTREE
  827. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  828. -- ----------------------------
  829. -- Table structure for loginfo
  830. -- ----------------------------
  831. DROP TABLE IF EXISTS `loginfo`;
  832. CREATE TABLE `loginfo` (
  833. `LOGID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  834. `LOGTIME` datetime(6) DEFAULT NULL,
  835. `LOGIP` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  836. `LOGUSERNAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  837. `LOGUSERID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  838. `LOGTYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  839. `LOGDETAIL` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  840. `LOGMOKUAI` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  841. `LOGTABLE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  842. `DATAID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  843. `LOGURL` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  844. PRIMARY KEY (`LOGID`) USING BTREE,
  845. KEY `dataid_index` (`DATAID`) USING BTREE,
  846. KEY `logtable_index` (`LOGTABLE`) USING BTREE
  847. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  848. -- ----------------------------
  849. -- Table structure for menu
  850. -- ----------------------------
  851. DROP TABLE IF EXISTS `menu`;
  852. CREATE TABLE `menu` (
  853. `MENU_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  854. `CONTROLLER_CLASS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  855. `CREATE_TIME` datetime(6) DEFAULT NULL,
  856. `CREATOR_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  857. `FLAG` decimal(10,0) DEFAULT NULL,
  858. `MENU_DESC` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  859. `MENU_INDEX` decimal(10,0) DEFAULT NULL,
  860. `MENU_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  861. `MENU_URL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  862. `REMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  863. `SMALL_ICON_PATH` longblob,
  864. `UPDATE_TIME` datetime(6) DEFAULT NULL,
  865. `UPDATER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  866. `PARENT_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  867. `ICON_PATH` longblob,
  868. `ICON_CLS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  869. `ISSENSIVITE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否敏感资源',
  870. PRIMARY KEY (`MENU_ID`) USING BTREE,
  871. KEY `index_parentid` (`PARENT_ID`) USING BTREE,
  872. KEY `index_menuurl` (`MENU_URL`) USING BTREE
  873. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  874. -- ----------------------------
  875. -- Table structure for mh_model
  876. -- ----------------------------
  877. DROP TABLE IF EXISTS `mh_model`;
  878. CREATE TABLE `mh_model` (
  879. `MH_ID` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '模版信息的数据主键标识',
  880. `MH_ZYID` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版信息的业务标识,唯一',
  881. `MH_ZYNAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版信息类的中文名称',
  882. `MH_ZYDEPTID` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '信息资源提供部门',
  883. `CREATE_TIME` datetime(6) NOT NULL COMMENT '数据创建时间',
  884. `UPDATE_TIME` datetime(6) DEFAULT NULL COMMENT '数据修改的时间',
  885. `CREATE_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版创建人员姓名',
  886. `UPDATE_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版修改人员姓名',
  887. `MH_MODELNAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版文件名称',
  888. `MH_MODELADDRES` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模板文件存放路径',
  889. `MH_MODELSTATUS` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '上传文件的类型',
  890. `UPLOAD_TIME` datetime(6) DEFAULT NULL COMMENT '上传时间已最终为准',
  891. `ISDELETE` decimal(65,0) DEFAULT NULL,
  892. `MH_ZYDEPTNAME` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '信息资源提供部门',
  893. `MH_XXTABLECNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类在中心库的表名 中文',
  894. `MH_XXTABLENAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类在中心库的表名 英文',
  895. PRIMARY KEY (`MH_ID`) USING BTREE
  896. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  897. -- ----------------------------
  898. -- Table structure for mh_model_datas
  899. -- ----------------------------
  900. DROP TABLE IF EXISTS `mh_model_datas`;
  901. CREATE TABLE `mh_model_datas` (
  902. `MH_ID` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '任务的数据主键标识',
  903. `MH_MODELNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版信息的业务标识,唯一',
  904. `MH_ZYDEPTID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息资源提供部门',
  905. `CREATE_TIME` datetime(6) DEFAULT NULL COMMENT '上传时间',
  906. `CREATE_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '上传人',
  907. `PUBLISHER_TIME` datetime(6) DEFAULT NULL COMMENT '发布时间',
  908. `STATUS` decimal(1,0) NOT NULL,
  909. `DATANUM` decimal(65,0) DEFAULT NULL COMMENT '"导入数据条数"',
  910. PRIMARY KEY (`MH_ID`) USING BTREE
  911. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  912. -- ----------------------------
  913. -- Table structure for mh_model_dept
  914. -- ----------------------------
  915. DROP TABLE IF EXISTS `mh_model_dept`;
  916. CREATE TABLE `mh_model_dept` (
  917. `MH_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  918. `MODEL_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  919. `DEPT_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  920. PRIMARY KEY (`MH_ID`) USING BTREE
  921. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  922. -- ----------------------------
  923. -- Table structure for mh_modeltask
  924. -- ----------------------------
  925. DROP TABLE IF EXISTS `mh_modeltask`;
  926. CREATE TABLE `mh_modeltask` (
  927. `MH_ID` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '任务的数据主键标识',
  928. `MH_ZYID` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模版信息的业务标识,唯一',
  929. `MH_ZYDEPTID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息资源提供部门',
  930. `PUBLISHER` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务操作员-发布人',
  931. `PUBLISHER_STATUS` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '默认为0,发布为1,撤销为0',
  932. `PUBLISHER_TIME` datetime(6) DEFAULT NULL COMMENT '发布时间',
  933. PRIMARY KEY (`MH_ID`) USING BTREE
  934. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  935. -- ----------------------------
  936. -- Table structure for qrtz_blob_triggers
  937. -- ----------------------------
  938. DROP TABLE IF EXISTS `qrtz_blob_triggers`;
  939. CREATE TABLE `qrtz_blob_triggers` (
  940. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  941. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  942. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  943. `BLOB_DATA` longblob,
  944. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  945. CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
  946. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  947. -- ----------------------------
  948. -- Table structure for qrtz_calendars
  949. -- ----------------------------
  950. DROP TABLE IF EXISTS `qrtz_calendars`;
  951. CREATE TABLE `qrtz_calendars` (
  952. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  953. `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  954. `CALENDAR` longblob NOT NULL,
  955. PRIMARY KEY (`SCHED_NAME`,`CALENDAR_NAME`) USING BTREE
  956. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  957. -- ----------------------------
  958. -- Table structure for qrtz_cron_triggers
  959. -- ----------------------------
  960. DROP TABLE IF EXISTS `qrtz_cron_triggers`;
  961. CREATE TABLE `qrtz_cron_triggers` (
  962. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  963. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  964. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  965. `CRON_EXPRESSION` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  966. `TIME_ZONE_ID` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  967. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  968. CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
  969. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  970. -- ----------------------------
  971. -- Table structure for qrtz_fired_triggers
  972. -- ----------------------------
  973. DROP TABLE IF EXISTS `qrtz_fired_triggers`;
  974. CREATE TABLE `qrtz_fired_triggers` (
  975. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  976. `ENTRY_ID` varchar(95) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  977. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  978. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  979. `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  980. `FIRED_TIME` decimal(13,0) NOT NULL,
  981. `SCHED_TIME` decimal(13,0) NOT NULL,
  982. `PRIORITY` decimal(13,0) NOT NULL,
  983. `STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  984. `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  985. `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  986. `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  987. `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  988. PRIMARY KEY (`SCHED_NAME`,`ENTRY_ID`) USING BTREE,
  989. KEY `IDX_QRTZ_FT_INST_JOB_REQ_RCVRY` (`SCHED_NAME`,`INSTANCE_NAME`,`REQUESTS_RECOVERY`) USING BTREE,
  990. KEY `IDX_QRTZ_FT_JG` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE,
  991. KEY `IDX_QRTZ_FT_J_G` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  992. KEY `IDX_QRTZ_FT_TG` (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE,
  993. KEY `IDX_QRTZ_FT_TRIG_INST_NAME` (`SCHED_NAME`,`INSTANCE_NAME`) USING BTREE,
  994. KEY `IDX_QRTZ_FT_T_G` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE
  995. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  996. -- ----------------------------
  997. -- Table structure for qrtz_job_details
  998. -- ----------------------------
  999. DROP TABLE IF EXISTS `qrtz_job_details`;
  1000. CREATE TABLE `qrtz_job_details` (
  1001. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1002. `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1003. `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1004. `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1005. `JOB_CLASS_NAME` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1006. `IS_DURABLE` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1007. `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1008. `IS_UPDATE_DATA` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1009. `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1010. `JOB_DATA` longblob,
  1011. PRIMARY KEY (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  1012. KEY `IDX_QRTZ_J_GRP` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE,
  1013. KEY `IDX_QRTZ_J_REQ_RECOVERY` (`SCHED_NAME`,`REQUESTS_RECOVERY`) USING BTREE
  1014. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1015. -- ----------------------------
  1016. -- Table structure for qrtz_locks
  1017. -- ----------------------------
  1018. DROP TABLE IF EXISTS `qrtz_locks`;
  1019. CREATE TABLE `qrtz_locks` (
  1020. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1021. `LOCK_NAME` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1022. PRIMARY KEY (`SCHED_NAME`,`LOCK_NAME`) USING BTREE
  1023. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1024. -- ----------------------------
  1025. -- Table structure for qrtz_paused_trigger_grps
  1026. -- ----------------------------
  1027. DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
  1028. CREATE TABLE `qrtz_paused_trigger_grps` (
  1029. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1030. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1031. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE
  1032. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1033. -- ----------------------------
  1034. -- Table structure for qrtz_scheduler_state
  1035. -- ----------------------------
  1036. DROP TABLE IF EXISTS `qrtz_scheduler_state`;
  1037. CREATE TABLE `qrtz_scheduler_state` (
  1038. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1039. `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1040. `LAST_CHECKIN_TIME` decimal(13,0) NOT NULL,
  1041. `CHECKIN_INTERVAL` decimal(13,0) NOT NULL,
  1042. PRIMARY KEY (`SCHED_NAME`,`INSTANCE_NAME`) USING BTREE
  1043. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1044. -- ----------------------------
  1045. -- Table structure for qrtz_simple_triggers
  1046. -- ----------------------------
  1047. DROP TABLE IF EXISTS `qrtz_simple_triggers`;
  1048. CREATE TABLE `qrtz_simple_triggers` (
  1049. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1050. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1051. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1052. `REPEAT_COUNT` decimal(7,0) NOT NULL,
  1053. `REPEAT_INTERVAL` decimal(12,0) NOT NULL,
  1054. `TIMES_TRIGGERED` decimal(10,0) NOT NULL,
  1055. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  1056. CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1057. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1058. -- ----------------------------
  1059. -- Table structure for qrtz_simprop_triggers
  1060. -- ----------------------------
  1061. DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
  1062. CREATE TABLE `qrtz_simprop_triggers` (
  1063. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1064. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1065. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1066. `STR_PROP_1` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1067. `STR_PROP_2` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1068. `STR_PROP_3` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1069. `INT_PROP_1` decimal(10,0) DEFAULT NULL,
  1070. `INT_PROP_2` decimal(10,0) DEFAULT NULL,
  1071. `LONG_PROP_1` decimal(13,0) DEFAULT NULL,
  1072. `LONG_PROP_2` decimal(13,0) DEFAULT NULL,
  1073. `DEC_PROP_1` decimal(13,4) DEFAULT NULL,
  1074. `DEC_PROP_2` decimal(13,4) DEFAULT NULL,
  1075. `BOOL_PROP_1` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1076. `BOOL_PROP_2` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1077. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  1078. CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1079. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1080. -- ----------------------------
  1081. -- Table structure for qrtz_triggers
  1082. -- ----------------------------
  1083. DROP TABLE IF EXISTS `qrtz_triggers`;
  1084. CREATE TABLE `qrtz_triggers` (
  1085. `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1086. `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1087. `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1088. `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1089. `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1090. `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1091. `NEXT_FIRE_TIME` decimal(13,0) DEFAULT NULL,
  1092. `PREV_FIRE_TIME` decimal(13,0) DEFAULT NULL,
  1093. `PRIORITY` decimal(13,0) DEFAULT NULL,
  1094. `TRIGGER_STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1095. `TRIGGER_TYPE` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1096. `START_TIME` decimal(13,0) NOT NULL,
  1097. `END_TIME` decimal(13,0) DEFAULT NULL,
  1098. `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1099. `MISFIRE_INSTR` decimal(2,0) DEFAULT NULL,
  1100. `JOB_DATA` longblob,
  1101. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  1102. KEY `IDX_QRTZ_T_C` (`SCHED_NAME`,`CALENDAR_NAME`) USING BTREE,
  1103. KEY `IDX_QRTZ_T_G` (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE,
  1104. KEY `IDX_QRTZ_T_J` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  1105. KEY `IDX_QRTZ_T_JG` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE,
  1106. KEY `IDX_QRTZ_T_NEXT_FIRE_TIME` (`SCHED_NAME`,`NEXT_FIRE_TIME`) USING BTREE,
  1107. KEY `IDX_QRTZ_T_NFT_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`) USING BTREE,
  1108. KEY `IDX_QRTZ_T_NFT_ST` (`SCHED_NAME`,`TRIGGER_STATE`,`NEXT_FIRE_TIME`) USING BTREE,
  1109. KEY `IDX_QRTZ_T_NFT_ST_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_STATE`) USING BTREE,
  1110. KEY `IDX_QRTZ_T_NFT_ST_MISFIRE_GRP` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE,
  1111. KEY `IDX_QRTZ_T_N_G_STATE` (`SCHED_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE,
  1112. KEY `IDX_QRTZ_T_N_STATE` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE,
  1113. KEY `IDX_QRTZ_T_STATE` (`SCHED_NAME`,`TRIGGER_STATE`) USING BTREE,
  1114. CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) REFERENCES `qrtz_job_details` (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1115. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1116. -- ----------------------------
  1117. -- Table structure for r_infoclass_lifeinfo
  1118. -- ----------------------------
  1119. DROP TABLE IF EXISTS `r_infoclass_lifeinfo`;
  1120. CREATE TABLE `r_infoclass_lifeinfo` (
  1121. `taskstart` datetime DEFAULT NULL,
  1122. `taskname` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1123. `info_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1124. `infocode` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1125. `state` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1126. `uuid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1127. `versionid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL
  1128. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类生命周期表';
  1129. -- ----------------------------
  1130. -- Table structure for rkrm_zl_probeinfo
  1131. -- ----------------------------
  1132. DROP TABLE IF EXISTS `rkrm_zl_probeinfo`;
  1133. CREATE TABLE `rkrm_zl_probeinfo` (
  1134. `TABLENAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '表名称',
  1135. `PKNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '主键字段数量',
  1136. `FKNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '外键字段数量',
  1137. `COLNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '字段数量',
  1138. `NOTNULLNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '必填字段数量',
  1139. `RECNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '记录数',
  1140. `NULLRATIO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '空值率',
  1141. `NULLVALUENUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '空值比',
  1142. `TCTIME` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '入库时间',
  1143. KEY `idx_tablename` (`TABLENAME`) USING BTREE
  1144. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='空值率统计表';
  1145. -- ----------------------------
  1146. -- Table structure for rkrm_zl_probeinfo_copy
  1147. -- ----------------------------
  1148. DROP TABLE IF EXISTS `rkrm_zl_probeinfo_copy`;
  1149. CREATE TABLE `rkrm_zl_probeinfo_copy` (
  1150. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1151. `DBID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1152. `TABLENAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '表名称',
  1153. `PKNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '主键字段数量',
  1154. `FKNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '外键字段数量',
  1155. `COLNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '字段数量',
  1156. `NOTNULLNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '必填字段数量',
  1157. `RECNUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '记录数',
  1158. `NULLRATIO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '空值率',
  1159. `NULLVALUENUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '空值比',
  1160. `TCTIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '入库时间',
  1161. `DWID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1162. `USERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL
  1163. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='空值率统计表';
  1164. -- ----------------------------
  1165. -- Table structure for role
  1166. -- ----------------------------
  1167. DROP TABLE IF EXISTS `role`;
  1168. CREATE TABLE `role` (
  1169. `ROLE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1170. `CREATE_TIME` datetime(6) DEFAULT NULL,
  1171. `CREATOR_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1172. `FLAG` decimal(10,0) DEFAULT NULL,
  1173. `REMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1174. `ROLE_DESCRIPTION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1175. `ROLE_INDEX` decimal(10,0) DEFAULT NULL,
  1176. `ROLE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1177. `SHOW_USERS` decimal(10,0) DEFAULT NULL,
  1178. `UPDATE_TIME` datetime(6) DEFAULT NULL,
  1179. `UPDATER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1180. PRIMARY KEY (`ROLE_ID`) USING BTREE
  1181. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1182. -- ----------------------------
  1183. -- Table structure for role_menu
  1184. -- ----------------------------
  1185. DROP TABLE IF EXISTS `role_menu`;
  1186. CREATE TABLE `role_menu` (
  1187. `MENU_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1188. `ROLE_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1189. `ADD_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '增加权限',
  1190. `EDIT_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '修改权限',
  1191. `VIEW_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '查看权限',
  1192. `DELETE_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '删除权限',
  1193. `IMP_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '导入权限',
  1194. `EXP_PRIV` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '导出权限',
  1195. PRIMARY KEY (`MENU_ID`,`ROLE_ID`) USING BTREE,
  1196. KEY `index_rolemenu_menuid` (`MENU_ID`) USING BTREE,
  1197. KEY `index_rolemenu_roleid` (`ROLE_ID`) USING BTREE
  1198. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1199. -- ----------------------------
  1200. -- Table structure for role_user
  1201. -- ----------------------------
  1202. DROP TABLE IF EXISTS `role_user`;
  1203. CREATE TABLE `role_user` (
  1204. `ROLE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1205. `USER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1206. PRIMARY KEY (`USER_ID`,`ROLE_ID`) USING BTREE,
  1207. KEY `index_roleid` (`ROLE_ID`) USING BTREE,
  1208. KEY `index_userid` (`USER_ID`) USING BTREE
  1209. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1210. -- ----------------------------
  1211. -- Table structure for role_user_20200131
  1212. -- ----------------------------
  1213. DROP TABLE IF EXISTS `role_user_20200131`;
  1214. CREATE TABLE `role_user_20200131` (
  1215. `ROLE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1216. `USER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1217. PRIMARY KEY (`USER_ID`,`ROLE_ID`) USING BTREE,
  1218. KEY `index_roleid` (`ROLE_ID`) USING BTREE,
  1219. KEY `index_userid` (`USER_ID`) USING BTREE
  1220. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1221. -- ----------------------------
  1222. -- Table structure for role_user_copy1
  1223. -- ----------------------------
  1224. DROP TABLE IF EXISTS `role_user_copy1`;
  1225. CREATE TABLE `role_user_copy1` (
  1226. `ROLE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1227. `USER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1228. PRIMARY KEY (`USER_ID`,`ROLE_ID`) USING BTREE,
  1229. KEY `index_roleid` (`ROLE_ID`) USING BTREE,
  1230. KEY `index_userid` (`USER_ID`) USING BTREE
  1231. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1232. -- ----------------------------
  1233. -- Table structure for subscribemanage
  1234. -- ----------------------------
  1235. DROP TABLE IF EXISTS `subscribemanage`;
  1236. CREATE TABLE `subscribemanage` (
  1237. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  1238. `INFOCLASSNAMES` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类名称',
  1239. `INFOCLASSIDS` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类id',
  1240. `CREATENAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '订阅人',
  1241. `CREATENAMEID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '订阅人id',
  1242. `OFFICEREVIEWNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '所在处室',
  1243. `OFFICEREVIEWNAMEID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '所在处室id',
  1244. `DEPARTREVIEWNAMEID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '所在部门id',
  1245. `DEPARTREVIEWNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '所在部门',
  1246. `SUBSCRIBEDATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '订阅时间',
  1247. `STATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '订阅状态1订阅;2取消订阅',
  1248. `UNSUBSCRIDATE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '取消订阅时间',
  1249. PRIMARY KEY (`ID`) USING BTREE
  1250. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类订阅信息表';
  1251. -- ----------------------------
  1252. -- Table structure for t
  1253. -- ----------------------------
  1254. DROP TABLE IF EXISTS `t`;
  1255. CREATE TABLE `t` (
  1256. `t_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
  1257. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1258. -- ----------------------------
  1259. -- Table structure for t_area_info
  1260. -- ----------------------------
  1261. DROP TABLE IF EXISTS `t_area_info`;
  1262. CREATE TABLE `t_area_info` (
  1263. `AREAID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  1264. `CODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '编码',
  1265. `AREATYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '区域类型',
  1266. `AREANAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '区域名称',
  1267. `REMARK` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
  1268. `PID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父级id',
  1269. `PIDS` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '父级ids',
  1270. `INDEX_NUM` decimal(65,0) DEFAULT NULL COMMENT '排序值',
  1271. `CREATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者',
  1272. `CREATORID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者id',
  1273. `UPDATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新者',
  1274. `UPDATORID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新者id',
  1275. `CREATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建时间 yyyy-MM-dd hh:mm:ss',
  1276. `UPDATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新时间 yyyy-MM-dd hh:mm:ss',
  1277. `STATE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否删除0正常,1删除',
  1278. PRIMARY KEY (`AREAID`) USING BTREE
  1279. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='区域信息表';
  1280. -- ----------------------------
  1281. -- Table structure for t_authinfo
  1282. -- ----------------------------
  1283. DROP TABLE IF EXISTS `t_authinfo`;
  1284. CREATE TABLE `t_authinfo` (
  1285. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1286. `ak` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1287. `sk` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1288. `authtoken` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1289. `time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1290. `state` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1291. PRIMARY KEY (`id`) USING BTREE
  1292. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1293. -- ----------------------------
  1294. -- Table structure for t_batchapply_info
  1295. -- ----------------------------
  1296. DROP TABLE IF EXISTS `t_batchapply_info`;
  1297. CREATE TABLE `t_batchapply_info` (
  1298. `batchid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1299. `batchtime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '批量申请时间',
  1300. `batchuser` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '批量申请人员id',
  1301. `batchtype` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '批量申请类型 0 信息类批量申请 1 服务接口批量申请',
  1302. PRIMARY KEY (`batchid`) USING BTREE
  1303. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1304. -- ----------------------------
  1305. -- Table structure for t_batchapply_subinfo
  1306. -- ----------------------------
  1307. DROP TABLE IF EXISTS `t_batchapply_subinfo`;
  1308. CREATE TABLE `t_batchapply_subinfo` (
  1309. `subid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1310. `batchid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '批量申请单id',
  1311. `applyid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请表id',
  1312. `applytype` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请类型 0 信息类批量申请 1 服务接口批量申请',
  1313. PRIMARY KEY (`subid`) USING BTREE
  1314. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1315. -- ----------------------------
  1316. -- Table structure for t_business_item
  1317. -- ----------------------------
  1318. DROP TABLE IF EXISTS `t_business_item`;
  1319. CREATE TABLE `t_business_item` (
  1320. `ITEM_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '业务事项id',
  1321. `ITEM_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务事项名称',
  1322. `ITEM_CODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务事项编码',
  1323. `ITEM_TYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务事项类型',
  1324. `ITEM_DES` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '业务事项描述',
  1325. `CREATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1326. `CREATOR_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1327. `CREATE_TIME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1328. `UPDATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1329. `UPDATOR_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1330. `UPDATE_TIME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1331. `LYBM` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '来源部门',
  1332. `ZXMC` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1333. PRIMARY KEY (`ITEM_ID`) USING BTREE
  1334. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='业务事项信息表';
  1335. -- ----------------------------
  1336. -- Table structure for t_businessitem_detail
  1337. -- ----------------------------
  1338. DROP TABLE IF EXISTS `t_businessitem_detail`;
  1339. CREATE TABLE `t_businessitem_detail` (
  1340. `DETAIL_ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1341. `ITEM_ID` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '事项id',
  1342. `DETAIL_NAME` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '细项名称',
  1343. `DETAIL_DES` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '细项说明',
  1344. `INFOCLASS_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否匹配信息类,若匹配:信息类id,若不匹配,为空',
  1345. `DETAIL_TYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1346. `DETAIL_SOURCE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1347. `ZHENGZHAO` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1348. `ZHENGZHAOID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1349. PRIMARY KEY (`DETAIL_ID`) USING BTREE
  1350. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='业务事项细项要素信息';
  1351. -- ----------------------------
  1352. -- Table structure for t_businessitem_infoclass
  1353. -- ----------------------------
  1354. DROP TABLE IF EXISTS `t_businessitem_infoclass`;
  1355. CREATE TABLE `t_businessitem_infoclass` (
  1356. `DATAID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1357. `ITEMID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1358. `ITEMNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1359. `INFOCLASSID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1360. `INFOCLASSNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1361. PRIMARY KEY (`DATAID`) USING BTREE
  1362. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类与业务事项关系表';
  1363. -- ----------------------------
  1364. -- Table structure for t_businessitem_shareapply
  1365. -- ----------------------------
  1366. DROP TABLE IF EXISTS `t_businessitem_shareapply`;
  1367. CREATE TABLE `t_businessitem_shareapply` (
  1368. `RELATIONSHIP_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1369. `APPLYID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1370. `ITEM_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1371. `ITEM_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1372. PRIMARY KEY (`RELATIONSHIP_ID`) USING BTREE
  1373. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='业务事项与共享申请关系信息表';
  1374. -- ----------------------------
  1375. -- Table structure for t_businessitem_systeminfo
  1376. -- ----------------------------
  1377. DROP TABLE IF EXISTS `t_businessitem_systeminfo`;
  1378. CREATE TABLE `t_businessitem_systeminfo` (
  1379. `RELATIONSHIP_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1380. `SYSTEMINFO_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1381. `ITEM_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1382. PRIMARY KEY (`RELATIONSHIP_ID`) USING BTREE
  1383. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='业务事项与业务系统关系表';
  1384. -- ----------------------------
  1385. -- Table structure for t_bussiness_processinfo
  1386. -- ----------------------------
  1387. DROP TABLE IF EXISTS `t_bussiness_processinfo`;
  1388. CREATE TABLE `t_bussiness_processinfo` (
  1389. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1390. `busid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1391. `processid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1392. `createtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1393. `creator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1394. `bustable` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1395. PRIMARY KEY (`id`) USING BTREE
  1396. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1397. -- ----------------------------
  1398. -- Table structure for t_changeapply
  1399. -- ----------------------------
  1400. DROP TABLE IF EXISTS `t_changeapply`;
  1401. CREATE TABLE `t_changeapply` (
  1402. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1403. `APPLYDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请日期',
  1404. `APPLYDEPTID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请部门id',
  1405. `APPLYDEPTNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请部门名称',
  1406. `APPLYREASON` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '变更原因',
  1407. `APPLYUSERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人id',
  1408. `APPLYUSERNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人名称',
  1409. `STATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据状态 0:保存 1:待审核 2:审核通过 3:审核不通过 4:删除',
  1410. `UPDATOR_ORG_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1411. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1412. `UPDATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1413. `UPDATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1414. `UPDATOR_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1415. `TINFOCLASSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1416. `CHECKREASON` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核意见',
  1417. `CHECKUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人id',
  1418. `CHECKUSERNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人名',
  1419. `CHECKDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核时间',
  1420. `CHECKORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核部门id',
  1421. `CHECKORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核部门名称',
  1422. `LATESTTINFOCLASSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '变更后信息类id',
  1423. `TREQCONF_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1424. `GUAJIE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1425. PRIMARY KEY (`ID`) USING BTREE,
  1426. KEY `TINFOCLASSID` (`TINFOCLASSID`) USING BTREE,
  1427. CONSTRAINT `t_changeapply_ibfk_1` FOREIGN KEY (`TINFOCLASSID`) REFERENCES `t_infoclass` (`ID`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1428. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='变更申请表';
  1429. -- ----------------------------
  1430. -- Table structure for t_codeset
  1431. -- ----------------------------
  1432. DROP TABLE IF EXISTS `t_codeset`;
  1433. CREATE TABLE `t_codeset` (
  1434. `ID` varchar(100) NOT NULL COMMENT '主键uuid',
  1435. `CODESET_ID` varchar(200) DEFAULT NULL COMMENT '代码集编码',
  1436. `CODESET_NAME` varchar(200) DEFAULT NULL COMMENT '代码集名称',
  1437. `CODESET_DETAIL` text COMMENT '代码集说明',
  1438. `STATE` varchar(10) DEFAULT NULL COMMENT '代码集状态: 0.删除,1.保存,2.提交,3.待启用,4.启用,5.禁用,6审核通过,7退回修改',
  1439. `LEVEL_TYPE` varchar(10) DEFAULT NULL COMMENT '采用标准0-国家标准,1-省级标准2.地方标准3.行业标准,4-其他标准',
  1440. `CREATOR_ORG` varchar(200) DEFAULT NULL COMMENT '创建者所在部门id',
  1441. `CREATOR` varchar(200) DEFAULT NULL COMMENT ' 创建者id',
  1442. `CREATOR_NAME` varchar(200) DEFAULT NULL COMMENT '创建人员姓名',
  1443. `CREATEDATE` varchar(200) DEFAULT NULL COMMENT '创建时间 保存为 yyyy-MM-dd hh:mm:ss',
  1444. `UPDATEDATE` varchar(200) DEFAULT NULL COMMENT '更新时间 保存为 yyyy-MM-dd hh:mm:ss',
  1445. `UPDATOR_ORG` varchar(200) DEFAULT NULL COMMENT '修改者部门id',
  1446. `LEVEL_NAME` varchar(200) DEFAULT NULL COMMENT '采用标准:中文显示',
  1447. `CODESET_INDEX` decimal(65,0) DEFAULT NULL COMMENT '代码集顺序',
  1448. `CHECKDATE` varchar(255) DEFAULT NULL COMMENT '审核日期',
  1449. `CHECKER` varchar(255) DEFAULT NULL COMMENT '审核人id',
  1450. `CHECKER_NAME` varchar(255) DEFAULT NULL COMMENT '审核人员名称',
  1451. `CHECKER_ORG` varchar(255) DEFAULT NULL COMMENT '审核人机构id',
  1452. `CHECKER_ORG_NAME` varchar(255) DEFAULT NULL COMMENT '审核人所在机构名称',
  1453. `CREATOR_ORGNAME` varchar(255) DEFAULT NULL COMMENT '创建者部门名称',
  1454. `LEVEL_ID` varchar(255) DEFAULT NULL COMMENT '采用标准对应数据字典id',
  1455. `UPDATOR_ORG_NAME` varchar(255) DEFAULT NULL COMMENT '修改者部门名称',
  1456. `UPDATETIME` varchar(255) DEFAULT NULL COMMENT '修改时间',
  1457. `UPDATOR` varchar(255) DEFAULT NULL COMMENT '修改人员id',
  1458. `UPDATOR_NAME` varchar(255) DEFAULT NULL COMMENT '修改者姓名',
  1459. `XZQHCODE` varchar(255) DEFAULT NULL,
  1460. PRIMARY KEY (`ID`)
  1461. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='代码集信息表';
  1462. -- ----------------------------
  1463. -- Table structure for t_codeset_detail
  1464. -- ----------------------------
  1465. DROP TABLE IF EXISTS `t_codeset_detail`;
  1466. CREATE TABLE `t_codeset_detail` (
  1467. `ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1468. `FID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '与代码集信息表主键关联',
  1469. `CODENUM` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '代码',
  1470. `CODENAME` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '代码名称',
  1471. `DESCRIPTION` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '描述',
  1472. `CODE_INDEX` decimal(65,0) DEFAULT NULL COMMENT '排序',
  1473. PRIMARY KEY (`ID`) USING BTREE,
  1474. KEY `FID` (`FID`) USING BTREE,
  1475. CONSTRAINT `t_codeset_detail_ibfk_1` FOREIGN KEY (`FID`) REFERENCES `t_codeset` (`ID`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1476. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='代码集详细信息表';
  1477. -- ----------------------------
  1478. -- Table structure for t_common_aduitrecord
  1479. -- ----------------------------
  1480. DROP TABLE IF EXISTS `t_common_aduitrecord`;
  1481. CREATE TABLE `t_common_aduitrecord` (
  1482. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1483. `busid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务id',
  1484. `bustable` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '对应业务表',
  1485. `aduitresult` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核结果',
  1486. `aduitopinion` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核意见',
  1487. `aduitman` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人',
  1488. `aduitid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人id',
  1489. `aduitdeptname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人部门名称',
  1490. `aduitdeptid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人部门id',
  1491. `aduitdate` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核时间',
  1492. `taskname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '环节名称',
  1493. `aduitrole` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '经办角色',
  1494. PRIMARY KEY (`id`) USING BTREE
  1495. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='通用审核记录表';
  1496. -- ----------------------------
  1497. -- Table structure for t_data_preparation
  1498. -- ----------------------------
  1499. DROP TABLE IF EXISTS `t_data_preparation`;
  1500. CREATE TABLE `t_data_preparation` (
  1501. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1502. `ATTANAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1503. `ATTAURL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1504. `CREATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1505. `CREATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1506. `CREATORNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1507. `DATADESC` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1508. `PROCESSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1509. `REQUIREID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1510. `STATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1511. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1512. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1513. `UPDATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1514. `UPDATORNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1515. `CLASSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1516. `DATAITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1517. PRIMARY KEY (`ID`) USING BTREE
  1518. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1519. -- ----------------------------
  1520. -- Table structure for t_datameta
  1521. -- ----------------------------
  1522. DROP TABLE IF EXISTS `t_datameta`;
  1523. CREATE TABLE `t_datameta` (
  1524. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1525. `CHECKDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1526. `CHECKER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1527. `CHECKER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1528. `CHECKER_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1529. `CHECKER_ORG_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1530. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1531. `CREATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1532. `CREATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1533. `CREATOR_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1534. `CREATOR_ORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1535. `DATASIZE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1536. `DATATYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1537. `DATATYPE_DIS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1538. `DATATYPEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1539. `DESCRIPTION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1540. `METACODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1541. `METACODE_DIS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1542. `METACODEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1543. `METANAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1544. `RANGES` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1545. `STATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1546. `UPDATOR_ORG_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1547. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1548. `UPDATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1549. `UPDATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1550. `UPDATOR_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1551. `CODESETID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1552. `AUDITDESCRIPT` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1553. `DATACODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1554. `XZQHCODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1555. PRIMARY KEY (`ID`) USING BTREE,
  1556. KEY `CODESETID` (`CODESETID`) USING BTREE,
  1557. CONSTRAINT `t_datameta_ibfk_1` FOREIGN KEY (`CODESETID`) REFERENCES `t_codeset` (`ID`) ON DELETE RESTRICT ON UPDATE RESTRICT
  1558. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='数据元信息表';
  1559. -- ----------------------------
  1560. -- Table structure for t_datameta_opinion
  1561. -- ----------------------------
  1562. DROP TABLE IF EXISTS `t_datameta_opinion`;
  1563. CREATE TABLE `t_datameta_opinion` (
  1564. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1565. `CHECKDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1566. `CHECKER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1567. `CHECKER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1568. `CHECKER_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1569. `CHECKER_ORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1570. `AUDITDESCRIPT` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1571. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1572. `DATAMETAID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1573. `TASKRESULT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1574. PRIMARY KEY (`ID`) USING BTREE
  1575. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=COMPACT;
  1576. -- ----------------------------
  1577. -- Table structure for t_dbinfo
  1578. -- ----------------------------
  1579. DROP TABLE IF EXISTS `t_dbinfo`;
  1580. CREATE TABLE `t_dbinfo` (
  1581. `db_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  1582. `db_deptid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '部门id',
  1583. `db_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据库名称',
  1584. `db_connectname` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '连接名称',
  1585. `db_type` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '类型',
  1586. `db_port` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '端口',
  1587. `db_ip` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据库地址',
  1588. `db_username` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '用户名',
  1589. `db_pwd` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据库密码',
  1590. `db_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1591. `jdbcurl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'jdbcurl',
  1592. `db_contactname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系人名称',
  1593. `db_contactphone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系人电话',
  1594. PRIMARY KEY (`db_id`) USING BTREE
  1595. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1596. -- ----------------------------
  1597. -- Table structure for t_gjpt_servicefiles
  1598. -- ----------------------------
  1599. DROP TABLE IF EXISTS `t_gjpt_servicefiles`;
  1600. CREATE TABLE `t_gjpt_servicefiles` (
  1601. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1602. `SERVICE_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1603. `LINK_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1604. `FILE_NAME` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1605. `FILE_PATH` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  1606. PRIMARY KEY (`ID`) USING BTREE
  1607. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='接口服务附件表';
  1608. -- ----------------------------
  1609. -- Table structure for t_gjpt_serviceinfo
  1610. -- ----------------------------
  1611. DROP TABLE IF EXISTS `t_gjpt_serviceinfo`;
  1612. CREATE TABLE `t_gjpt_serviceinfo` (
  1613. `SERVICE_CODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '服务代码',
  1614. `OPEN_SERVICE_NAME` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '接口中文名称',
  1615. `CATA_TITLE` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '所属目录',
  1616. `DEPT` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '接口提供方',
  1617. `VERSION` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '接口版本',
  1618. `PUBLISH_DATE` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '注册时间',
  1619. `SERVICE_DES` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '接口描述',
  1620. `REGISTER` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '接口注册者姓名',
  1621. `VALIDITY_DATE` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '有效期',
  1622. `LINK_ID` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '连接标识',
  1623. PRIMARY KEY (`SERVICE_CODE`) USING BTREE
  1624. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='国家平台接口信息表';
  1625. -- ----------------------------
  1626. -- Table structure for t_guajieopinion_list
  1627. -- ----------------------------
  1628. DROP TABLE IF EXISTS `t_guajieopinion_list`;
  1629. CREATE TABLE `t_guajieopinion_list` (
  1630. `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1631. `dataid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据id',
  1632. `datatype` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类或者服务',
  1633. `opinion` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '审核意见',
  1634. `checkuser` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人',
  1635. `checkdate` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核时间',
  1636. `result` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核结果',
  1637. `checkusername` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1638. PRIMARY KEY (`id`) USING BTREE,
  1639. KEY `idxdatatype` (`datatype`) USING BTREE,
  1640. KEY `idx_dataid` (`dataid`) USING BTREE
  1641. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='挂接审核意见表';
  1642. -- ----------------------------
  1643. -- Table structure for t_indicators
  1644. -- ----------------------------
  1645. DROP TABLE IF EXISTS `t_indicators`;
  1646. CREATE TABLE `t_indicators` (
  1647. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1648. `insertdate` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1649. `state` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1650. `deptid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1651. `ywfgl_c` double DEFAULT NULL,
  1652. `ywfgl_f` double DEFAULT NULL,
  1653. `ywfgl_value` double DEFAULT NULL,
  1654. `ywfgl_score` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1655. `ywfgl_per` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1656. `yyfgl_c` double DEFAULT NULL,
  1657. `yyfgl_f` double DEFAULT NULL,
  1658. `yyfgl_value` double DEFAULT NULL,
  1659. `yyfgl_score` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1660. `yyfgl_per` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1661. `qzgll_c` double DEFAULT NULL,
  1662. `qzgll_f` double DEFAULT NULL,
  1663. `qzgll_value` double DEFAULT NULL,
  1664. `qzgll_score` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1665. `qzgll_per` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1666. `xtgll_c` double DEFAULT NULL,
  1667. `xtgll_f` double DEFAULT NULL,
  1668. `xtgll_value` double DEFAULT NULL,
  1669. `xtgll_score` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1670. `xtgll_per` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1671. `gjl_c` double DEFAULT NULL,
  1672. `gjl_f` double DEFAULT NULL,
  1673. `gjl_value` double DEFAULT NULL,
  1674. `gjl_score` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1675. `gjl_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1676. `kbl_c` double DEFAULT NULL,
  1677. `kbl_f` double DEFAULT NULL,
  1678. `kbl_value` double DEFAULT NULL,
  1679. `kbl_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1680. `kbl_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1681. `sjgx_c` double DEFAULT NULL,
  1682. `sjgx_f` double DEFAULT NULL,
  1683. `sjgx_value` double DEFAULT NULL,
  1684. `sjgx_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1685. `sjgx_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1686. `kzl_c` double DEFAULT NULL,
  1687. `kzl_f` double DEFAULT NULL,
  1688. `kzl_value` double DEFAULT NULL,
  1689. `kzl_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1690. `kzl_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1691. `mlsh_c` double DEFAULT NULL,
  1692. `mlsh_f` double DEFAULT NULL,
  1693. `mlsh_value` double DEFAULT NULL,
  1694. `mlsh_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1695. `mlsh_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1696. `gjsh_c` double DEFAULT NULL,
  1697. `gjsh_f` double DEFAULT NULL,
  1698. `gjsh_value` double DEFAULT NULL,
  1699. `gjsh_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1700. `gjsh_per` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1701. `total_score` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1702. PRIMARY KEY (`id`) USING BTREE,
  1703. KEY `idx_deptid` (`deptid`) USING BTREE,
  1704. KEY `idx_state` (`state`) USING BTREE
  1705. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='指标项';
  1706. -- ----------------------------
  1707. -- Table structure for t_infoclass
  1708. -- ----------------------------
  1709. DROP TABLE IF EXISTS `t_infoclass`;
  1710. CREATE TABLE `t_infoclass` (
  1711. `ID` varchar(255) NOT NULL COMMENT '主键',
  1712. `CREATEDATE` varchar(255) DEFAULT NULL COMMENT '创建时间',
  1713. `CREATOR` varchar(255) DEFAULT NULL COMMENT '创建者id',
  1714. `CREATOR_NAME` varchar(255) DEFAULT NULL COMMENT '创建者姓名',
  1715. `CREATOR_ORG` varchar(255) DEFAULT NULL COMMENT '创建者机构id',
  1716. `CREATOR_ORGNAME` varchar(255) DEFAULT NULL COMMENT '创建者机构名称',
  1717. `DATARANGE` varchar(255) DEFAULT NULL COMMENT '数据范围',
  1718. `FORMATTYPE` varchar(255) DEFAULT NULL COMMENT '信息资源格式',
  1719. `FORMATTYPEID` varchar(255) DEFAULT NULL COMMENT '信息资源格式id',
  1720. `FORMATTYPENAME` varchar(255) DEFAULT NULL COMMENT '信息资源格式中文',
  1721. `INFOABSTRACTS` text COMMENT '信息类摘要',
  1722. `INFOCODE` varchar(255) DEFAULT NULL COMMENT '信息类编码',
  1723. `INFONAME` varchar(255) DEFAULT NULL COMMENT '信息类名称',
  1724. `INFOTYPE` varchar(255) DEFAULT NULL COMMENT '资源分类',
  1725. `INFOTYPEID` varchar(255) DEFAULT NULL COMMENT '资源分类id',
  1726. `INPROCESS` varchar(255) DEFAULT NULL COMMENT '是否启动流程0 未启动 1启动流转中,2流程结束(通过) 3 流程结束(不通过)4.删除 5停用',
  1727. `ISOPENSOCIAL` varchar(255) DEFAULT NULL COMMENT '是否对社会开放',
  1728. `ISSECRET` varchar(255) DEFAULT NULL COMMENT '是否涉密',
  1729. `OPENCONDITION` varchar(255) DEFAULT NULL COMMENT '开放条件',
  1730. `PARENTID` varchar(255) DEFAULT NULL COMMENT '父版本id',
  1731. `PROCESSID` varchar(255) DEFAULT NULL COMMENT '对应流程实例id',
  1732. `PROVIDECODE` varchar(255) DEFAULT NULL COMMENT '提供机构编码',
  1733. `PROVIDENAME` varchar(255) DEFAULT NULL COMMENT '提供机构名称',
  1734. `SHARECONDITIONS` varchar(255) DEFAULT NULL COMMENT '共享条件',
  1735. `SHAREMODE` varchar(255) DEFAULT NULL COMMENT '共享方式分类 取数据字典',
  1736. `SHAREMODETYPE` varchar(255) DEFAULT NULL COMMENT '共享方式类型 取数据字典',
  1737. `SHARETYPE` varchar(255) DEFAULT NULL COMMENT '共享类型:1 有条件共享2无条件共享3不予共享',
  1738. `SOURCEID` varchar(255) DEFAULT NULL COMMENT '源版本id',
  1739. `SYSTEMINFO` varchar(255) DEFAULT NULL COMMENT '关联系统名称',
  1740. `UPDATOR_ORG_NAME` varchar(255) DEFAULT NULL COMMENT '修改者机构名称',
  1741. `UPDATECYCLE` varchar(255) DEFAULT NULL COMMENT '选择项:实时、每日、每周、每月、每季度、每半年、每年、其他',
  1742. `UPDATETIME` varchar(255) DEFAULT NULL COMMENT '修改时间',
  1743. `UPDATOR` varchar(255) DEFAULT NULL COMMENT '修改人',
  1744. `UPDATOR_NAME` varchar(255) DEFAULT NULL COMMENT '修改人姓名',
  1745. `UPDATOR_ORG` varchar(255) DEFAULT NULL COMMENT '修改人机构',
  1746. `SUBVERSIONID` decimal(10,0) DEFAULT NULL,
  1747. `VERSIONID` decimal(10,0) DEFAULT NULL COMMENT '版本号',
  1748. `LATESTVERSION` varchar(10) DEFAULT NULL COMMENT '1表示最新版本,0表示历史版本',
  1749. `INFOTYPENAME` varchar(200) DEFAULT NULL COMMENT '信息类分类名称',
  1750. `SUBFORMATTYPE` varchar(200) DEFAULT NULL COMMENT '二级信息资源格式',
  1751. `SUBFORMATTYPENAME` varchar(200) DEFAULT NULL COMMENT '二级信息资源格式名称',
  1752. `SUBFORMATTYPEID` varchar(200) DEFAULT NULL COMMENT '二级信息资源格式id',
  1753. `SHAREMODEID` varchar(200) DEFAULT NULL COMMENT '共享方式分类id',
  1754. `SHAREMODENAME` varchar(200) DEFAULT NULL COMMENT '共享方式分类名称',
  1755. `SHAREMODETYPEID` varchar(200) DEFAULT NULL COMMENT '共享方式类型id',
  1756. `SHAREMODETYPENAME` varchar(200) DEFAULT NULL COMMENT '共享方式类型名称',
  1757. `BGSTATUS` varchar(10) DEFAULT NULL COMMENT '1未变更,2变更中',
  1758. `ISBG` varchar(10) DEFAULT NULL COMMENT '是否属于变更申请数据',
  1759. `BGID` varchar(100) DEFAULT NULL COMMENT '需求方变更申请id',
  1760. `PROVIDEBMCODE` varchar(200) DEFAULT NULL COMMENT '提供方部门编码',
  1761. `PROVIDEBMNAME` varchar(200) DEFAULT NULL COMMENT '提供方部门名称',
  1762. `PROVIDEZGCODE` varchar(200) DEFAULT NULL COMMENT '提供方主管部门编码',
  1763. `PROVIDEZGNAME` varchar(200) DEFAULT NULL COMMENT '提供方主管部门名称',
  1764. `TASKNAME` varchar(200) DEFAULT NULL COMMENT '当前环节名称',
  1765. `YWBMNAME` varchar(200) DEFAULT NULL COMMENT '所属业务部门',
  1766. `YWBMID` varchar(200) DEFAULT NULL COMMENT '所属业务部门id(数据字典)',
  1767. `YWBMCODE` varchar(200) DEFAULT NULL COMMENT '所属业务部门编码',
  1768. `XZQHNAME` varchar(200) DEFAULT NULL COMMENT '属地名称',
  1769. `XZQHID` varchar(200) DEFAULT NULL COMMENT '属地id(数据字典)',
  1770. `XZQHCODE` varchar(200) DEFAULT NULL COMMENT '属地编码',
  1771. `CREDITNO` varchar(200) DEFAULT NULL COMMENT '统一社会信用代码',
  1772. `MANAGETYPE` varchar(200) DEFAULT NULL,
  1773. `BMID` varchar(200) DEFAULT NULL,
  1774. `INFOCATALOGCODE` varchar(200) DEFAULT NULL COMMENT '资源分类编码',
  1775. `ISDELETE` varchar(10) DEFAULT 'N',
  1776. `HITCH` varchar(2000) DEFAULT NULL,
  1777. `HITCH_UP_ADRESS` varchar(400) DEFAULT NULL,
  1778. `HITCH_UP_NAME` varchar(400) DEFAULT NULL,
  1779. `HITCH_SIZE` decimal(10,0) DEFAULT NULL,
  1780. `HITCHDATE` varchar(200) DEFAULT NULL,
  1781. `HITCHUSER` varchar(200) DEFAULT NULL,
  1782. `ISZGBMBZ` varchar(200) DEFAULT '0',
  1783. `HITCH_STATUS` int DEFAULT '0' COMMENT '挂接状态 未挂接0,已挂接1',
  1784. `GLINFOTYPENAME` text,
  1785. `DBID` varchar(255) DEFAULT NULL,
  1786. `GJCHECKSTATE` varchar(200) DEFAULT NULL COMMENT '挂接审核情况 1 待审核 2审核通过 3 退回修改',
  1787. `ISZC` varchar(200) DEFAULT NULL,
  1788. `ISGLQZ` varchar(100) DEFAULT NULL COMMENT '是否关联权责清单',
  1789. `QZQD_DES` varchar(400) DEFAULT NULL,
  1790. `CHANGEINSTRUCTIONS` text COMMENT '变更说明',
  1791. `PARALLELTIME` varchar(200) DEFAULT NULL COMMENT '数据并行时间',
  1792. `SWITCHINGTIME` varchar(200) DEFAULT NULL COMMENT '数据切换时间',
  1793. `DISABLESTATE` varchar(100) DEFAULT NULL COMMENT '停用状态 1 停用中 2已停用 3退回',
  1794. `DISABLEDESC` varchar(400) DEFAULT NULL COMMENT '停用说明',
  1795. `DISABLETIME` varchar(100) DEFAULT NULL COMMENT '停用提出时间',
  1796. `ISREMOVEDATA` varchar(100) DEFAULT NULL COMMENT '是否删除数据',
  1797. `FLTAG` varchar(200) DEFAULT NULL COMMENT '资源分类标签',
  1798. `implementation_data` varchar(20) DEFAULT NULL COMMENT '实施日期',
  1799. `implementation_userid` varchar(100) DEFAULT NULL COMMENT '实施用户id',
  1800. `implementation_state` varchar(20) DEFAULT NULL COMMENT '实施状态:0-未实施 1-已实施',
  1801. `tytype` varchar(255) DEFAULT NULL,
  1802. `sharerange` varchar(255) DEFAULT NULL,
  1803. PRIMARY KEY (`ID`),
  1804. KEY `index_infoclass_processid` (`PROCESSID`) USING BTREE,
  1805. KEY `index_infoclass_inprocess` (`INPROCESS`) USING BTREE,
  1806. KEY `index_infoclass_latestversion` (`LATESTVERSION`),
  1807. KEY `index_parent_id` (`PARENTID`) USING BTREE,
  1808. KEY `index_infocode` (`INFOCODE`) USING BTREE
  1809. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='信息类表';
  1810. -- ----------------------------
  1811. -- Table structure for t_infoclass_datacount
  1812. -- ----------------------------
  1813. DROP TABLE IF EXISTS `t_infoclass_datacount`;
  1814. CREATE TABLE `t_infoclass_datacount` (
  1815. `class_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类名称',
  1816. `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id主键',
  1817. `class_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '关联的信息类id',
  1818. `class_infocode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类编码',
  1819. `class_data_count` bigint DEFAULT NULL COMMENT '数据条数(中心库中对应信息类表内数据量(条数))',
  1820. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  1821. PRIMARY KEY (`id`) USING BTREE
  1822. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1823. -- ----------------------------
  1824. -- Table structure for t_infoclass_datameta
  1825. -- ----------------------------
  1826. DROP TABLE IF EXISTS `t_infoclass_datameta`;
  1827. CREATE TABLE `t_infoclass_datameta` (
  1828. `ID` varchar(255) NOT NULL,
  1829. `DATAMETAID` varchar(255) DEFAULT NULL,
  1830. `DATASIZE` varchar(255) DEFAULT NULL,
  1831. `DATATYPE` varchar(255) DEFAULT NULL,
  1832. `DATATYPE_DIS` varchar(255) DEFAULT NULL,
  1833. `DATATYPEID` varchar(255) DEFAULT NULL,
  1834. `DESCRIPTION` varchar(255) DEFAULT NULL,
  1835. `ISPRIMARY` varchar(255) DEFAULT NULL,
  1836. `METACODE` varchar(255) DEFAULT NULL,
  1837. `METACODE_DIS` varchar(255) DEFAULT NULL,
  1838. `METACODEID` varchar(255) DEFAULT NULL,
  1839. `METANAME` varchar(255) DEFAULT NULL,
  1840. `RANGES` varchar(255) DEFAULT NULL,
  1841. `CODESETID` varchar(255) DEFAULT NULL,
  1842. `TINFOCLASSID` varchar(255) DEFAULT NULL,
  1843. `INDEXNUM` decimal(10,0) DEFAULT NULL,
  1844. `XXXMC` varchar(255) DEFAULT NULL,
  1845. `GLSJY` varchar(255) DEFAULT NULL,
  1846. `SHARETYPE` varchar(255) DEFAULT NULL,
  1847. `SHARECONDITIONS` varchar(255) DEFAULT NULL,
  1848. `SHAREMODENAME` varchar(255) DEFAULT NULL,
  1849. `SHAREMODE` varchar(255) DEFAULT NULL,
  1850. `SHAREMODEID` varchar(255) DEFAULT NULL,
  1851. `SHAREMODETYPENAME` varchar(255) DEFAULT NULL,
  1852. `SHAREMODETYPE` varchar(255) DEFAULT NULL,
  1853. `SHAREMODETYPEID` varchar(255) DEFAULT NULL,
  1854. `ISOPENSOCIAL` varchar(255) DEFAULT NULL,
  1855. `OPENCONDITION` varchar(255) DEFAULT NULL,
  1856. `XXXBM` varchar(255) DEFAULT NULL,
  1857. `GLXXXID` varchar(200) DEFAULT NULL,
  1858. `UPDATE_TIME` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  1859. PRIMARY KEY (`ID`),
  1860. KEY `TINFOCLASSID` (`TINFOCLASSID`),
  1861. KEY `CODESETID` (`CODESETID`),
  1862. CONSTRAINT `t_infoclass_datameta_ibfk_1` FOREIGN KEY (`TINFOCLASSID`) REFERENCES `t_infoclass` (`ID`),
  1863. CONSTRAINT `t_infoclass_datameta_ibfk_2` FOREIGN KEY (`CODESETID`) REFERENCES `t_codeset` (`ID`)
  1864. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='信息项表';
  1865. -- ----------------------------
  1866. -- Table structure for t_infoclass_res
  1867. -- ----------------------------
  1868. DROP TABLE IF EXISTS `t_infoclass_res`;
  1869. CREATE TABLE `t_infoclass_res` (
  1870. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1871. `RESID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1872. `TINFOCLASSID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1873. PRIMARY KEY (`ID`) USING BTREE
  1874. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类与资源关联表';
  1875. -- ----------------------------
  1876. -- Table structure for t_infoclass_res_detail
  1877. -- ----------------------------
  1878. DROP TABLE IF EXISTS `t_infoclass_res_detail`;
  1879. CREATE TABLE `t_infoclass_res_detail` (
  1880. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1881. `RESID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1882. `TINFOCLASSID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1883. PRIMARY KEY (`ID`) USING BTREE
  1884. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类与资源关联表';
  1885. -- ----------------------------
  1886. -- Table structure for t_infocode
  1887. -- ----------------------------
  1888. DROP TABLE IF EXISTS `t_infocode`;
  1889. CREATE TABLE `t_infocode` (
  1890. `ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1891. `PRE_CODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '前缀码',
  1892. `SEQ_CODE` decimal(65,0) DEFAULT NULL COMMENT '序列码',
  1893. PRIMARY KEY (`ID`) USING BTREE
  1894. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='信息类编码顺序表';
  1895. -- ----------------------------
  1896. -- Table structure for t_itemdetail_infoclass
  1897. -- ----------------------------
  1898. DROP TABLE IF EXISTS `t_itemdetail_infoclass`;
  1899. CREATE TABLE `t_itemdetail_infoclass` (
  1900. `DATAID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1901. `DETAILID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '细项id',
  1902. `INFOCLASSID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类id',
  1903. `INFOCLASSNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类名称',
  1904. PRIMARY KEY (`DATAID`) USING BTREE
  1905. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='业务细项与信息类匹配关系表';
  1906. -- ----------------------------
  1907. -- Table structure for t_login_user
  1908. -- ----------------------------
  1909. DROP TABLE IF EXISTS `t_login_user`;
  1910. CREATE TABLE `t_login_user` (
  1911. `SESSIONID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1912. `IP_ADDR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1913. `CREATION_TIME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1914. `MAX_INACTIVEINTERVAL` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1915. PRIMARY KEY (`SESSIONID`) USING BTREE
  1916. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1917. -- ----------------------------
  1918. -- Table structure for t_messageinfo
  1919. -- ----------------------------
  1920. DROP TABLE IF EXISTS `t_messageinfo`;
  1921. CREATE TABLE `t_messageinfo` (
  1922. `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1923. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1924. `content` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1925. `sendtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1926. `dealtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1927. `state` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1928. `receiver` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1929. `receivername` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1930. `serialno` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1931. `senduser` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1932. `providebmcode` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1933. PRIMARY KEY (`id`) USING BTREE,
  1934. KEY `index_message_state` (`state`) USING BTREE
  1935. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1936. -- ----------------------------
  1937. -- Table structure for t_noticeinfo
  1938. -- ----------------------------
  1939. DROP TABLE IF EXISTS `t_noticeinfo`;
  1940. CREATE TABLE `t_noticeinfo` (
  1941. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1942. `ATTACHMENTFILE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1943. `CONTENTS` longtext CHARACTER SET utf8 COLLATE utf8_general_ci,
  1944. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1945. `CREATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1946. `CREATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1947. `ISRELEASE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1948. `RELEASETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1949. `TITLE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1950. `UPDATOR_ORG_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1951. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1952. `UPDATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1953. `UPDATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1954. `UPDATOR_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1955. `STATE` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1956. `DELETEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1957. `INDEXS` decimal(11,0) DEFAULT NULL,
  1958. `INFOTYPE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1959. PRIMARY KEY (`ID`) USING BTREE
  1960. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1961. -- ----------------------------
  1962. -- Table structure for t_online_user
  1963. -- ----------------------------
  1964. DROP TABLE IF EXISTS `t_online_user`;
  1965. CREATE TABLE `t_online_user` (
  1966. `SESSIONID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1967. `LOGIN_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1968. `LAST_REQUEST` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1969. PRIMARY KEY (`SESSIONID`) USING BTREE
  1970. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1971. -- ----------------------------
  1972. -- Table structure for t_power_responsibility
  1973. -- ----------------------------
  1974. DROP TABLE IF EXISTS `t_power_responsibility`;
  1975. CREATE TABLE `t_power_responsibility` (
  1976. `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  1977. `enforcementbody` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1978. `enforcementbody_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1979. `dutyinfo` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '职责',
  1980. `dutyname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1981. `dutytype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1982. `creator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1983. `updator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1984. `createtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1985. `updatetime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1986. `state` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1987. PRIMARY KEY (`id`) USING BTREE
  1988. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  1989. -- ----------------------------
  1990. -- Table structure for t_reginfo_file
  1991. -- ----------------------------
  1992. DROP TABLE IF EXISTS `t_reginfo_file`;
  1993. CREATE TABLE `t_reginfo_file` (
  1994. `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件id',
  1995. `fileid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  1996. `regid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务注册信息表',
  1997. `filetype` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务说明和服务使用说明附件',
  1998. PRIMARY KEY (`id`) USING BTREE
  1999. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2000. -- ----------------------------
  2001. -- Table structure for t_req_info
  2002. -- ----------------------------
  2003. DROP TABLE IF EXISTS `t_req_info`;
  2004. CREATE TABLE `t_req_info` (
  2005. `TCHANGE_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'T_CHANGEAPPLY 表id',
  2006. `TREQDATA_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'T_REQUIREDATAITEM表id',
  2007. `TREQCONF_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'T_REQUIRECONFIRM 表Id',
  2008. `ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2009. PRIMARY KEY (`ID`) USING BTREE
  2010. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2011. -- ----------------------------
  2012. -- Table structure for t_reqdataitem_xxx
  2013. -- ----------------------------
  2014. DROP TABLE IF EXISTS `t_reqdataitem_xxx`;
  2015. CREATE TABLE `t_reqdataitem_xxx` (
  2016. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2017. `DATAITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2018. `SHARETYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2019. `XXXBM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2020. `XXXMC` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2021. PRIMARY KEY (`ID`) USING BTREE
  2022. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2023. -- ----------------------------
  2024. -- Table structure for t_reqparameters_info
  2025. -- ----------------------------
  2026. DROP TABLE IF EXISTS `t_reqparameters_info`;
  2027. CREATE TABLE `t_reqparameters_info` (
  2028. `parameterid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '参数id',
  2029. `paraname` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数名',
  2030. `paratype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数类型',
  2031. `isneed` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否必需',
  2032. `defaultvalue` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '默认值',
  2033. `example` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '示例',
  2034. `des` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '描述',
  2035. `regid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务注册id',
  2036. PRIMARY KEY (`parameterid`) USING BTREE
  2037. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2038. -- ----------------------------
  2039. -- Table structure for t_require_apply
  2040. -- ----------------------------
  2041. DROP TABLE IF EXISTS `t_require_apply`;
  2042. CREATE TABLE `t_require_apply` (
  2043. `ID` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2044. `REQUIRE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '需求id',
  2045. `APPLY_USERNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人姓名',
  2046. `APPLY_DEPTNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请部门',
  2047. `APPLY_REASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '申请原因',
  2048. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建时间',
  2049. `UPDATE_USERNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人姓名',
  2050. `UPDATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更改时间',
  2051. `UPLOAD_ID` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '附件id',
  2052. `APPLY_STATE` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请状态 0:不通过 ;1:通过',
  2053. `APPLY_USERID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人id',
  2054. `AUDITOR_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人姓名',
  2055. `AUDITOR_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核人id',
  2056. `AUDITOR_DATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审核时间',
  2057. `AUDITOR_OPINION` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '审核意见',
  2058. `DATAITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2059. PRIMARY KEY (`ID`) USING BTREE
  2060. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='需求申请单';
  2061. -- ----------------------------
  2062. -- Table structure for t_require_bm_task
  2063. -- ----------------------------
  2064. DROP TABLE IF EXISTS `t_require_bm_task`;
  2065. CREATE TABLE `t_require_bm_task` (
  2066. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2067. `APPLYREASON` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2068. `BMNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2069. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2070. `PROVIDEBMCODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2071. `REQUIRECONFIRMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2072. `CREATEUSERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2073. `JINDU` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2074. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2075. `XXLID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2076. `PROVIDEBMNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2077. `REQUIRECODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2078. `REQUIRENAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2079. `APPLYMAN` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2080. `APPLYTEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2081. `FILEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2082. `FILENAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2083. `INPROCESS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2084. PRIMARY KEY (`ID`) USING BTREE
  2085. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2086. -- ----------------------------
  2087. -- Table structure for t_require_bm_task_data_item
  2088. -- ----------------------------
  2089. DROP TABLE IF EXISTS `t_require_bm_task_data_item`;
  2090. CREATE TABLE `t_require_bm_task_data_item` (
  2091. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2092. `BMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2093. `DATAITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2094. PRIMARY KEY (`ID`) USING BTREE
  2095. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2096. -- ----------------------------
  2097. -- Table structure for t_require_checkuser
  2098. -- ----------------------------
  2099. DROP TABLE IF EXISTS `t_require_checkuser`;
  2100. CREATE TABLE `t_require_checkuser` (
  2101. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2102. `DEPTID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2103. `ROLEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2104. `TASKID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2105. `USERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2106. PRIMARY KEY (`ID`) USING BTREE
  2107. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2108. -- ----------------------------
  2109. -- Table structure for t_require_zbinfo
  2110. -- ----------------------------
  2111. DROP TABLE IF EXISTS `t_require_zbinfo`;
  2112. CREATE TABLE `t_require_zbinfo` (
  2113. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2114. `REUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2115. `REUSERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2116. `TASKID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2117. `ZBDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2118. `ZBOPINION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2119. `ZBUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2120. `ZBUSERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2121. PRIMARY KEY (`ID`) USING BTREE
  2122. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2123. -- ----------------------------
  2124. -- Table structure for t_requireconfirm
  2125. -- ----------------------------
  2126. DROP TABLE IF EXISTS `t_requireconfirm`;
  2127. CREATE TABLE `t_requireconfirm` (
  2128. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2129. `BUSINESS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2130. `CONTACT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2131. `CONTACTTEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2132. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2133. `CREATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2134. `CREATORNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2135. `CREATORORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2136. `CREATORORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2137. `REMARKS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2138. `REQUIREORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2139. `REQUIREORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2140. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2141. `TASKSTATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2142. `DATAITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2143. `EDITDATAITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2144. `ISEXISTITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2145. `ISPARTIALPRIVODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2146. `NEWDATAITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2147. `NOPROVIDEDATAITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2148. `PLATFORMPRIVODELATESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2149. `PRIVODEDATAITEMCOUNT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2150. `REQUIRESUBMITDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2151. `PROCESSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2152. `BGNO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2153. `BMNO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2154. `ISKCJ` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2155. `SJBM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2156. `SJBMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2157. `BMBGDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2158. `DATASYN` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2159. `GJDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2160. `ISSXCL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2161. `PGWCS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2162. `PZDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2163. PRIMARY KEY (`ID`) USING BTREE
  2164. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2165. -- ----------------------------
  2166. -- Table structure for t_requireconfirm_task
  2167. -- ----------------------------
  2168. DROP TABLE IF EXISTS `t_requireconfirm_task`;
  2169. CREATE TABLE `t_requireconfirm_task` (
  2170. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2171. `REQUIREID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2172. `TASKCANDIDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2173. `TASKEND` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2174. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2175. `TASKOPINION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2176. `TASKPAGE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2177. `TASKRESULT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2178. `TASKSTART` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2179. `TASKUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2180. `TASKZBDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2181. `TASKZBOPINION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2182. `TASKZBUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2183. `CLAIMDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2184. PRIMARY KEY (`ID`) USING BTREE
  2185. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2186. -- ----------------------------
  2187. -- Table structure for t_requiredataitem
  2188. -- ----------------------------
  2189. DROP TABLE IF EXISTS `t_requiredataitem`;
  2190. CREATE TABLE `t_requiredataitem` (
  2191. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2192. `BUSINESS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2193. `CATALOGCODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2194. `CATALOGITEMCODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2195. `CATALOGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2196. `CATALOGSHAREDTYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2197. `CATALOGTYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2198. `COORDINATIONLATESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2199. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2200. `CURRENTUPDATEFREQUENCY` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2201. `DATAEARLIESTTIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2202. `DATAITEMNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2203. `DATALATESTTIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2204. `DATARANGE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2205. `EXCHANGELATESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2206. `EXISTPROBLEM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2207. `EXPECTEARLIESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2208. `EXPECTPROVIDEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2209. `EXPECTUPATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2210. `EXPECTUPDATEFREQUENCY` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2211. `ISARTICULATEDDATA` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2212. `ISCONDITIONS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2213. `ISNEEDCATALOG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2214. `ISSECONDARYPACKAGING` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2215. `ISSENDLETTER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2216. `ITEMCODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2217. `ITEMNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2218. `ITEMREMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2219. `MODIFIER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2220. `MODIFYDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2221. `OPINION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2222. `PROVIDEWAY` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2223. `REMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2224. `REQUIRECONFIRMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2225. `RISKLEVEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2226. `SOLUTION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2227. `SOURCEISPROVIDED` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2228. `SOURCEORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2229. `SOURCEORGNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2230. `SOURCEPROVIDEWAY` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2231. `SYSTEMTYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2232. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2233. `CATALOGITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2234. `CATALOGITEMNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2235. `ISCHANG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2236. `REQUIRETYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2237. `IS_CHANGE_STATUE` decimal(65,30) DEFAULT NULL,
  2238. `DATARANGEQT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2239. `GJDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2240. `PZDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2241. `BMBGDETAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2242. `CATALOGCODEID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2243. `JKRULE` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2244. `RCRULE` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2245. `SCRULE` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2246. `PROVIDEWAYQT` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2247. `ISDEAL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2248. `YJWCXYSJ` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '预计完成需要时间',
  2249. `GJJKFWDM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2250. `GJJKMC` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2251. `GJJKTGF` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2252. `GJSSML` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2253. `PZDETAILDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2254. `PZDETAILUSER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2255. `TASKID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2256. `XQSHTG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2257. PRIMARY KEY (`ID`) USING BTREE
  2258. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2259. -- ----------------------------
  2260. -- Table structure for t_requirejd
  2261. -- ----------------------------
  2262. DROP TABLE IF EXISTS `t_requirejd`;
  2263. CREATE TABLE `t_requirejd` (
  2264. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2265. `FXTS` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2266. `GXSJ` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2267. `JZQK` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2268. `REQUIREBM` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2269. `REQUIREDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2270. `SJXQ` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2271. `YYCJ` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2272. `YYJZ` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2273. PRIMARY KEY (`ID`) USING BTREE
  2274. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2275. -- ----------------------------
  2276. -- Table structure for t_requireprogress
  2277. -- ----------------------------
  2278. DROP TABLE IF EXISTS `t_requireprogress`;
  2279. CREATE TABLE `t_requireprogress` (
  2280. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2281. `COORDINATIONLATESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2282. `CREATEDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2283. `EXCHANGELATESTDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2284. `EXISTPROBLEM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2285. `MODIFIER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2286. `MODIFYDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2287. `REQUIRECONFIRMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2288. `REQUIREDATAITEMID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2289. `RISKLEVEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2290. `SOLUTION` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2291. `TASKNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2292. `TASKID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2293. PRIMARY KEY (`ID`) USING BTREE
  2294. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2295. -- ----------------------------
  2296. -- Table structure for t_requireyzc
  2297. -- ----------------------------
  2298. DROP TABLE IF EXISTS `t_requireyzc`;
  2299. CREATE TABLE `t_requireyzc` (
  2300. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2301. `DYCS` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2302. `DYDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2303. `GXSJ` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2304. `YYCJ` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2305. `YYXT` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2306. PRIMARY KEY (`ID`) USING BTREE
  2307. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2308. -- ----------------------------
  2309. -- Table structure for t_res_classify
  2310. -- ----------------------------
  2311. DROP TABLE IF EXISTS `t_res_classify`;
  2312. CREATE TABLE `t_res_classify` (
  2313. `RESID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键id',
  2314. `PRESID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父id',
  2315. `RESCODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '代码',
  2316. `RESNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '名称',
  2317. `RESDES` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '说明',
  2318. `STATE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态0启用,1停用,2删除',
  2319. `CREATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2320. `CREATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2321. `UPDATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2322. `UPDATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2323. `INDEXNUM` decimal(65,0) DEFAULT NULL COMMENT '排序',
  2324. `INFOCLASSNUM` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2325. `DEPTID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2326. `DEPTNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2327. `CATEGORY` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '标明基础 主题 还是部门分类',
  2328. PRIMARY KEY (`RESID`) USING BTREE
  2329. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='资源分类信息表';
  2330. -- ----------------------------
  2331. -- Table structure for t_res_classify1
  2332. -- ----------------------------
  2333. DROP TABLE IF EXISTS `t_res_classify1`;
  2334. CREATE TABLE `t_res_classify1` (
  2335. `RESID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键id',
  2336. `PRESID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父id',
  2337. `RESCODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '代码',
  2338. `RESNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '名称',
  2339. `RESDES` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '说明',
  2340. `STATE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态0启用,1停用,2删除',
  2341. `CREATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2342. `CREATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2343. `UPDATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2344. `UPDATEDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2345. `INDEXNUM` decimal(65,0) DEFAULT NULL COMMENT '排序',
  2346. `INFOCLASSNUM` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2347. `DEPTID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2348. `DEPTNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2349. PRIMARY KEY (`RESID`) USING BTREE
  2350. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='资源分类信息表';
  2351. -- ----------------------------
  2352. -- Table structure for t_res_user
  2353. -- ----------------------------
  2354. DROP TABLE IF EXISTS `t_res_user`;
  2355. CREATE TABLE `t_res_user` (
  2356. `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2357. `resid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2358. `userid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2359. PRIMARY KEY (`id`) USING BTREE
  2360. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=COMPACT;
  2361. -- ----------------------------
  2362. -- Table structure for t_returnstate_info
  2363. -- ----------------------------
  2364. DROP TABLE IF EXISTS `t_returnstate_info`;
  2365. CREATE TABLE `t_returnstate_info` (
  2366. `stateid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '描述',
  2367. `stateno` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态码',
  2368. `statevalue` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态码返回值',
  2369. `statedesc` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态描述',
  2370. `regid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务注册id',
  2371. PRIMARY KEY (`stateid`) USING BTREE
  2372. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2373. -- ----------------------------
  2374. -- Table structure for t_scene_dept
  2375. -- ----------------------------
  2376. DROP TABLE IF EXISTS `t_scene_dept`;
  2377. CREATE TABLE `t_scene_dept` (
  2378. `rid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2379. `deptid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2380. `sceneid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2381. PRIMARY KEY (`rid`) USING BTREE
  2382. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2383. -- ----------------------------
  2384. -- Table structure for t_scene_glinfo
  2385. -- ----------------------------
  2386. DROP TABLE IF EXISTS `t_scene_glinfo`;
  2387. CREATE TABLE `t_scene_glinfo` (
  2388. `rid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2389. `zcjsceneid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2390. `cjsceneid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2391. PRIMARY KEY (`rid`) USING BTREE
  2392. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2393. -- ----------------------------
  2394. -- Table structure for t_scene_info
  2395. -- ----------------------------
  2396. DROP TABLE IF EXISTS `t_scene_info`;
  2397. CREATE TABLE `t_scene_info` (
  2398. `sceneid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  2399. `scene_name` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '场景名称',
  2400. `scene_code` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '场景编码',
  2401. `scene_desc` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '场景描述',
  2402. `lead_dept` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '牵头部门',
  2403. `status` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '推进状态 0 推进中 1 已完成 2 暂停 3删除',
  2404. `creator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者',
  2405. `createtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建时间',
  2406. `updator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '修改者',
  2407. `updatetime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '修改时间',
  2408. `cjtype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2409. `visiable` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否全市可见',
  2410. PRIMARY KEY (`sceneid`) USING BTREE
  2411. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='场景应用';
  2412. -- ----------------------------
  2413. -- Table structure for t_scene_relation
  2414. -- ----------------------------
  2415. DROP TABLE IF EXISTS `t_scene_relation`;
  2416. CREATE TABLE `t_scene_relation` (
  2417. `rid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2418. `ywid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2419. `ywtable` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2420. `sceneid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2421. `issyn` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2422. PRIMARY KEY (`rid`) USING BTREE,
  2423. KEY `idx_ywid` (`ywid`) USING BTREE,
  2424. KEY `idx_ywtable` (`ywtable`) USING BTREE,
  2425. KEY `idx_sceneid` (`sceneid`) USING BTREE
  2426. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2427. -- ----------------------------
  2428. -- Table structure for t_sensitive_words
  2429. -- ----------------------------
  2430. DROP TABLE IF EXISTS `t_sensitive_words`;
  2431. CREATE TABLE `t_sensitive_words` (
  2432. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
  2433. `SENSITIVE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '敏感词名称',
  2434. `ALTERNATIVE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '校正名称',
  2435. `SENSITIVE_TYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '敏感词类型',
  2436. `CODE_ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据字典id',
  2437. `STATE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态: 0.删除1.待启用 2.启用 3.禁用',
  2438. `CREATE_TIME` datetime(6) DEFAULT NULL COMMENT '创建时间',
  2439. `CREATOR_ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者id',
  2440. `CREATE_USER` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者姓名',
  2441. PRIMARY KEY (`ID`) USING BTREE
  2442. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2443. -- ----------------------------
  2444. -- Table structure for t_service_applyinfo
  2445. -- ----------------------------
  2446. DROP TABLE IF EXISTS `t_service_applyinfo`;
  2447. CREATE TABLE `t_service_applyinfo` (
  2448. `applyid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '申请id',
  2449. `reqid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务id',
  2450. `mingcheng` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '名称',
  2451. `contactman` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系人',
  2452. `tel` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系电话',
  2453. `email` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '电子邮件',
  2454. `workscenario` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '办事场景',
  2455. `usescopedes` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '使用范围说明',
  2456. `systemname` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2457. `reason` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '申请依据',
  2458. `peak_querypc` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '峰值查询频次',
  2459. `avg_querypc` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '平均查询频次',
  2460. `uselife` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '使用期限',
  2461. `timerange` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '时间范围',
  2462. `othertechnical` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '其他技术要求',
  2463. `creator` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2464. `creatorname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2465. `createtime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2466. `inprocess` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2467. `processid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2468. `taskname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2469. `beiantime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2470. `mingchengid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2471. `dealdate` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2472. `dealman` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2473. `systemnameid` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2474. `isprecheck` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否需要预审 1需要',
  2475. `business_label` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务申请标签',
  2476. `glxt` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'shi否系統支撐',
  2477. `scenename` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2478. `scenecode` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2479. `peak_querypcs` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '峰值查询频次s',
  2480. `peak_querypch` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '峰值查询频次h',
  2481. `isrevoke` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '撤销 0',
  2482. `revoketime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '撤销时间',
  2483. `distributetime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '派发时间',
  2484. `knowopinion` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2485. `knowstate` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '0已知悉 1 未知悉 2变更完成',
  2486. `knowtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2487. `serialno` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请流水号',
  2488. `isdeal` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2489. `zwwwip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2490. PRIMARY KEY (`applyid`) USING BTREE
  2491. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2492. -- ----------------------------
  2493. -- Table structure for t_service_reginfo
  2494. -- ----------------------------
  2495. DROP TABLE IF EXISTS `t_service_reginfo`;
  2496. CREATE TABLE `t_service_reginfo` (
  2497. `regid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '服务注册id',
  2498. `provideid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '提供方id',
  2499. `providename` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '提供方名称',
  2500. `cnname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务中文名称',
  2501. `enname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务英文名称',
  2502. `accesstype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '接入类型',
  2503. `classid` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '目录系统id',
  2504. `classname` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '目录名称',
  2505. `sourcesystem` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '来源系统',
  2506. `abstractinfo` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '服务摘要',
  2507. `frequency` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '调用频率',
  2508. `timeout` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '超时时间',
  2509. `readtimeout` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '读超时时间',
  2510. `scenedes` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '使用场景描述',
  2511. `updatefrequence` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据更新周期',
  2512. `sharetype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '共享类型',
  2513. `shareconditions` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '共享条件',
  2514. `isuploadfile` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请时是否必须上传附件',
  2515. `versionnum` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '版本号',
  2516. `processid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '流程id',
  2517. `taskname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '当前审核环节',
  2518. `inprocess` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '0:未进入流程 1 流程中 2 流程审核通过 3 流程审核不通过 4 删除',
  2519. `releasedate` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '发布时间',
  2520. `sourceid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '祖先id',
  2521. `parentid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父版本id',
  2522. `latestversion` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '1 当前版本 0 历史版本',
  2523. `createtime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2524. `creator` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2525. `creatorname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2526. `updatetime` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2527. `updator` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2528. `updatorname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2529. `isbg` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '1 变更中;0 未变更',
  2530. `isgj` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '1 已挂接;0 未挂接',
  2531. `gjsj` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '挂接时间',
  2532. `gjrid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '挂接人id',
  2533. `gjr` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2534. `validurl` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务的有效地址',
  2535. `requesttype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '请求方式',
  2536. `returntype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '返回值类型',
  2537. `technicalunit` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '技术支持单位',
  2538. `technicalman` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '技术支持联系人',
  2539. `technicaltel` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '技术支持联系电话',
  2540. `apicode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2541. `qjdate` datetime DEFAULT NULL,
  2542. `qjman` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2543. `xzqhcode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2544. `networktype` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '网络情况',
  2545. `gjcheckstate` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2546. `sourcesystemid` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2547. `day_max_visit` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '每天最大访问',
  2548. `hour_max_visit` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '每小时最大访问',
  2549. `sec_max_visit` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '每秒最大访问',
  2550. `service_time` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '服务时间',
  2551. `service_source` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '接口来源',
  2552. `changeinstructions` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '变更说明',
  2553. `paralleltime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '并行时间',
  2554. `switchingtime` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据切换时间',
  2555. PRIMARY KEY (`regid`) USING BTREE,
  2556. KEY `index_processid` (`processid`) USING BTREE
  2557. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2558. -- ----------------------------
  2559. -- Table structure for t_shareapply
  2560. -- ----------------------------
  2561. DROP TABLE IF EXISTS `t_shareapply`;
  2562. CREATE TABLE `t_shareapply` (
  2563. `ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2564. `APPLYDATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请日期',
  2565. `APPLYDEPTID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请部门id',
  2566. `APPLYDEPTNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请部门名称',
  2567. `APPLYREASON` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请原因',
  2568. `APPLYUSERID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人id',
  2569. `APPLYUSERNAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请人名称',
  2570. `STATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据状态',
  2571. `UPDATOR_ORG_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2572. `UPDATETIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2573. `UPDATOR` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2574. `UPDATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2575. `UPDATOR_ORG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2576. `TINFOCLASSID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2577. `PROCESSID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '对应流程实例',
  2578. `TASKNAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '当前所处环节',
  2579. `REQUIREID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2580. `ISCONDITIONS` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2581. `ACTUALIZE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否已实施 -1 未派单 0未实施 1已实施',
  2582. `ACTUALIZETIME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2583. `ISREVOKE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2584. `REVOKETIME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2585. `HASYWXT` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '有无业务系统',
  2586. `YWXT_NAME` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2587. `YWXT_DES` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2588. `CJ_DES` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2589. `ISPRECHECK` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否需要预审 1 需要 ',
  2590. `CONTACTMAN` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系人',
  2591. `CONTACTTEL` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系电话',
  2592. `BUSINESS_LABEL` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务申请标签',
  2593. `YWXT_ID` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务系统id',
  2594. `SHARINGCYCLE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '共享周期',
  2595. `EXPECTUPDATECYCLE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '期望数据更新周求',
  2596. `SHARESERIALNO` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请流水号',
  2597. `SCENENAME` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2598. `SCENECODE` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2599. `DISTRIBUTETIME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '派发时间',
  2600. `KNOWOPINION` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '反馈意见',
  2601. `KNOWSTATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '知悉状态 0已知悉 1需要进行知悉反馈',
  2602. `KNOWTIME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '知悉反馈时间',
  2603. PRIMARY KEY (`ID`) USING BTREE,
  2604. KEY `TINFOCLASSID` (`TINFOCLASSID`) USING BTREE,
  2605. KEY `INDEX_PROCESSID` (`PROCESSID`) USING BTREE
  2606. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='共享申请表信息';
  2607. -- ----------------------------
  2608. -- Table structure for t_subpower_responsibility
  2609. -- ----------------------------
  2610. DROP TABLE IF EXISTS `t_subpower_responsibility`;
  2611. CREATE TABLE `t_subpower_responsibility` (
  2612. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2613. `mainid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2614. `subdutyname` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '权责名称',
  2615. `subdutytype` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2616. `state` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2617. `subdutycode` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2618. PRIMARY KEY (`id`) USING BTREE
  2619. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2620. -- ----------------------------
  2621. -- Table structure for t_subres_infoclass
  2622. -- ----------------------------
  2623. DROP TABLE IF EXISTS `t_subres_infoclass`;
  2624. CREATE TABLE `t_subres_infoclass` (
  2625. `id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2626. `subid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2627. `infoclassid` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2628. PRIMARY KEY (`id`) USING BTREE,
  2629. KEY `index_subres_subid` (`subid`) USING BTREE,
  2630. KEY `index_subres_infoclassid` (`infoclassid`) USING BTREE
  2631. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='权责关联表';
  2632. -- ----------------------------
  2633. -- Table structure for t_system_info
  2634. -- ----------------------------
  2635. DROP TABLE IF EXISTS `t_system_info`;
  2636. CREATE TABLE `t_system_info` (
  2637. `SYS_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  2638. `SYS_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统名称',
  2639. `SYS_DETAIL` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '系统描述',
  2640. `SYS_DEPT_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统所属部门',
  2641. `SYS_DEPT_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统所属部门id',
  2642. `CREATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2643. `CREATOR_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2644. `CREATE_TIME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2645. `UPDATOR` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2646. `UPDATOR_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2647. `UPDATE_TIME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2648. `CHECKBM` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审批部门',
  2649. `CHECKDATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '审批时间',
  2650. `SYSTEMSTATE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统状态,在建、已建',
  2651. `BUSINESSFUNC` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '业务功能',
  2652. `FUNDSOURCE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '资金来源',
  2653. `SYSTEMTYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统类别',
  2654. `CURRENTSTAGE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '当前建设阶段',
  2655. `JIANSHETYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建设方式',
  2656. `CHENGJIANUNIT` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '承建单位名称',
  2657. `UNITMAN` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '单位联系人',
  2658. `UNITTEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '单位电话',
  2659. `HETONGDATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '合同签署时间',
  2660. `HETONGWCDATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '合同约定完成时间',
  2661. `WEIBAODATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '维保时间',
  2662. `LIXIANGREASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '立项依据',
  2663. `BUSHUADDR` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '部署位置',
  2664. `SECRETTYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '涉密分类',
  2665. `SECURITYLEVEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '安全级别',
  2666. `NETWORKTYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '网络环境类型',
  2667. `SHIYONGFANWEI` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '使用范围',
  2668. `ISDUIJIE` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '是否与其他系统对接',
  2669. `DUIJIEPROJECT` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '对接项目',
  2670. `ISVIRTUAL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否虚拟化',
  2671. `VIRTUALSOFTWARE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '虚拟软件',
  2672. `ISBACKUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否备份',
  2673. `BACKUPTYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备份方式',
  2674. `BACKUPADDR` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备份地点',
  2675. `BACKUPNUM` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备份数量',
  2676. `ISRONGZAI` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '应用容灾',
  2677. `LATERPLAN` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统后续计划',
  2678. `JXJSREASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '继续建设原因',
  2679. `REMARK` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '备注',
  2680. `JSUNIT` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建设单位',
  2681. `JSMAN` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建设单位联系人',
  2682. `JSTEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建设单位联系电话',
  2683. `YWUNIT` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '运维单位名称',
  2684. `YWMAN` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '运维单位联系人',
  2685. `YWTEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '运维单位联系电话',
  2686. `JCDATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建成时间',
  2687. `YWHTDATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '运维合同到期时间',
  2688. `JSMONEY` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '建设金额',
  2689. `YEARYWMONEY` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '年度运维资金',
  2690. `YEARYWSOURCE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '年度运维资金来源',
  2691. `YWTYPE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '运维方式',
  2692. `ISDEAD` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否僵尸系统',
  2693. `USERATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '使用频率(每月使用用户量)',
  2694. `ISAPPLYZH` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否申请暂缓整合',
  2695. `ZHREASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '暂缓原因',
  2696. `ISSJXUQIU` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否有升级需求',
  2697. `SJREASON` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '升级需求说明',
  2698. `USEOBJ` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '使用对象',
  2699. `YIFUORRATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '已付金额或比例 ',
  2700. `JSGOAL` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '建设目标',
  2701. `JINPOLEVEL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '紧迫程度',
  2702. `JINPODETAIL` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '紧迫说明',
  2703. `DAOWEIDETAIL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '资金到位情况',
  2704. `SYS_CODE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2705. `SYS_USEDETAIL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2706. `ISDELETE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否删除 1表示删除',
  2707. `ISKJ` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否可见',
  2708. `ISGQ` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否挂起',
  2709. PRIMARY KEY (`SYS_ID`) USING BTREE
  2710. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='系统信息表';
  2711. -- ----------------------------
  2712. -- Table structure for t_systeminfo_infoclass
  2713. -- ----------------------------
  2714. DROP TABLE IF EXISTS `t_systeminfo_infoclass`;
  2715. CREATE TABLE `t_systeminfo_infoclass` (
  2716. `SYSTEMINFOCLASS_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2717. `SYSTEMINFO_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系统信息id',
  2718. `INFOCLASS_ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息类id',
  2719. `SYSTEMINFO_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2720. PRIMARY KEY (`SYSTEMINFOCLASS_ID`) USING BTREE,
  2721. KEY `index_systeminfo_sysid` (`SYSTEMINFO_ID`) USING BTREE,
  2722. KEY `infdex_systeminfo_infoid` (`INFOCLASS_ID`) USING BTREE
  2723. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT=' 业务系统与信息类对应关系表';
  2724. -- ----------------------------
  2725. -- Table structure for t_systeminfo_qz
  2726. -- ----------------------------
  2727. DROP TABLE IF EXISTS `t_systeminfo_qz`;
  2728. CREATE TABLE `t_systeminfo_qz` (
  2729. `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2730. `systemid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2731. `qzid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2732. `fileid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2733. `filename` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2734. PRIMARY KEY (`id`) USING BTREE,
  2735. KEY `index_qz_systemid` (`systemid`) USING BTREE,
  2736. KEY `index_qz_qzid` (`qzid`) USING BTREE
  2737. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2738. -- ----------------------------
  2739. -- Table structure for t_time
  2740. -- ----------------------------
  2741. DROP TABLE IF EXISTS `t_time`;
  2742. CREATE TABLE `t_time` (
  2743. `t_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2744. `time` datetime DEFAULT NULL
  2745. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2746. -- ----------------------------
  2747. -- Table structure for t_version_info
  2748. -- ----------------------------
  2749. DROP TABLE IF EXISTS `t_version_info`;
  2750. CREATE TABLE `t_version_info` (
  2751. `version_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2752. `version_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '版本名称',
  2753. `version_number` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '版本号',
  2754. `version_remarks` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '版本说明',
  2755. `version_datetime` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '版本发布时间',
  2756. `version_state` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态 0-未删除,1-已删除',
  2757. `creator_id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者id',
  2758. `creator_org` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者部门',
  2759. `creator_date` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建日期',
  2760. PRIMARY KEY (`version_id`) USING BTREE
  2761. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='版本信息';
  2762. -- ----------------------------
  2763. -- Table structure for t_wishlist
  2764. -- ----------------------------
  2765. DROP TABLE IF EXISTS `t_wishlist`;
  2766. CREATE TABLE `t_wishlist` (
  2767. `wishid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2768. `ywid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务表id',
  2769. `ywtype` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '业务表名',
  2770. `collect_time` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '加入申请箱时间',
  2771. `remove_time` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '移除申请箱时间',
  2772. `collectstate` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '状态 0加入 1 移除 ',
  2773. `collect_userid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '加入申请箱人员id',
  2774. PRIMARY KEY (`wishid`) USING BTREE
  2775. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2776. -- ----------------------------
  2777. -- Table structure for t_wishlist_subinfo
  2778. -- ----------------------------
  2779. DROP TABLE IF EXISTS `t_wishlist_subinfo`;
  2780. CREATE TABLE `t_wishlist_subinfo` (
  2781. `subid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2782. `wishid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '申请箱id',
  2783. `dataid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '信息项id',
  2784. PRIMARY KEY (`subid`) USING BTREE
  2785. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2786. -- ----------------------------
  2787. -- Table structure for t_zhengzhao_info
  2788. -- ----------------------------
  2789. DROP TABLE IF EXISTS `t_zhengzhao_info`;
  2790. CREATE TABLE `t_zhengzhao_info` (
  2791. `ZHENGZHAOID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2792. `ZHENGZHAONAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '证照名称',
  2793. `ZHENGZHAOSOURCE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '证照来源',
  2794. PRIMARY KEY (`ZHENGZHAOID`) USING BTREE
  2795. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='证照信息表';
  2796. -- ----------------------------
  2797. -- Table structure for taskinfo
  2798. -- ----------------------------
  2799. DROP TABLE IF EXISTS `taskinfo`;
  2800. CREATE TABLE `taskinfo` (
  2801. `ID` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2802. `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2803. `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2804. `JOB_DESCRIPTION` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2805. `JOB_STATUS` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2806. `CRON_EXPRESSION` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2807. `CREATE_TIME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2808. PRIMARY KEY (`ID`) USING BTREE
  2809. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2810. -- ----------------------------
  2811. -- Table structure for test
  2812. -- ----------------------------
  2813. DROP TABLE IF EXISTS `test`;
  2814. CREATE TABLE `test` (
  2815. `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2816. `qzcode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL
  2817. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2818. -- ----------------------------
  2819. -- Table structure for tnoticeinfo_userinfo
  2820. -- ----------------------------
  2821. DROP TABLE IF EXISTS `tnoticeinfo_userinfo`;
  2822. CREATE TABLE `tnoticeinfo_userinfo` (
  2823. `T_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2824. `U_IDS` longtext CHARACTER SET utf8 COLLATE utf8_general_ci,
  2825. `U_NAMES` longtext CHARACTER SET utf8 COLLATE utf8_general_ci,
  2826. `U_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2827. `U_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2828. `READE_STATE` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2829. PRIMARY KEY (`T_ID`) USING BTREE
  2830. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2831. -- ----------------------------
  2832. -- Table structure for update_rate
  2833. -- ----------------------------
  2834. DROP TABLE IF EXISTS `update_rate`;
  2835. CREATE TABLE `update_rate` (
  2836. `table_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '表名称',
  2837. `is_update` varchar(3) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否更新(1已更新,0未更新)',
  2838. `isopensocial` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '是否开放',
  2839. `insert_time` datetime NOT NULL COMMENT '入表时间',
  2840. `content` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '说明',
  2841. KEY `idx_table_name` (`table_name`) USING BTREE
  2842. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='更新率';
  2843. -- ----------------------------
  2844. -- Table structure for upload_file
  2845. -- ----------------------------
  2846. DROP TABLE IF EXISTS `upload_file`;
  2847. CREATE TABLE `upload_file` (
  2848. `FILE_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '附件ID',
  2849. `CREAT_TIME` datetime(6) DEFAULT NULL COMMENT '创建时间',
  2850. `CREATED_USER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
  2851. `DELETE_FLOG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '删除标记(1:有效,-1:无效)',
  2852. `FILE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件原名称',
  2853. `FILE_SIZE` decimal(20,0) DEFAULT NULL COMMENT '文件大小',
  2854. `FILE_TYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件类型',
  2855. `FK_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '对象ID',
  2856. `MODULE_LABEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2857. `UPDATA_TIME` datetime(6) DEFAULT NULL COMMENT '更新时间',
  2858. `UPDATA_USER` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
  2859. `FILE_SAVE_PATH` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件保存路径',
  2860. `FILE_SAVE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件保存名称',
  2861. PRIMARY KEY (`FILE_ID`) USING BTREE
  2862. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2863. -- ----------------------------
  2864. -- Table structure for user_role
  2865. -- ----------------------------
  2866. DROP TABLE IF EXISTS `user_role`;
  2867. CREATE TABLE `user_role` (
  2868. `CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2869. `ENABLED` decimal(1,0) NOT NULL,
  2870. `NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2871. PRIMARY KEY (`CODE`) USING BTREE
  2872. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2873. -- ----------------------------
  2874. -- Table structure for userinfo
  2875. -- ----------------------------
  2876. DROP TABLE IF EXISTS `userinfo`;
  2877. CREATE TABLE `userinfo` (
  2878. `USER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  2879. `CREATE_TIME` datetime(6) DEFAULT NULL,
  2880. `CREATOR_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2881. `EMAIL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2882. `FLAG` decimal(10,0) DEFAULT NULL,
  2883. `LOGIN_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2884. `PASSWORD` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2885. `REMARK` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2886. `STATE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2887. `UPDATE_TIME` datetime(6) DEFAULT NULL,
  2888. `UPDATER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2889. `USER_INDEX` decimal(10,0) DEFAULT NULL,
  2890. `USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2891. `PHONE_NUM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2892. `USERTYPE` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2893. `DEPTID` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2894. `PDEPTIDS` text CHARACTER SET utf8 COLLATE utf8_general_ci,
  2895. `USERKEY` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2896. `PRIORITY` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '用户优先级',
  2897. `PWD_DATE` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '密码修改时间',
  2898. PRIMARY KEY (`USER_ID`) USING BTREE,
  2899. KEY `index_loginname` (`LOGIN_NAME`) USING BTREE
  2900. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2901. -- ----------------------------
  2902. -- Table structure for v_histasklist_t
  2903. -- ----------------------------
  2904. DROP TABLE IF EXISTS `v_histasklist_t`;
  2905. CREATE TABLE `v_histasklist_t` (
  2906. `busid` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2907. `taskid` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  2908. `proinstid` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2909. `taskname` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2910. `taskman` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2911. `manname` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2912. `taskstart` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  2913. `taskend` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  2914. `taskmessage` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  2915. KEY `tt_proinstid` (`proinstid`) USING BTREE,
  2916. KEY `tt_taskid` (`taskid`) USING BTREE,
  2917. KEY `idx_busid` (`busid`) USING BTREE,
  2918. KEY `idx_taskname` (`taskname`) USING BTREE
  2919. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2920. -- ----------------------------
  2921. -- Table structure for workcalendar
  2922. -- ----------------------------
  2923. DROP TABLE IF EXISTS `workcalendar`;
  2924. CREATE TABLE `workcalendar` (
  2925. `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'id',
  2926. `year` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2927. `workdate` datetime(6) DEFAULT NULL,
  2928. `iswork` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2929. `updatetime` datetime(6) DEFAULT NULL,
  2930. `updator` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  2931. PRIMARY KEY (`id`) USING BTREE
  2932. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
  2933. -- ----------------------------
  2934. -- View structure for bm_delay
  2935. -- ----------------------------
  2936. DROP VIEW IF EXISTS `bm_delay`;
  2937. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `bm_delay` AS select `serviceshare_bm_delay`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`serviceshare_bm_delay`.`PROVIDEBMNAME` AS `PROVIDEBMNAME` from `serviceshare_bm_delay` union select `datashare_bm_delay`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`datashare_bm_delay`.`PROVIDEBMNAME` AS `PROVIDEBMNAME` from `datashare_bm_delay`;
  2938. -- ----------------------------
  2939. -- View structure for bp_share_view
  2940. -- ----------------------------
  2941. DROP VIEW IF EXISTS `bp_share_view`;
  2942. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `bp_share_view` AS select `a`.`share_type` AS `share_type`,`a`.`dept_id` AS `dept_id`,`a`.`apply_num` AS `apply_num`,`a`.`finish_num` AS `finish_num`,`a`.`being_num` AS `being_num`,`a`.`coordinate_num` AS `coordinate_num` from (select '1' AS `share_type`,(select `t_infoclass`.`PROVIDEBMCODE` from `t_infoclass` where (`t_infoclass`.`ID` = `t_shareapply`.`TINFOCLASSID`)) AS `dept_id`,count(1) AS `apply_num`,sum((case when ((`t_shareapply`.`STATE` = '2') or (`t_shareapply`.`STATE` = '3')) then 1 else 0 end)) AS `finish_num`,sum((case when ((`t_shareapply`.`TASKNAME` <> '需求方协调') and (`t_shareapply`.`STATE` = '1')) then 1 else 0 end)) AS `being_num`,sum((case when ((`t_shareapply`.`TASKNAME` = '需求方协调') and (`t_shareapply`.`STATE` = '1')) then 1 else 0 end)) AS `coordinate_num` from `t_shareapply` where (`t_shareapply`.`STATE` not in ('0','4')) group by (select `t_infoclass`.`PROVIDEBMCODE` from `t_infoclass` where (`t_infoclass`.`ID` = `t_shareapply`.`TINFOCLASSID`)) union select '2' AS `share_type`,(select `t_service_reginfo`.`provideid` from `t_service_reginfo` where (`t_service_reginfo`.`regid` = `t_service_applyinfo`.`reqid`)) AS `dept_id`,count(1) AS `apply_num`,sum((case when ((`t_service_applyinfo`.`inprocess` = '2') or (`t_service_applyinfo`.`inprocess` = '3')) then 1 else 0 end)) AS `finish_num`,sum((case when ((`t_service_applyinfo`.`taskname` <> '需求方协调') and (`t_service_applyinfo`.`inprocess` = '1')) then 1 else 0 end)) AS `being_num`,sum((case when ((`t_service_applyinfo`.`taskname` = '需求方协调') and (`t_service_applyinfo`.`inprocess` = '1')) then 1 else 0 end)) AS `coordinate_num` from `t_service_applyinfo` where (`t_service_applyinfo`.`inprocess` not in ('0','4')) group by (select `t_service_reginfo`.`provideid` from `t_service_reginfo` where (`t_service_reginfo`.`regid` = `t_service_applyinfo`.`reqid`))) `a`;
  2943. -- ----------------------------
  2944. -- View structure for da_scene_view
  2945. -- ----------------------------
  2946. DROP VIEW IF EXISTS `da_scene_view`;
  2947. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `da_scene_view` AS select `t_scene_info`.`sceneid` AS `scene_id`,`t_scene_info`.`scene_name` AS `scene_name`,`t_scene_info`.`scene_desc` AS `scene_des`,`t_scene_info`.`status` AS `status`,`t_scene_info`.`createtime` AS `createtime` from `t_scene_info`;
  2948. -- ----------------------------
  2949. -- View structure for datashare_bm_delay
  2950. -- ----------------------------
  2951. DROP VIEW IF EXISTS `datashare_bm_delay`;
  2952. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `datashare_bm_delay` AS select `t`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`t`.`PROVIDEBMNAME` AS `PROVIDEBMNAME`,count(1) AS `num` from (select distinct `w`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`w`.`PROVIDEBMNAME` AS `PROVIDEBMNAME`,`p`.`TASK_ID` AS `TASK_ID` from ((`v_tasklist_delay` `p` join `t_shareapply` `q`) join `t_infoclass` `w`) where ((`p`.`PROC_INST_ID` = `q`.`PROCESSID`) and (`q`.`TINFOCLASSID` = `w`.`ID`))) `t` group by `t`.`PROVIDEBMCODE`,`t`.`PROVIDEBMNAME`;
  2953. -- ----------------------------
  2954. -- View structure for ds_catalog_inter_view
  2955. -- ----------------------------
  2956. DROP VIEW IF EXISTS `ds_catalog_inter_view`;
  2957. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `ds_catalog_inter_view` AS select `t_service_reginfo`.`regid` AS `inter_id`,`t_service_reginfo`.`cnname` AS `inter_name`,`t_service_reginfo`.`provideid` AS `provider_id`,'' AS `inter_type`,'' AS `inter_code`,`t_service_reginfo`.`frequency` AS `data_update_freq`,'' AS `created_by`,'' AS `deleted`,'' AS `created_date`,'' AS `modified_by`,'' AS `modified_date` from `t_service_reginfo` where ((`t_service_reginfo`.`inprocess` = '2') and (`t_service_reginfo`.`latestversion` = '1'));
  2958. -- ----------------------------
  2959. -- View structure for dtxxls
  2960. -- ----------------------------
  2961. DROP VIEW IF EXISTS `dtxxls`;
  2962. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `dtxxls` AS select count(1) AS `COUNT(1)` from `t_infoclass` where ((`t_infoclass`.`INPROCESS` = '2') and (not((`t_infoclass`.`INFOCODE` like '1%'))) and (`t_infoclass`.`LATESTVERSION` = '1'));
  2963. -- ----------------------------
  2964. -- View structure for dtxxlslq
  2965. -- ----------------------------
  2966. DROP VIEW IF EXISTS `dtxxlslq`;
  2967. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `dtxxlslq` AS select count(1) AS `COUNT(1)` from `t_infoclass` where ((`t_infoclass`.`INPROCESS` = '2') and (`t_infoclass`.`LATESTVERSION` = '1') and `t_infoclass`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where ((`t_res_classify`.`PRESID` = '8012344641b74b8ca57879147e5746bd') and (`t_res_classify`.`RESID` <> '4be5df7a1876474d940be89b494677a7')))));
  2968. -- ----------------------------
  2969. -- View structure for dtxxlslsj
  2970. -- ----------------------------
  2971. DROP VIEW IF EXISTS `dtxxlslsj`;
  2972. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `dtxxlslsj` AS select count(1) AS `COUNT(1)` from `t_infoclass` where ((`t_infoclass`.`INPROCESS` = '2') and (`t_infoclass`.`LATESTVERSION` = '1') and `t_infoclass`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where (`t_res_classify`.`PRESID` = '4be5df7a1876474d940be89b494677a7')));
  2973. -- ----------------------------
  2974. -- View structure for dtxxlslzt0
  2975. -- ----------------------------
  2976. DROP VIEW IF EXISTS `dtxxlslzt0`;
  2977. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `dtxxlslzt0` AS select `t`.`ID` AS `ID`,`t`.`CREATEDATE` AS `CREATEDATE`,`t`.`CREATOR` AS `CREATOR`,`t`.`CREATOR_NAME` AS `CREATOR_NAME`,`t`.`CREATOR_ORG` AS `CREATOR_ORG`,`t`.`CREATOR_ORGNAME` AS `CREATOR_ORGNAME`,`t`.`DATARANGE` AS `DATARANGE`,`t`.`FORMATTYPE` AS `FORMATTYPE`,`t`.`FORMATTYPEID` AS `FORMATTYPEID`,`t`.`FORMATTYPENAME` AS `FORMATTYPENAME`,`t`.`INFOABSTRACTS` AS `INFOABSTRACTS`,`t`.`INFOCODE` AS `INFOCODE`,`t`.`INFONAME` AS `INFONAME`,`t`.`INFOTYPE` AS `INFOTYPE`,`t`.`INFOTYPEID` AS `INFOTYPEID`,`t`.`INPROCESS` AS `INPROCESS`,`t`.`ISOPENSOCIAL` AS `ISOPENSOCIAL`,`t`.`ISSECRET` AS `ISSECRET`,`t`.`OPENCONDITION` AS `OPENCONDITION`,`t`.`PARENTID` AS `PARENTID`,`t`.`PROCESSID` AS `PROCESSID`,`t`.`PROVIDECODE` AS `PROVIDECODE`,`t`.`PROVIDENAME` AS `PROVIDENAME`,`t`.`SHARECONDITIONS` AS `SHARECONDITIONS`,`t`.`SHAREMODE` AS `SHAREMODE`,`t`.`SHAREMODETYPE` AS `SHAREMODETYPE`,`t`.`SHARETYPE` AS `SHARETYPE`,`t`.`SOURCEID` AS `SOURCEID`,`t`.`SYSTEMINFO` AS `SYSTEMINFO`,`t`.`UPDATOR_ORG_NAME` AS `UPDATOR_ORG_NAME`,`t`.`UPDATECYCLE` AS `UPDATECYCLE`,`t`.`UPDATETIME` AS `UPDATETIME`,`t`.`UPDATOR` AS `UPDATOR`,`t`.`UPDATOR_NAME` AS `UPDATOR_NAME`,`t`.`UPDATOR_ORG` AS `UPDATOR_ORG`,`t`.`VERSIONID` AS `VERSIONID`,`t`.`LATESTVERSION` AS `LATESTVERSION`,`t`.`INFOTYPENAME` AS `INFOTYPENAME`,`t`.`SUBFORMATTYPE` AS `SUBFORMATTYPE`,`t`.`SUBFORMATTYPENAME` AS `SUBFORMATTYPENAME`,`t`.`SUBFORMATTYPEID` AS `SUBFORMATTYPEID`,`t`.`SHAREMODEID` AS `SHAREMODEID`,`t`.`SHAREMODENAME` AS `SHAREMODENAME`,`t`.`SHAREMODETYPEID` AS `SHAREMODETYPEID`,`t`.`SHAREMODETYPENAME` AS `SHAREMODETYPENAME`,`t`.`BGSTATUS` AS `BGSTATUS`,`t`.`ISBG` AS `ISBG`,`t`.`BGID` AS `BGID`,`t`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`t`.`PROVIDEBMNAME` AS `PROVIDEBMNAME`,`t`.`PROVIDEZGCODE` AS `PROVIDEZGCODE`,`t`.`PROVIDEZGNAME` AS `PROVIDEZGNAME`,`t`.`TASKNAME` AS `TASKNAME`,`t`.`YWBMNAME` AS `YWBMNAME`,`t`.`YWBMID` AS `YWBMID`,`t`.`YWBMCODE` AS `YWBMCODE`,`t`.`XZQHNAME` AS `XZQHNAME`,`t`.`XZQHID` AS `XZQHID`,`t`.`XZQHCODE` AS `XZQHCODE`,`t`.`CREDITNO` AS `CREDITNO`,`t`.`MANAGETYPE` AS `MANAGETYPE`,`t`.`BMID` AS `BMID`,`t`.`INFOCATALOGCODE` AS `INFOCATALOGCODE`,`b`.`RESID` AS `b_resid`,`a`.`RESID` AS `a_resid`,`a`.`PRESID` AS `a_presid`,`a`.`RESNAME` AS `a_resname`,`b`.`RESNAME` AS `b_resname` from ((`t_res_classify` `a` left join `t_res_classify` `b` on((`a`.`RESID` = `b`.`PRESID`))) left join `t_infoclass` `t` on((`b`.`RESID` = `t`.`INFOTYPEID`))) where ((`a`.`PRESID` = 'zt') and (`t`.`INPROCESS` = '2') and (`t`.`LATESTVERSION` = '1'));
  2978. -- ----------------------------
  2979. -- View structure for gxlcx_view
  2980. -- ----------------------------
  2981. DROP VIEW IF EXISTS `gxlcx_view`;
  2982. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `gxlcx_view` AS select `last_infoclass`.`tablename` AS `表名称`,`deptinfo`.`DEPT_NAME` AS `部门名称`,`last_infoclass`.`updatecycle` AS `更新频率`,(case `last_infoclass`.`sharemodetype` when 'gxsjk' then '共享数据库' when 'wj' then '文件' when 'jk' then '接口' else '其他' end) AS `数据提供方式`,(case `update_rate`.`is_update` when '0' then '否' else '是' end) AS `是否更新`,`update_rate`.`insert_time` AS `统计时间` from ((`last_infoclass` join `deptinfo` on((`last_infoclass`.`dept_id` = `deptinfo`.`DEPT_ID`))) join `update_rate` on((`update_rate`.`table_name` = `last_infoclass`.`tablename`))) where (date_format(`update_rate`.`insert_time`,'%Y-%m-%d') = (select date_format(max(`update_rate`.`insert_time`),'%Y-%m-%d') from `update_rate`)) order by `update_rate`.`table_name`;
  2983. -- ----------------------------
  2984. -- View structure for info_count
  2985. -- ----------------------------
  2986. DROP VIEW IF EXISTS `info_count`;
  2987. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `info_count` AS select count(1) AS `count` from ((select `d`.`HITCH_STATUS` AS `HITCH_STATUS`,`d`.`INFOTYPEID` AS `INFOTYPEID`,`d`.`LATESTVERSION` AS `LATESTVERSION`,`d`.`INPROCESS` AS `INPROCESS`,`d`.`INFOCODE` AS `INFOCODE`,`d`.`INFOTYPE` AS `INFOTYPE`,`d`.`SHAREMODETYPE` AS `SHAREMODETYPE`,`d`.`SHAREMODE` AS `SHAREMODE`,`d`.`FORMATTYPE` AS `FORMATTYPE`,`d`.`ID` AS `id`,`d`.`ISOPENSOCIAL` AS `ISOPENSOCIAL`,`d`.`INFONAME` AS `infoname`,`d`.`PROVIDEBMNAME` AS `PROVIDEZGNAME`,`d`.`SHARETYPE` AS `SHARETYPE`,`d`.`UPDATETIME` AS `UPDATETIME`,`d`.`VERSIONID` AS `VERSIONID`,`d`.`INFOTYPENAME` AS `INFOTYPENAME`,`d`.`UPDATECYCLE` AS `UPDATECYCLE`,`d`.`SHAREMODETYPENAME` AS `SHAREMODETYPENAME`,sum((case when (`c`.`TINFOCLASSID` is null) then 0 else 1 end)) AS `apply_count` from (`t_infoclass` `d` left join `t_shareapply` `c` on(((`d`.`ID` = `c`.`TINFOCLASSID`) and (`c`.`STATE` = '2')))) group by `d`.`INFONAME`,`d`.`ID`) `a` left join `data_count` `b` on((`a`.`INFOCODE` = `b`.`infocode`))) where ((`a`.`INPROCESS` = '2') and (`a`.`LATESTVERSION` = '1') and (`a`.`SHAREMODETYPENAME` = '数据库') and (`a`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where (`t_res_classify`.`RESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where (`t_res_classify`.`PRESID` = '4be5df7a1876474d940be89b494677a7')) and (`t_res_classify`.`STATE` = 0))) or `a`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where ((`t_res_classify`.`PRESID` = 'bm') and (`t_res_classify`.`STATE` = 0))))))));
  2988. -- ----------------------------
  2989. -- View structure for info_view
  2990. -- ----------------------------
  2991. DROP VIEW IF EXISTS `info_view`;
  2992. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `info_view` AS select `a`.`HITCH_STATUS` AS `HITCH_STATUS`,`a`.`INFOTYPEID` AS `INFOTYPEID`,`a`.`LATESTVERSION` AS `LATESTVERSION`,`a`.`INPROCESS` AS `INPROCESS`,`a`.`INFOCODE` AS `INFOCODE`,`a`.`INFOTYPE` AS `INFOTYPE`,`a`.`SHAREMODETYPE` AS `SHAREMODETYPE`,`a`.`SHAREMODE` AS `SHAREMODE`,`a`.`FORMATTYPE` AS `FORMATTYPE`,`a`.`id` AS `id`,`a`.`ISOPENSOCIAL` AS `ISOPENSOCIAL`,`a`.`infoname` AS `infoname`,`a`.`PROVIDEZGNAME` AS `PROVIDEZGNAME`,`a`.`SHARETYPE` AS `SHARETYPE`,`a`.`UPDATETIME` AS `UPDATETIME`,`a`.`VERSIONID` AS `VERSIONID`,`a`.`INFOTYPENAME` AS `INFOTYPENAME`,`a`.`UPDATECYCLE` AS `UPDATECYCLE`,`a`.`SHAREMODETYPENAME` AS `SHAREMODETYPENAME`,`a`.`apply_count` AS `apply_count`,`b`.`rowcount` AS `exchange_count` from ((select `d`.`HITCH_STATUS` AS `HITCH_STATUS`,`d`.`INFOTYPEID` AS `INFOTYPEID`,`d`.`LATESTVERSION` AS `LATESTVERSION`,`d`.`INPROCESS` AS `INPROCESS`,`d`.`INFOCODE` AS `INFOCODE`,`d`.`INFOTYPE` AS `INFOTYPE`,`d`.`SHAREMODETYPE` AS `SHAREMODETYPE`,`d`.`SHAREMODE` AS `SHAREMODE`,`d`.`FORMATTYPE` AS `FORMATTYPE`,`d`.`ID` AS `id`,`d`.`ISOPENSOCIAL` AS `ISOPENSOCIAL`,`d`.`INFONAME` AS `infoname`,`d`.`PROVIDEBMNAME` AS `PROVIDEZGNAME`,`d`.`SHARETYPE` AS `SHARETYPE`,`d`.`UPDATETIME` AS `UPDATETIME`,`d`.`VERSIONID` AS `VERSIONID`,`d`.`INFOTYPENAME` AS `INFOTYPENAME`,`d`.`UPDATECYCLE` AS `UPDATECYCLE`,`d`.`SHAREMODETYPENAME` AS `SHAREMODETYPENAME`,sum((case when (`c`.`TINFOCLASSID` is null) then 0 else 1 end)) AS `apply_count` from (`t_infoclass` `d` left join `t_shareapply` `c` on(((`d`.`ID` = `c`.`TINFOCLASSID`) and (`c`.`STATE` = '2')))) group by `d`.`INFONAME`,`d`.`ID`) `a` left join `data_count` `b` on((`a`.`INFOCODE` = `b`.`infocode`))) where ((`a`.`INPROCESS` = '2') and (`a`.`LATESTVERSION` = '1') and (`a`.`SHAREMODETYPENAME` = '数据库') and (`a`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where (`t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where (`t_res_classify`.`PRESID` = '4be5df7a1876474d940be89b494677a7')) and (`t_res_classify`.`STATE` = 0))) or `a`.`INFOTYPEID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where `t_res_classify`.`PRESID` in (select `t_res_classify`.`RESID` from `t_res_classify` where ((`t_res_classify`.`PRESID` = 'bm') and (`t_res_classify`.`STATE` = 0)))))))) order by `a`.`INFOCODE` limit 0,10;
  2993. -- ----------------------------
  2994. -- View structure for infoclass
  2995. -- ----------------------------
  2996. DROP VIEW IF EXISTS `infoclass`;
  2997. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `infoclass` AS select `b`.`INFOCODE` AS `INFOCODE`,`b`.`INFONAME` AS `INFONAME`,`b`.`HITCH_STATUS` AS `ISHANGON`,(case when (`b`.`ISOPENSOCIAL` = '不予开放') then 0 else 1 end) AS `ISOPENSOCIAL`,(case when (`b`.`SHAREMODETYPE` = 'wj') then 1 else 0 end) AS `SHAREMODETYPE`,`b`.`SHARETYPE` AS `SHARETYPE`,`b`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`b`.`PROVIDEBMNAME` AS `PROVIDEBmNAME`,`b`.`INPROCESS` AS `INPROCESS` from `t_infoclass` `b` where ((`b`.`LATESTVERSION` = '1') and (`b`.`INPROCESS` in ('2','5')));
  2998. -- ----------------------------
  2999. -- View structure for login_user_info
  3000. -- ----------------------------
  3001. DROP VIEW IF EXISTS `login_user_info`;
  3002. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `login_user_info` AS select `deptinfo`.`DEPT_NAME` AS `单位名称`,`userinfo`.`LOGIN_NAME` AS `登录名`,`role`.`ROLE_NAME` AS `角色名称` from (((`deptinfo` left join `userinfo` on((`deptinfo`.`DEPT_ID` = `userinfo`.`DEPTID`))) left join `role_user` on((`userinfo`.`USER_ID` = `role_user`.`USER_ID`))) left join `role` on((`role`.`ROLE_ID` = `role_user`.`ROLE_ID`)));
  3003. -- ----------------------------
  3004. -- View structure for new_govername
  3005. -- ----------------------------
  3006. DROP VIEW IF EXISTS `new_govername`;
  3007. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `new_govername` AS select `deptinfo`.`DEPT_ID` AS `id`,`deptinfo`.`DEPT_INDEX` AS `order`,`deptinfo`.`DEPT_NAME` AS `new_name`,`deptinfo`.`DEPT_ABBREVIATION` AS `old_name`,`deptinfo`.`XZQHCODE` AS `xzqhname`,`deptinfo`.`DEPT_PROPERTY` AS `dept_property` from `deptinfo` where (`deptinfo`.`PARENT_ID` in ('c271fb9c6e7e4faab8d27c91352b597d','59cf7812bf1f4b8ab61f2ac8ab08eb36','fab35d8246a448f9834bf492d41aa56c','c45f71f7268549a39c9d0cbef17475c9','099d5e5d613847f484de24b5bf727c9a','7138881327fb46f1b1d2d0acb2d98165','9ba7b4bb3f054181b7096974747c554b','c58168c12c8b4a5c9a938f0b4fb71f36','ab4256baa8f948329bb88e9988d7daf1','ff91669e1eff475b996d2ef88beb2ae0','0f2b2f4c1b484757a683b367d4a1c4ee','4caa3ec75c8949c08a6f523a804d30b9','818165795a164cd7a973c7705e4e9ea7','cb48bb89ad0344e6b4d9dc1fc91c4a78','ddef73cfba08421e8d2c1f28fa4d845c','a688378b07094278a5a0e06f218906b7','269a11aff2714a32bc46086ced59ed20')) order by `deptinfo`.`XZQHNAME`;
  3008. -- ----------------------------
  3009. -- View structure for r_dutyinfo_view
  3010. -- ----------------------------
  3011. DROP VIEW IF EXISTS `r_dutyinfo_view`;
  3012. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_dutyinfo_view` AS select `p`.`id` AS `dutyid`,`p`.`enforcementbody` AS `enforcementbody`,`p`.`enforcementbody_name` AS `enforcementbody_name`,`p`.`dutyinfo` AS `dutyinfo`,`q`.`id` AS `subid`,`q`.`id` AS `uuid`,`q`.`subdutyname` AS `subdutyname`,`q`.`subdutycode` AS `subdutycode`,`q`.`subdutytype` AS `subdutytype` from (`t_power_responsibility` `p` join `t_subpower_responsibility` `q`) where ((`p`.`id` = `q`.`mainid`) and (`p`.`state` = '1') and (`q`.`state` = '1'));
  3013. -- ----------------------------
  3014. -- View structure for r_info_interface_view
  3015. -- ----------------------------
  3016. DROP VIEW IF EXISTS `r_info_interface_view`;
  3017. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_info_interface_view` AS select `p`.`regid` AS `inter_id`,`q`.`ID` AS `info_id` from (`t_service_reginfo` `p` join `t_infoclass` `q`) where ((`p`.`inprocess` = '2') and (`p`.`latestversion` = '1') and (locate(`q`.`ID`,`p`.`classid`) > 0));
  3018. -- ----------------------------
  3019. -- View structure for r_infoclass_lifeinfo_view
  3020. -- ----------------------------
  3021. DROP VIEW IF EXISTS `r_infoclass_lifeinfo_view`;
  3022. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_infoclass_lifeinfo_view` AS select `p`.`taskstart` AS `taskstart`,`p`.`taskname` AS `taskname`,`p`.`id` AS `info_id`,`q`.`INFOCODE` AS `infocode`,`p`.`state` AS `state`,concat(`p`.`taskstart`,convert(`p`.`taskname` using utf8mb4),convert(`p`.`id` using utf8mb4),convert(convert(`p`.`state` using utf8mb3) using utf8mb4)) AS `uuid`,concat(`q`.`VERSIONID`,'.',`q`.`SUBVERSIONID`) AS `versionid` from ((select `t_infoclass`.`CREATEDATE` AS `taskstart`,'注册' AS `taskname`,`t_infoclass`.`ID` AS `id`,'0' AS `state` from `t_infoclass` where ((`t_infoclass`.`INPROCESS` = '2') or (`t_infoclass`.`INPROCESS` = '5')) union select `t_infoclass`.`UPDATETIME` AS `taskstart`,'启用' AS `taskname`,`t_infoclass`.`ID` AS `id`,'2' AS `state` from `t_infoclass` where ((`t_infoclass`.`INPROCESS` = '2') or (`t_infoclass`.`INPROCESS` = '5')) union select `p`.`taskend` AS `taskstart`,`p`.`taskname` AS `taskname`,`q`.`ID` AS `id`,'1' AS `state` from (`v_histasklist_t` `p` join `t_infoclass` `q`) where (`p`.`proinstid` = `q`.`PROCESSID`) union select date_format(`p`.`LOGTIME`,'%Y-%m-%d %h:%m:%s') AS `taskstart`,(case when (`p`.`LOGDETAIL` = '信息类更新(启用)') then '启用' else '禁用' end) AS `taskname`,`p`.`DATAID` AS `id`,(case when (`p`.`LOGDETAIL` = '信息类更新(启用)') then '2' else '3' end) AS `state` from `loginfo` `p` where ((`p`.`LOGTABLE` = 't_infoclass') and ((`p`.`LOGDETAIL` = '信息类更新(启用)') or (`p`.`LOGDETAIL` = '信息类更新(禁用)'))) union select (date_format(`p`.`CREATEDATE`,'%Y-%m-%d %H:%i:%s') + interval -(1) second) AS `taskstart`,'变更' AS `taskname`,`p`.`ID` AS `id`,'4' AS `state` from `t_infoclass` `p` where ((`p`.`PARENTID` is not null) and (`p`.`PARENTID` <> ''))) `p` join `t_infoclass` `q`) where (`p`.`id` = `q`.`ID`);
  3023. -- ----------------------------
  3024. -- View structure for r_inter_dept_view
  3025. -- ----------------------------
  3026. DROP VIEW IF EXISTS `r_inter_dept_view`;
  3027. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_inter_dept_view` AS select `t_service_applyinfo`.`reqid` AS `inter_id`,`t_service_applyinfo`.`mingchengid` AS `dept_id` from `t_service_applyinfo` where (`t_service_applyinfo`.`inprocess` = '2');
  3028. -- ----------------------------
  3029. -- View structure for r_scene_dept_view
  3030. -- ----------------------------
  3031. DROP VIEW IF EXISTS `r_scene_dept_view`;
  3032. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_scene_dept_view` AS select `t_scene_info`.`sceneid` AS `scene_id`,`t_scene_info`.`lead_dept` AS `dept_id` from `t_scene_info`;
  3033. -- ----------------------------
  3034. -- View structure for r_scene_info_view
  3035. -- ----------------------------
  3036. DROP VIEW IF EXISTS `r_scene_info_view`;
  3037. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_scene_info_view` AS select `p`.`sceneid` AS `scence_id`,`q`.`TINFOCLASSID` AS `info_id` from (`t_scene_relation` `p` join `t_shareapply` `q`) where ((`p`.`ywtable` = 't_shareapply') and (`p`.`ywid` = `q`.`ID`)) union select `p`.`sceneid` AS `scence_id`,`qq`.`ID` AS `info_id` from (((`t_scene_relation` `p` join `t_service_applyinfo` `q`) join `t_service_reginfo` `pp`) join `t_infoclass` `qq`) where ((`pp`.`inprocess` = '2') and (`pp`.`latestversion` = '1') and (locate(`qq`.`ID`,`pp`.`classid`) > 0) and (`p`.`ywtable` = 't_service_applyinfo') and (`p`.`ywid` = `q`.`applyid`));
  3038. -- ----------------------------
  3039. -- View structure for r_service_applyinfo_lifeinfo_view
  3040. -- ----------------------------
  3041. DROP VIEW IF EXISTS `r_service_applyinfo_lifeinfo_view`;
  3042. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_service_applyinfo_lifeinfo_view` AS select `p`.`taskname` AS `taskname`,`p`.`taskstart` AS `taskstart`,`p`.`applyid` AS `applyid`,`p`.`state` AS `state`,concat(convert(`p`.`applyid` using utf8mb4),convert(convert(`p`.`state` using utf8mb3) using utf8mb4),convert(`p`.`taskname` using utf8mb4),`p`.`taskstart`) AS `uuid`,`t`.`apicode` AS `apicode` from ((select '申请' AS `taskname`,`t_service_applyinfo`.`createtime` AS `taskstart`,`t_service_applyinfo`.`applyid` AS `applyid`,'0' AS `state` from `t_service_applyinfo` union select '实施' AS `taskname`,`t_service_applyinfo`.`dealdate` AS `taskstart`,`t_service_applyinfo`.`applyid` AS `applyid`,'3' AS `state` from `t_service_applyinfo` where (`t_service_applyinfo`.`isdeal` = '1') union select `p`.`taskname` AS `taskname`,`p`.`taskend` AS `taskstart`,`q`.`applyid` AS `applyid`,'1' AS `state` from (`v_histasklist_t` `p` join `t_service_applyinfo` `q`) where (`p`.`proinstid` = `q`.`processid`) union select '备案' AS `taskname`,`t_service_applyinfo`.`beiantime` AS `taskstart`,`t_service_applyinfo`.`applyid` AS `applyid`,'2' AS `state` from `t_service_applyinfo` where (`t_service_applyinfo`.`beiantime` is not null)) `p` left join (select `p`.`applyid` AS `applyid`,`q`.`apicode` AS `apicode` from (`t_service_applyinfo` `p` join `t_service_reginfo` `q`) where (`p`.`reqid` = `q`.`regid`)) `t` on((`p`.`applyid` = `t`.`applyid`)));
  3043. -- ----------------------------
  3044. -- View structure for r_service_reginfo_lifeinfo_view
  3045. -- ----------------------------
  3046. DROP VIEW IF EXISTS `r_service_reginfo_lifeinfo_view`;
  3047. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_service_reginfo_lifeinfo_view` AS select `p`.`taskstart` AS `taskstart`,`p`.`taskname` AS `taskname`,`p`.`id` AS `service_id`,`p`.`state` AS `state`,`p`.`apicode` AS `apicode`,`p`.`versionnum` AS `versionnum`,concat(`p`.`taskstart`,convert(`p`.`taskname` using utf8mb4),convert(`p`.`id` using utf8mb4),convert(convert(`p`.`state` using utf8mb3) using utf8mb4)) AS `uuid` from ((select `t_service_reginfo`.`createtime` AS `taskstart`,'注册' AS `taskname`,`t_service_reginfo`.`regid` AS `id`,'0' AS `state`,`t_service_reginfo`.`apicode` AS `apicode`,`t_service_reginfo`.`versionnum` AS `versionnum` from `t_service_reginfo` where ((`t_service_reginfo`.`inprocess` = '2') or (`t_service_reginfo`.`inprocess` = '5')) union select `p`.`taskend` AS `taskstart`,`p`.`taskname` AS `taskname`,`q`.`regid` AS `id`,'1' AS `state`,`q`.`apicode` AS `apicode`,`q`.`versionnum` AS `versionnum` from (`v_histasklist_t` `p` join `t_service_reginfo` `q`) where (`p`.`proinstid` = `q`.`processid`) union select `t_service_reginfo`.`qjdate` AS `taskstart`,(case when (`t_service_reginfo`.`inprocess` = '2') then '启用' when (`t_service_reginfo`.`inprocess` = '5') then '停用' end) AS `taskname`,`t_service_reginfo`.`regid` AS `id`,(case when (`t_service_reginfo`.`inprocess` = '2') then '2' when (`t_service_reginfo`.`inprocess` = '5') then '3' end) AS `state`,`t_service_reginfo`.`apicode` AS `apicode`,`t_service_reginfo`.`versionnum` AS `versionnum` from `t_service_reginfo` where (((`t_service_reginfo`.`inprocess` = '5') or (`t_service_reginfo`.`inprocess` = '2')) and (`t_service_reginfo`.`qjdate` is not null)) union select `t_service_reginfo`.`gjsj` AS `taskstart`,'服务挂接' AS `taskname`,`t_service_reginfo`.`regid` AS `id`,'5' AS `state`,`t_service_reginfo`.`apicode` AS `apicode`,`t_service_reginfo`.`versionnum` AS `versionnum` from `t_service_reginfo` where (((`t_service_reginfo`.`inprocess` = '5') or (`t_service_reginfo`.`inprocess` = '2')) and (`t_service_reginfo`.`gjsj` is not null) and (`t_service_reginfo`.`isgj` = '1')) union select `t_service_reginfo`.`releasedate` AS `taskstart`,'启用' AS `taskname`,`t_service_reginfo`.`regid` AS `id`,'2' AS `state`,`t_service_reginfo`.`apicode` AS `apicode`,`t_service_reginfo`.`versionnum` AS `versionnum` from `t_service_reginfo` where (((`t_service_reginfo`.`inprocess` = '5') or (`t_service_reginfo`.`inprocess` = '2')) and (`t_service_reginfo`.`releasedate` is not null)) union select `p`.`createtime` AS `taskstart`,'变更' AS `taskname`,`p`.`regid` AS `id`,'4' AS `state`,`p`.`apicode` AS `apicode`,`p`.`versionnum` AS `versionnum` from `t_service_reginfo` `p` where ((`p`.`parentid` is not null) and (`p`.`parentid` <> ''))) `p` join `t_service_reginfo` `q`) where (`p`.`id` = `q`.`regid`) order by `p`.`id`,`p`.`taskstart`;
  3048. -- ----------------------------
  3049. -- View structure for r_shareapply_lifeinfo_view
  3050. -- ----------------------------
  3051. DROP VIEW IF EXISTS `r_shareapply_lifeinfo_view`;
  3052. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `r_shareapply_lifeinfo_view` AS select `p`.`taskname` AS `taskname`,`p`.`taskstart` AS `taskstart`,`p`.`id` AS `applyid`,`p`.`state` AS `state`,concat(convert(`p`.`id` using utf8mb4),convert(`p`.`taskname` using utf8mb4),`p`.`taskstart`) AS `uuid` from (select '申请' AS `taskname`,`t_shareapply`.`APPLYDATE` AS `taskstart`,`t_shareapply`.`ID` AS `id`,'0' AS `state` from `t_shareapply` union select '备案' AS `taskname`,`t_shareapply`.`UPDATETIME` AS `taskstart`,`t_shareapply`.`ID` AS `id`,'2' AS `state` from `t_shareapply` where (`t_shareapply`.`STATE` = '2') union select '实施' AS `taskname`,`t_shareapply`.`ACTUALIZETIME` AS `taskstart`,`t_shareapply`.`ID` AS `id`,'3' AS `state` from `t_shareapply` where ((`t_shareapply`.`ACTUALIZETIME` is not null) and (`t_shareapply`.`ACTUALIZETIME` <> '')) union select `p`.`taskname` AS `taskname`,`p`.`taskend` AS `taskstart`,`q`.`ID` AS `id`,'1' AS `state` from (`v_histasklist_t` `p` join `t_shareapply` `q`) where (`p`.`proinstid` = `q`.`PROCESSID`)) `p`;
  3053. -- ----------------------------
  3054. -- View structure for serviceshare_bm_delay
  3055. -- ----------------------------
  3056. DROP VIEW IF EXISTS `serviceshare_bm_delay`;
  3057. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `serviceshare_bm_delay` AS select `t`.`PROVIDEid` AS `PROVIDEBMCODE`,`t`.`PROVIDENAME` AS `PROVIDEBMNAME`,count(1) AS `num` from (select distinct `w`.`provideid` AS `PROVIDEid`,`w`.`providename` AS `PROVIDENAME`,`p`.`TASK_ID` AS `TASK_ID` from ((`v_tasklist_delay` `p` join `t_service_applyinfo` `q`) join `t_service_reginfo` `w`) where ((`p`.`PROC_INST_ID` = `q`.`processid`) and (`q`.`reqid` = `w`.`regid`))) `t` group by `t`.`PROVIDEid`,`t`.`PROVIDENAME`;
  3058. -- ----------------------------
  3059. -- View structure for t_infoclass_updatecycle_diff_view
  3060. -- ----------------------------
  3061. DROP VIEW IF EXISTS `t_infoclass_updatecycle_diff_view`;
  3062. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `t_infoclass_updatecycle_diff_view` AS select `p`.`INFONAME` AS `信息类名称`,`p`.`INFOCODE` AS `信息类编码`,concat(`p`.`VERSIONID`,'.',`p`.`SUBVERSIONID`) AS `版本号`,`p`.`PROVIDEBMNAME` AS `提供方部门`,`p`.`UPDATECYCLE` AS `更新频率`,`p`.`UPDATETIME` AS `发布时间`,`q`.`INFONAME` AS `信息类名称OLD`,`q`.`INFOCODE` AS `信息类编码OLD`,concat(`q`.`VERSIONID`,'.',`q`.`SUBVERSIONID`) AS `版本号OLD`,`q`.`UPDATECYCLE` AS `更新频率OLD`,`q`.`UPDATETIME` AS `发布时间OLD` from (`t_infoclass` `p` join `t_infoclass` `q`) where ((`p`.`LATESTVERSION` = '1') and (`p`.`INPROCESS` = '2') and (`q`.`ID` = `p`.`PARENTID`) and (`p`.`UPDATECYCLE` <> `q`.`UPDATECYCLE`));
  3063. -- ----------------------------
  3064. -- View structure for v_apply_passrate
  3065. -- ----------------------------
  3066. DROP VIEW IF EXISTS `v_apply_passrate`;
  3067. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_apply_passrate` AS select sum((case when (`t_shareapply`.`STATE` = '2') then 1 else 0 end)) AS `oknum`,count(1) AS `totalnum`,`t_shareapply`.`APPLYDEPTID` AS `applydeptid` from `t_shareapply` where (`t_shareapply`.`STATE` in (2,3)) group by `t_shareapply`.`APPLYDEPTID`;
  3068. -- ----------------------------
  3069. -- View structure for v_create_table_sql
  3070. -- ----------------------------
  3071. DROP VIEW IF EXISTS `v_create_table_sql`;
  3072. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_create_table_sql` AS select `t_infoclass`.`INFOCODE` AS `infocode`,concat('CREATE TABLE t_',replace(`t_infoclass`.`INFOCODE`,'/','_'),'(GUID VARCHAR(100), ',group_concat('f_',replace(`t_infoclass_datameta`.`XXXBM`,'/','_'),' ',(case when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Varchar2') then convert((case when ((3999 > (`t_infoclass_datameta`.`DATASIZE` * 3)) > 254) then concat('LVARCHAR (',(`t_infoclass_datameta`.`DATASIZE` * 3),') ') when ((`t_infoclass_datameta`.`DATASIZE` * 3) > 4000) then 'JSON ' else concat('VARCHAR(',(`t_infoclass_datameta`.`DATASIZE` * 3),') ') end) using utf8mb3) when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Varchar') then convert((case when ((`t_infoclass_datameta`.`DATASIZE` * 3) > 254) then concat('LVARCHAR (',(`t_infoclass_datameta`.`DATASIZE` * 3),') ') when ((`t_infoclass_datameta`.`DATASIZE` * 3) > 4000) then 'JSON ' else concat('VARCHAR(',(`t_infoclass_datameta`.`DATASIZE` * 3),') ') end) using utf8mb3) when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Text') then 'JSON ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Clob') then 'JSON ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Integer') then 'DECIMAL(16,0) ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Number') then 'DECIMAL(16,2) ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Decimal') then 'DECIMAL(16,2) ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Blob') then 'JSON ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Float') then 'DECIMAL(16,2) ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Datetime') then 'DATETIME YEAR TO SECOND ' when (`t_infoclass_datameta`.`DATATYPE_DIS` = 'Timestamp') then 'DATETIME YEAR TO SECOND ' else concat(`t_infoclass_datameta`.`DATATYPE_DIS`,' (',`t_infoclass_datameta`.`DATASIZE`,') ') end) order by `t_infoclass_datameta`.`XXXBM` ASC separator ','),',TOPIC_UPDATE_TIME DATETIME YEAR TO SECOND,TOPIC_ADD_TIME DATETIME YEAR TO SECOND,OPERATETYPE VARCHAR(2))') AS `f_column` from (`t_infoclass` join `t_infoclass_datameta`) where ((`t_infoclass`.`ID` = `t_infoclass_datameta`.`TINFOCLASSID`) and (`t_infoclass`.`LATESTVERSION` = '1') and (`t_infoclass`.`INPROCESS` = '2')) group by `t_infoclass`.`INFOCODE`;
  3073. -- ----------------------------
  3074. -- View structure for v_datacout
  3075. -- ----------------------------
  3076. DROP VIEW IF EXISTS `v_datacout`;
  3077. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_datacout` AS select `t_infoclass`.`PROVIDEBMNAME` AS `PROVIDEBMNAMENAME`,`t_infoclass`.`INFOCODE` AS `INFOCODE`,`t_infoclass`.`INFONAME` AS `INFONAME`,`t_infoclass`.`HITCH_STATUS` AS `HITCH_STATUS`,`t_infoclass`.`XZQHCODE` AS `XZQHCODE`,`t_infoclass`.`SHAREMODETYPENAME` AS `SHAREMODETYPENAME`,`t_infoclass_datameta`.`ID` AS `XXXID`,`t_infoclass_datameta`.`XXXMC` AS `XXXMC`,`t_infoclass_datameta`.`XXXBM` AS `XXXBM`,`t_infoclass_datameta`.`DATATYPE_DIS` AS `DATATYPE_DIS`,`t_infoclass_datameta`.`METACODE_DIS` AS `METACODE_DIS`,`t_infoclass_datameta`.`DATASIZE` AS `DATASIZE`,`t_infoclass_datameta`.`SHARETYPE` AS `SHARETYPE`,`t_infoclass_datameta`.`INDEXNUM` AS `INDEXNUM` from (`t_infoclass` left join `t_infoclass_datameta` on((`t_infoclass`.`ID` = `t_infoclass_datameta`.`TINFOCLASSID`))) where ((`t_infoclass`.`INPROCESS` = '2') and (`t_infoclass`.`LATESTVERSION` = '1')) order by `t_infoclass`.`PROVIDENAME`,`t_infoclass`.`INFOCODE`,`t_infoclass_datameta`.`XXXBM`;
  3078. -- ----------------------------
  3079. -- View structure for v_histasklist
  3080. -- ----------------------------
  3081. DROP VIEW IF EXISTS `v_histasklist`;
  3082. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_histasklist` AS select `inst`.`BUSINESS_KEY_` AS `busid`,`p`.`ID_` AS `taskid`,`p`.`EXECUTION_ID_` AS `proinstid`,`p`.`NAME_` AS `taskname`,`p`.`ASSIGNEE_` AS `taskman`,`c`.`USER_ID_` AS `manname`,date_format(`p`.`START_TIME_`,'%Y-%m-%d %H:%i:%s') AS `taskstart`,date_format(`p`.`END_TIME_`,'%Y-%m-%d %H:%i:%s') AS `taskend`,`c`.`MESSAGE_` AS `taskmessage` from ((`act_hi_taskinst` `p` join `act_hi_comment` `c`) join `act_hi_procinst` `inst`) where ((`c`.`PROC_INST_ID_` = `p`.`EXECUTION_ID_`) and (`c`.`ACTION_` = 'AddComment') and (`c`.`TASK_ID_` = `p`.`ID_`) and (`inst`.`PROC_INST_ID_` = `p`.`EXECUTION_ID_`) and (`p`.`END_TIME_` is not null));
  3083. -- ----------------------------
  3084. -- View structure for v_hitch_passrate
  3085. -- ----------------------------
  3086. DROP VIEW IF EXISTS `v_hitch_passrate`;
  3087. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_hitch_passrate` AS select sum((case when (`p`.`GJCHECKSTATE` = '2') then 1 else 0 end)) AS `oknum`,count(1) AS `totalnum`,`p`.`PROVIDEBMCODE` AS `providebmcode` from `t_infoclass` `p` where ((`p`.`INPROCESS` = '2') and (`p`.`LATESTVERSION` = '1') and (`p`.`GJCHECKSTATE` in ('2','3'))) group by `p`.`PROVIDEBMCODE`;
  3088. -- ----------------------------
  3089. -- View structure for v_infoclass_apply_info
  3090. -- ----------------------------
  3091. DROP VIEW IF EXISTS `v_infoclass_apply_info`;
  3092. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_infoclass_apply_info` AS select distinct `p`.`ID` AS `ID`,`p`.`TINFOCLASSID` AS `TINFOCLASSID`,`q`.`INFOCODE` AS `INFOCODE`,`q`.`INFONAME` AS `infoname`,`q`.`SHAREMODETYPEID` AS `SHAREMODETYPEID`,`q`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`p`.`APPLYDEPTID` AS `APPLYDEPTID`,`p`.`APPLYDATE` AS `APPLYDATE`,`p`.`APPLYREASON` AS `APPLYREASON`,(case when (`p`.`STATE` = '2') then '审核通过' when (`p`.`STATE` = '3') then '审核不通过' when (`p`.`STATE` = '0') then '保存' when ((`p`.`TASKNAME` <> '需求方协调') and (`p`.`STATE` = '1')) then `p`.`TASKNAME` when ((`p`.`TASKNAME` = '需求方协调') and (`p`.`STATE` = '1')) then `p`.`TASKNAME` end) AS `taskname`,(case when (`p`.`STATE` = '2') then 3 when (`p`.`STATE` = '0') then 0 when ((`p`.`TASKNAME` <> '需求方协调') and (`p`.`STATE` = '1')) then 1 when ((`p`.`TASKNAME` = '需求方协调') and (`p`.`STATE` = '1')) then 2 when (`p`.`STATE` = '3') then 4 end) AS `STATE`,(case when (`z`.`PROC_INST_ID` is null) then 0 else 1 end) AS `OVERDUE` from ((`t_shareapply` `p` left join `t_infoclass` `q` on((`p`.`TINFOCLASSID` = `q`.`ID`))) left join `v_tasklist_delay` `z` on((`p`.`PROCESSID` = `z`.`PROC_INST_ID`))) where (`p`.`STATE` is not null);
  3093. -- ----------------------------
  3094. -- View structure for v_infoclass_apply_summary
  3095. -- ----------------------------
  3096. DROP VIEW IF EXISTS `v_infoclass_apply_summary`;
  3097. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_infoclass_apply_summary` AS select `a`.`share_type` AS `share_type`,`a`.`dept_id` AS `dept_id`,`a`.`apply_num` AS `apply_num`,`a`.`finish_num` AS `finish_num`,`a`.`being_num` AS `being_num`,`a`.`coordinate_num` AS `coordinate_num`,(case when (`b`.`num` > 0) then `b`.`num` else 0 end) AS `OVERDUE` from (`bp_share_view` `a` left join (select `datashare_bm_delay`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`datashare_bm_delay`.`PROVIDEBMNAME` AS `PROVIDEBMNAME`,`datashare_bm_delay`.`num` AS `num` from `datashare_bm_delay` group by `datashare_bm_delay`.`PROVIDEBMCODE`) `b` on((`a`.`dept_id` = `b`.`PROVIDEBMCODE`))) where (`a`.`share_type` = '1');
  3098. -- ----------------------------
  3099. -- View structure for v_infoclass_passrate
  3100. -- ----------------------------
  3101. DROP VIEW IF EXISTS `v_infoclass_passrate`;
  3102. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_infoclass_passrate` AS select sum((case when (`t_infoclass`.`INPROCESS` = '2') then 1 else 0 end)) AS `oknum`,count(1) AS `totalnum`,`t_infoclass`.`PROVIDEBMCODE` AS `providebmcode` from `t_infoclass` where (((`t_infoclass`.`INPROCESS` = '2') and (`t_infoclass`.`LATESTVERSION` = '1')) or ((`t_infoclass`.`INPROCESS` = '1') and (`t_infoclass`.`TASKNAME` = '编目人员修改'))) group by `t_infoclass`.`PROVIDEBMCODE`;
  3103. -- ----------------------------
  3104. -- View structure for v_infoclass_published
  3105. -- ----------------------------
  3106. DROP VIEW IF EXISTS `v_infoclass_published`;
  3107. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_infoclass_published` AS select `a`.`PROVIDEBMNAME` AS `bmmc`,`a`.`INFOCODE` AS `infocode`,`a`.`INFONAME` AS `xxlmc` from (`t_infoclass` `a` left join `t_res_classify` `b` on((`a`.`INFOTYPEID` = `b`.`RESID`))) where ((`b`.`PRESID` = '4be5df7a1876474d940be89b494677a7') and (`a`.`LATESTVERSION` = '1') and (`a`.`INPROCESS` = '2')) order by `a`.`PROVIDEBMNAME`,`a`.`INFOCODE`;
  3108. -- ----------------------------
  3109. -- View structure for v_service_apply_info
  3110. -- ----------------------------
  3111. DROP VIEW IF EXISTS `v_service_apply_info`;
  3112. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_service_apply_info` AS select distinct `p`.`taskname` AS `taskname`,`p`.`applyid` AS `applyid`,`q`.`regid` AS `regid`,`q`.`cnname` AS `cnname`,`q`.`enname` AS `enname`,`q`.`provideid` AS `provideid`,`p`.`mingchengid` AS `mingchengid`,`q`.`apicode` AS `apicode`,`p`.`createtime` AS `createtime`,`p`.`reason` AS `reason`,(case when (`p`.`inprocess` = '2') then 3 when (`p`.`inprocess` = '0') then 0 when ((`p`.`taskname` <> '需求方协调') and (`p`.`inprocess` = '1')) then 1 when ((`p`.`taskname` = '需求方协调') and (`p`.`inprocess` = '1')) then 2 when (`p`.`inprocess` = '3') then 4 end) AS `STATE`,(case when (`z`.`PROC_INST_ID` is null) then 0 else 1 end) AS `OVERDUE` from ((`t_service_applyinfo` `p` left join `t_service_reginfo` `q` on((`q`.`regid` = `p`.`reqid`))) left join `v_tasklist_delay` `z` on((`p`.`processid` = `z`.`PROC_INST_ID`))) where (`p`.`inprocess` <> '4');
  3113. -- ----------------------------
  3114. -- View structure for v_service_apply_summary
  3115. -- ----------------------------
  3116. DROP VIEW IF EXISTS `v_service_apply_summary`;
  3117. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_service_apply_summary` AS select `a`.`share_type` AS `share_type`,`a`.`dept_id` AS `dept_id`,`a`.`apply_num` AS `apply_num`,`a`.`finish_num` AS `finish_num`,`a`.`being_num` AS `being_num`,`a`.`coordinate_num` AS `coordinate_num`,(case when ((`b`.`num` > 0) and (`b`.`num` is not null)) then `b`.`num` else 0 end) AS `OVERDUE` from (`bp_share_view` `a` left join (select `serviceshare_bm_delay`.`PROVIDEBMCODE` AS `PROVIDEBMCODE`,`serviceshare_bm_delay`.`PROVIDEBMNAME` AS `PROVIDEBMNAME`,`serviceshare_bm_delay`.`num` AS `num` from `serviceshare_bm_delay` group by `serviceshare_bm_delay`.`PROVIDEBMCODE`) `b` on((`a`.`dept_id` = `b`.`PROVIDEBMCODE`))) where (`a`.`share_type` = '2');
  3118. -- ----------------------------
  3119. -- View structure for v_shareapplyintime_passrate
  3120. -- ----------------------------
  3121. DROP VIEW IF EXISTS `v_shareapplyintime_passrate`;
  3122. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_shareapplyintime_passrate` AS select sum((case when (`l`.`duration_time` > 2) then 1 else 0 end)) AS `intime`,count(1) AS `total`,`l`.`providebmcode` AS `providebmcode` from (select (select count(1) from `workcalendar` where ((date_format(`workcalendar`.`workdate`,'%Y-%m-%d') >= substr(`p`.`START_TIME_`,1,10)) and (substr(`p`.`END_TIME_`,1,10) >= date_format(`workcalendar`.`workdate`,'%Y-%m-%d')) and (`workcalendar`.`iswork` = '0'))) AS `duration_time`,`z`.`PROVIDEBMCODE` AS `providebmcode` from ((`act_hi_taskinst` `p` join `t_shareapply` `q`) join `t_infoclass` `z`) where ((`z`.`ID` = `q`.`TINFOCLASSID`) and (`p`.`PROC_DEF_ID_` like 'shareApply%') and (`p`.`NAME_` = '提供方部门审核') and (`p`.`PROC_INST_ID_` = `q`.`PROCESSID`) and (`p`.`END_TIME_` is not null))) `l` group by `l`.`providebmcode`;
  3123. -- ----------------------------
  3124. -- View structure for v_task_userid
  3125. -- ----------------------------
  3126. DROP VIEW IF EXISTS `v_task_userid`;
  3127. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_task_userid` AS select `i`.`TASK_ID_` AS `TASK_ID_`,`i`.`USER_ID_` AS `USER_ID` from (`act_ru_identitylink` `i` join `act_ru_task` `t`) where ((`i`.`TASK_ID_` is not null) and (`i`.`USER_ID_` is not null) and (`i`.`TASK_ID_` = `t`.`ID_`) and (`t`.`ASSIGNEE_` is null) and (`i`.`TYPE_` = 'candidate')) union select `i`.`TASK_ID_` AS `TASK_ID_`,`r`.`USER_ID` AS `USER_ID` from ((`act_ru_identitylink` `i` join `role_user` `r`) join `act_ru_task` `t`) where ((`i`.`TASK_ID_` is not null) and (`i`.`GROUP_ID_` is not null) and (`i`.`TASK_ID_` = `t`.`ID_`) and (`t`.`ASSIGNEE_` is null) and (`i`.`TYPE_` = 'candidate') and (`i`.`GROUP_ID_` = `r`.`ROLE_ID`));
  3128. -- ----------------------------
  3129. -- View structure for v_task_userid_last
  3130. -- ----------------------------
  3131. DROP VIEW IF EXISTS `v_task_userid_last`;
  3132. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_task_userid_last` AS select distinct `u`.`TASK_ID_` AS `TASK_ID_`,`u`.`USER_ID` AS `USER_ID` from `v_task_userid` `u`;
  3133. -- ----------------------------
  3134. -- View structure for v_tasklist
  3135. -- ----------------------------
  3136. DROP VIEW IF EXISTS `v_tasklist`;
  3137. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_tasklist` AS select `a`.`ID_` AS `task_id`,`a`.`PROC_INST_ID_` AS `proc_inst_id`,`a`.`TASK_DEF_KEY_` AS `act_id`,`a`.`NAME_` AS `act_name`,`a`.`ASSIGNEE_` AS `assignee`,`a`.`DELEGATION_` AS `delegation_id`,`a`.`DESCRIPTION_` AS `description`,date_format(`a`.`CREATE_TIME_`,'%Y-%m-%d %H:%i:%s') AS `create_time`,date_format(`a`.`DUE_DATE_`,'%Y-%m-%d %H:%i:%s') AS `due_date`,`i`.`USER_ID` AS `candidate`,`a`.`FORM_KEY_` AS `form_key` from (`act_ru_task` `a` left join `v_task_userid_last` `i` on((`a`.`ID_` = `i`.`TASK_ID_`)));
  3138. -- ----------------------------
  3139. -- View structure for v_tasklist_delay
  3140. -- ----------------------------
  3141. DROP VIEW IF EXISTS `v_tasklist_delay`;
  3142. CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `v_tasklist_delay` AS select `p`.`task_id` AS `TASK_ID`,`p`.`proc_inst_id` AS `PROC_INST_ID`,`p`.`act_id` AS `ACT_ID`,`p`.`act_name` AS `ACT_NAME`,(case when (`p`.`assignee` is null) then `p`.`candidate` else `p`.`assignee` end) AS `ASSIGNEE`,`u`.`USER_NAME` AS `USER_NAME`,`p`.`delegation_id` AS `DELEGATION_ID`,`p`.`description` AS `DESCRIPTION`,`p`.`create_time` AS `CREATE_TIME`,`p`.`due_date` AS `DUE_DATE`,`p`.`candidate` AS `CANDIDATE`,`p`.`form_key` AS `FORM_KEY` from (`v_tasklist` `p` join `userinfo` `u`) where (((`p`.`assignee` = `u`.`USER_ID`) or (`p`.`candidate` = `u`.`USER_ID`)) and ((select count(1) from `workcalendar` where ((date_format(`workcalendar`.`workdate`,'%Y-%m-%d') >= substr(`p`.`create_time`,1,10)) and (date_format(now(),'%Y-%m-%d') >= date_format(`workcalendar`.`workdate`,'%Y-%m-%d')) and (`workcalendar`.`iswork` = '0'))) >= 2));
  3143. -- ----------------------------
  3144. -- Function structure for getParentList
  3145. -- ----------------------------
  3146. DROP FUNCTION IF EXISTS `getParentList`;
  3147. delimiter ;;
  3148. CREATE FUNCTION `getParentList`(rootId varchar(100))
  3149. RETURNS varchar(1000) CHARSET utf8mb3
  3150. BEGIN
  3151. DECLARE fid varchar(100) default '';
  3152. DECLARE fname varchar(100) default '';
  3153. DECLARE str varchar(1000) default '';
  3154. WHILE rootId is not null do
  3155. SET fid =(SELECT presid FROM t_res_classify WHERE resid = rootId);
  3156. SET fname =(SELECT resname FROM t_res_classify WHERE resid = rootId);
  3157. if fname is not null THEN
  3158. if str <>'' then
  3159. SET str = concat(fname, '-',str);
  3160. else
  3161. SET str = concat(fname, '',str);
  3162. end if;
  3163. END if;
  3164. IF fid is not null THEN
  3165. SET rootId = fid;
  3166. ELSE
  3167. SET rootId = fid;
  3168. END IF;
  3169. END WHILE;
  3170. return str;
  3171. end
  3172. ;;
  3173. delimiter ;
  3174. -- ----------------------------
  3175. -- Function structure for getParentList2
  3176. -- ----------------------------
  3177. DROP FUNCTION IF EXISTS `getParentList2`;
  3178. delimiter ;;
  3179. CREATE FUNCTION `getParentList2`(rootId varchar(100))
  3180. RETURNS varchar(1000) CHARSET utf8mb3
  3181. BEGIN
  3182. DECLARE fid varchar(100) default '';
  3183. DECLARE str varchar(1000) default rootId;
  3184. WHILE rootId is not null do
  3185. SET fid =(SELECT parent_id FROM deptinfo WHERE dept_id = rootId);
  3186. IF fid is not null THEN
  3187. SET str = concat(fid, ',', str);
  3188. SET rootId = fid;
  3189. ELSE
  3190. SET rootId = fid;
  3191. END IF;
  3192. END WHILE;
  3193. return str;
  3194. END
  3195. ;;
  3196. delimiter ;
  3197. -- ----------------------------
  3198. -- Procedure structure for save_last_infoclass
  3199. -- ----------------------------
  3200. DROP PROCEDURE IF EXISTS `save_last_infoclass`;
  3201. delimiter ;;
  3202. CREATE PROCEDURE `save_last_infoclass`()
  3203. BEGIN
  3204. declare tinfoclassid varchar(100);
  3205. declare tablename varchar(100) default '';
  3206. declare dept_id varchar(100) default '';
  3207. declare up_cycle varchar(255);
  3208. declare isopen varchar(50);
  3209. declare data_type varchar(100);
  3210. declare done int default 0;
  3211. declare cur cursor for select id from t_infoclass where inprocess='2' and LATESTVERSION='1' and HITCH_STATUS='1' and XZQHCODE='120000' and infocode not like '%Q%';
  3212. declare continue handler for not found set done=1;
  3213. truncate table last_infoclass;
  3214. open cur;
  3215. fetch next from cur into tinfoclassid;
  3216. repeat
  3217. if not done then
  3218. select infocode,providebmcode,UPDATECYCLE,SHAREMODETYPE,ISOPENSOCIAL into tablename,dept_id,up_cycle,data_type,isopen from t_infoclass where id = tinfoclassid;
  3219. insert into last_infoclass(dept_id,tablename,updatecycle,sharemodetype,isopensocial,shijian) value(dept_id,concat('t_',replace(tablename,'/','_')),up_cycle,data_type,isopen,now());
  3220. end if;
  3221. fetch next from cur into tinfoclassid;
  3222. until done end repeat;
  3223. close cur;
  3224. end
  3225. ;;
  3226. delimiter ;
  3227. -- ----------------------------
  3228. -- Procedure structure for save_r_infoclass_lifeinfo
  3229. -- ----------------------------
  3230. DROP PROCEDURE IF EXISTS `save_r_infoclass_lifeinfo`;
  3231. delimiter ;;
  3232. CREATE PROCEDURE `save_r_infoclass_lifeinfo`()
  3233. BEGIN
  3234. truncate table r_infoclass_lifeinfo;
  3235. insert into r_infoclass_lifeinfo(taskstart,taskname,info_id,infocode,state,uuid,versionid) select taskstart,taskname,info_id,infocode,state,uuid,versionid from r_infoclass_lifeinfo_view;
  3236. END
  3237. ;;
  3238. delimiter ;
  3239. -- ----------------------------
  3240. -- Triggers structure for table gxwz_infoclass_catalog_rel
  3241. -- ----------------------------
  3242. DROP TRIGGER IF EXISTS `createtime_trri`;
  3243. delimiter ;;
  3244. CREATE TRIGGER `createtime_trri` BEFORE INSERT ON `gxwz_infoclass_catalog_rel` FOR EACH ROW set new.createtime=now()
  3245. ;
  3246. ;;
  3247. delimiter ;
  3248. -- ----------------------------
  3249. -- Triggers structure for table gxwz_infoclass_catalog_rel
  3250. -- ----------------------------
  3251. DROP TRIGGER IF EXISTS `updatetime_trri`;
  3252. delimiter ;;
  3253. CREATE TRIGGER `updatetime_trri` BEFORE UPDATE ON `gxwz_infoclass_catalog_rel` FOR EACH ROW set new.updatetime=now()
  3254. ;
  3255. ;;
  3256. delimiter ;
  3257. -- ----------------------------
  3258. -- Triggers structure for table t_indicators
  3259. -- ----------------------------
  3260. DROP TRIGGER IF EXISTS `tri_insertdate`;
  3261. delimiter ;;
  3262. CREATE TRIGGER `tri_insertdate` BEFORE INSERT ON `t_indicators` FOR EACH ROW set new.insertdate=DATE_FORMAT(NOW(), '%Y-%m-%d %H:%i:%S')
  3263. ;
  3264. ;;
  3265. delimiter ;
  3266. SET FOREIGN_KEY_CHECKS = 1;