ruoyi-vue-pro.sql 406 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 127.0.0.1 PostgreSQL
  4. Source Server Type : PostgreSQL
  5. Source Server Version : 140002
  6. Source Host : 127.0.0.1:5432
  7. Source Catalog : ruoyi-vue-pro
  8. Source Schema : public
  9. Target Server Type : PostgreSQL
  10. Target Server Version : 140002
  11. File Encoding : 65001
  12. Date: 28/07/2022 23:48:10
  13. */
  14. -- ----------------------------
  15. -- Sequence structure for bpm_form_seq
  16. -- ----------------------------
  17. DROP SEQUENCE IF EXISTS "bpm_form_seq";
  18. CREATE SEQUENCE "bpm_form_seq"
  19. INCREMENT 1
  20. MAXVALUE 9223372036854775807
  21. CACHE 1;
  22. -- ----------------------------
  23. -- Sequence structure for bpm_oa_leave_seq
  24. -- ----------------------------
  25. DROP SEQUENCE IF EXISTS "bpm_oa_leave_seq";
  26. CREATE SEQUENCE "bpm_oa_leave_seq"
  27. INCREMENT 1
  28. MAXVALUE 9223372036854775807
  29. CACHE 1;
  30. -- ----------------------------
  31. -- Sequence structure for bpm_process_definition_ext_seq
  32. -- ----------------------------
  33. DROP SEQUENCE IF EXISTS "bpm_process_definition_ext_seq";
  34. CREATE SEQUENCE "bpm_process_definition_ext_seq"
  35. INCREMENT 1
  36. MAXVALUE 9223372036854775807
  37. CACHE 1;
  38. -- ----------------------------
  39. -- Sequence structure for bpm_process_instance_ext_seq
  40. -- ----------------------------
  41. DROP SEQUENCE IF EXISTS "bpm_process_instance_ext_seq";
  42. CREATE SEQUENCE "bpm_process_instance_ext_seq"
  43. INCREMENT 1
  44. MAXVALUE 9223372036854775807
  45. CACHE 1;
  46. -- ----------------------------
  47. -- Sequence structure for bpm_task_assign_rule_seq
  48. -- ----------------------------
  49. DROP SEQUENCE IF EXISTS "bpm_task_assign_rule_seq";
  50. CREATE SEQUENCE "bpm_task_assign_rule_seq"
  51. INCREMENT 1
  52. MAXVALUE 9223372036854775807
  53. CACHE 1;
  54. -- ----------------------------
  55. -- Sequence structure for bpm_task_ext_seq
  56. -- ----------------------------
  57. DROP SEQUENCE IF EXISTS "bpm_task_ext_seq";
  58. CREATE SEQUENCE "bpm_task_ext_seq"
  59. INCREMENT 1
  60. MAXVALUE 9223372036854775807
  61. CACHE 1;
  62. -- ----------------------------
  63. -- Sequence structure for bpm_user_group_seq
  64. -- ----------------------------
  65. DROP SEQUENCE IF EXISTS "bpm_user_group_seq";
  66. CREATE SEQUENCE "bpm_user_group_seq"
  67. INCREMENT 1
  68. MAXVALUE 9223372036854775807
  69. CACHE 1;
  70. -- ----------------------------
  71. -- Sequence structure for infra_api_access_log_seq
  72. -- ----------------------------
  73. DROP SEQUENCE IF EXISTS "infra_api_access_log_seq";
  74. CREATE SEQUENCE "infra_api_access_log_seq"
  75. INCREMENT 1
  76. MAXVALUE 9223372036854775807
  77. CACHE 1;
  78. -- ----------------------------
  79. -- Sequence structure for infra_api_error_log_seq
  80. -- ----------------------------
  81. DROP SEQUENCE IF EXISTS "infra_api_error_log_seq";
  82. CREATE SEQUENCE "infra_api_error_log_seq"
  83. INCREMENT 1
  84. MAXVALUE 9223372036854775807
  85. CACHE 1;
  86. -- ----------------------------
  87. -- Sequence structure for infra_codegen_column_seq
  88. -- ----------------------------
  89. DROP SEQUENCE IF EXISTS "infra_codegen_column_seq";
  90. CREATE SEQUENCE "infra_codegen_column_seq"
  91. INCREMENT 1
  92. MAXVALUE 9223372036854775807
  93. CACHE 1;
  94. -- ----------------------------
  95. -- Sequence structure for infra_codegen_table_seq
  96. -- ----------------------------
  97. DROP SEQUENCE IF EXISTS "infra_codegen_table_seq";
  98. CREATE SEQUENCE "infra_codegen_table_seq"
  99. INCREMENT 1
  100. MAXVALUE 9223372036854775807
  101. CACHE 1;
  102. -- ----------------------------
  103. -- Sequence structure for infra_config_seq
  104. -- ----------------------------
  105. DROP SEQUENCE IF EXISTS "infra_config_seq";
  106. CREATE SEQUENCE "infra_config_seq"
  107. INCREMENT 1
  108. MAXVALUE 9223372036854775807
  109. CACHE 1;
  110. -- ----------------------------
  111. -- Sequence structure for infra_data_source_config_seq
  112. -- ----------------------------
  113. DROP SEQUENCE IF EXISTS "infra_data_source_config_seq";
  114. CREATE SEQUENCE "infra_data_source_config_seq"
  115. INCREMENT 1
  116. MAXVALUE 9223372036854775807
  117. CACHE 1;
  118. -- ----------------------------
  119. -- Sequence structure for infra_file_config_seq
  120. -- ----------------------------
  121. DROP SEQUENCE IF EXISTS "infra_file_config_seq";
  122. CREATE SEQUENCE "infra_file_config_seq"
  123. INCREMENT 1
  124. MAXVALUE 9223372036854775807
  125. CACHE 1;
  126. -- ----------------------------
  127. -- Sequence structure for infra_file_content_seq
  128. -- ----------------------------
  129. DROP SEQUENCE IF EXISTS "infra_file_content_seq";
  130. CREATE SEQUENCE "infra_file_content_seq"
  131. INCREMENT 1
  132. MAXVALUE 9223372036854775807
  133. CACHE 1;
  134. -- ----------------------------
  135. -- Sequence structure for infra_file_seq
  136. -- ----------------------------
  137. DROP SEQUENCE IF EXISTS "infra_file_seq";
  138. CREATE SEQUENCE "infra_file_seq"
  139. INCREMENT 1
  140. MAXVALUE 9223372036854775807
  141. CACHE 1;
  142. -- ----------------------------
  143. -- Sequence structure for infra_job_log_seq
  144. -- ----------------------------
  145. DROP SEQUENCE IF EXISTS "infra_job_log_seq";
  146. CREATE SEQUENCE "infra_job_log_seq"
  147. INCREMENT 1
  148. MAXVALUE 9223372036854775807
  149. CACHE 1;
  150. -- ----------------------------
  151. -- Sequence structure for infra_job_seq
  152. -- ----------------------------
  153. DROP SEQUENCE IF EXISTS "infra_job_seq";
  154. CREATE SEQUENCE "infra_job_seq"
  155. INCREMENT 1
  156. MAXVALUE 9223372036854775807
  157. CACHE 1;
  158. -- ----------------------------
  159. -- Sequence structure for infra_test_demo_seq
  160. -- ----------------------------
  161. DROP SEQUENCE IF EXISTS "infra_test_demo_seq";
  162. CREATE SEQUENCE "infra_test_demo_seq"
  163. INCREMENT 1
  164. MAXVALUE 9223372036854775807
  165. CACHE 1;
  166. -- ----------------------------
  167. -- Sequence structure for member_user_seq
  168. -- ----------------------------
  169. DROP SEQUENCE IF EXISTS "member_user_seq";
  170. CREATE SEQUENCE "member_user_seq"
  171. INCREMENT 1
  172. MAXVALUE 9223372036854775807
  173. CACHE 1;
  174. -- ----------------------------
  175. -- Sequence structure for pay_app_seq
  176. -- ----------------------------
  177. DROP SEQUENCE IF EXISTS "pay_app_seq";
  178. CREATE SEQUENCE "pay_app_seq"
  179. INCREMENT 1
  180. MAXVALUE 9223372036854775807
  181. CACHE 1;
  182. -- ----------------------------
  183. -- Sequence structure for pay_channel_seq
  184. -- ----------------------------
  185. DROP SEQUENCE IF EXISTS "pay_channel_seq";
  186. CREATE SEQUENCE "pay_channel_seq"
  187. INCREMENT 1
  188. MAXVALUE 9223372036854775807
  189. CACHE 1;
  190. -- ----------------------------
  191. -- Sequence structure for pay_merchant_seq
  192. -- ----------------------------
  193. DROP SEQUENCE IF EXISTS "pay_merchant_seq";
  194. CREATE SEQUENCE "pay_merchant_seq"
  195. INCREMENT 1
  196. MAXVALUE 9223372036854775807
  197. CACHE 1;
  198. -- ----------------------------
  199. -- Sequence structure for pay_notify_log_seq
  200. -- ----------------------------
  201. DROP SEQUENCE IF EXISTS "pay_notify_log_seq";
  202. CREATE SEQUENCE "pay_notify_log_seq"
  203. INCREMENT 1
  204. MAXVALUE 9223372036854775807
  205. CACHE 1;
  206. -- ----------------------------
  207. -- Sequence structure for pay_notify_task_seq
  208. -- ----------------------------
  209. DROP SEQUENCE IF EXISTS "pay_notify_task_seq";
  210. CREATE SEQUENCE "pay_notify_task_seq"
  211. INCREMENT 1
  212. MAXVALUE 9223372036854775807
  213. CACHE 1;
  214. -- ----------------------------
  215. -- Sequence structure for pay_order_extension_seq
  216. -- ----------------------------
  217. DROP SEQUENCE IF EXISTS "pay_order_extension_seq";
  218. CREATE SEQUENCE "pay_order_extension_seq"
  219. INCREMENT 1
  220. MAXVALUE 9223372036854775807
  221. CACHE 1;
  222. -- ----------------------------
  223. -- Sequence structure for pay_order_seq
  224. -- ----------------------------
  225. DROP SEQUENCE IF EXISTS "pay_order_seq";
  226. CREATE SEQUENCE "pay_order_seq"
  227. INCREMENT 1
  228. MAXVALUE 9223372036854775807
  229. CACHE 1;
  230. -- ----------------------------
  231. -- Sequence structure for pay_refund_seq
  232. -- ----------------------------
  233. DROP SEQUENCE IF EXISTS "pay_refund_seq";
  234. CREATE SEQUENCE "pay_refund_seq"
  235. INCREMENT 1
  236. MAXVALUE 9223372036854775807
  237. CACHE 1;
  238. -- ----------------------------
  239. -- Sequence structure for system_dept_seq
  240. -- ----------------------------
  241. DROP SEQUENCE IF EXISTS "system_dept_seq";
  242. CREATE SEQUENCE "system_dept_seq"
  243. INCREMENT 1
  244. MAXVALUE 9223372036854775807
  245. CACHE 1;
  246. -- ----------------------------
  247. -- Sequence structure for system_dict_data_seq
  248. -- ----------------------------
  249. DROP SEQUENCE IF EXISTS "system_dict_data_seq";
  250. CREATE SEQUENCE "system_dict_data_seq"
  251. INCREMENT 1
  252. MAXVALUE 9223372036854775807
  253. CACHE 1;
  254. -- ----------------------------
  255. -- Sequence structure for system_dict_type_seq
  256. -- ----------------------------
  257. DROP SEQUENCE IF EXISTS "system_dict_type_seq";
  258. CREATE SEQUENCE "system_dict_type_seq"
  259. INCREMENT 1
  260. MAXVALUE 9223372036854775807
  261. CACHE 1;
  262. -- ----------------------------
  263. -- Sequence structure for system_error_code_seq
  264. -- ----------------------------
  265. DROP SEQUENCE IF EXISTS "system_error_code_seq";
  266. CREATE SEQUENCE "system_error_code_seq"
  267. INCREMENT 1
  268. MAXVALUE 9223372036854775807
  269. CACHE 1;
  270. -- ----------------------------
  271. -- Sequence structure for system_login_log_seq
  272. -- ----------------------------
  273. DROP SEQUENCE IF EXISTS "system_login_log_seq";
  274. CREATE SEQUENCE "system_login_log_seq"
  275. INCREMENT 1
  276. MAXVALUE 9223372036854775807
  277. CACHE 1;
  278. -- ----------------------------
  279. -- Sequence structure for system_menu_seq
  280. -- ----------------------------
  281. DROP SEQUENCE IF EXISTS "system_menu_seq";
  282. CREATE SEQUENCE "system_menu_seq"
  283. INCREMENT 1
  284. MAXVALUE 9223372036854775807
  285. CACHE 1;
  286. -- ----------------------------
  287. -- Sequence structure for system_notice_seq
  288. -- ----------------------------
  289. DROP SEQUENCE IF EXISTS "system_notice_seq";
  290. CREATE SEQUENCE "system_notice_seq"
  291. INCREMENT 1
  292. MAXVALUE 9223372036854775807
  293. CACHE 1;
  294. -- ----------------------------
  295. -- Sequence structure for system_oauth2_access_token_seq
  296. -- ----------------------------
  297. DROP SEQUENCE IF EXISTS "system_oauth2_access_token_seq";
  298. CREATE SEQUENCE "system_oauth2_access_token_seq"
  299. INCREMENT 1
  300. MINVALUE 1
  301. MAXVALUE 9223372036854775807
  302. START 1
  303. CACHE 1;
  304. -- ----------------------------
  305. -- Sequence structure for system_oauth2_approve_seq
  306. -- ----------------------------
  307. DROP SEQUENCE IF EXISTS "system_oauth2_approve_seq";
  308. CREATE SEQUENCE "system_oauth2_approve_seq"
  309. INCREMENT 1
  310. MINVALUE 1
  311. MAXVALUE 9223372036854775807
  312. START 1
  313. CACHE 1;
  314. -- ----------------------------
  315. -- Sequence structure for system_oauth2_client_seq
  316. -- ----------------------------
  317. DROP SEQUENCE IF EXISTS "system_oauth2_client_seq";
  318. CREATE SEQUENCE "system_oauth2_client_seq"
  319. INCREMENT 1
  320. MINVALUE 1
  321. MAXVALUE 9223372036854775807
  322. START 1
  323. CACHE 1;
  324. -- ----------------------------
  325. -- Sequence structure for system_oauth2_code_seq
  326. -- ----------------------------
  327. DROP SEQUENCE IF EXISTS "system_oauth2_code_seq";
  328. CREATE SEQUENCE "system_oauth2_code_seq"
  329. INCREMENT 1
  330. MINVALUE 1
  331. MAXVALUE 9223372036854775807
  332. START 1
  333. CACHE 1;
  334. -- ----------------------------
  335. -- Sequence structure for system_oauth2_refresh_token_seq
  336. -- ----------------------------
  337. DROP SEQUENCE IF EXISTS "system_oauth2_refresh_token_seq";
  338. CREATE SEQUENCE "system_oauth2_refresh_token_seq"
  339. INCREMENT 1
  340. MINVALUE 1
  341. MAXVALUE 9223372036854775807
  342. START 1
  343. CACHE 1;
  344. -- ----------------------------
  345. -- Sequence structure for system_operate_log_seq
  346. -- ----------------------------
  347. DROP SEQUENCE IF EXISTS "system_operate_log_seq";
  348. CREATE SEQUENCE "system_operate_log_seq"
  349. INCREMENT 1
  350. MAXVALUE 9223372036854775807
  351. CACHE 1;
  352. -- ----------------------------
  353. -- Sequence structure for system_post_seq
  354. -- ----------------------------
  355. DROP SEQUENCE IF EXISTS "system_post_seq";
  356. CREATE SEQUENCE "system_post_seq"
  357. INCREMENT 1
  358. MAXVALUE 9223372036854775807
  359. CACHE 1;
  360. -- ----------------------------
  361. -- Sequence structure for system_role_menu_seq
  362. -- ----------------------------
  363. DROP SEQUENCE IF EXISTS "system_role_menu_seq";
  364. CREATE SEQUENCE "system_role_menu_seq"
  365. INCREMENT 1
  366. MAXVALUE 9223372036854775807
  367. CACHE 1;
  368. -- ----------------------------
  369. -- Sequence structure for system_role_seq
  370. -- ----------------------------
  371. DROP SEQUENCE IF EXISTS "system_role_seq";
  372. CREATE SEQUENCE "system_role_seq"
  373. INCREMENT 1
  374. MAXVALUE 9223372036854775807
  375. CACHE 1;
  376. -- ----------------------------
  377. -- Sequence structure for system_sensitive_word_seq
  378. -- ----------------------------
  379. DROP SEQUENCE IF EXISTS "system_sensitive_word_seq";
  380. CREATE SEQUENCE "system_sensitive_word_seq"
  381. INCREMENT 1
  382. MAXVALUE 9223372036854775807
  383. CACHE 1;
  384. -- ----------------------------
  385. -- Sequence structure for system_sms_channel_seq
  386. -- ----------------------------
  387. DROP SEQUENCE IF EXISTS "system_sms_channel_seq";
  388. CREATE SEQUENCE "system_sms_channel_seq"
  389. INCREMENT 1
  390. MAXVALUE 9223372036854775807
  391. CACHE 1;
  392. -- ----------------------------
  393. -- Sequence structure for system_sms_code_seq
  394. -- ----------------------------
  395. DROP SEQUENCE IF EXISTS "system_sms_code_seq";
  396. CREATE SEQUENCE "system_sms_code_seq"
  397. INCREMENT 1
  398. MAXVALUE 9223372036854775807
  399. CACHE 1;
  400. -- ----------------------------
  401. -- Sequence structure for system_sms_log_seq
  402. -- ----------------------------
  403. DROP SEQUENCE IF EXISTS "system_sms_log_seq";
  404. CREATE SEQUENCE "system_sms_log_seq"
  405. INCREMENT 1
  406. MAXVALUE 9223372036854775807
  407. CACHE 1;
  408. -- ----------------------------
  409. -- Sequence structure for system_sms_template_seq
  410. -- ----------------------------
  411. DROP SEQUENCE IF EXISTS "system_sms_template_seq";
  412. CREATE SEQUENCE "system_sms_template_seq"
  413. INCREMENT 1
  414. MAXVALUE 9223372036854775807
  415. CACHE 1;
  416. -- ----------------------------
  417. -- Sequence structure for system_social_user_bind_seq
  418. -- ----------------------------
  419. DROP SEQUENCE IF EXISTS "system_social_user_bind_seq";
  420. CREATE SEQUENCE "system_social_user_bind_seq"
  421. INCREMENT 1
  422. MAXVALUE 9223372036854775807
  423. CACHE 1;
  424. -- ----------------------------
  425. -- Sequence structure for system_social_user_seq
  426. -- ----------------------------
  427. DROP SEQUENCE IF EXISTS "system_social_user_seq";
  428. CREATE SEQUENCE "system_social_user_seq"
  429. INCREMENT 1
  430. MAXVALUE 9223372036854775807
  431. CACHE 1;
  432. -- ----------------------------
  433. -- Sequence structure for system_tenant_package_seq
  434. -- ----------------------------
  435. DROP SEQUENCE IF EXISTS "system_tenant_package_seq";
  436. CREATE SEQUENCE "system_tenant_package_seq"
  437. INCREMENT 1
  438. MAXVALUE 9223372036854775807
  439. CACHE 1;
  440. -- ----------------------------
  441. -- Sequence structure for system_tenant_seq
  442. -- ----------------------------
  443. DROP SEQUENCE IF EXISTS "system_tenant_seq";
  444. CREATE SEQUENCE "system_tenant_seq"
  445. INCREMENT 1
  446. MAXVALUE 9223372036854775807
  447. CACHE 1;
  448. -- ----------------------------
  449. -- Sequence structure for system_user_post_seq
  450. -- ----------------------------
  451. DROP SEQUENCE IF EXISTS "system_user_post_seq";
  452. CREATE SEQUENCE "system_user_post_seq"
  453. INCREMENT 1
  454. MAXVALUE 9223372036854775807
  455. CACHE 1;
  456. -- ----------------------------
  457. -- Sequence structure for system_user_role_seq
  458. -- ----------------------------
  459. DROP SEQUENCE IF EXISTS "system_user_role_seq";
  460. CREATE SEQUENCE "system_user_role_seq"
  461. INCREMENT 1
  462. MAXVALUE 9223372036854775807
  463. CACHE 1;
  464. -- ----------------------------
  465. -- Sequence structure for system_user_seq
  466. -- ----------------------------
  467. DROP SEQUENCE IF EXISTS "system_user_seq";
  468. CREATE SEQUENCE "system_user_seq"
  469. INCREMENT 1
  470. MAXVALUE 9223372036854775807
  471. CACHE 1;
  472. -- ----------------------------
  473. -- Sequence structure for system_mail_account_seq
  474. -- ----------------------------
  475. DROP SEQUENCE IF EXISTS "system_mail_account_seq";
  476. CREATE SEQUENCE "system_mail_account_seq"
  477. INCREMENT 1
  478. MAXVALUE 9223372036854775807
  479. CACHE 1;
  480. -- ----------------------------
  481. -- Sequence structure for system_mail_log_seq
  482. -- ----------------------------
  483. DROP SEQUENCE IF EXISTS "system_mail_log_seq";
  484. CREATE SEQUENCE "system_mail_log_seq"
  485. INCREMENT 1
  486. MAXVALUE 9223372036854775807
  487. CACHE 1;
  488. -- ----------------------------
  489. -- Sequence structure for system_mail_template_seq
  490. -- ----------------------------
  491. DROP SEQUENCE IF EXISTS "system_mail_template_seq";
  492. CREATE SEQUENCE "system_mail_template_seq"
  493. INCREMENT 1
  494. MAXVALUE 9223372036854775807
  495. CACHE 1;
  496. -- ----------------------------
  497. -- Sequence structure for system_notify_message_seq
  498. -- ----------------------------
  499. DROP SEQUENCE IF EXISTS "system_notify_message_seq";
  500. CREATE SEQUENCE "system_notify_message_seq"
  501. INCREMENT 1
  502. MAXVALUE 9223372036854775807
  503. CACHE 1;
  504. -- ----------------------------
  505. -- Sequence structure for system_notify_template_seq
  506. -- ----------------------------
  507. DROP SEQUENCE IF EXISTS "system_notify_template_seq";
  508. CREATE SEQUENCE "system_notify_template_seq"
  509. INCREMENT 1
  510. MAXVALUE 9223372036854775807
  511. CACHE 1;
  512. -- ----------------------------
  513. -- Sequence structure for system_user_session_seq
  514. -- ----------------------------
  515. DROP SEQUENCE IF EXISTS "system_user_session_seq";
  516. CREATE SEQUENCE "system_user_session_seq"
  517. INCREMENT 1
  518. MAXVALUE 9223372036854775807
  519. CACHE 1;
  520. -- ----------------------------
  521. -- Table structure for bpm_form
  522. -- ----------------------------
  523. DROP TABLE IF EXISTS "bpm_form";
  524. CREATE TABLE "bpm_form" (
  525. "id" int8 NOT NULL,
  526. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  527. "status" int2 NOT NULL,
  528. "conf" varchar(1000) COLLATE "pg_catalog"."default" NOT NULL,
  529. "fields" varchar(5000) COLLATE "pg_catalog"."default" NOT NULL,
  530. "remark" varchar(255) COLLATE "pg_catalog"."default",
  531. "creator" varchar(64) COLLATE "pg_catalog"."default",
  532. "create_time" timestamp(6) NOT NULL,
  533. "updater" varchar(64) COLLATE "pg_catalog"."default",
  534. "update_time" timestamp(6) NOT NULL,
  535. "deleted" int2 NOT NULL DEFAULT 0,
  536. "tenant_id" int8 NOT NULL DEFAULT 0
  537. )
  538. ;
  539. COMMENT ON COLUMN "bpm_form"."id" IS '编号';
  540. COMMENT ON COLUMN "bpm_form"."name" IS '表单名';
  541. COMMENT ON COLUMN "bpm_form"."status" IS '开启状态';
  542. COMMENT ON COLUMN "bpm_form"."conf" IS '表单的配置';
  543. COMMENT ON COLUMN "bpm_form"."fields" IS '表单项的数组';
  544. COMMENT ON COLUMN "bpm_form"."remark" IS '备注';
  545. COMMENT ON COLUMN "bpm_form"."creator" IS '创建者';
  546. COMMENT ON COLUMN "bpm_form"."create_time" IS '创建时间';
  547. COMMENT ON COLUMN "bpm_form"."updater" IS '更新者';
  548. COMMENT ON COLUMN "bpm_form"."update_time" IS '更新时间';
  549. COMMENT ON COLUMN "bpm_form"."deleted" IS '是否删除';
  550. COMMENT ON COLUMN "bpm_form"."tenant_id" IS '租户编号';
  551. COMMENT ON TABLE "bpm_form" IS '工作流的表单定义';
  552. -- ----------------------------
  553. -- Records of bpm_form
  554. -- ----------------------------
  555. BEGIN;
  556. COMMIT;
  557. -- ----------------------------
  558. -- Table structure for bpm_oa_leave
  559. -- ----------------------------
  560. DROP TABLE IF EXISTS "bpm_oa_leave";
  561. CREATE TABLE "bpm_oa_leave" (
  562. "id" int8 NOT NULL,
  563. "user_id" int8 NOT NULL,
  564. "type" int2 NOT NULL,
  565. "reason" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  566. "start_time" timestamp(6) NOT NULL,
  567. "end_time" timestamp(6) NOT NULL,
  568. "day" int2 NOT NULL,
  569. "result" int2 NOT NULL,
  570. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default",
  571. "creator" varchar(64) COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
  572. "create_time" timestamp(6) NOT NULL,
  573. "updater" varchar(64) COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
  574. "update_time" timestamp(6) NOT NULL,
  575. "deleted" int2 NOT NULL DEFAULT 0,
  576. "tenant_id" int8 NOT NULL DEFAULT 0
  577. )
  578. ;
  579. COMMENT ON COLUMN "bpm_oa_leave"."id" IS '请假表单主键';
  580. COMMENT ON COLUMN "bpm_oa_leave"."user_id" IS '申请人的用户编号';
  581. COMMENT ON COLUMN "bpm_oa_leave"."type" IS '请假类型';
  582. COMMENT ON COLUMN "bpm_oa_leave"."reason" IS '请假原因';
  583. COMMENT ON COLUMN "bpm_oa_leave"."start_time" IS '开始时间';
  584. COMMENT ON COLUMN "bpm_oa_leave"."end_time" IS '结束时间';
  585. COMMENT ON COLUMN "bpm_oa_leave"."day" IS '请假天数';
  586. COMMENT ON COLUMN "bpm_oa_leave"."result" IS '请假结果';
  587. COMMENT ON COLUMN "bpm_oa_leave"."process_instance_id" IS '流程实例的编号';
  588. COMMENT ON COLUMN "bpm_oa_leave"."creator" IS '创建者';
  589. COMMENT ON COLUMN "bpm_oa_leave"."create_time" IS '创建时间';
  590. COMMENT ON COLUMN "bpm_oa_leave"."updater" IS '更新者';
  591. COMMENT ON COLUMN "bpm_oa_leave"."update_time" IS '更新时间';
  592. COMMENT ON COLUMN "bpm_oa_leave"."deleted" IS '是否删除';
  593. COMMENT ON COLUMN "bpm_oa_leave"."tenant_id" IS '租户编号';
  594. COMMENT ON TABLE "bpm_oa_leave" IS 'OA 请假申请表';
  595. -- ----------------------------
  596. -- Records of bpm_oa_leave
  597. -- ----------------------------
  598. BEGIN;
  599. COMMIT;
  600. -- ----------------------------
  601. -- Table structure for bpm_process_definition_ext
  602. -- ----------------------------
  603. DROP TABLE IF EXISTS "bpm_process_definition_ext";
  604. CREATE TABLE "bpm_process_definition_ext" (
  605. "id" int8 NOT NULL,
  606. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  607. "model_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  608. "description" varchar(255) COLLATE "pg_catalog"."default",
  609. "form_type" int2 NOT NULL,
  610. "form_id" int8,
  611. "form_conf" varchar(1000) COLLATE "pg_catalog"."default",
  612. "form_fields" varchar(5000) COLLATE "pg_catalog"."default",
  613. "form_custom_create_path" varchar(255) COLLATE "pg_catalog"."default",
  614. "form_custom_view_path" varchar(255) COLLATE "pg_catalog"."default",
  615. "creator" varchar(64) COLLATE "pg_catalog"."default",
  616. "create_time" timestamp(6) NOT NULL,
  617. "updater" varchar(64) COLLATE "pg_catalog"."default",
  618. "update_time" timestamp(6) NOT NULL,
  619. "deleted" int2 NOT NULL DEFAULT 0,
  620. "tenant_id" int8 NOT NULL DEFAULT 0
  621. )
  622. ;
  623. COMMENT ON COLUMN "bpm_process_definition_ext"."id" IS '编号';
  624. COMMENT ON COLUMN "bpm_process_definition_ext"."process_definition_id" IS '流程定义的编号';
  625. COMMENT ON COLUMN "bpm_process_definition_ext"."model_id" IS '流程模型的编号';
  626. COMMENT ON COLUMN "bpm_process_definition_ext"."description" IS '描述';
  627. COMMENT ON COLUMN "bpm_process_definition_ext"."form_type" IS '表单类型';
  628. COMMENT ON COLUMN "bpm_process_definition_ext"."form_id" IS '表单编号';
  629. COMMENT ON COLUMN "bpm_process_definition_ext"."form_conf" IS '表单的配置';
  630. COMMENT ON COLUMN "bpm_process_definition_ext"."form_fields" IS '表单项的数组';
  631. COMMENT ON COLUMN "bpm_process_definition_ext"."form_custom_create_path" IS '自定义表单的提交路径';
  632. COMMENT ON COLUMN "bpm_process_definition_ext"."form_custom_view_path" IS '自定义表单的查看路径';
  633. COMMENT ON COLUMN "bpm_process_definition_ext"."creator" IS '创建者';
  634. COMMENT ON COLUMN "bpm_process_definition_ext"."create_time" IS '创建时间';
  635. COMMENT ON COLUMN "bpm_process_definition_ext"."updater" IS '更新者';
  636. COMMENT ON COLUMN "bpm_process_definition_ext"."update_time" IS '更新时间';
  637. COMMENT ON COLUMN "bpm_process_definition_ext"."deleted" IS '是否删除';
  638. COMMENT ON COLUMN "bpm_process_definition_ext"."tenant_id" IS '租户编号';
  639. COMMENT ON TABLE "bpm_process_definition_ext" IS 'Bpm 流程定义的拓展表
  640. ';
  641. -- ----------------------------
  642. -- Records of bpm_process_definition_ext
  643. -- ----------------------------
  644. BEGIN;
  645. COMMIT;
  646. -- ----------------------------
  647. -- Table structure for bpm_process_instance_ext
  648. -- ----------------------------
  649. DROP TABLE IF EXISTS "bpm_process_instance_ext";
  650. CREATE TABLE "bpm_process_instance_ext" (
  651. "id" int8 NOT NULL,
  652. "start_user_id" int8 NOT NULL,
  653. "name" varchar(64) COLLATE "pg_catalog"."default",
  654. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  655. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  656. "category" varchar(64) COLLATE "pg_catalog"."default",
  657. "status" int2 NOT NULL,
  658. "result" int2 NOT NULL,
  659. "end_time" timestamp(6),
  660. "form_variables" varchar(5000) COLLATE "pg_catalog"."default",
  661. "creator" varchar(64) COLLATE "pg_catalog"."default",
  662. "create_time" timestamp(6) NOT NULL,
  663. "updater" varchar(64) COLLATE "pg_catalog"."default",
  664. "update_time" timestamp(6) NOT NULL,
  665. "deleted" int2 NOT NULL DEFAULT 0,
  666. "tenant_id" int8 NOT NULL DEFAULT 0
  667. )
  668. ;
  669. COMMENT ON COLUMN "bpm_process_instance_ext"."id" IS '编号';
  670. COMMENT ON COLUMN "bpm_process_instance_ext"."start_user_id" IS '发起流程的用户编号';
  671. COMMENT ON COLUMN "bpm_process_instance_ext"."name" IS '流程实例的名字';
  672. COMMENT ON COLUMN "bpm_process_instance_ext"."process_instance_id" IS '流程实例的编号';
  673. COMMENT ON COLUMN "bpm_process_instance_ext"."process_definition_id" IS '流程定义的编号';
  674. COMMENT ON COLUMN "bpm_process_instance_ext"."category" IS '流程分类';
  675. COMMENT ON COLUMN "bpm_process_instance_ext"."status" IS '流程实例的状态';
  676. COMMENT ON COLUMN "bpm_process_instance_ext"."result" IS '流程实例的结果';
  677. COMMENT ON COLUMN "bpm_process_instance_ext"."end_time" IS '结束时间';
  678. COMMENT ON COLUMN "bpm_process_instance_ext"."form_variables" IS '表单值';
  679. COMMENT ON COLUMN "bpm_process_instance_ext"."creator" IS '创建者';
  680. COMMENT ON COLUMN "bpm_process_instance_ext"."create_time" IS '创建时间';
  681. COMMENT ON COLUMN "bpm_process_instance_ext"."updater" IS '更新者';
  682. COMMENT ON COLUMN "bpm_process_instance_ext"."update_time" IS '更新时间';
  683. COMMENT ON COLUMN "bpm_process_instance_ext"."deleted" IS '是否删除';
  684. COMMENT ON COLUMN "bpm_process_instance_ext"."tenant_id" IS '租户编号';
  685. COMMENT ON TABLE "bpm_process_instance_ext" IS '工作流的流程实例的拓展';
  686. -- ----------------------------
  687. -- Records of bpm_process_instance_ext
  688. -- ----------------------------
  689. BEGIN;
  690. COMMIT;
  691. -- ----------------------------
  692. -- Table structure for bpm_task_assign_rule
  693. -- ----------------------------
  694. DROP TABLE IF EXISTS "bpm_task_assign_rule";
  695. CREATE TABLE "bpm_task_assign_rule" (
  696. "id" int8 NOT NULL,
  697. "model_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  698. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  699. "task_definition_key" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  700. "type" int2 NOT NULL,
  701. "options" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  702. "creator" varchar(64) COLLATE "pg_catalog"."default",
  703. "create_time" timestamp(6) NOT NULL,
  704. "updater" varchar(64) COLLATE "pg_catalog"."default",
  705. "update_time" timestamp(6) NOT NULL,
  706. "deleted" int2 NOT NULL DEFAULT 0,
  707. "tenant_id" int8 NOT NULL DEFAULT 0
  708. )
  709. ;
  710. COMMENT ON COLUMN "bpm_task_assign_rule"."id" IS '编号';
  711. COMMENT ON COLUMN "bpm_task_assign_rule"."model_id" IS '流程模型的编号';
  712. COMMENT ON COLUMN "bpm_task_assign_rule"."process_definition_id" IS '流程定义的编号';
  713. COMMENT ON COLUMN "bpm_task_assign_rule"."task_definition_key" IS '流程任务定义的 key';
  714. COMMENT ON COLUMN "bpm_task_assign_rule"."type" IS '规则类型';
  715. COMMENT ON COLUMN "bpm_task_assign_rule"."options" IS '规则值,JSON 数组';
  716. COMMENT ON COLUMN "bpm_task_assign_rule"."creator" IS '创建者';
  717. COMMENT ON COLUMN "bpm_task_assign_rule"."create_time" IS '创建时间';
  718. COMMENT ON COLUMN "bpm_task_assign_rule"."updater" IS '更新者';
  719. COMMENT ON COLUMN "bpm_task_assign_rule"."update_time" IS '更新时间';
  720. COMMENT ON COLUMN "bpm_task_assign_rule"."deleted" IS '是否删除';
  721. COMMENT ON COLUMN "bpm_task_assign_rule"."tenant_id" IS '租户编号';
  722. COMMENT ON TABLE "bpm_task_assign_rule" IS 'Bpm 任务规则表';
  723. -- ----------------------------
  724. -- Records of bpm_task_assign_rule
  725. -- ----------------------------
  726. BEGIN;
  727. COMMIT;
  728. -- ----------------------------
  729. -- Table structure for bpm_task_ext
  730. -- ----------------------------
  731. DROP TABLE IF EXISTS "bpm_task_ext";
  732. CREATE TABLE "bpm_task_ext" (
  733. "id" int8 NOT NULL,
  734. "assignee_user_id" int8,
  735. "name" varchar(64) COLLATE "pg_catalog"."default",
  736. "task_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  737. "result" int2 NOT NULL,
  738. "reason" varchar(255) COLLATE "pg_catalog"."default",
  739. "end_time" timestamp(6),
  740. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  741. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  742. "creator" varchar(64) COLLATE "pg_catalog"."default",
  743. "create_time" timestamp(6) NOT NULL,
  744. "updater" varchar(64) COLLATE "pg_catalog"."default",
  745. "update_time" timestamp(6) NOT NULL,
  746. "deleted" int2 NOT NULL DEFAULT 0,
  747. "tenant_id" int8 NOT NULL DEFAULT 0
  748. )
  749. ;
  750. COMMENT ON COLUMN "bpm_task_ext"."id" IS '编号';
  751. COMMENT ON COLUMN "bpm_task_ext"."assignee_user_id" IS '任务的审批人';
  752. COMMENT ON COLUMN "bpm_task_ext"."name" IS '任务的名字';
  753. COMMENT ON COLUMN "bpm_task_ext"."task_id" IS '任务的编号';
  754. COMMENT ON COLUMN "bpm_task_ext"."result" IS '任务的结果';
  755. COMMENT ON COLUMN "bpm_task_ext"."reason" IS '审批建议';
  756. COMMENT ON COLUMN "bpm_task_ext"."end_time" IS '任务的结束时间';
  757. COMMENT ON COLUMN "bpm_task_ext"."process_instance_id" IS '流程实例的编号';
  758. COMMENT ON COLUMN "bpm_task_ext"."process_definition_id" IS '流程定义的编号';
  759. COMMENT ON COLUMN "bpm_task_ext"."creator" IS '创建者';
  760. COMMENT ON COLUMN "bpm_task_ext"."create_time" IS '创建时间';
  761. COMMENT ON COLUMN "bpm_task_ext"."updater" IS '更新者';
  762. COMMENT ON COLUMN "bpm_task_ext"."update_time" IS '更新时间';
  763. COMMENT ON COLUMN "bpm_task_ext"."deleted" IS '是否删除';
  764. COMMENT ON COLUMN "bpm_task_ext"."tenant_id" IS '租户编号';
  765. COMMENT ON TABLE "bpm_task_ext" IS '工作流的流程任务的拓展表';
  766. -- ----------------------------
  767. -- Records of bpm_task_ext
  768. -- ----------------------------
  769. BEGIN;
  770. COMMIT;
  771. -- ----------------------------
  772. -- Table structure for bpm_user_group
  773. -- ----------------------------
  774. DROP TABLE IF EXISTS "bpm_user_group";
  775. CREATE TABLE "bpm_user_group" (
  776. "id" int8 NOT NULL,
  777. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  778. "description" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  779. "member_user_ids" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  780. "status" int2 NOT NULL,
  781. "creator" varchar(64) COLLATE "pg_catalog"."default",
  782. "create_time" timestamp(6) NOT NULL,
  783. "updater" varchar(64) COLLATE "pg_catalog"."default",
  784. "update_time" timestamp(6) NOT NULL,
  785. "deleted" int2 NOT NULL DEFAULT 0,
  786. "tenant_id" int8 NOT NULL DEFAULT 0
  787. )
  788. ;
  789. COMMENT ON COLUMN "bpm_user_group"."id" IS '编号';
  790. COMMENT ON COLUMN "bpm_user_group"."name" IS '组名';
  791. COMMENT ON COLUMN "bpm_user_group"."description" IS '描述';
  792. COMMENT ON COLUMN "bpm_user_group"."member_user_ids" IS '成员编号数组';
  793. COMMENT ON COLUMN "bpm_user_group"."status" IS '状态(0正常 1停用)';
  794. COMMENT ON COLUMN "bpm_user_group"."creator" IS '创建者';
  795. COMMENT ON COLUMN "bpm_user_group"."create_time" IS '创建时间';
  796. COMMENT ON COLUMN "bpm_user_group"."updater" IS '更新者';
  797. COMMENT ON COLUMN "bpm_user_group"."update_time" IS '更新时间';
  798. COMMENT ON COLUMN "bpm_user_group"."deleted" IS '是否删除';
  799. COMMENT ON COLUMN "bpm_user_group"."tenant_id" IS '租户编号';
  800. COMMENT ON TABLE "bpm_user_group" IS '用户组';
  801. -- ----------------------------
  802. -- Records of bpm_user_group
  803. -- ----------------------------
  804. BEGIN;
  805. COMMIT;
  806. -- ----------------------------
  807. -- Table structure for dual
  808. -- ----------------------------
  809. DROP TABLE IF EXISTS "dual";
  810. CREATE TABLE "dual" (
  811. )
  812. ;
  813. -- ----------------------------
  814. -- Records of dual
  815. -- ----------------------------
  816. BEGIN;
  817. COMMIT;
  818. -- ----------------------------
  819. -- Table structure for infra_api_access_log
  820. -- ----------------------------
  821. DROP TABLE IF EXISTS "infra_api_access_log";
  822. CREATE TABLE "infra_api_access_log" (
  823. "id" int8 NOT NULL,
  824. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  825. "user_id" int8 NOT NULL DEFAULT 0,
  826. "user_type" int2 NOT NULL DEFAULT 0,
  827. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  828. "request_method" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  829. "request_url" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  830. "request_params" varchar(8000) COLLATE "pg_catalog"."default" NOT NULL,
  831. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  832. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  833. "begin_time" timestamp(6) NOT NULL,
  834. "end_time" timestamp(6) NOT NULL,
  835. "duration" int4 NOT NULL,
  836. "result_code" int4 NOT NULL,
  837. "result_msg" varchar(512) COLLATE "pg_catalog"."default",
  838. "creator" varchar(64) COLLATE "pg_catalog"."default",
  839. "create_time" timestamp(6) NOT NULL,
  840. "updater" varchar(64) COLLATE "pg_catalog"."default",
  841. "update_time" timestamp(6) NOT NULL,
  842. "deleted" int2 NOT NULL DEFAULT 0,
  843. "tenant_id" int8 NOT NULL DEFAULT 0
  844. )
  845. ;
  846. COMMENT ON COLUMN "infra_api_access_log"."id" IS '日志主键';
  847. COMMENT ON COLUMN "infra_api_access_log"."trace_id" IS '链路追踪编号';
  848. COMMENT ON COLUMN "infra_api_access_log"."user_id" IS '用户编号';
  849. COMMENT ON COLUMN "infra_api_access_log"."user_type" IS '用户类型';
  850. COMMENT ON COLUMN "infra_api_access_log"."application_name" IS '应用名';
  851. COMMENT ON COLUMN "infra_api_access_log"."request_method" IS '请求方法名';
  852. COMMENT ON COLUMN "infra_api_access_log"."request_url" IS '请求地址';
  853. COMMENT ON COLUMN "infra_api_access_log"."request_params" IS '请求参数';
  854. COMMENT ON COLUMN "infra_api_access_log"."user_ip" IS '用户 IP';
  855. COMMENT ON COLUMN "infra_api_access_log"."user_agent" IS '浏览器 UA';
  856. COMMENT ON COLUMN "infra_api_access_log"."begin_time" IS '开始请求时间';
  857. COMMENT ON COLUMN "infra_api_access_log"."end_time" IS '结束请求时间';
  858. COMMENT ON COLUMN "infra_api_access_log"."duration" IS '执行时长';
  859. COMMENT ON COLUMN "infra_api_access_log"."result_code" IS '结果码';
  860. COMMENT ON COLUMN "infra_api_access_log"."result_msg" IS '结果提示';
  861. COMMENT ON COLUMN "infra_api_access_log"."creator" IS '创建者';
  862. COMMENT ON COLUMN "infra_api_access_log"."create_time" IS '创建时间';
  863. COMMENT ON COLUMN "infra_api_access_log"."updater" IS '更新者';
  864. COMMENT ON COLUMN "infra_api_access_log"."update_time" IS '更新时间';
  865. COMMENT ON COLUMN "infra_api_access_log"."deleted" IS '是否删除';
  866. COMMENT ON COLUMN "infra_api_access_log"."tenant_id" IS '租户编号';
  867. COMMENT ON TABLE "infra_api_access_log" IS 'API 访问日志表';
  868. -- ----------------------------
  869. -- Records of infra_api_access_log
  870. -- ----------------------------
  871. BEGIN;
  872. COMMIT;
  873. -- ----------------------------
  874. -- Table structure for infra_api_error_log
  875. -- ----------------------------
  876. DROP TABLE IF EXISTS "infra_api_error_log";
  877. CREATE TABLE "infra_api_error_log" (
  878. "id" int4 NOT NULL,
  879. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  880. "user_id" int4 NOT NULL DEFAULT 0,
  881. "user_type" int2 NOT NULL DEFAULT 0,
  882. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  883. "request_method" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  884. "request_url" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  885. "request_params" varchar(8000) COLLATE "pg_catalog"."default" NOT NULL,
  886. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  887. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  888. "exception_time" timestamp(6) NOT NULL,
  889. "exception_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  890. "exception_message" text COLLATE "pg_catalog"."default" NOT NULL,
  891. "exception_root_cause_message" text COLLATE "pg_catalog"."default" NOT NULL,
  892. "exception_stack_trace" text COLLATE "pg_catalog"."default" NOT NULL,
  893. "exception_class_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  894. "exception_file_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  895. "exception_method_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  896. "exception_line_number" int4 NOT NULL,
  897. "process_status" int2 NOT NULL,
  898. "process_time" timestamp(6),
  899. "process_user_id" int4,
  900. "creator" varchar(64) COLLATE "pg_catalog"."default",
  901. "create_time" timestamp(6) NOT NULL,
  902. "updater" varchar(64) COLLATE "pg_catalog"."default",
  903. "update_time" timestamp(6) NOT NULL,
  904. "deleted" int2 NOT NULL DEFAULT 0,
  905. "tenant_id" int8 NOT NULL DEFAULT 0
  906. )
  907. ;
  908. COMMENT ON COLUMN "infra_api_error_log"."id" IS '编号';
  909. COMMENT ON COLUMN "infra_api_error_log"."trace_id" IS '链路追踪编号
  910. *
  911. * 一般来说,通过链路追踪编号,可以将访问日志,错误日志,链路追踪日志,logger 打印日志等,结合在一起,从而进行排错。';
  912. COMMENT ON COLUMN "infra_api_error_log"."user_id" IS '用户编号';
  913. COMMENT ON COLUMN "infra_api_error_log"."user_type" IS '用户类型';
  914. COMMENT ON COLUMN "infra_api_error_log"."application_name" IS '应用名
  915. *
  916. * 目前读取 spring.application.name';
  917. COMMENT ON COLUMN "infra_api_error_log"."request_method" IS '请求方法名';
  918. COMMENT ON COLUMN "infra_api_error_log"."request_url" IS '请求地址';
  919. COMMENT ON COLUMN "infra_api_error_log"."request_params" IS '请求参数';
  920. COMMENT ON COLUMN "infra_api_error_log"."user_ip" IS '用户 IP';
  921. COMMENT ON COLUMN "infra_api_error_log"."user_agent" IS '浏览器 UA';
  922. COMMENT ON COLUMN "infra_api_error_log"."exception_time" IS '异常发生时间';
  923. COMMENT ON COLUMN "infra_api_error_log"."exception_name" IS '异常名
  924. *
  925. * {@link Throwable#getClass()} 的类全名';
  926. COMMENT ON COLUMN "infra_api_error_log"."exception_message" IS '异常导致的消息
  927. *
  928. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getMessage(Throwable)}';
  929. COMMENT ON COLUMN "infra_api_error_log"."exception_root_cause_message" IS '异常导致的根消息
  930. *
  931. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getRootCauseMessage(Throwable)}';
  932. COMMENT ON COLUMN "infra_api_error_log"."exception_stack_trace" IS '异常的栈轨迹
  933. *
  934. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getServiceException(Exception)}';
  935. COMMENT ON COLUMN "infra_api_error_log"."exception_class_name" IS '异常发生的类全名
  936. *
  937. * {@link StackTraceElement#getClassName()}';
  938. COMMENT ON COLUMN "infra_api_error_log"."exception_file_name" IS '异常发生的类文件
  939. *
  940. * {@link StackTraceElement#getFileName()}';
  941. COMMENT ON COLUMN "infra_api_error_log"."exception_method_name" IS '异常发生的方法名
  942. *
  943. * {@link StackTraceElement#getMethodName()}';
  944. COMMENT ON COLUMN "infra_api_error_log"."exception_line_number" IS '异常发生的方法所在行
  945. *
  946. * {@link StackTraceElement#getLineNumber()}';
  947. COMMENT ON COLUMN "infra_api_error_log"."process_status" IS '处理状态';
  948. COMMENT ON COLUMN "infra_api_error_log"."process_time" IS '处理时间';
  949. COMMENT ON COLUMN "infra_api_error_log"."process_user_id" IS '处理用户编号';
  950. COMMENT ON COLUMN "infra_api_error_log"."creator" IS '创建者';
  951. COMMENT ON COLUMN "infra_api_error_log"."create_time" IS '创建时间';
  952. COMMENT ON COLUMN "infra_api_error_log"."updater" IS '更新者';
  953. COMMENT ON COLUMN "infra_api_error_log"."update_time" IS '更新时间';
  954. COMMENT ON COLUMN "infra_api_error_log"."deleted" IS '是否删除';
  955. COMMENT ON COLUMN "infra_api_error_log"."tenant_id" IS '租户编号';
  956. COMMENT ON TABLE "infra_api_error_log" IS '系统异常日志';
  957. -- ----------------------------
  958. -- Records of infra_api_error_log
  959. -- ----------------------------
  960. BEGIN;
  961. COMMIT;
  962. -- ----------------------------
  963. -- Table structure for infra_codegen_column
  964. -- ----------------------------
  965. DROP TABLE IF EXISTS "infra_codegen_column";
  966. CREATE TABLE "infra_codegen_column" (
  967. "id" int8 NOT NULL,
  968. "table_id" int8 NOT NULL,
  969. "column_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  970. "data_type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  971. "column_comment" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  972. "nullable" bool NOT NULL,
  973. "primary_key" bool NOT NULL,
  974. "auto_increment" bool NOT NULL,
  975. "ordinal_position" int4 NOT NULL,
  976. "java_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  977. "java_field" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  978. "dict_type" varchar(200) COLLATE "pg_catalog"."default",
  979. "example" varchar(255) COLLATE "pg_catalog"."default",
  980. "create_operation" bool NOT NULL,
  981. "update_operation" bool NOT NULL,
  982. "list_operation" bool NOT NULL,
  983. "list_operation_condition" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  984. "list_operation_result" bool NOT NULL,
  985. "html_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  986. "creator" varchar(64) COLLATE "pg_catalog"."default",
  987. "create_time" timestamp(6) NOT NULL,
  988. "updater" varchar(64) COLLATE "pg_catalog"."default",
  989. "update_time" timestamp(6) NOT NULL,
  990. "deleted" int2 NOT NULL DEFAULT 0
  991. )
  992. ;
  993. COMMENT ON COLUMN "infra_codegen_column"."id" IS '编号';
  994. COMMENT ON COLUMN "infra_codegen_column"."table_id" IS '表编号';
  995. COMMENT ON COLUMN "infra_codegen_column"."column_name" IS '字段名';
  996. COMMENT ON COLUMN "infra_codegen_column"."data_type" IS '字段类型';
  997. COMMENT ON COLUMN "infra_codegen_column"."column_comment" IS '字段描述';
  998. COMMENT ON COLUMN "infra_codegen_column"."nullable" IS '是否允许为空';
  999. COMMENT ON COLUMN "infra_codegen_column"."primary_key" IS '是否主键';
  1000. COMMENT ON COLUMN "infra_codegen_column"."auto_increment" IS '是否自增';
  1001. COMMENT ON COLUMN "infra_codegen_column"."ordinal_position" IS '排序';
  1002. COMMENT ON COLUMN "infra_codegen_column"."java_type" IS 'Java 属性类型';
  1003. COMMENT ON COLUMN "infra_codegen_column"."java_field" IS 'Java 属性名';
  1004. COMMENT ON COLUMN "infra_codegen_column"."dict_type" IS '字典类型';
  1005. COMMENT ON COLUMN "infra_codegen_column"."example" IS '数据示例';
  1006. COMMENT ON COLUMN "infra_codegen_column"."create_operation" IS '是否为 Create 创建操作的字段';
  1007. COMMENT ON COLUMN "infra_codegen_column"."update_operation" IS '是否为 Update 更新操作的字段';
  1008. COMMENT ON COLUMN "infra_codegen_column"."list_operation" IS '是否为 List 查询操作的字段';
  1009. COMMENT ON COLUMN "infra_codegen_column"."list_operation_condition" IS 'List 查询操作的条件类型';
  1010. COMMENT ON COLUMN "infra_codegen_column"."list_operation_result" IS '是否为 List 查询操作的返回字段';
  1011. COMMENT ON COLUMN "infra_codegen_column"."html_type" IS '显示类型';
  1012. COMMENT ON COLUMN "infra_codegen_column"."creator" IS '创建者';
  1013. COMMENT ON COLUMN "infra_codegen_column"."create_time" IS '创建时间';
  1014. COMMENT ON COLUMN "infra_codegen_column"."updater" IS '更新者';
  1015. COMMENT ON COLUMN "infra_codegen_column"."update_time" IS '更新时间';
  1016. COMMENT ON COLUMN "infra_codegen_column"."deleted" IS '是否删除';
  1017. COMMENT ON TABLE "infra_codegen_column" IS '代码生成表字段定义';
  1018. -- ----------------------------
  1019. -- Records of infra_codegen_column
  1020. -- ----------------------------
  1021. BEGIN;
  1022. COMMIT;
  1023. -- ----------------------------
  1024. -- Table structure for infra_codegen_table
  1025. -- ----------------------------
  1026. DROP TABLE IF EXISTS "infra_codegen_table";
  1027. CREATE TABLE "infra_codegen_table" (
  1028. "id" int8 NOT NULL,
  1029. "data_source_config_id" int8 NOT NULL,
  1030. "scene" int2 NOT NULL,
  1031. "table_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1032. "table_comment" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1033. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1034. "module_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1035. "business_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1036. "class_name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1037. "class_comment" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1038. "author" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1039. "template_type" int2 NOT NULL,
  1040. "parent_menu_id" int8,
  1041. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1042. "create_time" timestamp(6) NOT NULL,
  1043. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1044. "update_time" timestamp(6) NOT NULL,
  1045. "deleted" int2 NOT NULL DEFAULT 0
  1046. )
  1047. ;
  1048. COMMENT ON COLUMN "infra_codegen_table"."id" IS '编号';
  1049. COMMENT ON COLUMN "infra_codegen_table"."data_source_config_id" IS '数据源配置的编号';
  1050. COMMENT ON COLUMN "infra_codegen_table"."scene" IS '生成场景';
  1051. COMMENT ON COLUMN "infra_codegen_table"."table_name" IS '表名称';
  1052. COMMENT ON COLUMN "infra_codegen_table"."table_comment" IS '表描述';
  1053. COMMENT ON COLUMN "infra_codegen_table"."remark" IS '备注';
  1054. COMMENT ON COLUMN "infra_codegen_table"."module_name" IS '模块名';
  1055. COMMENT ON COLUMN "infra_codegen_table"."business_name" IS '业务名';
  1056. COMMENT ON COLUMN "infra_codegen_table"."class_name" IS '类名称';
  1057. COMMENT ON COLUMN "infra_codegen_table"."class_comment" IS '类描述';
  1058. COMMENT ON COLUMN "infra_codegen_table"."author" IS '作者';
  1059. COMMENT ON COLUMN "infra_codegen_table"."template_type" IS '模板类型';
  1060. COMMENT ON COLUMN "infra_codegen_table"."parent_menu_id" IS '父菜单编号';
  1061. COMMENT ON COLUMN "infra_codegen_table"."creator" IS '创建者';
  1062. COMMENT ON COLUMN "infra_codegen_table"."create_time" IS '创建时间';
  1063. COMMENT ON COLUMN "infra_codegen_table"."updater" IS '更新者';
  1064. COMMENT ON COLUMN "infra_codegen_table"."update_time" IS '更新时间';
  1065. COMMENT ON COLUMN "infra_codegen_table"."deleted" IS '是否删除';
  1066. COMMENT ON TABLE "infra_codegen_table" IS '代码生成表定义';
  1067. -- ----------------------------
  1068. -- Records of infra_codegen_table
  1069. -- ----------------------------
  1070. BEGIN;
  1071. COMMIT;
  1072. -- ----------------------------
  1073. -- Table structure for infra_config
  1074. -- ----------------------------
  1075. DROP TABLE IF EXISTS "infra_config";
  1076. CREATE TABLE "infra_config" (
  1077. "id" int4 NOT NULL,
  1078. "category" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1079. "type" int2 NOT NULL,
  1080. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1081. "config_key" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1082. "value" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1083. "visible" varchar(5) COLLATE "pg_catalog"."default" NOT NULL,
  1084. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1085. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1086. "create_time" timestamp(6) NOT NULL,
  1087. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1088. "update_time" timestamp(6) NOT NULL,
  1089. "deleted" int2 NOT NULL DEFAULT 0
  1090. )
  1091. ;
  1092. COMMENT ON COLUMN "infra_config"."id" IS '参数主键';
  1093. COMMENT ON COLUMN "infra_config"."category" IS '参数分组';
  1094. COMMENT ON COLUMN "infra_config"."type" IS '参数类型';
  1095. COMMENT ON COLUMN "infra_config"."name" IS '参数名称';
  1096. COMMENT ON COLUMN "infra_config"."config_key" IS '参数键名';
  1097. COMMENT ON COLUMN "infra_config"."value" IS '参数键值';
  1098. COMMENT ON COLUMN "infra_config"."visible" IS '是否可见';
  1099. COMMENT ON COLUMN "infra_config"."remark" IS '备注';
  1100. COMMENT ON COLUMN "infra_config"."creator" IS '创建者';
  1101. COMMENT ON COLUMN "infra_config"."create_time" IS '创建时间';
  1102. COMMENT ON COLUMN "infra_config"."updater" IS '更新者';
  1103. COMMENT ON COLUMN "infra_config"."update_time" IS '更新时间';
  1104. COMMENT ON COLUMN "infra_config"."deleted" IS '是否删除';
  1105. COMMENT ON TABLE "infra_config" IS '参数配置表';
  1106. -- ----------------------------
  1107. -- Records of infra_config
  1108. -- ----------------------------
  1109. BEGIN;
  1110. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1, 'ui', 1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', '0', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', 'admin', '2021-01-05 17:03:48', '1', '2022-03-26 23:10:31', 0);
  1111. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (2, 'biz', 1, '用户管理-账号初始密码', 'sys.user.init-password', '123456', '0', '初始化密码 123456', 'admin', '2021-01-05 17:03:48', '1', '2022-03-20 02:25:51', 0);
  1112. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (3, 'ui', 1, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', '0', '深色主题theme-dark,浅色主题theme-light', 'admin', '2021-01-05 17:03:48', '', '2021-01-19 03:05:21', 0);
  1113. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (4, '1', 2, 'xxx', 'demo.test', '10', '0', '5', '', '2021-01-19 03:10:26', '', '2021-01-20 09:25:55', 0);
  1114. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (5, 'xxx', 2, 'xxx', 'xxx', 'xxx', '1', 'xxx', '', '2021-02-09 20:06:47', '', '2021-02-09 20:06:47', 0);
  1115. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (6, 'biz', 2, '登陆验证码的开关', 'yudao.captcha.enable', 'true', '1', NULL, '1', '2022-02-17 00:03:11', '1', '2022-04-04 12:51:40', 0);
  1116. COMMIT;
  1117. -- ----------------------------
  1118. -- Table structure for infra_data_source_config
  1119. -- ----------------------------
  1120. DROP TABLE IF EXISTS "infra_data_source_config";
  1121. CREATE TABLE "infra_data_source_config" (
  1122. "id" int8 NOT NULL,
  1123. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1124. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1125. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1126. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1127. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1128. "create_time" timestamp(6) NOT NULL,
  1129. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1130. "update_time" timestamp(6) NOT NULL,
  1131. "deleted" int2 NOT NULL DEFAULT 0
  1132. )
  1133. ;
  1134. COMMENT ON COLUMN "infra_data_source_config"."id" IS '主键编号';
  1135. COMMENT ON COLUMN "infra_data_source_config"."name" IS '参数名称';
  1136. COMMENT ON COLUMN "infra_data_source_config"."url" IS '数据源连接';
  1137. COMMENT ON COLUMN "infra_data_source_config"."username" IS '用户名';
  1138. COMMENT ON COLUMN "infra_data_source_config"."password" IS '密码';
  1139. COMMENT ON COLUMN "infra_data_source_config"."creator" IS '创建者';
  1140. COMMENT ON COLUMN "infra_data_source_config"."create_time" IS '创建时间';
  1141. COMMENT ON COLUMN "infra_data_source_config"."updater" IS '更新者';
  1142. COMMENT ON COLUMN "infra_data_source_config"."update_time" IS '更新时间';
  1143. COMMENT ON COLUMN "infra_data_source_config"."deleted" IS '是否删除';
  1144. COMMENT ON TABLE "infra_data_source_config" IS '数据源配置表';
  1145. -- ----------------------------
  1146. -- Records of infra_data_source_config
  1147. -- ----------------------------
  1148. BEGIN;
  1149. COMMIT;
  1150. -- ----------------------------
  1151. -- Table structure for infra_file
  1152. -- ----------------------------
  1153. DROP TABLE IF EXISTS "infra_file";
  1154. CREATE TABLE "infra_file" (
  1155. "id" int8 NOT NULL DEFAULT 0,
  1156. "config_id" int8,
  1157. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1158. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1159. "type" varchar(127) COLLATE "pg_catalog"."default",
  1160. "size" int4 NOT NULL,
  1161. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1162. "create_time" timestamp(6) NOT NULL,
  1163. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1164. "update_time" timestamp(6) NOT NULL,
  1165. "deleted" int2 NOT NULL DEFAULT 0,
  1166. "name" varchar(255) COLLATE "pg_catalog"."default"
  1167. )
  1168. ;
  1169. COMMENT ON COLUMN "infra_file"."id" IS '文件编号';
  1170. COMMENT ON COLUMN "infra_file"."config_id" IS '配置编号';
  1171. COMMENT ON COLUMN "infra_file"."path" IS '文件路径';
  1172. COMMENT ON COLUMN "infra_file"."url" IS '文件 URL';
  1173. COMMENT ON COLUMN "infra_file"."type" IS '文件类型';
  1174. COMMENT ON COLUMN "infra_file"."size" IS '文件大小';
  1175. COMMENT ON COLUMN "infra_file"."creator" IS '创建者';
  1176. COMMENT ON COLUMN "infra_file"."create_time" IS '创建时间';
  1177. COMMENT ON COLUMN "infra_file"."updater" IS '更新者';
  1178. COMMENT ON COLUMN "infra_file"."update_time" IS '更新时间';
  1179. COMMENT ON COLUMN "infra_file"."deleted" IS '是否删除';
  1180. COMMENT ON COLUMN "infra_file"."name" IS '文件名';
  1181. COMMENT ON TABLE "infra_file" IS '文件表';
  1182. -- ----------------------------
  1183. -- Records of infra_file
  1184. -- ----------------------------
  1185. BEGIN;
  1186. COMMIT;
  1187. -- ----------------------------
  1188. -- Table structure for infra_file_config
  1189. -- ----------------------------
  1190. DROP TABLE IF EXISTS "infra_file_config";
  1191. CREATE TABLE "infra_file_config" (
  1192. "id" int8 NOT NULL,
  1193. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  1194. "storage" int2 NOT NULL,
  1195. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1196. "master" bool NOT NULL,
  1197. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1198. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1199. "create_time" timestamp(6) NOT NULL,
  1200. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1201. "update_time" timestamp(6) NOT NULL,
  1202. "deleted" int2 NOT NULL DEFAULT 0
  1203. )
  1204. ;
  1205. COMMENT ON COLUMN "infra_file_config"."id" IS '编号';
  1206. COMMENT ON COLUMN "infra_file_config"."name" IS '配置名';
  1207. COMMENT ON COLUMN "infra_file_config"."storage" IS '存储器';
  1208. COMMENT ON COLUMN "infra_file_config"."remark" IS '备注';
  1209. COMMENT ON COLUMN "infra_file_config"."master" IS '是否为主配置';
  1210. COMMENT ON COLUMN "infra_file_config"."config" IS '存储配置';
  1211. COMMENT ON COLUMN "infra_file_config"."creator" IS '创建者';
  1212. COMMENT ON COLUMN "infra_file_config"."create_time" IS '创建时间';
  1213. COMMENT ON COLUMN "infra_file_config"."updater" IS '更新者';
  1214. COMMENT ON COLUMN "infra_file_config"."update_time" IS '更新时间';
  1215. COMMENT ON COLUMN "infra_file_config"."deleted" IS '是否删除';
  1216. COMMENT ON TABLE "infra_file_config" IS '文件配置表';
  1217. -- ----------------------------
  1218. -- Records of infra_file_config
  1219. -- ----------------------------
  1220. BEGIN;
  1221. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time", "updater", "update_time", "deleted") VALUES (4, '数据库', 1, '我是数据库', 'f', '{"@class":"cn.iocoder.yudao.framework.file.core.client.db.DBFileClientConfig","domain":"http://127.0.0.1:48080"}', '1', '2022-03-15 23:56:24', '1', '2022-03-26 21:39:26', 0);
  1222. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time", "updater", "update_time", "deleted") VALUES (5, '本地磁盘', 10, '测试下本地存储', 'f', '{"@class":"cn.iocoder.yudao.framework.file.core.client.local.LocalFileClientConfig","basePath":"/Users/yunai/file_test","domain":"http://127.0.0.1:48080"}', '1', '2022-03-15 23:57:00', '1', '2022-03-26 21:39:26', 0);
  1223. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time", "updater", "update_time", "deleted") VALUES (11, 'S3 - 七牛云', 20, NULL, 't', '{"@class":"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig","endpoint":"s3-cn-south-1.qiniucs.com","domain":"http://test.yudao.iocoder.cn","bucket":"ruoyi-vue-pro","accessKey":"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8","accessSecret":"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP"}', '1', '2022-03-19 18:00:03', '1', '2022-05-26 00:03:47.17', 0);
  1224. COMMIT;
  1225. -- ----------------------------
  1226. -- Table structure for infra_file_content
  1227. -- ----------------------------
  1228. DROP TABLE IF EXISTS "infra_file_content";
  1229. CREATE TABLE "infra_file_content" (
  1230. "id" int8 NOT NULL,
  1231. "config_id" int8 NOT NULL,
  1232. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1233. "content" bytea NOT NULL,
  1234. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1235. "create_time" timestamp(6) NOT NULL,
  1236. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1237. "update_time" timestamp(6) NOT NULL,
  1238. "deleted" int2 NOT NULL DEFAULT 0
  1239. )
  1240. ;
  1241. COMMENT ON COLUMN "infra_file_content"."id" IS '编号';
  1242. COMMENT ON COLUMN "infra_file_content"."config_id" IS '配置编号';
  1243. COMMENT ON COLUMN "infra_file_content"."path" IS '文件路径';
  1244. COMMENT ON COLUMN "infra_file_content"."content" IS '文件内容';
  1245. COMMENT ON COLUMN "infra_file_content"."creator" IS '创建者';
  1246. COMMENT ON COLUMN "infra_file_content"."create_time" IS '创建时间';
  1247. COMMENT ON COLUMN "infra_file_content"."updater" IS '更新者';
  1248. COMMENT ON COLUMN "infra_file_content"."update_time" IS '更新时间';
  1249. COMMENT ON COLUMN "infra_file_content"."deleted" IS '是否删除';
  1250. COMMENT ON TABLE "infra_file_content" IS '文件表';
  1251. -- ----------------------------
  1252. -- Records of infra_file_content
  1253. -- ----------------------------
  1254. BEGIN;
  1255. COMMIT;
  1256. -- ----------------------------
  1257. -- Table structure for infra_job
  1258. -- ----------------------------
  1259. DROP TABLE IF EXISTS "infra_job";
  1260. CREATE TABLE "infra_job" (
  1261. "id" int8 NOT NULL,
  1262. "name" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1263. "status" int2 NOT NULL,
  1264. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1265. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1266. "cron_expression" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1267. "retry_count" int4 NOT NULL,
  1268. "retry_interval" int4 NOT NULL,
  1269. "monitor_timeout" int4 NOT NULL,
  1270. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1271. "create_time" timestamp(6) NOT NULL,
  1272. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1273. "update_time" timestamp(6) NOT NULL,
  1274. "deleted" int2 NOT NULL DEFAULT 0
  1275. )
  1276. ;
  1277. COMMENT ON COLUMN "infra_job"."id" IS '任务编号';
  1278. COMMENT ON COLUMN "infra_job"."name" IS '任务名称';
  1279. COMMENT ON COLUMN "infra_job"."status" IS '任务状态';
  1280. COMMENT ON COLUMN "infra_job"."handler_name" IS '处理器的名字';
  1281. COMMENT ON COLUMN "infra_job"."handler_param" IS '处理器的参数';
  1282. COMMENT ON COLUMN "infra_job"."cron_expression" IS 'CRON 表达式';
  1283. COMMENT ON COLUMN "infra_job"."retry_count" IS '重试次数';
  1284. COMMENT ON COLUMN "infra_job"."retry_interval" IS '重试间隔';
  1285. COMMENT ON COLUMN "infra_job"."monitor_timeout" IS '监控超时时间';
  1286. COMMENT ON COLUMN "infra_job"."creator" IS '创建者';
  1287. COMMENT ON COLUMN "infra_job"."create_time" IS '创建时间';
  1288. COMMENT ON COLUMN "infra_job"."updater" IS '更新者';
  1289. COMMENT ON COLUMN "infra_job"."update_time" IS '更新时间';
  1290. COMMENT ON COLUMN "infra_job"."deleted" IS '是否删除';
  1291. COMMENT ON TABLE "infra_job" IS '定时任务表';
  1292. -- ----------------------------
  1293. -- Records of infra_job
  1294. -- ----------------------------
  1295. BEGIN;
  1296. INSERT INTO "infra_job" ("id", "name", "status", "handler_name", "handler_param", "cron_expression", "retry_count", "retry_interval", "monitor_timeout", "creator", "create_time", "updater", "update_time", "deleted") VALUES (5, '支付通知 Job', 2, 'payNotifyJob', NULL, '* * * * * ?', 0, 0, 0, '1', '2021-10-27 08:34:42', '1', '2022-04-03 20:35:25', 0);
  1297. COMMIT;
  1298. -- ----------------------------
  1299. -- Table structure for infra_job_log
  1300. -- ----------------------------
  1301. DROP TABLE IF EXISTS "infra_job_log";
  1302. CREATE TABLE "infra_job_log" (
  1303. "id" int8 NOT NULL,
  1304. "job_id" int8 NOT NULL,
  1305. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1306. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1307. "execute_index" int2 NOT NULL,
  1308. "begin_time" timestamp(6) NOT NULL,
  1309. "end_time" timestamp(6),
  1310. "duration" int4,
  1311. "status" int2 NOT NULL,
  1312. "result" varchar(4000) COLLATE "pg_catalog"."default",
  1313. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1314. "create_time" timestamp(6) NOT NULL,
  1315. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1316. "update_time" timestamp(6) NOT NULL,
  1317. "deleted" int2 NOT NULL DEFAULT 0
  1318. )
  1319. ;
  1320. COMMENT ON COLUMN "infra_job_log"."id" IS '日志编号';
  1321. COMMENT ON COLUMN "infra_job_log"."job_id" IS '任务编号';
  1322. COMMENT ON COLUMN "infra_job_log"."handler_name" IS '处理器的名字';
  1323. COMMENT ON COLUMN "infra_job_log"."handler_param" IS '处理器的参数';
  1324. COMMENT ON COLUMN "infra_job_log"."execute_index" IS '第几次执行';
  1325. COMMENT ON COLUMN "infra_job_log"."begin_time" IS '开始执行时间';
  1326. COMMENT ON COLUMN "infra_job_log"."end_time" IS '结束执行时间';
  1327. COMMENT ON COLUMN "infra_job_log"."duration" IS '执行时长';
  1328. COMMENT ON COLUMN "infra_job_log"."status" IS '任务状态';
  1329. COMMENT ON COLUMN "infra_job_log"."result" IS '结果数据';
  1330. COMMENT ON COLUMN "infra_job_log"."creator" IS '创建者';
  1331. COMMENT ON COLUMN "infra_job_log"."create_time" IS '创建时间';
  1332. COMMENT ON COLUMN "infra_job_log"."updater" IS '更新者';
  1333. COMMENT ON COLUMN "infra_job_log"."update_time" IS '更新时间';
  1334. COMMENT ON COLUMN "infra_job_log"."deleted" IS '是否删除';
  1335. COMMENT ON TABLE "infra_job_log" IS '定时任务日志表';
  1336. -- ----------------------------
  1337. -- Records of infra_job_log
  1338. -- ----------------------------
  1339. BEGIN;
  1340. COMMIT;
  1341. -- ----------------------------
  1342. -- Table structure for infra_test_demo
  1343. -- ----------------------------
  1344. DROP TABLE IF EXISTS "infra_test_demo";
  1345. CREATE TABLE "infra_test_demo" (
  1346. "id" int8 NOT NULL,
  1347. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1348. "status" int2 NOT NULL,
  1349. "type" int2 NOT NULL,
  1350. "category" int2 NOT NULL,
  1351. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1352. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1353. "create_time" timestamp(6) NOT NULL,
  1354. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1355. "update_time" timestamp(6) NOT NULL,
  1356. "deleted" int2 NOT NULL DEFAULT 0
  1357. )
  1358. ;
  1359. COMMENT ON COLUMN "infra_test_demo"."id" IS '编号';
  1360. COMMENT ON COLUMN "infra_test_demo"."name" IS '名字';
  1361. COMMENT ON COLUMN "infra_test_demo"."status" IS '状态';
  1362. COMMENT ON COLUMN "infra_test_demo"."type" IS '类型';
  1363. COMMENT ON COLUMN "infra_test_demo"."category" IS '分类';
  1364. COMMENT ON COLUMN "infra_test_demo"."remark" IS '备注';
  1365. COMMENT ON COLUMN "infra_test_demo"."creator" IS '创建者';
  1366. COMMENT ON COLUMN "infra_test_demo"."create_time" IS '创建时间';
  1367. COMMENT ON COLUMN "infra_test_demo"."updater" IS '更新者';
  1368. COMMENT ON COLUMN "infra_test_demo"."update_time" IS '更新时间';
  1369. COMMENT ON COLUMN "infra_test_demo"."deleted" IS '是否删除';
  1370. COMMENT ON TABLE "infra_test_demo" IS '字典类型表';
  1371. -- ----------------------------
  1372. -- Records of infra_test_demo
  1373. -- ----------------------------
  1374. BEGIN;
  1375. COMMIT;
  1376. -- ----------------------------
  1377. -- Table structure for member_user
  1378. -- ----------------------------
  1379. DROP TABLE IF EXISTS "member_user";
  1380. CREATE TABLE "member_user" (
  1381. "id" int8 NOT NULL,
  1382. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1383. "avatar" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1384. "status" int2 NOT NULL,
  1385. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  1386. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1387. "register_ip" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1388. "login_ip" varchar(50) COLLATE "pg_catalog"."default",
  1389. "login_date" timestamp(6),
  1390. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1391. "create_time" timestamp(6) NOT NULL,
  1392. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1393. "update_time" timestamp(6) NOT NULL,
  1394. "deleted" int2 NOT NULL DEFAULT 0,
  1395. "tenant_id" int8 NOT NULL DEFAULT 0
  1396. )
  1397. ;
  1398. COMMENT ON COLUMN "member_user"."id" IS '编号';
  1399. COMMENT ON COLUMN "member_user"."nickname" IS '用户昵称';
  1400. COMMENT ON COLUMN "member_user"."avatar" IS '头像';
  1401. COMMENT ON COLUMN "member_user"."status" IS '状态';
  1402. COMMENT ON COLUMN "member_user"."mobile" IS '手机号';
  1403. COMMENT ON COLUMN "member_user"."password" IS '密码';
  1404. COMMENT ON COLUMN "member_user"."register_ip" IS '注册 IP';
  1405. COMMENT ON COLUMN "member_user"."login_ip" IS '最后登录IP';
  1406. COMMENT ON COLUMN "member_user"."login_date" IS '最后登录时间';
  1407. COMMENT ON COLUMN "member_user"."creator" IS '创建者';
  1408. COMMENT ON COLUMN "member_user"."create_time" IS '创建时间';
  1409. COMMENT ON COLUMN "member_user"."updater" IS '更新者';
  1410. COMMENT ON COLUMN "member_user"."update_time" IS '更新时间';
  1411. COMMENT ON COLUMN "member_user"."deleted" IS '是否删除';
  1412. COMMENT ON COLUMN "member_user"."tenant_id" IS '租户编号';
  1413. COMMENT ON TABLE "member_user" IS '用户';
  1414. -- ----------------------------
  1415. -- Records of member_user
  1416. -- ----------------------------
  1417. BEGIN;
  1418. COMMIT;
  1419. -- ----------------------------
  1420. -- Table structure for pay_app
  1421. -- ----------------------------
  1422. DROP TABLE IF EXISTS "pay_app";
  1423. CREATE TABLE "pay_app" (
  1424. "id" int8 NOT NULL,
  1425. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1426. "status" int2 NOT NULL,
  1427. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1428. "pay_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1429. "refund_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1430. "merchant_id" int8 NOT NULL,
  1431. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1432. "create_time" timestamp(6) NOT NULL,
  1433. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1434. "update_time" timestamp(6) NOT NULL,
  1435. "deleted" int2 NOT NULL DEFAULT 0,
  1436. "tenant_id" int8 NOT NULL DEFAULT 0
  1437. )
  1438. ;
  1439. COMMENT ON COLUMN "pay_app"."id" IS '应用编号';
  1440. COMMENT ON COLUMN "pay_app"."name" IS '应用名';
  1441. COMMENT ON COLUMN "pay_app"."status" IS '开启状态';
  1442. COMMENT ON COLUMN "pay_app"."remark" IS '备注';
  1443. COMMENT ON COLUMN "pay_app"."pay_notify_url" IS '支付结果的回调地址';
  1444. COMMENT ON COLUMN "pay_app"."refund_notify_url" IS '退款结果的回调地址';
  1445. COMMENT ON COLUMN "pay_app"."merchant_id" IS '商户编号';
  1446. COMMENT ON COLUMN "pay_app"."creator" IS '创建者';
  1447. COMMENT ON COLUMN "pay_app"."create_time" IS '创建时间';
  1448. COMMENT ON COLUMN "pay_app"."updater" IS '更新者';
  1449. COMMENT ON COLUMN "pay_app"."update_time" IS '更新时间';
  1450. COMMENT ON COLUMN "pay_app"."deleted" IS '是否删除';
  1451. COMMENT ON COLUMN "pay_app"."tenant_id" IS '租户编号';
  1452. COMMENT ON TABLE "pay_app" IS '支付应用信息';
  1453. -- ----------------------------
  1454. -- Records of pay_app
  1455. -- ----------------------------
  1456. BEGIN;
  1457. COMMIT;
  1458. -- ----------------------------
  1459. -- Table structure for pay_channel
  1460. -- ----------------------------
  1461. DROP TABLE IF EXISTS "pay_channel";
  1462. CREATE TABLE "pay_channel" (
  1463. "id" int8 NOT NULL,
  1464. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1465. "status" int2 NOT NULL,
  1466. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1467. "fee_rate" float8 NOT NULL,
  1468. "merchant_id" int8 NOT NULL,
  1469. "app_id" int8 NOT NULL,
  1470. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1471. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1472. "create_time" timestamp(6) NOT NULL,
  1473. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1474. "update_time" timestamp(6) NOT NULL,
  1475. "deleted" int2 NOT NULL DEFAULT 0,
  1476. "tenant_id" int8 NOT NULL DEFAULT 0
  1477. )
  1478. ;
  1479. COMMENT ON COLUMN "pay_channel"."id" IS '商户编号';
  1480. COMMENT ON COLUMN "pay_channel"."code" IS '渠道编码';
  1481. COMMENT ON COLUMN "pay_channel"."status" IS '开启状态';
  1482. COMMENT ON COLUMN "pay_channel"."remark" IS '备注';
  1483. COMMENT ON COLUMN "pay_channel"."fee_rate" IS '渠道费率,单位:百分比';
  1484. COMMENT ON COLUMN "pay_channel"."merchant_id" IS '商户编号';
  1485. COMMENT ON COLUMN "pay_channel"."app_id" IS '应用编号';
  1486. COMMENT ON COLUMN "pay_channel"."config" IS '支付渠道配置';
  1487. COMMENT ON COLUMN "pay_channel"."creator" IS '创建者';
  1488. COMMENT ON COLUMN "pay_channel"."create_time" IS '创建时间';
  1489. COMMENT ON COLUMN "pay_channel"."updater" IS '更新者';
  1490. COMMENT ON COLUMN "pay_channel"."update_time" IS '更新时间';
  1491. COMMENT ON COLUMN "pay_channel"."deleted" IS '是否删除';
  1492. COMMENT ON COLUMN "pay_channel"."tenant_id" IS '租户编号';
  1493. COMMENT ON TABLE "pay_channel" IS '支付渠道
  1494. ';
  1495. -- ----------------------------
  1496. -- Records of pay_channel
  1497. -- ----------------------------
  1498. BEGIN;
  1499. COMMIT;
  1500. -- ----------------------------
  1501. -- Table structure for pay_merchant
  1502. -- ----------------------------
  1503. DROP TABLE IF EXISTS "pay_merchant";
  1504. CREATE TABLE "pay_merchant" (
  1505. "id" int8 NOT NULL,
  1506. "no" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1507. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1508. "short_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1509. "status" int2 NOT NULL,
  1510. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1511. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1512. "create_time" timestamp(6) NOT NULL,
  1513. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1514. "update_time" timestamp(6) NOT NULL,
  1515. "deleted" int2 NOT NULL DEFAULT 0,
  1516. "tenant_id" int8 NOT NULL DEFAULT 0
  1517. )
  1518. ;
  1519. COMMENT ON COLUMN "pay_merchant"."id" IS '商户编号';
  1520. COMMENT ON COLUMN "pay_merchant"."no" IS '商户号';
  1521. COMMENT ON COLUMN "pay_merchant"."name" IS '商户全称';
  1522. COMMENT ON COLUMN "pay_merchant"."short_name" IS '商户简称';
  1523. COMMENT ON COLUMN "pay_merchant"."status" IS '开启状态';
  1524. COMMENT ON COLUMN "pay_merchant"."remark" IS '备注';
  1525. COMMENT ON COLUMN "pay_merchant"."creator" IS '创建者';
  1526. COMMENT ON COLUMN "pay_merchant"."create_time" IS '创建时间';
  1527. COMMENT ON COLUMN "pay_merchant"."updater" IS '更新者';
  1528. COMMENT ON COLUMN "pay_merchant"."update_time" IS '更新时间';
  1529. COMMENT ON COLUMN "pay_merchant"."deleted" IS '是否删除';
  1530. COMMENT ON COLUMN "pay_merchant"."tenant_id" IS '租户编号';
  1531. COMMENT ON TABLE "pay_merchant" IS '支付商户信息';
  1532. -- ----------------------------
  1533. -- Records of pay_merchant
  1534. -- ----------------------------
  1535. BEGIN;
  1536. COMMIT;
  1537. -- ----------------------------
  1538. -- Table structure for pay_notify_log
  1539. -- ----------------------------
  1540. DROP TABLE IF EXISTS "pay_notify_log";
  1541. CREATE TABLE "pay_notify_log" (
  1542. "id" int8 NOT NULL,
  1543. "task_id" int8 NOT NULL,
  1544. "notify_times" int2 NOT NULL,
  1545. "response" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  1546. "status" int2 NOT NULL,
  1547. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1548. "create_time" timestamp(6) NOT NULL,
  1549. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1550. "update_time" timestamp(6) NOT NULL,
  1551. "deleted" int2 NOT NULL DEFAULT 0,
  1552. "tenant_id" int8 NOT NULL DEFAULT 0
  1553. )
  1554. ;
  1555. COMMENT ON COLUMN "pay_notify_log"."id" IS '日志编号';
  1556. COMMENT ON COLUMN "pay_notify_log"."task_id" IS '通知任务编号';
  1557. COMMENT ON COLUMN "pay_notify_log"."notify_times" IS '第几次被通知';
  1558. COMMENT ON COLUMN "pay_notify_log"."response" IS '请求参数';
  1559. COMMENT ON COLUMN "pay_notify_log"."status" IS '通知状态';
  1560. COMMENT ON COLUMN "pay_notify_log"."creator" IS '创建者';
  1561. COMMENT ON COLUMN "pay_notify_log"."create_time" IS '创建时间';
  1562. COMMENT ON COLUMN "pay_notify_log"."updater" IS '更新者';
  1563. COMMENT ON COLUMN "pay_notify_log"."update_time" IS '更新时间';
  1564. COMMENT ON COLUMN "pay_notify_log"."deleted" IS '是否删除';
  1565. COMMENT ON COLUMN "pay_notify_log"."tenant_id" IS '租户编号';
  1566. COMMENT ON TABLE "pay_notify_log" IS '支付通知 App 的日志';
  1567. -- ----------------------------
  1568. -- Records of pay_notify_log
  1569. -- ----------------------------
  1570. BEGIN;
  1571. COMMIT;
  1572. -- ----------------------------
  1573. -- Table structure for pay_notify_task
  1574. -- ----------------------------
  1575. DROP TABLE IF EXISTS "pay_notify_task";
  1576. CREATE TABLE "pay_notify_task" (
  1577. "id" int8 NOT NULL,
  1578. "merchant_id" int8 NOT NULL,
  1579. "app_id" int8 NOT NULL,
  1580. "type" int2 NOT NULL,
  1581. "data_id" int8 NOT NULL,
  1582. "status" int2 NOT NULL,
  1583. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1584. "next_notify_time" timestamp(6) NOT NULL,
  1585. "last_execute_time" timestamp(6) NOT NULL,
  1586. "notify_times" int2 NOT NULL,
  1587. "max_notify_times" int2 NOT NULL,
  1588. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1589. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1590. "create_time" timestamp(6) NOT NULL,
  1591. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1592. "update_time" timestamp(6) NOT NULL,
  1593. "deleted" int2 NOT NULL DEFAULT 0,
  1594. "tenant_id" int8 NOT NULL DEFAULT 0
  1595. )
  1596. ;
  1597. COMMENT ON COLUMN "pay_notify_task"."id" IS '任务编号';
  1598. COMMENT ON COLUMN "pay_notify_task"."merchant_id" IS '商户编号';
  1599. COMMENT ON COLUMN "pay_notify_task"."app_id" IS '应用编号';
  1600. COMMENT ON COLUMN "pay_notify_task"."type" IS '通知类型';
  1601. COMMENT ON COLUMN "pay_notify_task"."data_id" IS '数据编号';
  1602. COMMENT ON COLUMN "pay_notify_task"."status" IS '通知状态';
  1603. COMMENT ON COLUMN "pay_notify_task"."merchant_order_id" IS '商户订单编号';
  1604. COMMENT ON COLUMN "pay_notify_task"."next_notify_time" IS '下一次通知时间';
  1605. COMMENT ON COLUMN "pay_notify_task"."last_execute_time" IS '最后一次执行时间';
  1606. COMMENT ON COLUMN "pay_notify_task"."notify_times" IS '当前通知次数';
  1607. COMMENT ON COLUMN "pay_notify_task"."max_notify_times" IS '最大可通知次数';
  1608. COMMENT ON COLUMN "pay_notify_task"."notify_url" IS '异步通知地址';
  1609. COMMENT ON COLUMN "pay_notify_task"."creator" IS '创建者';
  1610. COMMENT ON COLUMN "pay_notify_task"."create_time" IS '创建时间';
  1611. COMMENT ON COLUMN "pay_notify_task"."updater" IS '更新者';
  1612. COMMENT ON COLUMN "pay_notify_task"."update_time" IS '更新时间';
  1613. COMMENT ON COLUMN "pay_notify_task"."deleted" IS '是否删除';
  1614. COMMENT ON COLUMN "pay_notify_task"."tenant_id" IS '租户编号';
  1615. COMMENT ON TABLE "pay_notify_task" IS '商户支付、退款等的通知
  1616. ';
  1617. -- ----------------------------
  1618. -- Records of pay_notify_task
  1619. -- ----------------------------
  1620. BEGIN;
  1621. COMMIT;
  1622. -- ----------------------------
  1623. -- Table structure for pay_order
  1624. -- ----------------------------
  1625. DROP TABLE IF EXISTS "pay_order";
  1626. CREATE TABLE "pay_order" (
  1627. "id" int8 NOT NULL,
  1628. "merchant_id" int8 NOT NULL,
  1629. "app_id" int8 NOT NULL,
  1630. "channel_id" int8,
  1631. "channel_code" varchar(32) COLLATE "pg_catalog"."default",
  1632. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1633. "subject" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1634. "body" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  1635. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1636. "notify_status" int2 NOT NULL,
  1637. "amount" int8 NOT NULL,
  1638. "channel_fee_rate" float8,
  1639. "channel_fee_amount" int8,
  1640. "status" int2 NOT NULL,
  1641. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1642. "expire_time" timestamp(6) NOT NULL,
  1643. "success_time" timestamp(6),
  1644. "notify_time" timestamp(6),
  1645. "success_extension_id" int8,
  1646. "refund_status" int2 NOT NULL,
  1647. "refund_times" int2 NOT NULL,
  1648. "refund_amount" int8 NOT NULL,
  1649. "channel_user_id" varchar(255) COLLATE "pg_catalog"."default",
  1650. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default",
  1651. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1652. "create_time" timestamp(6) NOT NULL,
  1653. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1654. "update_time" timestamp(6) NOT NULL,
  1655. "deleted" int2 NOT NULL DEFAULT 0,
  1656. "tenant_id" int8 NOT NULL DEFAULT 0
  1657. )
  1658. ;
  1659. COMMENT ON COLUMN "pay_order"."id" IS '支付订单编号';
  1660. COMMENT ON COLUMN "pay_order"."merchant_id" IS '商户编号';
  1661. COMMENT ON COLUMN "pay_order"."app_id" IS '应用编号';
  1662. COMMENT ON COLUMN "pay_order"."channel_id" IS '渠道编号';
  1663. COMMENT ON COLUMN "pay_order"."channel_code" IS '渠道编码';
  1664. COMMENT ON COLUMN "pay_order"."merchant_order_id" IS '商户订单编号';
  1665. COMMENT ON COLUMN "pay_order"."subject" IS '商品标题';
  1666. COMMENT ON COLUMN "pay_order"."body" IS '商品描述';
  1667. COMMENT ON COLUMN "pay_order"."notify_url" IS '异步通知地址';
  1668. COMMENT ON COLUMN "pay_order"."notify_status" IS '通知商户支付结果的回调状态';
  1669. COMMENT ON COLUMN "pay_order"."amount" IS '支付金额,单位:分';
  1670. COMMENT ON COLUMN "pay_order"."channel_fee_rate" IS '渠道手续费,单位:百分比';
  1671. COMMENT ON COLUMN "pay_order"."channel_fee_amount" IS '渠道手续金额,单位:分';
  1672. COMMENT ON COLUMN "pay_order"."status" IS '支付状态';
  1673. COMMENT ON COLUMN "pay_order"."user_ip" IS '用户 IP';
  1674. COMMENT ON COLUMN "pay_order"."expire_time" IS '订单失效时间';
  1675. COMMENT ON COLUMN "pay_order"."success_time" IS '订单支付成功时间';
  1676. COMMENT ON COLUMN "pay_order"."notify_time" IS '订单支付通知时间';
  1677. COMMENT ON COLUMN "pay_order"."success_extension_id" IS '支付成功的订单拓展单编号';
  1678. COMMENT ON COLUMN "pay_order"."refund_status" IS '退款状态';
  1679. COMMENT ON COLUMN "pay_order"."refund_times" IS '退款次数';
  1680. COMMENT ON COLUMN "pay_order"."refund_amount" IS '退款总金额,单位:分';
  1681. COMMENT ON COLUMN "pay_order"."channel_user_id" IS '渠道用户编号';
  1682. COMMENT ON COLUMN "pay_order"."channel_order_no" IS '渠道订单号';
  1683. COMMENT ON COLUMN "pay_order"."creator" IS '创建者';
  1684. COMMENT ON COLUMN "pay_order"."create_time" IS '创建时间';
  1685. COMMENT ON COLUMN "pay_order"."updater" IS '更新者';
  1686. COMMENT ON COLUMN "pay_order"."update_time" IS '更新时间';
  1687. COMMENT ON COLUMN "pay_order"."deleted" IS '是否删除';
  1688. COMMENT ON COLUMN "pay_order"."tenant_id" IS '租户编号';
  1689. COMMENT ON TABLE "pay_order" IS '支付订单
  1690. ';
  1691. -- ----------------------------
  1692. -- Records of pay_order
  1693. -- ----------------------------
  1694. BEGIN;
  1695. COMMIT;
  1696. -- ----------------------------
  1697. -- Table structure for pay_order_extension
  1698. -- ----------------------------
  1699. DROP TABLE IF EXISTS "pay_order_extension";
  1700. CREATE TABLE "pay_order_extension" (
  1701. "id" int8 NOT NULL,
  1702. "no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1703. "order_id" int8 NOT NULL,
  1704. "channel_id" int8 NOT NULL,
  1705. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1706. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1707. "status" int2 NOT NULL,
  1708. "channel_extras" varchar(256) COLLATE "pg_catalog"."default",
  1709. "channel_notify_data" varchar(1024) COLLATE "pg_catalog"."default",
  1710. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1711. "create_time" timestamp(6) NOT NULL,
  1712. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1713. "update_time" timestamp(6) NOT NULL,
  1714. "deleted" int2 NOT NULL DEFAULT 0,
  1715. "tenant_id" int8 NOT NULL DEFAULT 0
  1716. )
  1717. ;
  1718. COMMENT ON COLUMN "pay_order_extension"."id" IS '支付订单编号';
  1719. COMMENT ON COLUMN "pay_order_extension"."no" IS '支付订单号';
  1720. COMMENT ON COLUMN "pay_order_extension"."order_id" IS '支付订单编号';
  1721. COMMENT ON COLUMN "pay_order_extension"."channel_id" IS '渠道编号';
  1722. COMMENT ON COLUMN "pay_order_extension"."channel_code" IS '渠道编码';
  1723. COMMENT ON COLUMN "pay_order_extension"."user_ip" IS '用户 IP';
  1724. COMMENT ON COLUMN "pay_order_extension"."status" IS '支付状态';
  1725. COMMENT ON COLUMN "pay_order_extension"."channel_extras" IS '支付渠道的额外参数';
  1726. COMMENT ON COLUMN "pay_order_extension"."channel_notify_data" IS '支付渠道异步通知的内容';
  1727. COMMENT ON COLUMN "pay_order_extension"."creator" IS '创建者';
  1728. COMMENT ON COLUMN "pay_order_extension"."create_time" IS '创建时间';
  1729. COMMENT ON COLUMN "pay_order_extension"."updater" IS '更新者';
  1730. COMMENT ON COLUMN "pay_order_extension"."update_time" IS '更新时间';
  1731. COMMENT ON COLUMN "pay_order_extension"."deleted" IS '是否删除';
  1732. COMMENT ON COLUMN "pay_order_extension"."tenant_id" IS '租户编号';
  1733. COMMENT ON TABLE "pay_order_extension" IS '支付订单
  1734. ';
  1735. -- ----------------------------
  1736. -- Records of pay_order_extension
  1737. -- ----------------------------
  1738. BEGIN;
  1739. COMMIT;
  1740. -- ----------------------------
  1741. -- Table structure for pay_refund
  1742. -- ----------------------------
  1743. DROP TABLE IF EXISTS "pay_refund";
  1744. CREATE TABLE "pay_refund" (
  1745. "id" int8 NOT NULL,
  1746. "merchant_id" int8 NOT NULL,
  1747. "app_id" int8 NOT NULL,
  1748. "channel_id" int8 NOT NULL,
  1749. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1750. "order_id" int8 NOT NULL,
  1751. "trade_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1752. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1753. "merchant_refund_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1754. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1755. "notify_status" int2 NOT NULL,
  1756. "status" int2 NOT NULL,
  1757. "type" int2 NOT NULL,
  1758. "pay_amount" int8 NOT NULL,
  1759. "refund_amount" int8 NOT NULL,
  1760. "reason" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  1761. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  1762. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1763. "channel_refund_no" varchar(64) COLLATE "pg_catalog"."default",
  1764. "channel_error_code" varchar(128) COLLATE "pg_catalog"."default",
  1765. "channel_error_msg" varchar(256) COLLATE "pg_catalog"."default",
  1766. "channel_extras" varchar(1024) COLLATE "pg_catalog"."default",
  1767. "expire_time" timestamp(6),
  1768. "success_time" timestamp(6),
  1769. "notify_time" timestamp(6),
  1770. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1771. "create_time" timestamp(6) NOT NULL,
  1772. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1773. "update_time" timestamp(6) NOT NULL,
  1774. "deleted" int2 NOT NULL DEFAULT 0,
  1775. "tenant_id" int8 NOT NULL DEFAULT 0
  1776. )
  1777. ;
  1778. COMMENT ON COLUMN "pay_refund"."id" IS '支付退款编号';
  1779. COMMENT ON COLUMN "pay_refund"."merchant_id" IS '商户编号';
  1780. COMMENT ON COLUMN "pay_refund"."app_id" IS '应用编号';
  1781. COMMENT ON COLUMN "pay_refund"."channel_id" IS '渠道编号';
  1782. COMMENT ON COLUMN "pay_refund"."channel_code" IS '渠道编码';
  1783. COMMENT ON COLUMN "pay_refund"."order_id" IS '支付订单编号 pay_order 表id';
  1784. COMMENT ON COLUMN "pay_refund"."trade_no" IS '交易订单号 pay_extension 表no 字段';
  1785. COMMENT ON COLUMN "pay_refund"."merchant_order_id" IS '商户订单编号(商户系统生成)';
  1786. COMMENT ON COLUMN "pay_refund"."merchant_refund_no" IS '商户退款订单号(商户系统生成)';
  1787. COMMENT ON COLUMN "pay_refund"."notify_url" IS '异步通知商户地址';
  1788. COMMENT ON COLUMN "pay_refund"."notify_status" IS '通知商户退款结果的回调状态';
  1789. COMMENT ON COLUMN "pay_refund"."status" IS '退款状态';
  1790. COMMENT ON COLUMN "pay_refund"."type" IS '退款类型(部分退款,全部退款)';
  1791. COMMENT ON COLUMN "pay_refund"."pay_amount" IS '支付金额,单位分';
  1792. COMMENT ON COLUMN "pay_refund"."refund_amount" IS '退款金额,单位分';
  1793. COMMENT ON COLUMN "pay_refund"."reason" IS '退款原因';
  1794. COMMENT ON COLUMN "pay_refund"."user_ip" IS '用户 IP';
  1795. COMMENT ON COLUMN "pay_refund"."channel_order_no" IS '渠道订单号,pay_order 中的channel_order_no 对应';
  1796. COMMENT ON COLUMN "pay_refund"."channel_refund_no" IS '渠道退款单号,渠道返回';
  1797. COMMENT ON COLUMN "pay_refund"."channel_error_code" IS '渠道调用报错时,错误码';
  1798. COMMENT ON COLUMN "pay_refund"."channel_error_msg" IS '渠道调用报错时,错误信息';
  1799. COMMENT ON COLUMN "pay_refund"."channel_extras" IS '支付渠道的额外参数';
  1800. COMMENT ON COLUMN "pay_refund"."expire_time" IS '退款失效时间';
  1801. COMMENT ON COLUMN "pay_refund"."success_time" IS '退款成功时间';
  1802. COMMENT ON COLUMN "pay_refund"."notify_time" IS '退款通知时间';
  1803. COMMENT ON COLUMN "pay_refund"."creator" IS '创建者';
  1804. COMMENT ON COLUMN "pay_refund"."create_time" IS '创建时间';
  1805. COMMENT ON COLUMN "pay_refund"."updater" IS '更新者';
  1806. COMMENT ON COLUMN "pay_refund"."update_time" IS '更新时间';
  1807. COMMENT ON COLUMN "pay_refund"."deleted" IS '是否删除';
  1808. COMMENT ON COLUMN "pay_refund"."tenant_id" IS '租户编号';
  1809. COMMENT ON TABLE "pay_refund" IS '退款订单';
  1810. -- ----------------------------
  1811. -- Records of pay_refund
  1812. -- ----------------------------
  1813. BEGIN;
  1814. COMMIT;
  1815. -- ----------------------------
  1816. -- Table structure for qrtz_blob_triggers
  1817. -- ----------------------------
  1818. DROP TABLE IF EXISTS "qrtz_blob_triggers";
  1819. CREATE TABLE "qrtz_blob_triggers" (
  1820. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1821. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1822. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1823. "blob_data" bytea
  1824. )
  1825. ;
  1826. -- ----------------------------
  1827. -- Records of qrtz_blob_triggers
  1828. -- ----------------------------
  1829. BEGIN;
  1830. COMMIT;
  1831. -- ----------------------------
  1832. -- Table structure for qrtz_calendars
  1833. -- ----------------------------
  1834. DROP TABLE IF EXISTS "qrtz_calendars";
  1835. CREATE TABLE "qrtz_calendars" (
  1836. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1837. "calendar_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1838. "calendar" bytea NOT NULL
  1839. )
  1840. ;
  1841. -- ----------------------------
  1842. -- Records of qrtz_calendars
  1843. -- ----------------------------
  1844. BEGIN;
  1845. COMMIT;
  1846. -- ----------------------------
  1847. -- Table structure for qrtz_cron_triggers
  1848. -- ----------------------------
  1849. DROP TABLE IF EXISTS "qrtz_cron_triggers";
  1850. CREATE TABLE "qrtz_cron_triggers" (
  1851. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1852. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1853. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1854. "cron_expression" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1855. "time_zone_id" varchar(80) COLLATE "pg_catalog"."default"
  1856. )
  1857. ;
  1858. -- ----------------------------
  1859. -- Records of qrtz_cron_triggers
  1860. -- ----------------------------
  1861. BEGIN;
  1862. COMMIT;
  1863. -- ----------------------------
  1864. -- Table structure for qrtz_fired_triggers
  1865. -- ----------------------------
  1866. DROP TABLE IF EXISTS "qrtz_fired_triggers";
  1867. CREATE TABLE "qrtz_fired_triggers" (
  1868. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1869. "entry_id" varchar(95) COLLATE "pg_catalog"."default" NOT NULL,
  1870. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1871. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1872. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1873. "fired_time" int8 NOT NULL,
  1874. "sched_time" int8 NOT NULL,
  1875. "priority" int4 NOT NULL,
  1876. "state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  1877. "job_name" varchar(200) COLLATE "pg_catalog"."default",
  1878. "job_group" varchar(200) COLLATE "pg_catalog"."default",
  1879. "is_nonconcurrent" bool,
  1880. "requests_recovery" bool
  1881. )
  1882. ;
  1883. -- ----------------------------
  1884. -- Records of qrtz_fired_triggers
  1885. -- ----------------------------
  1886. BEGIN;
  1887. COMMIT;
  1888. -- ----------------------------
  1889. -- Table structure for qrtz_job_details
  1890. -- ----------------------------
  1891. DROP TABLE IF EXISTS "qrtz_job_details";
  1892. CREATE TABLE "qrtz_job_details" (
  1893. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1894. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1895. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1896. "description" varchar(250) COLLATE "pg_catalog"."default",
  1897. "job_class_name" varchar(250) COLLATE "pg_catalog"."default" NOT NULL,
  1898. "is_durable" bool NOT NULL,
  1899. "is_nonconcurrent" bool NOT NULL,
  1900. "is_update_data" bool NOT NULL,
  1901. "requests_recovery" bool NOT NULL,
  1902. "job_data" bytea
  1903. )
  1904. ;
  1905. -- ----------------------------
  1906. -- Records of qrtz_job_details
  1907. -- ----------------------------
  1908. BEGIN;
  1909. INSERT INTO "qrtz_job_details" ("sched_name", "job_name", "job_group", "description", "job_class_name", "is_durable", "is_nonconcurrent", "is_update_data", "requests_recovery", "job_data") VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', NULL, 'cn.iocoder.yudao.framework.quartz.core.handler.JobHandlerInvoker', 'f', 't', 't', 'f', E'\\254\\355\\000\\005sr\\000\\025org.quartz.JobDataMap\\237\\260\\203\\350\\277\\251\\260\\313\\002\\000\\000xr\\000&org.quartz.utils.StringKeyDirtyFlagMap\\202\\010\\350\\303\\373\\305](\\002\\000\\001Z\\000\\023allowsTransientDataxr\\000\\035org.quartz.utils.DirtyFlagMap\\023\\346.\\255(v\\012\\316\\002\\000\\002Z\\000\\005dirtyL\\000\\003mapt\\000\\017Ljava/util/Map;xp\\001sr\\000\\021java.util.HashMap\\005\\007\\332\\301\\303\\026`\\321\\003\\000\\002F\\000\\012loadFactorI\\000\\011thresholdxp?@\\000\\000\\000\\000\\000\\014w\\010\\000\\000\\000\\020\\000\\000\\000\\002t\\000\\006JOB_IDsr\\000\\016java.lang.Long;\\213\\344\\220\\314\\217#\\337\\002\\000\\001J\\000\\005valuexr\\000\\020java.lang.Number\\206\\254\\225\\035\\013\\224\\340\\213\\002\\000\\000xp\\000\\000\\000\\000\\000\\000\\000\\002t\\000\\020JOB_HANDLER_NAMEt\\000\\025userSessionTimeoutJobx\\000');
  1910. COMMIT;
  1911. -- ----------------------------
  1912. -- Table structure for qrtz_locks
  1913. -- ----------------------------
  1914. DROP TABLE IF EXISTS "qrtz_locks";
  1915. CREATE TABLE "qrtz_locks" (
  1916. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1917. "lock_name" varchar(40) COLLATE "pg_catalog"."default" NOT NULL
  1918. )
  1919. ;
  1920. -- ----------------------------
  1921. -- Records of qrtz_locks
  1922. -- ----------------------------
  1923. BEGIN;
  1924. INSERT INTO "qrtz_locks" ("sched_name", "lock_name") VALUES ('schedulerName', 'TRIGGER_ACCESS');
  1925. INSERT INTO "qrtz_locks" ("sched_name", "lock_name") VALUES ('schedulerName', 'STATE_ACCESS');
  1926. COMMIT;
  1927. -- ----------------------------
  1928. -- Table structure for qrtz_paused_trigger_grps
  1929. -- ----------------------------
  1930. DROP TABLE IF EXISTS "qrtz_paused_trigger_grps";
  1931. CREATE TABLE "qrtz_paused_trigger_grps" (
  1932. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1933. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL
  1934. )
  1935. ;
  1936. -- ----------------------------
  1937. -- Records of qrtz_paused_trigger_grps
  1938. -- ----------------------------
  1939. BEGIN;
  1940. COMMIT;
  1941. -- ----------------------------
  1942. -- Table structure for qrtz_scheduler_state
  1943. -- ----------------------------
  1944. DROP TABLE IF EXISTS "qrtz_scheduler_state";
  1945. CREATE TABLE "qrtz_scheduler_state" (
  1946. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1947. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1948. "last_checkin_time" int8 NOT NULL,
  1949. "checkin_interval" int8 NOT NULL
  1950. )
  1951. ;
  1952. -- ----------------------------
  1953. -- Records of qrtz_scheduler_state
  1954. -- ----------------------------
  1955. BEGIN;
  1956. INSERT INTO "qrtz_scheduler_state" ("sched_name", "instance_name", "last_checkin_time", "checkin_interval") VALUES ('schedulerName', 'Yunai.local1651328569660', 1651328650075, 15000);
  1957. COMMIT;
  1958. -- ----------------------------
  1959. -- Table structure for qrtz_simple_triggers
  1960. -- ----------------------------
  1961. DROP TABLE IF EXISTS "qrtz_simple_triggers";
  1962. CREATE TABLE "qrtz_simple_triggers" (
  1963. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1964. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1965. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1966. "repeat_count" int8 NOT NULL,
  1967. "repeat_interval" int8 NOT NULL,
  1968. "times_triggered" int8 NOT NULL
  1969. )
  1970. ;
  1971. -- ----------------------------
  1972. -- Records of qrtz_simple_triggers
  1973. -- ----------------------------
  1974. BEGIN;
  1975. COMMIT;
  1976. -- ----------------------------
  1977. -- Table structure for qrtz_simprop_triggers
  1978. -- ----------------------------
  1979. DROP TABLE IF EXISTS "qrtz_simprop_triggers";
  1980. CREATE TABLE "qrtz_simprop_triggers" (
  1981. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  1982. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1983. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1984. "str_prop_1" varchar(512) COLLATE "pg_catalog"."default",
  1985. "str_prop_2" varchar(512) COLLATE "pg_catalog"."default",
  1986. "str_prop_3" varchar(512) COLLATE "pg_catalog"."default",
  1987. "int_prop_1" int4,
  1988. "int_prop_2" int4,
  1989. "long_prop_1" int8,
  1990. "long_prop_2" int8,
  1991. "dec_prop_1" numeric(13,4),
  1992. "dec_prop_2" numeric(13,4),
  1993. "bool_prop_1" bool,
  1994. "bool_prop_2" bool
  1995. )
  1996. ;
  1997. -- ----------------------------
  1998. -- Records of qrtz_simprop_triggers
  1999. -- ----------------------------
  2000. BEGIN;
  2001. COMMIT;
  2002. -- ----------------------------
  2003. -- Table structure for qrtz_triggers
  2004. -- ----------------------------
  2005. DROP TABLE IF EXISTS "qrtz_triggers";
  2006. CREATE TABLE "qrtz_triggers" (
  2007. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2008. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2009. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2010. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2011. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2012. "description" varchar(250) COLLATE "pg_catalog"."default",
  2013. "next_fire_time" int8,
  2014. "prev_fire_time" int8,
  2015. "priority" int4,
  2016. "trigger_state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  2017. "trigger_type" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  2018. "start_time" int8 NOT NULL,
  2019. "end_time" int8,
  2020. "calendar_name" varchar(200) COLLATE "pg_catalog"."default",
  2021. "misfire_instr" int2,
  2022. "job_data" bytea
  2023. )
  2024. ;
  2025. -- ----------------------------
  2026. -- Records of qrtz_triggers
  2027. -- ----------------------------
  2028. BEGIN;
  2029. INSERT INTO "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group", "job_name", "job_group", "description", "next_fire_time", "prev_fire_time", "priority", "trigger_state", "trigger_type", "start_time", "end_time", "calendar_name", "misfire_instr", "job_data") VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', 'userSessionTimeoutJob', 'DEFAULT', NULL, 1651328700000, 1651328640000, 5, 'WAITING', 'CRON', 1651328526000, 0, NULL, 0, E'\\254\\355\\000\\005sr\\000\\025org.quartz.JobDataMap\\237\\260\\203\\350\\277\\251\\260\\313\\002\\000\\000xr\\000&org.quartz.utils.StringKeyDirtyFlagMap\\202\\010\\350\\303\\373\\305](\\002\\000\\001Z\\000\\023allowsTransientDataxr\\000\\035org.quartz.utils.DirtyFlagMap\\023\\346.\\255(v\\012\\316\\002\\000\\002Z\\000\\005dirtyL\\000\\003mapt\\000\\017Ljava/util/Map;xp\\001sr\\000\\021java.util.HashMap\\005\\007\\332\\301\\303\\026`\\321\\003\\000\\002F\\000\\012loadFactorI\\000\\011thresholdxp?@\\000\\000\\000\\000\\000\\014w\\010\\000\\000\\000\\020\\000\\000\\000\\003t\\000\\021JOB_HANDLER_PARAMpt\\000\\022JOB_RETRY_INTERVALsr\\000\\021java.lang.Integer\\022\\342\\240\\244\\367\\201\\2078\\002\\000\\001I\\000\\005valuexr\\000\\020java.lang.Number\\206\\254\\225\\035\\013\\224\\340\\213\\002\\000\\000xp\\000\\000\\007\\320t\\000\\017JOB_RETRY_COUNTsq\\000~\\000\\011\\000\\000\\000\\003x\\000');
  2030. COMMIT;
  2031. -- ----------------------------
  2032. -- Table structure for system_dept
  2033. -- ----------------------------
  2034. DROP TABLE IF EXISTS "system_dept";
  2035. CREATE TABLE "system_dept" (
  2036. "id" int8 NOT NULL,
  2037. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  2038. "parent_id" int8 NOT NULL,
  2039. "sort" int4 NOT NULL,
  2040. "leader_user_id" int8,
  2041. "phone" varchar(11) COLLATE "pg_catalog"."default",
  2042. "email" varchar(50) COLLATE "pg_catalog"."default",
  2043. "status" int2 NOT NULL,
  2044. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2045. "create_time" timestamp(6) NOT NULL,
  2046. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2047. "update_time" timestamp(6) NOT NULL,
  2048. "deleted" int2 NOT NULL DEFAULT 0,
  2049. "tenant_id" int8 NOT NULL DEFAULT 0
  2050. )
  2051. ;
  2052. COMMENT ON COLUMN "system_dept"."id" IS '部门id';
  2053. COMMENT ON COLUMN "system_dept"."name" IS '部门名称';
  2054. COMMENT ON COLUMN "system_dept"."parent_id" IS '父部门id';
  2055. COMMENT ON COLUMN "system_dept"."sort" IS '显示顺序';
  2056. COMMENT ON COLUMN "system_dept"."leader_user_id" IS '负责人';
  2057. COMMENT ON COLUMN "system_dept"."phone" IS '联系电话';
  2058. COMMENT ON COLUMN "system_dept"."email" IS '邮箱';
  2059. COMMENT ON COLUMN "system_dept"."status" IS '部门状态(0正常 1停用)';
  2060. COMMENT ON COLUMN "system_dept"."creator" IS '创建者';
  2061. COMMENT ON COLUMN "system_dept"."create_time" IS '创建时间';
  2062. COMMENT ON COLUMN "system_dept"."updater" IS '更新者';
  2063. COMMENT ON COLUMN "system_dept"."update_time" IS '更新时间';
  2064. COMMENT ON COLUMN "system_dept"."deleted" IS '是否删除';
  2065. COMMENT ON COLUMN "system_dept"."tenant_id" IS '租户编号';
  2066. COMMENT ON TABLE "system_dept" IS '部门表';
  2067. -- ----------------------------
  2068. -- Records of system_dept
  2069. -- ----------------------------
  2070. BEGIN;
  2071. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (100, '芋道源码', 0, 0, 1, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103', '2022-01-14 01:04:05', 0, 1);
  2072. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (101, '深圳总公司', 100, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1', '2022-02-22 19:47:48', 0, 1);
  2073. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (102, '长沙分公司', 100, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:40', 0, 1);
  2074. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (103, '研发部门', 101, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103', '2022-01-14 01:04:14', 0, 1);
  2075. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (104, '市场部门', 101, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:38', 0, 1);
  2076. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (105, '测试部门', 101, 3, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:37', 0, 1);
  2077. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (106, '财务部门', 101, 4, 103, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103', '2022-01-15 21:32:22', 0, 1);
  2078. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (107, '运维部门', 101, 5, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:33', 0, 1);
  2079. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (108, '市场部门', 102, 1, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1', '2022-02-16 08:35:45', 0, 1);
  2080. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (109, '财务部门', 102, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:29', 0, 1);
  2081. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (110, '新部门', 0, 1, NULL, NULL, NULL, 0, '110', '2022-02-23 20:46:30', '110', '2022-02-23 20:46:30', 0, 121);
  2082. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (111, '顶级部门', 0, 1, NULL, NULL, NULL, 0, '113', '2022-03-07 21:44:50', '113', '2022-03-07 21:44:50', 0, 122);
  2083. COMMIT;
  2084. -- ----------------------------
  2085. -- Table structure for system_dict_data
  2086. -- ----------------------------
  2087. DROP TABLE IF EXISTS "system_dict_data";
  2088. CREATE TABLE "system_dict_data" (
  2089. "id" int8 NOT NULL,
  2090. "sort" int4 NOT NULL,
  2091. "label" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2092. "value" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2093. "dict_type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2094. "status" int2 NOT NULL,
  2095. "color_type" varchar(100) COLLATE "pg_catalog"."default",
  2096. "css_class" varchar(100) COLLATE "pg_catalog"."default",
  2097. "remark" varchar(500) COLLATE "pg_catalog"."default",
  2098. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2099. "create_time" timestamp(6) NOT NULL,
  2100. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2101. "update_time" timestamp(6) NOT NULL,
  2102. "deleted" int2 NOT NULL DEFAULT 0
  2103. )
  2104. ;
  2105. COMMENT ON COLUMN "system_dict_data"."id" IS '字典编码';
  2106. COMMENT ON COLUMN "system_dict_data"."sort" IS '字典排序';
  2107. COMMENT ON COLUMN "system_dict_data"."label" IS '字典标签';
  2108. COMMENT ON COLUMN "system_dict_data"."value" IS '字典键值';
  2109. COMMENT ON COLUMN "system_dict_data"."dict_type" IS '字典类型';
  2110. COMMENT ON COLUMN "system_dict_data"."status" IS '状态(0正常 1停用)';
  2111. COMMENT ON COLUMN "system_dict_data"."color_type" IS '颜色类型';
  2112. COMMENT ON COLUMN "system_dict_data"."css_class" IS 'css 样式';
  2113. COMMENT ON COLUMN "system_dict_data"."remark" IS '备注';
  2114. COMMENT ON COLUMN "system_dict_data"."creator" IS '创建者';
  2115. COMMENT ON COLUMN "system_dict_data"."create_time" IS '创建时间';
  2116. COMMENT ON COLUMN "system_dict_data"."updater" IS '更新者';
  2117. COMMENT ON COLUMN "system_dict_data"."update_time" IS '更新时间';
  2118. COMMENT ON COLUMN "system_dict_data"."deleted" IS '是否删除';
  2119. COMMENT ON TABLE "system_dict_data" IS '字典数据表';
  2120. -- ----------------------------
  2121. -- Records of system_dict_data
  2122. -- ----------------------------
  2123. BEGIN;
  2124. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1, 1, '男', '1', 'system_user_sex', 0, 'default', 'A', '性别男', 'admin', '2021-01-05 17:03:48', '1', '2022-03-29 00:14:39', 0);
  2125. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (2, 2, '女', '2', 'system_user_sex', 1, 'success', '', '性别女', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 01:30:51', 0);
  2126. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (8, 1, '正常', '1', 'infra_job_status', 0, 'success', '', '正常状态', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 19:33:38', 0);
  2127. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (9, 2, '暂停', '2', 'infra_job_status', 0, 'danger', '', '停用状态', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 19:33:45', 0);
  2128. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (12, 1, '系统内置', '1', 'infra_config_type', 0, 'danger', '', '参数类型 - 系统内置', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 19:06:02', 0);
  2129. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (13, 2, '自定义', '2', 'infra_config_type', 0, 'primary', '', '参数类型 - 自定义', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 19:06:07', 0);
  2130. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (14, 1, '通知', '1', 'system_notice_type', 0, 'success', '', '通知', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 13:05:57', 0);
  2131. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (15, 2, '公告', '2', 'system_notice_type', 0, 'info', '', '公告', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 13:06:01', 0);
  2132. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (16, 0, '其它', '0', 'system_operate_type', 0, 'default', '', '其它操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:32:46', 0);
  2133. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (17, 1, '查询', '1', 'system_operate_type', 0, 'info', '', '查询操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:16', 0);
  2134. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (18, 2, '新增', '2', 'system_operate_type', 0, 'primary', '', '新增操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:13', 0);
  2135. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (19, 3, '修改', '3', 'system_operate_type', 0, 'warning', '', '修改操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:22', 0);
  2136. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (20, 4, '删除', '4', 'system_operate_type', 0, 'danger', '', '删除操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:27', 0);
  2137. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (22, 5, '导出', '5', 'system_operate_type', 0, 'default', '', '导出操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:32', 0);
  2138. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (23, 6, '导入', '6', 'system_operate_type', 0, 'default', '', '导入操作', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:33:35', 0);
  2139. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (27, 1, '开启', '0', 'common_status', 0, 'primary', '', '开启状态', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 08:00:39', 0);
  2140. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (28, 2, '关闭', '1', 'common_status', 0, 'info', '', '关闭状态', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 08:00:44', 0);
  2141. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (29, 1, '目录', '1', 'system_menu_type', 0, '', '', '目录', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:43:45', 0);
  2142. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (30, 2, '菜单', '2', 'system_menu_type', 0, '', '', '菜单', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:43:41', 0);
  2143. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (31, 3, '按钮', '3', 'system_menu_type', 0, '', '', '按钮', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:43:39', 0);
  2144. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (32, 1, '内置', '1', 'system_role_type', 0, 'danger', '', '内置角色', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 13:02:08', 0);
  2145. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (33, 2, '自定义', '2', 'system_role_type', 0, 'primary', '', '自定义角色', 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 13:02:12', 0);
  2146. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (34, 1, '全部数据权限', '1', 'system_data_scope', 0, '', '', '全部数据权限', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:47:17', 0);
  2147. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (35, 2, '指定部门数据权限', '2', 'system_data_scope', 0, '', '', '指定部门数据权限', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:47:18', 0);
  2148. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (36, 3, '本部门数据权限', '3', 'system_data_scope', 0, '', '', '本部门数据权限', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:47:16', 0);
  2149. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (37, 4, '本部门及以下数据权限', '4', 'system_data_scope', 0, '', '', '本部门及以下数据权限', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:47:21', 0);
  2150. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (38, 5, '仅本人数据权限', '5', 'system_data_scope', 0, '', '', '仅本人数据权限', 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:47:23', 0);
  2151. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (39, 0, '成功', '0', 'system_login_result', 0, 'success', '', '登陆结果 - 成功', '', '2021-01-18 06:17:36', '1', '2022-02-16 13:23:49', 0);
  2152. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (40, 10, '账号或密码不正确', '10', 'system_login_result', 0, 'primary', '', '登陆结果 - 账号或密码不正确', '', '2021-01-18 06:17:54', '1', '2022-02-16 13:24:27', 0);
  2153. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (41, 20, '用户被禁用', '20', 'system_login_result', 0, 'warning', '', '登陆结果 - 用户被禁用', '', '2021-01-18 06:17:54', '1', '2022-02-16 13:23:57', 0);
  2154. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (42, 30, '验证码不存在', '30', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不存在', '', '2021-01-18 06:17:54', '1', '2022-02-16 13:24:07', 0);
  2155. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (43, 31, '验证码不正确', '31', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不正确', '', '2021-01-18 06:17:54', '1', '2022-02-16 13:24:11', 0);
  2156. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (44, 100, '未知异常', '100', 'system_login_result', 0, 'danger', '', '登陆结果 - 未知异常', '', '2021-01-18 06:17:54', '1', '2022-02-16 13:24:23', 0);
  2157. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (45, 1, '是', 'true', 'infra_boolean_string', 0, 'danger', '', 'Boolean 是否类型 - 是', '', '2021-01-19 03:20:55', '1', '2022-03-15 23:01:45', 0);
  2158. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (46, 1, '否', 'false', 'infra_boolean_string', 0, 'info', '', 'Boolean 是否类型 - 否', '', '2021-01-19 03:20:55', '1', '2022-03-15 23:09:45', 0);
  2159. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (47, 1, '永不超时', '1', 'infra_redis_timeout_type', 0, 'primary', '', 'Redis 未设置超时的情况', '', '2021-01-26 00:53:17', '1', '2022-02-16 19:03:35', 0);
  2160. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (48, 1, '动态超时', '2', 'infra_redis_timeout_type', 0, 'info', '', '程序里动态传入超时时间,无法固定', '', '2021-01-26 00:55:00', '1', '2022-02-16 19:03:41', 0);
  2161. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (49, 3, '固定超时', '3', 'infra_redis_timeout_type', 0, 'success', '', 'Redis 设置了过期时间', '', '2021-01-26 00:55:26', '1', '2022-02-16 19:03:45', 0);
  2162. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (50, 1, '单表(增删改查)', '1', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:09:06', '', '2022-03-10 16:33:15', 0);
  2163. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (51, 2, '树表(增删改查)', '2', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:14:46', '', '2022-03-10 16:33:19', 0);
  2164. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (53, 0, '初始化中', '0', 'infra_job_status', 0, 'primary', '', NULL, '', '2021-02-07 07:46:49', '1', '2022-02-16 19:33:29', 0);
  2165. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (57, 0, '运行中', '0', 'infra_job_log_status', 0, 'primary', '', 'RUNNING', '', '2021-02-08 10:04:24', '1', '2022-02-16 19:07:48', 0);
  2166. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (58, 1, '成功', '1', 'infra_job_log_status', 0, 'success', '', NULL, '', '2021-02-08 10:06:57', '1', '2022-02-16 19:07:52', 0);
  2167. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (59, 2, '失败', '2', 'infra_job_log_status', 0, 'warning', '', '失败', '', '2021-02-08 10:07:38', '1', '2022-02-16 19:07:56', 0);
  2168. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (60, 1, '会员', '1', 'user_type', 0, 'primary', '', NULL, '', '2021-02-26 00:16:27', '1', '2022-02-16 10:22:19', 0);
  2169. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (61, 2, '管理员', '2', 'user_type', 0, 'success', '', NULL, '', '2021-02-26 00:16:34', '1', '2022-02-16 10:22:22', 0);
  2170. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (62, 0, '未处理', '0', 'infra_api_error_log_process_status', 0, 'primary', '', NULL, '', '2021-02-26 07:07:19', '1', '2022-02-16 20:14:17', 0);
  2171. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (63, 1, '已处理', '1', 'infra_api_error_log_process_status', 0, 'success', '', NULL, '', '2021-02-26 07:07:26', '1', '2022-02-16 20:14:08', 0);
  2172. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (64, 2, '已忽略', '2', 'infra_api_error_log_process_status', 0, 'danger', '', NULL, '', '2021-02-26 07:07:34', '1', '2022-02-16 20:14:14', 0);
  2173. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (66, 2, '阿里云', 'ALIYUN', 'system_sms_channel_code', 0, 'primary', '', NULL, '1', '2021-04-05 01:05:26', '1', '2022-02-16 10:09:52', 0);
  2174. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (67, 1, '验证码', '1', 'system_sms_template_type', 0, 'warning', '', NULL, '1', '2021-04-05 21:50:57', '1', '2022-02-16 12:48:30', 0);
  2175. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (68, 2, '通知', '2', 'system_sms_template_type', 0, 'primary', '', NULL, '1', '2021-04-05 21:51:08', '1', '2022-02-16 12:48:27', 0);
  2176. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (69, 0, '营销', '3', 'system_sms_template_type', 0, 'danger', '', NULL, '1', '2021-04-05 21:51:15', '1', '2022-02-16 12:48:22', 0);
  2177. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (70, 0, '初始化', '0', 'system_sms_send_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:18:33', '1', '2022-02-16 10:26:07', 0);
  2178. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (71, 1, '发送成功', '10', 'system_sms_send_status', 0, 'success', '', NULL, '1', '2021-04-11 20:18:43', '1', '2022-02-16 10:25:56', 0);
  2179. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (72, 2, '发送失败', '20', 'system_sms_send_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:18:49', '1', '2022-02-16 10:26:03', 0);
  2180. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (73, 3, '不发送', '30', 'system_sms_send_status', 0, 'info', '', NULL, '1', '2021-04-11 20:19:44', '1', '2022-02-16 10:26:10', 0);
  2181. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (74, 0, '等待结果', '0', 'system_sms_receive_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:27:43', '1', '2022-02-16 10:28:24', 0);
  2182. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (75, 1, '接收成功', '10', 'system_sms_receive_status', 0, 'success', '', NULL, '1', '2021-04-11 20:29:25', '1', '2022-02-16 10:28:28', 0);
  2183. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (76, 2, '接收失败', '20', 'system_sms_receive_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:29:31', '1', '2022-02-16 10:28:32', 0);
  2184. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (77, 0, '调试(钉钉)', 'DEBUG_DING_TALK', 'system_sms_channel_code', 0, 'info', '', NULL, '1', '2021-04-13 00:20:37', '1', '2022-02-16 10:10:00', 0);
  2185. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (78, 1, '自动生成', '1', 'system_error_code_type', 0, 'warning', '', NULL, '1', '2021-04-21 00:06:48', '1', '2022-02-16 13:57:20', 0);
  2186. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (79, 2, '手动编辑', '2', 'system_error_code_type', 0, 'primary', '', NULL, '1', '2021-04-21 00:07:14', '1', '2022-02-16 13:57:24', 0);
  2187. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (80, 100, '账号登录', '100', 'system_login_type', 0, 'primary', '', '账号登录', '1', '2021-10-06 00:52:02', '1', '2022-02-16 13:11:34', 0);
  2188. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (81, 101, '社交登录', '101', 'system_login_type', 0, 'info', '', '社交登录', '1', '2021-10-06 00:52:17', '1', '2022-02-16 13:11:40', 0);
  2189. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (83, 200, '主动登出', '200', 'system_login_type', 0, 'primary', '', '主动登出', '1', '2021-10-06 00:52:58', '1', '2022-02-16 13:11:49', 0);
  2190. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (85, 202, '强制登出', '202', 'system_login_type', 0, 'danger', '', '强制退出', '1', '2021-10-06 00:53:41', '1', '2022-02-16 13:11:57', 0);
  2191. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (86, 0, '病假', '1', 'bpm_oa_leave_type', 0, 'primary', '', NULL, '1', '2021-09-21 22:35:28', '1', '2022-02-16 10:00:41', 0);
  2192. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (87, 1, '事假', '2', 'bpm_oa_leave_type', 0, 'info', '', NULL, '1', '2021-09-21 22:36:11', '1', '2022-02-16 10:00:49', 0);
  2193. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (88, 2, '婚假', '3', 'bpm_oa_leave_type', 0, 'warning', '', NULL, '1', '2021-09-21 22:36:38', '1', '2022-02-16 10:00:53', 0);
  2194. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (98, 1, 'v2', 'v2', 'pay_channel_wechat_version', 0, '', '', 'v2版本', '1', '2021-11-08 17:00:58', '1', '2021-11-08 17:00:58', 0);
  2195. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (99, 2, 'v3', 'v3', 'pay_channel_wechat_version', 0, '', '', 'v3版本', '1', '2021-11-08 17:01:07', '1', '2021-11-08 17:01:07', 0);
  2196. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (108, 1, 'RSA2', 'RSA2', 'pay_channel_alipay_sign_type', 0, '', '', 'RSA2', '1', '2021-11-18 15:39:29', '1', '2021-11-18 15:39:29', 0);
  2197. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (109, 1, '公钥模式', '1', 'pay_channel_alipay_mode', 0, '', '', '公钥模式:privateKey + alipayPublicKey', '1', '2021-11-18 15:45:23', '1', '2021-11-18 15:45:23', 0);
  2198. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (110, 2, '证书模式', '2', 'pay_channel_alipay_mode', 0, '', '', '证书模式:appCertContent + alipayPublicCertContent + rootCertContent', '1', '2021-11-18 15:45:40', '1', '2021-11-18 15:45:40', 0);
  2199. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (111, 1, '线上', 'https://openapi.alipay.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '', '网关地址 - 线上', '1', '2021-11-18 16:59:32', '1', '2021-11-21 17:37:29', 0);
  2200. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (112, 2, '沙箱', 'https://openapi.alipaydev.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '', '网关地址 - 沙箱', '1', '2021-11-18 16:59:48', '1', '2021-11-21 17:37:39', 0);
  2201. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (113, 1, '微信 JSAPI 支付', 'wx_pub', 'pay_channel_code_type', 0, '', '', '微信 JSAPI(公众号) 支付', '1', '2021-12-03 10:40:24', '1', '2021-12-04 16:41:00', 0);
  2202. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (114, 2, '微信小程序支付', 'wx_lite', 'pay_channel_code_type', 0, '', '', '微信小程序支付', '1', '2021-12-03 10:41:06', '1', '2021-12-03 10:41:06', 0);
  2203. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (115, 3, '微信 App 支付', 'wx_app', 'pay_channel_code_type', 0, '', '', '微信 App 支付', '1', '2021-12-03 10:41:20', '1', '2021-12-03 10:41:20', 0);
  2204. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (116, 4, '支付宝 PC 网站支付', 'alipay_pc', 'pay_channel_code_type', 0, '', '', '支付宝 PC 网站支付', '1', '2021-12-03 10:42:09', '1', '2021-12-03 10:42:09', 0);
  2205. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (117, 5, '支付宝 Wap 网站支付', 'alipay_wap', 'pay_channel_code_type', 0, '', '', '支付宝 Wap 网站支付', '1', '2021-12-03 10:42:26', '1', '2021-12-03 10:42:26', 0);
  2206. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (118, 6, '支付宝App 支付', 'alipay_app', 'pay_channel_code_type', 0, '', '', '支付宝App 支付', '1', '2021-12-03 10:42:55', '1', '2021-12-03 10:42:55', 0);
  2207. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (119, 7, '支付宝扫码支付', 'alipay_qr', 'pay_channel_code_type', 0, '', '', '支付宝扫码支付', '1', '2021-12-03 10:43:10', '1', '2021-12-03 10:43:10', 0);
  2208. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (120, 1, '通知成功', '10', 'pay_order_notify_status', 0, 'success', '', '通知成功', '1', '2021-12-03 11:02:41', '1', '2022-02-16 13:59:13', 0);
  2209. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (121, 2, '通知失败', '20', 'pay_order_notify_status', 0, 'danger', '', '通知失败', '1', '2021-12-03 11:02:59', '1', '2022-02-16 13:59:17', 0);
  2210. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (122, 3, '未通知', '0', 'pay_order_notify_status', 0, 'info', '', '未通知', '1', '2021-12-03 11:03:10', '1', '2022-02-16 13:59:23', 0);
  2211. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (123, 1, '支付成功', '10', 'pay_order_status', 0, 'success', '', '支付成功', '1', '2021-12-03 11:18:29', '1', '2022-02-16 15:24:25', 0);
  2212. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (124, 2, '支付关闭', '20', 'pay_order_status', 0, 'danger', '', '支付关闭', '1', '2021-12-03 11:18:42', '1', '2022-02-16 15:24:31', 0);
  2213. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (125, 3, '未支付', '0', 'pay_order_status', 0, 'info', '', '未支付', '1', '2021-12-03 11:18:18', '1', '2022-02-16 15:24:35', 0);
  2214. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (126, 1, '未退款', '0', 'pay_order_refund_status', 0, '', '', '未退款', '1', '2021-12-03 11:30:35', '1', '2021-12-03 11:34:05', 0);
  2215. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (127, 2, '部分退款', '10', 'pay_order_refund_status', 0, '', '', '部分退款', '1', '2021-12-03 11:30:44', '1', '2021-12-03 11:34:10', 0);
  2216. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (128, 3, '全部退款', '20', 'pay_order_refund_status', 0, '', '', '全部退款', '1', '2021-12-03 11:30:52', '1', '2021-12-03 11:34:14', 0);
  2217. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1117, 1, '退款订单生成', '0', 'pay_refund_order_status', 0, 'primary', '', '退款订单生成', '1', '2021-12-10 16:44:44', '1', '2022-02-16 14:05:24', 0);
  2218. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1118, 2, '退款成功', '1', 'pay_refund_order_status', 0, 'success', '', '退款成功', '1', '2021-12-10 16:44:59', '1', '2022-02-16 14:05:28', 0);
  2219. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1119, 3, '退款失败', '2', 'pay_refund_order_status', 0, 'danger', '', '退款失败', '1', '2021-12-10 16:45:10', '1', '2022-02-16 14:05:34', 0);
  2220. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1124, 8, '退款关闭', '99', 'pay_refund_order_status', 0, 'info', '', '退款关闭', '1', '2021-12-10 16:46:26', '1', '2022-02-16 14:05:40', 0);
  2221. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1125, 0, '默认', '1', 'bpm_model_category', 0, 'primary', '', '流程分类 - 默认', '1', '2022-01-02 08:41:11', '1', '2022-02-16 20:01:42', 0);
  2222. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1126, 0, 'OA', '2', 'bpm_model_category', 0, 'success', '', '流程分类 - OA', '1', '2022-01-02 08:41:22', '1', '2022-02-16 20:01:50', 0);
  2223. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1127, 0, '进行中', '1', 'bpm_process_instance_status', 0, 'primary', '', '流程实例的状态 - 进行中', '1', '2022-01-07 23:47:22', '1', '2022-02-16 20:07:49', 0);
  2224. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1128, 2, '已完成', '2', 'bpm_process_instance_status', 0, 'success', '', '流程实例的状态 - 已完成', '1', '2022-01-07 23:47:49', '1', '2022-02-16 20:07:54', 0);
  2225. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1129, 1, '处理中', '1', 'bpm_process_instance_result', 0, 'primary', '', '流程实例的结果 - 处理中', '1', '2022-01-07 23:48:32', '1', '2022-02-16 09:53:26', 0);
  2226. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1130, 2, '通过', '2', 'bpm_process_instance_result', 0, 'success', '', '流程实例的结果 - 通过', '1', '2022-01-07 23:48:45', '1', '2022-02-16 09:53:31', 0);
  2227. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1131, 3, '不通过', '3', 'bpm_process_instance_result', 0, 'danger', '', '流程实例的结果 - 不通过', '1', '2022-01-07 23:48:55', '1', '2022-02-16 09:53:38', 0);
  2228. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1132, 4, '已取消', '4', 'bpm_process_instance_result', 0, 'info', '', '流程实例的结果 - 撤销', '1', '2022-01-07 23:49:06', '1', '2022-02-16 09:53:42', 0);
  2229. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1133, 10, '流程表单', '10', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 流程表单', '103', '2022-01-11 23:51:30', '103', '2022-01-11 23:51:30', 0);
  2230. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1134, 20, '业务表单', '20', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 业务表单', '103', '2022-01-11 23:51:47', '103', '2022-01-11 23:51:47', 0);
  2231. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1135, 10, '角色', '10', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 角色', '103', '2022-01-12 23:21:22', '1', '2022-02-16 20:06:14', 0);
  2232. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1136, 20, '部门的成员', '20', 'bpm_task_assign_rule_type', 0, 'primary', '', '任务分配规则的类型 - 部门的成员', '103', '2022-01-12 23:21:47', '1', '2022-02-16 20:05:28', 0);
  2233. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1137, 21, '部门的负责人', '21', 'bpm_task_assign_rule_type', 0, 'primary', '', '任务分配规则的类型 - 部门的负责人', '103', '2022-01-12 23:33:36', '1', '2022-02-16 20:05:31', 0);
  2234. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1138, 30, '用户', '30', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 用户', '103', '2022-01-12 23:34:02', '1', '2022-02-16 20:05:50', 0);
  2235. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1139, 40, '用户组', '40', 'bpm_task_assign_rule_type', 0, 'warning', '', '任务分配规则的类型 - 用户组', '103', '2022-01-12 23:34:21', '1', '2022-02-16 20:05:57', 0);
  2236. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1140, 50, '自定义脚本', '50', 'bpm_task_assign_rule_type', 0, 'danger', '', '任务分配规则的类型 - 自定义脚本', '103', '2022-01-12 23:34:43', '1', '2022-02-16 20:06:01', 0);
  2237. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1141, 22, '岗位', '22', 'bpm_task_assign_rule_type', 0, 'success', '', '任务分配规则的类型 - 岗位', '103', '2022-01-14 18:41:55', '1', '2022-02-16 20:05:39', 0);
  2238. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1142, 10, '流程发起人', '10', 'bpm_task_assign_script', 0, '', '', '任务分配自定义脚本 - 流程发起人', '103', '2022-01-15 00:10:57', '103', '2022-01-15 21:24:10', 0);
  2239. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1143, 20, '流程发起人的一级领导', '20', 'bpm_task_assign_script', 0, '', '', '任务分配自定义脚本 - 流程发起人的一级领导', '103', '2022-01-15 21:24:31', '103', '2022-01-15 21:24:31', 0);
  2240. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1144, 21, '流程发起人的二级领导', '21', 'bpm_task_assign_script', 0, '', '', '任务分配自定义脚本 - 流程发起人的二级领导', '103', '2022-01-15 21:24:46', '103', '2022-01-15 21:24:57', 0);
  2241. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1145, 1, '管理后台', '1', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 管理后台', '1', '2022-02-02 13:15:06', '1', '2022-03-10 16:32:59', 0);
  2242. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1146, 2, '用户 APP', '2', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 用户 APP', '1', '2022-02-02 13:15:19', '1', '2022-03-10 16:33:03', 0);
  2243. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1147, 0, '未退款', '0', 'pay_refund_order_type', 0, 'info', '', '退款类型 - 未退款', '1', '2022-02-16 14:09:01', '1', '2022-02-16 14:09:01', 0);
  2244. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1148, 10, '部分退款', '10', 'pay_refund_order_type', 0, 'success', '', '退款类型 - 部分退款', '1', '2022-02-16 14:09:25', '1', '2022-02-16 14:11:38', 0);
  2245. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1149, 20, '全部退款', '20', 'pay_refund_order_type', 0, 'warning', '', '退款类型 - 全部退款', '1', '2022-02-16 14:11:33', '1', '2022-02-16 14:11:33', 0);
  2246. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1150, 1, '数据库', '1', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:28', '1', '2022-03-15 00:25:28', 0);
  2247. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1151, 10, '本地磁盘', '10', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:41', '1', '2022-03-15 00:25:56', 0);
  2248. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1152, 11, 'FTP 服务器', '11', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:06', '1', '2022-03-15 00:26:10', 0);
  2249. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1153, 12, 'SFTP 服务器', '12', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:22', '1', '2022-03-15 00:26:22', 0);
  2250. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1154, 20, 'S3 对象存储', '20', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:31', '1', '2022-03-15 00:26:45', 0);
  2251. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1155, 103, '短信登录', '103', 'system_login_type', 0, 'default', '', NULL, '1', '2022-05-09 23:57:58', '1', '2022-05-09 23:58:09', 0);
  2252. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1156, 1, 'password', 'password', 'system_oauth2_grant_type', 0, 'default', '', '密码模式', '1', '2022-05-12 00:22:05', '1', '2022-05-11 16:26:01', 0);
  2253. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1157, 2, 'authorization_code', 'authorization_code', 'system_oauth2_grant_type', 0, 'primary', '', '授权码模式', '1', '2022-05-12 00:22:59', '1', '2022-05-11 16:26:02', 0);
  2254. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1158, 3, 'implicit', 'implicit', 'system_oauth2_grant_type', 0, 'success', '', '简化模式', '1', '2022-05-12 00:23:40', '1', '2022-05-11 16:26:05', 0);
  2255. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1159, 4, 'client_credentials', 'client_credentials', 'system_oauth2_grant_type', 0, 'default', '', '客户端模式', '1', '2022-05-12 00:23:51', '1', '2022-05-11 16:26:08', 0);
  2256. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1160, 5, 'refresh_token', 'refresh_token', 'system_oauth2_grant_type', 0, 'info', '', '刷新模式', '1', '2022-05-12 00:24:02', '1', '2022-05-11 16:26:11', 0);
  2257. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1161, 4, 'Vue 3 Vben', '30', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-06-14 15:24:37.447', '1', '2023-06-14 15:24:37.447', 0);
  2258. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1162, 3, 'Vue 3 Schema', '21', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus Schema', '1', '2023-06-14 15:24:18.714', '1', '2023-06-14 15:36:40.317', 0);
  2259. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1163, 2, 'Vue 3', '20', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus', '1', '2023-06-14 15:24:05.654', '1', '2023-06-14 15:24:05.654', 0);
  2260. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1164, 1, 'Vue 2', '10', 'infra_codegen_front_type', 0, '', '', 'Vue 2', '1', '2023-06-14 15:23:12.211', '1', '2023-06-14 15:23:57.816', 0);
  2261. COMMIT;
  2262. -- ----------------------------
  2263. -- Table structure for system_dict_type
  2264. -- ----------------------------
  2265. DROP TABLE IF EXISTS "system_dict_type";
  2266. CREATE TABLE "system_dict_type"(
  2267. "id" int8 NOT NULL,
  2268. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2269. "type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2270. "status" int2 NOT NULL,
  2271. "remark" varchar(500) COLLATE "pg_catalog"."default",
  2272. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2273. "create_time" timestamp(6) NOT NULL,
  2274. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2275. "update_time" timestamp(6) NOT NULL,
  2276. "deleted_time" timestamp(6),
  2277. "deleted" int2 NOT NULL DEFAULT 0
  2278. )
  2279. ;
  2280. COMMENT
  2281. ON COLUMN "system_dict_type"."id" IS '字典主键';
  2282. COMMENT
  2283. ON COLUMN "system_dict_type"."name" IS '字典名称';
  2284. COMMENT
  2285. ON COLUMN "system_dict_type"."type" IS '字典类型';
  2286. COMMENT
  2287. ON COLUMN "system_dict_type"."status" IS '状态(0正常 1停用)';
  2288. COMMENT
  2289. ON COLUMN "system_dict_type"."remark" IS '备注';
  2290. COMMENT
  2291. ON COLUMN "system_dict_type"."creator" IS '创建者';
  2292. COMMENT
  2293. ON COLUMN "system_dict_type"."create_time" IS '创建时间';
  2294. COMMENT
  2295. ON COLUMN "system_dict_type"."updater" IS '更新者';
  2296. COMMENT
  2297. ON COLUMN "system_dict_type"."update_time" IS '更新时间';
  2298. COMMENT
  2299. ON COLUMN "system_dict_type"."deleted_time" IS '删除时间';
  2300. COMMENT
  2301. ON COLUMN "system_dict_type"."deleted" IS '是否删除';
  2302. COMMENT
  2303. ON TABLE "system_dict_type" IS '字典类型表';
  2304. -- ----------------------------
  2305. -- Records of system_dict_type
  2306. -- ----------------------------
  2307. BEGIN;
  2308. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  2309. "update_time", "deleted")
  2310. VALUES (1, '用户性别', 'system_user_sex', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:30:31', 0);
  2311. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  2312. "update_time", "deleted")
  2313. VALUES (6, '参数类型', 'infra_config_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:36:54', 0);
  2314. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  2315. "update_time", "deleted")
  2316. VALUES (7, '通知类型', 'system_notice_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:35:26', 0);
  2317. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (9, '操作类型', 'system_operate_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:32:21', 0);
  2318. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (10, '系统状态', 'common_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:21:28', 0);
  2319. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (11, 'Boolean 是否类型', 'infra_boolean_string', 0, 'boolean 转是否', '', '2021-01-19 03:20:08', '', '2022-02-01 16:37:10', 0);
  2320. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (104, '登陆结果', 'system_login_result', 0, '登陆结果', '', '2021-01-18 06:17:11', '', '2022-02-01 16:36:00', 0);
  2321. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (105, 'Redis 超时类型', 'infra_redis_timeout_type', 0, 'RedisKeyDefine.TimeoutTypeEnum', '', '2021-01-26 00:52:50', '', '2022-02-01 16:50:29', 0);
  2322. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (106, '代码生成模板类型', 'infra_codegen_template_type', 0, NULL, '', '2021-02-05 07:08:06', '', '2022-03-10 16:33:42', 0);
  2323. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (107, '定时任务状态', 'infra_job_status', 0, NULL, '', '2021-02-07 07:44:16', '', '2022-02-01 16:51:11', 0);
  2324. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (108, '定时任务日志状态', 'infra_job_log_status', 0, NULL, '', '2021-02-08 10:03:51', '', '2022-02-01 16:50:43', 0);
  2325. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (109, '用户类型', 'user_type', 0, NULL, '', '2021-02-26 00:15:51', '', '2021-02-26 00:15:51', 0);
  2326. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (110, 'API 异常数据的处理状态', 'infra_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:01', '', '2022-02-01 16:50:53', 0);
  2327. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (111, '短信渠道编码', 'system_sms_channel_code', 0, NULL, '1', '2021-04-05 01:04:50', '1', '2022-02-16 02:09:08', 0);
  2328. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (112, '短信模板的类型', 'system_sms_template_type', 0, NULL, '1', '2021-04-05 21:50:43', '1', '2022-02-01 16:35:06', 0);
  2329. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (113, '短信发送状态', 'system_sms_send_status', 0, NULL, '1', '2021-04-11 20:18:03', '1', '2022-02-01 16:35:09', 0);
  2330. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (114, '短信接收状态', 'system_sms_receive_status', 0, NULL, '1', '2021-04-11 20:27:14', '1', '2022-02-01 16:35:14', 0);
  2331. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (115, '错误码的类型', 'system_error_code_type', 0, NULL, '1', '2021-04-21 00:06:30', '1', '2022-02-01 16:36:49', 0);
  2332. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (116, '登陆日志的类型', 'system_login_type', 0, '登陆日志的类型', '1', '2021-10-06 00:50:46', '1', '2022-02-01 16:35:56', 0);
  2333. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (117, 'OA 请假类型', 'bpm_oa_leave_type', 0, NULL, '1', '2021-09-21 22:34:33', '1', '2022-01-22 10:41:37', 0);
  2334. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (122, '支付渠道微信版本', 'pay_channel_wechat_version', 0, '支付渠道微信版本', '1', '2021-11-08 17:00:26', '1', '2021-11-08 17:00:26', 0);
  2335. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (127, '支付渠道支付宝算法类型', 'pay_channel_alipay_sign_type', 0, '支付渠道支付宝算法类型', '1', '2021-11-18 15:39:09', '1', '2021-11-18 15:39:09', 0);
  2336. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (128, '支付渠道支付宝公钥类型', 'pay_channel_alipay_mode', 0, '支付渠道支付宝公钥类型', '1', '2021-11-18 15:44:28', '1', '2021-11-18 15:44:28', 0);
  2337. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (129, '支付宝网关地址', 'pay_channel_alipay_server_type', 0, '支付宝网关地址', '1', '2021-11-18 16:58:55', '1', '2021-11-18 17:01:34', 0);
  2338. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (130, '支付渠道编码类型', 'pay_channel_code_type', 0, '支付渠道的编码', '1', '2021-12-03 10:35:08', '1', '2021-12-03 10:35:08', 0);
  2339. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (131, '支付订单回调状态', 'pay_order_notify_status', 0, '支付订单回调状态', '1', '2021-12-03 10:53:29', '1', '2021-12-03 10:53:29', 0);
  2340. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (132, '支付订单状态', 'pay_order_status', 0, '支付订单状态', '1', '2021-12-03 11:17:50', '1', '2021-12-03 11:17:50', 0);
  2341. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (133, '支付订单退款状态', 'pay_order_refund_status', 0, '支付订单退款状态', '1', '2021-12-03 11:27:31', '1', '2021-12-03 11:27:31', 0);
  2342. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (134, '退款订单状态', 'pay_refund_order_status', 0, '退款订单状态', '1', '2021-12-10 16:42:50', '1', '2021-12-10 16:42:50', 0);
  2343. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (135, '退款订单类别', 'pay_refund_order_type', 0, '退款订单类别', '1', '2021-12-10 17:14:53', '1', '2021-12-10 17:14:53', 0);
  2344. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (138, '流程分类', 'bpm_model_category', 0, '流程分类', '1', '2022-01-02 08:40:45', '1', '2022-01-02 08:40:45', 0);
  2345. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (139, '流程实例的状态', 'bpm_process_instance_status', 0, '流程实例的状态', '1', '2022-01-07 23:46:42', '1', '2022-01-07 23:46:42', 0);
  2346. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (140, '流程实例的结果', 'bpm_process_instance_result', 0, '流程实例的结果', '1', '2022-01-07 23:48:10', '1', '2022-01-07 23:48:10', 0);
  2347. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (141, '流程的表单类型', 'bpm_model_form_type', 0, '流程的表单类型', '103', '2022-01-11 23:50:45', '103', '2022-01-11 23:50:45', 0);
  2348. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (142, '任务分配规则的类型', 'bpm_task_assign_rule_type', 0, '任务分配规则的类型', '103', '2022-01-12 23:21:04', '103', '2022-01-12 15:46:10', 0);
  2349. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (143, '任务分配自定义脚本', 'bpm_task_assign_script', 0, '任务分配自定义脚本', '103', '2022-01-15 00:10:35', '103', '2022-01-15 00:10:35', 0);
  2350. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (144, '代码生成的场景枚举', 'infra_codegen_scene', 0, '代码生成的场景枚举', '1', '2022-02-02 13:14:45', '1', '2022-03-10 16:33:46', 0);
  2351. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (145, '角色类型', 'system_role_type', 0, '角色类型', '1', '2022-02-16 13:01:46', '1', '2022-02-16 13:01:46', 0);
  2352. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (146, '文件存储器', 'infra_file_storage', 0, '文件存储器', '1', '2022-03-15 00:24:38', '1', '2022-03-15 00:24:38', 0);
  2353. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (147, 'OAuth 2.0 授权类型', 'system_oauth2_grant_type', 0, 'OAuth 2.0 授权类型(模式)', '1', '2022-05-12 00:20:52', '1', '2022-05-11 16:25:49', 0);
  2354. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted") VALUES (148, '生成前端代码类型', 'infra_codegen_front_type', 0, '生成前端代码类型', '1', '2023-6-14 16:07:35', '1', '2023-6-14 16:07:39', 0);
  2355. COMMIT;
  2356. -- ----------------------------
  2357. -- Table structure for system_error_code
  2358. -- ----------------------------
  2359. DROP TABLE IF EXISTS "system_error_code";
  2360. CREATE TABLE "system_error_code" (
  2361. "id" int8 NOT NULL,
  2362. "type" int2 NOT NULL,
  2363. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2364. "code" int4 NOT NULL,
  2365. "message" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  2366. "memo" varchar(512) COLLATE "pg_catalog"."default",
  2367. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2368. "create_time" timestamp(6) NOT NULL,
  2369. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2370. "update_time" timestamp(6) NOT NULL,
  2371. "deleted" int2 NOT NULL DEFAULT 0
  2372. )
  2373. ;
  2374. COMMENT ON COLUMN "system_error_code"."id" IS '错误码编号';
  2375. COMMENT ON COLUMN "system_error_code"."type" IS '错误码类型';
  2376. COMMENT ON COLUMN "system_error_code"."application_name" IS '应用名';
  2377. COMMENT ON COLUMN "system_error_code"."code" IS '错误码编码';
  2378. COMMENT ON COLUMN "system_error_code"."message" IS '错误码错误提示';
  2379. COMMENT ON COLUMN "system_error_code"."memo" IS '备注';
  2380. COMMENT ON COLUMN "system_error_code"."creator" IS '创建者';
  2381. COMMENT ON COLUMN "system_error_code"."create_time" IS '创建时间';
  2382. COMMENT ON COLUMN "system_error_code"."updater" IS '更新者';
  2383. COMMENT ON COLUMN "system_error_code"."update_time" IS '更新时间';
  2384. COMMENT ON COLUMN "system_error_code"."deleted" IS '是否删除';
  2385. COMMENT ON TABLE "system_error_code" IS '错误码表';
  2386. -- ----------------------------
  2387. -- Records of system_error_code
  2388. -- ----------------------------
  2389. BEGIN;
  2390. COMMIT;
  2391. -- ----------------------------
  2392. -- Table structure for system_login_log
  2393. -- ----------------------------
  2394. DROP TABLE IF EXISTS "system_login_log";
  2395. CREATE TABLE "system_login_log" (
  2396. "id" int8 NOT NULL,
  2397. "log_type" int8 NOT NULL,
  2398. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2399. "user_id" int8 NOT NULL DEFAULT 0,
  2400. "user_type" int2 NOT NULL,
  2401. "username" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2402. "result" int2 NOT NULL,
  2403. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2404. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  2405. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2406. "create_time" timestamp(6) NOT NULL,
  2407. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2408. "update_time" timestamp(6) NOT NULL,
  2409. "deleted" int2 NOT NULL DEFAULT 0,
  2410. "tenant_id" int8 NOT NULL DEFAULT 0
  2411. )
  2412. ;
  2413. COMMENT ON COLUMN "system_login_log"."id" IS '访问ID';
  2414. COMMENT ON COLUMN "system_login_log"."log_type" IS '日志类型';
  2415. COMMENT ON COLUMN "system_login_log"."trace_id" IS '链路追踪编号';
  2416. COMMENT ON COLUMN "system_login_log"."user_id" IS '用户编号';
  2417. COMMENT ON COLUMN "system_login_log"."user_type" IS '用户类型';
  2418. COMMENT ON COLUMN "system_login_log"."username" IS '用户账号';
  2419. COMMENT ON COLUMN "system_login_log"."result" IS '登陆结果';
  2420. COMMENT ON COLUMN "system_login_log"."user_ip" IS '用户 IP';
  2421. COMMENT ON COLUMN "system_login_log"."user_agent" IS '浏览器 UA';
  2422. COMMENT ON COLUMN "system_login_log"."creator" IS '创建者';
  2423. COMMENT ON COLUMN "system_login_log"."create_time" IS '创建时间';
  2424. COMMENT ON COLUMN "system_login_log"."updater" IS '更新者';
  2425. COMMENT ON COLUMN "system_login_log"."update_time" IS '更新时间';
  2426. COMMENT ON COLUMN "system_login_log"."deleted" IS '是否删除';
  2427. COMMENT ON COLUMN "system_login_log"."tenant_id" IS '租户编号';
  2428. COMMENT ON TABLE "system_login_log" IS '系统访问记录';
  2429. -- ----------------------------
  2430. -- Records of system_login_log
  2431. -- ----------------------------
  2432. BEGIN;
  2433. COMMIT;
  2434. -- ----------------------------
  2435. -- Table structure for system_menu
  2436. -- ----------------------------
  2437. DROP TABLE IF EXISTS "system_menu";
  2438. CREATE TABLE "system_menu" (
  2439. "id" int8 NOT NULL DEFAULT nextval('system_menu_seq'::regclass),
  2440. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2441. "permission" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2442. "type" int2 NOT NULL,
  2443. "sort" int4 NOT NULL,
  2444. "parent_id" int8 NOT NULL,
  2445. "path" varchar(200) COLLATE "pg_catalog"."default",
  2446. "icon" varchar(100) COLLATE "pg_catalog"."default",
  2447. "component" varchar(255) COLLATE "pg_catalog"."default",
  2448. "status" int2 NOT NULL,
  2449. "visible" bool NOT NULL DEFAULT true,
  2450. "keep_alive" bool NOT NULL DEFAULT false,
  2451. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2452. "create_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  2453. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2454. "update_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  2455. "deleted" int2 NOT NULL DEFAULT 0,
  2456. "component_name" varchar(255) COLLATE "pg_catalog"."default",
  2457. "always_show" bool NOT NULL DEFAULT false
  2458. )
  2459. ;
  2460. COMMENT ON COLUMN "system_menu"."id" IS '菜单ID';
  2461. COMMENT ON COLUMN "system_menu"."name" IS '菜单名称';
  2462. COMMENT ON COLUMN "system_menu"."permission" IS '权限标识';
  2463. COMMENT ON COLUMN "system_menu"."type" IS '菜单类型';
  2464. COMMENT ON COLUMN "system_menu"."sort" IS '显示顺序';
  2465. COMMENT ON COLUMN "system_menu"."parent_id" IS '父菜单ID';
  2466. COMMENT ON COLUMN "system_menu"."path" IS '路由地址';
  2467. COMMENT ON COLUMN "system_menu"."icon" IS '菜单图标';
  2468. COMMENT ON COLUMN "system_menu"."component" IS '组件路径';
  2469. COMMENT ON COLUMN "system_menu"."status" IS '菜单状态';
  2470. COMMENT ON COLUMN "system_menu"."visible" IS '是否可见';
  2471. COMMENT ON COLUMN "system_menu"."keep_alive" IS '是否缓存';
  2472. COMMENT ON COLUMN "system_menu"."creator" IS '创建者';
  2473. COMMENT ON COLUMN "system_menu"."create_time" IS '创建时间';
  2474. COMMENT ON COLUMN "system_menu"."updater" IS '更新者';
  2475. COMMENT ON COLUMN "system_menu"."update_time" IS '更新时间';
  2476. COMMENT ON COLUMN "system_menu"."deleted" IS '是否删除';
  2477. COMMENT ON COLUMN "system_menu"."component_name" IS '组件名称';
  2478. COMMENT ON COLUMN "system_menu"."always_show" IS '是否总是显示';
  2479. COMMENT ON TABLE "system_menu" IS '菜单权限表';
  2480. -- ----------------------------
  2481. -- Records of system_menu
  2482. -- ----------------------------
  2483. BEGIN;
  2484. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1, '系统管理', '', 1, 10, 0, '/system', 'system', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-05-13 01:02:57.073', 0, NULL, '1');
  2485. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (2, '基础设施', '', 1, 20, 0, '/infra', 'monitor', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2486. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (5, 'OA 示例', '', 1, 40, 1185, 'oa', 'people', NULL, 0, 't', 't', 'admin', '2021-09-20 16:26:19', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2487. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, 'User', '1');
  2488. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (101, '角色管理', '', 2, 2, 1, 'role', 'peoples', 'system/role/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2489. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (102, '菜单管理', '', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2490. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (103, '部门管理', '', 2, 4, 1, 'dept', 'tree', 'system/dept/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2491. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (104, '岗位管理', '', 2, 5, 1, 'post', 'post', 'system/post/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2492. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (105, '字典管理', '', 2, 6, 1, 'dict', 'dict', 'system/dict/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2493. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (106, '配置管理', '', 2, 6, 2, 'config', 'edit', 'infra/config/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2494. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (107, '通知公告', '', 2, 8, 1, 'notice', 'message', 'system/notice/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2495. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (108, '审计日志', '', 1, 9, 1, 'log', 'log', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2496. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (109, '令牌管理', '', 2, 2, 1261, 'token', 'online', 'system/oauth2/token/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-05-11 23:31:42', 0, NULL, '1');
  2497. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (110, '定时任务', '', 2, 12, 2, 'job', 'job', 'infra/job/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2498. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (111, 'MySQL 监控', '', 2, 9, 2, 'druid', 'druid', 'infra/druid/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2499. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (112, 'Java 监控', '', 2, 11, 2, 'admin-server', 'server', 'infra/server/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2500. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (113, 'Redis 监控', '', 2, 10, 2, 'redis', 'redis', 'infra/redis/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2501. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (114, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'build', 'infra/build/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2502. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (115, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'code', 'infra/codegen/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2503. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (116, '系统接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'swagger', 'infra/swagger/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2504. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (500, '操作日志', '', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2505. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (501, '登录日志', '', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2506. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1001, '用户查询', 'system:user:query', 3, 1, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2507. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1002, '用户新增', 'system:user:create', 3, 2, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2508. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1003, '用户修改', 'system:user:update', 3, 3, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2509. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1004, '用户删除', 'system:user:delete', 3, 4, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2510. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1005, '用户导出', 'system:user:export', 3, 5, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2511. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1006, '用户导入', 'system:user:import', 3, 6, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2512. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1007, '重置密码', 'system:user:update-password', 3, 7, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2513. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1008, '角色查询', 'system:role:query', 3, 1, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2514. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1009, '角色新增', 'system:role:create', 3, 2, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2515. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1010, '角色修改', 'system:role:update', 3, 3, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2516. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1011, '角色删除', 'system:role:delete', 3, 4, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2517. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1012, '角色导出', 'system:role:export', 3, 5, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2518. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1013, '菜单查询', 'system:menu:query', 3, 1, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2519. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1014, '菜单新增', 'system:menu:create', 3, 2, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2520. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1015, '菜单修改', 'system:menu:update', 3, 3, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2521. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1016, '菜单删除', 'system:menu:delete', 3, 4, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2522. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1017, '部门查询', 'system:dept:query', 3, 1, 103, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2523. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1018, '部门新增', 'system:dept:create', 3, 2, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2524. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1019, '部门修改', 'system:dept:update', 3, 3, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2525. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1020, '部门删除', 'system:dept:delete', 3, 4, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2526. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1021, '岗位查询', 'system:post:query', 3, 1, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2527. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1022, '岗位新增', 'system:post:create', 3, 2, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2528. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1023, '岗位修改', 'system:post:update', 3, 3, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2529. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1024, '岗位删除', 'system:post:delete', 3, 4, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2530. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1025, '岗位导出', 'system:post:export', 3, 5, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2531. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1026, '字典查询', 'system:dict:query', 3, 1, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2532. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1027, '字典新增', 'system:dict:create', 3, 2, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2533. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1028, '字典修改', 'system:dict:update', 3, 3, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2534. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1029, '字典删除', 'system:dict:delete', 3, 4, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2535. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1030, '字典导出', 'system:dict:export', 3, 5, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2536. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1031, '配置查询', 'infra:config:query', 3, 1, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2537. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1032, '配置新增', 'infra:config:create', 3, 2, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2538. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1033, '配置修改', 'infra:config:update', 3, 3, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2539. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1034, '配置删除', 'infra:config:delete', 3, 4, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2540. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1035, '配置导出', 'infra:config:export', 3, 5, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2541. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1036, '公告查询', 'system:notice:query', 3, 1, 107, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2542. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1037, '公告新增', 'system:notice:create', 3, 2, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2543. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1038, '公告修改', 'system:notice:update', 3, 3, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2544. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1039, '公告删除', 'system:notice:delete', 3, 4, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2545. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1040, '操作查询', 'system:operate-log:query', 3, 1, 500, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2546. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1042, '日志导出', 'system:operate-log:export', 3, 2, 500, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2547. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1043, '登录查询', 'system:login-log:query', 3, 1, 501, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2548. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1045, '日志导出', 'system:login-log:export', 3, 3, 501, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2549. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1046, '令牌列表', 'system:oauth2-token:page', 3, 1, 109, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-05-09 23:54:42', 0, NULL, '1');
  2550. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1048, '令牌删除', 'system:oauth2-token:delete', 3, 2, 109, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-05-09 23:54:53', 0, NULL, '1');
  2551. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1050, '任务新增', 'infra:job:create', 3, 2, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2552. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1051, '任务修改', 'infra:job:update', 3, 3, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2553. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1052, '任务删除', 'infra:job:delete', 3, 4, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2554. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1053, '状态修改', 'infra:job:update', 3, 5, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2555. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1054, '任务导出', 'infra:job:export', 3, 7, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2556. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1056, '生成修改', 'infra:codegen:update', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2557. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1057, '生成删除', 'infra:codegen:delete', 3, 3, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2558. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1058, '导入代码', 'infra:codegen:create', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2559. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1059, '预览代码', 'infra:codegen:preview', 3, 4, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2560. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1060, '生成代码', 'infra:codegen:download', 3, 5, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2561. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1063, '设置角色菜单权限', 'system:permission:assign-role-menu', 3, 6, 101, '', '', '', 0, 't', 't', '', '2021-01-06 17:53:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2562. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1064, '设置角色数据权限', 'system:permission:assign-role-data-scope', 3, 7, 101, '', '', '', 0, 't', 't', '', '2021-01-06 17:56:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2563. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1065, '设置用户角色', 'system:permission:assign-user-role', 3, 8, 101, '', '', '', 0, 't', 't', '', '2021-01-07 10:23:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2564. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1066, '获得 Redis 监控信息', 'infra:redis:get-monitor-info', 3, 1, 113, '', '', '', 0, 't', 't', '', '2021-01-26 01:02:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2565. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1067, '获得 Redis Key 列表', 'infra:redis:get-key-list', 3, 2, 113, '', '', '', 0, 't', 't', '', '2021-01-26 01:02:52', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2566. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1070, '代码生成示例', 'infra:test-demo:query', 2, 1, 2, 'test-demo', 'validCode', 'infra/testDemo/index', 0, 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2567. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1071, '测试示例表创建', 'infra:test-demo:create', 3, 1, 1070, '', '', '', 0, 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2568. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1072, '测试示例表更新', 'infra:test-demo:update', 3, 2, 1070, '', '', '', 0, 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2569. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1073, '测试示例表删除', 'infra:test-demo:delete', 3, 3, 1070, '', '', '', 0, 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2570. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1074, '测试示例表导出', 'infra:test-demo:export', 3, 4, 1070, '', '', '', 0, 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2571. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1075, '任务触发', 'infra:job:trigger', 3, 8, 110, '', '', '', 0, 't', 't', '', '2021-02-07 13:03:10', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2572. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1076, '数据库文档', '', 2, 4, 2, 'db-doc', 'table', 'infra/dbDoc/index', 0, 't', 't', '', '2021-02-08 01:41:47', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2573. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1077, '监控平台', '', 2, 13, 2, 'skywalking', 'eye-open', 'infra/skywalking/index', 0, 't', 't', '', '2021-02-08 20:41:31', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2574. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1078, '访问日志', '', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', 0, 't', 't', '', '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2575. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1082, '日志导出', 'infra:api-access-log:export', 3, 2, 1078, '', '', '', 0, 't', 't', '', '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2576. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1083, 'API 日志', '', 2, 8, 2, 'log', 'log', NULL, 0, 't', 't', '', '2021-02-26 02:18:24', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2577. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', 0, 't', 't', '', '2021-02-26 07:53:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2578. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1085, '日志处理', 'infra:api-error-log:update-status', 3, 2, 1084, '', '', '', 0, 't', 't', '', '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2579. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1086, '日志导出', 'infra:api-error-log:export', 3, 3, 1084, '', '', '', 0, 't', 't', '', '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2580. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1087, '任务查询', 'infra:job:query', 3, 1, 110, '', '', '', 0, 't', 't', '1', '2021-03-10 01:26:19', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2581. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1088, '日志查询', 'infra:api-access-log:query', 3, 1, 1078, '', '', '', 0, 't', 't', '1', '2021-03-10 01:28:04', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2582. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1089, '日志查询', 'infra:api-error-log:query', 3, 1, 1084, '', '', '', 0, 't', 't', '1', '2021-03-10 01:29:09', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2583. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1090, '文件列表', '', 2, 5, 1243, 'file', 'upload', 'infra/file/index', 0, 't', 't', '', '2021-03-12 20:16:20', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2584. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1091, '文件查询', 'infra:file:query', 3, 1, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2585. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1092, '文件删除', 'infra:file:delete', 3, 4, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2586. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1093, '短信管理', '', 1, 11, 1, 'sms', 'validCode', NULL, 0, 't', 't', '1', '2021-04-05 01:10:16', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2587. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1094, '短信渠道', '', 2, 0, 1093, 'sms-channel', 'phone', 'system/sms/channel', 0, 't', 't', '', '2021-04-01 11:07:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2588. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1095, '短信渠道查询', 'system:sms-channel:query', 3, 1, 1094, '', '', '', 0, 't', 't', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2589. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1096, '短信渠道创建', 'system:sms-channel:create', 3, 2, 1094, '', '', '', 0, 't', 't', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2590. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1097, '短信渠道更新', 'system:sms-channel:update', 3, 3, 1094, '', '', '', 0, 't', 't', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2591. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1098, '短信渠道删除', 'system:sms-channel:delete', 3, 4, 1094, '', '', '', 0, 't', 't', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2592. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1100, '短信模板', '', 2, 1, 1093, 'sms-template', 'phone', 'system/sms/template', 0, 't', 't', '', '2021-04-01 17:35:17', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2593. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1101, '短信模板查询', 'system:sms-template:query', 3, 1, 1100, '', '', '', 0, 't', 't', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2594. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1102, '短信模板创建', 'system:sms-template:create', 3, 2, 1100, '', '', '', 0, 't', 't', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2595. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1103, '短信模板更新', 'system:sms-template:update', 3, 3, 1100, '', '', '', 0, 't', 't', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2596. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1104, '短信模板删除', 'system:sms-template:delete', 3, 4, 1100, '', '', '', 0, 't', 't', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2597. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1105, '短信模板导出', 'system:sms-template:export', 3, 5, 1100, '', '', '', 0, 't', 't', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2598. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1106, '发送测试短信', 'system:sms-template:send-sms', 3, 6, 1100, '', '', '', 0, 't', 't', '1', '2021-04-11 00:26:40', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2599. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1107, '短信日志', '', 2, 2, 1093, 'sms-log', 'phone', 'system/sms/log', 0, 't', 't', '', '2021-04-11 08:37:05', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2600. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1108, '短信日志查询', 'system:sms-log:query', 3, 1, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2601. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1109, '短信日志导出', 'system:sms-log:export', 3, 5, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2602. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1110, '错误码管理', '', 2, 12, 1, 'error-code', 'code', 'system/errorCode/index', 0, 't', 't', '', '2021-04-13 21:46:42', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2603. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1111, '错误码查询', 'system:error-code:query', 3, 1, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2604. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1112, '错误码创建', 'system:error-code:create', 3, 2, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2605. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1113, '错误码更新', 'system:error-code:update', 3, 3, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2606. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1114, '错误码删除', 'system:error-code:delete', 3, 4, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2607. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1115, '错误码导出', 'system:error-code:export', 3, 5, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2608. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1117, '支付管理', '', 1, 11, 0, '/pay', 'money', NULL, 0, 't', 't', '1', '2021-12-25 16:43:41', '1', '2022-05-13 01:02:25.244', 0, NULL, '1');
  2609. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1118, '请假查询', '', 2, 0, 5, 'leave', 'user', 'bpm/oa/leave/index', 0, 't', 't', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2610. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1119, '请假申请查询', 'bpm:oa-leave:query', 3, 1, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2611. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1120, '请假申请创建', 'bpm:oa-leave:create', 3, 2, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2612. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1126, '应用信息', '', 2, 1, 1117, 'app', 'table', 'pay/app/index', 0, 't', 't', '', '2021-11-10 01:13:30', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2613. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1127, '支付应用信息查询', 'pay:app:query', 3, 1, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2614. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1128, '支付应用信息创建', 'pay:app:create', 3, 2, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2615. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1129, '支付应用信息更新', 'pay:app:update', 3, 3, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2616. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1130, '支付应用信息删除', 'pay:app:delete', 3, 4, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2617. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1131, '支付应用信息导出', 'pay:app:export', 3, 5, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2618. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1132, '秘钥解析', 'pay:channel:parsing', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2619. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1133, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2620. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1134, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2621. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1135, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2622. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1136, '支付商户信息删除', 'pay:merchant:delete', 3, 4, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2623. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1137, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2624. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1138, '租户列表', '', 2, 0, 1224, 'list', 'peoples', 'system/tenant/index', 0, 't', 't', '', '2021-12-14 12:31:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2625. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1139, '租户查询', 'system:tenant:query', 3, 1, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2626. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1140, '租户创建', 'system:tenant:create', 3, 2, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2627. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1141, '租户更新', 'system:tenant:update', 3, 3, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2628. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1142, '租户删除', 'system:tenant:delete', 3, 4, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2629. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1143, '租户导出', 'system:tenant:export', 3, 5, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2630. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1150, '秘钥解析', '', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2631. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1161, '退款订单', '', 2, 3, 1117, 'refund', 'order', 'pay/refund/index', 0, 't', 't', '', '2021-12-25 08:29:07', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2632. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1162, '退款订单查询', 'pay:refund:query', 3, 1, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2633. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1163, '退款订单创建', 'pay:refund:create', 3, 2, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2634. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1164, '退款订单更新', 'pay:refund:update', 3, 3, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2635. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1165, '退款订单删除', 'pay:refund:delete', 3, 4, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2636. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1166, '退款订单导出', 'pay:refund:export', 3, 5, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2637. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1173, '支付订单', '', 2, 2, 1117, 'order', 'pay', 'pay/order/index', 0, 't', 't', '', '2021-12-25 08:49:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2638. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1174, '支付订单查询', 'pay:order:query', 3, 1, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2639. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1175, '支付订单创建', 'pay:order:create', 3, 2, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2640. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1176, '支付订单更新', 'pay:order:update', 3, 3, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2641. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1177, '支付订单删除', 'pay:order:delete', 3, 4, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2642. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1178, '支付订单导出', 'pay:order:export', 3, 5, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2643. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1179, '商户信息', '', 2, 0, 1117, 'merchant', 'merchant', 'pay/merchant/index', 0, 't', 't', '', '2021-12-25 09:01:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2644. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1180, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2645. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1181, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2646. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1182, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2647. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1183, '支付商户信息删除', '', 3, 4, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2648. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1184, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2649. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1185, '工作流程', '', 1, 50, 0, '/bpm', 'tool', NULL, 0, 't', 't', '1', '2021-12-30 20:26:36', '103', '2022-04-20 17:03:10', 0, NULL, '1');
  2650. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1186, '流程管理', '', 1, 10, 1185, 'manager', 'nested', NULL, 0, 't', 't', '1', '2021-12-30 20:28:30', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2651. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1187, '流程表单', '', 2, 0, 1186, 'form', 'form', 'bpm/form/index', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2652. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1188, '表单查询', 'bpm:form:query', 3, 1, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2653. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1189, '表单创建', 'bpm:form:create', 3, 2, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2654. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1190, '表单更新', 'bpm:form:update', 3, 3, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2655. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1191, '表单删除', 'bpm:form:delete', 3, 4, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2656. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1192, '表单导出', 'bpm:form:export', 3, 5, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2657. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1193, '流程模型', '', 2, 5, 1186, 'model', 'guide', 'bpm/model/index', 0, 't', 't', '1', '2021-12-31 23:24:58', '103', '2022-04-20 17:03:10', 0, NULL, '1');
  2658. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1194, '模型查询', 'bpm:model:query', 3, 1, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:10', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2659. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1195, '模型创建', 'bpm:model:create', 3, 2, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:24', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2660. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1196, '模型导入', 'bpm:model:import', 3, 3, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:35', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2661. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1197, '模型更新', 'bpm:model:update', 3, 4, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:28', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2662. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1198, '模型删除', 'bpm:model:delete', 3, 5, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2663. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1199, '模型发布', 'bpm:model:deploy', 3, 6, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:03:24', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2664. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1200, '任务管理', '', 1, 20, 1185, 'task', 'cascader', NULL, 0, 't', 't', '1', '2022-01-07 23:51:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2665. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1201, '我的流程', '', 2, 0, 1200, 'my', 'people', 'bpm/processInstance/index', 0, 't', 't', '', '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2666. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1202, '流程实例的查询', 'bpm:process-instance:query', 3, 1, 1201, '', '', '', 0, 't', 't', '', '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2667. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1207, '待办任务', '', 2, 10, 1200, 'todo', 'eye-open', 'bpm/task/todo', 0, 't', 't', '1', '2022-01-08 10:33:37', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2668. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1208, '已办任务', '', 2, 20, 1200, 'done', 'eye', 'bpm/task/done', 0, 't', 't', '1', '2022-01-08 10:34:13', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2669. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1209, '用户分组', '', 2, 2, 1186, 'user-group', 'people', 'bpm/group/index', 0, 't', 't', '', '2022-01-14 02:14:20', '103', '2022-04-20 17:03:10', 0, NULL, '1');
  2670. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1210, '用户组查询', 'bpm:user-group:query', 3, 1, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2671. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1211, '用户组创建', 'bpm:user-group:create', 3, 2, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2672. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1212, '用户组更新', 'bpm:user-group:update', 3, 3, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2673. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1213, '用户组删除', 'bpm:user-group:delete', 3, 4, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2674. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1215, '流程定义查询', 'bpm:process-definition:query', 3, 10, 1193, '', '', '', 0, 't', 't', '1', '2022-01-23 00:21:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2675. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1216, '流程任务分配规则查询', 'bpm:task-assign-rule:query', 3, 20, 1193, '', '', '', 0, 't', 't', '1', '2022-01-23 00:26:53', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2676. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1217, '流程任务分配规则创建', 'bpm:task-assign-rule:create', 3, 21, 1193, '', '', '', 0, 't', 't', '1', '2022-01-23 00:28:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2677. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1218, '流程任务分配规则更新', 'bpm:task-assign-rule:update', 3, 22, 1193, '', '', '', 0, 't', 't', '1', '2022-01-23 00:28:41', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2678. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1219, '流程实例的创建', 'bpm:process-instance:create', 3, 2, 1201, '', '', '', 0, 't', 't', '1', '2022-01-23 00:36:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2679. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1220, '流程实例的取消', 'bpm:process-instance:cancel', 3, 3, 1201, '', '', '', 0, 't', 't', '1', '2022-01-23 00:36:33', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2680. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1221, '流程任务的查询', 'bpm:task:query', 3, 1, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:38:52', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2681. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1222, '流程任务的更新', 'bpm:task:update', 3, 2, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:39:24', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2682. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1224, '租户管理', '', 2, 0, 1, 'tenant', 'peoples', NULL, 0, 't', 't', '1', '2022-02-20 01:41:13', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2683. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1225, '租户套餐', '', 2, 0, 1224, 'package', 'eye', 'system/tenantPackage/index', 0, 't', 't', '', '2022-02-19 17:44:06', '1', '2022-04-21 01:21:25', 0, NULL, '1');
  2684. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1226, '租户套餐查询', 'system:tenant-package:query', 3, 1, 1225, '', '', '', 0, 't', 't', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2685. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1227, '租户套餐创建', 'system:tenant-package:create', 3, 2, 1225, '', '', '', 0, 't', 't', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2686. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1228, '租户套餐更新', 'system:tenant-package:update', 3, 3, 1225, '', '', '', 0, 't', 't', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2687. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1229, '租户套餐删除', 'system:tenant-package:delete', 3, 4, 1225, '', '', '', 0, 't', 't', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2688. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1237, '文件配置', '', 2, 0, 1243, 'file-config', 'config', 'infra/fileConfig/index', 0, 't', 't', '', '2022-03-15 14:35:28', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2689. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1238, '文件配置查询', 'infra:file-config:query', 3, 1, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2690. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1239, '文件配置创建', 'infra:file-config:create', 3, 2, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2691. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1240, '文件配置更新', 'infra:file-config:update', 3, 3, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2692. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1241, '文件配置删除', 'infra:file-config:delete', 3, 4, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2693. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1242, '文件配置导出', 'infra:file-config:export', 3, 5, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2694. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1243, '文件管理', '', 2, 5, 2, 'file', 'download', NULL, 0, 't', 't', '1', '2022-03-16 23:47:40', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2695. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1247, '敏感词管理', '', 2, 13, 1, 'sensitive-word', 'education', 'system/sensitiveWord/index', 0, 't', 't', '', '2022-04-07 16:55:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  2696. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1248, '敏感词查询', 'system:sensitive-word:query', 3, 1, 1247, '', '', '', 0, 't', 't', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2697. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1249, '敏感词创建', 'system:sensitive-word:create', 3, 2, 1247, '', '', '', 0, 't', 't', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2698. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1250, '敏感词更新', 'system:sensitive-word:update', 3, 3, 1247, '', '', '', 0, 't', 't', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2699. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1251, '敏感词删除', 'system:sensitive-word:delete', 3, 4, 1247, '', '', '', 0, 't', 't', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2700. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1252, '敏感词导出', 'system:sensitive-word:export', 3, 5, 1247, '', '', '', 0, 't', 't', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  2701. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1254, '作者动态', '', 1, 0, 0, 'https://www.iocoder.cn', 'people', NULL, 0, 't', 't', '1', '2022-04-23 01:03:15', '1', '2022-04-23 01:03:15', 0, NULL, '1');
  2702. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1255, '数据源配置', '', 2, 1, 2, 'data-source-config', 'rate', 'infra/dataSourceConfig/index', 0, 't', 't', '', '2022-04-27 14:37:32', '1', '2022-04-27 22:42:06', 0, NULL, '1');
  2703. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1256, '数据源配置查询', 'infra:data-source-config:query', 3, 1, 1255, '', '', '', 0, 't', 't', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  2704. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1257, '数据源配置创建', 'infra:data-source-config:create', 3, 2, 1255, '', '', '', 0, 't', 't', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  2705. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1258, '数据源配置更新', 'infra:data-source-config:update', 3, 3, 1255, '', '', '', 0, 't', 't', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  2706. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1259, '数据源配置删除', 'infra:data-source-config:delete', 3, 4, 1255, '', '', '', 0, 't', 't', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  2707. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1260, '数据源配置导出', 'infra:data-source-config:export', 3, 5, 1255, '', '', '', 0, 't', 't', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  2708. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1261, 'OAuth 2.0', '', 1, 10, 1, 'oauth2', 'people', NULL, 0, 't', 't', '1', '2022-05-09 23:38:17', '1', '2022-05-11 23:51:46', 0, NULL, '1');
  2709. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1263, '应用管理', '', 2, 0, 1261, 'oauth2/application', 'tool', 'system/oauth2/client/index', 0, 't', 't', '', '2022-05-10 16:26:33', '1', '2022-05-11 23:31:36', 0, NULL, '1');
  2710. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1264, '客户端查询', 'system:oauth2-client:query', 3, 1, 1263, '', '', '', 0, 't', 't', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:06', 0, NULL, '1');
  2711. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1265, '客户端创建', 'system:oauth2-client:create', 3, 2, 1263, '', '', '', 0, 't', 't', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:23', 0, NULL, '1');
  2712. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1266, '客户端更新', 'system:oauth2-client:update', 3, 3, 1263, '', '', '', 0, 't', 't', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:28', 0, NULL, '1');
  2713. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component", "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time", "deleted", "component_name", "always_show") VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', 0, 't', 't', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', 0, NULL, '1');
  2714. COMMIT;
  2715. -- ----------------------------
  2716. -- Table structure for system_notice
  2717. -- ----------------------------
  2718. DROP TABLE IF EXISTS "system_notice";
  2719. CREATE TABLE "system_notice" (
  2720. "id" int8 NOT NULL,
  2721. "title" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2722. "content" text COLLATE "pg_catalog"."default" NOT NULL,
  2723. "type" int2 NOT NULL,
  2724. "status" int2 NOT NULL,
  2725. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2726. "create_time" timestamp(6) NOT NULL,
  2727. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2728. "update_time" timestamp(6) NOT NULL,
  2729. "deleted" int2 NOT NULL DEFAULT 0,
  2730. "tenant_id" int8 NOT NULL DEFAULT 0
  2731. )
  2732. ;
  2733. COMMENT ON COLUMN "system_notice"."id" IS '公告ID';
  2734. COMMENT ON COLUMN "system_notice"."title" IS '公告标题';
  2735. COMMENT ON COLUMN "system_notice"."content" IS '公告内容';
  2736. COMMENT ON COLUMN "system_notice"."type" IS '公告类型(1通知 2公告)';
  2737. COMMENT ON COLUMN "system_notice"."status" IS '公告状态(0正常 1关闭)';
  2738. COMMENT ON COLUMN "system_notice"."creator" IS '创建者';
  2739. COMMENT ON COLUMN "system_notice"."create_time" IS '创建时间';
  2740. COMMENT ON COLUMN "system_notice"."updater" IS '更新者';
  2741. COMMENT ON COLUMN "system_notice"."update_time" IS '更新时间';
  2742. COMMENT ON COLUMN "system_notice"."deleted" IS '是否删除';
  2743. COMMENT ON COLUMN "system_notice"."tenant_id" IS '租户编号';
  2744. COMMENT ON TABLE "system_notice" IS '通知公告表';
  2745. -- ----------------------------
  2746. -- Records of system_notice
  2747. -- ----------------------------
  2748. BEGIN;
  2749. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1, '芋道的公众', '<p>新版本内容133</p>', 1, 0, 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 21:00:20', 0, 1);
  2750. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (2, '维护通知:2018-07-01 若依系统凌晨维护', '<p><img src="http://test.yudao.iocoder.cn/b7cb3cf49b4b3258bf7309a09dd2f4e5.jpg">维护内容</p>', 2, 1, 'admin', '2021-01-05 17:03:48', '1', '2022-05-11 12:34:24', 0, 1);
  2751. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (4, '我是测试标题', '<p>哈哈哈哈123</p>', 1, 0, '110', '2022-02-22 01:01:25', '110', '2022-02-22 01:01:46', 0, 121);
  2752. COMMIT;
  2753. -- ----------------------------
  2754. -- Table structure for system_oauth2_access_token
  2755. -- ----------------------------
  2756. DROP TABLE IF EXISTS "system_oauth2_access_token";
  2757. CREATE TABLE "system_oauth2_access_token" (
  2758. "id" int8 NOT NULL,
  2759. "user_id" int8 NOT NULL,
  2760. "access_token" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2761. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2762. "user_type" int2 NOT NULL,
  2763. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2764. "expires_time" timestamp(6) NOT NULL,
  2765. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2766. "create_time" timestamp(6) NOT NULL,
  2767. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2768. "update_time" timestamp(6) NOT NULL,
  2769. "deleted" int2 NOT NULL DEFAULT 0,
  2770. "tenant_id" int8 NOT NULL DEFAULT 0,
  2771. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT ''::character varying
  2772. )
  2773. ;
  2774. COMMENT ON COLUMN "system_oauth2_access_token"."id" IS '编号';
  2775. COMMENT ON COLUMN "system_oauth2_access_token"."user_id" IS '用户编号';
  2776. COMMENT ON COLUMN "system_oauth2_access_token"."access_token" IS '访问令牌';
  2777. COMMENT ON COLUMN "system_oauth2_access_token"."refresh_token" IS '刷新令牌';
  2778. COMMENT ON COLUMN "system_oauth2_access_token"."user_type" IS '用户类型';
  2779. COMMENT ON COLUMN "system_oauth2_access_token"."client_id" IS '客户端编号';
  2780. COMMENT ON COLUMN "system_oauth2_access_token"."expires_time" IS '过期时间';
  2781. COMMENT ON COLUMN "system_oauth2_access_token"."creator" IS '创建者';
  2782. COMMENT ON COLUMN "system_oauth2_access_token"."create_time" IS '创建时间';
  2783. COMMENT ON COLUMN "system_oauth2_access_token"."updater" IS '更新者';
  2784. COMMENT ON COLUMN "system_oauth2_access_token"."update_time" IS '更新时间';
  2785. COMMENT ON COLUMN "system_oauth2_access_token"."deleted" IS '是否删除';
  2786. COMMENT ON COLUMN "system_oauth2_access_token"."tenant_id" IS '租户编号';
  2787. COMMENT ON COLUMN "system_oauth2_access_token"."scopes" IS '授权范围';
  2788. COMMENT ON TABLE "system_oauth2_access_token" IS '刷新令牌';
  2789. -- ----------------------------
  2790. -- Records of system_oauth2_access_token
  2791. -- ----------------------------
  2792. BEGIN;
  2793. COMMIT;
  2794. -- ----------------------------
  2795. -- Table structure for system_oauth2_approve
  2796. -- ----------------------------
  2797. DROP TABLE IF EXISTS "system_oauth2_approve";
  2798. CREATE TABLE "system_oauth2_approve" (
  2799. "id" int8 NOT NULL,
  2800. "user_id" int8 NOT NULL,
  2801. "user_type" int2 NOT NULL,
  2802. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2803. "scope" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2804. "approved" bool NOT NULL,
  2805. "expires_time" timestamp(6) NOT NULL,
  2806. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2807. "create_time" timestamp(6) NOT NULL,
  2808. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2809. "update_time" timestamp(6) NOT NULL,
  2810. "deleted" int2 NOT NULL DEFAULT 0,
  2811. "tenant_id" int8 NOT NULL DEFAULT 0
  2812. )
  2813. ;
  2814. COMMENT ON COLUMN "system_oauth2_approve"."id" IS '编号';
  2815. COMMENT ON COLUMN "system_oauth2_approve"."user_id" IS '用户编号';
  2816. COMMENT ON COLUMN "system_oauth2_approve"."user_type" IS '用户类型';
  2817. COMMENT ON COLUMN "system_oauth2_approve"."client_id" IS '客户端编号';
  2818. COMMENT ON COLUMN "system_oauth2_approve"."scope" IS '授权范围';
  2819. COMMENT ON COLUMN "system_oauth2_approve"."approved" IS '是否接受';
  2820. COMMENT ON COLUMN "system_oauth2_approve"."expires_time" IS '过期时间';
  2821. COMMENT ON COLUMN "system_oauth2_approve"."creator" IS '创建者';
  2822. COMMENT ON COLUMN "system_oauth2_approve"."create_time" IS '创建时间';
  2823. COMMENT ON COLUMN "system_oauth2_approve"."updater" IS '更新者';
  2824. COMMENT ON COLUMN "system_oauth2_approve"."update_time" IS '更新时间';
  2825. COMMENT ON COLUMN "system_oauth2_approve"."deleted" IS '是否删除';
  2826. COMMENT ON COLUMN "system_oauth2_approve"."tenant_id" IS '租户编号';
  2827. COMMENT ON TABLE "system_oauth2_approve" IS 'OAuth2 批准表';
  2828. -- ----------------------------
  2829. -- Records of system_oauth2_approve
  2830. -- ----------------------------
  2831. BEGIN;
  2832. COMMIT;
  2833. -- ----------------------------
  2834. -- Table structure for system_oauth2_client
  2835. -- ----------------------------
  2836. DROP TABLE IF EXISTS "system_oauth2_client";
  2837. CREATE TABLE "system_oauth2_client" (
  2838. "id" int8 NOT NULL,
  2839. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2840. "secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2841. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2842. "logo" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2843. "description" varchar(255) COLLATE "pg_catalog"."default",
  2844. "status" int2 NOT NULL,
  2845. "access_token_validity_seconds" int4 NOT NULL,
  2846. "refresh_token_validity_seconds" int4 NOT NULL,
  2847. "redirect_uris" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2848. "authorized_grant_types" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2849. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  2850. "authorities" varchar(255) COLLATE "pg_catalog"."default",
  2851. "resource_ids" varchar(255) COLLATE "pg_catalog"."default",
  2852. "additional_information" varchar(4096) COLLATE "pg_catalog"."default",
  2853. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2854. "create_time" timestamp(6) NOT NULL,
  2855. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2856. "update_time" timestamp(6) NOT NULL,
  2857. "deleted" int2 NOT NULL DEFAULT 0,
  2858. "auto_approve_scopes" varchar(255) COLLATE "pg_catalog"."default"
  2859. )
  2860. ;
  2861. COMMENT ON COLUMN "system_oauth2_client"."id" IS '编号';
  2862. COMMENT ON COLUMN "system_oauth2_client"."client_id" IS '客户端编号';
  2863. COMMENT ON COLUMN "system_oauth2_client"."secret" IS '客户端密钥';
  2864. COMMENT ON COLUMN "system_oauth2_client"."name" IS '应用名';
  2865. COMMENT ON COLUMN "system_oauth2_client"."logo" IS '应用图标';
  2866. COMMENT ON COLUMN "system_oauth2_client"."description" IS '应用描述';
  2867. COMMENT ON COLUMN "system_oauth2_client"."status" IS '状态';
  2868. COMMENT ON COLUMN "system_oauth2_client"."access_token_validity_seconds" IS '访问令牌的有效期';
  2869. COMMENT ON COLUMN "system_oauth2_client"."refresh_token_validity_seconds" IS '刷新令牌的有效期';
  2870. COMMENT ON COLUMN "system_oauth2_client"."redirect_uris" IS '可重定向的 URI 地址';
  2871. COMMENT ON COLUMN "system_oauth2_client"."authorized_grant_types" IS '授权类型';
  2872. COMMENT ON COLUMN "system_oauth2_client"."scopes" IS '授权范围';
  2873. COMMENT ON COLUMN "system_oauth2_client"."authorities" IS '权限';
  2874. COMMENT ON COLUMN "system_oauth2_client"."resource_ids" IS '资源';
  2875. COMMENT ON COLUMN "system_oauth2_client"."additional_information" IS '附加信息';
  2876. COMMENT ON COLUMN "system_oauth2_client"."creator" IS '创建者';
  2877. COMMENT ON COLUMN "system_oauth2_client"."create_time" IS '创建时间';
  2878. COMMENT ON COLUMN "system_oauth2_client"."updater" IS '更新者';
  2879. COMMENT ON COLUMN "system_oauth2_client"."update_time" IS '更新时间';
  2880. COMMENT ON COLUMN "system_oauth2_client"."deleted" IS '是否删除';
  2881. COMMENT ON COLUMN "system_oauth2_client"."auto_approve_scopes" IS '自动通过的授权范围';
  2882. COMMENT ON TABLE "system_oauth2_client" IS 'OAuth2 客户端表';
  2883. -- ----------------------------
  2884. -- Records of system_oauth2_client
  2885. -- ----------------------------
  2886. BEGIN;
  2887. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status", "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris", "authorized_grant_types", "scopes", "authorities", "resource_ids", "additional_information", "creator", "create_time", "updater", "update_time", "deleted", "auto_approve_scopes") VALUES (1, 'default', 'admin123', '芋道源码', 'http://test.yudao.iocoder.cn/a5e2e244368878a366b516805a4aabf1.png', '我是描述', 0, 180, 8640, '["https://www.iocoder.cn","https://doc.iocoder.cn"]', '["password","authorization_code","implicit","refresh_token"]', '["user.read","user.write"]', '["system:user:query"]', '[]', '{}', '1', '2022-05-11 21:47:12', '1', '2022-05-12 01:00:20', 0, NULL);
  2888. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status", "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris", "authorized_grant_types", "scopes", "authorities", "resource_ids", "additional_information", "creator", "create_time", "updater", "update_time", "deleted", "auto_approve_scopes") VALUES (40, 'test', 'test2', 'biubiu', 'http://test.yudao.iocoder.cn/277a899d573723f1fcdfb57340f00379.png', NULL, 0, 1800, 43200, '["https://www.iocoder.cn"]', '["password","authorization_code","implicit"]', '[]', '[]', '[]', '{}', '1', '2022-05-12 00:28:20', '1', '2022-05-25 23:45:33.005', 0, '[]');
  2889. COMMIT;
  2890. -- ----------------------------
  2891. -- Table structure for system_oauth2_code
  2892. -- ----------------------------
  2893. DROP TABLE IF EXISTS "system_oauth2_code";
  2894. CREATE TABLE "system_oauth2_code" (
  2895. "id" int8 NOT NULL,
  2896. "user_id" int8 NOT NULL,
  2897. "user_type" int2 NOT NULL,
  2898. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2899. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2900. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  2901. "expires_time" timestamp(6) NOT NULL,
  2902. "redirect_uri" varchar(255) COLLATE "pg_catalog"."default",
  2903. "state" varchar(255) COLLATE "pg_catalog"."default",
  2904. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2905. "create_time" timestamp(6) NOT NULL,
  2906. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2907. "update_time" timestamp(6) NOT NULL,
  2908. "deleted" int2 NOT NULL DEFAULT 0,
  2909. "tenant_id" int8 NOT NULL DEFAULT 0
  2910. )
  2911. ;
  2912. COMMENT ON COLUMN "system_oauth2_code"."id" IS '编号';
  2913. COMMENT ON COLUMN "system_oauth2_code"."user_id" IS '用户编号';
  2914. COMMENT ON COLUMN "system_oauth2_code"."user_type" IS '用户类型';
  2915. COMMENT ON COLUMN "system_oauth2_code"."code" IS '授权码';
  2916. COMMENT ON COLUMN "system_oauth2_code"."client_id" IS '客户端编号';
  2917. COMMENT ON COLUMN "system_oauth2_code"."scopes" IS '授权范围';
  2918. COMMENT ON COLUMN "system_oauth2_code"."expires_time" IS '过期时间';
  2919. COMMENT ON COLUMN "system_oauth2_code"."redirect_uri" IS '可重定向的 URI 地址';
  2920. COMMENT ON COLUMN "system_oauth2_code"."state" IS '状态';
  2921. COMMENT ON COLUMN "system_oauth2_code"."creator" IS '创建者';
  2922. COMMENT ON COLUMN "system_oauth2_code"."create_time" IS '创建时间';
  2923. COMMENT ON COLUMN "system_oauth2_code"."updater" IS '更新者';
  2924. COMMENT ON COLUMN "system_oauth2_code"."update_time" IS '更新时间';
  2925. COMMENT ON COLUMN "system_oauth2_code"."deleted" IS '是否删除';
  2926. COMMENT ON COLUMN "system_oauth2_code"."tenant_id" IS '租户编号';
  2927. COMMENT ON TABLE "system_oauth2_code" IS 'OAuth2 授权码表';
  2928. -- ----------------------------
  2929. -- Records of system_oauth2_code
  2930. -- ----------------------------
  2931. BEGIN;
  2932. COMMIT;
  2933. -- ----------------------------
  2934. -- Table structure for system_oauth2_refresh_token
  2935. -- ----------------------------
  2936. DROP TABLE IF EXISTS "system_oauth2_refresh_token";
  2937. CREATE TABLE "system_oauth2_refresh_token" (
  2938. "id" int8 NOT NULL,
  2939. "user_id" int8 NOT NULL,
  2940. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2941. "user_type" int2 NOT NULL,
  2942. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  2943. "expires_time" timestamp(6) NOT NULL,
  2944. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2945. "create_time" timestamp(6) NOT NULL,
  2946. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2947. "update_time" timestamp(6) NOT NULL,
  2948. "deleted" int2 NOT NULL DEFAULT 0,
  2949. "tenant_id" int8 NOT NULL DEFAULT 0,
  2950. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT ''::character varying
  2951. )
  2952. ;
  2953. COMMENT ON COLUMN "system_oauth2_refresh_token"."id" IS '编号';
  2954. COMMENT ON COLUMN "system_oauth2_refresh_token"."user_id" IS '用户编号';
  2955. COMMENT ON COLUMN "system_oauth2_refresh_token"."refresh_token" IS '刷新令牌';
  2956. COMMENT ON COLUMN "system_oauth2_refresh_token"."user_type" IS '用户类型';
  2957. COMMENT ON COLUMN "system_oauth2_refresh_token"."client_id" IS '客户端编号';
  2958. COMMENT ON COLUMN "system_oauth2_refresh_token"."expires_time" IS '过期时间';
  2959. COMMENT ON COLUMN "system_oauth2_refresh_token"."creator" IS '创建者';
  2960. COMMENT ON COLUMN "system_oauth2_refresh_token"."create_time" IS '创建时间';
  2961. COMMENT ON COLUMN "system_oauth2_refresh_token"."updater" IS '更新者';
  2962. COMMENT ON COLUMN "system_oauth2_refresh_token"."update_time" IS '更新时间';
  2963. COMMENT ON COLUMN "system_oauth2_refresh_token"."deleted" IS '是否删除';
  2964. COMMENT ON COLUMN "system_oauth2_refresh_token"."tenant_id" IS '租户编号';
  2965. COMMENT ON COLUMN "system_oauth2_refresh_token"."scopes" IS '授权范围';
  2966. COMMENT ON TABLE "system_oauth2_refresh_token" IS '刷新令牌';
  2967. -- ----------------------------
  2968. -- Records of system_oauth2_refresh_token
  2969. -- ----------------------------
  2970. BEGIN;
  2971. COMMIT;
  2972. -- ----------------------------
  2973. -- Table structure for system_operate_log
  2974. -- ----------------------------
  2975. DROP TABLE IF EXISTS "system_operate_log";
  2976. CREATE TABLE "system_operate_log" (
  2977. "id" int8 NOT NULL,
  2978. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2979. "user_id" int8 NOT NULL,
  2980. "user_type" int2 NOT NULL,
  2981. "module" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2982. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2983. "type" int8 NOT NULL,
  2984. "content" varchar(2000) COLLATE "pg_catalog"."default" NOT NULL DEFAULT ''::character varying,
  2985. "exts" varchar(512) COLLATE "pg_catalog"."default" NOT NULL DEFAULT ''::character varying,
  2986. "request_method" varchar(16) COLLATE "pg_catalog"."default",
  2987. "request_url" varchar(255) COLLATE "pg_catalog"."default",
  2988. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  2989. "user_agent" varchar(200) COLLATE "pg_catalog"."default",
  2990. "java_method" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  2991. "java_method_args" varchar(8000) COLLATE "pg_catalog"."default",
  2992. "start_time" timestamp(6) NOT NULL,
  2993. "duration" int4 NOT NULL,
  2994. "result_code" int4 NOT NULL,
  2995. "result_msg" varchar(512) COLLATE "pg_catalog"."default",
  2996. "result_data" varchar(4000) COLLATE "pg_catalog"."default",
  2997. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2998. "create_time" timestamp(6) NOT NULL,
  2999. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3000. "update_time" timestamp(6) NOT NULL,
  3001. "deleted" int2 NOT NULL DEFAULT 0,
  3002. "tenant_id" int8 NOT NULL DEFAULT 0
  3003. )
  3004. ;
  3005. COMMENT ON COLUMN "system_operate_log"."id" IS '日志主键';
  3006. COMMENT ON COLUMN "system_operate_log"."trace_id" IS '链路追踪编号';
  3007. COMMENT ON COLUMN "system_operate_log"."user_id" IS '用户编号';
  3008. COMMENT ON COLUMN "system_operate_log"."user_type" IS '用户类型';
  3009. COMMENT ON COLUMN "system_operate_log"."module" IS '模块标题';
  3010. COMMENT ON COLUMN "system_operate_log"."name" IS '操作名';
  3011. COMMENT ON COLUMN "system_operate_log"."type" IS '操作分类';
  3012. COMMENT ON COLUMN "system_operate_log"."content" IS '操作内容';
  3013. COMMENT ON COLUMN "system_operate_log"."exts" IS '拓展字段';
  3014. COMMENT ON COLUMN "system_operate_log"."request_method" IS '请求方法名';
  3015. COMMENT ON COLUMN "system_operate_log"."request_url" IS '请求地址';
  3016. COMMENT ON COLUMN "system_operate_log"."user_ip" IS '用户 IP';
  3017. COMMENT ON COLUMN "system_operate_log"."user_agent" IS '浏览器 UA';
  3018. COMMENT ON COLUMN "system_operate_log"."java_method" IS 'Java 方法名';
  3019. COMMENT ON COLUMN "system_operate_log"."java_method_args" IS 'Java 方法的参数';
  3020. COMMENT ON COLUMN "system_operate_log"."start_time" IS '操作时间';
  3021. COMMENT ON COLUMN "system_operate_log"."duration" IS '执行时长';
  3022. COMMENT ON COLUMN "system_operate_log"."result_code" IS '结果码';
  3023. COMMENT ON COLUMN "system_operate_log"."result_msg" IS '结果提示';
  3024. COMMENT ON COLUMN "system_operate_log"."result_data" IS '结果数据';
  3025. COMMENT ON COLUMN "system_operate_log"."creator" IS '创建者';
  3026. COMMENT ON COLUMN "system_operate_log"."create_time" IS '创建时间';
  3027. COMMENT ON COLUMN "system_operate_log"."updater" IS '更新者';
  3028. COMMENT ON COLUMN "system_operate_log"."update_time" IS '更新时间';
  3029. COMMENT ON COLUMN "system_operate_log"."deleted" IS '是否删除';
  3030. COMMENT ON COLUMN "system_operate_log"."tenant_id" IS '租户编号';
  3031. COMMENT ON TABLE "system_operate_log" IS '操作日志记录';
  3032. -- ----------------------------
  3033. -- Records of system_operate_log
  3034. -- ----------------------------
  3035. BEGIN;
  3036. COMMIT;
  3037. -- ----------------------------
  3038. -- Table structure for system_post
  3039. -- ----------------------------
  3040. DROP TABLE IF EXISTS "system_post";
  3041. CREATE TABLE "system_post" (
  3042. "id" int8 NOT NULL DEFAULT 0,
  3043. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  3044. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3045. "sort" int4 NOT NULL,
  3046. "status" int2 NOT NULL,
  3047. "remark" varchar(500) COLLATE "pg_catalog"."default",
  3048. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3049. "create_time" timestamp(6) NOT NULL,
  3050. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3051. "update_time" timestamp(6) NOT NULL,
  3052. "deleted" int2 NOT NULL DEFAULT 0,
  3053. "tenant_id" int8 NOT NULL DEFAULT 0
  3054. )
  3055. ;
  3056. COMMENT ON COLUMN "system_post"."id" IS '岗位ID';
  3057. COMMENT ON COLUMN "system_post"."code" IS '岗位编码';
  3058. COMMENT ON COLUMN "system_post"."name" IS '岗位名称';
  3059. COMMENT ON COLUMN "system_post"."sort" IS '显示顺序';
  3060. COMMENT ON COLUMN "system_post"."status" IS '状态(0正常 1停用)';
  3061. COMMENT ON COLUMN "system_post"."remark" IS '备注';
  3062. COMMENT ON COLUMN "system_post"."creator" IS '创建者';
  3063. COMMENT ON COLUMN "system_post"."create_time" IS '创建时间';
  3064. COMMENT ON COLUMN "system_post"."updater" IS '更新者';
  3065. COMMENT ON COLUMN "system_post"."update_time" IS '更新时间';
  3066. COMMENT ON COLUMN "system_post"."deleted" IS '是否删除';
  3067. COMMENT ON COLUMN "system_post"."tenant_id" IS '租户编号';
  3068. COMMENT ON TABLE "system_post" IS '岗位信息表';
  3069. -- ----------------------------
  3070. -- Records of system_post
  3071. -- ----------------------------
  3072. BEGIN;
  3073. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-06 17:03:48', '1', '2022-04-19 16:53:39', 0, 1);
  3074. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (2, 'se', '项目经理', 2, 0, '', 'admin', '2021-01-05 17:03:48', '1', '2021-12-12 10:47:47', 0, 1);
  3075. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (4, 'user', '普通员工', 4, 0, '111', 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 22:46:35', 0, 1);
  3076. COMMIT;
  3077. -- ----------------------------
  3078. -- Table structure for system_role
  3079. -- ----------------------------
  3080. DROP TABLE IF EXISTS "system_role";
  3081. CREATE TABLE "system_role" (
  3082. "id" int8 NOT NULL,
  3083. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3084. "code" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3085. "sort" int4 NOT NULL,
  3086. "data_scope" int2 NOT NULL,
  3087. "data_scope_dept_ids" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  3088. "status" int2 NOT NULL,
  3089. "type" int2 NOT NULL,
  3090. "remark" varchar(500) COLLATE "pg_catalog"."default",
  3091. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3092. "create_time" timestamp(6) NOT NULL,
  3093. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3094. "update_time" timestamp(6) NOT NULL,
  3095. "deleted" int2 NOT NULL DEFAULT 0,
  3096. "tenant_id" int8 NOT NULL DEFAULT 0
  3097. )
  3098. ;
  3099. COMMENT ON COLUMN "system_role"."id" IS '角色ID';
  3100. COMMENT ON COLUMN "system_role"."name" IS '角色名称';
  3101. COMMENT ON COLUMN "system_role"."code" IS '角色权限字符串';
  3102. COMMENT ON COLUMN "system_role"."sort" IS '显示顺序';
  3103. COMMENT ON COLUMN "system_role"."data_scope" IS '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)';
  3104. COMMENT ON COLUMN "system_role"."data_scope_dept_ids" IS '数据范围(指定部门数组)';
  3105. COMMENT ON COLUMN "system_role"."status" IS '角色状态(0正常 1停用)';
  3106. COMMENT ON COLUMN "system_role"."type" IS '角色类型';
  3107. COMMENT ON COLUMN "system_role"."remark" IS '备注';
  3108. COMMENT ON COLUMN "system_role"."creator" IS '创建者';
  3109. COMMENT ON COLUMN "system_role"."create_time" IS '创建时间';
  3110. COMMENT ON COLUMN "system_role"."updater" IS '更新者';
  3111. COMMENT ON COLUMN "system_role"."update_time" IS '更新时间';
  3112. COMMENT ON COLUMN "system_role"."deleted" IS '是否删除';
  3113. COMMENT ON COLUMN "system_role"."tenant_id" IS '租户编号';
  3114. COMMENT ON TABLE "system_role" IS '角色信息表';
  3115. -- ----------------------------
  3116. -- Records of system_role
  3117. -- ----------------------------
  3118. BEGIN;
  3119. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1, '超级管理员', 'super_admin', 1, 1, '', 0, 1, '超级管理员', 'admin', '2021-01-05 17:03:48', '', '2022-02-22 05:08:21', 0, 1);
  3120. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (2, '普通角色', 'common', 2, 2, '', 0, 1, '普通角色', 'admin', '2021-01-05 17:03:48', '', '2022-02-22 05:08:20', 0, 1);
  3121. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (101, '测试账号', 'test', 0, 1, '[]', 0, 2, '132', '', '2021-01-06 13:49:35', '1', '2022-04-01 21:37:13', 0, 1);
  3122. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (109, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  3123. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (110, '测试角色', 'test', 0, 1, '[]', 0, 2, '嘿嘿', '110', '2022-02-23 00:14:34', '110', '2022-02-23 13:14:58', 0, 121);
  3124. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type", "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (111, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3125. COMMIT;
  3126. -- ----------------------------
  3127. -- Table structure for system_role_menu
  3128. -- ----------------------------
  3129. DROP TABLE IF EXISTS "system_role_menu";
  3130. CREATE TABLE "system_role_menu" (
  3131. "id" int8 NOT NULL,
  3132. "role_id" int8 NOT NULL,
  3133. "menu_id" int8 NOT NULL,
  3134. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3135. "create_time" timestamp(6) NOT NULL,
  3136. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3137. "update_time" timestamp(6) NOT NULL,
  3138. "deleted" int2 NOT NULL DEFAULT 0,
  3139. "tenant_id" int8 NOT NULL DEFAULT 0
  3140. )
  3141. ;
  3142. COMMENT ON COLUMN "system_role_menu"."id" IS '自增编号';
  3143. COMMENT ON COLUMN "system_role_menu"."role_id" IS '角色ID';
  3144. COMMENT ON COLUMN "system_role_menu"."menu_id" IS '菜单ID';
  3145. COMMENT ON COLUMN "system_role_menu"."creator" IS '创建者';
  3146. COMMENT ON COLUMN "system_role_menu"."create_time" IS '创建时间';
  3147. COMMENT ON COLUMN "system_role_menu"."updater" IS '更新者';
  3148. COMMENT ON COLUMN "system_role_menu"."update_time" IS '更新时间';
  3149. COMMENT ON COLUMN "system_role_menu"."deleted" IS '是否删除';
  3150. COMMENT ON COLUMN "system_role_menu"."tenant_id" IS '租户编号';
  3151. COMMENT ON TABLE "system_role_menu" IS '角色和菜单关联表';
  3152. -- ----------------------------
  3153. -- Records of system_role_menu
  3154. -- ----------------------------
  3155. BEGIN;
  3156. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (263, 109, 1, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  3157. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (434, 2, 1, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3158. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (454, 2, 1093, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3159. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (455, 2, 1094, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3160. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (460, 2, 1100, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3161. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (467, 2, 1107, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3162. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (470, 2, 1110, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3163. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (476, 2, 1117, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3164. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (477, 2, 100, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3165. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (478, 2, 101, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3166. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (479, 2, 102, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3167. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (480, 2, 1126, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3168. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (481, 2, 103, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3169. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (483, 2, 104, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3170. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (485, 2, 105, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3171. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (488, 2, 107, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3172. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (490, 2, 108, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3173. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (492, 2, 109, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3174. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (498, 2, 1138, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3175. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (523, 2, 1224, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3176. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (524, 2, 1225, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3177. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (541, 2, 500, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3178. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (543, 2, 501, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  3179. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (675, 2, 2, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3180. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (689, 2, 1077, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3181. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (690, 2, 1078, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3182. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (692, 2, 1083, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3183. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (693, 2, 1084, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3184. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (699, 2, 1090, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3185. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (703, 2, 106, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3186. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (704, 2, 110, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3187. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (705, 2, 111, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3188. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (706, 2, 112, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3189. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (707, 2, 113, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  3190. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1296, 110, 1, '110', '2022-02-23 00:23:55', '110', '2022-02-23 00:23:55', 0, 121);
  3191. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1486, 109, 103, '1', '2022-02-23 19:32:14', '1', '2022-02-23 19:32:14', 0, 121);
  3192. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1487, 109, 104, '1', '2022-02-23 19:32:14', '1', '2022-02-23 19:32:14', 0, 121);
  3193. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1489, 1, 1, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3194. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1490, 1, 2, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3195. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1494, 1, 1077, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3196. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1495, 1, 1078, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3197. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1496, 1, 1083, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3198. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1497, 1, 1084, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3199. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1498, 1, 1090, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3200. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1499, 1, 1093, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3201. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1500, 1, 1094, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3202. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1501, 1, 1100, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3203. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1502, 1, 1107, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3204. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1503, 1, 1110, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3205. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1505, 1, 1117, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3206. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1506, 1, 100, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3207. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1507, 1, 101, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3208. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1508, 1, 102, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3209. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1509, 1, 1126, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3210. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1510, 1, 103, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3211. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1511, 1, 104, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3212. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1512, 1, 105, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3213. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1513, 1, 106, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3214. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1514, 1, 107, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3215. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1515, 1, 108, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3216. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1516, 1, 109, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3217. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1517, 1, 110, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3218. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1518, 1, 111, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3219. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1519, 1, 112, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3220. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1520, 1, 113, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3221. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1522, 1, 1138, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3222. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1525, 1, 1224, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3223. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1526, 1, 1225, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3224. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1527, 1, 500, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3225. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1528, 1, 501, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  3226. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1529, 109, 1024, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3227. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1530, 109, 1025, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3228. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1536, 109, 1017, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3229. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1537, 109, 1018, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3230. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1538, 109, 1019, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3231. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1539, 109, 1020, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3232. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1540, 109, 1021, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3233. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1541, 109, 1022, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3234. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1542, 109, 1023, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  3235. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1576, 111, 1024, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3236. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1577, 111, 1025, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3237. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1578, 111, 1, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3238. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1584, 111, 103, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3239. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1585, 111, 104, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3240. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1587, 111, 1017, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3241. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1588, 111, 1018, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3242. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1589, 111, 1019, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3243. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1590, 111, 1020, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3244. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1591, 111, 1021, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3245. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1592, 111, 1022, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3246. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1593, 111, 1023, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3247. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1594, 109, 102, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  3248. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1595, 109, 1013, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  3249. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1596, 109, 1014, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  3250. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1597, 109, 1015, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  3251. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1598, 109, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  3252. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1599, 111, 102, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  3253. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1600, 111, 1013, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  3254. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1601, 111, 1014, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  3255. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1602, 111, 1015, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  3256. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1603, 111, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  3257. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1604, 101, 1216, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3258. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1605, 101, 1217, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3259. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1606, 101, 1218, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3260. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1607, 101, 1219, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3261. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1608, 101, 1220, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3262. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1609, 101, 1221, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3263. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1610, 101, 5, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3264. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1611, 101, 1222, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3265. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1612, 101, 1118, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3266. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1613, 101, 1119, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3267. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1614, 101, 1120, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3268. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1615, 101, 1185, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3269. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1616, 101, 1186, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3270. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1617, 101, 1187, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3271. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1618, 101, 1188, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3272. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1619, 101, 1189, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3273. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1620, 101, 1190, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3274. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1621, 101, 1191, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3275. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1622, 101, 1192, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3276. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1623, 101, 1193, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3277. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1624, 101, 1194, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3278. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1625, 101, 1195, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3279. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1626, 101, 1196, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3280. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1627, 101, 1197, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3281. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1628, 101, 1198, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3282. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1629, 101, 1199, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3283. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1630, 101, 1200, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3284. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1631, 101, 1201, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3285. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1632, 101, 1202, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3286. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1633, 101, 1207, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3287. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1634, 101, 1208, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3288. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1635, 101, 1209, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3289. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1636, 101, 1210, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3290. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1637, 101, 1211, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3291. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1638, 101, 1212, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3292. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1639, 101, 1213, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3293. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1640, 101, 1215, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  3294. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1641, 101, 2, '1', '2022-04-01 22:21:24', '1', '2022-04-01 22:21:24', 0, 1);
  3295. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1642, 101, 1031, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3296. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1643, 101, 1032, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3297. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1644, 101, 1033, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3298. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1645, 101, 1034, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3299. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1646, 101, 1035, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3300. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1647, 101, 1050, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3301. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1648, 101, 1051, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3302. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1649, 101, 1052, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3303. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1650, 101, 1053, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3304. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1651, 101, 1054, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3305. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1652, 101, 1056, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3306. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1653, 101, 1057, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3307. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1654, 101, 1058, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3308. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1655, 101, 1059, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3309. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1656, 101, 1060, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3310. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1657, 101, 1066, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3311. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1658, 101, 1067, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3312. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1659, 101, 1070, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3313. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1660, 101, 1071, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3314. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1661, 101, 1072, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3315. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1662, 101, 1073, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3316. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1663, 101, 1074, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3317. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1664, 101, 1075, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3318. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1665, 101, 1076, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3319. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1666, 101, 1077, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3320. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1667, 101, 1078, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3321. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1668, 101, 1082, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3322. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1669, 101, 1083, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3323. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1670, 101, 1084, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3324. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1671, 101, 1085, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3325. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1672, 101, 1086, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3326. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1673, 101, 1087, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3327. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1674, 101, 1088, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3328. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1675, 101, 1089, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3329. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1676, 101, 1090, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3330. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1677, 101, 1091, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3331. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1678, 101, 1092, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3332. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1679, 101, 1237, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3333. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1680, 101, 1238, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3334. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1681, 101, 1239, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3335. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1682, 101, 1240, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3336. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1683, 101, 1241, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3337. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1684, 101, 1242, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3338. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1685, 101, 1243, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3339. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1687, 101, 106, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3340. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1688, 101, 110, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3341. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1689, 101, 111, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3342. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1690, 101, 112, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3343. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1691, 101, 113, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3344. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1692, 101, 114, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3345. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1693, 101, 115, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3346. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1694, 101, 116, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  3347. COMMIT;
  3348. -- ----------------------------
  3349. -- Table structure for system_sensitive_word
  3350. -- ----------------------------
  3351. DROP TABLE IF EXISTS "system_sensitive_word";
  3352. CREATE TABLE "system_sensitive_word" (
  3353. "id" int8 NOT NULL,
  3354. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3355. "description" varchar(512) COLLATE "pg_catalog"."default",
  3356. "tags" varchar(255) COLLATE "pg_catalog"."default",
  3357. "status" int2 NOT NULL,
  3358. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3359. "create_time" timestamp(6) NOT NULL,
  3360. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3361. "update_time" timestamp(6) NOT NULL,
  3362. "deleted" int2 NOT NULL DEFAULT 0
  3363. )
  3364. ;
  3365. COMMENT ON COLUMN "system_sensitive_word"."id" IS '编号';
  3366. COMMENT ON COLUMN "system_sensitive_word"."name" IS '敏感词';
  3367. COMMENT ON COLUMN "system_sensitive_word"."description" IS '描述';
  3368. COMMENT ON COLUMN "system_sensitive_word"."tags" IS '标签数组';
  3369. COMMENT ON COLUMN "system_sensitive_word"."status" IS '状态';
  3370. COMMENT ON COLUMN "system_sensitive_word"."creator" IS '创建者';
  3371. COMMENT ON COLUMN "system_sensitive_word"."create_time" IS '创建时间';
  3372. COMMENT ON COLUMN "system_sensitive_word"."updater" IS '更新者';
  3373. COMMENT ON COLUMN "system_sensitive_word"."update_time" IS '更新时间';
  3374. COMMENT ON COLUMN "system_sensitive_word"."deleted" IS '是否删除';
  3375. COMMENT ON TABLE "system_sensitive_word" IS '敏感词';
  3376. -- ----------------------------
  3377. -- Records of system_sensitive_word
  3378. -- ----------------------------
  3379. BEGIN;
  3380. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater", "update_time", "deleted") VALUES (3, '土豆', '好呀', '蔬菜,短信', 0, '1', '2022-04-08 21:07:12', '1', '2022-04-09 10:28:14', 0);
  3381. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater", "update_time", "deleted") VALUES (4, 'XXX', NULL, '短信', 0, '1', '2022-04-08 21:27:49', '1', '2022-04-08 21:27:49', 0);
  3382. COMMIT;
  3383. -- ----------------------------
  3384. -- Table structure for system_sms_channel
  3385. -- ----------------------------
  3386. DROP TABLE IF EXISTS "system_sms_channel";
  3387. CREATE TABLE "system_sms_channel" (
  3388. "id" int8 NOT NULL,
  3389. "signature" varchar(12) COLLATE "pg_catalog"."default" NOT NULL,
  3390. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3391. "status" int2 NOT NULL,
  3392. "remark" varchar(255) COLLATE "pg_catalog"."default",
  3393. "api_key" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  3394. "api_secret" varchar(128) COLLATE "pg_catalog"."default",
  3395. "callback_url" varchar(255) COLLATE "pg_catalog"."default",
  3396. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3397. "create_time" timestamp(6) NOT NULL,
  3398. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3399. "update_time" timestamp(6) NOT NULL,
  3400. "deleted" int2 NOT NULL DEFAULT 0
  3401. )
  3402. ;
  3403. COMMENT ON COLUMN "system_sms_channel"."id" IS '编号';
  3404. COMMENT ON COLUMN "system_sms_channel"."signature" IS '短信签名';
  3405. COMMENT ON COLUMN "system_sms_channel"."code" IS '渠道编码';
  3406. COMMENT ON COLUMN "system_sms_channel"."status" IS '开启状态';
  3407. COMMENT ON COLUMN "system_sms_channel"."remark" IS '备注';
  3408. COMMENT ON COLUMN "system_sms_channel"."api_key" IS '短信 API 的账号';
  3409. COMMENT ON COLUMN "system_sms_channel"."api_secret" IS '短信 API 的秘钥';
  3410. COMMENT ON COLUMN "system_sms_channel"."callback_url" IS '短信发送回调 URL';
  3411. COMMENT ON COLUMN "system_sms_channel"."creator" IS '创建者';
  3412. COMMENT ON COLUMN "system_sms_channel"."create_time" IS '创建时间';
  3413. COMMENT ON COLUMN "system_sms_channel"."updater" IS '更新者';
  3414. COMMENT ON COLUMN "system_sms_channel"."update_time" IS '更新时间';
  3415. COMMENT ON COLUMN "system_sms_channel"."deleted" IS '是否删除';
  3416. COMMENT ON TABLE "system_sms_channel" IS '短信渠道';
  3417. -- ----------------------------
  3418. -- Records of system_sms_channel
  3419. -- ----------------------------
  3420. BEGIN;
  3421. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret", "callback_url", "creator", "create_time", "updater", "update_time", "deleted") VALUES (2, 'Ballcat', 'ALIYUN', 0, '啦啦啦', 'LTAI5tCnKso2uG3kJ5gRav88', 'fGJ5SNXL7P1NHNRmJ7DJaMJGPyE55C', NULL, '', '2021-03-31 11:53:10', '1', '2021-04-14 00:08:37', 0);
  3422. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret", "callback_url", "creator", "create_time", "updater", "update_time", "deleted") VALUES (4, '测试渠道', 'DEBUG_DING_TALK', 0, '123', '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859', 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2021-04-13 00:23:14', '1', '2022-03-27 20:29:49', 0);
  3423. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret", "callback_url", "creator", "create_time", "updater", "update_time", "deleted") VALUES (6, '测试演示', 'DEBUG_DING_TALK', 0, NULL, '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859', 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2022-04-10 23:07:59', '1', '2022-04-10 23:07:59', 0);
  3424. COMMIT;
  3425. -- ----------------------------
  3426. -- Table structure for system_sms_code
  3427. -- ----------------------------
  3428. DROP TABLE IF EXISTS "system_sms_code";
  3429. CREATE TABLE "system_sms_code" (
  3430. "id" int8 NOT NULL,
  3431. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  3432. "code" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  3433. "create_ip" varchar(15) COLLATE "pg_catalog"."default" NOT NULL,
  3434. "scene" int2 NOT NULL,
  3435. "today_index" int2 NOT NULL,
  3436. "used" bool NOT NULL,
  3437. "used_time" timestamp(6),
  3438. "used_ip" varchar(255) COLLATE "pg_catalog"."default",
  3439. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3440. "create_time" timestamp(6) NOT NULL,
  3441. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3442. "update_time" timestamp(6) NOT NULL,
  3443. "deleted" int2 NOT NULL DEFAULT 0,
  3444. "tenant_id" int8 NOT NULL DEFAULT 0
  3445. )
  3446. ;
  3447. COMMENT ON COLUMN "system_sms_code"."id" IS '编号';
  3448. COMMENT ON COLUMN "system_sms_code"."mobile" IS '手机号';
  3449. COMMENT ON COLUMN "system_sms_code"."code" IS '验证码';
  3450. COMMENT ON COLUMN "system_sms_code"."create_ip" IS '创建 IP';
  3451. COMMENT ON COLUMN "system_sms_code"."scene" IS '发送场景';
  3452. COMMENT ON COLUMN "system_sms_code"."today_index" IS '今日发送的第几条';
  3453. COMMENT ON COLUMN "system_sms_code"."used" IS '是否使用';
  3454. COMMENT ON COLUMN "system_sms_code"."used_time" IS '使用时间';
  3455. COMMENT ON COLUMN "system_sms_code"."used_ip" IS '使用 IP';
  3456. COMMENT ON COLUMN "system_sms_code"."creator" IS '创建者';
  3457. COMMENT ON COLUMN "system_sms_code"."create_time" IS '创建时间';
  3458. COMMENT ON COLUMN "system_sms_code"."updater" IS '更新者';
  3459. COMMENT ON COLUMN "system_sms_code"."update_time" IS '更新时间';
  3460. COMMENT ON COLUMN "system_sms_code"."deleted" IS '是否删除';
  3461. COMMENT ON COLUMN "system_sms_code"."tenant_id" IS '租户编号';
  3462. COMMENT ON TABLE "system_sms_code" IS '手机验证码';
  3463. -- ----------------------------
  3464. -- Records of system_sms_code
  3465. -- ----------------------------
  3466. BEGIN;
  3467. COMMIT;
  3468. -- ----------------------------
  3469. -- Table structure for system_sms_log
  3470. -- ----------------------------
  3471. DROP TABLE IF EXISTS "system_sms_log";
  3472. CREATE TABLE "system_sms_log" (
  3473. "id" int8 NOT NULL,
  3474. "channel_id" int8 NOT NULL,
  3475. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3476. "template_id" int8 NOT NULL,
  3477. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3478. "template_type" int2 NOT NULL,
  3479. "template_content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3480. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3481. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3482. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  3483. "user_id" int8,
  3484. "user_type" int2,
  3485. "send_status" int2 NOT NULL,
  3486. "send_time" timestamp(6),
  3487. "send_code" int4,
  3488. "send_msg" varchar(255) COLLATE "pg_catalog"."default",
  3489. "api_send_code" varchar(63) COLLATE "pg_catalog"."default",
  3490. "api_send_msg" varchar(255) COLLATE "pg_catalog"."default",
  3491. "api_request_id" varchar(255) COLLATE "pg_catalog"."default",
  3492. "api_serial_no" varchar(255) COLLATE "pg_catalog"."default",
  3493. "receive_status" int2 NOT NULL,
  3494. "receive_time" timestamp(6),
  3495. "api_receive_code" varchar(63) COLLATE "pg_catalog"."default",
  3496. "api_receive_msg" varchar(255) COLLATE "pg_catalog"."default",
  3497. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3498. "create_time" timestamp(6) NOT NULL,
  3499. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3500. "update_time" timestamp(6) NOT NULL,
  3501. "deleted" int2 NOT NULL DEFAULT 0
  3502. )
  3503. ;
  3504. COMMENT ON COLUMN "system_sms_log"."id" IS '编号';
  3505. COMMENT ON COLUMN "system_sms_log"."channel_id" IS '短信渠道编号';
  3506. COMMENT ON COLUMN "system_sms_log"."channel_code" IS '短信渠道编码';
  3507. COMMENT ON COLUMN "system_sms_log"."template_id" IS '模板编号';
  3508. COMMENT ON COLUMN "system_sms_log"."template_code" IS '模板编码';
  3509. COMMENT ON COLUMN "system_sms_log"."template_type" IS '短信类型';
  3510. COMMENT ON COLUMN "system_sms_log"."template_content" IS '短信内容';
  3511. COMMENT ON COLUMN "system_sms_log"."template_params" IS '短信参数';
  3512. COMMENT ON COLUMN "system_sms_log"."api_template_id" IS '短信 API 的模板编号';
  3513. COMMENT ON COLUMN "system_sms_log"."mobile" IS '手机号';
  3514. COMMENT ON COLUMN "system_sms_log"."user_id" IS '用户编号';
  3515. COMMENT ON COLUMN "system_sms_log"."user_type" IS '用户类型';
  3516. COMMENT ON COLUMN "system_sms_log"."send_status" IS '发送状态';
  3517. COMMENT ON COLUMN "system_sms_log"."send_time" IS '发送时间';
  3518. COMMENT ON COLUMN "system_sms_log"."send_code" IS '发送结果的编码';
  3519. COMMENT ON COLUMN "system_sms_log"."send_msg" IS '发送结果的提示';
  3520. COMMENT ON COLUMN "system_sms_log"."api_send_code" IS '短信 API 发送结果的编码';
  3521. COMMENT ON COLUMN "system_sms_log"."api_send_msg" IS '短信 API 发送失败的提示';
  3522. COMMENT ON COLUMN "system_sms_log"."api_request_id" IS '短信 API 发送返回的唯一请求 ID';
  3523. COMMENT ON COLUMN "system_sms_log"."api_serial_no" IS '短信 API 发送返回的序号';
  3524. COMMENT ON COLUMN "system_sms_log"."receive_status" IS '接收状态';
  3525. COMMENT ON COLUMN "system_sms_log"."receive_time" IS '接收时间';
  3526. COMMENT ON COLUMN "system_sms_log"."api_receive_code" IS 'API 接收结果的编码';
  3527. COMMENT ON COLUMN "system_sms_log"."api_receive_msg" IS 'API 接收结果的说明';
  3528. COMMENT ON COLUMN "system_sms_log"."creator" IS '创建者';
  3529. COMMENT ON COLUMN "system_sms_log"."create_time" IS '创建时间';
  3530. COMMENT ON COLUMN "system_sms_log"."updater" IS '更新者';
  3531. COMMENT ON COLUMN "system_sms_log"."update_time" IS '更新时间';
  3532. COMMENT ON COLUMN "system_sms_log"."deleted" IS '是否删除';
  3533. COMMENT ON TABLE "system_sms_log" IS '短信日志';
  3534. -- ----------------------------
  3535. -- Records of system_sms_log
  3536. -- ----------------------------
  3537. BEGIN;
  3538. COMMIT;
  3539. -- ----------------------------
  3540. -- Table structure for system_sms_template
  3541. -- ----------------------------
  3542. DROP TABLE IF EXISTS "system_sms_template";
  3543. CREATE TABLE "system_sms_template" (
  3544. "id" int8 NOT NULL,
  3545. "type" int2 NOT NULL,
  3546. "status" int2 NOT NULL,
  3547. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3548. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3549. "content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3550. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3551. "remark" varchar(255) COLLATE "pg_catalog"."default",
  3552. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3553. "channel_id" int8 NOT NULL,
  3554. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3555. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3556. "create_time" timestamp(6) NOT NULL,
  3557. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3558. "update_time" timestamp(6) NOT NULL,
  3559. "deleted" int2 NOT NULL DEFAULT 0
  3560. )
  3561. ;
  3562. COMMENT ON COLUMN "system_sms_template"."id" IS '编号';
  3563. COMMENT ON COLUMN "system_sms_template"."type" IS '短信签名';
  3564. COMMENT ON COLUMN "system_sms_template"."status" IS '开启状态';
  3565. COMMENT ON COLUMN "system_sms_template"."code" IS '模板编码';
  3566. COMMENT ON COLUMN "system_sms_template"."name" IS '模板名称';
  3567. COMMENT ON COLUMN "system_sms_template"."content" IS '模板内容';
  3568. COMMENT ON COLUMN "system_sms_template"."params" IS '参数数组';
  3569. COMMENT ON COLUMN "system_sms_template"."remark" IS '备注';
  3570. COMMENT ON COLUMN "system_sms_template"."api_template_id" IS '短信 API 的模板编号';
  3571. COMMENT ON COLUMN "system_sms_template"."channel_id" IS '短信渠道编号';
  3572. COMMENT ON COLUMN "system_sms_template"."channel_code" IS '短信渠道编码';
  3573. COMMENT ON COLUMN "system_sms_template"."creator" IS '创建者';
  3574. COMMENT ON COLUMN "system_sms_template"."create_time" IS '创建时间';
  3575. COMMENT ON COLUMN "system_sms_template"."updater" IS '更新者';
  3576. COMMENT ON COLUMN "system_sms_template"."update_time" IS '更新时间';
  3577. COMMENT ON COLUMN "system_sms_template"."deleted" IS '是否删除';
  3578. COMMENT ON TABLE "system_sms_template" IS '短信模板';
  3579. -- ----------------------------
  3580. -- Records of system_sms_template
  3581. -- ----------------------------
  3582. BEGIN;
  3583. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (2, 1, 0, 'test_01', '测试验证码短信', '正在进行登录操作{operation},您的验证码是{code}', '["operation","code"]', NULL, '4383920', 1, 'YUN_PIAN', '', '2021-03-31 10:49:38', '1', '2021-04-10 01:22:00', 0);
  3584. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (3, 1, 0, 'test_02', '公告通知', '您的验证码{code},该验证码5分钟内有效,请勿泄漏于他人!', '["code"]', NULL, 'SMS_207945135', 2, 'ALIYUN', '', '2021-03-31 11:56:30', '1', '2021-04-10 01:22:02', 0);
  3585. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (6, 3, 0, 'test-01', '测试模板', '哈哈哈 {name}', '["name"]', 'f哈哈哈', '4383920', 1, 'YUN_PIAN', '1', '2021-04-10 01:07:21', '1', '2021-04-10 01:22:05', 0);
  3586. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (7, 3, 0, 'test-04', '测试下', '老鸡{name},牛逼{code}', '["name","code"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2021-04-13 00:29:53', '1', '2021-04-14 00:30:38', 0);
  3587. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (8, 1, 0, 'user-sms-login', '前台用户短信登录', '您的验证码是{code}', '["code"]', NULL, '4372216', 1, 'YUN_PIAN', '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  3588. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (9, 2, 0, 'bpm_task_assigned', '【工作流】任务被分配', '您收到了一条新的待办任务:{processInstanceName}-{taskName},申请人:{startUserNickname},处理链接:{detailUrl}', '["processInstanceName","taskName","startUserNickname","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-21 22:31:19', '1', '2022-01-22 00:03:36', 0);
  3589. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (10, 2, 0, 'bpm_process_instance_reject', '【工作流】流程被不通过', '您的流程被审批不通过:{processInstanceName},原因:{reason},查看链接:{detailUrl}', '["processInstanceName","reason","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:03:31', '1', '2022-05-01 12:33:14', 0);
  3590. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (11, 2, 0, 'bpm_process_instance_approve', '【工作流】流程被通过', '您的流程被审批通过:{processInstanceName},查看链接:{detailUrl}', '["processInstanceName","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:04:31', '1', '2022-03-27 20:32:21', 0);
  3591. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (12, 2, 0, 'demo', '演示模板', '我就是测试一下下', '[]', NULL, 'biubiubiu', 6, 'DEBUG_DING_TALK', '1', '2022-04-10 23:22:49', '1', '2022-04-10 23:22:49', 0);
  3592. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark", "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater", "update_time", "deleted") VALUES (13, 1, 0, 'admin-sms-login', '后台用户短信登录', '您的验证码是{code}', '["code"]', '', '4372216', 1, 'YUN_PIAN', '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  3593. COMMIT;
  3594. -- ----------------------------
  3595. -- Table structure for system_social_user
  3596. -- ----------------------------
  3597. DROP TABLE IF EXISTS "system_social_user";
  3598. CREATE TABLE "system_social_user" (
  3599. "id" numeric(20,0) NOT NULL,
  3600. "type" int2 NOT NULL,
  3601. "openid" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  3602. "token" varchar(256) COLLATE "pg_catalog"."default",
  3603. "raw_token_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  3604. "nickname" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  3605. "avatar" varchar(255) COLLATE "pg_catalog"."default",
  3606. "raw_user_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  3607. "code" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  3608. "state" varchar(256) COLLATE "pg_catalog"."default",
  3609. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3610. "create_time" timestamp(6) NOT NULL,
  3611. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3612. "update_time" timestamp(6) NOT NULL,
  3613. "deleted" int2 NOT NULL DEFAULT 0,
  3614. "tenant_id" int8 NOT NULL DEFAULT 0
  3615. )
  3616. ;
  3617. COMMENT ON COLUMN "system_social_user"."id" IS '主键(自增策略)';
  3618. COMMENT ON COLUMN "system_social_user"."type" IS '社交平台的类型';
  3619. COMMENT ON COLUMN "system_social_user"."openid" IS '社交 openid';
  3620. COMMENT ON COLUMN "system_social_user"."token" IS '社交 token';
  3621. COMMENT ON COLUMN "system_social_user"."raw_token_info" IS '原始 Token 数据,一般是 JSON 格式';
  3622. COMMENT ON COLUMN "system_social_user"."nickname" IS '用户昵称';
  3623. COMMENT ON COLUMN "system_social_user"."avatar" IS '用户头像';
  3624. COMMENT ON COLUMN "system_social_user"."raw_user_info" IS '原始用户数据,一般是 JSON 格式';
  3625. COMMENT ON COLUMN "system_social_user"."code" IS '最后一次的认证 code';
  3626. COMMENT ON COLUMN "system_social_user"."state" IS '最后一次的认证 state';
  3627. COMMENT ON COLUMN "system_social_user"."creator" IS '创建者';
  3628. COMMENT ON COLUMN "system_social_user"."create_time" IS '创建时间';
  3629. COMMENT ON COLUMN "system_social_user"."updater" IS '更新者';
  3630. COMMENT ON COLUMN "system_social_user"."update_time" IS '更新时间';
  3631. COMMENT ON COLUMN "system_social_user"."deleted" IS '是否删除';
  3632. COMMENT ON COLUMN "system_social_user"."tenant_id" IS '租户编号';
  3633. COMMENT ON TABLE "system_social_user" IS '社交用户表';
  3634. -- ----------------------------
  3635. -- Records of system_social_user
  3636. -- ----------------------------
  3637. BEGIN;
  3638. COMMIT;
  3639. -- ----------------------------
  3640. -- Table structure for system_social_user_bind
  3641. -- ----------------------------
  3642. DROP TABLE IF EXISTS "system_social_user_bind";
  3643. CREATE TABLE "system_social_user_bind" (
  3644. "id" numeric(20,0) NOT NULL,
  3645. "user_id" int8 NOT NULL,
  3646. "user_type" int2 NOT NULL,
  3647. "social_type" int2 NOT NULL,
  3648. "social_user_id" int8 NOT NULL,
  3649. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3650. "create_time" timestamp(6) NOT NULL,
  3651. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3652. "update_time" timestamp(6) NOT NULL,
  3653. "deleted" int2 NOT NULL DEFAULT 0,
  3654. "tenant_id" int8 NOT NULL DEFAULT 0
  3655. )
  3656. ;
  3657. COMMENT ON COLUMN "system_social_user_bind"."id" IS '主键(自增策略)';
  3658. COMMENT ON COLUMN "system_social_user_bind"."user_id" IS '用户编号';
  3659. COMMENT ON COLUMN "system_social_user_bind"."user_type" IS '用户类型';
  3660. COMMENT ON COLUMN "system_social_user_bind"."social_type" IS '社交平台的类型';
  3661. COMMENT ON COLUMN "system_social_user_bind"."social_user_id" IS '社交用户的编号';
  3662. COMMENT ON COLUMN "system_social_user_bind"."creator" IS '创建者';
  3663. COMMENT ON COLUMN "system_social_user_bind"."create_time" IS '创建时间';
  3664. COMMENT ON COLUMN "system_social_user_bind"."updater" IS '更新者';
  3665. COMMENT ON COLUMN "system_social_user_bind"."update_time" IS '更新时间';
  3666. COMMENT ON COLUMN "system_social_user_bind"."deleted" IS '是否删除';
  3667. COMMENT ON COLUMN "system_social_user_bind"."tenant_id" IS '租户编号';
  3668. COMMENT ON TABLE "system_social_user_bind" IS '社交绑定表';
  3669. -- ----------------------------
  3670. -- Records of system_social_user_bind
  3671. -- ----------------------------
  3672. BEGIN;
  3673. COMMIT;
  3674. -- ----------------------------
  3675. -- Table structure for system_tenant
  3676. -- ----------------------------
  3677. DROP TABLE IF EXISTS "system_tenant";
  3678. CREATE TABLE "system_tenant" (
  3679. "id" int8 NOT NULL,
  3680. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3681. "contact_user_id" int8,
  3682. "contact_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3683. "contact_mobile" varchar(500) COLLATE "pg_catalog"."default",
  3684. "status" int2 NOT NULL,
  3685. "domain" varchar(256) COLLATE "pg_catalog"."default",
  3686. "package_id" int8 NOT NULL,
  3687. "expire_time" timestamp(6) NOT NULL,
  3688. "account_count" int4 NOT NULL,
  3689. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3690. "create_time" timestamp(6) NOT NULL,
  3691. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3692. "update_time" timestamp(6) NOT NULL,
  3693. "deleted" int2 NOT NULL DEFAULT 0
  3694. )
  3695. ;
  3696. COMMENT ON COLUMN "system_tenant"."id" IS '租户编号';
  3697. COMMENT ON COLUMN "system_tenant"."name" IS '租户名';
  3698. COMMENT ON COLUMN "system_tenant"."contact_user_id" IS '联系人的用户编号';
  3699. COMMENT ON COLUMN "system_tenant"."contact_name" IS '联系人';
  3700. COMMENT ON COLUMN "system_tenant"."contact_mobile" IS '联系手机';
  3701. COMMENT ON COLUMN "system_tenant"."status" IS '租户状态(0正常 1停用)';
  3702. COMMENT ON COLUMN "system_tenant"."domain" IS '绑定域名';
  3703. COMMENT ON COLUMN "system_tenant"."package_id" IS '租户套餐编号';
  3704. COMMENT ON COLUMN "system_tenant"."expire_time" IS '过期时间';
  3705. COMMENT ON COLUMN "system_tenant"."account_count" IS '账号数量';
  3706. COMMENT ON COLUMN "system_tenant"."creator" IS '创建者';
  3707. COMMENT ON COLUMN "system_tenant"."create_time" IS '创建时间';
  3708. COMMENT ON COLUMN "system_tenant"."updater" IS '更新者';
  3709. COMMENT ON COLUMN "system_tenant"."update_time" IS '更新时间';
  3710. COMMENT ON COLUMN "system_tenant"."deleted" IS '是否删除';
  3711. COMMENT ON TABLE "system_tenant" IS '租户表';
  3712. -- ----------------------------
  3713. -- Records of system_tenant
  3714. -- ----------------------------
  3715. BEGIN;
  3716. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "domain", "package_id", "expire_time", "account_count", "creator", "create_time", "updater", "update_time", "deleted") VALUES (1, '芋道源码', NULL, '芋艿', '17321315478', 0, 'https://www.iocoder.cn', 0, '2099-02-19 17:14:16', 9999, '1', '2021-01-05 17:03:47', '1', '2022-02-23 12:15:11', 0);
  3717. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "domain", "package_id", "expire_time", "account_count", "creator", "create_time", "updater", "update_time", "deleted") VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'http://www.iocoder.cn', 111, '2024-03-11 00:00:00', 20, '1', '2022-02-22 00:56:14', '1', '2022-03-19 18:37:20', 0);
  3718. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "domain", "package_id", "expire_time", "account_count", "creator", "create_time", "updater", "update_time", "deleted") VALUES (122, '测试租户', 113, '芋道', '15601691300', 0, 'https://www.iocoder.cn', 111, '2022-04-30 00:00:00', 50, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0);
  3719. COMMIT;
  3720. -- ----------------------------
  3721. -- Table structure for system_tenant_package
  3722. -- ----------------------------
  3723. DROP TABLE IF EXISTS "system_tenant_package";
  3724. CREATE TABLE "system_tenant_package" (
  3725. "id" int8 NOT NULL,
  3726. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3727. "status" int2 NOT NULL,
  3728. "remark" varchar(256) COLLATE "pg_catalog"."default",
  3729. "menu_ids" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  3730. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3731. "create_time" timestamp(6) NOT NULL,
  3732. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3733. "update_time" timestamp(6) NOT NULL,
  3734. "deleted" int2 NOT NULL DEFAULT 0
  3735. )
  3736. ;
  3737. COMMENT ON COLUMN "system_tenant_package"."id" IS '套餐编号';
  3738. COMMENT ON COLUMN "system_tenant_package"."name" IS '套餐名';
  3739. COMMENT ON COLUMN "system_tenant_package"."status" IS '租户状态(0正常 1停用)';
  3740. COMMENT ON COLUMN "system_tenant_package"."remark" IS '备注';
  3741. COMMENT ON COLUMN "system_tenant_package"."menu_ids" IS '关联的菜单编号';
  3742. COMMENT ON COLUMN "system_tenant_package"."creator" IS '创建者';
  3743. COMMENT ON COLUMN "system_tenant_package"."create_time" IS '创建时间';
  3744. COMMENT ON COLUMN "system_tenant_package"."updater" IS '更新者';
  3745. COMMENT ON COLUMN "system_tenant_package"."update_time" IS '更新时间';
  3746. COMMENT ON COLUMN "system_tenant_package"."deleted" IS '是否删除';
  3747. COMMENT ON TABLE "system_tenant_package" IS '租户套餐表';
  3748. -- ----------------------------
  3749. -- Records of system_tenant_package
  3750. -- ----------------------------
  3751. BEGIN;
  3752. INSERT INTO "system_tenant_package" ("id", "name", "status", "remark", "menu_ids", "creator", "create_time", "updater", "update_time", "deleted") VALUES (111, '普通套餐', 0, '小功能', '[1024,1025,1,102,103,104,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023]', '1', '2022-02-22 00:54:00', '1', '2022-03-19 18:39:13', 0);
  3753. COMMIT;
  3754. -- ----------------------------
  3755. -- Table structure for system_user_post
  3756. -- ----------------------------
  3757. DROP TABLE IF EXISTS "system_user_post";
  3758. CREATE TABLE "system_user_post" (
  3759. "id" int8 NOT NULL,
  3760. "user_id" int8 NOT NULL,
  3761. "post_id" int8 NOT NULL,
  3762. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3763. "create_time" timestamp(6) NOT NULL,
  3764. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3765. "update_time" timestamp(6) NOT NULL,
  3766. "tenant_id" int8 NOT NULL,
  3767. "deleted" int2 NOT NULL DEFAULT 0
  3768. )
  3769. ;
  3770. COMMENT ON COLUMN "system_user_post"."id" IS 'id';
  3771. COMMENT ON COLUMN "system_user_post"."user_id" IS '用户ID';
  3772. COMMENT ON COLUMN "system_user_post"."post_id" IS '岗位ID';
  3773. COMMENT ON COLUMN "system_user_post"."creator" IS '创建者';
  3774. COMMENT ON COLUMN "system_user_post"."create_time" IS '创建时间';
  3775. COMMENT ON COLUMN "system_user_post"."updater" IS '更新者';
  3776. COMMENT ON COLUMN "system_user_post"."update_time" IS '更新时间';
  3777. COMMENT ON COLUMN "system_user_post"."tenant_id" IS '租户编号';
  3778. COMMENT ON COLUMN "system_user_post"."deleted" IS '是否删除';
  3779. COMMENT ON TABLE "system_user_post" IS '用户岗位表';
  3780. -- ----------------------------
  3781. -- Records of system_user_post
  3782. -- ----------------------------
  3783. BEGIN;
  3784. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time", "tenant_id", "deleted") VALUES (112, 1, 1, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  3785. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time", "tenant_id", "deleted") VALUES (113, 100, 1, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  3786. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time", "tenant_id", "deleted") VALUES (114, 114, 3, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  3787. COMMIT;
  3788. -- ----------------------------
  3789. -- Table structure for system_user_role
  3790. -- ----------------------------
  3791. DROP TABLE IF EXISTS "system_user_role";
  3792. CREATE TABLE "system_user_role" (
  3793. "id" int8 NOT NULL,
  3794. "user_id" int8 NOT NULL,
  3795. "role_id" int8 NOT NULL,
  3796. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3797. "create_time" timestamp(6),
  3798. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3799. "update_time" timestamp(6),
  3800. "deleted" int2 NOT NULL DEFAULT 0,
  3801. "tenant_id" int8 NOT NULL DEFAULT 0
  3802. )
  3803. ;
  3804. COMMENT ON COLUMN "system_user_role"."id" IS '自增编号';
  3805. COMMENT ON COLUMN "system_user_role"."user_id" IS '用户ID';
  3806. COMMENT ON COLUMN "system_user_role"."role_id" IS '角色ID';
  3807. COMMENT ON COLUMN "system_user_role"."creator" IS '创建者';
  3808. COMMENT ON COLUMN "system_user_role"."create_time" IS '创建时间';
  3809. COMMENT ON COLUMN "system_user_role"."updater" IS '更新者';
  3810. COMMENT ON COLUMN "system_user_role"."update_time" IS '更新时间';
  3811. COMMENT ON COLUMN "system_user_role"."deleted" IS '是否删除';
  3812. COMMENT ON COLUMN "system_user_role"."tenant_id" IS '租户编号';
  3813. COMMENT ON TABLE "system_user_role" IS '用户和角色关联表';
  3814. -- ----------------------------
  3815. -- Records of system_user_role
  3816. -- ----------------------------
  3817. BEGIN;
  3818. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1, 1, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:17', 0, 1);
  3819. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (2, 2, 2, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:13', 0, 1);
  3820. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (4, 100, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:13', 0, 1);
  3821. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (5, 100, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:12', 0, 1);
  3822. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (6, 100, 2, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:11', 0, 1);
  3823. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (7, 104, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:11', 0, 1);
  3824. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (10, 103, 1, '1', '2022-01-11 13:19:45', '1', '2022-01-11 13:19:45', 0, 1);
  3825. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (11, 107, 106, '1', '2022-02-20 22:59:33', '1', '2022-02-20 22:59:33', 0, 118);
  3826. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (12, 108, 107, '1', '2022-02-20 23:00:50', '1', '2022-02-20 23:00:50', 0, 119);
  3827. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (13, 109, 108, '1', '2022-02-20 23:11:50', '1', '2022-02-20 23:11:50', 0, 120);
  3828. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (14, 110, 109, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  3829. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (15, 111, 110, '110', '2022-02-23 13:14:38', '110', '2022-02-23 13:14:38', 0, 121);
  3830. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (16, 113, 111, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  3831. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (17, 114, 101, '1', '2022-03-19 21:51:13', '1', '2022-03-19 21:51:13', 0, 1);
  3832. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (18, 1, 2, '1', '2022-05-12 20:39:29', '1', '2022-05-12 20:39:29', 0, 1);
  3833. COMMIT;
  3834. -- ----------------------------
  3835. -- Table structure for system_users
  3836. -- ----------------------------
  3837. DROP TABLE IF EXISTS "system_users";
  3838. CREATE TABLE "system_users" (
  3839. "id" int8 NOT NULL,
  3840. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3841. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3842. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  3843. "remark" varchar(500) COLLATE "pg_catalog"."default",
  3844. "dept_id" int8,
  3845. "post_ids" varchar(255) COLLATE "pg_catalog"."default",
  3846. "email" varchar(50) COLLATE "pg_catalog"."default",
  3847. "mobile" varchar(11) COLLATE "pg_catalog"."default",
  3848. "sex" int2,
  3849. "avatar" varchar(100) COLLATE "pg_catalog"."default",
  3850. "status" int2 NOT NULL,
  3851. "login_ip" varchar(50) COLLATE "pg_catalog"."default",
  3852. "login_date" timestamp(6),
  3853. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3854. "create_time" timestamp(6) NOT NULL,
  3855. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3856. "update_time" timestamp(6) NOT NULL,
  3857. "deleted" int2 NOT NULL DEFAULT 0,
  3858. "tenant_id" int8 NOT NULL DEFAULT 0
  3859. )
  3860. ;
  3861. COMMENT ON COLUMN "system_users"."id" IS '用户ID';
  3862. COMMENT ON COLUMN "system_users"."username" IS '用户账号';
  3863. COMMENT ON COLUMN "system_users"."password" IS '密码';
  3864. COMMENT ON COLUMN "system_users"."nickname" IS '用户昵称';
  3865. COMMENT ON COLUMN "system_users"."remark" IS '备注';
  3866. COMMENT ON COLUMN "system_users"."dept_id" IS '部门ID';
  3867. COMMENT ON COLUMN "system_users"."post_ids" IS '岗位编号数组';
  3868. COMMENT ON COLUMN "system_users"."email" IS '用户邮箱';
  3869. COMMENT ON COLUMN "system_users"."mobile" IS '手机号码';
  3870. COMMENT ON COLUMN "system_users"."sex" IS '用户性别';
  3871. COMMENT ON COLUMN "system_users"."avatar" IS '头像地址';
  3872. COMMENT ON COLUMN "system_users"."status" IS '帐号状态(0正常 1停用)';
  3873. COMMENT ON COLUMN "system_users"."login_ip" IS '最后登录IP';
  3874. COMMENT ON COLUMN "system_users"."login_date" IS '最后登录时间';
  3875. COMMENT ON COLUMN "system_users"."creator" IS '创建者';
  3876. COMMENT ON COLUMN "system_users"."create_time" IS '创建时间';
  3877. COMMENT ON COLUMN "system_users"."updater" IS '更新者';
  3878. COMMENT ON COLUMN "system_users"."update_time" IS '更新时间';
  3879. COMMENT ON COLUMN "system_users"."deleted" IS '是否删除';
  3880. COMMENT ON COLUMN "system_users"."tenant_id" IS '租户编号';
  3881. COMMENT ON TABLE "system_users" IS '用户信息表';
  3882. -- ----------------------------
  3883. -- Records of system_users
  3884. -- ----------------------------
  3885. BEGIN;
  3886. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 104, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '104', '2021-12-16 09:26:10', 0, 1);
  3887. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (103, 'yuanma', '$2a$10$wWoPT7sqriM2O1YXRL.je.GiL538OR6ZTN8aQZr9JAGdnpCH2tpYe', '源码', NULL, 106, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-01-18 00:33:40', '', '2021-01-13 23:50:35', NULL, '2022-01-18 00:33:40', 0, 1);
  3888. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (104, 'test', '$2a$10$e5RpuDCC0GYSt0Hvd2.CjujIXwgGct4SnXi6dVGxdgFsnqgEryk5a', '测试号', NULL, 107, '[]', '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-03-19 21:46:19', '', '2021-01-21 02:13:53', NULL, '2022-03-19 21:46:19', 0, 1);
  3889. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (107, 'admin107', '$2a$10$dYOOBKMO93v/.ReCqzyFg.o67Tqk.bbc2bhrpyBGkIw9aypCtr2pm', '芋艿', NULL, NULL, NULL, '', '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 22:59:33', '1', '2022-02-27 08:26:51', 0, 118);
  3890. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (108, 'admin108', '$2a$10$y6mfvKoNYL1GXWak8nYwVOH.kCWqjactkzdoIDgiKl93WN3Ejg.Lu', '芋艿', NULL, NULL, NULL, '', '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:00:50', '1', '2022-02-27 08:26:53', 0, 119);
  3891. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (109, 'admin109', '$2a$10$JAqvH0tEc0I7dfDVBI7zyuB4E3j.uH6daIjV53.vUS6PknFkDJkuK', '芋艿', NULL, NULL, NULL, '', '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:11:50', '1', '2022-02-27 08:26:56', 0, 120);
  3892. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (110, 'admin110', '$2a$10$qYxoXs0ogPHgYllyEneYde9xcCW5hZgukrxeXZ9lmLhKse8TK6IwW', '小王', NULL, NULL, NULL, '', '15601691300', 0, '', 0, '127.0.0.1', '2022-02-23 19:36:28', '1', '2022-02-22 00:56:14', NULL, '2022-02-27 08:26:59', 0, 121);
  3893. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (111, 'test', '$2a$10$mExveopHUx9Q4QiLtAzhDeH3n4/QlNLzEsM4AqgxKrU.ciUZDXZCy', '测试用户', NULL, NULL, '[]', '', '', 0, '', 0, '', NULL, '110', '2022-02-23 13:14:33', '110', '2022-02-23 13:14:33', 0, 121);
  3894. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (112, 'newobject', '$2a$10$jh5MsR.ud/gKe3mVeUp5t.nEXGDSmHyv5OYjWQwHO8wlGmMSI9Twy', '新对象', NULL, NULL, '[]', '', '', 0, '', 0, '', NULL, '1', '2022-02-23 19:08:03', '1', '2022-02-23 19:08:03', 0, 1);
  3895. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (113, 'aoteman', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '芋道', NULL, NULL, NULL, '', '15601691300', 0, '', 0, '127.0.0.1', '2022-03-19 18:38:51', '1', '2022-03-07 21:37:58', NULL, '2022-03-19 18:38:51', 0, 122);
  3896. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (114, 'hrmgr', '$2a$10$TR4eybBioGRhBmDBWkqWLO6NIh3mzYa8KBKDDB5woiGYFVlRAi.fu', 'hr 小姐姐', NULL, NULL, '[3]', '', '', 0, '', 0, '127.0.0.1', '2022-03-19 22:15:43', '1', '2022-03-19 21:50:58', NULL, '2022-03-19 22:15:43', 0, 1);
  3897. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (115, 'aotemane', '$2a$10$/WCwGHu1eq0wOVDd/u8HweJ0gJCHyLS6T7ndCqI8UXZAQom1etk2e', '1', '11', 100, '[]', '', '', 0, '', 0, '', NULL, '1', '2022-04-30 02:55:43', '1', '2022-04-30 02:55:43', 0, 1);
  3898. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email", "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id") VALUES (1, 'admin', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '芋道源码', '管理员', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/48934f2f-92d4-4250-b917-d10d2b262c6a', 0, '127.0.0.1', '2022-05-25 23:44:33.003', 'admin', '2021-01-05 17:03:47', NULL, '2022-05-25 23:44:33.003', 0, 1);
  3899. COMMIT;
  3900. -- ----------------------------
  3901. -- Table structure for system_mail_account
  3902. -- ----------------------------
  3903. DROP TABLE IF EXISTS "system_mail_account";
  3904. CREATE TABLE "system_mail_account" (
  3905. "id" int8 NOT NULL,
  3906. "mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3907. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3908. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3909. "host" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3910. "port" int4 NOT NULL,
  3911. "ssl_enable" varchar(1) COLLATE "pg_catalog"."default" NOT NULL,
  3912. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3913. "create_time" timestamp(6) NOT NULL,
  3914. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3915. "update_time" timestamp(6) NOT NULL,
  3916. "deleted" int2 NOT NULL
  3917. )
  3918. ;
  3919. COMMENT ON COLUMN "system_mail_account"."id" IS '主键';
  3920. COMMENT ON COLUMN "system_mail_account"."mail" IS '邮箱';
  3921. COMMENT ON COLUMN "system_mail_account"."username" IS '用户名';
  3922. COMMENT ON COLUMN "system_mail_account"."password" IS '密码';
  3923. COMMENT ON COLUMN "system_mail_account"."host" IS 'SMTP 服务器域名';
  3924. COMMENT ON COLUMN "system_mail_account"."port" IS 'SMTP 服务器端口';
  3925. COMMENT ON COLUMN "system_mail_account"."ssl_enable" IS '是否开启 SSL';
  3926. COMMENT ON COLUMN "system_mail_account"."creator" IS '创建者';
  3927. COMMENT ON COLUMN "system_mail_account"."create_time" IS '创建时间';
  3928. COMMENT ON COLUMN "system_mail_account"."updater" IS '更新者';
  3929. COMMENT ON COLUMN "system_mail_account"."update_time" IS '更新时间';
  3930. COMMENT ON COLUMN "system_mail_account"."deleted" IS '是否删除';
  3931. COMMENT ON TABLE "system_mail_account" IS '邮箱账号表';
  3932. -- ----------------------------
  3933. -- Table structure for system_mail_log
  3934. -- ----------------------------
  3935. DROP TABLE IF EXISTS "system_mail_log";
  3936. CREATE TABLE "system_mail_log" (
  3937. "id" int8 NOT NULL,
  3938. "user_id" int8,
  3939. "user_type" int2,
  3940. "to_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3941. "account_id" int8 NOT NULL,
  3942. "from_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3943. "template_id" int8 NOT NULL,
  3944. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3945. "template_nickname" varchar(255) COLLATE "pg_catalog"."default",
  3946. "template_title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3947. "template_content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  3948. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3949. "send_status" int2 NOT NULL,
  3950. "send_time" timestamp(6),
  3951. "send_message_id" varchar(255) COLLATE "pg_catalog"."default",
  3952. "send_exception" varchar(4096) COLLATE "pg_catalog"."default",
  3953. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3954. "create_time" timestamp(6) NOT NULL,
  3955. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3956. "update_time" timestamp(6) NOT NULL,
  3957. "deleted" int2 NOT NULL DEFAULT 0
  3958. )
  3959. ;
  3960. COMMENT ON COLUMN "system_mail_log"."id" IS '编号';
  3961. COMMENT ON COLUMN "system_mail_log"."user_id" IS '用户编号';
  3962. COMMENT ON COLUMN "system_mail_log"."user_type" IS '用户类型';
  3963. COMMENT ON COLUMN "system_mail_log"."to_mail" IS '接收邮箱地址';
  3964. COMMENT ON COLUMN "system_mail_log"."account_id" IS '邮箱账号编号';
  3965. COMMENT ON COLUMN "system_mail_log"."from_mail" IS '发送邮箱地址';
  3966. COMMENT ON COLUMN "system_mail_log"."template_id" IS '模板编号';
  3967. COMMENT ON COLUMN "system_mail_log"."template_code" IS '模板编码';
  3968. COMMENT ON COLUMN "system_mail_log"."template_nickname" IS '模版发送人名称';
  3969. COMMENT ON COLUMN "system_mail_log"."template_title" IS '邮件标题';
  3970. COMMENT ON COLUMN "system_mail_log"."template_content" IS '邮件内容';
  3971. COMMENT ON COLUMN "system_mail_log"."template_params" IS '邮件参数';
  3972. COMMENT ON COLUMN "system_mail_log"."send_status" IS '发送状态';
  3973. COMMENT ON COLUMN "system_mail_log"."send_time" IS '发送时间';
  3974. COMMENT ON COLUMN "system_mail_log"."send_message_id" IS '发送返回的消息 ID';
  3975. COMMENT ON COLUMN "system_mail_log"."send_exception" IS '发送异常';
  3976. COMMENT ON COLUMN "system_mail_log"."creator" IS '创建者';
  3977. COMMENT ON COLUMN "system_mail_log"."create_time" IS '创建时间';
  3978. COMMENT ON COLUMN "system_mail_log"."updater" IS '更新者';
  3979. COMMENT ON COLUMN "system_mail_log"."update_time" IS '更新时间';
  3980. COMMENT ON COLUMN "system_mail_log"."deleted" IS '是否删除';
  3981. COMMENT ON TABLE "system_mail_log" IS '邮件日志表';
  3982. -- ----------------------------
  3983. -- Table structure for system_mail_template
  3984. -- ----------------------------
  3985. DROP TABLE IF EXISTS "system_mail_template";
  3986. CREATE TABLE "system_mail_template" (
  3987. "id" int8 NOT NULL,
  3988. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3989. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  3990. "account_id" int8 NOT NULL,
  3991. "nickname" varchar(255) COLLATE "pg_catalog"."default",
  3992. "title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3993. "content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  3994. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  3995. "status" int2 NOT NULL,
  3996. "remark" varchar(255) COLLATE "pg_catalog"."default",
  3997. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3998. "create_time" timestamp(6) NOT NULL,
  3999. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4000. "update_time" timestamp(6) NOT NULL,
  4001. "deleted" int2 NOT NULL DEFAULT 0
  4002. )
  4003. ;
  4004. COMMENT ON COLUMN "system_mail_template"."id" IS '编号';
  4005. COMMENT ON COLUMN "system_mail_template"."name" IS '模板名称';
  4006. COMMENT ON COLUMN "system_mail_template"."code" IS '模板编码';
  4007. COMMENT ON COLUMN "system_mail_template"."account_id" IS '发送的邮箱账号编号';
  4008. COMMENT ON COLUMN "system_mail_template"."nickname" IS '发送人名称';
  4009. COMMENT ON COLUMN "system_mail_template"."title" IS '模板标题';
  4010. COMMENT ON COLUMN "system_mail_template"."content" IS '模板内容';
  4011. COMMENT ON COLUMN "system_mail_template"."params" IS '参数数组';
  4012. COMMENT ON COLUMN "system_mail_template"."status" IS '开启状态';
  4013. COMMENT ON COLUMN "system_mail_template"."remark" IS '备注';
  4014. COMMENT ON COLUMN "system_mail_template"."creator" IS '创建者';
  4015. COMMENT ON COLUMN "system_mail_template"."create_time" IS '创建时间';
  4016. COMMENT ON COLUMN "system_mail_template"."updater" IS '更新者';
  4017. COMMENT ON COLUMN "system_mail_template"."update_time" IS '更新时间';
  4018. COMMENT ON COLUMN "system_mail_template"."deleted" IS '是否删除';
  4019. COMMENT ON TABLE "system_mail_template" IS '邮件模版表';
  4020. -- ----------------------------
  4021. -- Table structure for system_notify_message
  4022. -- ----------------------------
  4023. DROP TABLE IF EXISTS "system_notify_message";
  4024. CREATE TABLE "system_notify_message" (
  4025. "id" int8 NOT NULL,
  4026. "user_id" int8 NOT NULL,
  4027. "user_type" int2 NOT NULL,
  4028. "template_id" int8 NOT NULL,
  4029. "template_code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  4030. "template_nickname" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  4031. "template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  4032. "template_type" int4 NOT NULL,
  4033. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4034. "read_status" bool NOT NULL DEFAULT false,
  4035. "read_time" timestamp(6),
  4036. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4037. "create_time" timestamp(6) NOT NULL,
  4038. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4039. "update_time" timestamp(6) NOT NULL,
  4040. "deleted" int2 NOT NULL DEFAULT 0,
  4041. "tenant_id" int8 NOT NULL
  4042. )
  4043. ;
  4044. COMMENT ON COLUMN "system_notify_message"."id" IS '用户ID';
  4045. COMMENT ON COLUMN "system_notify_message"."user_id" IS '用户id';
  4046. COMMENT ON COLUMN "system_notify_message"."user_type" IS '用户类型';
  4047. COMMENT ON COLUMN "system_notify_message"."template_id" IS '模版编号';
  4048. COMMENT ON COLUMN "system_notify_message"."template_code" IS '模板编码';
  4049. COMMENT ON COLUMN "system_notify_message"."template_nickname" IS '模版发送人名称';
  4050. COMMENT ON COLUMN "system_notify_message"."template_content" IS '模版内容';
  4051. COMMENT ON COLUMN "system_notify_message"."template_type" IS '模版类型';
  4052. COMMENT ON COLUMN "system_notify_message"."template_params" IS '模版参数';
  4053. COMMENT ON COLUMN "system_notify_message"."read_status" IS '是否已读';
  4054. COMMENT ON COLUMN "system_notify_message"."read_time" IS '阅读时间';
  4055. COMMENT ON COLUMN "system_notify_message"."creator" IS '创建者';
  4056. COMMENT ON COLUMN "system_notify_message"."create_time" IS '创建时间';
  4057. COMMENT ON COLUMN "system_notify_message"."updater" IS '更新者';
  4058. COMMENT ON COLUMN "system_notify_message"."update_time" IS '更新时间';
  4059. COMMENT ON COLUMN "system_notify_message"."deleted" IS '是否删除';
  4060. COMMENT ON COLUMN "system_notify_message"."tenant_id" IS '租户编号';
  4061. COMMENT ON TABLE "system_notify_message" IS '站内信消息表';
  4062. -- ----------------------------
  4063. -- Table structure for system_notify_template
  4064. -- ----------------------------
  4065. DROP TABLE IF EXISTS "system_notify_template";
  4066. CREATE TABLE "system_notify_template" (
  4067. "id" int8 NOT NULL,
  4068. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  4069. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  4070. "nickname" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4071. "content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  4072. "type" int2 NOT NULL,
  4073. "params" varchar(255) COLLATE "pg_catalog"."default",
  4074. "status" int2 NOT NULL,
  4075. "remark" varchar(255) COLLATE "pg_catalog"."default",
  4076. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4077. "create_time" timestamp(6) NOT NULL,
  4078. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4079. "update_time" timestamp(6) NOT NULL,
  4080. "deleted" int2 NOT NULL DEFAULT 0
  4081. )
  4082. ;
  4083. COMMENT ON COLUMN "system_notify_template"."id" IS '主键';
  4084. COMMENT ON COLUMN "system_notify_template"."name" IS '模板名称';
  4085. COMMENT ON COLUMN "system_notify_template"."code" IS '模版编码';
  4086. COMMENT ON COLUMN "system_notify_template"."nickname" IS '发送人名称';
  4087. COMMENT ON COLUMN "system_notify_template"."content" IS '模版内容';
  4088. COMMENT ON COLUMN "system_notify_template"."type" IS '类型';
  4089. COMMENT ON COLUMN "system_notify_template"."params" IS '参数数组';
  4090. COMMENT ON COLUMN "system_notify_template"."status" IS '状态';
  4091. COMMENT ON COLUMN "system_notify_template"."remark" IS '备注';
  4092. COMMENT ON COLUMN "system_notify_template"."creator" IS '创建者';
  4093. COMMENT ON COLUMN "system_notify_template"."create_time" IS '创建时间';
  4094. COMMENT ON COLUMN "system_notify_template"."updater" IS '更新者';
  4095. COMMENT ON COLUMN "system_notify_template"."update_time" IS '更新时间';
  4096. COMMENT ON COLUMN "system_notify_template"."deleted" IS '是否删除';
  4097. COMMENT ON TABLE "system_notify_template" IS '站内信模板表';
  4098. -- ----------------------------
  4099. -- Table structure for system_user_session
  4100. -- ----------------------------
  4101. DROP TABLE IF EXISTS "system_user_session";
  4102. CREATE TABLE "system_user_session" (
  4103. "id" int8 NOT NULL,
  4104. "token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  4105. "user_id" int8 NOT NULL,
  4106. "user_type" int2 NOT NULL,
  4107. "session_timeout" timestamp(6) NOT NULL,
  4108. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  4109. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  4110. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  4111. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4112. "create_time" timestamp(6) NOT NULL,
  4113. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4114. "update_time" timestamp(6) NOT NULL,
  4115. "deleted" int2 NOT NULL DEFAULT 0,
  4116. "tenant_id" int8 NOT NULL
  4117. )
  4118. ;
  4119. COMMENT ON COLUMN "system_user_session"."id" IS '编号';
  4120. COMMENT ON COLUMN "system_user_session"."token" IS '会话编号';
  4121. COMMENT ON COLUMN "system_user_session"."user_id" IS '用户编号';
  4122. COMMENT ON COLUMN "system_user_session"."user_type" IS '用户类型';
  4123. COMMENT ON COLUMN "system_user_session"."session_timeout" IS '会话超时时间';
  4124. COMMENT ON COLUMN "system_user_session"."username" IS '用户账号';
  4125. COMMENT ON COLUMN "system_user_session"."user_ip" IS '用户 IP';
  4126. COMMENT ON COLUMN "system_user_session"."user_agent" IS '浏览器 UA';
  4127. COMMENT ON COLUMN "system_user_session"."creator" IS '创建者';
  4128. COMMENT ON COLUMN "system_user_session"."create_time" IS '创建时间';
  4129. COMMENT ON COLUMN "system_user_session"."updater" IS '更新者';
  4130. COMMENT ON COLUMN "system_user_session"."update_time" IS '更新时间';
  4131. COMMENT ON COLUMN "system_user_session"."deleted" IS '是否删除';
  4132. COMMENT ON COLUMN "system_user_session"."tenant_id" IS '租户编号';
  4133. COMMENT ON TABLE "system_user_session" IS '用户在线 Session';
  4134. -- ----------------------------
  4135. -- Alter sequences owned by
  4136. -- ----------------------------
  4137. -- ----------------------------
  4138. -- Alter sequences owned by
  4139. -- ----------------------------
  4140. SELECT setval('"bpm_oa_leave_seq"', 1, true);
  4141. -- ----------------------------
  4142. -- Alter sequences owned by
  4143. -- ----------------------------
  4144. -- ----------------------------
  4145. -- Alter sequences owned by
  4146. -- ----------------------------
  4147. -- ----------------------------
  4148. -- Alter sequences owned by
  4149. -- ----------------------------
  4150. SELECT setval('"bpm_task_assign_rule_seq"', 1, true);
  4151. -- ----------------------------
  4152. -- Alter sequences owned by
  4153. -- ----------------------------
  4154. -- ----------------------------
  4155. -- Alter sequences owned by
  4156. -- ----------------------------
  4157. -- ----------------------------
  4158. -- Alter sequences owned by
  4159. -- ----------------------------
  4160. SELECT setval('"infra_api_access_log_seq"', 537, true);
  4161. -- ----------------------------
  4162. -- Alter sequences owned by
  4163. -- ----------------------------
  4164. SELECT setval('"infra_api_error_log_seq"', 73, true);
  4165. -- ----------------------------
  4166. -- Alter sequences owned by
  4167. -- ----------------------------
  4168. -- ----------------------------
  4169. -- Alter sequences owned by
  4170. -- ----------------------------
  4171. -- ----------------------------
  4172. -- Alter sequences owned by
  4173. -- ----------------------------
  4174. -- ----------------------------
  4175. -- Alter sequences owned by
  4176. -- ----------------------------
  4177. -- ----------------------------
  4178. -- Alter sequences owned by
  4179. -- ----------------------------
  4180. -- ----------------------------
  4181. -- Alter sequences owned by
  4182. -- ----------------------------
  4183. -- ----------------------------
  4184. -- Alter sequences owned by
  4185. -- ----------------------------
  4186. -- ----------------------------
  4187. -- Alter sequences owned by
  4188. -- ----------------------------
  4189. SELECT setval('"infra_job_log_seq"', 1, true);
  4190. -- ----------------------------
  4191. -- Alter sequences owned by
  4192. -- ----------------------------
  4193. SELECT setval('"infra_job_seq"', 2, true);
  4194. -- ----------------------------
  4195. -- Alter sequences owned by
  4196. -- ----------------------------
  4197. -- ----------------------------
  4198. -- Alter sequences owned by
  4199. -- ----------------------------
  4200. -- ----------------------------
  4201. -- Alter sequences owned by
  4202. -- ----------------------------
  4203. -- ----------------------------
  4204. -- Alter sequences owned by
  4205. -- ----------------------------
  4206. -- ----------------------------
  4207. -- Alter sequences owned by
  4208. -- ----------------------------
  4209. -- ----------------------------
  4210. -- Alter sequences owned by
  4211. -- ----------------------------
  4212. -- ----------------------------
  4213. -- Alter sequences owned by
  4214. -- ----------------------------
  4215. -- ----------------------------
  4216. -- Alter sequences owned by
  4217. -- ----------------------------
  4218. -- ----------------------------
  4219. -- Alter sequences owned by
  4220. -- ----------------------------
  4221. -- ----------------------------
  4222. -- Alter sequences owned by
  4223. -- ----------------------------
  4224. -- ----------------------------
  4225. -- Alter sequences owned by
  4226. -- ----------------------------
  4227. -- ----------------------------
  4228. -- Alter sequences owned by
  4229. -- ----------------------------
  4230. -- ----------------------------
  4231. -- Alter sequences owned by
  4232. -- ----------------------------
  4233. -- ----------------------------
  4234. -- Alter sequences owned by
  4235. -- ----------------------------
  4236. SELECT setval('"system_error_code_seq"', 186, true);
  4237. -- ----------------------------
  4238. -- Alter sequences owned by
  4239. -- ----------------------------
  4240. SELECT setval('"system_login_log_seq"', 23, true);
  4241. -- ----------------------------
  4242. -- Alter sequences owned by
  4243. -- ----------------------------
  4244. -- ----------------------------
  4245. -- Alter sequences owned by
  4246. -- ----------------------------
  4247. -- ----------------------------
  4248. -- Alter sequences owned by
  4249. -- ----------------------------
  4250. SELECT setval('"system_oauth2_access_token_seq"', 11, true);
  4251. -- ----------------------------
  4252. -- Alter sequences owned by
  4253. -- ----------------------------
  4254. SELECT setval('"system_oauth2_approve_seq"', 4, true);
  4255. -- ----------------------------
  4256. -- Alter sequences owned by
  4257. -- ----------------------------
  4258. SELECT setval('"system_oauth2_client_seq"', 1, false);
  4259. -- ----------------------------
  4260. -- Alter sequences owned by
  4261. -- ----------------------------
  4262. SELECT setval('"system_oauth2_code_seq"', 4, true);
  4263. -- ----------------------------
  4264. -- Alter sequences owned by
  4265. -- ----------------------------
  4266. SELECT setval('"system_oauth2_refresh_token_seq"', 1, true);
  4267. -- ----------------------------
  4268. -- Alter sequences owned by
  4269. -- ----------------------------
  4270. SELECT setval('"system_operate_log_seq"', 44, true);
  4271. -- ----------------------------
  4272. -- Alter sequences owned by
  4273. -- ----------------------------
  4274. -- ----------------------------
  4275. -- Alter sequences owned by
  4276. -- ----------------------------
  4277. -- ----------------------------
  4278. -- Alter sequences owned by
  4279. -- ----------------------------
  4280. -- ----------------------------
  4281. -- Alter sequences owned by
  4282. -- ----------------------------
  4283. -- ----------------------------
  4284. -- Alter sequences owned by
  4285. -- ----------------------------
  4286. -- ----------------------------
  4287. -- Alter sequences owned by
  4288. -- ----------------------------
  4289. -- ----------------------------
  4290. -- Alter sequences owned by
  4291. -- ----------------------------
  4292. SELECT setval('"system_sms_log_seq"', 1, true);
  4293. -- ----------------------------
  4294. -- Alter sequences owned by
  4295. -- ----------------------------
  4296. -- ----------------------------
  4297. -- Alter sequences owned by
  4298. -- ----------------------------
  4299. -- ----------------------------
  4300. -- Alter sequences owned by
  4301. -- ----------------------------
  4302. -- ----------------------------
  4303. -- Alter sequences owned by
  4304. -- ----------------------------
  4305. -- ----------------------------
  4306. -- Alter sequences owned by
  4307. -- ----------------------------
  4308. -- ----------------------------
  4309. -- Alter sequences owned by
  4310. -- ----------------------------
  4311. -- ----------------------------
  4312. -- Alter sequences owned by
  4313. -- ----------------------------
  4314. -- ----------------------------
  4315. -- Alter sequences owned by
  4316. -- ----------------------------
  4317. -- ----------------------------
  4318. -- Primary Key structure for table bpm_form
  4319. -- ----------------------------
  4320. ALTER TABLE "bpm_form" ADD CONSTRAINT "bpm_form_pkey" PRIMARY KEY ("id");
  4321. -- ----------------------------
  4322. -- Primary Key structure for table bpm_oa_leave
  4323. -- ----------------------------
  4324. ALTER TABLE "bpm_oa_leave" ADD CONSTRAINT "bpm_oa_leave_pkey" PRIMARY KEY ("id");
  4325. -- ----------------------------
  4326. -- Primary Key structure for table bpm_process_definition_ext
  4327. -- ----------------------------
  4328. ALTER TABLE "bpm_process_definition_ext" ADD CONSTRAINT "bpm_process_definition_ext_pkey" PRIMARY KEY ("id");
  4329. -- ----------------------------
  4330. -- Primary Key structure for table bpm_process_instance_ext
  4331. -- ----------------------------
  4332. ALTER TABLE "bpm_process_instance_ext" ADD CONSTRAINT "bpm_process_instance_ext_pkey" PRIMARY KEY ("id");
  4333. -- ----------------------------
  4334. -- Primary Key structure for table bpm_task_assign_rule
  4335. -- ----------------------------
  4336. ALTER TABLE "bpm_task_assign_rule" ADD CONSTRAINT "bpm_task_assign_rule_pkey" PRIMARY KEY ("id");
  4337. -- ----------------------------
  4338. -- Primary Key structure for table bpm_task_ext
  4339. -- ----------------------------
  4340. ALTER TABLE "bpm_task_ext" ADD CONSTRAINT "bpm_task_ext_pkey" PRIMARY KEY ("id");
  4341. -- ----------------------------
  4342. -- Primary Key structure for table bpm_user_group
  4343. -- ----------------------------
  4344. ALTER TABLE "bpm_user_group" ADD CONSTRAINT "bpm_user_group_pkey" PRIMARY KEY ("id");
  4345. -- ----------------------------
  4346. -- Primary Key structure for table infra_api_access_log
  4347. -- ----------------------------
  4348. ALTER TABLE "infra_api_access_log" ADD CONSTRAINT "infra_api_access_log_pkey" PRIMARY KEY ("id");
  4349. -- ----------------------------
  4350. -- Primary Key structure for table infra_api_error_log
  4351. -- ----------------------------
  4352. ALTER TABLE "infra_api_error_log" ADD CONSTRAINT "infra_api_error_log_pkey" PRIMARY KEY ("id");
  4353. -- ----------------------------
  4354. -- Primary Key structure for table infra_codegen_column
  4355. -- ----------------------------
  4356. ALTER TABLE "infra_codegen_column" ADD CONSTRAINT "infra_codegen_column_pkey" PRIMARY KEY ("id");
  4357. -- ----------------------------
  4358. -- Primary Key structure for table infra_codegen_table
  4359. -- ----------------------------
  4360. ALTER TABLE "infra_codegen_table" ADD CONSTRAINT "infra_codegen_table_pkey" PRIMARY KEY ("id");
  4361. -- ----------------------------
  4362. -- Primary Key structure for table infra_config
  4363. -- ----------------------------
  4364. ALTER TABLE "infra_config" ADD CONSTRAINT "infra_config_pkey" PRIMARY KEY ("id");
  4365. -- ----------------------------
  4366. -- Primary Key structure for table infra_data_source_config
  4367. -- ----------------------------
  4368. ALTER TABLE "infra_data_source_config" ADD CONSTRAINT "infra_data_source_config_pkey" PRIMARY KEY ("id");
  4369. -- ----------------------------
  4370. -- Primary Key structure for table infra_file
  4371. -- ----------------------------
  4372. ALTER TABLE "infra_file" ADD CONSTRAINT "infra_file_pkey" PRIMARY KEY ("id");
  4373. -- ----------------------------
  4374. -- Primary Key structure for table infra_file_config
  4375. -- ----------------------------
  4376. ALTER TABLE "infra_file_config" ADD CONSTRAINT "infra_file_config_pkey" PRIMARY KEY ("id");
  4377. -- ----------------------------
  4378. -- Primary Key structure for table infra_file_content
  4379. -- ----------------------------
  4380. ALTER TABLE "infra_file_content" ADD CONSTRAINT "infra_file_content_pkey" PRIMARY KEY ("id");
  4381. -- ----------------------------
  4382. -- Primary Key structure for table infra_job
  4383. -- ----------------------------
  4384. ALTER TABLE "infra_job" ADD CONSTRAINT "infra_job_pkey" PRIMARY KEY ("id");
  4385. -- ----------------------------
  4386. -- Primary Key structure for table infra_job_log
  4387. -- ----------------------------
  4388. ALTER TABLE "infra_job_log" ADD CONSTRAINT "infra_job_log_pkey" PRIMARY KEY ("id");
  4389. -- ----------------------------
  4390. -- Primary Key structure for table infra_test_demo
  4391. -- ----------------------------
  4392. ALTER TABLE "infra_test_demo" ADD CONSTRAINT "infra_test_demo_pkey" PRIMARY KEY ("id");
  4393. -- ----------------------------
  4394. -- Indexes structure for table member_user
  4395. -- ----------------------------
  4396. CREATE UNIQUE INDEX "uk_mobile" ON "member_user" USING btree (
  4397. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4398. );
  4399. COMMENT ON INDEX "uk_mobile" IS '手机号';
  4400. -- ----------------------------
  4401. -- Primary Key structure for table member_user
  4402. -- ----------------------------
  4403. ALTER TABLE "member_user" ADD CONSTRAINT "member_user_pkey" PRIMARY KEY ("id");
  4404. -- ----------------------------
  4405. -- Primary Key structure for table pay_app
  4406. -- ----------------------------
  4407. ALTER TABLE "pay_app" ADD CONSTRAINT "pay_app_pkey" PRIMARY KEY ("id");
  4408. -- ----------------------------
  4409. -- Primary Key structure for table pay_channel
  4410. -- ----------------------------
  4411. ALTER TABLE "pay_channel" ADD CONSTRAINT "pay_channel_pkey" PRIMARY KEY ("id");
  4412. -- ----------------------------
  4413. -- Primary Key structure for table pay_merchant
  4414. -- ----------------------------
  4415. ALTER TABLE "pay_merchant" ADD CONSTRAINT "pay_merchant_pkey" PRIMARY KEY ("id");
  4416. -- ----------------------------
  4417. -- Primary Key structure for table pay_notify_log
  4418. -- ----------------------------
  4419. ALTER TABLE "pay_notify_log" ADD CONSTRAINT "pay_notify_log_pkey" PRIMARY KEY ("id");
  4420. -- ----------------------------
  4421. -- Primary Key structure for table pay_notify_task
  4422. -- ----------------------------
  4423. ALTER TABLE "pay_notify_task" ADD CONSTRAINT "pay_notify_task_pkey" PRIMARY KEY ("id");
  4424. -- ----------------------------
  4425. -- Primary Key structure for table pay_order
  4426. -- ----------------------------
  4427. ALTER TABLE "pay_order" ADD CONSTRAINT "pay_order_pkey" PRIMARY KEY ("id");
  4428. -- ----------------------------
  4429. -- Primary Key structure for table pay_order_extension
  4430. -- ----------------------------
  4431. ALTER TABLE "pay_order_extension" ADD CONSTRAINT "pay_order_extension_pkey" PRIMARY KEY ("id");
  4432. -- ----------------------------
  4433. -- Primary Key structure for table pay_refund
  4434. -- ----------------------------
  4435. ALTER TABLE "pay_refund" ADD CONSTRAINT "pay_refund_pkey" PRIMARY KEY ("id");
  4436. -- ----------------------------
  4437. -- Primary Key structure for table qrtz_blob_triggers
  4438. -- ----------------------------
  4439. ALTER TABLE "qrtz_blob_triggers" ADD CONSTRAINT "qrtz_blob_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  4440. -- ----------------------------
  4441. -- Primary Key structure for table qrtz_calendars
  4442. -- ----------------------------
  4443. ALTER TABLE "qrtz_calendars" ADD CONSTRAINT "qrtz_calendars_pkey" PRIMARY KEY ("sched_name", "calendar_name");
  4444. -- ----------------------------
  4445. -- Primary Key structure for table qrtz_cron_triggers
  4446. -- ----------------------------
  4447. ALTER TABLE "qrtz_cron_triggers" ADD CONSTRAINT "qrtz_cron_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  4448. -- ----------------------------
  4449. -- Indexes structure for table qrtz_fired_triggers
  4450. -- ----------------------------
  4451. CREATE INDEX "idx_qrtz_ft_inst_job_req_rcvry" ON "qrtz_fired_triggers" USING btree (
  4452. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4453. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4454. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  4455. );
  4456. CREATE INDEX "idx_qrtz_ft_j_g" ON "qrtz_fired_triggers" USING btree (
  4457. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4458. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4459. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4460. );
  4461. CREATE INDEX "idx_qrtz_ft_jg" ON "qrtz_fired_triggers" USING btree (
  4462. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4463. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4464. );
  4465. CREATE INDEX "idx_qrtz_ft_t_g" ON "qrtz_fired_triggers" USING btree (
  4466. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4467. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4468. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4469. );
  4470. CREATE INDEX "idx_qrtz_ft_tg" ON "qrtz_fired_triggers" USING btree (
  4471. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4472. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4473. );
  4474. CREATE INDEX "idx_qrtz_ft_trig_inst_name" ON "qrtz_fired_triggers" USING btree (
  4475. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4476. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4477. );
  4478. -- ----------------------------
  4479. -- Primary Key structure for table qrtz_fired_triggers
  4480. -- ----------------------------
  4481. ALTER TABLE "qrtz_fired_triggers" ADD CONSTRAINT "qrtz_fired_triggers_pkey" PRIMARY KEY ("sched_name", "entry_id");
  4482. -- ----------------------------
  4483. -- Indexes structure for table qrtz_job_details
  4484. -- ----------------------------
  4485. CREATE INDEX "idx_qrtz_j_grp" ON "qrtz_job_details" USING btree (
  4486. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4487. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4488. );
  4489. CREATE INDEX "idx_qrtz_j_req_recovery" ON "qrtz_job_details" USING btree (
  4490. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4491. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  4492. );
  4493. -- ----------------------------
  4494. -- Primary Key structure for table qrtz_job_details
  4495. -- ----------------------------
  4496. ALTER TABLE "qrtz_job_details" ADD CONSTRAINT "qrtz_job_details_pkey" PRIMARY KEY ("sched_name", "job_name", "job_group");
  4497. -- ----------------------------
  4498. -- Primary Key structure for table qrtz_locks
  4499. -- ----------------------------
  4500. ALTER TABLE "qrtz_locks" ADD CONSTRAINT "qrtz_locks_pkey" PRIMARY KEY ("sched_name", "lock_name");
  4501. -- ----------------------------
  4502. -- Primary Key structure for table qrtz_paused_trigger_grps
  4503. -- ----------------------------
  4504. ALTER TABLE "qrtz_paused_trigger_grps" ADD CONSTRAINT "qrtz_paused_trigger_grps_pkey" PRIMARY KEY ("sched_name", "trigger_group");
  4505. -- ----------------------------
  4506. -- Primary Key structure for table qrtz_scheduler_state
  4507. -- ----------------------------
  4508. ALTER TABLE "qrtz_scheduler_state" ADD CONSTRAINT "qrtz_scheduler_state_pkey" PRIMARY KEY ("sched_name", "instance_name");
  4509. -- ----------------------------
  4510. -- Primary Key structure for table qrtz_simple_triggers
  4511. -- ----------------------------
  4512. ALTER TABLE "qrtz_simple_triggers" ADD CONSTRAINT "qrtz_simple_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  4513. -- ----------------------------
  4514. -- Primary Key structure for table qrtz_simprop_triggers
  4515. -- ----------------------------
  4516. ALTER TABLE "qrtz_simprop_triggers" ADD CONSTRAINT "qrtz_simprop_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  4517. -- ----------------------------
  4518. -- Indexes structure for table qrtz_triggers
  4519. -- ----------------------------
  4520. CREATE INDEX "idx_qrtz_t_c" ON "qrtz_triggers" USING btree (
  4521. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4522. "calendar_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4523. );
  4524. CREATE INDEX "idx_qrtz_t_g" ON "qrtz_triggers" USING btree (
  4525. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4526. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4527. );
  4528. CREATE INDEX "idx_qrtz_t_j" ON "qrtz_triggers" USING btree (
  4529. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4530. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4531. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4532. );
  4533. CREATE INDEX "idx_qrtz_t_jg" ON "qrtz_triggers" USING btree (
  4534. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4535. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4536. );
  4537. CREATE INDEX "idx_qrtz_t_n_g_state" ON "qrtz_triggers" USING btree (
  4538. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4539. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4540. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4541. );
  4542. CREATE INDEX "idx_qrtz_t_n_state" ON "qrtz_triggers" USING btree (
  4543. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4544. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4545. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4546. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4547. );
  4548. CREATE INDEX "idx_qrtz_t_next_fire_time" ON "qrtz_triggers" USING btree (
  4549. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4550. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  4551. );
  4552. CREATE INDEX "idx_qrtz_t_nft_misfire" ON "qrtz_triggers" USING btree (
  4553. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4554. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  4555. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  4556. );
  4557. CREATE INDEX "idx_qrtz_t_nft_st" ON "qrtz_triggers" USING btree (
  4558. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4559. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4560. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  4561. );
  4562. CREATE INDEX "idx_qrtz_t_nft_st_misfire" ON "qrtz_triggers" USING btree (
  4563. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4564. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  4565. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  4566. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4567. );
  4568. CREATE INDEX "idx_qrtz_t_nft_st_misfire_grp" ON "qrtz_triggers" USING btree (
  4569. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4570. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  4571. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  4572. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4573. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4574. );
  4575. CREATE INDEX "idx_qrtz_t_state" ON "qrtz_triggers" USING btree (
  4576. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4577. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4578. );
  4579. -- ----------------------------
  4580. -- Primary Key structure for table qrtz_triggers
  4581. -- ----------------------------
  4582. ALTER TABLE "qrtz_triggers" ADD CONSTRAINT "qrtz_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  4583. -- ----------------------------
  4584. -- Primary Key structure for table system_dept
  4585. -- ----------------------------
  4586. ALTER TABLE "system_dept" ADD CONSTRAINT "system_dept_pkey" PRIMARY KEY ("id");
  4587. -- ----------------------------
  4588. -- Primary Key structure for table system_dict_data
  4589. -- ----------------------------
  4590. ALTER TABLE "system_dict_data" ADD CONSTRAINT "system_dict_data_pkey" PRIMARY KEY ("id");
  4591. -- ----------------------------
  4592. -- Indexes structure for table system_dict_type
  4593. -- ----------------------------
  4594. CREATE UNIQUE INDEX "dict_type" ON "system_dict_type" USING btree (
  4595. "type" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4596. );
  4597. -- ----------------------------
  4598. -- Primary Key structure for table system_dict_type
  4599. -- ----------------------------
  4600. ALTER TABLE "system_dict_type" ADD CONSTRAINT "system_dict_type_pkey" PRIMARY KEY ("id");
  4601. -- ----------------------------
  4602. -- Primary Key structure for table system_error_code
  4603. -- ----------------------------
  4604. ALTER TABLE "system_error_code" ADD CONSTRAINT "system_error_code_pkey" PRIMARY KEY ("id");
  4605. -- ----------------------------
  4606. -- Primary Key structure for table system_login_log
  4607. -- ----------------------------
  4608. ALTER TABLE "system_login_log" ADD CONSTRAINT "system_login_log_pkey" PRIMARY KEY ("id");
  4609. -- ----------------------------
  4610. -- Primary Key structure for table system_menu
  4611. -- ----------------------------
  4612. ALTER TABLE "system_menu" ADD CONSTRAINT "system_menu_pkey" PRIMARY KEY ("id");
  4613. -- ----------------------------
  4614. -- Primary Key structure for table system_notice
  4615. -- ----------------------------
  4616. ALTER TABLE "system_notice" ADD CONSTRAINT "system_notice_pkey" PRIMARY KEY ("id");
  4617. -- ----------------------------
  4618. -- Primary Key structure for table system_oauth2_access_token
  4619. -- ----------------------------
  4620. ALTER TABLE "system_oauth2_access_token" ADD CONSTRAINT "system_oauth2_access_token_pkey" PRIMARY KEY ("id");
  4621. -- ----------------------------
  4622. -- Primary Key structure for table system_oauth2_approve
  4623. -- ----------------------------
  4624. ALTER TABLE "system_oauth2_approve" ADD CONSTRAINT "system_oauth2_approve_pkey" PRIMARY KEY ("id");
  4625. -- ----------------------------
  4626. -- Primary Key structure for table system_oauth2_client
  4627. -- ----------------------------
  4628. ALTER TABLE "system_oauth2_client" ADD CONSTRAINT "system_oauth2_client_pkey" PRIMARY KEY ("id");
  4629. -- ----------------------------
  4630. -- Primary Key structure for table system_oauth2_code
  4631. -- ----------------------------
  4632. ALTER TABLE "system_oauth2_code" ADD CONSTRAINT "system_oauth2_code_pkey" PRIMARY KEY ("id");
  4633. -- ----------------------------
  4634. -- Primary Key structure for table system_oauth2_refresh_token
  4635. -- ----------------------------
  4636. ALTER TABLE "system_oauth2_refresh_token" ADD CONSTRAINT "system_oauth2_refresh_token_pkey" PRIMARY KEY ("id");
  4637. -- ----------------------------
  4638. -- Primary Key structure for table system_operate_log
  4639. -- ----------------------------
  4640. ALTER TABLE "system_operate_log" ADD CONSTRAINT "system_operate_log_pkey" PRIMARY KEY ("id");
  4641. -- ----------------------------
  4642. -- Primary Key structure for table system_post
  4643. -- ----------------------------
  4644. ALTER TABLE "system_post" ADD CONSTRAINT "system_post_pkey" PRIMARY KEY ("id");
  4645. -- ----------------------------
  4646. -- Primary Key structure for table system_role
  4647. -- ----------------------------
  4648. ALTER TABLE "system_role" ADD CONSTRAINT "system_role_pkey" PRIMARY KEY ("id");
  4649. -- ----------------------------
  4650. -- Primary Key structure for table system_role_menu
  4651. -- ----------------------------
  4652. ALTER TABLE "system_role_menu" ADD CONSTRAINT "system_role_menu_pkey" PRIMARY KEY ("id");
  4653. -- ----------------------------
  4654. -- Primary Key structure for table system_sensitive_word
  4655. -- ----------------------------
  4656. ALTER TABLE "system_sensitive_word" ADD CONSTRAINT "system_sensitive_word_pkey" PRIMARY KEY ("id");
  4657. -- ----------------------------
  4658. -- Primary Key structure for table system_sms_channel
  4659. -- ----------------------------
  4660. ALTER TABLE "system_sms_channel" ADD CONSTRAINT "system_sms_channel_pkey" PRIMARY KEY ("id");
  4661. -- ----------------------------
  4662. -- Indexes structure for table system_sms_code
  4663. -- ----------------------------
  4664. CREATE INDEX "idx_mobile" ON "system_sms_code" USING btree (
  4665. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  4666. );
  4667. COMMENT ON INDEX "idx_mobile" IS '手机号';
  4668. -- ----------------------------
  4669. -- Primary Key structure for table system_sms_code
  4670. -- ----------------------------
  4671. ALTER TABLE "system_sms_code" ADD CONSTRAINT "system_sms_code_pkey" PRIMARY KEY ("id");
  4672. -- ----------------------------
  4673. -- Primary Key structure for table system_sms_log
  4674. -- ----------------------------
  4675. ALTER TABLE "system_sms_log" ADD CONSTRAINT "system_sms_log_pkey" PRIMARY KEY ("id");
  4676. -- ----------------------------
  4677. -- Primary Key structure for table system_sms_template
  4678. -- ----------------------------
  4679. ALTER TABLE "system_sms_template" ADD CONSTRAINT "system_sms_template_pkey" PRIMARY KEY ("id");
  4680. -- ----------------------------
  4681. -- Primary Key structure for table system_social_user
  4682. -- ----------------------------
  4683. ALTER TABLE "system_social_user" ADD CONSTRAINT "system_social_user_pkey" PRIMARY KEY ("id");
  4684. -- ----------------------------
  4685. -- Primary Key structure for table system_social_user_bind
  4686. -- ----------------------------
  4687. ALTER TABLE "system_social_user_bind" ADD CONSTRAINT "system_social_user_bind_pkey" PRIMARY KEY ("id");
  4688. -- ----------------------------
  4689. -- Primary Key structure for table system_tenant
  4690. -- ----------------------------
  4691. ALTER TABLE "system_tenant" ADD CONSTRAINT "system_tenant_pkey" PRIMARY KEY ("id");
  4692. -- ----------------------------
  4693. -- Primary Key structure for table system_tenant_package
  4694. -- ----------------------------
  4695. ALTER TABLE "system_tenant_package" ADD CONSTRAINT "system_tenant_package_pkey" PRIMARY KEY ("id");
  4696. -- ----------------------------
  4697. -- Primary Key structure for table system_user_post
  4698. -- ----------------------------
  4699. ALTER TABLE "system_user_post" ADD CONSTRAINT "system_user_post_pkey" PRIMARY KEY ("id");
  4700. -- ----------------------------
  4701. -- Primary Key structure for table system_user_role
  4702. -- ----------------------------
  4703. ALTER TABLE "system_user_role" ADD CONSTRAINT "system_user_role_pkey" PRIMARY KEY ("id");
  4704. -- ----------------------------
  4705. -- Indexes structure for table system_users
  4706. -- ----------------------------
  4707. CREATE UNIQUE INDEX "idx_username" ON "system_users" USING btree (
  4708. "username" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  4709. "update_time" "pg_catalog"."timestamp_ops" ASC NULLS LAST,
  4710. "tenant_id" "pg_catalog"."int8_ops" ASC NULLS LAST
  4711. );
  4712. -- ----------------------------
  4713. -- Primary Key structure for table system_users
  4714. -- ----------------------------
  4715. ALTER TABLE "system_users" ADD CONSTRAINT "system_user_pkey" PRIMARY KEY ("id");
  4716. -- ----------------------------
  4717. -- Foreign Keys structure for table qrtz_blob_triggers
  4718. -- ----------------------------
  4719. ALTER TABLE "qrtz_blob_triggers" ADD CONSTRAINT "qrtz_blob_triggers_sched_name_trigger_name_trigger_group_fkey" FOREIGN KEY ("sched_name", "trigger_name", "trigger_group") REFERENCES "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group") ON DELETE NO ACTION ON UPDATE NO ACTION;
  4720. -- ----------------------------
  4721. -- Foreign Keys structure for table qrtz_cron_triggers
  4722. -- ----------------------------
  4723. ALTER TABLE "qrtz_cron_triggers" ADD CONSTRAINT "qrtz_cron_triggers_sched_name_trigger_name_trigger_group_fkey" FOREIGN KEY ("sched_name", "trigger_name", "trigger_group") REFERENCES "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group") ON DELETE NO ACTION ON UPDATE NO ACTION;
  4724. -- ----------------------------
  4725. -- Foreign Keys structure for table qrtz_simple_triggers
  4726. -- ----------------------------
  4727. ALTER TABLE "qrtz_simple_triggers" ADD CONSTRAINT "qrtz_simple_triggers_sched_name_trigger_name_trigger_group_fkey" FOREIGN KEY ("sched_name", "trigger_name", "trigger_group") REFERENCES "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group") ON DELETE NO ACTION ON UPDATE NO ACTION;
  4728. -- ----------------------------
  4729. -- Foreign Keys structure for table qrtz_simprop_triggers
  4730. -- ----------------------------
  4731. ALTER TABLE "qrtz_simprop_triggers" ADD CONSTRAINT "qrtz_simprop_triggers_sched_name_trigger_name_trigger_grou_fkey" FOREIGN KEY ("sched_name", "trigger_name", "trigger_group") REFERENCES "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group") ON DELETE NO ACTION ON UPDATE NO ACTION;
  4732. -- ----------------------------
  4733. -- Foreign Keys structure for table qrtz_triggers
  4734. -- ----------------------------
  4735. ALTER TABLE "qrtz_triggers" ADD CONSTRAINT "qrtz_triggers_sched_name_job_name_job_group_fkey" FOREIGN KEY ("sched_name", "job_name", "job_group") REFERENCES "qrtz_job_details" ("sched_name", "job_name", "job_group") ON DELETE NO ACTION ON UPDATE NO ACTION;