ruoyi-vue-pro.sql 463 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355
  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. (
  526. "id" int8 NOT NULL,
  527. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  528. "status" int2 NOT NULL,
  529. "conf" varchar(1000) COLLATE "pg_catalog"."default" NOT NULL,
  530. "fields" varchar(5000) COLLATE "pg_catalog"."default" NOT NULL,
  531. "remark" varchar(255) COLLATE "pg_catalog"."default",
  532. "creator" varchar(64) COLLATE "pg_catalog"."default",
  533. "create_time" timestamp(6) NOT NULL,
  534. "updater" varchar(64) COLLATE "pg_catalog"."default",
  535. "update_time" timestamp(6) NOT NULL,
  536. "deleted" int2 NOT NULL DEFAULT 0,
  537. "tenant_id" int8 NOT NULL DEFAULT 0
  538. )
  539. ;
  540. COMMENT
  541. ON COLUMN "bpm_form"."id" IS '编号';
  542. COMMENT
  543. ON COLUMN "bpm_form"."name" IS '表单名';
  544. COMMENT
  545. ON COLUMN "bpm_form"."status" IS '开启状态';
  546. COMMENT
  547. ON COLUMN "bpm_form"."conf" IS '表单的配置';
  548. COMMENT
  549. ON COLUMN "bpm_form"."fields" IS '表单项的数组';
  550. COMMENT
  551. ON COLUMN "bpm_form"."remark" IS '备注';
  552. COMMENT
  553. ON COLUMN "bpm_form"."creator" IS '创建者';
  554. COMMENT
  555. ON COLUMN "bpm_form"."create_time" IS '创建时间';
  556. COMMENT
  557. ON COLUMN "bpm_form"."updater" IS '更新者';
  558. COMMENT
  559. ON COLUMN "bpm_form"."update_time" IS '更新时间';
  560. COMMENT
  561. ON COLUMN "bpm_form"."deleted" IS '是否删除';
  562. COMMENT
  563. ON COLUMN "bpm_form"."tenant_id" IS '租户编号';
  564. COMMENT
  565. ON TABLE "bpm_form" IS '工作流的表单定义';
  566. -- ----------------------------
  567. -- Records of bpm_form
  568. -- ----------------------------
  569. BEGIN;
  570. COMMIT;
  571. -- ----------------------------
  572. -- Table structure for bpm_oa_leave
  573. -- ----------------------------
  574. DROP TABLE IF EXISTS "bpm_oa_leave";
  575. CREATE TABLE "bpm_oa_leave"
  576. (
  577. "id" int8 NOT NULL,
  578. "user_id" int8 NOT NULL,
  579. "type" int2 NOT NULL,
  580. "reason" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  581. "start_time" timestamp(6) NOT NULL,
  582. "end_time" timestamp(6) NOT NULL,
  583. "day" int2 NOT NULL,
  584. "result" int2 NOT NULL,
  585. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default",
  586. "creator" varchar(64) COLLATE "pg_catalog"."default" DEFAULT '':: character varying,
  587. "create_time" timestamp(6) NOT NULL,
  588. "updater" varchar(64) COLLATE "pg_catalog"."default" DEFAULT '':: character varying,
  589. "update_time" timestamp(6) NOT NULL,
  590. "deleted" int2 NOT NULL DEFAULT 0,
  591. "tenant_id" int8 NOT NULL DEFAULT 0
  592. )
  593. ;
  594. COMMENT
  595. ON COLUMN "bpm_oa_leave"."id" IS '请假表单主键';
  596. COMMENT
  597. ON COLUMN "bpm_oa_leave"."user_id" IS '申请人的用户编号';
  598. COMMENT
  599. ON COLUMN "bpm_oa_leave"."type" IS '请假类型';
  600. COMMENT
  601. ON COLUMN "bpm_oa_leave"."reason" IS '请假原因';
  602. COMMENT
  603. ON COLUMN "bpm_oa_leave"."start_time" IS '开始时间';
  604. COMMENT
  605. ON COLUMN "bpm_oa_leave"."end_time" IS '结束时间';
  606. COMMENT
  607. ON COLUMN "bpm_oa_leave"."day" IS '请假天数';
  608. COMMENT
  609. ON COLUMN "bpm_oa_leave"."result" IS '请假结果';
  610. COMMENT
  611. ON COLUMN "bpm_oa_leave"."process_instance_id" IS '流程实例的编号';
  612. COMMENT
  613. ON COLUMN "bpm_oa_leave"."creator" IS '创建者';
  614. COMMENT
  615. ON COLUMN "bpm_oa_leave"."create_time" IS '创建时间';
  616. COMMENT
  617. ON COLUMN "bpm_oa_leave"."updater" IS '更新者';
  618. COMMENT
  619. ON COLUMN "bpm_oa_leave"."update_time" IS '更新时间';
  620. COMMENT
  621. ON COLUMN "bpm_oa_leave"."deleted" IS '是否删除';
  622. COMMENT
  623. ON COLUMN "bpm_oa_leave"."tenant_id" IS '租户编号';
  624. COMMENT
  625. ON TABLE "bpm_oa_leave" IS 'OA 请假申请表';
  626. -- ----------------------------
  627. -- Records of bpm_oa_leave
  628. -- ----------------------------
  629. BEGIN;
  630. COMMIT;
  631. -- ----------------------------
  632. -- Table structure for bpm_process_definition_ext
  633. -- ----------------------------
  634. DROP TABLE IF EXISTS "bpm_process_definition_ext";
  635. CREATE TABLE "bpm_process_definition_ext"
  636. (
  637. "id" int8 NOT NULL,
  638. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  639. "model_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  640. "description" varchar(255) COLLATE "pg_catalog"."default",
  641. "form_type" int2 NOT NULL,
  642. "form_id" int8,
  643. "form_conf" varchar(1000) COLLATE "pg_catalog"."default",
  644. "form_fields" varchar(5000) COLLATE "pg_catalog"."default",
  645. "form_custom_create_path" varchar(255) COLLATE "pg_catalog"."default",
  646. "form_custom_view_path" varchar(255) COLLATE "pg_catalog"."default",
  647. "creator" varchar(64) COLLATE "pg_catalog"."default",
  648. "create_time" timestamp(6) NOT NULL,
  649. "updater" varchar(64) COLLATE "pg_catalog"."default",
  650. "update_time" timestamp(6) NOT NULL,
  651. "deleted" int2 NOT NULL DEFAULT 0,
  652. "tenant_id" int8 NOT NULL DEFAULT 0
  653. )
  654. ;
  655. COMMENT
  656. ON COLUMN "bpm_process_definition_ext"."id" IS '编号';
  657. COMMENT
  658. ON COLUMN "bpm_process_definition_ext"."process_definition_id" IS '流程定义的编号';
  659. COMMENT
  660. ON COLUMN "bpm_process_definition_ext"."model_id" IS '流程模型的编号';
  661. COMMENT
  662. ON COLUMN "bpm_process_definition_ext"."description" IS '描述';
  663. COMMENT
  664. ON COLUMN "bpm_process_definition_ext"."form_type" IS '表单类型';
  665. COMMENT
  666. ON COLUMN "bpm_process_definition_ext"."form_id" IS '表单编号';
  667. COMMENT
  668. ON COLUMN "bpm_process_definition_ext"."form_conf" IS '表单的配置';
  669. COMMENT
  670. ON COLUMN "bpm_process_definition_ext"."form_fields" IS '表单项的数组';
  671. COMMENT
  672. ON COLUMN "bpm_process_definition_ext"."form_custom_create_path" IS '自定义表单的提交路径';
  673. COMMENT
  674. ON COLUMN "bpm_process_definition_ext"."form_custom_view_path" IS '自定义表单的查看路径';
  675. COMMENT
  676. ON COLUMN "bpm_process_definition_ext"."creator" IS '创建者';
  677. COMMENT
  678. ON COLUMN "bpm_process_definition_ext"."create_time" IS '创建时间';
  679. COMMENT
  680. ON COLUMN "bpm_process_definition_ext"."updater" IS '更新者';
  681. COMMENT
  682. ON COLUMN "bpm_process_definition_ext"."update_time" IS '更新时间';
  683. COMMENT
  684. ON COLUMN "bpm_process_definition_ext"."deleted" IS '是否删除';
  685. COMMENT
  686. ON COLUMN "bpm_process_definition_ext"."tenant_id" IS '租户编号';
  687. COMMENT
  688. ON TABLE "bpm_process_definition_ext" IS 'Bpm 流程定义的拓展表
  689. ';
  690. -- ----------------------------
  691. -- Records of bpm_process_definition_ext
  692. -- ----------------------------
  693. BEGIN;
  694. COMMIT;
  695. -- ----------------------------
  696. -- Table structure for bpm_process_instance_ext
  697. -- ----------------------------
  698. DROP TABLE IF EXISTS "bpm_process_instance_ext";
  699. CREATE TABLE "bpm_process_instance_ext"
  700. (
  701. "id" int8 NOT NULL,
  702. "start_user_id" int8 NOT NULL,
  703. "name" varchar(64) COLLATE "pg_catalog"."default",
  704. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  705. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  706. "category" varchar(64) COLLATE "pg_catalog"."default",
  707. "status" int2 NOT NULL,
  708. "result" int2 NOT NULL,
  709. "end_time" timestamp(6),
  710. "form_variables" varchar(5000) COLLATE "pg_catalog"."default",
  711. "creator" varchar(64) COLLATE "pg_catalog"."default",
  712. "create_time" timestamp(6) NOT NULL,
  713. "updater" varchar(64) COLLATE "pg_catalog"."default",
  714. "update_time" timestamp(6) NOT NULL,
  715. "deleted" int2 NOT NULL DEFAULT 0,
  716. "tenant_id" int8 NOT NULL DEFAULT 0
  717. )
  718. ;
  719. COMMENT
  720. ON COLUMN "bpm_process_instance_ext"."id" IS '编号';
  721. COMMENT
  722. ON COLUMN "bpm_process_instance_ext"."start_user_id" IS '发起流程的用户编号';
  723. COMMENT
  724. ON COLUMN "bpm_process_instance_ext"."name" IS '流程实例的名字';
  725. COMMENT
  726. ON COLUMN "bpm_process_instance_ext"."process_instance_id" IS '流程实例的编号';
  727. COMMENT
  728. ON COLUMN "bpm_process_instance_ext"."process_definition_id" IS '流程定义的编号';
  729. COMMENT
  730. ON COLUMN "bpm_process_instance_ext"."category" IS '流程分类';
  731. COMMENT
  732. ON COLUMN "bpm_process_instance_ext"."status" IS '流程实例的状态';
  733. COMMENT
  734. ON COLUMN "bpm_process_instance_ext"."result" IS '流程实例的结果';
  735. COMMENT
  736. ON COLUMN "bpm_process_instance_ext"."end_time" IS '结束时间';
  737. COMMENT
  738. ON COLUMN "bpm_process_instance_ext"."form_variables" IS '表单值';
  739. COMMENT
  740. ON COLUMN "bpm_process_instance_ext"."creator" IS '创建者';
  741. COMMENT
  742. ON COLUMN "bpm_process_instance_ext"."create_time" IS '创建时间';
  743. COMMENT
  744. ON COLUMN "bpm_process_instance_ext"."updater" IS '更新者';
  745. COMMENT
  746. ON COLUMN "bpm_process_instance_ext"."update_time" IS '更新时间';
  747. COMMENT
  748. ON COLUMN "bpm_process_instance_ext"."deleted" IS '是否删除';
  749. COMMENT
  750. ON COLUMN "bpm_process_instance_ext"."tenant_id" IS '租户编号';
  751. COMMENT
  752. ON TABLE "bpm_process_instance_ext" IS '工作流的流程实例的拓展';
  753. -- ----------------------------
  754. -- Records of bpm_process_instance_ext
  755. -- ----------------------------
  756. BEGIN;
  757. COMMIT;
  758. -- ----------------------------
  759. -- Table structure for bpm_task_assign_rule
  760. -- ----------------------------
  761. DROP TABLE IF EXISTS "bpm_task_assign_rule";
  762. CREATE TABLE "bpm_task_assign_rule"
  763. (
  764. "id" int8 NOT NULL,
  765. "model_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  766. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  767. "task_definition_key" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  768. "type" int2 NOT NULL,
  769. "options" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  770. "creator" varchar(64) COLLATE "pg_catalog"."default",
  771. "create_time" timestamp(6) NOT NULL,
  772. "updater" varchar(64) COLLATE "pg_catalog"."default",
  773. "update_time" timestamp(6) NOT NULL,
  774. "deleted" int2 NOT NULL DEFAULT 0,
  775. "tenant_id" int8 NOT NULL DEFAULT 0
  776. )
  777. ;
  778. COMMENT
  779. ON COLUMN "bpm_task_assign_rule"."id" IS '编号';
  780. COMMENT
  781. ON COLUMN "bpm_task_assign_rule"."model_id" IS '流程模型的编号';
  782. COMMENT
  783. ON COLUMN "bpm_task_assign_rule"."process_definition_id" IS '流程定义的编号';
  784. COMMENT
  785. ON COLUMN "bpm_task_assign_rule"."task_definition_key" IS '流程任务定义的 key';
  786. COMMENT
  787. ON COLUMN "bpm_task_assign_rule"."type" IS '规则类型';
  788. COMMENT
  789. ON COLUMN "bpm_task_assign_rule"."options" IS '规则值,JSON 数组';
  790. COMMENT
  791. ON COLUMN "bpm_task_assign_rule"."creator" IS '创建者';
  792. COMMENT
  793. ON COLUMN "bpm_task_assign_rule"."create_time" IS '创建时间';
  794. COMMENT
  795. ON COLUMN "bpm_task_assign_rule"."updater" IS '更新者';
  796. COMMENT
  797. ON COLUMN "bpm_task_assign_rule"."update_time" IS '更新时间';
  798. COMMENT
  799. ON COLUMN "bpm_task_assign_rule"."deleted" IS '是否删除';
  800. COMMENT
  801. ON COLUMN "bpm_task_assign_rule"."tenant_id" IS '租户编号';
  802. COMMENT
  803. ON TABLE "bpm_task_assign_rule" IS 'Bpm 任务规则表';
  804. -- ----------------------------
  805. -- Records of bpm_task_assign_rule
  806. -- ----------------------------
  807. BEGIN;
  808. COMMIT;
  809. -- ----------------------------
  810. -- Table structure for bpm_task_ext
  811. -- ----------------------------
  812. DROP TABLE IF EXISTS "bpm_task_ext";
  813. CREATE TABLE "bpm_task_ext"
  814. (
  815. "id" int8 NOT NULL,
  816. "assignee_user_id" int8,
  817. "name" varchar(64) COLLATE "pg_catalog"."default",
  818. "task_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  819. "result" int2 NOT NULL,
  820. "reason" varchar(255) COLLATE "pg_catalog"."default",
  821. "end_time" timestamp(6),
  822. "process_instance_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  823. "process_definition_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  824. "creator" varchar(64) COLLATE "pg_catalog"."default",
  825. "create_time" timestamp(6) NOT NULL,
  826. "updater" varchar(64) COLLATE "pg_catalog"."default",
  827. "update_time" timestamp(6) NOT NULL,
  828. "deleted" int2 NOT NULL DEFAULT 0,
  829. "tenant_id" int8 NOT NULL DEFAULT 0
  830. )
  831. ;
  832. COMMENT
  833. ON COLUMN "bpm_task_ext"."id" IS '编号';
  834. COMMENT
  835. ON COLUMN "bpm_task_ext"."assignee_user_id" IS '任务的审批人';
  836. COMMENT
  837. ON COLUMN "bpm_task_ext"."name" IS '任务的名字';
  838. COMMENT
  839. ON COLUMN "bpm_task_ext"."task_id" IS '任务的编号';
  840. COMMENT
  841. ON COLUMN "bpm_task_ext"."result" IS '任务的结果';
  842. COMMENT
  843. ON COLUMN "bpm_task_ext"."reason" IS '审批建议';
  844. COMMENT
  845. ON COLUMN "bpm_task_ext"."end_time" IS '任务的结束时间';
  846. COMMENT
  847. ON COLUMN "bpm_task_ext"."process_instance_id" IS '流程实例的编号';
  848. COMMENT
  849. ON COLUMN "bpm_task_ext"."process_definition_id" IS '流程定义的编号';
  850. COMMENT
  851. ON COLUMN "bpm_task_ext"."creator" IS '创建者';
  852. COMMENT
  853. ON COLUMN "bpm_task_ext"."create_time" IS '创建时间';
  854. COMMENT
  855. ON COLUMN "bpm_task_ext"."updater" IS '更新者';
  856. COMMENT
  857. ON COLUMN "bpm_task_ext"."update_time" IS '更新时间';
  858. COMMENT
  859. ON COLUMN "bpm_task_ext"."deleted" IS '是否删除';
  860. COMMENT
  861. ON COLUMN "bpm_task_ext"."tenant_id" IS '租户编号';
  862. COMMENT
  863. ON TABLE "bpm_task_ext" IS '工作流的流程任务的拓展表';
  864. -- ----------------------------
  865. -- Records of bpm_task_ext
  866. -- ----------------------------
  867. BEGIN;
  868. COMMIT;
  869. -- ----------------------------
  870. -- Table structure for bpm_user_group
  871. -- ----------------------------
  872. DROP TABLE IF EXISTS "bpm_user_group";
  873. CREATE TABLE "bpm_user_group"
  874. (
  875. "id" int8 NOT NULL,
  876. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  877. "description" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  878. "member_user_ids" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  879. "status" int2 NOT NULL,
  880. "creator" varchar(64) COLLATE "pg_catalog"."default",
  881. "create_time" timestamp(6) NOT NULL,
  882. "updater" varchar(64) COLLATE "pg_catalog"."default",
  883. "update_time" timestamp(6) NOT NULL,
  884. "deleted" int2 NOT NULL DEFAULT 0,
  885. "tenant_id" int8 NOT NULL DEFAULT 0
  886. )
  887. ;
  888. COMMENT
  889. ON COLUMN "bpm_user_group"."id" IS '编号';
  890. COMMENT
  891. ON COLUMN "bpm_user_group"."name" IS '组名';
  892. COMMENT
  893. ON COLUMN "bpm_user_group"."description" IS '描述';
  894. COMMENT
  895. ON COLUMN "bpm_user_group"."member_user_ids" IS '成员编号数组';
  896. COMMENT
  897. ON COLUMN "bpm_user_group"."status" IS '状态(0正常 1停用)';
  898. COMMENT
  899. ON COLUMN "bpm_user_group"."creator" IS '创建者';
  900. COMMENT
  901. ON COLUMN "bpm_user_group"."create_time" IS '创建时间';
  902. COMMENT
  903. ON COLUMN "bpm_user_group"."updater" IS '更新者';
  904. COMMENT
  905. ON COLUMN "bpm_user_group"."update_time" IS '更新时间';
  906. COMMENT
  907. ON COLUMN "bpm_user_group"."deleted" IS '是否删除';
  908. COMMENT
  909. ON COLUMN "bpm_user_group"."tenant_id" IS '租户编号';
  910. COMMENT
  911. ON TABLE "bpm_user_group" IS '用户组';
  912. -- ----------------------------
  913. -- Records of bpm_user_group
  914. -- ----------------------------
  915. BEGIN;
  916. COMMIT;
  917. -- ----------------------------
  918. -- Table structure for dual
  919. -- ----------------------------
  920. DROP TABLE IF EXISTS "dual";
  921. CREATE TABLE "dual"
  922. (
  923. )
  924. ;
  925. -- ----------------------------
  926. -- Records of dual
  927. -- ----------------------------
  928. BEGIN;
  929. COMMIT;
  930. -- ----------------------------
  931. -- Table structure for infra_api_access_log
  932. -- ----------------------------
  933. DROP TABLE IF EXISTS "infra_api_access_log";
  934. CREATE TABLE "infra_api_access_log"
  935. (
  936. "id" int8 NOT NULL,
  937. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  938. "user_id" int8 NOT NULL DEFAULT 0,
  939. "user_type" int2 NOT NULL DEFAULT 0,
  940. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  941. "request_method" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  942. "request_url" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  943. "request_params" varchar(8000) COLLATE "pg_catalog"."default" NOT NULL,
  944. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  945. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  946. "begin_time" timestamp(6) NOT NULL,
  947. "end_time" timestamp(6) NOT NULL,
  948. "duration" int4 NOT NULL,
  949. "result_code" int4 NOT NULL,
  950. "result_msg" varchar(512) COLLATE "pg_catalog"."default",
  951. "creator" varchar(64) COLLATE "pg_catalog"."default",
  952. "create_time" timestamp(6) NOT NULL,
  953. "updater" varchar(64) COLLATE "pg_catalog"."default",
  954. "update_time" timestamp(6) NOT NULL,
  955. "deleted" int2 NOT NULL DEFAULT 0,
  956. "tenant_id" int8 NOT NULL DEFAULT 0
  957. )
  958. ;
  959. COMMENT
  960. ON COLUMN "infra_api_access_log"."id" IS '日志主键';
  961. COMMENT
  962. ON COLUMN "infra_api_access_log"."trace_id" IS '链路追踪编号';
  963. COMMENT
  964. ON COLUMN "infra_api_access_log"."user_id" IS '用户编号';
  965. COMMENT
  966. ON COLUMN "infra_api_access_log"."user_type" IS '用户类型';
  967. COMMENT
  968. ON COLUMN "infra_api_access_log"."application_name" IS '应用名';
  969. COMMENT
  970. ON COLUMN "infra_api_access_log"."request_method" IS '请求方法名';
  971. COMMENT
  972. ON COLUMN "infra_api_access_log"."request_url" IS '请求地址';
  973. COMMENT
  974. ON COLUMN "infra_api_access_log"."request_params" IS '请求参数';
  975. COMMENT
  976. ON COLUMN "infra_api_access_log"."user_ip" IS '用户 IP';
  977. COMMENT
  978. ON COLUMN "infra_api_access_log"."user_agent" IS '浏览器 UA';
  979. COMMENT
  980. ON COLUMN "infra_api_access_log"."begin_time" IS '开始请求时间';
  981. COMMENT
  982. ON COLUMN "infra_api_access_log"."end_time" IS '结束请求时间';
  983. COMMENT
  984. ON COLUMN "infra_api_access_log"."duration" IS '执行时长';
  985. COMMENT
  986. ON COLUMN "infra_api_access_log"."result_code" IS '结果码';
  987. COMMENT
  988. ON COLUMN "infra_api_access_log"."result_msg" IS '结果提示';
  989. COMMENT
  990. ON COLUMN "infra_api_access_log"."creator" IS '创建者';
  991. COMMENT
  992. ON COLUMN "infra_api_access_log"."create_time" IS '创建时间';
  993. COMMENT
  994. ON COLUMN "infra_api_access_log"."updater" IS '更新者';
  995. COMMENT
  996. ON COLUMN "infra_api_access_log"."update_time" IS '更新时间';
  997. COMMENT
  998. ON COLUMN "infra_api_access_log"."deleted" IS '是否删除';
  999. COMMENT
  1000. ON COLUMN "infra_api_access_log"."tenant_id" IS '租户编号';
  1001. COMMENT
  1002. ON TABLE "infra_api_access_log" IS 'API 访问日志表';
  1003. -- ----------------------------
  1004. -- Records of infra_api_access_log
  1005. -- ----------------------------
  1006. BEGIN;
  1007. COMMIT;
  1008. -- ----------------------------
  1009. -- Table structure for infra_api_error_log
  1010. -- ----------------------------
  1011. DROP TABLE IF EXISTS "infra_api_error_log";
  1012. CREATE TABLE "infra_api_error_log"
  1013. (
  1014. "id" int4 NOT NULL,
  1015. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1016. "user_id" int4 NOT NULL DEFAULT 0,
  1017. "user_type" int2 NOT NULL DEFAULT 0,
  1018. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1019. "request_method" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  1020. "request_url" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1021. "request_params" varchar(8000) COLLATE "pg_catalog"."default" NOT NULL,
  1022. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1023. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1024. "exception_time" timestamp(6) NOT NULL,
  1025. "exception_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  1026. "exception_message" text COLLATE "pg_catalog"."default" NOT NULL,
  1027. "exception_root_cause_message" text COLLATE "pg_catalog"."default" NOT NULL,
  1028. "exception_stack_trace" text COLLATE "pg_catalog"."default" NOT NULL,
  1029. "exception_class_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1030. "exception_file_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1031. "exception_method_name" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1032. "exception_line_number" int4 NOT NULL,
  1033. "process_status" int2 NOT NULL,
  1034. "process_time" timestamp(6),
  1035. "process_user_id" int4,
  1036. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1037. "create_time" timestamp(6) NOT NULL,
  1038. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1039. "update_time" timestamp(6) NOT NULL,
  1040. "deleted" int2 NOT NULL DEFAULT 0,
  1041. "tenant_id" int8 NOT NULL DEFAULT 0
  1042. )
  1043. ;
  1044. COMMENT
  1045. ON COLUMN "infra_api_error_log"."id" IS '编号';
  1046. COMMENT
  1047. ON COLUMN "infra_api_error_log"."trace_id" IS '链路追踪编号
  1048. *
  1049. * 一般来说,通过链路追踪编号,可以将访问日志,错误日志,链路追踪日志,logger 打印日志等,结合在一起,从而进行排错。';
  1050. COMMENT
  1051. ON COLUMN "infra_api_error_log"."user_id" IS '用户编号';
  1052. COMMENT
  1053. ON COLUMN "infra_api_error_log"."user_type" IS '用户类型';
  1054. COMMENT
  1055. ON COLUMN "infra_api_error_log"."application_name" IS '应用名
  1056. *
  1057. * 目前读取 spring.application.name';
  1058. COMMENT
  1059. ON COLUMN "infra_api_error_log"."request_method" IS '请求方法名';
  1060. COMMENT
  1061. ON COLUMN "infra_api_error_log"."request_url" IS '请求地址';
  1062. COMMENT
  1063. ON COLUMN "infra_api_error_log"."request_params" IS '请求参数';
  1064. COMMENT
  1065. ON COLUMN "infra_api_error_log"."user_ip" IS '用户 IP';
  1066. COMMENT
  1067. ON COLUMN "infra_api_error_log"."user_agent" IS '浏览器 UA';
  1068. COMMENT
  1069. ON COLUMN "infra_api_error_log"."exception_time" IS '异常发生时间';
  1070. COMMENT
  1071. ON COLUMN "infra_api_error_log"."exception_name" IS '异常名
  1072. *
  1073. * {@link Throwable#getClass()} 的类全名';
  1074. COMMENT
  1075. ON COLUMN "infra_api_error_log"."exception_message" IS '异常导致的消息
  1076. *
  1077. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getMessage(Throwable)}';
  1078. COMMENT
  1079. ON COLUMN "infra_api_error_log"."exception_root_cause_message" IS '异常导致的根消息
  1080. *
  1081. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getRootCauseMessage(Throwable)}';
  1082. COMMENT
  1083. ON COLUMN "infra_api_error_log"."exception_stack_trace" IS '异常的栈轨迹
  1084. *
  1085. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getServiceException(Exception)}';
  1086. COMMENT
  1087. ON COLUMN "infra_api_error_log"."exception_class_name" IS '异常发生的类全名
  1088. *
  1089. * {@link StackTraceElement#getClassName()}';
  1090. COMMENT
  1091. ON COLUMN "infra_api_error_log"."exception_file_name" IS '异常发生的类文件
  1092. *
  1093. * {@link StackTraceElement#getFileName()}';
  1094. COMMENT
  1095. ON COLUMN "infra_api_error_log"."exception_method_name" IS '异常发生的方法名
  1096. *
  1097. * {@link StackTraceElement#getMethodName()}';
  1098. COMMENT
  1099. ON COLUMN "infra_api_error_log"."exception_line_number" IS '异常发生的方法所在行
  1100. *
  1101. * {@link StackTraceElement#getLineNumber()}';
  1102. COMMENT
  1103. ON COLUMN "infra_api_error_log"."process_status" IS '处理状态';
  1104. COMMENT
  1105. ON COLUMN "infra_api_error_log"."process_time" IS '处理时间';
  1106. COMMENT
  1107. ON COLUMN "infra_api_error_log"."process_user_id" IS '处理用户编号';
  1108. COMMENT
  1109. ON COLUMN "infra_api_error_log"."creator" IS '创建者';
  1110. COMMENT
  1111. ON COLUMN "infra_api_error_log"."create_time" IS '创建时间';
  1112. COMMENT
  1113. ON COLUMN "infra_api_error_log"."updater" IS '更新者';
  1114. COMMENT
  1115. ON COLUMN "infra_api_error_log"."update_time" IS '更新时间';
  1116. COMMENT
  1117. ON COLUMN "infra_api_error_log"."deleted" IS '是否删除';
  1118. COMMENT
  1119. ON COLUMN "infra_api_error_log"."tenant_id" IS '租户编号';
  1120. COMMENT
  1121. ON TABLE "infra_api_error_log" IS '系统异常日志';
  1122. -- ----------------------------
  1123. -- Records of infra_api_error_log
  1124. -- ----------------------------
  1125. BEGIN;
  1126. COMMIT;
  1127. -- ----------------------------
  1128. -- Table structure for infra_codegen_column
  1129. -- ----------------------------
  1130. DROP TABLE IF EXISTS "infra_codegen_column";
  1131. CREATE TABLE "infra_codegen_column"
  1132. (
  1133. "id" int8 NOT NULL,
  1134. "table_id" int8 NOT NULL,
  1135. "column_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1136. "data_type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1137. "column_comment" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1138. "nullable" bool NOT NULL,
  1139. "primary_key" bool NOT NULL,
  1140. "ordinal_position" int4 NOT NULL,
  1141. "java_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1142. "java_field" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1143. "dict_type" varchar(200) COLLATE "pg_catalog"."default",
  1144. "example" varchar(255) COLLATE "pg_catalog"."default",
  1145. "create_operation" bool NOT NULL,
  1146. "update_operation" bool NOT NULL,
  1147. "list_operation" bool NOT NULL,
  1148. "list_operation_condition" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1149. "list_operation_result" bool NOT NULL,
  1150. "html_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1151. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1152. "create_time" timestamp(6) NOT NULL,
  1153. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1154. "update_time" timestamp(6) NOT NULL,
  1155. "deleted" int2 NOT NULL DEFAULT 0
  1156. )
  1157. ;
  1158. COMMENT
  1159. ON COLUMN "infra_codegen_column"."id" IS '编号';
  1160. COMMENT
  1161. ON COLUMN "infra_codegen_column"."table_id" IS '表编号';
  1162. COMMENT
  1163. ON COLUMN "infra_codegen_column"."column_name" IS '字段名';
  1164. COMMENT
  1165. ON COLUMN "infra_codegen_column"."data_type" IS '字段类型';
  1166. COMMENT
  1167. ON COLUMN "infra_codegen_column"."column_comment" IS '字段描述';
  1168. COMMENT
  1169. ON COLUMN "infra_codegen_column"."nullable" IS '是否允许为空';
  1170. COMMENT
  1171. ON COLUMN "infra_codegen_column"."primary_key" IS '是否主键';
  1172. COMMENT
  1173. ON COLUMN "infra_codegen_column"."ordinal_position" IS '排序';
  1174. COMMENT
  1175. ON COLUMN "infra_codegen_column"."java_type" IS 'Java 属性类型';
  1176. COMMENT
  1177. ON COLUMN "infra_codegen_column"."java_field" IS 'Java 属性名';
  1178. COMMENT
  1179. ON COLUMN "infra_codegen_column"."dict_type" IS '字典类型';
  1180. COMMENT
  1181. ON COLUMN "infra_codegen_column"."example" IS '数据示例';
  1182. COMMENT
  1183. ON COLUMN "infra_codegen_column"."create_operation" IS '是否为 Create 创建操作的字段';
  1184. COMMENT
  1185. ON COLUMN "infra_codegen_column"."update_operation" IS '是否为 Update 更新操作的字段';
  1186. COMMENT
  1187. ON COLUMN "infra_codegen_column"."list_operation" IS '是否为 List 查询操作的字段';
  1188. COMMENT
  1189. ON COLUMN "infra_codegen_column"."list_operation_condition" IS 'List 查询操作的条件类型';
  1190. COMMENT
  1191. ON COLUMN "infra_codegen_column"."list_operation_result" IS '是否为 List 查询操作的返回字段';
  1192. COMMENT
  1193. ON COLUMN "infra_codegen_column"."html_type" IS '显示类型';
  1194. COMMENT
  1195. ON COLUMN "infra_codegen_column"."creator" IS '创建者';
  1196. COMMENT
  1197. ON COLUMN "infra_codegen_column"."create_time" IS '创建时间';
  1198. COMMENT
  1199. ON COLUMN "infra_codegen_column"."updater" IS '更新者';
  1200. COMMENT
  1201. ON COLUMN "infra_codegen_column"."update_time" IS '更新时间';
  1202. COMMENT
  1203. ON COLUMN "infra_codegen_column"."deleted" IS '是否删除';
  1204. COMMENT
  1205. ON TABLE "infra_codegen_column" IS '代码生成表字段定义';
  1206. -- ----------------------------
  1207. -- Records of infra_codegen_column
  1208. -- ----------------------------
  1209. BEGIN;
  1210. COMMIT;
  1211. -- ----------------------------
  1212. -- Table structure for infra_codegen_table
  1213. -- ----------------------------
  1214. DROP TABLE IF EXISTS "infra_codegen_table";
  1215. CREATE TABLE "infra_codegen_table"
  1216. (
  1217. "id" int8 NOT NULL,
  1218. "data_source_config_id" int8 NOT NULL,
  1219. "scene" int2 NOT NULL,
  1220. "table_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1221. "table_comment" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1222. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1223. "module_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1224. "business_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1225. "class_name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1226. "class_comment" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1227. "author" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1228. "template_type" int2 NOT NULL,
  1229. "parent_menu_id" int8,
  1230. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1231. "create_time" timestamp(6) NOT NULL,
  1232. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1233. "update_time" timestamp(6) NOT NULL,
  1234. "deleted" int2 NOT NULL DEFAULT 0
  1235. )
  1236. ;
  1237. COMMENT
  1238. ON COLUMN "infra_codegen_table"."id" IS '编号';
  1239. COMMENT
  1240. ON COLUMN "infra_codegen_table"."data_source_config_id" IS '数据源配置的编号';
  1241. COMMENT
  1242. ON COLUMN "infra_codegen_table"."scene" IS '生成场景';
  1243. COMMENT
  1244. ON COLUMN "infra_codegen_table"."table_name" IS '表名称';
  1245. COMMENT
  1246. ON COLUMN "infra_codegen_table"."table_comment" IS '表描述';
  1247. COMMENT
  1248. ON COLUMN "infra_codegen_table"."remark" IS '备注';
  1249. COMMENT
  1250. ON COLUMN "infra_codegen_table"."module_name" IS '模块名';
  1251. COMMENT
  1252. ON COLUMN "infra_codegen_table"."business_name" IS '业务名';
  1253. COMMENT
  1254. ON COLUMN "infra_codegen_table"."class_name" IS '类名称';
  1255. COMMENT
  1256. ON COLUMN "infra_codegen_table"."class_comment" IS '类描述';
  1257. COMMENT
  1258. ON COLUMN "infra_codegen_table"."author" IS '作者';
  1259. COMMENT
  1260. ON COLUMN "infra_codegen_table"."template_type" IS '模板类型';
  1261. COMMENT
  1262. ON COLUMN "infra_codegen_table"."parent_menu_id" IS '父菜单编号';
  1263. COMMENT
  1264. ON COLUMN "infra_codegen_table"."creator" IS '创建者';
  1265. COMMENT
  1266. ON COLUMN "infra_codegen_table"."create_time" IS '创建时间';
  1267. COMMENT
  1268. ON COLUMN "infra_codegen_table"."updater" IS '更新者';
  1269. COMMENT
  1270. ON COLUMN "infra_codegen_table"."update_time" IS '更新时间';
  1271. COMMENT
  1272. ON COLUMN "infra_codegen_table"."deleted" IS '是否删除';
  1273. COMMENT
  1274. ON TABLE "infra_codegen_table" IS '代码生成表定义';
  1275. ALTER TABLE infra_codegen_table
  1276. ADD front_type int4 NOT NULL;
  1277. COMMENT
  1278. ON COLUMN infra_codegen_table.front_type IS '前端类型';
  1279. -- ----------------------------
  1280. -- Records of infra_codegen_table
  1281. -- ----------------------------
  1282. BEGIN;
  1283. COMMIT;
  1284. -- ----------------------------
  1285. -- Table structure for infra_config
  1286. -- ----------------------------
  1287. DROP TABLE IF EXISTS "infra_config";
  1288. CREATE TABLE "infra_config"
  1289. (
  1290. "id" int4 NOT NULL,
  1291. "category" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1292. "type" int2 NOT NULL,
  1293. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1294. "config_key" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1295. "value" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1296. "visible" varchar(5) COLLATE "pg_catalog"."default" NOT NULL,
  1297. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1298. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1299. "create_time" timestamp(6) NOT NULL,
  1300. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1301. "update_time" timestamp(6) NOT NULL,
  1302. "deleted" int2 NOT NULL DEFAULT 0
  1303. )
  1304. ;
  1305. COMMENT
  1306. ON COLUMN "infra_config"."id" IS '参数主键';
  1307. COMMENT
  1308. ON COLUMN "infra_config"."category" IS '参数分组';
  1309. COMMENT
  1310. ON COLUMN "infra_config"."type" IS '参数类型';
  1311. COMMENT
  1312. ON COLUMN "infra_config"."name" IS '参数名称';
  1313. COMMENT
  1314. ON COLUMN "infra_config"."config_key" IS '参数键名';
  1315. COMMENT
  1316. ON COLUMN "infra_config"."value" IS '参数键值';
  1317. COMMENT
  1318. ON COLUMN "infra_config"."visible" IS '是否可见';
  1319. COMMENT
  1320. ON COLUMN "infra_config"."remark" IS '备注';
  1321. COMMENT
  1322. ON COLUMN "infra_config"."creator" IS '创建者';
  1323. COMMENT
  1324. ON COLUMN "infra_config"."create_time" IS '创建时间';
  1325. COMMENT
  1326. ON COLUMN "infra_config"."updater" IS '更新者';
  1327. COMMENT
  1328. ON COLUMN "infra_config"."update_time" IS '更新时间';
  1329. COMMENT
  1330. ON COLUMN "infra_config"."deleted" IS '是否删除';
  1331. COMMENT
  1332. ON TABLE "infra_config" IS '参数配置表';
  1333. -- ----------------------------
  1334. -- Records of infra_config
  1335. -- ----------------------------
  1336. BEGIN;
  1337. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1338. "create_time", "updater", "update_time", "deleted")
  1339. VALUES (1, 'ui', 1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', '0',
  1340. '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', 'admin',
  1341. '2021-01-05 17:03:48', '1', '2022-03-26 23:10:31', 0);
  1342. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1343. "create_time", "updater", "update_time", "deleted")
  1344. VALUES (2, 'biz', 1, '用户管理-账号初始密码', 'sys.user.init-password', '123456', '0', '初始化密码 123456', 'admin',
  1345. '2021-01-05 17:03:48', '1', '2022-03-20 02:25:51', 0);
  1346. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1347. "create_time", "updater", "update_time", "deleted")
  1348. VALUES (3, 'ui', 1, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', '0',
  1349. '深色主题theme-dark,浅色主题theme-light', 'admin', '2021-01-05 17:03:48', '', '2021-01-19 03:05:21', 0);
  1350. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1351. "create_time", "updater", "update_time", "deleted")
  1352. VALUES (4, '1', 2, 'xxx', 'demo.test', '10', '0', '5', '', '2021-01-19 03:10:26', '', '2021-01-20 09:25:55', 0);
  1353. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1354. "create_time", "updater", "update_time", "deleted")
  1355. VALUES (5, 'xxx', 2, 'xxx', 'xxx', 'xxx', '1', 'xxx', '', '2021-02-09 20:06:47', '', '2021-02-09 20:06:47', 0);
  1356. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1357. "create_time", "updater", "update_time", "deleted")
  1358. VALUES (6, 'biz', 2, '登陆验证码的开关', 'yudao.captcha.enable', 'true', '1', NULL, '1', '2022-02-17 00:03:11', '1',
  1359. '2022-04-04 12:51:40', 0);
  1360. COMMIT;
  1361. -- ----------------------------
  1362. -- Table structure for infra_data_source_config
  1363. -- ----------------------------
  1364. DROP TABLE IF EXISTS "infra_data_source_config";
  1365. CREATE TABLE "infra_data_source_config"
  1366. (
  1367. "id" int8 NOT NULL,
  1368. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1369. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1370. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1371. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1372. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1373. "create_time" timestamp(6) NOT NULL,
  1374. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1375. "update_time" timestamp(6) NOT NULL,
  1376. "deleted" int2 NOT NULL DEFAULT 0
  1377. )
  1378. ;
  1379. COMMENT
  1380. ON COLUMN "infra_data_source_config"."id" IS '主键编号';
  1381. COMMENT
  1382. ON COLUMN "infra_data_source_config"."name" IS '参数名称';
  1383. COMMENT
  1384. ON COLUMN "infra_data_source_config"."url" IS '数据源连接';
  1385. COMMENT
  1386. ON COLUMN "infra_data_source_config"."username" IS '用户名';
  1387. COMMENT
  1388. ON COLUMN "infra_data_source_config"."password" IS '密码';
  1389. COMMENT
  1390. ON COLUMN "infra_data_source_config"."creator" IS '创建者';
  1391. COMMENT
  1392. ON COLUMN "infra_data_source_config"."create_time" IS '创建时间';
  1393. COMMENT
  1394. ON COLUMN "infra_data_source_config"."updater" IS '更新者';
  1395. COMMENT
  1396. ON COLUMN "infra_data_source_config"."update_time" IS '更新时间';
  1397. COMMENT
  1398. ON COLUMN "infra_data_source_config"."deleted" IS '是否删除';
  1399. COMMENT
  1400. ON TABLE "infra_data_source_config" IS '数据源配置表';
  1401. -- ----------------------------
  1402. -- Records of infra_data_source_config
  1403. -- ----------------------------
  1404. BEGIN;
  1405. COMMIT;
  1406. -- ----------------------------
  1407. -- Table structure for infra_file
  1408. -- ----------------------------
  1409. DROP TABLE IF EXISTS "infra_file";
  1410. CREATE TABLE "infra_file"
  1411. (
  1412. "id" int8 NOT NULL DEFAULT 0,
  1413. "config_id" int8,
  1414. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1415. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1416. "type" varchar(127) COLLATE "pg_catalog"."default",
  1417. "size" int4 NOT NULL,
  1418. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1419. "create_time" timestamp(6) NOT NULL,
  1420. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1421. "update_time" timestamp(6) NOT NULL,
  1422. "deleted" int2 NOT NULL DEFAULT 0,
  1423. "name" varchar(255) COLLATE "pg_catalog"."default"
  1424. )
  1425. ;
  1426. COMMENT
  1427. ON COLUMN "infra_file"."id" IS '文件编号';
  1428. COMMENT
  1429. ON COLUMN "infra_file"."config_id" IS '配置编号';
  1430. COMMENT
  1431. ON COLUMN "infra_file"."path" IS '文件路径';
  1432. COMMENT
  1433. ON COLUMN "infra_file"."url" IS '文件 URL';
  1434. COMMENT
  1435. ON COLUMN "infra_file"."type" IS '文件类型';
  1436. COMMENT
  1437. ON COLUMN "infra_file"."size" IS '文件大小';
  1438. COMMENT
  1439. ON COLUMN "infra_file"."creator" IS '创建者';
  1440. COMMENT
  1441. ON COLUMN "infra_file"."create_time" IS '创建时间';
  1442. COMMENT
  1443. ON COLUMN "infra_file"."updater" IS '更新者';
  1444. COMMENT
  1445. ON COLUMN "infra_file"."update_time" IS '更新时间';
  1446. COMMENT
  1447. ON COLUMN "infra_file"."deleted" IS '是否删除';
  1448. COMMENT
  1449. ON COLUMN "infra_file"."name" IS '文件名';
  1450. COMMENT
  1451. ON TABLE "infra_file" IS '文件表';
  1452. -- ----------------------------
  1453. -- Records of infra_file
  1454. -- ----------------------------
  1455. BEGIN;
  1456. COMMIT;
  1457. -- ----------------------------
  1458. -- Table structure for infra_file_config
  1459. -- ----------------------------
  1460. DROP TABLE IF EXISTS "infra_file_config";
  1461. CREATE TABLE "infra_file_config"
  1462. (
  1463. "id" int8 NOT NULL,
  1464. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  1465. "storage" int2 NOT NULL,
  1466. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1467. "master" bool NOT NULL,
  1468. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1469. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1470. "create_time" timestamp(6) NOT NULL,
  1471. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1472. "update_time" timestamp(6) NOT NULL,
  1473. "deleted" int2 NOT NULL DEFAULT 0
  1474. )
  1475. ;
  1476. COMMENT
  1477. ON COLUMN "infra_file_config"."id" IS '编号';
  1478. COMMENT
  1479. ON COLUMN "infra_file_config"."name" IS '配置名';
  1480. COMMENT
  1481. ON COLUMN "infra_file_config"."storage" IS '存储器';
  1482. COMMENT
  1483. ON COLUMN "infra_file_config"."remark" IS '备注';
  1484. COMMENT
  1485. ON COLUMN "infra_file_config"."master" IS '是否为主配置';
  1486. COMMENT
  1487. ON COLUMN "infra_file_config"."config" IS '存储配置';
  1488. COMMENT
  1489. ON COLUMN "infra_file_config"."creator" IS '创建者';
  1490. COMMENT
  1491. ON COLUMN "infra_file_config"."create_time" IS '创建时间';
  1492. COMMENT
  1493. ON COLUMN "infra_file_config"."updater" IS '更新者';
  1494. COMMENT
  1495. ON COLUMN "infra_file_config"."update_time" IS '更新时间';
  1496. COMMENT
  1497. ON COLUMN "infra_file_config"."deleted" IS '是否删除';
  1498. COMMENT
  1499. ON TABLE "infra_file_config" IS '文件配置表';
  1500. -- ----------------------------
  1501. -- Records of infra_file_config
  1502. -- ----------------------------
  1503. BEGIN;
  1504. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1505. "updater", "update_time", "deleted")
  1506. VALUES (4, '数据库', 1, '我是数据库', 'f',
  1507. '{"@class":"cn.iocoder.yudao.framework.file.core.client.db.DBFileClientConfig","domain":"http://127.0.0.1:48080"}',
  1508. '1', '2022-03-15 23:56:24', '1', '2022-03-26 21:39:26', 0);
  1509. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1510. "updater", "update_time", "deleted")
  1511. VALUES (5, '本地磁盘', 10, '测试下本地存储', 'f',
  1512. '{"@class":"cn.iocoder.yudao.framework.file.core.client.local.LocalFileClientConfig","basePath":"/Users/yunai/file_test","domain":"http://127.0.0.1:48080"}',
  1513. '1', '2022-03-15 23:57:00', '1', '2022-03-26 21:39:26', 0);
  1514. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1515. "updater", "update_time", "deleted")
  1516. VALUES (11, 'S3 - 七牛云', 20, NULL, 't',
  1517. '{"@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"}',
  1518. '1', '2022-03-19 18:00:03', '1', '2022-05-26 00:03:47.17', 0);
  1519. COMMIT;
  1520. -- ----------------------------
  1521. -- Table structure for infra_file_content
  1522. -- ----------------------------
  1523. DROP TABLE IF EXISTS "infra_file_content";
  1524. CREATE TABLE "infra_file_content"
  1525. (
  1526. "id" int8 NOT NULL,
  1527. "config_id" int8 NOT NULL,
  1528. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1529. "content" bytea NOT NULL,
  1530. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1531. "create_time" timestamp(6) NOT NULL,
  1532. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1533. "update_time" timestamp(6) NOT NULL,
  1534. "deleted" int2 NOT NULL DEFAULT 0
  1535. )
  1536. ;
  1537. COMMENT
  1538. ON COLUMN "infra_file_content"."id" IS '编号';
  1539. COMMENT
  1540. ON COLUMN "infra_file_content"."config_id" IS '配置编号';
  1541. COMMENT
  1542. ON COLUMN "infra_file_content"."path" IS '文件路径';
  1543. COMMENT
  1544. ON COLUMN "infra_file_content"."content" IS '文件内容';
  1545. COMMENT
  1546. ON COLUMN "infra_file_content"."creator" IS '创建者';
  1547. COMMENT
  1548. ON COLUMN "infra_file_content"."create_time" IS '创建时间';
  1549. COMMENT
  1550. ON COLUMN "infra_file_content"."updater" IS '更新者';
  1551. COMMENT
  1552. ON COLUMN "infra_file_content"."update_time" IS '更新时间';
  1553. COMMENT
  1554. ON COLUMN "infra_file_content"."deleted" IS '是否删除';
  1555. COMMENT
  1556. ON TABLE "infra_file_content" IS '文件表';
  1557. -- ----------------------------
  1558. -- Records of infra_file_content
  1559. -- ----------------------------
  1560. BEGIN;
  1561. COMMIT;
  1562. -- ----------------------------
  1563. -- Table structure for infra_job
  1564. -- ----------------------------
  1565. DROP TABLE IF EXISTS "infra_job";
  1566. CREATE TABLE "infra_job"
  1567. (
  1568. "id" int8 NOT NULL,
  1569. "name" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1570. "status" int2 NOT NULL,
  1571. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1572. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1573. "cron_expression" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1574. "retry_count" int4 NOT NULL,
  1575. "retry_interval" int4 NOT NULL,
  1576. "monitor_timeout" int4 NOT NULL,
  1577. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1578. "create_time" timestamp(6) NOT NULL,
  1579. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1580. "update_time" timestamp(6) NOT NULL,
  1581. "deleted" int2 NOT NULL DEFAULT 0
  1582. )
  1583. ;
  1584. COMMENT
  1585. ON COLUMN "infra_job"."id" IS '任务编号';
  1586. COMMENT
  1587. ON COLUMN "infra_job"."name" IS '任务名称';
  1588. COMMENT
  1589. ON COLUMN "infra_job"."status" IS '任务状态';
  1590. COMMENT
  1591. ON COLUMN "infra_job"."handler_name" IS '处理器的名字';
  1592. COMMENT
  1593. ON COLUMN "infra_job"."handler_param" IS '处理器的参数';
  1594. COMMENT
  1595. ON COLUMN "infra_job"."cron_expression" IS 'CRON 表达式';
  1596. COMMENT
  1597. ON COLUMN "infra_job"."retry_count" IS '重试次数';
  1598. COMMENT
  1599. ON COLUMN "infra_job"."retry_interval" IS '重试间隔';
  1600. COMMENT
  1601. ON COLUMN "infra_job"."monitor_timeout" IS '监控超时时间';
  1602. COMMENT
  1603. ON COLUMN "infra_job"."creator" IS '创建者';
  1604. COMMENT
  1605. ON COLUMN "infra_job"."create_time" IS '创建时间';
  1606. COMMENT
  1607. ON COLUMN "infra_job"."updater" IS '更新者';
  1608. COMMENT
  1609. ON COLUMN "infra_job"."update_time" IS '更新时间';
  1610. COMMENT
  1611. ON COLUMN "infra_job"."deleted" IS '是否删除';
  1612. COMMENT
  1613. ON TABLE "infra_job" IS '定时任务表';
  1614. -- ----------------------------
  1615. -- Records of infra_job
  1616. -- ----------------------------
  1617. BEGIN;
  1618. INSERT INTO "infra_job" ("id", "name", "status", "handler_name", "handler_param", "cron_expression", "retry_count",
  1619. "retry_interval", "monitor_timeout", "creator", "create_time", "updater", "update_time",
  1620. "deleted")
  1621. VALUES (5, '支付通知 Job', 2, 'payNotifyJob', NULL, '* * * * * ?', 0, 0, 0, '1', '2021-10-27 08:34:42', '1',
  1622. '2022-04-03 20:35:25', 0);
  1623. COMMIT;
  1624. -- ----------------------------
  1625. -- Table structure for infra_job_log
  1626. -- ----------------------------
  1627. DROP TABLE IF EXISTS "infra_job_log";
  1628. CREATE TABLE "infra_job_log"
  1629. (
  1630. "id" int8 NOT NULL,
  1631. "job_id" int8 NOT NULL,
  1632. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1633. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1634. "execute_index" int2 NOT NULL,
  1635. "begin_time" timestamp(6) NOT NULL,
  1636. "end_time" timestamp(6),
  1637. "duration" int4,
  1638. "status" int2 NOT NULL,
  1639. "result" varchar(4000) COLLATE "pg_catalog"."default",
  1640. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1641. "create_time" timestamp(6) NOT NULL,
  1642. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1643. "update_time" timestamp(6) NOT NULL,
  1644. "deleted" int2 NOT NULL DEFAULT 0
  1645. )
  1646. ;
  1647. COMMENT
  1648. ON COLUMN "infra_job_log"."id" IS '日志编号';
  1649. COMMENT
  1650. ON COLUMN "infra_job_log"."job_id" IS '任务编号';
  1651. COMMENT
  1652. ON COLUMN "infra_job_log"."handler_name" IS '处理器的名字';
  1653. COMMENT
  1654. ON COLUMN "infra_job_log"."handler_param" IS '处理器的参数';
  1655. COMMENT
  1656. ON COLUMN "infra_job_log"."execute_index" IS '第几次执行';
  1657. COMMENT
  1658. ON COLUMN "infra_job_log"."begin_time" IS '开始执行时间';
  1659. COMMENT
  1660. ON COLUMN "infra_job_log"."end_time" IS '结束执行时间';
  1661. COMMENT
  1662. ON COLUMN "infra_job_log"."duration" IS '执行时长';
  1663. COMMENT
  1664. ON COLUMN "infra_job_log"."status" IS '任务状态';
  1665. COMMENT
  1666. ON COLUMN "infra_job_log"."result" IS '结果数据';
  1667. COMMENT
  1668. ON COLUMN "infra_job_log"."creator" IS '创建者';
  1669. COMMENT
  1670. ON COLUMN "infra_job_log"."create_time" IS '创建时间';
  1671. COMMENT
  1672. ON COLUMN "infra_job_log"."updater" IS '更新者';
  1673. COMMENT
  1674. ON COLUMN "infra_job_log"."update_time" IS '更新时间';
  1675. COMMENT
  1676. ON COLUMN "infra_job_log"."deleted" IS '是否删除';
  1677. COMMENT
  1678. ON TABLE "infra_job_log" IS '定时任务日志表';
  1679. -- ----------------------------
  1680. -- Records of infra_job_log
  1681. -- ----------------------------
  1682. BEGIN;
  1683. COMMIT;
  1684. -- ----------------------------
  1685. -- Table structure for infra_test_demo
  1686. -- ----------------------------
  1687. DROP TABLE IF EXISTS "infra_test_demo";
  1688. CREATE TABLE "infra_test_demo"
  1689. (
  1690. "id" int8 NOT NULL,
  1691. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1692. "status" int2 NOT NULL,
  1693. "type" int2 NOT NULL,
  1694. "category" int2 NOT NULL,
  1695. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1696. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1697. "create_time" timestamp(6) NOT NULL,
  1698. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1699. "update_time" timestamp(6) NOT NULL,
  1700. "deleted" int2 NOT NULL DEFAULT 0
  1701. )
  1702. ;
  1703. COMMENT
  1704. ON COLUMN "infra_test_demo"."id" IS '编号';
  1705. COMMENT
  1706. ON COLUMN "infra_test_demo"."name" IS '名字';
  1707. COMMENT
  1708. ON COLUMN "infra_test_demo"."status" IS '状态';
  1709. COMMENT
  1710. ON COLUMN "infra_test_demo"."type" IS '类型';
  1711. COMMENT
  1712. ON COLUMN "infra_test_demo"."category" IS '分类';
  1713. COMMENT
  1714. ON COLUMN "infra_test_demo"."remark" IS '备注';
  1715. COMMENT
  1716. ON COLUMN "infra_test_demo"."creator" IS '创建者';
  1717. COMMENT
  1718. ON COLUMN "infra_test_demo"."create_time" IS '创建时间';
  1719. COMMENT
  1720. ON COLUMN "infra_test_demo"."updater" IS '更新者';
  1721. COMMENT
  1722. ON COLUMN "infra_test_demo"."update_time" IS '更新时间';
  1723. COMMENT
  1724. ON COLUMN "infra_test_demo"."deleted" IS '是否删除';
  1725. COMMENT
  1726. ON TABLE "infra_test_demo" IS '字典类型表';
  1727. -- ----------------------------
  1728. -- Records of infra_test_demo
  1729. -- ----------------------------
  1730. BEGIN;
  1731. COMMIT;
  1732. -- ----------------------------
  1733. -- Table structure for member_user
  1734. -- ----------------------------
  1735. DROP TABLE IF EXISTS "member_user";
  1736. CREATE TABLE "member_user"
  1737. (
  1738. "id" int8 NOT NULL,
  1739. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1740. "avatar" varchar(255) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1741. "status" int2 NOT NULL,
  1742. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  1743. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1744. "register_ip" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1745. "login_ip" varchar(50) COLLATE "pg_catalog"."default" DEFAULT '',
  1746. "login_date" timestamp(6),
  1747. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1748. "create_time" timestamp(6) NOT NULL,
  1749. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1750. "update_time" timestamp(6) NOT NULL,
  1751. "deleted" int2 NOT NULL DEFAULT 0,
  1752. "tenant_id" int8 NOT NULL DEFAULT 0
  1753. )
  1754. ;
  1755. COMMENT
  1756. ON COLUMN "member_user"."id" IS '编号';
  1757. COMMENT
  1758. ON COLUMN "member_user"."nickname" IS '用户昵称';
  1759. COMMENT
  1760. ON COLUMN "member_user"."avatar" IS '头像';
  1761. COMMENT
  1762. ON COLUMN "member_user"."status" IS '状态';
  1763. COMMENT
  1764. ON COLUMN "member_user"."mobile" IS '手机号';
  1765. COMMENT
  1766. ON COLUMN "member_user"."password" IS '密码';
  1767. COMMENT
  1768. ON COLUMN "member_user"."register_ip" IS '注册 IP';
  1769. COMMENT
  1770. ON COLUMN "member_user"."login_ip" IS '最后登录IP';
  1771. COMMENT
  1772. ON COLUMN "member_user"."login_date" IS '最后登录时间';
  1773. COMMENT
  1774. ON COLUMN "member_user"."creator" IS '创建者';
  1775. COMMENT
  1776. ON COLUMN "member_user"."create_time" IS '创建时间';
  1777. COMMENT
  1778. ON COLUMN "member_user"."updater" IS '更新者';
  1779. COMMENT
  1780. ON COLUMN "member_user"."update_time" IS '更新时间';
  1781. COMMENT
  1782. ON COLUMN "member_user"."deleted" IS '是否删除';
  1783. COMMENT
  1784. ON COLUMN "member_user"."tenant_id" IS '租户编号';
  1785. COMMENT
  1786. ON TABLE "member_user" IS '用户';
  1787. -- ----------------------------
  1788. -- Records of member_user
  1789. -- ----------------------------
  1790. BEGIN;
  1791. COMMIT;
  1792. -- ----------------------------
  1793. -- Table structure for pay_app
  1794. -- ----------------------------
  1795. DROP TABLE IF EXISTS "pay_app";
  1796. CREATE TABLE "pay_app"
  1797. (
  1798. "id" int8 NOT NULL,
  1799. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1800. "status" int2 NOT NULL,
  1801. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1802. "pay_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1803. "refund_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1804. "merchant_id" int8 NOT NULL,
  1805. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1806. "create_time" timestamp(6) NOT NULL,
  1807. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1808. "update_time" timestamp(6) NOT NULL,
  1809. "deleted" int2 NOT NULL DEFAULT 0,
  1810. "tenant_id" int8 NOT NULL DEFAULT 0
  1811. )
  1812. ;
  1813. COMMENT
  1814. ON COLUMN "pay_app"."id" IS '应用编号';
  1815. COMMENT
  1816. ON COLUMN "pay_app"."name" IS '应用名';
  1817. COMMENT
  1818. ON COLUMN "pay_app"."status" IS '开启状态';
  1819. COMMENT
  1820. ON COLUMN "pay_app"."remark" IS '备注';
  1821. COMMENT
  1822. ON COLUMN "pay_app"."pay_notify_url" IS '支付结果的回调地址';
  1823. COMMENT
  1824. ON COLUMN "pay_app"."refund_notify_url" IS '退款结果的回调地址';
  1825. COMMENT
  1826. ON COLUMN "pay_app"."merchant_id" IS '商户编号';
  1827. COMMENT
  1828. ON COLUMN "pay_app"."creator" IS '创建者';
  1829. COMMENT
  1830. ON COLUMN "pay_app"."create_time" IS '创建时间';
  1831. COMMENT
  1832. ON COLUMN "pay_app"."updater" IS '更新者';
  1833. COMMENT
  1834. ON COLUMN "pay_app"."update_time" IS '更新时间';
  1835. COMMENT
  1836. ON COLUMN "pay_app"."deleted" IS '是否删除';
  1837. COMMENT
  1838. ON COLUMN "pay_app"."tenant_id" IS '租户编号';
  1839. COMMENT
  1840. ON TABLE "pay_app" IS '支付应用信息';
  1841. -- ----------------------------
  1842. -- Records of pay_app
  1843. -- ----------------------------
  1844. BEGIN;
  1845. COMMIT;
  1846. -- ----------------------------
  1847. -- Table structure for pay_channel
  1848. -- ----------------------------
  1849. DROP TABLE IF EXISTS "pay_channel";
  1850. CREATE TABLE "pay_channel"
  1851. (
  1852. "id" int8 NOT NULL,
  1853. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1854. "status" int2 NOT NULL,
  1855. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1856. "fee_rate" float8 NOT NULL,
  1857. "merchant_id" int8 NOT NULL,
  1858. "app_id" int8 NOT NULL,
  1859. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1860. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1861. "create_time" timestamp(6) NOT NULL,
  1862. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1863. "update_time" timestamp(6) NOT NULL,
  1864. "deleted" int2 NOT NULL DEFAULT 0,
  1865. "tenant_id" int8 NOT NULL DEFAULT 0
  1866. )
  1867. ;
  1868. COMMENT
  1869. ON COLUMN "pay_channel"."id" IS '商户编号';
  1870. COMMENT
  1871. ON COLUMN "pay_channel"."code" IS '渠道编码';
  1872. COMMENT
  1873. ON COLUMN "pay_channel"."status" IS '开启状态';
  1874. COMMENT
  1875. ON COLUMN "pay_channel"."remark" IS '备注';
  1876. COMMENT
  1877. ON COLUMN "pay_channel"."fee_rate" IS '渠道费率,单位:百分比';
  1878. COMMENT
  1879. ON COLUMN "pay_channel"."merchant_id" IS '商户编号';
  1880. COMMENT
  1881. ON COLUMN "pay_channel"."app_id" IS '应用编号';
  1882. COMMENT
  1883. ON COLUMN "pay_channel"."config" IS '支付渠道配置';
  1884. COMMENT
  1885. ON COLUMN "pay_channel"."creator" IS '创建者';
  1886. COMMENT
  1887. ON COLUMN "pay_channel"."create_time" IS '创建时间';
  1888. COMMENT
  1889. ON COLUMN "pay_channel"."updater" IS '更新者';
  1890. COMMENT
  1891. ON COLUMN "pay_channel"."update_time" IS '更新时间';
  1892. COMMENT
  1893. ON COLUMN "pay_channel"."deleted" IS '是否删除';
  1894. COMMENT
  1895. ON COLUMN "pay_channel"."tenant_id" IS '租户编号';
  1896. COMMENT
  1897. ON TABLE "pay_channel" IS '支付渠道
  1898. ';
  1899. -- ----------------------------
  1900. -- Records of pay_channel
  1901. -- ----------------------------
  1902. BEGIN;
  1903. COMMIT;
  1904. -- ----------------------------
  1905. -- Table structure for pay_merchant
  1906. -- ----------------------------
  1907. DROP TABLE IF EXISTS "pay_merchant";
  1908. CREATE TABLE "pay_merchant"
  1909. (
  1910. "id" int8 NOT NULL,
  1911. "no" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1912. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1913. "short_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1914. "status" int2 NOT NULL,
  1915. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1916. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1917. "create_time" timestamp(6) NOT NULL,
  1918. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1919. "update_time" timestamp(6) NOT NULL,
  1920. "deleted" int2 NOT NULL DEFAULT 0,
  1921. "tenant_id" int8 NOT NULL DEFAULT 0
  1922. )
  1923. ;
  1924. COMMENT
  1925. ON COLUMN "pay_merchant"."id" IS '商户编号';
  1926. COMMENT
  1927. ON COLUMN "pay_merchant"."no" IS '商户号';
  1928. COMMENT
  1929. ON COLUMN "pay_merchant"."name" IS '商户全称';
  1930. COMMENT
  1931. ON COLUMN "pay_merchant"."short_name" IS '商户简称';
  1932. COMMENT
  1933. ON COLUMN "pay_merchant"."status" IS '开启状态';
  1934. COMMENT
  1935. ON COLUMN "pay_merchant"."remark" IS '备注';
  1936. COMMENT
  1937. ON COLUMN "pay_merchant"."creator" IS '创建者';
  1938. COMMENT
  1939. ON COLUMN "pay_merchant"."create_time" IS '创建时间';
  1940. COMMENT
  1941. ON COLUMN "pay_merchant"."updater" IS '更新者';
  1942. COMMENT
  1943. ON COLUMN "pay_merchant"."update_time" IS '更新时间';
  1944. COMMENT
  1945. ON COLUMN "pay_merchant"."deleted" IS '是否删除';
  1946. COMMENT
  1947. ON COLUMN "pay_merchant"."tenant_id" IS '租户编号';
  1948. COMMENT
  1949. ON TABLE "pay_merchant" IS '支付商户信息';
  1950. -- ----------------------------
  1951. -- Records of pay_merchant
  1952. -- ----------------------------
  1953. BEGIN;
  1954. COMMIT;
  1955. -- ----------------------------
  1956. -- Table structure for pay_notify_log
  1957. -- ----------------------------
  1958. DROP TABLE IF EXISTS "pay_notify_log";
  1959. CREATE TABLE "pay_notify_log"
  1960. (
  1961. "id" int8 NOT NULL,
  1962. "task_id" int8 NOT NULL,
  1963. "notify_times" int2 NOT NULL,
  1964. "response" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  1965. "status" int2 NOT NULL,
  1966. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1967. "create_time" timestamp(6) NOT NULL,
  1968. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1969. "update_time" timestamp(6) NOT NULL,
  1970. "deleted" int2 NOT NULL DEFAULT 0,
  1971. "tenant_id" int8 NOT NULL DEFAULT 0
  1972. )
  1973. ;
  1974. COMMENT
  1975. ON COLUMN "pay_notify_log"."id" IS '日志编号';
  1976. COMMENT
  1977. ON COLUMN "pay_notify_log"."task_id" IS '通知任务编号';
  1978. COMMENT
  1979. ON COLUMN "pay_notify_log"."notify_times" IS '第几次被通知';
  1980. COMMENT
  1981. ON COLUMN "pay_notify_log"."response" IS '请求参数';
  1982. COMMENT
  1983. ON COLUMN "pay_notify_log"."status" IS '通知状态';
  1984. COMMENT
  1985. ON COLUMN "pay_notify_log"."creator" IS '创建者';
  1986. COMMENT
  1987. ON COLUMN "pay_notify_log"."create_time" IS '创建时间';
  1988. COMMENT
  1989. ON COLUMN "pay_notify_log"."updater" IS '更新者';
  1990. COMMENT
  1991. ON COLUMN "pay_notify_log"."update_time" IS '更新时间';
  1992. COMMENT
  1993. ON COLUMN "pay_notify_log"."deleted" IS '是否删除';
  1994. COMMENT
  1995. ON COLUMN "pay_notify_log"."tenant_id" IS '租户编号';
  1996. COMMENT
  1997. ON TABLE "pay_notify_log" IS '支付通知 App 的日志';
  1998. -- ----------------------------
  1999. -- Records of pay_notify_log
  2000. -- ----------------------------
  2001. BEGIN;
  2002. COMMIT;
  2003. -- ----------------------------
  2004. -- Table structure for pay_notify_task
  2005. -- ----------------------------
  2006. DROP TABLE IF EXISTS "pay_notify_task";
  2007. CREATE TABLE "pay_notify_task"
  2008. (
  2009. "id" int8 NOT NULL,
  2010. "merchant_id" int8 NOT NULL,
  2011. "app_id" int8 NOT NULL,
  2012. "type" int2 NOT NULL,
  2013. "data_id" int8 NOT NULL,
  2014. "status" int2 NOT NULL,
  2015. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2016. "next_notify_time" timestamp(6) NOT NULL,
  2017. "last_execute_time" timestamp(6) NOT NULL,
  2018. "notify_times" int2 NOT NULL,
  2019. "max_notify_times" int2 NOT NULL,
  2020. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2021. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2022. "create_time" timestamp(6) NOT NULL,
  2023. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2024. "update_time" timestamp(6) NOT NULL,
  2025. "deleted" int2 NOT NULL DEFAULT 0,
  2026. "tenant_id" int8 NOT NULL DEFAULT 0
  2027. )
  2028. ;
  2029. COMMENT
  2030. ON COLUMN "pay_notify_task"."id" IS '任务编号';
  2031. COMMENT
  2032. ON COLUMN "pay_notify_task"."merchant_id" IS '商户编号';
  2033. COMMENT
  2034. ON COLUMN "pay_notify_task"."app_id" IS '应用编号';
  2035. COMMENT
  2036. ON COLUMN "pay_notify_task"."type" IS '通知类型';
  2037. COMMENT
  2038. ON COLUMN "pay_notify_task"."data_id" IS '数据编号';
  2039. COMMENT
  2040. ON COLUMN "pay_notify_task"."status" IS '通知状态';
  2041. COMMENT
  2042. ON COLUMN "pay_notify_task"."merchant_order_id" IS '商户订单编号';
  2043. COMMENT
  2044. ON COLUMN "pay_notify_task"."next_notify_time" IS '下一次通知时间';
  2045. COMMENT
  2046. ON COLUMN "pay_notify_task"."last_execute_time" IS '最后一次执行时间';
  2047. COMMENT
  2048. ON COLUMN "pay_notify_task"."notify_times" IS '当前通知次数';
  2049. COMMENT
  2050. ON COLUMN "pay_notify_task"."max_notify_times" IS '最大可通知次数';
  2051. COMMENT
  2052. ON COLUMN "pay_notify_task"."notify_url" IS '异步通知地址';
  2053. COMMENT
  2054. ON COLUMN "pay_notify_task"."creator" IS '创建者';
  2055. COMMENT
  2056. ON COLUMN "pay_notify_task"."create_time" IS '创建时间';
  2057. COMMENT
  2058. ON COLUMN "pay_notify_task"."updater" IS '更新者';
  2059. COMMENT
  2060. ON COLUMN "pay_notify_task"."update_time" IS '更新时间';
  2061. COMMENT
  2062. ON COLUMN "pay_notify_task"."deleted" IS '是否删除';
  2063. COMMENT
  2064. ON COLUMN "pay_notify_task"."tenant_id" IS '租户编号';
  2065. COMMENT
  2066. ON TABLE "pay_notify_task" IS '商户支付、退款等的通知
  2067. ';
  2068. -- ----------------------------
  2069. -- Records of pay_notify_task
  2070. -- ----------------------------
  2071. BEGIN;
  2072. COMMIT;
  2073. -- ----------------------------
  2074. -- Table structure for pay_order
  2075. -- ----------------------------
  2076. DROP TABLE IF EXISTS "pay_order";
  2077. CREATE TABLE "pay_order"
  2078. (
  2079. "id" int8 NOT NULL,
  2080. "merchant_id" int8 NOT NULL,
  2081. "app_id" int8 NOT NULL,
  2082. "channel_id" int8,
  2083. "channel_code" varchar(32) COLLATE "pg_catalog"."default",
  2084. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2085. "subject" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2086. "body" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  2087. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2088. "notify_status" int2 NOT NULL,
  2089. "amount" int8 NOT NULL,
  2090. "channel_fee_rate" float8,
  2091. "channel_fee_amount" int8,
  2092. "status" int2 NOT NULL,
  2093. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2094. "expire_time" timestamp(6) NOT NULL,
  2095. "success_time" timestamp(6),
  2096. "notify_time" timestamp(6),
  2097. "success_extension_id" int8,
  2098. "refund_status" int2 NOT NULL,
  2099. "refund_times" int2 NOT NULL,
  2100. "refund_amount" int8 NOT NULL,
  2101. "channel_user_id" varchar(255) COLLATE "pg_catalog"."default",
  2102. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default",
  2103. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2104. "create_time" timestamp(6) NOT NULL,
  2105. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2106. "update_time" timestamp(6) NOT NULL,
  2107. "deleted" int2 NOT NULL DEFAULT 0,
  2108. "tenant_id" int8 NOT NULL DEFAULT 0
  2109. )
  2110. ;
  2111. COMMENT
  2112. ON COLUMN "pay_order"."id" IS '支付订单编号';
  2113. COMMENT
  2114. ON COLUMN "pay_order"."merchant_id" IS '商户编号';
  2115. COMMENT
  2116. ON COLUMN "pay_order"."app_id" IS '应用编号';
  2117. COMMENT
  2118. ON COLUMN "pay_order"."channel_id" IS '渠道编号';
  2119. COMMENT
  2120. ON COLUMN "pay_order"."channel_code" IS '渠道编码';
  2121. COMMENT
  2122. ON COLUMN "pay_order"."merchant_order_id" IS '商户订单编号';
  2123. COMMENT
  2124. ON COLUMN "pay_order"."subject" IS '商品标题';
  2125. COMMENT
  2126. ON COLUMN "pay_order"."body" IS '商品描述';
  2127. COMMENT
  2128. ON COLUMN "pay_order"."notify_url" IS '异步通知地址';
  2129. COMMENT
  2130. ON COLUMN "pay_order"."notify_status" IS '通知商户支付结果的回调状态';
  2131. COMMENT
  2132. ON COLUMN "pay_order"."amount" IS '支付金额,单位:分';
  2133. COMMENT
  2134. ON COLUMN "pay_order"."channel_fee_rate" IS '渠道手续费,单位:百分比';
  2135. COMMENT
  2136. ON COLUMN "pay_order"."channel_fee_amount" IS '渠道手续金额,单位:分';
  2137. COMMENT
  2138. ON COLUMN "pay_order"."status" IS '支付状态';
  2139. COMMENT
  2140. ON COLUMN "pay_order"."user_ip" IS '用户 IP';
  2141. COMMENT
  2142. ON COLUMN "pay_order"."expire_time" IS '订单失效时间';
  2143. COMMENT
  2144. ON COLUMN "pay_order"."success_time" IS '订单支付成功时间';
  2145. COMMENT
  2146. ON COLUMN "pay_order"."notify_time" IS '订单支付通知时间';
  2147. COMMENT
  2148. ON COLUMN "pay_order"."success_extension_id" IS '支付成功的订单拓展单编号';
  2149. COMMENT
  2150. ON COLUMN "pay_order"."refund_status" IS '退款状态';
  2151. COMMENT
  2152. ON COLUMN "pay_order"."refund_times" IS '退款次数';
  2153. COMMENT
  2154. ON COLUMN "pay_order"."refund_amount" IS '退款总金额,单位:分';
  2155. COMMENT
  2156. ON COLUMN "pay_order"."channel_user_id" IS '渠道用户编号';
  2157. COMMENT
  2158. ON COLUMN "pay_order"."channel_order_no" IS '渠道订单号';
  2159. COMMENT
  2160. ON COLUMN "pay_order"."creator" IS '创建者';
  2161. COMMENT
  2162. ON COLUMN "pay_order"."create_time" IS '创建时间';
  2163. COMMENT
  2164. ON COLUMN "pay_order"."updater" IS '更新者';
  2165. COMMENT
  2166. ON COLUMN "pay_order"."update_time" IS '更新时间';
  2167. COMMENT
  2168. ON COLUMN "pay_order"."deleted" IS '是否删除';
  2169. COMMENT
  2170. ON COLUMN "pay_order"."tenant_id" IS '租户编号';
  2171. COMMENT
  2172. ON TABLE "pay_order" IS '支付订单
  2173. ';
  2174. -- ----------------------------
  2175. -- Records of pay_order
  2176. -- ----------------------------
  2177. BEGIN;
  2178. COMMIT;
  2179. -- ----------------------------
  2180. -- Table structure for pay_order_extension
  2181. -- ----------------------------
  2182. DROP TABLE IF EXISTS "pay_order_extension";
  2183. CREATE TABLE "pay_order_extension"
  2184. (
  2185. "id" int8 NOT NULL,
  2186. "no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2187. "order_id" int8 NOT NULL,
  2188. "channel_id" int8 NOT NULL,
  2189. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2190. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2191. "status" int2 NOT NULL,
  2192. "channel_extras" varchar(256) COLLATE "pg_catalog"."default",
  2193. "channel_notify_data" varchar(1024) COLLATE "pg_catalog"."default",
  2194. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2195. "create_time" timestamp(6) NOT NULL,
  2196. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2197. "update_time" timestamp(6) NOT NULL,
  2198. "deleted" int2 NOT NULL DEFAULT 0,
  2199. "tenant_id" int8 NOT NULL DEFAULT 0
  2200. )
  2201. ;
  2202. COMMENT
  2203. ON COLUMN "pay_order_extension"."id" IS '支付订单编号';
  2204. COMMENT
  2205. ON COLUMN "pay_order_extension"."no" IS '支付订单号';
  2206. COMMENT
  2207. ON COLUMN "pay_order_extension"."order_id" IS '支付订单编号';
  2208. COMMENT
  2209. ON COLUMN "pay_order_extension"."channel_id" IS '渠道编号';
  2210. COMMENT
  2211. ON COLUMN "pay_order_extension"."channel_code" IS '渠道编码';
  2212. COMMENT
  2213. ON COLUMN "pay_order_extension"."user_ip" IS '用户 IP';
  2214. COMMENT
  2215. ON COLUMN "pay_order_extension"."status" IS '支付状态';
  2216. COMMENT
  2217. ON COLUMN "pay_order_extension"."channel_extras" IS '支付渠道的额外参数';
  2218. COMMENT
  2219. ON COLUMN "pay_order_extension"."channel_notify_data" IS '支付渠道异步通知的内容';
  2220. COMMENT
  2221. ON COLUMN "pay_order_extension"."creator" IS '创建者';
  2222. COMMENT
  2223. ON COLUMN "pay_order_extension"."create_time" IS '创建时间';
  2224. COMMENT
  2225. ON COLUMN "pay_order_extension"."updater" IS '更新者';
  2226. COMMENT
  2227. ON COLUMN "pay_order_extension"."update_time" IS '更新时间';
  2228. COMMENT
  2229. ON COLUMN "pay_order_extension"."deleted" IS '是否删除';
  2230. COMMENT
  2231. ON COLUMN "pay_order_extension"."tenant_id" IS '租户编号';
  2232. COMMENT
  2233. ON TABLE "pay_order_extension" IS '支付订单
  2234. ';
  2235. -- ----------------------------
  2236. -- Records of pay_order_extension
  2237. -- ----------------------------
  2238. BEGIN;
  2239. COMMIT;
  2240. -- ----------------------------
  2241. -- Table structure for pay_refund
  2242. -- ----------------------------
  2243. DROP TABLE IF EXISTS "pay_refund";
  2244. CREATE TABLE "pay_refund"
  2245. (
  2246. "id" int8 NOT NULL,
  2247. "merchant_id" int8 NOT NULL,
  2248. "app_id" int8 NOT NULL,
  2249. "channel_id" int8 NOT NULL,
  2250. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2251. "order_id" int8 NOT NULL,
  2252. "trade_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2253. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2254. "merchant_refund_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2255. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2256. "notify_status" int2 NOT NULL,
  2257. "status" int2 NOT NULL,
  2258. "type" int2 NOT NULL,
  2259. "pay_amount" int8 NOT NULL,
  2260. "refund_amount" int8 NOT NULL,
  2261. "reason" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  2262. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  2263. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2264. "channel_refund_no" varchar(64) COLLATE "pg_catalog"."default",
  2265. "channel_error_code" varchar(128) COLLATE "pg_catalog"."default",
  2266. "channel_error_msg" varchar(256) COLLATE "pg_catalog"."default",
  2267. "channel_extras" varchar(1024) COLLATE "pg_catalog"."default",
  2268. "expire_time" timestamp(6),
  2269. "success_time" timestamp(6),
  2270. "notify_time" timestamp(6),
  2271. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2272. "create_time" timestamp(6) NOT NULL,
  2273. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2274. "update_time" timestamp(6) NOT NULL,
  2275. "deleted" int2 NOT NULL DEFAULT 0,
  2276. "tenant_id" int8 NOT NULL DEFAULT 0
  2277. )
  2278. ;
  2279. COMMENT
  2280. ON COLUMN "pay_refund"."id" IS '支付退款编号';
  2281. COMMENT
  2282. ON COLUMN "pay_refund"."merchant_id" IS '商户编号';
  2283. COMMENT
  2284. ON COLUMN "pay_refund"."app_id" IS '应用编号';
  2285. COMMENT
  2286. ON COLUMN "pay_refund"."channel_id" IS '渠道编号';
  2287. COMMENT
  2288. ON COLUMN "pay_refund"."channel_code" IS '渠道编码';
  2289. COMMENT
  2290. ON COLUMN "pay_refund"."order_id" IS '支付订单编号 pay_order 表id';
  2291. COMMENT
  2292. ON COLUMN "pay_refund"."trade_no" IS '交易订单号 pay_extension 表no 字段';
  2293. COMMENT
  2294. ON COLUMN "pay_refund"."merchant_order_id" IS '商户订单编号(商户系统生成)';
  2295. COMMENT
  2296. ON COLUMN "pay_refund"."merchant_refund_no" IS '商户退款订单号(商户系统生成)';
  2297. COMMENT
  2298. ON COLUMN "pay_refund"."notify_url" IS '异步通知商户地址';
  2299. COMMENT
  2300. ON COLUMN "pay_refund"."notify_status" IS '通知商户退款结果的回调状态';
  2301. COMMENT
  2302. ON COLUMN "pay_refund"."status" IS '退款状态';
  2303. COMMENT
  2304. ON COLUMN "pay_refund"."type" IS '退款类型(部分退款,全部退款)';
  2305. COMMENT
  2306. ON COLUMN "pay_refund"."pay_amount" IS '支付金额,单位分';
  2307. COMMENT
  2308. ON COLUMN "pay_refund"."refund_amount" IS '退款金额,单位分';
  2309. COMMENT
  2310. ON COLUMN "pay_refund"."reason" IS '退款原因';
  2311. COMMENT
  2312. ON COLUMN "pay_refund"."user_ip" IS '用户 IP';
  2313. COMMENT
  2314. ON COLUMN "pay_refund"."channel_order_no" IS '渠道订单号,pay_order 中的channel_order_no 对应';
  2315. COMMENT
  2316. ON COLUMN "pay_refund"."channel_refund_no" IS '渠道退款单号,渠道返回';
  2317. COMMENT
  2318. ON COLUMN "pay_refund"."channel_error_code" IS '渠道调用报错时,错误码';
  2319. COMMENT
  2320. ON COLUMN "pay_refund"."channel_error_msg" IS '渠道调用报错时,错误信息';
  2321. COMMENT
  2322. ON COLUMN "pay_refund"."channel_extras" IS '支付渠道的额外参数';
  2323. COMMENT
  2324. ON COLUMN "pay_refund"."expire_time" IS '退款失效时间';
  2325. COMMENT
  2326. ON COLUMN "pay_refund"."success_time" IS '退款成功时间';
  2327. COMMENT
  2328. ON COLUMN "pay_refund"."notify_time" IS '退款通知时间';
  2329. COMMENT
  2330. ON COLUMN "pay_refund"."creator" IS '创建者';
  2331. COMMENT
  2332. ON COLUMN "pay_refund"."create_time" IS '创建时间';
  2333. COMMENT
  2334. ON COLUMN "pay_refund"."updater" IS '更新者';
  2335. COMMENT
  2336. ON COLUMN "pay_refund"."update_time" IS '更新时间';
  2337. COMMENT
  2338. ON COLUMN "pay_refund"."deleted" IS '是否删除';
  2339. COMMENT
  2340. ON COLUMN "pay_refund"."tenant_id" IS '租户编号';
  2341. COMMENT
  2342. ON TABLE "pay_refund" IS '退款订单';
  2343. -- ----------------------------
  2344. -- Records of pay_refund
  2345. -- ----------------------------
  2346. BEGIN;
  2347. COMMIT;
  2348. -- ----------------------------
  2349. -- Table structure for qrtz_blob_triggers
  2350. -- ----------------------------
  2351. DROP TABLE IF EXISTS "qrtz_blob_triggers";
  2352. CREATE TABLE "qrtz_blob_triggers"
  2353. (
  2354. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2355. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2356. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2357. "blob_data" bytea
  2358. )
  2359. ;
  2360. -- ----------------------------
  2361. -- Records of qrtz_blob_triggers
  2362. -- ----------------------------
  2363. BEGIN;
  2364. COMMIT;
  2365. -- ----------------------------
  2366. -- Table structure for qrtz_calendars
  2367. -- ----------------------------
  2368. DROP TABLE IF EXISTS "qrtz_calendars";
  2369. CREATE TABLE "qrtz_calendars"
  2370. (
  2371. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2372. "calendar_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2373. "calendar" bytea NOT NULL
  2374. )
  2375. ;
  2376. -- ----------------------------
  2377. -- Records of qrtz_calendars
  2378. -- ----------------------------
  2379. BEGIN;
  2380. COMMIT;
  2381. -- ----------------------------
  2382. -- Table structure for qrtz_cron_triggers
  2383. -- ----------------------------
  2384. DROP TABLE IF EXISTS "qrtz_cron_triggers";
  2385. CREATE TABLE "qrtz_cron_triggers"
  2386. (
  2387. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2388. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2389. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2390. "cron_expression" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2391. "time_zone_id" varchar(80) COLLATE "pg_catalog"."default"
  2392. )
  2393. ;
  2394. -- ----------------------------
  2395. -- Records of qrtz_cron_triggers
  2396. -- ----------------------------
  2397. BEGIN;
  2398. COMMIT;
  2399. -- ----------------------------
  2400. -- Table structure for qrtz_fired_triggers
  2401. -- ----------------------------
  2402. DROP TABLE IF EXISTS "qrtz_fired_triggers";
  2403. CREATE TABLE "qrtz_fired_triggers"
  2404. (
  2405. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2406. "entry_id" varchar(95) COLLATE "pg_catalog"."default" NOT NULL,
  2407. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2408. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2409. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2410. "fired_time" int8 NOT NULL,
  2411. "sched_time" int8 NOT NULL,
  2412. "priority" int4 NOT NULL,
  2413. "state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  2414. "job_name" varchar(200) COLLATE "pg_catalog"."default",
  2415. "job_group" varchar(200) COLLATE "pg_catalog"."default",
  2416. "is_nonconcurrent" bool,
  2417. "requests_recovery" bool
  2418. )
  2419. ;
  2420. -- ----------------------------
  2421. -- Records of qrtz_fired_triggers
  2422. -- ----------------------------
  2423. BEGIN;
  2424. COMMIT;
  2425. -- ----------------------------
  2426. -- Table structure for qrtz_job_details
  2427. -- ----------------------------
  2428. DROP TABLE IF EXISTS "qrtz_job_details";
  2429. CREATE TABLE "qrtz_job_details"
  2430. (
  2431. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2432. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2433. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2434. "description" varchar(250) COLLATE "pg_catalog"."default",
  2435. "job_class_name" varchar(250) COLLATE "pg_catalog"."default" NOT NULL,
  2436. "is_durable" bool NOT NULL,
  2437. "is_nonconcurrent" bool NOT NULL,
  2438. "is_update_data" bool NOT NULL,
  2439. "requests_recovery" bool NOT NULL,
  2440. "job_data" bytea
  2441. )
  2442. ;
  2443. -- ----------------------------
  2444. -- Records of qrtz_job_details
  2445. -- ----------------------------
  2446. BEGIN;
  2447. INSERT INTO "qrtz_job_details" ("sched_name", "job_name", "job_group", "description", "job_class_name", "is_durable",
  2448. "is_nonconcurrent", "is_update_data", "requests_recovery", "job_data")
  2449. VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', NULL,
  2450. 'cn.iocoder.yudao.framework.quartz.core.handler.JobHandlerInvoker', 'f', 't', 't', 'f',
  2451. '\\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');
  2452. COMMIT;
  2453. -- ----------------------------
  2454. -- Table structure for qrtz_locks
  2455. -- ----------------------------
  2456. DROP TABLE IF EXISTS "qrtz_locks";
  2457. CREATE TABLE "qrtz_locks"
  2458. (
  2459. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2460. "lock_name" varchar(40) COLLATE "pg_catalog"."default" NOT NULL
  2461. )
  2462. ;
  2463. -- ----------------------------
  2464. -- Records of qrtz_locks
  2465. -- ----------------------------
  2466. BEGIN;
  2467. INSERT INTO "qrtz_locks" ("sched_name", "lock_name")
  2468. VALUES ('schedulerName', 'TRIGGER_ACCESS');
  2469. INSERT INTO "qrtz_locks" ("sched_name", "lock_name")
  2470. VALUES ('schedulerName', 'STATE_ACCESS');
  2471. COMMIT;
  2472. -- ----------------------------
  2473. -- Table structure for qrtz_paused_trigger_grps
  2474. -- ----------------------------
  2475. DROP TABLE IF EXISTS "qrtz_paused_trigger_grps";
  2476. CREATE TABLE "qrtz_paused_trigger_grps"
  2477. (
  2478. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2479. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL
  2480. )
  2481. ;
  2482. -- ----------------------------
  2483. -- Records of qrtz_paused_trigger_grps
  2484. -- ----------------------------
  2485. BEGIN;
  2486. COMMIT;
  2487. -- ----------------------------
  2488. -- Table structure for qrtz_scheduler_state
  2489. -- ----------------------------
  2490. DROP TABLE IF EXISTS "qrtz_scheduler_state";
  2491. CREATE TABLE "qrtz_scheduler_state"
  2492. (
  2493. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2494. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2495. "last_checkin_time" int8 NOT NULL,
  2496. "checkin_interval" int8 NOT NULL
  2497. )
  2498. ;
  2499. -- ----------------------------
  2500. -- Records of qrtz_scheduler_state
  2501. -- ----------------------------
  2502. BEGIN;
  2503. INSERT INTO "qrtz_scheduler_state" ("sched_name", "instance_name", "last_checkin_time", "checkin_interval")
  2504. VALUES ('schedulerName', 'Yunai.local1651328569660', 1651328650075, 15000);
  2505. COMMIT;
  2506. -- ----------------------------
  2507. -- Table structure for qrtz_simple_triggers
  2508. -- ----------------------------
  2509. DROP TABLE IF EXISTS "qrtz_simple_triggers";
  2510. CREATE TABLE "qrtz_simple_triggers"
  2511. (
  2512. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2513. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2514. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2515. "repeat_count" int8 NOT NULL,
  2516. "repeat_interval" int8 NOT NULL,
  2517. "times_triggered" int8 NOT NULL
  2518. )
  2519. ;
  2520. -- ----------------------------
  2521. -- Records of qrtz_simple_triggers
  2522. -- ----------------------------
  2523. BEGIN;
  2524. COMMIT;
  2525. -- ----------------------------
  2526. -- Table structure for qrtz_simprop_triggers
  2527. -- ----------------------------
  2528. DROP TABLE IF EXISTS "qrtz_simprop_triggers";
  2529. CREATE TABLE "qrtz_simprop_triggers"
  2530. (
  2531. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2532. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2533. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2534. "str_prop_1" varchar(512) COLLATE "pg_catalog"."default",
  2535. "str_prop_2" varchar(512) COLLATE "pg_catalog"."default",
  2536. "str_prop_3" varchar(512) COLLATE "pg_catalog"."default",
  2537. "int_prop_1" int4,
  2538. "int_prop_2" int4,
  2539. "long_prop_1" int8,
  2540. "long_prop_2" int8,
  2541. "dec_prop_1" numeric(13, 4),
  2542. "dec_prop_2" numeric(13, 4),
  2543. "bool_prop_1" bool,
  2544. "bool_prop_2" bool
  2545. )
  2546. ;
  2547. -- ----------------------------
  2548. -- Records of qrtz_simprop_triggers
  2549. -- ----------------------------
  2550. BEGIN;
  2551. COMMIT;
  2552. -- ----------------------------
  2553. -- Table structure for qrtz_triggers
  2554. -- ----------------------------
  2555. DROP TABLE IF EXISTS "qrtz_triggers";
  2556. CREATE TABLE "qrtz_triggers"
  2557. (
  2558. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2559. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2560. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2561. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2562. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2563. "description" varchar(250) COLLATE "pg_catalog"."default",
  2564. "next_fire_time" int8,
  2565. "prev_fire_time" int8,
  2566. "priority" int4,
  2567. "trigger_state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  2568. "trigger_type" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  2569. "start_time" int8 NOT NULL,
  2570. "end_time" int8,
  2571. "calendar_name" varchar(200) COLLATE "pg_catalog"."default",
  2572. "misfire_instr" int2,
  2573. "job_data" bytea
  2574. )
  2575. ;
  2576. -- ----------------------------
  2577. -- Records of qrtz_triggers
  2578. -- ----------------------------
  2579. BEGIN;
  2580. INSERT INTO "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group", "job_name", "job_group", "description",
  2581. "next_fire_time", "prev_fire_time", "priority", "trigger_state", "trigger_type",
  2582. "start_time", "end_time", "calendar_name", "misfire_instr", "job_data")
  2583. VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', 'userSessionTimeoutJob', 'DEFAULT', NULL, 1651328700000,
  2584. 1651328640000, 5, 'WAITING', 'CRON', 1651328526000, 0, NULL, 0,
  2585. '\\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');
  2586. COMMIT;
  2587. -- ----------------------------
  2588. -- Table structure for system_dept
  2589. -- ----------------------------
  2590. DROP TABLE IF EXISTS "system_dept";
  2591. CREATE TABLE "system_dept"
  2592. (
  2593. "id" int8 NOT NULL,
  2594. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  2595. "parent_id" int8 NOT NULL,
  2596. "sort" int4 NOT NULL,
  2597. "leader_user_id" int8,
  2598. "phone" varchar(11) COLLATE "pg_catalog"."default",
  2599. "email" varchar(50) COLLATE "pg_catalog"."default",
  2600. "status" int2 NOT NULL,
  2601. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2602. "create_time" timestamp(6) NOT NULL,
  2603. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2604. "update_time" timestamp(6) NOT NULL,
  2605. "deleted" int2 NOT NULL DEFAULT 0,
  2606. "tenant_id" int8 NOT NULL DEFAULT 0
  2607. )
  2608. ;
  2609. COMMENT
  2610. ON COLUMN "system_dept"."id" IS '部门id';
  2611. COMMENT
  2612. ON COLUMN "system_dept"."name" IS '部门名称';
  2613. COMMENT
  2614. ON COLUMN "system_dept"."parent_id" IS '父部门id';
  2615. COMMENT
  2616. ON COLUMN "system_dept"."sort" IS '显示顺序';
  2617. COMMENT
  2618. ON COLUMN "system_dept"."leader_user_id" IS '负责人';
  2619. COMMENT
  2620. ON COLUMN "system_dept"."phone" IS '联系电话';
  2621. COMMENT
  2622. ON COLUMN "system_dept"."email" IS '邮箱';
  2623. COMMENT
  2624. ON COLUMN "system_dept"."status" IS '部门状态(0正常 1停用)';
  2625. COMMENT
  2626. ON COLUMN "system_dept"."creator" IS '创建者';
  2627. COMMENT
  2628. ON COLUMN "system_dept"."create_time" IS '创建时间';
  2629. COMMENT
  2630. ON COLUMN "system_dept"."updater" IS '更新者';
  2631. COMMENT
  2632. ON COLUMN "system_dept"."update_time" IS '更新时间';
  2633. COMMENT
  2634. ON COLUMN "system_dept"."deleted" IS '是否删除';
  2635. COMMENT
  2636. ON COLUMN "system_dept"."tenant_id" IS '租户编号';
  2637. COMMENT
  2638. ON TABLE "system_dept" IS '部门表';
  2639. -- ----------------------------
  2640. -- Records of system_dept
  2641. -- ----------------------------
  2642. BEGIN;
  2643. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2644. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2645. VALUES (100, '芋道源码', 0, 0, 1, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2646. '2022-01-14 01:04:05', 0, 1);
  2647. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2648. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2649. VALUES (101, '深圳总公司', 100, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1',
  2650. '2022-02-22 19:47:48', 0, 1);
  2651. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2652. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2653. VALUES (102, '长沙分公司', 100, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2654. '2021-12-15 05:01:40', 0, 1);
  2655. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2656. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2657. VALUES (103, '研发部门', 101, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2658. '2022-01-14 01:04:14', 0, 1);
  2659. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2660. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2661. VALUES (104, '市场部门', 101, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2662. '2021-12-15 05:01:38', 0, 1);
  2663. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2664. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2665. VALUES (105, '测试部门', 101, 3, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2666. '2021-12-15 05:01:37', 0, 1);
  2667. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2668. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2669. VALUES (106, '财务部门', 101, 4, 103, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2670. '2022-01-15 21:32:22', 0, 1);
  2671. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2672. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2673. VALUES (107, '运维部门', 101, 5, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2674. '2021-12-15 05:01:33', 0, 1);
  2675. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2676. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2677. VALUES (108, '市场部门', 102, 1, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1',
  2678. '2022-02-16 08:35:45', 0, 1);
  2679. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2680. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2681. VALUES (109, '财务部门', 102, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2682. '2021-12-15 05:01:29', 0, 1);
  2683. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2684. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2685. VALUES (110, '新部门', 0, 1, NULL, NULL, NULL, 0, '110', '2022-02-23 20:46:30', '110', '2022-02-23 20:46:30', 0, 121);
  2686. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2687. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2688. VALUES (111, '顶级部门', 0, 1, NULL, NULL, NULL, 0, '113', '2022-03-07 21:44:50', '113', '2022-03-07 21:44:50', 0, 122);
  2689. COMMIT;
  2690. -- ----------------------------
  2691. -- Table structure for system_dict_data
  2692. -- ----------------------------
  2693. DROP TABLE IF EXISTS "system_dict_data";
  2694. CREATE TABLE "system_dict_data"
  2695. (
  2696. "id" int8 NOT NULL,
  2697. "sort" int4 NOT NULL,
  2698. "label" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2699. "value" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2700. "dict_type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2701. "status" int2 NOT NULL,
  2702. "color_type" varchar(100) COLLATE "pg_catalog"."default",
  2703. "css_class" varchar(100) COLLATE "pg_catalog"."default",
  2704. "remark" varchar(500) COLLATE "pg_catalog"."default",
  2705. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2706. "create_time" timestamp(6) NOT NULL,
  2707. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2708. "update_time" timestamp(6) NOT NULL,
  2709. "deleted" int2 NOT NULL DEFAULT 0
  2710. )
  2711. ;
  2712. COMMENT
  2713. ON COLUMN "system_dict_data"."id" IS '字典编码';
  2714. COMMENT
  2715. ON COLUMN "system_dict_data"."sort" IS '字典排序';
  2716. COMMENT
  2717. ON COLUMN "system_dict_data"."label" IS '字典标签';
  2718. COMMENT
  2719. ON COLUMN "system_dict_data"."value" IS '字典键值';
  2720. COMMENT
  2721. ON COLUMN "system_dict_data"."dict_type" IS '字典类型';
  2722. COMMENT
  2723. ON COLUMN "system_dict_data"."status" IS '状态(0正常 1停用)';
  2724. COMMENT
  2725. ON COLUMN "system_dict_data"."color_type" IS '颜色类型';
  2726. COMMENT
  2727. ON COLUMN "system_dict_data"."css_class" IS 'css 样式';
  2728. COMMENT
  2729. ON COLUMN "system_dict_data"."remark" IS '备注';
  2730. COMMENT
  2731. ON COLUMN "system_dict_data"."creator" IS '创建者';
  2732. COMMENT
  2733. ON COLUMN "system_dict_data"."create_time" IS '创建时间';
  2734. COMMENT
  2735. ON COLUMN "system_dict_data"."updater" IS '更新者';
  2736. COMMENT
  2737. ON COLUMN "system_dict_data"."update_time" IS '更新时间';
  2738. COMMENT
  2739. ON COLUMN "system_dict_data"."deleted" IS '是否删除';
  2740. COMMENT
  2741. ON TABLE "system_dict_data" IS '字典数据表';
  2742. -- ----------------------------
  2743. -- Records of system_dict_data
  2744. -- ----------------------------
  2745. BEGIN;
  2746. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2747. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2748. VALUES (1, 1, '男', '1', 'system_user_sex', 0, 'default', 'A', '性别男', 'admin', '2021-01-05 17:03:48', '1',
  2749. '2022-03-29 00:14:39', 0);
  2750. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2751. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2752. VALUES (2, 2, '女', '2', 'system_user_sex', 1, 'success', '', '性别女', 'admin', '2021-01-05 17:03:48', '1',
  2753. '2022-02-16 01:30:51', 0);
  2754. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2755. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2756. VALUES (8, 1, '正常', '1', 'infra_job_status', 0, 'success', '', '正常状态', 'admin', '2021-01-05 17:03:48', '1',
  2757. '2022-02-16 19:33:38', 0);
  2758. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2759. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2760. VALUES (9, 2, '暂停', '2', 'infra_job_status', 0, 'danger', '', '停用状态', 'admin', '2021-01-05 17:03:48', '1',
  2761. '2022-02-16 19:33:45', 0);
  2762. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2763. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2764. VALUES (12, 1, '系统内置', '1', 'infra_config_type', 0, 'danger', '', '参数类型 - 系统内置', 'admin',
  2765. '2021-01-05 17:03:48', '1', '2022-02-16 19:06:02', 0);
  2766. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2767. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2768. VALUES (13, 2, '自定义', '2', 'infra_config_type', 0, 'primary', '', '参数类型 - 自定义', 'admin',
  2769. '2021-01-05 17:03:48', '1', '2022-02-16 19:06:07', 0);
  2770. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2771. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2772. VALUES (14, 1, '通知', '1', 'system_notice_type', 0, 'success', '', '通知', 'admin', '2021-01-05 17:03:48', '1',
  2773. '2022-02-16 13:05:57', 0);
  2774. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2775. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2776. VALUES (15, 2, '公告', '2', 'system_notice_type', 0, 'info', '', '公告', 'admin', '2021-01-05 17:03:48', '1',
  2777. '2022-02-16 13:06:01', 0);
  2778. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2779. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2780. VALUES (16, 0, '其它', '0', 'system_operate_type', 0, 'default', '', '其它操作', 'admin', '2021-01-05 17:03:48', '1',
  2781. '2022-02-16 09:32:46', 0);
  2782. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2783. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2784. VALUES (17, 1, '查询', '1', 'system_operate_type', 0, 'info', '', '查询操作', 'admin', '2021-01-05 17:03:48', '1',
  2785. '2022-02-16 09:33:16', 0);
  2786. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2787. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2788. VALUES (18, 2, '新增', '2', 'system_operate_type', 0, 'primary', '', '新增操作', 'admin', '2021-01-05 17:03:48', '1',
  2789. '2022-02-16 09:33:13', 0);
  2790. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2791. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2792. VALUES (19, 3, '修改', '3', 'system_operate_type', 0, 'warning', '', '修改操作', 'admin', '2021-01-05 17:03:48', '1',
  2793. '2022-02-16 09:33:22', 0);
  2794. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2795. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2796. VALUES (20, 4, '删除', '4', 'system_operate_type', 0, 'danger', '', '删除操作', 'admin', '2021-01-05 17:03:48', '1',
  2797. '2022-02-16 09:33:27', 0);
  2798. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2799. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2800. VALUES (22, 5, '导出', '5', 'system_operate_type', 0, 'default', '', '导出操作', 'admin', '2021-01-05 17:03:48', '1',
  2801. '2022-02-16 09:33:32', 0);
  2802. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2803. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2804. VALUES (23, 6, '导入', '6', 'system_operate_type', 0, 'default', '', '导入操作', 'admin', '2021-01-05 17:03:48', '1',
  2805. '2022-02-16 09:33:35', 0);
  2806. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2807. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2808. VALUES (27, 1, '开启', '0', 'common_status', 0, 'primary', '', '开启状态', 'admin', '2021-01-05 17:03:48', '1',
  2809. '2022-02-16 08:00:39', 0);
  2810. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2811. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2812. VALUES (28, 2, '关闭', '1', 'common_status', 0, 'info', '', '关闭状态', 'admin', '2021-01-05 17:03:48', '1',
  2813. '2022-02-16 08:00:44', 0);
  2814. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2815. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2816. VALUES (29, 1, '目录', '1', 'system_menu_type', 0, '', '', '目录', 'admin', '2021-01-05 17:03:48', '',
  2817. '2022-02-01 16:43:45', 0);
  2818. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2819. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2820. VALUES (30, 2, '菜单', '2', 'system_menu_type', 0, '', '', '菜单', 'admin', '2021-01-05 17:03:48', '',
  2821. '2022-02-01 16:43:41', 0);
  2822. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2823. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2824. VALUES (31, 3, '按钮', '3', 'system_menu_type', 0, '', '', '按钮', 'admin', '2021-01-05 17:03:48', '',
  2825. '2022-02-01 16:43:39', 0);
  2826. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2827. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2828. VALUES (32, 1, '内置', '1', 'system_role_type', 0, 'danger', '', '内置角色', 'admin', '2021-01-05 17:03:48', '1',
  2829. '2022-02-16 13:02:08', 0);
  2830. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2831. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2832. VALUES (33, 2, '自定义', '2', 'system_role_type', 0, 'primary', '', '自定义角色', 'admin', '2021-01-05 17:03:48', '1',
  2833. '2022-02-16 13:02:12', 0);
  2834. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2835. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2836. VALUES (34, 1, '全部数据权限', '1', 'system_data_scope', 0, '', '', '全部数据权限', 'admin', '2021-01-05 17:03:48', '',
  2837. '2022-02-01 16:47:17', 0);
  2838. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2839. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2840. VALUES (35, 2, '指定部门数据权限', '2', 'system_data_scope', 0, '', '', '指定部门数据权限', 'admin',
  2841. '2021-01-05 17:03:48', '', '2022-02-01 16:47:18', 0);
  2842. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2843. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2844. VALUES (36, 3, '本部门数据权限', '3', 'system_data_scope', 0, '', '', '本部门数据权限', 'admin', '2021-01-05 17:03:48',
  2845. '', '2022-02-01 16:47:16', 0);
  2846. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2847. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2848. VALUES (37, 4, '本部门及以下数据权限', '4', 'system_data_scope', 0, '', '', '本部门及以下数据权限', 'admin',
  2849. '2021-01-05 17:03:48', '', '2022-02-01 16:47:21', 0);
  2850. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2851. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2852. VALUES (38, 5, '仅本人数据权限', '5', 'system_data_scope', 0, '', '', '仅本人数据权限', 'admin', '2021-01-05 17:03:48',
  2853. '', '2022-02-01 16:47:23', 0);
  2854. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2855. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2856. VALUES (39, 0, '成功', '0', 'system_login_result', 0, 'success', '', '登陆结果 - 成功', '', '2021-01-18 06:17:36', '1',
  2857. '2022-02-16 13:23:49', 0);
  2858. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2859. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2860. VALUES (40, 10, '账号或密码不正确', '10', 'system_login_result', 0, 'primary', '', '登陆结果 - 账号或密码不正确', '',
  2861. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:27', 0);
  2862. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2863. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2864. VALUES (41, 20, '用户被禁用', '20', 'system_login_result', 0, 'warning', '', '登陆结果 - 用户被禁用', '',
  2865. '2021-01-18 06:17:54', '1', '2022-02-16 13:23:57', 0);
  2866. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2867. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2868. VALUES (42, 30, '验证码不存在', '30', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不存在', '',
  2869. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:07', 0);
  2870. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2871. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2872. VALUES (43, 31, '验证码不正确', '31', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不正确', '',
  2873. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:11', 0);
  2874. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2875. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2876. VALUES (44, 100, '未知异常', '100', 'system_login_result', 0, 'danger', '', '登陆结果 - 未知异常', '',
  2877. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:23', 0);
  2878. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2879. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2880. VALUES (45, 1, '是', 'true', 'infra_boolean_string', 0, 'danger', '', 'Boolean 是否类型 - 是', '',
  2881. '2021-01-19 03:20:55', '1', '2022-03-15 23:01:45', 0);
  2882. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2883. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2884. VALUES (46, 1, '否', 'false', 'infra_boolean_string', 0, 'info', '', 'Boolean 是否类型 - 否', '', '2021-01-19 03:20:55',
  2885. '1', '2022-03-15 23:09:45', 0);
  2886. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2887. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2888. VALUES (47, 1, '永不超时', '1', 'infra_redis_timeout_type', 0, 'primary', '', 'Redis 未设置超时的情况', '',
  2889. '2021-01-26 00:53:17', '1', '2022-02-16 19:03:35', 0);
  2890. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2891. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2892. VALUES (48, 1, '动态超时', '2', 'infra_redis_timeout_type', 0, 'info', '', '程序里动态传入超时时间,无法固定', '',
  2893. '2021-01-26 00:55:00', '1', '2022-02-16 19:03:41', 0);
  2894. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2895. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2896. VALUES (49, 3, '固定超时', '3', 'infra_redis_timeout_type', 0, 'success', '', 'Redis 设置了过期时间', '',
  2897. '2021-01-26 00:55:26', '1', '2022-02-16 19:03:45', 0);
  2898. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2899. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2900. VALUES (50, 1, '单表(增删改查)', '1', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:09:06', '',
  2901. '2022-03-10 16:33:15', 0);
  2902. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2903. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2904. VALUES (51, 2, '树表(增删改查)', '2', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:14:46', '',
  2905. '2022-03-10 16:33:19', 0);
  2906. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2907. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2908. VALUES (53, 0, '初始化中', '0', 'infra_job_status', 0, 'primary', '', NULL, '', '2021-02-07 07:46:49', '1',
  2909. '2022-02-16 19:33:29', 0);
  2910. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2911. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2912. VALUES (57, 0, '运行中', '0', 'infra_job_log_status', 0, 'primary', '', 'RUNNING', '', '2021-02-08 10:04:24', '1',
  2913. '2022-02-16 19:07:48', 0);
  2914. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2915. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2916. VALUES (58, 1, '成功', '1', 'infra_job_log_status', 0, 'success', '', NULL, '', '2021-02-08 10:06:57', '1',
  2917. '2022-02-16 19:07:52', 0);
  2918. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2919. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2920. VALUES (59, 2, '失败', '2', 'infra_job_log_status', 0, 'warning', '', '失败', '', '2021-02-08 10:07:38', '1',
  2921. '2022-02-16 19:07:56', 0);
  2922. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2923. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2924. VALUES (60, 1, '会员', '1', 'user_type', 0, 'primary', '', NULL, '', '2021-02-26 00:16:27', '1', '2022-02-16 10:22:19',
  2925. 0);
  2926. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2927. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2928. VALUES (61, 2, '管理员', '2', 'user_type', 0, 'success', '', NULL, '', '2021-02-26 00:16:34', '1',
  2929. '2022-02-16 10:22:22', 0);
  2930. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2931. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2932. VALUES (62, 0, '未处理', '0', 'infra_api_error_log_process_status', 0, 'primary', '', NULL, '', '2021-02-26 07:07:19',
  2933. '1', '2022-02-16 20:14:17', 0);
  2934. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2935. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2936. VALUES (63, 1, '已处理', '1', 'infra_api_error_log_process_status', 0, 'success', '', NULL, '', '2021-02-26 07:07:26',
  2937. '1', '2022-02-16 20:14:08', 0);
  2938. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2939. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2940. VALUES (64, 2, '已忽略', '2', 'infra_api_error_log_process_status', 0, 'danger', '', NULL, '', '2021-02-26 07:07:34',
  2941. '1', '2022-02-16 20:14:14', 0);
  2942. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2943. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2944. VALUES (66, 2, '阿里云', 'ALIYUN', 'system_sms_channel_code', 0, 'primary', '', NULL, '1', '2021-04-05 01:05:26', '1',
  2945. '2022-02-16 10:09:52', 0);
  2946. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2947. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2948. VALUES (67, 1, '验证码', '1', 'system_sms_template_type', 0, 'warning', '', NULL, '1', '2021-04-05 21:50:57', '1',
  2949. '2022-02-16 12:48:30', 0);
  2950. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2951. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2952. VALUES (68, 2, '通知', '2', 'system_sms_template_type', 0, 'primary', '', NULL, '1', '2021-04-05 21:51:08', '1',
  2953. '2022-02-16 12:48:27', 0);
  2954. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2955. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2956. VALUES (69, 0, '营销', '3', 'system_sms_template_type', 0, 'danger', '', NULL, '1', '2021-04-05 21:51:15', '1',
  2957. '2022-02-16 12:48:22', 0);
  2958. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2959. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2960. VALUES (70, 0, '初始化', '0', 'system_sms_send_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:18:33', '1',
  2961. '2022-02-16 10:26:07', 0);
  2962. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2963. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2964. VALUES (71, 1, '发送成功', '10', 'system_sms_send_status', 0, 'success', '', NULL, '1', '2021-04-11 20:18:43', '1',
  2965. '2022-02-16 10:25:56', 0);
  2966. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2967. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2968. VALUES (72, 2, '发送失败', '20', 'system_sms_send_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:18:49', '1',
  2969. '2022-02-16 10:26:03', 0);
  2970. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2971. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2972. VALUES (73, 3, '不发送', '30', 'system_sms_send_status', 0, 'info', '', NULL, '1', '2021-04-11 20:19:44', '1',
  2973. '2022-02-16 10:26:10', 0);
  2974. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2975. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2976. VALUES (74, 0, '等待结果', '0', 'system_sms_receive_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:27:43', '1',
  2977. '2022-02-16 10:28:24', 0);
  2978. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2979. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2980. VALUES (75, 1, '接收成功', '10', 'system_sms_receive_status', 0, 'success', '', NULL, '1', '2021-04-11 20:29:25', '1',
  2981. '2022-02-16 10:28:28', 0);
  2982. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2983. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2984. VALUES (76, 2, '接收失败', '20', 'system_sms_receive_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:29:31', '1',
  2985. '2022-02-16 10:28:32', 0);
  2986. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2987. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2988. VALUES (77, 0, '调试(钉钉)', 'DEBUG_DING_TALK', 'system_sms_channel_code', 0, 'info', '', NULL, '1',
  2989. '2021-04-13 00:20:37', '1', '2022-02-16 10:10:00', 0);
  2990. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2991. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2992. VALUES (78, 1, '自动生成', '1', 'system_error_code_type', 0, 'warning', '', NULL, '1', '2021-04-21 00:06:48', '1',
  2993. '2022-02-16 13:57:20', 0);
  2994. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2995. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2996. VALUES (79, 2, '手动编辑', '2', 'system_error_code_type', 0, 'primary', '', NULL, '1', '2021-04-21 00:07:14', '1',
  2997. '2022-02-16 13:57:24', 0);
  2998. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2999. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3000. VALUES (80, 100, '账号登录', '100', 'system_login_type', 0, 'primary', '', '账号登录', '1', '2021-10-06 00:52:02', '1',
  3001. '2022-02-16 13:11:34', 0);
  3002. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3003. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3004. VALUES (81, 101, '社交登录', '101', 'system_login_type', 0, 'info', '', '社交登录', '1', '2021-10-06 00:52:17', '1',
  3005. '2022-02-16 13:11:40', 0);
  3006. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3007. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3008. VALUES (83, 200, '主动登出', '200', 'system_login_type', 0, 'primary', '', '主动登出', '1', '2021-10-06 00:52:58', '1',
  3009. '2022-02-16 13:11:49', 0);
  3010. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3011. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3012. VALUES (85, 202, '强制登出', '202', 'system_login_type', 0, 'danger', '', '强制退出', '1', '2021-10-06 00:53:41', '1',
  3013. '2022-02-16 13:11:57', 0);
  3014. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3015. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3016. VALUES (86, 0, '病假', '1', 'bpm_oa_leave_type', 0, 'primary', '', NULL, '1', '2021-09-21 22:35:28', '1',
  3017. '2022-02-16 10:00:41', 0);
  3018. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3019. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3020. VALUES (87, 1, '事假', '2', 'bpm_oa_leave_type', 0, 'info', '', NULL, '1', '2021-09-21 22:36:11', '1',
  3021. '2022-02-16 10:00:49', 0);
  3022. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3023. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3024. VALUES (88, 2, '婚假', '3', 'bpm_oa_leave_type', 0, 'warning', '', NULL, '1', '2021-09-21 22:36:38', '1',
  3025. '2022-02-16 10:00:53', 0);
  3026. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3027. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3028. VALUES (98, 1, 'v2', 'v2', 'pay_channel_wechat_version', 0, '', '', 'v2版本', '1', '2021-11-08 17:00:58', '1',
  3029. '2021-11-08 17:00:58', 0);
  3030. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3031. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3032. VALUES (99, 2, 'v3', 'v3', 'pay_channel_wechat_version', 0, '', '', 'v3版本', '1', '2021-11-08 17:01:07', '1',
  3033. '2021-11-08 17:01:07', 0);
  3034. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3035. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3036. VALUES (108, 1, 'RSA2', 'RSA2', 'pay_channel_alipay_sign_type', 0, '', '', 'RSA2', '1', '2021-11-18 15:39:29', '1',
  3037. '2021-11-18 15:39:29', 0);
  3038. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3039. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3040. VALUES (109, 1, '公钥模式', '1', 'pay_channel_alipay_mode', 0, '', '', '公钥模式:privateKey + alipayPublicKey', '1',
  3041. '2021-11-18 15:45:23', '1', '2021-11-18 15:45:23', 0);
  3042. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3043. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3044. VALUES (110, 2, '证书模式', '2', 'pay_channel_alipay_mode', 0, '', '',
  3045. '证书模式:appCertContent + alipayPublicCertContent + rootCertContent', '1', '2021-11-18 15:45:40', '1',
  3046. '2021-11-18 15:45:40', 0);
  3047. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3048. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3049. VALUES (111, 1, '线上', 'https://openapi.alipay.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '',
  3050. '网关地址 - 线上', '1', '2021-11-18 16:59:32', '1', '2021-11-21 17:37:29', 0);
  3051. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3052. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3053. VALUES (112, 2, '沙箱', 'https://openapi.alipaydev.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '',
  3054. '网关地址 - 沙箱', '1', '2021-11-18 16:59:48', '1', '2021-11-21 17:37:39', 0);
  3055. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3056. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3057. VALUES (113, 1, '微信 JSAPI 支付', 'wx_pub', 'pay_channel_code_type', 0, '', '', '微信 JSAPI(公众号) 支付', '1',
  3058. '2021-12-03 10:40:24', '1', '2021-12-04 16:41:00', 0);
  3059. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3060. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3061. VALUES (114, 2, '微信小程序支付', 'wx_lite', 'pay_channel_code_type', 0, '', '', '微信小程序支付', '1',
  3062. '2021-12-03 10:41:06', '1', '2021-12-03 10:41:06', 0);
  3063. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3064. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3065. VALUES (115, 3, '微信 App 支付', 'wx_app', 'pay_channel_code_type', 0, '', '', '微信 App 支付', '1',
  3066. '2021-12-03 10:41:20', '1', '2021-12-03 10:41:20', 0);
  3067. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3068. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3069. VALUES (116, 4, '支付宝 PC 网站支付', 'alipay_pc', 'pay_channel_code_type', 0, '', '', '支付宝 PC 网站支付', '1',
  3070. '2021-12-03 10:42:09', '1', '2021-12-03 10:42:09', 0);
  3071. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3072. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3073. VALUES (117, 5, '支付宝 Wap 网站支付', 'alipay_wap', 'pay_channel_code_type', 0, '', '', '支付宝 Wap 网站支付', '1',
  3074. '2021-12-03 10:42:26', '1', '2021-12-03 10:42:26', 0);
  3075. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3076. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3077. VALUES (118, 6, '支付宝App 支付', 'alipay_app', 'pay_channel_code_type', 0, '', '', '支付宝App 支付', '1',
  3078. '2021-12-03 10:42:55', '1', '2021-12-03 10:42:55', 0);
  3079. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3080. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3081. VALUES (119, 7, '支付宝扫码支付', 'alipay_qr', 'pay_channel_code_type', 0, '', '', '支付宝扫码支付', '1',
  3082. '2021-12-03 10:43:10', '1', '2021-12-03 10:43:10', 0);
  3083. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3084. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3085. VALUES (120, 1, '通知成功', '10', 'pay_order_notify_status', 0, 'success', '', '通知成功', '1', '2021-12-03 11:02:41',
  3086. '1', '2022-02-16 13:59:13', 0);
  3087. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3088. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3089. VALUES (121, 2, '通知失败', '20', 'pay_order_notify_status', 0, 'danger', '', '通知失败', '1', '2021-12-03 11:02:59',
  3090. '1', '2022-02-16 13:59:17', 0);
  3091. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3092. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3093. VALUES (122, 3, '未通知', '0', 'pay_order_notify_status', 0, 'info', '', '未通知', '1', '2021-12-03 11:03:10', '1',
  3094. '2022-02-16 13:59:23', 0);
  3095. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3096. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3097. VALUES (123, 1, '支付成功', '10', 'pay_order_status', 0, 'success', '', '支付成功', '1', '2021-12-03 11:18:29', '1',
  3098. '2022-02-16 15:24:25', 0);
  3099. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3100. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3101. VALUES (124, 2, '支付关闭', '20', 'pay_order_status', 0, 'danger', '', '支付关闭', '1', '2021-12-03 11:18:42', '1',
  3102. '2022-02-16 15:24:31', 0);
  3103. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3104. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3105. VALUES (125, 3, '未支付', '0', 'pay_order_status', 0, 'info', '', '未支付', '1', '2021-12-03 11:18:18', '1',
  3106. '2022-02-16 15:24:35', 0);
  3107. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3108. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3109. VALUES (126, 1, '未退款', '0', 'pay_order_refund_status', 0, '', '', '未退款', '1', '2021-12-03 11:30:35', '1',
  3110. '2021-12-03 11:34:05', 0);
  3111. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3112. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3113. VALUES (127, 2, '部分退款', '10', 'pay_order_refund_status', 0, '', '', '部分退款', '1', '2021-12-03 11:30:44', '1',
  3114. '2021-12-03 11:34:10', 0);
  3115. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3116. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3117. VALUES (128, 3, '全部退款', '20', 'pay_order_refund_status', 0, '', '', '全部退款', '1', '2021-12-03 11:30:52', '1',
  3118. '2021-12-03 11:34:14', 0);
  3119. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3120. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3121. VALUES (1117, 1, '退款订单生成', '0', 'pay_refund_order_status', 0, 'primary', '', '退款订单生成', '1',
  3122. '2021-12-10 16:44:44', '1', '2022-02-16 14:05:24', 0);
  3123. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3124. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3125. VALUES (1118, 2, '退款成功', '1', 'pay_refund_order_status', 0, 'success', '', '退款成功', '1', '2021-12-10 16:44:59',
  3126. '1', '2022-02-16 14:05:28', 0);
  3127. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3128. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3129. VALUES (1119, 3, '退款失败', '2', 'pay_refund_order_status', 0, 'danger', '', '退款失败', '1', '2021-12-10 16:45:10',
  3130. '1', '2022-02-16 14:05:34', 0);
  3131. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3132. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3133. VALUES (1124, 8, '退款关闭', '99', 'pay_refund_order_status', 0, 'info', '', '退款关闭', '1', '2021-12-10 16:46:26',
  3134. '1', '2022-02-16 14:05:40', 0);
  3135. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3136. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3137. VALUES (1125, 0, '默认', '1', 'bpm_model_category', 0, 'primary', '', '流程分类 - 默认', '1', '2022-01-02 08:41:11',
  3138. '1', '2022-02-16 20:01:42', 0);
  3139. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3140. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3141. VALUES (1126, 0, 'OA', '2', 'bpm_model_category', 0, 'success', '', '流程分类 - OA', '1', '2022-01-02 08:41:22', '1',
  3142. '2022-02-16 20:01:50', 0);
  3143. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3144. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3145. VALUES (1127, 0, '进行中', '1', 'bpm_process_instance_status', 0, 'primary', '', '流程实例的状态 - 进行中', '1',
  3146. '2022-01-07 23:47:22', '1', '2022-02-16 20:07:49', 0);
  3147. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3148. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3149. VALUES (1128, 2, '已完成', '2', 'bpm_process_instance_status', 0, 'success', '', '流程实例的状态 - 已完成', '1',
  3150. '2022-01-07 23:47:49', '1', '2022-02-16 20:07:54', 0);
  3151. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3152. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3153. VALUES (1129, 1, '处理中', '1', 'bpm_process_instance_result', 0, 'primary', '', '流程实例的结果 - 处理中', '1',
  3154. '2022-01-07 23:48:32', '1', '2022-02-16 09:53:26', 0);
  3155. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3156. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3157. VALUES (1130, 2, '通过', '2', 'bpm_process_instance_result', 0, 'success', '', '流程实例的结果 - 通过', '1',
  3158. '2022-01-07 23:48:45', '1', '2022-02-16 09:53:31', 0);
  3159. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3160. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3161. VALUES (1131, 3, '不通过', '3', 'bpm_process_instance_result', 0, 'danger', '', '流程实例的结果 - 不通过', '1',
  3162. '2022-01-07 23:48:55', '1', '2022-02-16 09:53:38', 0);
  3163. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3164. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3165. VALUES (1132, 4, '已取消', '4', 'bpm_process_instance_result', 0, 'info', '', '流程实例的结果 - 撤销', '1',
  3166. '2022-01-07 23:49:06', '1', '2022-02-16 09:53:42', 0);
  3167. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3168. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3169. VALUES (1133, 10, '流程表单', '10', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 流程表单', '103',
  3170. '2022-01-11 23:51:30', '103', '2022-01-11 23:51:30', 0);
  3171. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3172. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3173. VALUES (1134, 20, '业务表单', '20', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 业务表单', '103',
  3174. '2022-01-11 23:51:47', '103', '2022-01-11 23:51:47', 0);
  3175. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3176. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3177. VALUES (1135, 10, '角色', '10', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 角色', '103',
  3178. '2022-01-12 23:21:22', '1', '2022-02-16 20:06:14', 0);
  3179. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3180. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3181. VALUES (1136, 20, '部门的成员', '20', 'bpm_task_assign_rule_type', 0, 'primary', '', '任务分配规则的类型 - 部门的成员',
  3182. '103', '2022-01-12 23:21:47', '1', '2022-02-16 20:05:28', 0);
  3183. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3184. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3185. VALUES (1137, 21, '部门的负责人', '21', 'bpm_task_assign_rule_type', 0, 'primary', '',
  3186. '任务分配规则的类型 - 部门的负责人', '103', '2022-01-12 23:33:36', '1', '2022-02-16 20:05:31', 0);
  3187. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3188. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3189. VALUES (1138, 30, '用户', '30', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 用户', '103',
  3190. '2022-01-12 23:34:02', '1', '2022-02-16 20:05:50', 0);
  3191. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3192. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3193. VALUES (1139, 40, '用户组', '40', 'bpm_task_assign_rule_type', 0, 'warning', '', '任务分配规则的类型 - 用户组', '103',
  3194. '2022-01-12 23:34:21', '1', '2022-02-16 20:05:57', 0);
  3195. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3196. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3197. VALUES (1140, 50, '自定义脚本', '50', 'bpm_task_assign_rule_type', 0, 'danger', '', '任务分配规则的类型 - 自定义脚本',
  3198. '103', '2022-01-12 23:34:43', '1', '2022-02-16 20:06:01', 0);
  3199. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3200. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3201. VALUES (1141, 22, '岗位', '22', 'bpm_task_assign_rule_type', 0, 'success', '', '任务分配规则的类型 - 岗位', '103',
  3202. '2022-01-14 18:41:55', '1', '2022-02-16 20:05:39', 0);
  3203. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3204. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3205. VALUES (1142, 10, '流程发起人', '10', 'bpm_task_assign_script', 0, '', '', '任务分配自定义脚本 - 流程发起人', '103',
  3206. '2022-01-15 00:10:57', '103', '2022-01-15 21:24:10', 0);
  3207. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3208. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3209. VALUES (1143, 20, '流程发起人的一级领导', '20', 'bpm_task_assign_script', 0, '', '',
  3210. '任务分配自定义脚本 - 流程发起人的一级领导', '103', '2022-01-15 21:24:31', '103', '2022-01-15 21:24:31', 0);
  3211. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3212. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3213. VALUES (1144, 21, '流程发起人的二级领导', '21', 'bpm_task_assign_script', 0, '', '',
  3214. '任务分配自定义脚本 - 流程发起人的二级领导', '103', '2022-01-15 21:24:46', '103', '2022-01-15 21:24:57', 0);
  3215. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3216. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3217. VALUES (1145, 1, '管理后台', '1', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 管理后台', '1',
  3218. '2022-02-02 13:15:06', '1', '2022-03-10 16:32:59', 0);
  3219. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3220. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3221. VALUES (1146, 2, '用户 APP', '2', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 用户 APP', '1',
  3222. '2022-02-02 13:15:19', '1', '2022-03-10 16:33:03', 0);
  3223. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3224. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3225. VALUES (1147, 0, '未退款', '0', 'pay_refund_order_type', 0, 'info', '', '退款类型 - 未退款', '1', '2022-02-16 14:09:01',
  3226. '1', '2022-02-16 14:09:01', 0);
  3227. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3228. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3229. VALUES (1148, 10, '部分退款', '10', 'pay_refund_order_type', 0, 'success', '', '退款类型 - 部分退款', '1',
  3230. '2022-02-16 14:09:25', '1', '2022-02-16 14:11:38', 0);
  3231. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3232. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3233. VALUES (1149, 20, '全部退款', '20', 'pay_refund_order_type', 0, 'warning', '', '退款类型 - 全部退款', '1',
  3234. '2022-02-16 14:11:33', '1', '2022-02-16 14:11:33', 0);
  3235. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3236. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3237. VALUES (1150, 1, '数据库', '1', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:28', '1',
  3238. '2022-03-15 00:25:28', 0);
  3239. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3240. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3241. VALUES (1151, 10, '本地磁盘', '10', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:41', '1',
  3242. '2022-03-15 00:25:56', 0);
  3243. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3244. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3245. VALUES (1152, 11, 'FTP 服务器', '11', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:06', '1',
  3246. '2022-03-15 00:26:10', 0);
  3247. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3248. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3249. VALUES (1153, 12, 'SFTP 服务器', '12', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:22', '1',
  3250. '2022-03-15 00:26:22', 0);
  3251. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3252. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3253. VALUES (1154, 20, 'S3 对象存储', '20', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:31', '1',
  3254. '2022-03-15 00:26:45', 0);
  3255. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3256. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3257. VALUES (1155, 103, '短信登录', '103', 'system_login_type', 0, 'default', '', NULL, '1', '2022-05-09 23:57:58', '1',
  3258. '2022-05-09 23:58:09', 0);
  3259. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3260. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3261. VALUES (1156, 1, 'password', 'password', 'system_oauth2_grant_type', 0, 'default', '', '密码模式', '1',
  3262. '2022-05-12 00:22:05', '1', '2022-05-11 16:26:01', 0);
  3263. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3264. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3265. VALUES (1157, 2, 'authorization_code', 'authorization_code', 'system_oauth2_grant_type', 0, 'primary', '', '授权码模式',
  3266. '1', '2022-05-12 00:22:59', '1', '2022-05-11 16:26:02', 0);
  3267. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3268. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3269. VALUES (1158, 3, 'implicit', 'implicit', 'system_oauth2_grant_type', 0, 'success', '', '简化模式', '1',
  3270. '2022-05-12 00:23:40', '1', '2022-05-11 16:26:05', 0);
  3271. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3272. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3273. VALUES (1159, 4, 'client_credentials', 'client_credentials', 'system_oauth2_grant_type', 0, 'default', '', '客户端模式',
  3274. '1', '2022-05-12 00:23:51', '1', '2022-05-11 16:26:08', 0);
  3275. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3276. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3277. VALUES (1160, 5, 'refresh_token', 'refresh_token', 'system_oauth2_grant_type', 0, 'info', '', '刷新模式', '1',
  3278. '2022-05-12 00:24:02', '1', '2022-05-11 16:26:11', 0);
  3279. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3280. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3281. VALUES (1161, 4, 'Vue 3 Vben', '30', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-06-14 15:24:37.447', '1',
  3282. '2023-06-14 15:24:37.447', 0);
  3283. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3284. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3285. VALUES (1162, 3, 'Vue 3 Schema', '21', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus Schema', '1',
  3286. '2023-06-14 15:24:18.714', '1', '2023-06-14 15:36:40.317', 0);
  3287. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3288. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3289. VALUES (1163, 2, 'Vue 3', '20', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus', '1',
  3290. '2023-06-14 15:24:05.654', '1', '2023-06-14 15:24:05.654', 0);
  3291. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3292. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3293. VALUES (1164, 1, 'Vue 2', '10', 'infra_codegen_front_type', 0, '', '', 'Vue 2', '1', '2023-06-14 15:23:12.211', '1',
  3294. '2023-06-14 15:23:57.816', 0);
  3295. COMMIT;
  3296. -- ----------------------------
  3297. -- Table structure for system_dict_type
  3298. -- ----------------------------
  3299. DROP TABLE IF EXISTS "system_dict_type";
  3300. CREATE TABLE "system_dict_type"
  3301. (
  3302. "id" int8 NOT NULL,
  3303. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3304. "type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3305. "status" int2 NOT NULL,
  3306. "remark" varchar(500) COLLATE "pg_catalog"."default",
  3307. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3308. "create_time" timestamp(6) NOT NULL,
  3309. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3310. "update_time" timestamp(6) NOT NULL,
  3311. "deleted_time" timestamp(6),
  3312. "deleted" int2 NOT NULL DEFAULT 0
  3313. )
  3314. ;
  3315. COMMENT
  3316. ON COLUMN "system_dict_type"."id" IS '字典主键';
  3317. COMMENT
  3318. ON COLUMN "system_dict_type"."name" IS '字典名称';
  3319. COMMENT
  3320. ON COLUMN "system_dict_type"."type" IS '字典类型';
  3321. COMMENT
  3322. ON COLUMN "system_dict_type"."status" IS '状态(0正常 1停用)';
  3323. COMMENT
  3324. ON COLUMN "system_dict_type"."remark" IS '备注';
  3325. COMMENT
  3326. ON COLUMN "system_dict_type"."creator" IS '创建者';
  3327. COMMENT
  3328. ON COLUMN "system_dict_type"."create_time" IS '创建时间';
  3329. COMMENT
  3330. ON COLUMN "system_dict_type"."updater" IS '更新者';
  3331. COMMENT
  3332. ON COLUMN "system_dict_type"."update_time" IS '更新时间';
  3333. COMMENT
  3334. ON COLUMN "system_dict_type"."deleted_time" IS '删除时间';
  3335. COMMENT
  3336. ON COLUMN "system_dict_type"."deleted" IS '是否删除';
  3337. COMMENT
  3338. ON TABLE "system_dict_type" IS '字典类型表';
  3339. -- ----------------------------
  3340. -- Records of system_dict_type
  3341. -- ----------------------------
  3342. BEGIN;
  3343. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3344. "update_time", "deleted")
  3345. VALUES (1, '用户性别', 'system_user_sex', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:30:31', 0);
  3346. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3347. "update_time", "deleted")
  3348. VALUES (6, '参数类型', 'infra_config_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:36:54', 0);
  3349. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3350. "update_time", "deleted")
  3351. VALUES (7, '通知类型', 'system_notice_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:35:26', 0);
  3352. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3353. "update_time", "deleted")
  3354. VALUES (9, '操作类型', 'system_operate_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:32:21', 0);
  3355. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3356. "update_time", "deleted")
  3357. VALUES (10, '系统状态', 'common_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:21:28', 0);
  3358. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3359. "update_time", "deleted")
  3360. VALUES (11, 'Boolean 是否类型', 'infra_boolean_string', 0, 'boolean 转是否', '', '2021-01-19 03:20:08', '',
  3361. '2022-02-01 16:37:10', 0);
  3362. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3363. "update_time", "deleted")
  3364. VALUES (104, '登陆结果', 'system_login_result', 0, '登陆结果', '', '2021-01-18 06:17:11', '', '2022-02-01 16:36:00', 0);
  3365. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3366. "update_time", "deleted")
  3367. VALUES (105, 'Redis 超时类型', 'infra_redis_timeout_type', 0, 'RedisKeyDefine.TimeoutTypeEnum', '',
  3368. '2021-01-26 00:52:50', '', '2022-02-01 16:50:29', 0);
  3369. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3370. "update_time", "deleted")
  3371. VALUES (106, '代码生成模板类型', 'infra_codegen_template_type', 0, NULL, '', '2021-02-05 07:08:06', '',
  3372. '2022-03-10 16:33:42', 0);
  3373. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3374. "update_time", "deleted")
  3375. VALUES (107, '定时任务状态', 'infra_job_status', 0, NULL, '', '2021-02-07 07:44:16', '', '2022-02-01 16:51:11', 0);
  3376. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3377. "update_time", "deleted")
  3378. VALUES (108, '定时任务日志状态', 'infra_job_log_status', 0, NULL, '', '2021-02-08 10:03:51', '', '2022-02-01 16:50:43',
  3379. 0);
  3380. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3381. "update_time", "deleted")
  3382. VALUES (109, '用户类型', 'user_type', 0, NULL, '', '2021-02-26 00:15:51', '', '2021-02-26 00:15:51', 0);
  3383. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3384. "update_time", "deleted")
  3385. VALUES (110, 'API 异常数据的处理状态', 'infra_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:01', '',
  3386. '2022-02-01 16:50:53', 0);
  3387. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3388. "update_time", "deleted")
  3389. VALUES (111, '短信渠道编码', 'system_sms_channel_code', 0, NULL, '1', '2021-04-05 01:04:50', '1', '2022-02-16 02:09:08',
  3390. 0);
  3391. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3392. "update_time", "deleted")
  3393. VALUES (112, '短信模板的类型', 'system_sms_template_type', 0, NULL, '1', '2021-04-05 21:50:43', '1',
  3394. '2022-02-01 16:35:06', 0);
  3395. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3396. "update_time", "deleted")
  3397. VALUES (113, '短信发送状态', 'system_sms_send_status', 0, NULL, '1', '2021-04-11 20:18:03', '1', '2022-02-01 16:35:09',
  3398. 0);
  3399. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3400. "update_time", "deleted")
  3401. VALUES (114, '短信接收状态', 'system_sms_receive_status', 0, NULL, '1', '2021-04-11 20:27:14', '1',
  3402. '2022-02-01 16:35:14', 0);
  3403. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3404. "update_time", "deleted")
  3405. VALUES (115, '错误码的类型', 'system_error_code_type', 0, NULL, '1', '2021-04-21 00:06:30', '1', '2022-02-01 16:36:49',
  3406. 0);
  3407. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3408. "update_time", "deleted")
  3409. VALUES (116, '登陆日志的类型', 'system_login_type', 0, '登陆日志的类型', '1', '2021-10-06 00:50:46', '1',
  3410. '2022-02-01 16:35:56', 0);
  3411. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3412. "update_time", "deleted")
  3413. VALUES (117, 'OA 请假类型', 'bpm_oa_leave_type', 0, NULL, '1', '2021-09-21 22:34:33', '1', '2022-01-22 10:41:37', 0);
  3414. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3415. "update_time", "deleted")
  3416. VALUES (122, '支付渠道微信版本', 'pay_channel_wechat_version', 0, '支付渠道微信版本', '1', '2021-11-08 17:00:26', '1',
  3417. '2021-11-08 17:00:26', 0);
  3418. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3419. "update_time", "deleted")
  3420. VALUES (127, '支付渠道支付宝算法类型', 'pay_channel_alipay_sign_type', 0, '支付渠道支付宝算法类型', '1',
  3421. '2021-11-18 15:39:09', '1', '2021-11-18 15:39:09', 0);
  3422. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3423. "update_time", "deleted")
  3424. VALUES (128, '支付渠道支付宝公钥类型', 'pay_channel_alipay_mode', 0, '支付渠道支付宝公钥类型', '1',
  3425. '2021-11-18 15:44:28', '1', '2021-11-18 15:44:28', 0);
  3426. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3427. "update_time", "deleted")
  3428. VALUES (129, '支付宝网关地址', 'pay_channel_alipay_server_type', 0, '支付宝网关地址', '1', '2021-11-18 16:58:55', '1',
  3429. '2021-11-18 17:01:34', 0);
  3430. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3431. "update_time", "deleted")
  3432. VALUES (130, '支付渠道编码类型', 'pay_channel_code_type', 0, '支付渠道的编码', '1', '2021-12-03 10:35:08', '1',
  3433. '2021-12-03 10:35:08', 0);
  3434. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3435. "update_time", "deleted")
  3436. VALUES (131, '支付订单回调状态', 'pay_order_notify_status', 0, '支付订单回调状态', '1', '2021-12-03 10:53:29', '1',
  3437. '2021-12-03 10:53:29', 0);
  3438. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3439. "update_time", "deleted")
  3440. VALUES (132, '支付订单状态', 'pay_order_status', 0, '支付订单状态', '1', '2021-12-03 11:17:50', '1',
  3441. '2021-12-03 11:17:50', 0);
  3442. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3443. "update_time", "deleted")
  3444. VALUES (133, '支付订单退款状态', 'pay_order_refund_status', 0, '支付订单退款状态', '1', '2021-12-03 11:27:31', '1',
  3445. '2021-12-03 11:27:31', 0);
  3446. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3447. "update_time", "deleted")
  3448. VALUES (134, '退款订单状态', 'pay_refund_order_status', 0, '退款订单状态', '1', '2021-12-10 16:42:50', '1',
  3449. '2021-12-10 16:42:50', 0);
  3450. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3451. "update_time", "deleted")
  3452. VALUES (135, '退款订单类别', 'pay_refund_order_type', 0, '退款订单类别', '1', '2021-12-10 17:14:53', '1',
  3453. '2021-12-10 17:14:53', 0);
  3454. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3455. "update_time", "deleted")
  3456. VALUES (138, '流程分类', 'bpm_model_category', 0, '流程分类', '1', '2022-01-02 08:40:45', '1', '2022-01-02 08:40:45',
  3457. 0);
  3458. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3459. "update_time", "deleted")
  3460. VALUES (139, '流程实例的状态', 'bpm_process_instance_status', 0, '流程实例的状态', '1', '2022-01-07 23:46:42', '1',
  3461. '2022-01-07 23:46:42', 0);
  3462. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3463. "update_time", "deleted")
  3464. VALUES (140, '流程实例的结果', 'bpm_process_instance_result', 0, '流程实例的结果', '1', '2022-01-07 23:48:10', '1',
  3465. '2022-01-07 23:48:10', 0);
  3466. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3467. "update_time", "deleted")
  3468. VALUES (141, '流程的表单类型', 'bpm_model_form_type', 0, '流程的表单类型', '103', '2022-01-11 23:50:45', '103',
  3469. '2022-01-11 23:50:45', 0);
  3470. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3471. "update_time", "deleted")
  3472. VALUES (142, '任务分配规则的类型', 'bpm_task_assign_rule_type', 0, '任务分配规则的类型', '103', '2022-01-12 23:21:04',
  3473. '103', '2022-01-12 15:46:10', 0);
  3474. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3475. "update_time", "deleted")
  3476. VALUES (143, '任务分配自定义脚本', 'bpm_task_assign_script', 0, '任务分配自定义脚本', '103', '2022-01-15 00:10:35',
  3477. '103', '2022-01-15 00:10:35', 0);
  3478. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3479. "update_time", "deleted")
  3480. VALUES (144, '代码生成的场景枚举', 'infra_codegen_scene', 0, '代码生成的场景枚举', '1', '2022-02-02 13:14:45', '1',
  3481. '2022-03-10 16:33:46', 0);
  3482. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3483. "update_time", "deleted")
  3484. VALUES (145, '角色类型', 'system_role_type', 0, '角色类型', '1', '2022-02-16 13:01:46', '1', '2022-02-16 13:01:46', 0);
  3485. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3486. "update_time", "deleted")
  3487. VALUES (146, '文件存储器', 'infra_file_storage', 0, '文件存储器', '1', '2022-03-15 00:24:38', '1',
  3488. '2022-03-15 00:24:38', 0);
  3489. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3490. "update_time", "deleted")
  3491. VALUES (147, 'OAuth 2.0 授权类型', 'system_oauth2_grant_type', 0, 'OAuth 2.0 授权类型(模式)', '1',
  3492. '2022-05-12 00:20:52', '1', '2022-05-11 16:25:49', 0);
  3493. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3494. "update_time", "deleted")
  3495. VALUES (148, '生成前端代码类型', 'infra_codegen_front_type', 0, '生成前端代码类型', '1', '2023-6-14 16:07:35', '1',
  3496. '2023-6-14 16:07:39', 0);
  3497. COMMIT;
  3498. -- ----------------------------
  3499. -- Table structure for system_error_code
  3500. -- ----------------------------
  3501. DROP TABLE IF EXISTS "system_error_code";
  3502. CREATE TABLE "system_error_code"
  3503. (
  3504. "id" int8 NOT NULL,
  3505. "type" int2 NOT NULL,
  3506. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3507. "code" int4 NOT NULL,
  3508. "message" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  3509. "memo" varchar(512) COLLATE "pg_catalog"."default",
  3510. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3511. "create_time" timestamp(6) NOT NULL,
  3512. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3513. "update_time" timestamp(6) NOT NULL,
  3514. "deleted" int2 NOT NULL DEFAULT 0
  3515. )
  3516. ;
  3517. COMMENT
  3518. ON COLUMN "system_error_code"."id" IS '错误码编号';
  3519. COMMENT
  3520. ON COLUMN "system_error_code"."type" IS '错误码类型';
  3521. COMMENT
  3522. ON COLUMN "system_error_code"."application_name" IS '应用名';
  3523. COMMENT
  3524. ON COLUMN "system_error_code"."code" IS '错误码编码';
  3525. COMMENT
  3526. ON COLUMN "system_error_code"."message" IS '错误码错误提示';
  3527. COMMENT
  3528. ON COLUMN "system_error_code"."memo" IS '备注';
  3529. COMMENT
  3530. ON COLUMN "system_error_code"."creator" IS '创建者';
  3531. COMMENT
  3532. ON COLUMN "system_error_code"."create_time" IS '创建时间';
  3533. COMMENT
  3534. ON COLUMN "system_error_code"."updater" IS '更新者';
  3535. COMMENT
  3536. ON COLUMN "system_error_code"."update_time" IS '更新时间';
  3537. COMMENT
  3538. ON COLUMN "system_error_code"."deleted" IS '是否删除';
  3539. COMMENT
  3540. ON TABLE "system_error_code" IS '错误码表';
  3541. -- ----------------------------
  3542. -- Records of system_error_code
  3543. -- ----------------------------
  3544. BEGIN;
  3545. COMMIT;
  3546. -- ----------------------------
  3547. -- Table structure for system_login_log
  3548. -- ----------------------------
  3549. DROP TABLE IF EXISTS "system_login_log";
  3550. CREATE TABLE "system_login_log"
  3551. (
  3552. "id" int8 NOT NULL,
  3553. "log_type" int8 NOT NULL,
  3554. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  3555. "user_id" int8 NOT NULL DEFAULT 0,
  3556. "user_type" int2 NOT NULL,
  3557. "username" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3558. "result" int2 NOT NULL,
  3559. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3560. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  3561. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3562. "create_time" timestamp(6) NOT NULL,
  3563. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3564. "update_time" timestamp(6) NOT NULL,
  3565. "deleted" int2 NOT NULL DEFAULT 0,
  3566. "tenant_id" int8 NOT NULL DEFAULT 0
  3567. )
  3568. ;
  3569. COMMENT
  3570. ON COLUMN "system_login_log"."id" IS '访问ID';
  3571. COMMENT
  3572. ON COLUMN "system_login_log"."log_type" IS '日志类型';
  3573. COMMENT
  3574. ON COLUMN "system_login_log"."trace_id" IS '链路追踪编号';
  3575. COMMENT
  3576. ON COLUMN "system_login_log"."user_id" IS '用户编号';
  3577. COMMENT
  3578. ON COLUMN "system_login_log"."user_type" IS '用户类型';
  3579. COMMENT
  3580. ON COLUMN "system_login_log"."username" IS '用户账号';
  3581. COMMENT
  3582. ON COLUMN "system_login_log"."result" IS '登陆结果';
  3583. COMMENT
  3584. ON COLUMN "system_login_log"."user_ip" IS '用户 IP';
  3585. COMMENT
  3586. ON COLUMN "system_login_log"."user_agent" IS '浏览器 UA';
  3587. COMMENT
  3588. ON COLUMN "system_login_log"."creator" IS '创建者';
  3589. COMMENT
  3590. ON COLUMN "system_login_log"."create_time" IS '创建时间';
  3591. COMMENT
  3592. ON COLUMN "system_login_log"."updater" IS '更新者';
  3593. COMMENT
  3594. ON COLUMN "system_login_log"."update_time" IS '更新时间';
  3595. COMMENT
  3596. ON COLUMN "system_login_log"."deleted" IS '是否删除';
  3597. COMMENT
  3598. ON COLUMN "system_login_log"."tenant_id" IS '租户编号';
  3599. COMMENT
  3600. ON TABLE "system_login_log" IS '系统访问记录';
  3601. -- ----------------------------
  3602. -- Records of system_login_log
  3603. -- ----------------------------
  3604. BEGIN;
  3605. COMMIT;
  3606. -- ----------------------------
  3607. -- Table structure for system_menu
  3608. -- ----------------------------
  3609. DROP TABLE IF EXISTS "system_menu";
  3610. CREATE TABLE "system_menu"
  3611. (
  3612. "id" int8 NOT NULL DEFAULT nextval('system_menu_seq'::regclass),
  3613. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3614. "permission" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3615. "type" int2 NOT NULL,
  3616. "sort" int4 NOT NULL,
  3617. "parent_id" int8 NOT NULL,
  3618. "path" varchar(200) COLLATE "pg_catalog"."default",
  3619. "icon" varchar(100) COLLATE "pg_catalog"."default",
  3620. "component" varchar(255) COLLATE "pg_catalog"."default",
  3621. "status" int2 NOT NULL,
  3622. "visible" bool NOT NULL DEFAULT true,
  3623. "keep_alive" bool NOT NULL DEFAULT false,
  3624. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3625. "create_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  3626. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3627. "update_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  3628. "deleted" int2 NOT NULL DEFAULT 0,
  3629. "component_name" varchar(255) COLLATE "pg_catalog"."default",
  3630. "always_show" bool NOT NULL DEFAULT false
  3631. )
  3632. ;
  3633. COMMENT
  3634. ON COLUMN "system_menu"."id" IS '菜单ID';
  3635. COMMENT
  3636. ON COLUMN "system_menu"."name" IS '菜单名称';
  3637. COMMENT
  3638. ON COLUMN "system_menu"."permission" IS '权限标识';
  3639. COMMENT
  3640. ON COLUMN "system_menu"."type" IS '菜单类型';
  3641. COMMENT
  3642. ON COLUMN "system_menu"."sort" IS '显示顺序';
  3643. COMMENT
  3644. ON COLUMN "system_menu"."parent_id" IS '父菜单ID';
  3645. COMMENT
  3646. ON COLUMN "system_menu"."path" IS '路由地址';
  3647. COMMENT
  3648. ON COLUMN "system_menu"."icon" IS '菜单图标';
  3649. COMMENT
  3650. ON COLUMN "system_menu"."component" IS '组件路径';
  3651. COMMENT
  3652. ON COLUMN "system_menu"."status" IS '菜单状态';
  3653. COMMENT
  3654. ON COLUMN "system_menu"."visible" IS '是否可见';
  3655. COMMENT
  3656. ON COLUMN "system_menu"."keep_alive" IS '是否缓存';
  3657. COMMENT
  3658. ON COLUMN "system_menu"."creator" IS '创建者';
  3659. COMMENT
  3660. ON COLUMN "system_menu"."create_time" IS '创建时间';
  3661. COMMENT
  3662. ON COLUMN "system_menu"."updater" IS '更新者';
  3663. COMMENT
  3664. ON COLUMN "system_menu"."update_time" IS '更新时间';
  3665. COMMENT
  3666. ON COLUMN "system_menu"."deleted" IS '是否删除';
  3667. COMMENT
  3668. ON COLUMN "system_menu"."component_name" IS '组件名称';
  3669. COMMENT
  3670. ON COLUMN "system_menu"."always_show" IS '是否总是显示';
  3671. COMMENT
  3672. ON TABLE "system_menu" IS '菜单权限表';
  3673. ALTER TABLE system_menu
  3674. ALTER COLUMN permission SET DEFAULT '';
  3675. -- ----------------------------
  3676. -- Records of system_menu
  3677. -- ----------------------------
  3678. BEGIN;
  3679. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3680. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3681. "deleted", "component_name", "always_show")
  3682. VALUES (1, '系统管理', '', 1, 10, 0, '/system', 'system', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3683. '2022-05-13 01:02:57.073', 0, NULL, '1');
  3684. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3685. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3686. "deleted", "component_name", "always_show")
  3687. VALUES (2, '基础设施', '', 1, 20, 0, '/infra', 'monitor', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3688. '2022-04-20 17:03:10', 0, NULL, '1');
  3689. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3690. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3691. "deleted", "component_name", "always_show")
  3692. VALUES (5, 'OA 示例', '', 1, 40, 1185, 'oa', 'people', NULL, 0, 't', 't', 'admin', '2021-09-20 16:26:19', '1',
  3693. '2022-04-20 17:03:10', 0, NULL, '1');
  3694. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3695. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3696. "deleted", "component_name", "always_show")
  3697. VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 0, 't', 't', 'admin',
  3698. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, 'User', '1');
  3699. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3700. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3701. "deleted", "component_name", "always_show")
  3702. VALUES (101, '角色管理', '', 2, 2, 1, 'role', 'peoples', 'system/role/index', 0, 't', 't', 'admin',
  3703. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3704. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3705. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3706. "deleted", "component_name", "always_show")
  3707. VALUES (102, '菜单管理', '', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', 0, 't', 't', 'admin',
  3708. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3709. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3710. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3711. "deleted", "component_name", "always_show")
  3712. VALUES (103, '部门管理', '', 2, 4, 1, 'dept', 'tree', 'system/dept/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3713. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3714. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3715. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3716. "deleted", "component_name", "always_show")
  3717. VALUES (104, '岗位管理', '', 2, 5, 1, 'post', 'post', 'system/post/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3718. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3719. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3720. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3721. "deleted", "component_name", "always_show")
  3722. VALUES (105, '字典管理', '', 2, 6, 1, 'dict', 'dict', 'system/dict/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3723. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3724. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3725. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3726. "deleted", "component_name", "always_show")
  3727. VALUES (106, '配置管理', '', 2, 6, 2, 'config', 'edit', 'infra/config/index', 0, 't', 't', 'admin',
  3728. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3729. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3730. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3731. "deleted", "component_name", "always_show")
  3732. VALUES (107, '通知公告', '', 2, 8, 1, 'notice', 'message', 'system/notice/index', 0, 't', 't', 'admin',
  3733. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3734. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3735. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3736. "deleted", "component_name", "always_show")
  3737. VALUES (108, '审计日志', '', 1, 9, 1, 'log', 'log', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3738. '2022-04-20 17:03:10', 0, NULL, '1');
  3739. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3740. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3741. "deleted", "component_name", "always_show")
  3742. VALUES (109, '令牌管理', '', 2, 2, 1261, 'token', 'online', 'system/oauth2/token/index', 0, 't', 't', 'admin',
  3743. '2021-01-05 17:03:48', '1', '2022-05-11 23:31:42', 0, NULL, '1');
  3744. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3745. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3746. "deleted", "component_name", "always_show")
  3747. VALUES (110, '定时任务', '', 2, 12, 2, 'job', 'job', 'infra/job/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3748. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3749. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3750. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3751. "deleted", "component_name", "always_show")
  3752. VALUES (111, 'MySQL 监控', '', 2, 9, 2, 'druid', 'druid', 'infra/druid/index', 0, 't', 't', 'admin',
  3753. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3754. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3755. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3756. "deleted", "component_name", "always_show")
  3757. VALUES (112, 'Java 监控', '', 2, 11, 2, 'admin-server', 'server', 'infra/server/index', 0, 't', 't', 'admin',
  3758. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3759. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3760. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3761. "deleted", "component_name", "always_show")
  3762. VALUES (113, 'Redis 监控', '', 2, 10, 2, 'redis', 'redis', 'infra/redis/index', 0, 't', 't', 'admin',
  3763. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3764. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3765. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3766. "deleted", "component_name", "always_show")
  3767. VALUES (114, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'build', 'infra/build/index', 0, 't', 't', 'admin',
  3768. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3769. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3770. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3771. "deleted", "component_name", "always_show")
  3772. VALUES (115, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'code', 'infra/codegen/index', 0, 't', 't', 'admin',
  3773. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3774. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3775. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3776. "deleted", "component_name", "always_show")
  3777. VALUES (116, '系统接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'swagger', 'infra/swagger/index', 0, 't', 't',
  3778. 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3779. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3780. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3781. "deleted", "component_name", "always_show")
  3782. VALUES (500, '操作日志', '', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', 0, 't', 't', 'admin',
  3783. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3784. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3785. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3786. "deleted", "component_name", "always_show")
  3787. VALUES (501, '登录日志', '', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', 0, 't', 't', 'admin',
  3788. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3789. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3790. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3791. "deleted", "component_name", "always_show")
  3792. VALUES (1001, '用户查询', 'system:user:query', 3, 1, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3793. '2022-04-20 17:03:10', 0, NULL, '1');
  3794. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3795. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3796. "deleted", "component_name", "always_show")
  3797. VALUES (1002, '用户新增', 'system:user:create', 3, 2, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3798. '2022-04-20 17:03:10', 0, NULL, '1');
  3799. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3800. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3801. "deleted", "component_name", "always_show")
  3802. VALUES (1003, '用户修改', 'system:user:update', 3, 3, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3803. '2022-04-20 17:03:10', 0, NULL, '1');
  3804. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3805. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3806. "deleted", "component_name", "always_show")
  3807. VALUES (1004, '用户删除', 'system:user:delete', 3, 4, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3808. '2022-04-20 17:03:10', 0, NULL, '1');
  3809. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3810. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3811. "deleted", "component_name", "always_show")
  3812. VALUES (1005, '用户导出', 'system:user:export', 3, 5, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3813. '2022-04-20 17:03:10', 0, NULL, '1');
  3814. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3815. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3816. "deleted", "component_name", "always_show")
  3817. VALUES (1006, '用户导入', 'system:user:import', 3, 6, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3818. '2022-04-20 17:03:10', 0, NULL, '1');
  3819. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3820. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3821. "deleted", "component_name", "always_show")
  3822. VALUES (1007, '重置密码', 'system:user:update-password', 3, 7, 100, '', '', '', 0, 't', 't', 'admin',
  3823. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3824. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3825. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3826. "deleted", "component_name", "always_show")
  3827. VALUES (1008, '角色查询', 'system:role:query', 3, 1, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3828. '2022-04-20 17:03:10', 0, NULL, '1');
  3829. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3830. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3831. "deleted", "component_name", "always_show")
  3832. VALUES (1009, '角色新增', 'system:role:create', 3, 2, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3833. '2022-04-20 17:03:10', 0, NULL, '1');
  3834. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3835. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3836. "deleted", "component_name", "always_show")
  3837. VALUES (1010, '角色修改', 'system:role:update', 3, 3, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3838. '2022-04-20 17:03:10', 0, NULL, '1');
  3839. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3840. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3841. "deleted", "component_name", "always_show")
  3842. VALUES (1011, '角色删除', 'system:role:delete', 3, 4, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3843. '2022-04-20 17:03:10', 0, NULL, '1');
  3844. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3845. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3846. "deleted", "component_name", "always_show")
  3847. VALUES (1012, '角色导出', 'system:role:export', 3, 5, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3848. '2022-04-20 17:03:10', 0, NULL, '1');
  3849. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3850. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3851. "deleted", "component_name", "always_show")
  3852. VALUES (1013, '菜单查询', 'system:menu:query', 3, 1, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3853. '2022-04-20 17:03:10', 0, NULL, '1');
  3854. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3855. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3856. "deleted", "component_name", "always_show")
  3857. VALUES (1014, '菜单新增', 'system:menu:create', 3, 2, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3858. '2022-04-20 17:03:10', 0, NULL, '1');
  3859. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3860. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3861. "deleted", "component_name", "always_show")
  3862. VALUES (1015, '菜单修改', 'system:menu:update', 3, 3, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3863. '2022-04-20 17:03:10', 0, NULL, '1');
  3864. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3865. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3866. "deleted", "component_name", "always_show")
  3867. VALUES (1016, '菜单删除', 'system:menu:delete', 3, 4, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3868. '2022-04-20 17:03:10', 0, NULL, '1');
  3869. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3870. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3871. "deleted", "component_name", "always_show")
  3872. VALUES (1017, '部门查询', 'system:dept:query', 3, 1, 103, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3873. '2022-04-20 17:03:10', 0, NULL, '1');
  3874. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3875. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3876. "deleted", "component_name", "always_show")
  3877. VALUES (1018, '部门新增', 'system:dept:create', 3, 2, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3878. '2022-04-20 17:03:10', 0, NULL, '1');
  3879. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3880. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3881. "deleted", "component_name", "always_show")
  3882. VALUES (1019, '部门修改', 'system:dept:update', 3, 3, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3883. '2022-04-20 17:03:10', 0, NULL, '1');
  3884. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3885. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3886. "deleted", "component_name", "always_show")
  3887. VALUES (1020, '部门删除', 'system:dept:delete', 3, 4, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3888. '2022-04-20 17:03:10', 0, NULL, '1');
  3889. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3890. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3891. "deleted", "component_name", "always_show")
  3892. VALUES (1021, '岗位查询', 'system:post:query', 3, 1, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3893. '2022-04-20 17:03:10', 0, NULL, '1');
  3894. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3895. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3896. "deleted", "component_name", "always_show")
  3897. VALUES (1022, '岗位新增', 'system:post:create', 3, 2, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3898. '2022-04-20 17:03:10', 0, NULL, '1');
  3899. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3900. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3901. "deleted", "component_name", "always_show")
  3902. VALUES (1023, '岗位修改', 'system:post:update', 3, 3, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3903. '2022-04-20 17:03:10', 0, NULL, '1');
  3904. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3905. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3906. "deleted", "component_name", "always_show")
  3907. VALUES (1024, '岗位删除', 'system:post:delete', 3, 4, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3908. '2022-04-20 17:03:10', 0, NULL, '1');
  3909. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3910. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3911. "deleted", "component_name", "always_show")
  3912. VALUES (1025, '岗位导出', 'system:post:export', 3, 5, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3913. '2022-04-20 17:03:10', 0, NULL, '1');
  3914. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3915. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3916. "deleted", "component_name", "always_show")
  3917. VALUES (1026, '字典查询', 'system:dict:query', 3, 1, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3918. '2022-04-20 17:03:10', 0, NULL, '1');
  3919. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3920. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3921. "deleted", "component_name", "always_show")
  3922. VALUES (1027, '字典新增', 'system:dict:create', 3, 2, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3923. '2022-04-20 17:03:10', 0, NULL, '1');
  3924. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3925. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3926. "deleted", "component_name", "always_show")
  3927. VALUES (1028, '字典修改', 'system:dict:update', 3, 3, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3928. '2022-04-20 17:03:10', 0, NULL, '1');
  3929. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3930. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3931. "deleted", "component_name", "always_show")
  3932. VALUES (1029, '字典删除', 'system:dict:delete', 3, 4, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3933. '2022-04-20 17:03:10', 0, NULL, '1');
  3934. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3935. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3936. "deleted", "component_name", "always_show")
  3937. VALUES (1030, '字典导出', 'system:dict:export', 3, 5, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3938. '', '2022-04-20 17:03:10', 0, NULL, '1');
  3939. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3940. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3941. "deleted", "component_name", "always_show")
  3942. VALUES (1031, '配置查询', 'infra:config:query', 3, 1, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3943. '2022-04-20 17:03:10', 0, NULL, '1');
  3944. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3945. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3946. "deleted", "component_name", "always_show")
  3947. VALUES (1032, '配置新增', 'infra:config:create', 3, 2, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3948. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3949. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3950. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3951. "deleted", "component_name", "always_show")
  3952. VALUES (1033, '配置修改', 'infra:config:update', 3, 3, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3953. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3954. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3955. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3956. "deleted", "component_name", "always_show")
  3957. VALUES (1034, '配置删除', 'infra:config:delete', 3, 4, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3958. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3959. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3960. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3961. "deleted", "component_name", "always_show")
  3962. VALUES (1035, '配置导出', 'infra:config:export', 3, 5, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3963. '2022-04-20 17:03:10', 0, NULL, '1');
  3964. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3965. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3966. "deleted", "component_name", "always_show")
  3967. VALUES (1036, '公告查询', 'system:notice:query', 3, 1, 107, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3968. '', '2022-04-20 17:03:10', 0, NULL, '1');
  3969. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3970. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3971. "deleted", "component_name", "always_show")
  3972. VALUES (1037, '公告新增', 'system:notice:create', 3, 2, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3973. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3974. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3975. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3976. "deleted", "component_name", "always_show")
  3977. VALUES (1038, '公告修改', 'system:notice:update', 3, 3, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3978. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3979. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3980. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3981. "deleted", "component_name", "always_show")
  3982. VALUES (1039, '公告删除', 'system:notice:delete', 3, 4, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3983. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3984. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3985. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3986. "deleted", "component_name", "always_show")
  3987. VALUES (1040, '操作查询', 'system:operate-log:query', 3, 1, 500, '', '', '', 0, 't', 't', 'admin',
  3988. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  3989. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3990. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3991. "deleted", "component_name", "always_show")
  3992. VALUES (1042, '日志导出', 'system:operate-log:export', 3, 2, 500, '', '', '', 0, 't', 't', 'admin',
  3993. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  3994. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3995. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3996. "deleted", "component_name", "always_show")
  3997. VALUES (1043, '登录查询', 'system:login-log:query', 3, 1, 501, '#', '#', '', 0, 't', 't', 'admin',
  3998. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  3999. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4000. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4001. "deleted", "component_name", "always_show")
  4002. VALUES (1045, '日志导出', 'system:login-log:export', 3, 3, 501, '#', '#', '', 0, 't', 't', 'admin',
  4003. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4004. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4005. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4006. "deleted", "component_name", "always_show")
  4007. VALUES (1046, '令牌列表', 'system:oauth2-token:page', 3, 1, 109, '', '', '', 0, 't', 't', 'admin',
  4008. '2021-01-05 17:03:48', '1', '2022-05-09 23:54:42', 0, NULL, '1');
  4009. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4010. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4011. "deleted", "component_name", "always_show")
  4012. VALUES (1048, '令牌删除', 'system:oauth2-token:delete', 3, 2, 109, '', '', '', 0, 't', 't', 'admin',
  4013. '2021-01-05 17:03:48', '1', '2022-05-09 23:54:53', 0, NULL, '1');
  4014. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4015. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4016. "deleted", "component_name", "always_show")
  4017. VALUES (1050, '任务新增', 'infra:job:create', 3, 2, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4018. '2022-04-20 17:03:10', 0, NULL, '1');
  4019. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4020. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4021. "deleted", "component_name", "always_show")
  4022. VALUES (1051, '任务修改', 'infra:job:update', 3, 3, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4023. '2022-04-20 17:03:10', 0, NULL, '1');
  4024. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4025. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4026. "deleted", "component_name", "always_show")
  4027. VALUES (1052, '任务删除', 'infra:job:delete', 3, 4, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4028. '2022-04-20 17:03:10', 0, NULL, '1');
  4029. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4030. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4031. "deleted", "component_name", "always_show")
  4032. VALUES (1053, '状态修改', 'infra:job:update', 3, 5, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4033. '2022-04-20 17:03:10', 0, NULL, '1');
  4034. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4035. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4036. "deleted", "component_name", "always_show")
  4037. VALUES (1054, '任务导出', 'infra:job:export', 3, 7, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4038. '2022-04-20 17:03:10', 0, NULL, '1');
  4039. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4040. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4041. "deleted", "component_name", "always_show")
  4042. VALUES (1056, '生成修改', 'infra:codegen:update', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4043. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4044. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4045. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4046. "deleted", "component_name", "always_show")
  4047. VALUES (1057, '生成删除', 'infra:codegen:delete', 3, 3, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4048. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4049. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4050. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4051. "deleted", "component_name", "always_show")
  4052. VALUES (1058, '导入代码', 'infra:codegen:create', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4053. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4054. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4055. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4056. "deleted", "component_name", "always_show")
  4057. VALUES (1059, '预览代码', 'infra:codegen:preview', 3, 4, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4058. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4059. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4060. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4061. "deleted", "component_name", "always_show")
  4062. VALUES (1060, '生成代码', 'infra:codegen:download', 3, 5, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4063. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4064. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4065. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4066. "deleted", "component_name", "always_show")
  4067. VALUES (1063, '设置角色菜单权限', 'system:permission:assign-role-menu', 3, 6, 101, '', '', '', 0, 't', 't', '',
  4068. '2021-01-06 17:53:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4069. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4070. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4071. "deleted", "component_name", "always_show")
  4072. VALUES (1064, '设置角色数据权限', 'system:permission:assign-role-data-scope', 3, 7, 101, '', '', '', 0, 't', 't', '',
  4073. '2021-01-06 17:56:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4074. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4075. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4076. "deleted", "component_name", "always_show")
  4077. VALUES (1065, '设置用户角色', 'system:permission:assign-user-role', 3, 8, 101, '', '', '', 0, 't', 't', '',
  4078. '2021-01-07 10:23:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4079. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4080. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4081. "deleted", "component_name", "always_show")
  4082. VALUES (1066, '获得 Redis 监控信息', 'infra:redis:get-monitor-info', 3, 1, 113, '', '', '', 0, 't', 't', '',
  4083. '2021-01-26 01:02:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4084. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4085. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4086. "deleted", "component_name", "always_show")
  4087. VALUES (1067, '获得 Redis Key 列表', 'infra:redis:get-key-list', 3, 2, 113, '', '', '', 0, 't', 't', '',
  4088. '2021-01-26 01:02:52', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4089. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4090. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4091. "deleted", "component_name", "always_show")
  4092. VALUES (1070, '代码生成示例', 'infra:test-demo:query', 2, 1, 2, 'test-demo', 'validCode', 'infra/testDemo/index', 0,
  4093. 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4094. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4095. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4096. "deleted", "component_name", "always_show")
  4097. VALUES (1071, '测试示例表创建', 'infra:test-demo:create', 3, 1, 1070, '', '', '', 0, 't', 't', '',
  4098. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4099. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4100. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4101. "deleted", "component_name", "always_show")
  4102. VALUES (1072, '测试示例表更新', 'infra:test-demo:update', 3, 2, 1070, '', '', '', 0, 't', 't', '',
  4103. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4104. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4105. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4106. "deleted", "component_name", "always_show")
  4107. VALUES (1073, '测试示例表删除', 'infra:test-demo:delete', 3, 3, 1070, '', '', '', 0, 't', 't', '',
  4108. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4109. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4110. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4111. "deleted", "component_name", "always_show")
  4112. VALUES (1074, '测试示例表导出', 'infra:test-demo:export', 3, 4, 1070, '', '', '', 0, 't', 't', '',
  4113. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4114. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4115. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4116. "deleted", "component_name", "always_show")
  4117. VALUES (1075, '任务触发', 'infra:job:trigger', 3, 8, 110, '', '', '', 0, 't', 't', '', '2021-02-07 13:03:10', '',
  4118. '2022-04-20 17:03:10', 0, NULL, '1');
  4119. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4120. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4121. "deleted", "component_name", "always_show")
  4122. VALUES (1076, '数据库文档', '', 2, 4, 2, 'db-doc', 'table', 'infra/dbDoc/index', 0, 't', 't', '', '2021-02-08 01:41:47',
  4123. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4124. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4125. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4126. "deleted", "component_name", "always_show")
  4127. VALUES (1077, '监控平台', '', 2, 13, 2, 'skywalking', 'eye-open', 'infra/skywalking/index', 0, 't', 't', '',
  4128. '2021-02-08 20:41:31', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4129. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4130. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4131. "deleted", "component_name", "always_show")
  4132. VALUES (1078, '访问日志', '', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', 0, 't', 't', '',
  4133. '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4134. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4135. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4136. "deleted", "component_name", "always_show")
  4137. VALUES (1082, '日志导出', 'infra:api-access-log:export', 3, 2, 1078, '', '', '', 0, 't', 't', '', '2021-02-26 01:32:59',
  4138. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4139. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4140. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4141. "deleted", "component_name", "always_show")
  4142. VALUES (1083, 'API 日志', '', 2, 8, 2, 'log', 'log', NULL, 0, 't', 't', '', '2021-02-26 02:18:24', '1',
  4143. '2022-04-20 17:03:10', 0, NULL, '1');
  4144. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4145. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4146. "deleted", "component_name", "always_show")
  4147. VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', 0,
  4148. 't', 't', '', '2021-02-26 07:53:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4149. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4150. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4151. "deleted", "component_name", "always_show")
  4152. VALUES (1085, '日志处理', 'infra:api-error-log:update-status', 3, 2, 1084, '', '', '', 0, 't', 't', '',
  4153. '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4154. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4155. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4156. "deleted", "component_name", "always_show")
  4157. VALUES (1086, '日志导出', 'infra:api-error-log:export', 3, 3, 1084, '', '', '', 0, 't', 't', '', '2021-02-26 07:53:20',
  4158. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4159. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4160. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4161. "deleted", "component_name", "always_show")
  4162. VALUES (1087, '任务查询', 'infra:job:query', 3, 1, 110, '', '', '', 0, 't', 't', '1', '2021-03-10 01:26:19', '1',
  4163. '2022-04-20 17:03:10', 0, NULL, '1');
  4164. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4165. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4166. "deleted", "component_name", "always_show")
  4167. VALUES (1088, '日志查询', 'infra:api-access-log:query', 3, 1, 1078, '', '', '', 0, 't', 't', '1', '2021-03-10 01:28:04',
  4168. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4169. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4170. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4171. "deleted", "component_name", "always_show")
  4172. VALUES (1089, '日志查询', 'infra:api-error-log:query', 3, 1, 1084, '', '', '', 0, 't', 't', '1', '2021-03-10 01:29:09',
  4173. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4174. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4175. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4176. "deleted", "component_name", "always_show")
  4177. VALUES (1090, '文件列表', '', 2, 5, 1243, 'file', 'upload', 'infra/file/index', 0, 't', 't', '', '2021-03-12 20:16:20',
  4178. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4179. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4180. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4181. "deleted", "component_name", "always_show")
  4182. VALUES (1091, '文件查询', 'infra:file:query', 3, 1, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '',
  4183. '2022-04-20 17:03:10', 0, NULL, '1');
  4184. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4185. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4186. "deleted", "component_name", "always_show")
  4187. VALUES (1092, '文件删除', 'infra:file:delete', 3, 4, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '',
  4188. '2022-04-20 17:03:10', 0, NULL, '1');
  4189. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4190. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4191. "deleted", "component_name", "always_show")
  4192. VALUES (1093, '短信管理', '', 1, 11, 1, 'sms', 'validCode', NULL, 0, 't', 't', '1', '2021-04-05 01:10:16', '1',
  4193. '2022-04-20 17:03:10', 0, NULL, '1');
  4194. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4195. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4196. "deleted", "component_name", "always_show")
  4197. VALUES (1094, '短信渠道', '', 2, 0, 1093, 'sms-channel', 'phone', 'system/sms/channel', 0, 't', 't', '',
  4198. '2021-04-01 11:07:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4199. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4200. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4201. "deleted", "component_name", "always_show")
  4202. VALUES (1095, '短信渠道查询', 'system:sms-channel:query', 3, 1, 1094, '', '', '', 0, 't', 't', '',
  4203. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4204. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4205. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4206. "deleted", "component_name", "always_show")
  4207. VALUES (1096, '短信渠道创建', 'system:sms-channel:create', 3, 2, 1094, '', '', '', 0, 't', 't', '',
  4208. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4209. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4210. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4211. "deleted", "component_name", "always_show")
  4212. VALUES (1097, '短信渠道更新', 'system:sms-channel:update', 3, 3, 1094, '', '', '', 0, 't', 't', '',
  4213. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4214. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4215. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4216. "deleted", "component_name", "always_show")
  4217. VALUES (1098, '短信渠道删除', 'system:sms-channel:delete', 3, 4, 1094, '', '', '', 0, 't', 't', '',
  4218. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4219. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4220. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4221. "deleted", "component_name", "always_show")
  4222. VALUES (1100, '短信模板', '', 2, 1, 1093, 'sms-template', 'phone', 'system/sms/template', 0, 't', 't', '',
  4223. '2021-04-01 17:35:17', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4224. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4225. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4226. "deleted", "component_name", "always_show")
  4227. VALUES (1101, '短信模板查询', 'system:sms-template:query', 3, 1, 1100, '', '', '', 0, 't', 't', '',
  4228. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4229. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4230. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4231. "deleted", "component_name", "always_show")
  4232. VALUES (1102, '短信模板创建', 'system:sms-template:create', 3, 2, 1100, '', '', '', 0, 't', 't', '',
  4233. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4234. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4235. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4236. "deleted", "component_name", "always_show")
  4237. VALUES (1103, '短信模板更新', 'system:sms-template:update', 3, 3, 1100, '', '', '', 0, 't', 't', '',
  4238. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4239. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4240. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4241. "deleted", "component_name", "always_show")
  4242. VALUES (1104, '短信模板删除', 'system:sms-template:delete', 3, 4, 1100, '', '', '', 0, 't', 't', '',
  4243. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4244. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4245. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4246. "deleted", "component_name", "always_show")
  4247. VALUES (1105, '短信模板导出', 'system:sms-template:export', 3, 5, 1100, '', '', '', 0, 't', 't', '',
  4248. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4249. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4250. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4251. "deleted", "component_name", "always_show")
  4252. VALUES (1106, '发送测试短信', 'system:sms-template:send-sms', 3, 6, 1100, '', '', '', 0, 't', 't', '1',
  4253. '2021-04-11 00:26:40', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4254. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4255. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4256. "deleted", "component_name", "always_show")
  4257. VALUES (1107, '短信日志', '', 2, 2, 1093, 'sms-log', 'phone', 'system/sms/log', 0, 't', 't', '', '2021-04-11 08:37:05',
  4258. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4259. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4260. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4261. "deleted", "component_name", "always_show")
  4262. VALUES (1108, '短信日志查询', 'system:sms-log:query', 3, 1, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05',
  4263. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4264. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4265. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4266. "deleted", "component_name", "always_show")
  4267. VALUES (1109, '短信日志导出', 'system:sms-log:export', 3, 5, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05',
  4268. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4269. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4270. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4271. "deleted", "component_name", "always_show")
  4272. VALUES (1110, '错误码管理', '', 2, 12, 1, 'error-code', 'code', 'system/errorCode/index', 0, 't', 't', '',
  4273. '2021-04-13 21:46:42', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4274. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4275. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4276. "deleted", "component_name", "always_show")
  4277. VALUES (1111, '错误码查询', 'system:error-code:query', 3, 1, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4278. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4279. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4280. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4281. "deleted", "component_name", "always_show")
  4282. VALUES (1112, '错误码创建', 'system:error-code:create', 3, 2, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4283. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4284. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4285. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4286. "deleted", "component_name", "always_show")
  4287. VALUES (1113, '错误码更新', 'system:error-code:update', 3, 3, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4288. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4289. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4290. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4291. "deleted", "component_name", "always_show")
  4292. VALUES (1114, '错误码删除', 'system:error-code:delete', 3, 4, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4293. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4294. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4295. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4296. "deleted", "component_name", "always_show")
  4297. VALUES (1115, '错误码导出', 'system:error-code:export', 3, 5, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4298. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4299. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4300. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4301. "deleted", "component_name", "always_show")
  4302. VALUES (1117, '支付管理', '', 1, 11, 0, '/pay', 'money', NULL, 0, 't', 't', '1', '2021-12-25 16:43:41', '1',
  4303. '2022-05-13 01:02:25.244', 0, NULL, '1');
  4304. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4305. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4306. "deleted", "component_name", "always_show")
  4307. VALUES (1118, '请假查询', '', 2, 0, 5, 'leave', 'user', 'bpm/oa/leave/index', 0, 't', 't', '', '2021-09-20 08:51:03',
  4308. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4309. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4310. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4311. "deleted", "component_name", "always_show")
  4312. VALUES (1119, '请假申请查询', 'bpm:oa-leave:query', 3, 1, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03', '1',
  4313. '2022-04-20 17:03:10', 0, NULL, '1');
  4314. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4315. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4316. "deleted", "component_name", "always_show")
  4317. VALUES (1120, '请假申请创建', 'bpm:oa-leave:create', 3, 2, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03',
  4318. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4319. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4320. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4321. "deleted", "component_name", "always_show")
  4322. VALUES (1126, '应用信息', '', 2, 1, 1117, 'app', 'table', 'pay/app/index', 0, 't', 't', '', '2021-11-10 01:13:30', '1',
  4323. '2022-04-20 17:03:10', 0, NULL, '1');
  4324. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4325. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4326. "deleted", "component_name", "always_show")
  4327. VALUES (1127, '支付应用信息查询', 'pay:app:query', 3, 1, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4328. '2022-04-20 17:03:10', 0, NULL, '1');
  4329. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4330. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4331. "deleted", "component_name", "always_show")
  4332. VALUES (1128, '支付应用信息创建', 'pay:app:create', 3, 2, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4333. '2022-04-20 17:03:10', 0, NULL, '1');
  4334. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4335. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4336. "deleted", "component_name", "always_show")
  4337. VALUES (1129, '支付应用信息更新', 'pay:app:update', 3, 3, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4338. '2022-04-20 17:03:10', 0, NULL, '1');
  4339. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4340. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4341. "deleted", "component_name", "always_show")
  4342. VALUES (1130, '支付应用信息删除', 'pay:app:delete', 3, 4, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4343. '2022-04-20 17:03:10', 0, NULL, '1');
  4344. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4345. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4346. "deleted", "component_name", "always_show")
  4347. VALUES (1131, '支付应用信息导出', 'pay:app:export', 3, 5, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4348. '2022-04-20 17:03:10', 0, NULL, '1');
  4349. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4350. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4351. "deleted", "component_name", "always_show")
  4352. VALUES (1132, '秘钥解析', 'pay:channel:parsing', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1',
  4353. '2022-04-20 17:03:10', 0, NULL, '1');
  4354. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4355. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4356. "deleted", "component_name", "always_show")
  4357. VALUES (1133, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4358. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4359. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4360. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4361. "deleted", "component_name", "always_show")
  4362. VALUES (1134, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4363. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4364. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4365. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4366. "deleted", "component_name", "always_show")
  4367. VALUES (1135, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4368. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4369. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4370. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4371. "deleted", "component_name", "always_show")
  4372. VALUES (1136, '支付商户信息删除', 'pay:merchant:delete', 3, 4, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4373. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4374. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4375. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4376. "deleted", "component_name", "always_show")
  4377. VALUES (1137, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4378. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4379. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4380. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4381. "deleted", "component_name", "always_show")
  4382. VALUES (1138, '租户列表', '', 2, 0, 1224, 'list', 'peoples', 'system/tenant/index', 0, 't', 't', '',
  4383. '2021-12-14 12:31:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4384. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4385. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4386. "deleted", "component_name", "always_show")
  4387. VALUES (1139, '租户查询', 'system:tenant:query', 3, 1, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4388. '2022-04-20 17:03:10', 0, NULL, '1');
  4389. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4390. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4391. "deleted", "component_name", "always_show")
  4392. VALUES (1140, '租户创建', 'system:tenant:create', 3, 2, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4393. '2022-04-20 17:03:10', 0, NULL, '1');
  4394. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4395. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4396. "deleted", "component_name", "always_show")
  4397. VALUES (1141, '租户更新', 'system:tenant:update', 3, 3, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4398. '2022-04-20 17:03:10', 0, NULL, '1');
  4399. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4400. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4401. "deleted", "component_name", "always_show")
  4402. VALUES (1142, '租户删除', 'system:tenant:delete', 3, 4, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4403. '2022-04-20 17:03:10', 0, NULL, '1');
  4404. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4405. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4406. "deleted", "component_name", "always_show")
  4407. VALUES (1143, '租户导出', 'system:tenant:export', 3, 5, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4408. '2022-04-20 17:03:10', 0, NULL, '1');
  4409. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4410. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4411. "deleted", "component_name", "always_show")
  4412. VALUES (1150, '秘钥解析', '', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1',
  4413. '2022-04-20 17:03:10', 0, NULL, '1');
  4414. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4415. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4416. "deleted", "component_name", "always_show")
  4417. VALUES (1161, '退款订单', '', 2, 3, 1117, 'refund', 'order', 'pay/refund/index', 0, 't', 't', '', '2021-12-25 08:29:07',
  4418. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4419. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4420. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4421. "deleted", "component_name", "always_show")
  4422. VALUES (1162, '退款订单查询', 'pay:refund:query', 3, 1, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4423. '2022-04-20 17:03:10', 0, NULL, '1');
  4424. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4425. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4426. "deleted", "component_name", "always_show")
  4427. VALUES (1163, '退款订单创建', 'pay:refund:create', 3, 2, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4428. '2022-04-20 17:03:10', 0, NULL, '1');
  4429. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4430. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4431. "deleted", "component_name", "always_show")
  4432. VALUES (1164, '退款订单更新', 'pay:refund:update', 3, 3, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4433. '2022-04-20 17:03:10', 0, NULL, '1');
  4434. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4435. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4436. "deleted", "component_name", "always_show")
  4437. VALUES (1165, '退款订单删除', 'pay:refund:delete', 3, 4, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4438. '2022-04-20 17:03:10', 0, NULL, '1');
  4439. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4440. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4441. "deleted", "component_name", "always_show")
  4442. VALUES (1166, '退款订单导出', 'pay:refund:export', 3, 5, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4443. '2022-04-20 17:03:10', 0, NULL, '1');
  4444. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4445. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4446. "deleted", "component_name", "always_show")
  4447. VALUES (1173, '支付订单', '', 2, 2, 1117, 'order', 'pay', 'pay/order/index', 0, 't', 't', '', '2021-12-25 08:49:43',
  4448. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4449. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4450. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4451. "deleted", "component_name", "always_show")
  4452. VALUES (1174, '支付订单查询', 'pay:order:query', 3, 1, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4453. '2022-04-20 17:03:10', 0, NULL, '1');
  4454. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4455. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4456. "deleted", "component_name", "always_show")
  4457. VALUES (1175, '支付订单创建', 'pay:order:create', 3, 2, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4458. '2022-04-20 17:03:10', 0, NULL, '1');
  4459. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4460. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4461. "deleted", "component_name", "always_show")
  4462. VALUES (1176, '支付订单更新', 'pay:order:update', 3, 3, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4463. '2022-04-20 17:03:10', 0, NULL, '1');
  4464. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4465. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4466. "deleted", "component_name", "always_show")
  4467. VALUES (1177, '支付订单删除', 'pay:order:delete', 3, 4, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4468. '2022-04-20 17:03:10', 0, NULL, '1');
  4469. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4470. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4471. "deleted", "component_name", "always_show")
  4472. VALUES (1178, '支付订单导出', 'pay:order:export', 3, 5, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4473. '2022-04-20 17:03:10', 0, NULL, '1');
  4474. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4475. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4476. "deleted", "component_name", "always_show")
  4477. VALUES (1179, '商户信息', '', 2, 0, 1117, 'merchant', 'merchant', 'pay/merchant/index', 0, 't', 't', '',
  4478. '2021-12-25 09:01:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4479. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4480. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4481. "deleted", "component_name", "always_show")
  4482. VALUES (1180, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4483. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4484. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4485. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4486. "deleted", "component_name", "always_show")
  4487. VALUES (1181, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4488. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4489. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4490. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4491. "deleted", "component_name", "always_show")
  4492. VALUES (1182, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4493. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4494. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4495. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4496. "deleted", "component_name", "always_show")
  4497. VALUES (1183, '支付商户信息删除', '', 3, 4, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '',
  4498. '2022-04-20 17:03:10', 0, NULL, '1');
  4499. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4500. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4501. "deleted", "component_name", "always_show")
  4502. VALUES (1184, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4503. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4504. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4505. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4506. "deleted", "component_name", "always_show")
  4507. VALUES (1185, '工作流程', '', 1, 50, 0, '/bpm', 'tool', NULL, 0, 't', 't', '1', '2021-12-30 20:26:36', '103',
  4508. '2022-04-20 17:03:10', 0, NULL, '1');
  4509. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4510. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4511. "deleted", "component_name", "always_show")
  4512. VALUES (1186, '流程管理', '', 1, 10, 1185, 'manager', 'nested', NULL, 0, 't', 't', '1', '2021-12-30 20:28:30', '1',
  4513. '2022-04-20 17:03:10', 0, NULL, '1');
  4514. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4515. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4516. "deleted", "component_name", "always_show")
  4517. VALUES (1187, '流程表单', '', 2, 0, 1186, 'form', 'form', 'bpm/form/index', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4518. '2022-04-20 17:03:10', 0, NULL, '1');
  4519. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4520. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4521. "deleted", "component_name", "always_show")
  4522. VALUES (1188, '表单查询', 'bpm:form:query', 3, 1, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4523. '2022-04-20 17:03:10', 0, NULL, '1');
  4524. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4525. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4526. "deleted", "component_name", "always_show")
  4527. VALUES (1189, '表单创建', 'bpm:form:create', 3, 2, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4528. '2022-04-20 17:03:10', 0, NULL, '1');
  4529. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4530. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4531. "deleted", "component_name", "always_show")
  4532. VALUES (1190, '表单更新', 'bpm:form:update', 3, 3, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4533. '2022-04-20 17:03:10', 0, NULL, '1');
  4534. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4535. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4536. "deleted", "component_name", "always_show")
  4537. VALUES (1191, '表单删除', 'bpm:form:delete', 3, 4, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4538. '2022-04-20 17:03:10', 0, NULL, '1');
  4539. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4540. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4541. "deleted", "component_name", "always_show")
  4542. VALUES (1192, '表单导出', 'bpm:form:export', 3, 5, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4543. '2022-04-20 17:03:10', 0, NULL, '1');
  4544. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4545. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4546. "deleted", "component_name", "always_show")
  4547. VALUES (1193, '流程模型', '', 2, 5, 1186, 'model', 'guide', 'bpm/model/index', 0, 't', 't', '1', '2021-12-31 23:24:58',
  4548. '103', '2022-04-20 17:03:10', 0, NULL, '1');
  4549. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4550. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4551. "deleted", "component_name", "always_show")
  4552. VALUES (1194, '模型查询', 'bpm:model:query', 3, 1, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:10', '1',
  4553. '2022-04-20 17:03:10', 0, NULL, '1');
  4554. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4555. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4556. "deleted", "component_name", "always_show")
  4557. VALUES (1195, '模型创建', 'bpm:model:create', 3, 2, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:24', '1',
  4558. '2022-04-20 17:03:10', 0, NULL, '1');
  4559. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4560. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4561. "deleted", "component_name", "always_show")
  4562. VALUES (1196, '模型导入', 'bpm:model:import', 3, 3, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:35', '1',
  4563. '2022-04-20 17:03:10', 0, NULL, '1');
  4564. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4565. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4566. "deleted", "component_name", "always_show")
  4567. VALUES (1197, '模型更新', 'bpm:model:update', 3, 4, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:28', '1',
  4568. '2022-04-20 17:03:10', 0, NULL, '1');
  4569. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4570. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4571. "deleted", "component_name", "always_show")
  4572. VALUES (1198, '模型删除', 'bpm:model:delete', 3, 5, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:43', '1',
  4573. '2022-04-20 17:03:10', 0, NULL, '1');
  4574. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4575. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4576. "deleted", "component_name", "always_show")
  4577. VALUES (1199, '模型发布', 'bpm:model:deploy', 3, 6, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:03:24', '1',
  4578. '2022-04-20 17:03:10', 0, NULL, '1');
  4579. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4580. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4581. "deleted", "component_name", "always_show")
  4582. VALUES (1200, '任务管理', '', 1, 20, 1185, 'task', 'cascader', NULL, 0, 't', 't', '1', '2022-01-07 23:51:48', '1',
  4583. '2022-04-20 17:03:10', 0, NULL, '1');
  4584. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4585. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4586. "deleted", "component_name", "always_show")
  4587. VALUES (1201, '我的流程', '', 2, 0, 1200, 'my', 'people', 'bpm/processInstance/index', 0, 't', 't', '',
  4588. '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4589. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4590. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4591. "deleted", "component_name", "always_show")
  4592. VALUES (1202, '流程实例的查询', 'bpm:process-instance:query', 3, 1, 1201, '', '', '', 0, 't', 't', '',
  4593. '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4594. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4595. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4596. "deleted", "component_name", "always_show")
  4597. VALUES (1207, '待办任务', '', 2, 10, 1200, 'todo', 'eye-open', 'bpm/task/todo', 0, 't', 't', '1', '2022-01-08 10:33:37',
  4598. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4599. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4600. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4601. "deleted", "component_name", "always_show")
  4602. VALUES (1208, '已办任务', '', 2, 20, 1200, 'done', 'eye', 'bpm/task/done', 0, 't', 't', '1', '2022-01-08 10:34:13', '1',
  4603. '2022-04-20 17:03:10', 0, NULL, '1');
  4604. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4605. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4606. "deleted", "component_name", "always_show")
  4607. VALUES (1209, '用户分组', '', 2, 2, 1186, 'user-group', 'people', 'bpm/group/index', 0, 't', 't', '',
  4608. '2022-01-14 02:14:20', '103', '2022-04-20 17:03:10', 0, NULL, '1');
  4609. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4610. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4611. "deleted", "component_name", "always_show")
  4612. VALUES (1210, '用户组查询', 'bpm:user-group:query', 3, 1, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4613. '2022-04-20 17:03:10', 0, NULL, '1');
  4614. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4615. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4616. "deleted", "component_name", "always_show")
  4617. VALUES (1211, '用户组创建', 'bpm:user-group:create', 3, 2, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4618. '2022-04-20 17:03:10', 0, NULL, '1');
  4619. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4620. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4621. "deleted", "component_name", "always_show")
  4622. VALUES (1212, '用户组更新', 'bpm:user-group:update', 3, 3, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4623. '2022-04-20 17:03:10', 0, NULL, '1');
  4624. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4625. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4626. "deleted", "component_name", "always_show")
  4627. VALUES (1213, '用户组删除', 'bpm:user-group:delete', 3, 4, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4628. '2022-04-20 17:03:10', 0, NULL, '1');
  4629. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4630. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4631. "deleted", "component_name", "always_show")
  4632. VALUES (1215, '流程定义查询', 'bpm:process-definition:query', 3, 10, 1193, '', '', '', 0, 't', 't', '1',
  4633. '2022-01-23 00:21:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4634. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4635. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4636. "deleted", "component_name", "always_show")
  4637. VALUES (1216, '流程任务分配规则查询', 'bpm:task-assign-rule:query', 3, 20, 1193, '', '', '', 0, 't', 't', '1',
  4638. '2022-01-23 00:26:53', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4639. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4640. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4641. "deleted", "component_name", "always_show")
  4642. VALUES (1217, '流程任务分配规则创建', 'bpm:task-assign-rule:create', 3, 21, 1193, '', '', '', 0, 't', 't', '1',
  4643. '2022-01-23 00:28:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4644. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4645. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4646. "deleted", "component_name", "always_show")
  4647. VALUES (1218, '流程任务分配规则更新', 'bpm:task-assign-rule:update', 3, 22, 1193, '', '', '', 0, 't', 't', '1',
  4648. '2022-01-23 00:28:41', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4649. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4650. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4651. "deleted", "component_name", "always_show")
  4652. VALUES (1219, '流程实例的创建', 'bpm:process-instance:create', 3, 2, 1201, '', '', '', 0, 't', 't', '1',
  4653. '2022-01-23 00:36:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4654. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4655. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4656. "deleted", "component_name", "always_show")
  4657. VALUES (1220, '流程实例的取消', 'bpm:process-instance:cancel', 3, 3, 1201, '', '', '', 0, 't', 't', '1',
  4658. '2022-01-23 00:36:33', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4659. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4660. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4661. "deleted", "component_name", "always_show")
  4662. VALUES (1221, '流程任务的查询', 'bpm:task:query', 3, 1, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:38:52', '1',
  4663. '2022-04-20 17:03:10', 0, NULL, '1');
  4664. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4665. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4666. "deleted", "component_name", "always_show")
  4667. VALUES (1222, '流程任务的更新', 'bpm:task:update', 3, 2, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:39:24', '1',
  4668. '2022-04-20 17:03:10', 0, NULL, '1');
  4669. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4670. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4671. "deleted", "component_name", "always_show")
  4672. VALUES (1224, '租户管理', '', 2, 0, 1, 'tenant', 'peoples', NULL, 0, 't', 't', '1', '2022-02-20 01:41:13', '1',
  4673. '2022-04-20 17:03:10', 0, NULL, '1');
  4674. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4675. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4676. "deleted", "component_name", "always_show")
  4677. VALUES (1225, '租户套餐', '', 2, 0, 1224, 'package', 'eye', 'system/tenantPackage/index', 0, 't', 't', '',
  4678. '2022-02-19 17:44:06', '1', '2022-04-21 01:21:25', 0, NULL, '1');
  4679. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4680. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4681. "deleted", "component_name", "always_show")
  4682. VALUES (1226, '租户套餐查询', 'system:tenant-package:query', 3, 1, 1225, '', '', '', 0, 't', 't', '',
  4683. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4684. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4685. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4686. "deleted", "component_name", "always_show")
  4687. VALUES (1227, '租户套餐创建', 'system:tenant-package:create', 3, 2, 1225, '', '', '', 0, 't', 't', '',
  4688. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4689. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4690. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4691. "deleted", "component_name", "always_show")
  4692. VALUES (1228, '租户套餐更新', 'system:tenant-package:update', 3, 3, 1225, '', '', '', 0, 't', 't', '',
  4693. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4694. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4695. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4696. "deleted", "component_name", "always_show")
  4697. VALUES (1229, '租户套餐删除', 'system:tenant-package:delete', 3, 4, 1225, '', '', '', 0, 't', 't', '',
  4698. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4699. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4700. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4701. "deleted", "component_name", "always_show")
  4702. VALUES (1237, '文件配置', '', 2, 0, 1243, 'file-config', 'config', 'infra/fileConfig/index', 0, 't', 't', '',
  4703. '2022-03-15 14:35:28', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4704. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4705. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4706. "deleted", "component_name", "always_show")
  4707. VALUES (1238, '文件配置查询', 'infra:file-config:query', 3, 1, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28',
  4708. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4709. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4710. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4711. "deleted", "component_name", "always_show")
  4712. VALUES (1239, '文件配置创建', 'infra:file-config:create', 3, 2, 1237, '', '', '', 0, 't', 't', '',
  4713. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4714. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4715. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4716. "deleted", "component_name", "always_show")
  4717. VALUES (1240, '文件配置更新', 'infra:file-config:update', 3, 3, 1237, '', '', '', 0, 't', 't', '',
  4718. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4719. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4720. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4721. "deleted", "component_name", "always_show")
  4722. VALUES (1241, '文件配置删除', 'infra:file-config:delete', 3, 4, 1237, '', '', '', 0, 't', 't', '',
  4723. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4724. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4725. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4726. "deleted", "component_name", "always_show")
  4727. VALUES (1242, '文件配置导出', 'infra:file-config:export', 3, 5, 1237, '', '', '', 0, 't', 't', '',
  4728. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4729. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4730. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4731. "deleted", "component_name", "always_show")
  4732. VALUES (1243, '文件管理', '', 2, 5, 2, 'file', 'download', NULL, 0, 't', 't', '1', '2022-03-16 23:47:40', '1',
  4733. '2022-04-20 17:03:10', 0, NULL, '1');
  4734. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4735. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4736. "deleted", "component_name", "always_show")
  4737. VALUES (1247, '敏感词管理', '', 2, 13, 1, 'sensitive-word', 'education', 'system/sensitiveWord/index', 0, 't', 't', '',
  4738. '2022-04-07 16:55:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4739. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4740. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4741. "deleted", "component_name", "always_show")
  4742. VALUES (1248, '敏感词查询', 'system:sensitive-word:query', 3, 1, 1247, '', '', '', 0, 't', 't', '',
  4743. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4744. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4745. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4746. "deleted", "component_name", "always_show")
  4747. VALUES (1249, '敏感词创建', 'system:sensitive-word:create', 3, 2, 1247, '', '', '', 0, 't', 't', '',
  4748. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4749. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4750. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4751. "deleted", "component_name", "always_show")
  4752. VALUES (1250, '敏感词更新', 'system:sensitive-word:update', 3, 3, 1247, '', '', '', 0, 't', 't', '',
  4753. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4754. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4755. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4756. "deleted", "component_name", "always_show")
  4757. VALUES (1251, '敏感词删除', 'system:sensitive-word:delete', 3, 4, 1247, '', '', '', 0, 't', 't', '',
  4758. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4759. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4760. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4761. "deleted", "component_name", "always_show")
  4762. VALUES (1252, '敏感词导出', 'system:sensitive-word:export', 3, 5, 1247, '', '', '', 0, 't', 't', '',
  4763. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4764. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4765. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4766. "deleted", "component_name", "always_show")
  4767. VALUES (1254, '作者动态', '', 1, 0, 0, 'https://www.iocoder.cn', 'people', NULL, 0, 't', 't', '1',
  4768. '2022-04-23 01:03:15', '1', '2022-04-23 01:03:15', 0, NULL, '1');
  4769. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4770. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4771. "deleted", "component_name", "always_show")
  4772. VALUES (1255, '数据源配置', '', 2, 1, 2, 'data-source-config', 'rate', 'infra/dataSourceConfig/index', 0, 't', 't', '',
  4773. '2022-04-27 14:37:32', '1', '2022-04-27 22:42:06', 0, NULL, '1');
  4774. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4775. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4776. "deleted", "component_name", "always_show")
  4777. VALUES (1256, '数据源配置查询', 'infra:data-source-config:query', 3, 1, 1255, '', '', '', 0, 't', 't', '',
  4778. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4779. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4780. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4781. "deleted", "component_name", "always_show")
  4782. VALUES (1257, '数据源配置创建', 'infra:data-source-config:create', 3, 2, 1255, '', '', '', 0, 't', 't', '',
  4783. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4784. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4785. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4786. "deleted", "component_name", "always_show")
  4787. VALUES (1258, '数据源配置更新', 'infra:data-source-config:update', 3, 3, 1255, '', '', '', 0, 't', 't', '',
  4788. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4789. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4790. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4791. "deleted", "component_name", "always_show")
  4792. VALUES (1259, '数据源配置删除', 'infra:data-source-config:delete', 3, 4, 1255, '', '', '', 0, 't', 't', '',
  4793. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4794. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4795. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4796. "deleted", "component_name", "always_show")
  4797. VALUES (1260, '数据源配置导出', 'infra:data-source-config:export', 3, 5, 1255, '', '', '', 0, 't', 't', '',
  4798. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4799. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4800. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4801. "deleted", "component_name", "always_show")
  4802. VALUES (1261, 'OAuth 2.0', '', 1, 10, 1, 'oauth2', 'people', NULL, 0, 't', 't', '1', '2022-05-09 23:38:17', '1',
  4803. '2022-05-11 23:51:46', 0, NULL, '1');
  4804. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4805. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4806. "deleted", "component_name", "always_show")
  4807. VALUES (1263, '应用管理', '', 2, 0, 1261, 'oauth2/application', 'tool', 'system/oauth2/client/index', 0, 't', 't', '',
  4808. '2022-05-10 16:26:33', '1', '2022-05-11 23:31:36', 0, NULL, '1');
  4809. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4810. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4811. "deleted", "component_name", "always_show")
  4812. VALUES (1264, '客户端查询', 'system:oauth2-client:query', 3, 1, 1263, '', '', '', 0, 't', 't', '',
  4813. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:06', 0, NULL, '1');
  4814. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4815. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4816. "deleted", "component_name", "always_show")
  4817. VALUES (1265, '客户端创建', 'system:oauth2-client:create', 3, 2, 1263, '', '', '', 0, 't', 't', '',
  4818. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:23', 0, NULL, '1');
  4819. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4820. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4821. "deleted", "component_name", "always_show")
  4822. VALUES (1266, '客户端更新', 'system:oauth2-client:update', 3, 3, 1263, '', '', '', 0, 't', 't', '',
  4823. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:28', 0, NULL, '1');
  4824. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4825. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4826. "deleted", "component_name", "always_show")
  4827. VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', 0, 't', 't', '',
  4828. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', 0, NULL, '1');
  4829. COMMIT;
  4830. -- ----------------------------
  4831. -- Table structure for system_notice
  4832. -- ----------------------------
  4833. DROP TABLE IF EXISTS "system_notice";
  4834. CREATE TABLE "system_notice"
  4835. (
  4836. "id" int8 NOT NULL,
  4837. "title" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  4838. "content" text COLLATE "pg_catalog"."default" NOT NULL,
  4839. "type" int2 NOT NULL,
  4840. "status" int2 NOT NULL,
  4841. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4842. "create_time" timestamp(6) NOT NULL,
  4843. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4844. "update_time" timestamp(6) NOT NULL,
  4845. "deleted" int2 NOT NULL DEFAULT 0,
  4846. "tenant_id" int8 NOT NULL DEFAULT 0
  4847. )
  4848. ;
  4849. COMMENT
  4850. ON COLUMN "system_notice"."id" IS '公告ID';
  4851. COMMENT
  4852. ON COLUMN "system_notice"."title" IS '公告标题';
  4853. COMMENT
  4854. ON COLUMN "system_notice"."content" IS '公告内容';
  4855. COMMENT
  4856. ON COLUMN "system_notice"."type" IS '公告类型(1通知 2公告)';
  4857. COMMENT
  4858. ON COLUMN "system_notice"."status" IS '公告状态(0正常 1关闭)';
  4859. COMMENT
  4860. ON COLUMN "system_notice"."creator" IS '创建者';
  4861. COMMENT
  4862. ON COLUMN "system_notice"."create_time" IS '创建时间';
  4863. COMMENT
  4864. ON COLUMN "system_notice"."updater" IS '更新者';
  4865. COMMENT
  4866. ON COLUMN "system_notice"."update_time" IS '更新时间';
  4867. COMMENT
  4868. ON COLUMN "system_notice"."deleted" IS '是否删除';
  4869. COMMENT
  4870. ON COLUMN "system_notice"."tenant_id" IS '租户编号';
  4871. COMMENT
  4872. ON TABLE "system_notice" IS '通知公告表';
  4873. -- ----------------------------
  4874. -- Records of system_notice
  4875. -- ----------------------------
  4876. BEGIN;
  4877. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4878. "update_time", "deleted", "tenant_id")
  4879. VALUES (1, '芋道的公众', '<p>新版本内容133</p>', 1, 0, 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 21:00:20', 0,
  4880. 1);
  4881. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4882. "update_time", "deleted", "tenant_id")
  4883. VALUES (2, '维护通知:2018-07-01 若依系统凌晨维护',
  4884. '<p><img src="http://test.yudao.iocoder.cn/b7cb3cf49b4b3258bf7309a09dd2f4e5.jpg">维护内容</p>', 2, 1, 'admin',
  4885. '2021-01-05 17:03:48', '1', '2022-05-11 12:34:24', 0, 1);
  4886. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4887. "update_time", "deleted", "tenant_id")
  4888. VALUES (4, '我是测试标题', '<p>哈哈哈哈123</p>', 1, 0, '110', '2022-02-22 01:01:25', '110', '2022-02-22 01:01:46', 0,
  4889. 121);
  4890. COMMIT;
  4891. -- ----------------------------
  4892. -- Table structure for system_oauth2_access_token
  4893. -- ----------------------------
  4894. DROP TABLE IF EXISTS "system_oauth2_access_token";
  4895. CREATE TABLE "system_oauth2_access_token"
  4896. (
  4897. "id" int8 NOT NULL,
  4898. "user_id" int8 NOT NULL,
  4899. "access_token" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4900. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  4901. "user_type" int2 NOT NULL,
  4902. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4903. "expires_time" timestamp(6) NOT NULL,
  4904. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4905. "create_time" timestamp(6) NOT NULL,
  4906. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4907. "update_time" timestamp(6) NOT NULL,
  4908. "deleted" int2 NOT NULL DEFAULT 0,
  4909. "tenant_id" int8 NOT NULL DEFAULT 0,
  4910. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT '':: character varying
  4911. )
  4912. ;
  4913. COMMENT
  4914. ON COLUMN "system_oauth2_access_token"."id" IS '编号';
  4915. COMMENT
  4916. ON COLUMN "system_oauth2_access_token"."user_id" IS '用户编号';
  4917. COMMENT
  4918. ON COLUMN "system_oauth2_access_token"."access_token" IS '访问令牌';
  4919. COMMENT
  4920. ON COLUMN "system_oauth2_access_token"."refresh_token" IS '刷新令牌';
  4921. COMMENT
  4922. ON COLUMN "system_oauth2_access_token"."user_type" IS '用户类型';
  4923. COMMENT
  4924. ON COLUMN "system_oauth2_access_token"."client_id" IS '客户端编号';
  4925. COMMENT
  4926. ON COLUMN "system_oauth2_access_token"."expires_time" IS '过期时间';
  4927. COMMENT
  4928. ON COLUMN "system_oauth2_access_token"."creator" IS '创建者';
  4929. COMMENT
  4930. ON COLUMN "system_oauth2_access_token"."create_time" IS '创建时间';
  4931. COMMENT
  4932. ON COLUMN "system_oauth2_access_token"."updater" IS '更新者';
  4933. COMMENT
  4934. ON COLUMN "system_oauth2_access_token"."update_time" IS '更新时间';
  4935. COMMENT
  4936. ON COLUMN "system_oauth2_access_token"."deleted" IS '是否删除';
  4937. COMMENT
  4938. ON COLUMN "system_oauth2_access_token"."tenant_id" IS '租户编号';
  4939. COMMENT
  4940. ON COLUMN "system_oauth2_access_token"."scopes" IS '授权范围';
  4941. COMMENT
  4942. ON TABLE "system_oauth2_access_token" IS '刷新令牌';
  4943. -- ----------------------------
  4944. -- Records of system_oauth2_access_token
  4945. -- ----------------------------
  4946. BEGIN;
  4947. COMMIT;
  4948. -- ----------------------------
  4949. -- Table structure for system_oauth2_approve
  4950. -- ----------------------------
  4951. DROP TABLE IF EXISTS "system_oauth2_approve";
  4952. CREATE TABLE "system_oauth2_approve"
  4953. (
  4954. "id" int8 NOT NULL,
  4955. "user_id" int8 NOT NULL,
  4956. "user_type" int2 NOT NULL,
  4957. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4958. "scope" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4959. "approved" bool NOT NULL,
  4960. "expires_time" timestamp(6) NOT NULL,
  4961. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4962. "create_time" timestamp(6) NOT NULL,
  4963. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4964. "update_time" timestamp(6) NOT NULL,
  4965. "deleted" int2 NOT NULL DEFAULT 0,
  4966. "tenant_id" int8 NOT NULL DEFAULT 0
  4967. )
  4968. ;
  4969. COMMENT
  4970. ON COLUMN "system_oauth2_approve"."id" IS '编号';
  4971. COMMENT
  4972. ON COLUMN "system_oauth2_approve"."user_id" IS '用户编号';
  4973. COMMENT
  4974. ON COLUMN "system_oauth2_approve"."user_type" IS '用户类型';
  4975. COMMENT
  4976. ON COLUMN "system_oauth2_approve"."client_id" IS '客户端编号';
  4977. COMMENT
  4978. ON COLUMN "system_oauth2_approve"."scope" IS '授权范围';
  4979. COMMENT
  4980. ON COLUMN "system_oauth2_approve"."approved" IS '是否接受';
  4981. COMMENT
  4982. ON COLUMN "system_oauth2_approve"."expires_time" IS '过期时间';
  4983. COMMENT
  4984. ON COLUMN "system_oauth2_approve"."creator" IS '创建者';
  4985. COMMENT
  4986. ON COLUMN "system_oauth2_approve"."create_time" IS '创建时间';
  4987. COMMENT
  4988. ON COLUMN "system_oauth2_approve"."updater" IS '更新者';
  4989. COMMENT
  4990. ON COLUMN "system_oauth2_approve"."update_time" IS '更新时间';
  4991. COMMENT
  4992. ON COLUMN "system_oauth2_approve"."deleted" IS '是否删除';
  4993. COMMENT
  4994. ON COLUMN "system_oauth2_approve"."tenant_id" IS '租户编号';
  4995. COMMENT
  4996. ON TABLE "system_oauth2_approve" IS 'OAuth2 批准表';
  4997. -- ----------------------------
  4998. -- Records of system_oauth2_approve
  4999. -- ----------------------------
  5000. BEGIN;
  5001. COMMIT;
  5002. -- ----------------------------
  5003. -- Table structure for system_oauth2_client
  5004. -- ----------------------------
  5005. DROP TABLE IF EXISTS "system_oauth2_client";
  5006. CREATE TABLE "system_oauth2_client"
  5007. (
  5008. "id" int8 NOT NULL,
  5009. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5010. "secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5011. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5012. "logo" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5013. "description" varchar(255) COLLATE "pg_catalog"."default",
  5014. "status" int2 NOT NULL,
  5015. "access_token_validity_seconds" int4 NOT NULL,
  5016. "refresh_token_validity_seconds" int4 NOT NULL,
  5017. "redirect_uris" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5018. "authorized_grant_types" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5019. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  5020. "authorities" varchar(255) COLLATE "pg_catalog"."default",
  5021. "resource_ids" varchar(255) COLLATE "pg_catalog"."default",
  5022. "additional_information" varchar(4096) COLLATE "pg_catalog"."default",
  5023. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5024. "create_time" timestamp(6) NOT NULL,
  5025. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5026. "update_time" timestamp(6) NOT NULL,
  5027. "deleted" int2 NOT NULL DEFAULT 0,
  5028. "auto_approve_scopes" varchar(255) COLLATE "pg_catalog"."default"
  5029. )
  5030. ;
  5031. COMMENT
  5032. ON COLUMN "system_oauth2_client"."id" IS '编号';
  5033. COMMENT
  5034. ON COLUMN "system_oauth2_client"."client_id" IS '客户端编号';
  5035. COMMENT
  5036. ON COLUMN "system_oauth2_client"."secret" IS '客户端密钥';
  5037. COMMENT
  5038. ON COLUMN "system_oauth2_client"."name" IS '应用名';
  5039. COMMENT
  5040. ON COLUMN "system_oauth2_client"."logo" IS '应用图标';
  5041. COMMENT
  5042. ON COLUMN "system_oauth2_client"."description" IS '应用描述';
  5043. COMMENT
  5044. ON COLUMN "system_oauth2_client"."status" IS '状态';
  5045. COMMENT
  5046. ON COLUMN "system_oauth2_client"."access_token_validity_seconds" IS '访问令牌的有效期';
  5047. COMMENT
  5048. ON COLUMN "system_oauth2_client"."refresh_token_validity_seconds" IS '刷新令牌的有效期';
  5049. COMMENT
  5050. ON COLUMN "system_oauth2_client"."redirect_uris" IS '可重定向的 URI 地址';
  5051. COMMENT
  5052. ON COLUMN "system_oauth2_client"."authorized_grant_types" IS '授权类型';
  5053. COMMENT
  5054. ON COLUMN "system_oauth2_client"."scopes" IS '授权范围';
  5055. COMMENT
  5056. ON COLUMN "system_oauth2_client"."authorities" IS '权限';
  5057. COMMENT
  5058. ON COLUMN "system_oauth2_client"."resource_ids" IS '资源';
  5059. COMMENT
  5060. ON COLUMN "system_oauth2_client"."additional_information" IS '附加信息';
  5061. COMMENT
  5062. ON COLUMN "system_oauth2_client"."creator" IS '创建者';
  5063. COMMENT
  5064. ON COLUMN "system_oauth2_client"."create_time" IS '创建时间';
  5065. COMMENT
  5066. ON COLUMN "system_oauth2_client"."updater" IS '更新者';
  5067. COMMENT
  5068. ON COLUMN "system_oauth2_client"."update_time" IS '更新时间';
  5069. COMMENT
  5070. ON COLUMN "system_oauth2_client"."deleted" IS '是否删除';
  5071. COMMENT
  5072. ON COLUMN "system_oauth2_client"."auto_approve_scopes" IS '自动通过的授权范围';
  5073. COMMENT
  5074. ON TABLE "system_oauth2_client" IS 'OAuth2 客户端表';
  5075. -- ----------------------------
  5076. -- Records of system_oauth2_client
  5077. -- ----------------------------
  5078. BEGIN;
  5079. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status",
  5080. "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris",
  5081. "authorized_grant_types", "scopes", "authorities", "resource_ids",
  5082. "additional_information", "creator", "create_time", "updater", "update_time",
  5083. "deleted", "auto_approve_scopes")
  5084. VALUES (1, 'default', 'admin123', '芋道源码', 'http://test.yudao.iocoder.cn/a5e2e244368878a366b516805a4aabf1.png',
  5085. '我是描述', 0, 180, 8640, '["https://www.iocoder.cn","https://doc.iocoder.cn"]',
  5086. '["password","authorization_code","implicit","refresh_token"]', '["user.read","user.write"]',
  5087. '["system:user:query"]', '[]', '{}', '1', '2022-05-11 21:47:12', '1', '2022-05-12 01:00:20', 0, NULL);
  5088. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status",
  5089. "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris",
  5090. "authorized_grant_types", "scopes", "authorities", "resource_ids",
  5091. "additional_information", "creator", "create_time", "updater", "update_time",
  5092. "deleted", "auto_approve_scopes")
  5093. VALUES (40, 'test', 'test2', 'biubiu', 'http://test.yudao.iocoder.cn/277a899d573723f1fcdfb57340f00379.png', NULL, 0,
  5094. 1800, 43200, '["https://www.iocoder.cn"]', '["password","authorization_code","implicit"]', '[]', '[]', '[]',
  5095. '{}', '1', '2022-05-12 00:28:20', '1', '2022-05-25 23:45:33.005', 0, '[]');
  5096. COMMIT;
  5097. -- ----------------------------
  5098. -- Table structure for system_oauth2_code
  5099. -- ----------------------------
  5100. DROP TABLE IF EXISTS "system_oauth2_code";
  5101. CREATE TABLE "system_oauth2_code"
  5102. (
  5103. "id" int8 NOT NULL,
  5104. "user_id" int8 NOT NULL,
  5105. "user_type" int2 NOT NULL,
  5106. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  5107. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5108. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  5109. "expires_time" timestamp(6) NOT NULL,
  5110. "redirect_uri" varchar(255) COLLATE "pg_catalog"."default",
  5111. "state" varchar(255) COLLATE "pg_catalog"."default",
  5112. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5113. "create_time" timestamp(6) NOT NULL,
  5114. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5115. "update_time" timestamp(6) NOT NULL,
  5116. "deleted" int2 NOT NULL DEFAULT 0,
  5117. "tenant_id" int8 NOT NULL DEFAULT 0
  5118. )
  5119. ;
  5120. COMMENT
  5121. ON COLUMN "system_oauth2_code"."id" IS '编号';
  5122. COMMENT
  5123. ON COLUMN "system_oauth2_code"."user_id" IS '用户编号';
  5124. COMMENT
  5125. ON COLUMN "system_oauth2_code"."user_type" IS '用户类型';
  5126. COMMENT
  5127. ON COLUMN "system_oauth2_code"."code" IS '授权码';
  5128. COMMENT
  5129. ON COLUMN "system_oauth2_code"."client_id" IS '客户端编号';
  5130. COMMENT
  5131. ON COLUMN "system_oauth2_code"."scopes" IS '授权范围';
  5132. COMMENT
  5133. ON COLUMN "system_oauth2_code"."expires_time" IS '过期时间';
  5134. COMMENT
  5135. ON COLUMN "system_oauth2_code"."redirect_uri" IS '可重定向的 URI 地址';
  5136. COMMENT
  5137. ON COLUMN "system_oauth2_code"."state" IS '状态';
  5138. COMMENT
  5139. ON COLUMN "system_oauth2_code"."creator" IS '创建者';
  5140. COMMENT
  5141. ON COLUMN "system_oauth2_code"."create_time" IS '创建时间';
  5142. COMMENT
  5143. ON COLUMN "system_oauth2_code"."updater" IS '更新者';
  5144. COMMENT
  5145. ON COLUMN "system_oauth2_code"."update_time" IS '更新时间';
  5146. COMMENT
  5147. ON COLUMN "system_oauth2_code"."deleted" IS '是否删除';
  5148. COMMENT
  5149. ON COLUMN "system_oauth2_code"."tenant_id" IS '租户编号';
  5150. COMMENT
  5151. ON TABLE "system_oauth2_code" IS 'OAuth2 授权码表';
  5152. -- ----------------------------
  5153. -- Records of system_oauth2_code
  5154. -- ----------------------------
  5155. BEGIN;
  5156. COMMIT;
  5157. -- ----------------------------
  5158. -- Table structure for system_oauth2_refresh_token
  5159. -- ----------------------------
  5160. DROP TABLE IF EXISTS "system_oauth2_refresh_token";
  5161. CREATE TABLE "system_oauth2_refresh_token"
  5162. (
  5163. "id" int8 NOT NULL,
  5164. "user_id" int8 NOT NULL,
  5165. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  5166. "user_type" int2 NOT NULL,
  5167. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5168. "expires_time" timestamp(6) NOT NULL,
  5169. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5170. "create_time" timestamp(6) NOT NULL,
  5171. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5172. "update_time" timestamp(6) NOT NULL,
  5173. "deleted" int2 NOT NULL DEFAULT 0,
  5174. "tenant_id" int8 NOT NULL DEFAULT 0,
  5175. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT '':: character varying
  5176. )
  5177. ;
  5178. COMMENT
  5179. ON COLUMN "system_oauth2_refresh_token"."id" IS '编号';
  5180. COMMENT
  5181. ON COLUMN "system_oauth2_refresh_token"."user_id" IS '用户编号';
  5182. COMMENT
  5183. ON COLUMN "system_oauth2_refresh_token"."refresh_token" IS '刷新令牌';
  5184. COMMENT
  5185. ON COLUMN "system_oauth2_refresh_token"."user_type" IS '用户类型';
  5186. COMMENT
  5187. ON COLUMN "system_oauth2_refresh_token"."client_id" IS '客户端编号';
  5188. COMMENT
  5189. ON COLUMN "system_oauth2_refresh_token"."expires_time" IS '过期时间';
  5190. COMMENT
  5191. ON COLUMN "system_oauth2_refresh_token"."creator" IS '创建者';
  5192. COMMENT
  5193. ON COLUMN "system_oauth2_refresh_token"."create_time" IS '创建时间';
  5194. COMMENT
  5195. ON COLUMN "system_oauth2_refresh_token"."updater" IS '更新者';
  5196. COMMENT
  5197. ON COLUMN "system_oauth2_refresh_token"."update_time" IS '更新时间';
  5198. COMMENT
  5199. ON COLUMN "system_oauth2_refresh_token"."deleted" IS '是否删除';
  5200. COMMENT
  5201. ON COLUMN "system_oauth2_refresh_token"."tenant_id" IS '租户编号';
  5202. COMMENT
  5203. ON COLUMN "system_oauth2_refresh_token"."scopes" IS '授权范围';
  5204. COMMENT
  5205. ON TABLE "system_oauth2_refresh_token" IS '刷新令牌';
  5206. -- ----------------------------
  5207. -- Records of system_oauth2_refresh_token
  5208. -- ----------------------------
  5209. BEGIN;
  5210. COMMIT;
  5211. -- ----------------------------
  5212. -- Table structure for system_operate_log
  5213. -- ----------------------------
  5214. DROP TABLE IF EXISTS "system_operate_log";
  5215. CREATE TABLE "system_operate_log"
  5216. (
  5217. "id" int8 NOT NULL,
  5218. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  5219. "user_id" int8 NOT NULL,
  5220. "user_type" int2 NOT NULL,
  5221. "module" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5222. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5223. "type" int8 NOT NULL,
  5224. "content" varchar(2000) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '':: character varying,
  5225. "exts" varchar(512) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '':: character varying,
  5226. "request_method" varchar(16) COLLATE "pg_catalog"."default",
  5227. "request_url" varchar(255) COLLATE "pg_catalog"."default",
  5228. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  5229. "user_agent" varchar(200) COLLATE "pg_catalog"."default",
  5230. "java_method" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  5231. "java_method_args" varchar(8000) COLLATE "pg_catalog"."default",
  5232. "start_time" timestamp(6) NOT NULL,
  5233. "duration" int4 NOT NULL,
  5234. "result_code" int4 NOT NULL,
  5235. "result_msg" varchar(512) COLLATE "pg_catalog"."default",
  5236. "result_data" varchar(4000) COLLATE "pg_catalog"."default",
  5237. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5238. "create_time" timestamp(6) NOT NULL,
  5239. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5240. "update_time" timestamp(6) NOT NULL,
  5241. "deleted" int2 NOT NULL DEFAULT 0,
  5242. "tenant_id" int8 NOT NULL DEFAULT 0
  5243. )
  5244. ;
  5245. COMMENT
  5246. ON COLUMN "system_operate_log"."id" IS '日志主键';
  5247. COMMENT
  5248. ON COLUMN "system_operate_log"."trace_id" IS '链路追踪编号';
  5249. COMMENT
  5250. ON COLUMN "system_operate_log"."user_id" IS '用户编号';
  5251. COMMENT
  5252. ON COLUMN "system_operate_log"."user_type" IS '用户类型';
  5253. COMMENT
  5254. ON COLUMN "system_operate_log"."module" IS '模块标题';
  5255. COMMENT
  5256. ON COLUMN "system_operate_log"."name" IS '操作名';
  5257. COMMENT
  5258. ON COLUMN "system_operate_log"."type" IS '操作分类';
  5259. COMMENT
  5260. ON COLUMN "system_operate_log"."content" IS '操作内容';
  5261. COMMENT
  5262. ON COLUMN "system_operate_log"."exts" IS '拓展字段';
  5263. COMMENT
  5264. ON COLUMN "system_operate_log"."request_method" IS '请求方法名';
  5265. COMMENT
  5266. ON COLUMN "system_operate_log"."request_url" IS '请求地址';
  5267. COMMENT
  5268. ON COLUMN "system_operate_log"."user_ip" IS '用户 IP';
  5269. COMMENT
  5270. ON COLUMN "system_operate_log"."user_agent" IS '浏览器 UA';
  5271. COMMENT
  5272. ON COLUMN "system_operate_log"."java_method" IS 'Java 方法名';
  5273. COMMENT
  5274. ON COLUMN "system_operate_log"."java_method_args" IS 'Java 方法的参数';
  5275. COMMENT
  5276. ON COLUMN "system_operate_log"."start_time" IS '操作时间';
  5277. COMMENT
  5278. ON COLUMN "system_operate_log"."duration" IS '执行时长';
  5279. COMMENT
  5280. ON COLUMN "system_operate_log"."result_code" IS '结果码';
  5281. COMMENT
  5282. ON COLUMN "system_operate_log"."result_msg" IS '结果提示';
  5283. COMMENT
  5284. ON COLUMN "system_operate_log"."result_data" IS '结果数据';
  5285. COMMENT
  5286. ON COLUMN "system_operate_log"."creator" IS '创建者';
  5287. COMMENT
  5288. ON COLUMN "system_operate_log"."create_time" IS '创建时间';
  5289. COMMENT
  5290. ON COLUMN "system_operate_log"."updater" IS '更新者';
  5291. COMMENT
  5292. ON COLUMN "system_operate_log"."update_time" IS '更新时间';
  5293. COMMENT
  5294. ON COLUMN "system_operate_log"."deleted" IS '是否删除';
  5295. COMMENT
  5296. ON COLUMN "system_operate_log"."tenant_id" IS '租户编号';
  5297. COMMENT
  5298. ON TABLE "system_operate_log" IS '操作日志记录';
  5299. -- ----------------------------
  5300. -- Records of system_operate_log
  5301. -- ----------------------------
  5302. BEGIN;
  5303. COMMIT;
  5304. -- ----------------------------
  5305. -- Table structure for system_post
  5306. -- ----------------------------
  5307. DROP TABLE IF EXISTS "system_post";
  5308. CREATE TABLE "system_post"
  5309. (
  5310. "id" int8 NOT NULL DEFAULT 0,
  5311. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  5312. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5313. "sort" int4 NOT NULL,
  5314. "status" int2 NOT NULL,
  5315. "remark" varchar(500) COLLATE "pg_catalog"."default",
  5316. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5317. "create_time" timestamp(6) NOT NULL,
  5318. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5319. "update_time" timestamp(6) NOT NULL,
  5320. "deleted" int2 NOT NULL DEFAULT 0,
  5321. "tenant_id" int8 NOT NULL DEFAULT 0
  5322. )
  5323. ;
  5324. COMMENT
  5325. ON COLUMN "system_post"."id" IS '岗位ID';
  5326. COMMENT
  5327. ON COLUMN "system_post"."code" IS '岗位编码';
  5328. COMMENT
  5329. ON COLUMN "system_post"."name" IS '岗位名称';
  5330. COMMENT
  5331. ON COLUMN "system_post"."sort" IS '显示顺序';
  5332. COMMENT
  5333. ON COLUMN "system_post"."status" IS '状态(0正常 1停用)';
  5334. COMMENT
  5335. ON COLUMN "system_post"."remark" IS '备注';
  5336. COMMENT
  5337. ON COLUMN "system_post"."creator" IS '创建者';
  5338. COMMENT
  5339. ON COLUMN "system_post"."create_time" IS '创建时间';
  5340. COMMENT
  5341. ON COLUMN "system_post"."updater" IS '更新者';
  5342. COMMENT
  5343. ON COLUMN "system_post"."update_time" IS '更新时间';
  5344. COMMENT
  5345. ON COLUMN "system_post"."deleted" IS '是否删除';
  5346. COMMENT
  5347. ON COLUMN "system_post"."tenant_id" IS '租户编号';
  5348. COMMENT
  5349. ON TABLE "system_post" IS '岗位信息表';
  5350. -- ----------------------------
  5351. -- Records of system_post
  5352. -- ----------------------------
  5353. BEGIN;
  5354. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater",
  5355. "update_time", "deleted", "tenant_id")
  5356. VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-06 17:03:48', '1', '2022-04-19 16:53:39', 0, 1);
  5357. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater",
  5358. "update_time", "deleted", "tenant_id")
  5359. VALUES (2, 'se', '项目经理', 2, 0, '', 'admin', '2021-01-05 17:03:48', '1', '2021-12-12 10:47:47', 0, 1);
  5360. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater",
  5361. "update_time", "deleted", "tenant_id")
  5362. VALUES (4, 'user', '普通员工', 4, 0, '111', 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 22:46:35', 0, 1);
  5363. COMMIT;
  5364. -- ----------------------------
  5365. -- Table structure for system_role
  5366. -- ----------------------------
  5367. DROP TABLE IF EXISTS "system_role";
  5368. CREATE TABLE "system_role"
  5369. (
  5370. "id" int8 NOT NULL,
  5371. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  5372. "code" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  5373. "sort" int4 NOT NULL,
  5374. "data_scope" int2 NOT NULL,
  5375. "data_scope_dept_ids" varchar(500) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  5376. "status" int2 NOT NULL,
  5377. "type" int2 NOT NULL,
  5378. "remark" varchar(500) COLLATE "pg_catalog"."default",
  5379. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5380. "create_time" timestamp(6) NOT NULL,
  5381. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5382. "update_time" timestamp(6) NOT NULL,
  5383. "deleted" int2 NOT NULL DEFAULT 0,
  5384. "tenant_id" int8 NOT NULL DEFAULT 0
  5385. )
  5386. ;
  5387. COMMENT
  5388. ON COLUMN "system_role"."id" IS '角色ID';
  5389. COMMENT
  5390. ON COLUMN "system_role"."name" IS '角色名称';
  5391. COMMENT
  5392. ON COLUMN "system_role"."code" IS '角色权限字符串';
  5393. COMMENT
  5394. ON COLUMN "system_role"."sort" IS '显示顺序';
  5395. COMMENT
  5396. ON COLUMN "system_role"."data_scope" IS '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)';
  5397. COMMENT
  5398. ON COLUMN "system_role"."data_scope_dept_ids" IS '数据范围(指定部门数组)';
  5399. COMMENT
  5400. ON COLUMN "system_role"."status" IS '角色状态(0正常 1停用)';
  5401. COMMENT
  5402. ON COLUMN "system_role"."type" IS '角色类型';
  5403. COMMENT
  5404. ON COLUMN "system_role"."remark" IS '备注';
  5405. COMMENT
  5406. ON COLUMN "system_role"."creator" IS '创建者';
  5407. COMMENT
  5408. ON COLUMN "system_role"."create_time" IS '创建时间';
  5409. COMMENT
  5410. ON COLUMN "system_role"."updater" IS '更新者';
  5411. COMMENT
  5412. ON COLUMN "system_role"."update_time" IS '更新时间';
  5413. COMMENT
  5414. ON COLUMN "system_role"."deleted" IS '是否删除';
  5415. COMMENT
  5416. ON COLUMN "system_role"."tenant_id" IS '租户编号';
  5417. COMMENT
  5418. ON TABLE "system_role" IS '角色信息表';
  5419. -- ----------------------------
  5420. -- Records of system_role
  5421. -- ----------------------------
  5422. BEGIN;
  5423. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5424. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5425. VALUES (1, '超级管理员', 'super_admin', 1, 1, '', 0, 1, '超级管理员', 'admin', '2021-01-05 17:03:48', '',
  5426. '2022-02-22 05:08:21', 0, 1);
  5427. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5428. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5429. VALUES (2, '普通角色', 'common', 2, 2, '', 0, 1, '普通角色', 'admin', '2021-01-05 17:03:48', '', '2022-02-22 05:08:20',
  5430. 0, 1);
  5431. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5432. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5433. VALUES (101, '测试账号', 'test', 0, 1, '[]', 0, 2, '132', '', '2021-01-06 13:49:35', '1', '2022-04-01 21:37:13', 0, 1);
  5434. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5435. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5436. VALUES (109, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-02-22 00:56:14', '1',
  5437. '2022-02-22 00:56:14', 0, 121);
  5438. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5439. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5440. VALUES (110, '测试角色', 'test', 0, 1, '[]', 0, 2, '嘿嘿', '110', '2022-02-23 00:14:34', '110', '2022-02-23 13:14:58',
  5441. 0, 121);
  5442. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5443. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5444. VALUES (111, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-03-07 21:37:58', '1',
  5445. '2022-03-07 21:37:58', 0, 122);
  5446. COMMIT;
  5447. -- ----------------------------
  5448. -- Table structure for system_role_menu
  5449. -- ----------------------------
  5450. DROP TABLE IF EXISTS "system_role_menu";
  5451. CREATE TABLE "system_role_menu"
  5452. (
  5453. "id" int8 NOT NULL,
  5454. "role_id" int8 NOT NULL,
  5455. "menu_id" int8 NOT NULL,
  5456. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5457. "create_time" timestamp(6) NOT NULL,
  5458. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5459. "update_time" timestamp(6) NOT NULL,
  5460. "deleted" int2 NOT NULL DEFAULT 0,
  5461. "tenant_id" int8 NOT NULL DEFAULT 0
  5462. )
  5463. ;
  5464. COMMENT
  5465. ON COLUMN "system_role_menu"."id" IS '自增编号';
  5466. COMMENT
  5467. ON COLUMN "system_role_menu"."role_id" IS '角色ID';
  5468. COMMENT
  5469. ON COLUMN "system_role_menu"."menu_id" IS '菜单ID';
  5470. COMMENT
  5471. ON COLUMN "system_role_menu"."creator" IS '创建者';
  5472. COMMENT
  5473. ON COLUMN "system_role_menu"."create_time" IS '创建时间';
  5474. COMMENT
  5475. ON COLUMN "system_role_menu"."updater" IS '更新者';
  5476. COMMENT
  5477. ON COLUMN "system_role_menu"."update_time" IS '更新时间';
  5478. COMMENT
  5479. ON COLUMN "system_role_menu"."deleted" IS '是否删除';
  5480. COMMENT
  5481. ON COLUMN "system_role_menu"."tenant_id" IS '租户编号';
  5482. COMMENT
  5483. ON TABLE "system_role_menu" IS '角色和菜单关联表';
  5484. -- ----------------------------
  5485. -- Records of system_role_menu
  5486. -- ----------------------------
  5487. BEGIN;
  5488. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5489. "deleted", "tenant_id")
  5490. VALUES (263, 109, 1, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  5491. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5492. "deleted", "tenant_id")
  5493. VALUES (434, 2, 1, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5494. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5495. "deleted", "tenant_id")
  5496. VALUES (454, 2, 1093, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5497. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5498. "deleted", "tenant_id")
  5499. VALUES (455, 2, 1094, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5500. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5501. "deleted", "tenant_id")
  5502. VALUES (460, 2, 1100, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5503. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5504. "deleted", "tenant_id")
  5505. VALUES (467, 2, 1107, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5506. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5507. "deleted", "tenant_id")
  5508. VALUES (470, 2, 1110, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5509. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5510. "deleted", "tenant_id")
  5511. VALUES (476, 2, 1117, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5512. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5513. "deleted", "tenant_id")
  5514. VALUES (477, 2, 100, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5515. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5516. "deleted", "tenant_id")
  5517. VALUES (478, 2, 101, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5518. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5519. "deleted", "tenant_id")
  5520. VALUES (479, 2, 102, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5521. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5522. "deleted", "tenant_id")
  5523. VALUES (480, 2, 1126, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5524. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5525. "deleted", "tenant_id")
  5526. VALUES (481, 2, 103, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5527. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5528. "deleted", "tenant_id")
  5529. VALUES (483, 2, 104, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5530. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5531. "deleted", "tenant_id")
  5532. VALUES (485, 2, 105, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5533. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5534. "deleted", "tenant_id")
  5535. VALUES (488, 2, 107, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5536. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5537. "deleted", "tenant_id")
  5538. VALUES (490, 2, 108, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5539. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5540. "deleted", "tenant_id")
  5541. VALUES (492, 2, 109, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5542. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5543. "deleted", "tenant_id")
  5544. VALUES (498, 2, 1138, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5545. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5546. "deleted", "tenant_id")
  5547. VALUES (523, 2, 1224, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5548. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5549. "deleted", "tenant_id")
  5550. VALUES (524, 2, 1225, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5551. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5552. "deleted", "tenant_id")
  5553. VALUES (541, 2, 500, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5554. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5555. "deleted", "tenant_id")
  5556. VALUES (543, 2, 501, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 0, 1);
  5557. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5558. "deleted", "tenant_id")
  5559. VALUES (675, 2, 2, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5560. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5561. "deleted", "tenant_id")
  5562. VALUES (689, 2, 1077, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5563. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5564. "deleted", "tenant_id")
  5565. VALUES (690, 2, 1078, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5566. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5567. "deleted", "tenant_id")
  5568. VALUES (692, 2, 1083, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5569. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5570. "deleted", "tenant_id")
  5571. VALUES (693, 2, 1084, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5572. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5573. "deleted", "tenant_id")
  5574. VALUES (699, 2, 1090, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5575. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5576. "deleted", "tenant_id")
  5577. VALUES (703, 2, 106, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5578. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5579. "deleted", "tenant_id")
  5580. VALUES (704, 2, 110, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5581. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5582. "deleted", "tenant_id")
  5583. VALUES (705, 2, 111, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5584. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5585. "deleted", "tenant_id")
  5586. VALUES (706, 2, 112, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5587. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5588. "deleted", "tenant_id")
  5589. VALUES (707, 2, 113, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5590. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5591. "deleted", "tenant_id")
  5592. VALUES (1296, 110, 1, '110', '2022-02-23 00:23:55', '110', '2022-02-23 00:23:55', 0, 121);
  5593. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5594. "deleted", "tenant_id")
  5595. VALUES (1486, 109, 103, '1', '2022-02-23 19:32:14', '1', '2022-02-23 19:32:14', 0, 121);
  5596. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5597. "deleted", "tenant_id")
  5598. VALUES (1487, 109, 104, '1', '2022-02-23 19:32:14', '1', '2022-02-23 19:32:14', 0, 121);
  5599. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5600. "deleted", "tenant_id")
  5601. VALUES (1489, 1, 1, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5602. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5603. "deleted", "tenant_id")
  5604. VALUES (1490, 1, 2, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5605. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5606. "deleted", "tenant_id")
  5607. VALUES (1494, 1, 1077, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5608. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5609. "deleted", "tenant_id")
  5610. VALUES (1495, 1, 1078, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5611. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5612. "deleted", "tenant_id")
  5613. VALUES (1496, 1, 1083, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5614. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5615. "deleted", "tenant_id")
  5616. VALUES (1497, 1, 1084, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5617. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5618. "deleted", "tenant_id")
  5619. VALUES (1498, 1, 1090, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5620. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5621. "deleted", "tenant_id")
  5622. VALUES (1499, 1, 1093, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5623. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5624. "deleted", "tenant_id")
  5625. VALUES (1500, 1, 1094, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5626. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5627. "deleted", "tenant_id")
  5628. VALUES (1501, 1, 1100, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5629. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5630. "deleted", "tenant_id")
  5631. VALUES (1502, 1, 1107, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5632. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5633. "deleted", "tenant_id")
  5634. VALUES (1503, 1, 1110, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5635. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5636. "deleted", "tenant_id")
  5637. VALUES (1505, 1, 1117, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5638. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5639. "deleted", "tenant_id")
  5640. VALUES (1506, 1, 100, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5641. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5642. "deleted", "tenant_id")
  5643. VALUES (1507, 1, 101, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5644. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5645. "deleted", "tenant_id")
  5646. VALUES (1508, 1, 102, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5647. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5648. "deleted", "tenant_id")
  5649. VALUES (1509, 1, 1126, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5650. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5651. "deleted", "tenant_id")
  5652. VALUES (1510, 1, 103, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5653. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5654. "deleted", "tenant_id")
  5655. VALUES (1511, 1, 104, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5656. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5657. "deleted", "tenant_id")
  5658. VALUES (1512, 1, 105, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5659. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5660. "deleted", "tenant_id")
  5661. VALUES (1513, 1, 106, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5662. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5663. "deleted", "tenant_id")
  5664. VALUES (1514, 1, 107, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5665. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5666. "deleted", "tenant_id")
  5667. VALUES (1515, 1, 108, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5668. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5669. "deleted", "tenant_id")
  5670. VALUES (1516, 1, 109, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5671. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5672. "deleted", "tenant_id")
  5673. VALUES (1517, 1, 110, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5674. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5675. "deleted", "tenant_id")
  5676. VALUES (1518, 1, 111, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5677. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5678. "deleted", "tenant_id")
  5679. VALUES (1519, 1, 112, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5680. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5681. "deleted", "tenant_id")
  5682. VALUES (1520, 1, 113, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5683. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5684. "deleted", "tenant_id")
  5685. VALUES (1522, 1, 1138, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5686. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5687. "deleted", "tenant_id")
  5688. VALUES (1525, 1, 1224, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5689. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5690. "deleted", "tenant_id")
  5691. VALUES (1526, 1, 1225, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5692. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5693. "deleted", "tenant_id")
  5694. VALUES (1527, 1, 500, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5695. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5696. "deleted", "tenant_id")
  5697. VALUES (1528, 1, 501, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5698. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5699. "deleted", "tenant_id")
  5700. VALUES (1529, 109, 1024, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5701. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5702. "deleted", "tenant_id")
  5703. VALUES (1530, 109, 1025, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5704. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5705. "deleted", "tenant_id")
  5706. VALUES (1536, 109, 1017, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5707. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5708. "deleted", "tenant_id")
  5709. VALUES (1537, 109, 1018, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5710. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5711. "deleted", "tenant_id")
  5712. VALUES (1538, 109, 1019, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5713. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5714. "deleted", "tenant_id")
  5715. VALUES (1539, 109, 1020, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5716. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5717. "deleted", "tenant_id")
  5718. VALUES (1540, 109, 1021, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5719. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5720. "deleted", "tenant_id")
  5721. VALUES (1541, 109, 1022, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5722. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5723. "deleted", "tenant_id")
  5724. VALUES (1542, 109, 1023, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5725. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5726. "deleted", "tenant_id")
  5727. VALUES (1576, 111, 1024, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5728. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5729. "deleted", "tenant_id")
  5730. VALUES (1577, 111, 1025, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5731. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5732. "deleted", "tenant_id")
  5733. VALUES (1578, 111, 1, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5734. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5735. "deleted", "tenant_id")
  5736. VALUES (1584, 111, 103, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5737. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5738. "deleted", "tenant_id")
  5739. VALUES (1585, 111, 104, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5740. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5741. "deleted", "tenant_id")
  5742. VALUES (1587, 111, 1017, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5743. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5744. "deleted", "tenant_id")
  5745. VALUES (1588, 111, 1018, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5746. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5747. "deleted", "tenant_id")
  5748. VALUES (1589, 111, 1019, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5749. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5750. "deleted", "tenant_id")
  5751. VALUES (1590, 111, 1020, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5752. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5753. "deleted", "tenant_id")
  5754. VALUES (1591, 111, 1021, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5755. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5756. "deleted", "tenant_id")
  5757. VALUES (1592, 111, 1022, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5758. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5759. "deleted", "tenant_id")
  5760. VALUES (1593, 111, 1023, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5761. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5762. "deleted", "tenant_id")
  5763. VALUES (1594, 109, 102, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5764. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5765. "deleted", "tenant_id")
  5766. VALUES (1595, 109, 1013, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5767. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5768. "deleted", "tenant_id")
  5769. VALUES (1596, 109, 1014, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5770. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5771. "deleted", "tenant_id")
  5772. VALUES (1597, 109, 1015, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5773. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5774. "deleted", "tenant_id")
  5775. VALUES (1598, 109, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5776. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5777. "deleted", "tenant_id")
  5778. VALUES (1599, 111, 102, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5779. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5780. "deleted", "tenant_id")
  5781. VALUES (1600, 111, 1013, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5782. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5783. "deleted", "tenant_id")
  5784. VALUES (1601, 111, 1014, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5785. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5786. "deleted", "tenant_id")
  5787. VALUES (1602, 111, 1015, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5788. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5789. "deleted", "tenant_id")
  5790. VALUES (1603, 111, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5791. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5792. "deleted", "tenant_id")
  5793. VALUES (1604, 101, 1216, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5794. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5795. "deleted", "tenant_id")
  5796. VALUES (1605, 101, 1217, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5797. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5798. "deleted", "tenant_id")
  5799. VALUES (1606, 101, 1218, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5800. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5801. "deleted", "tenant_id")
  5802. VALUES (1607, 101, 1219, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5803. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5804. "deleted", "tenant_id")
  5805. VALUES (1608, 101, 1220, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5806. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5807. "deleted", "tenant_id")
  5808. VALUES (1609, 101, 1221, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5809. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5810. "deleted", "tenant_id")
  5811. VALUES (1610, 101, 5, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5812. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5813. "deleted", "tenant_id")
  5814. VALUES (1611, 101, 1222, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5815. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5816. "deleted", "tenant_id")
  5817. VALUES (1612, 101, 1118, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5818. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5819. "deleted", "tenant_id")
  5820. VALUES (1613, 101, 1119, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5821. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5822. "deleted", "tenant_id")
  5823. VALUES (1614, 101, 1120, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5824. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5825. "deleted", "tenant_id")
  5826. VALUES (1615, 101, 1185, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5827. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5828. "deleted", "tenant_id")
  5829. VALUES (1616, 101, 1186, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5830. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5831. "deleted", "tenant_id")
  5832. VALUES (1617, 101, 1187, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5833. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5834. "deleted", "tenant_id")
  5835. VALUES (1618, 101, 1188, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5836. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5837. "deleted", "tenant_id")
  5838. VALUES (1619, 101, 1189, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5839. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5840. "deleted", "tenant_id")
  5841. VALUES (1620, 101, 1190, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5842. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5843. "deleted", "tenant_id")
  5844. VALUES (1621, 101, 1191, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5845. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5846. "deleted", "tenant_id")
  5847. VALUES (1622, 101, 1192, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5848. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5849. "deleted", "tenant_id")
  5850. VALUES (1623, 101, 1193, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5851. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5852. "deleted", "tenant_id")
  5853. VALUES (1624, 101, 1194, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5854. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5855. "deleted", "tenant_id")
  5856. VALUES (1625, 101, 1195, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5857. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5858. "deleted", "tenant_id")
  5859. VALUES (1626, 101, 1196, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5860. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5861. "deleted", "tenant_id")
  5862. VALUES (1627, 101, 1197, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5863. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5864. "deleted", "tenant_id")
  5865. VALUES (1628, 101, 1198, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5866. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5867. "deleted", "tenant_id")
  5868. VALUES (1629, 101, 1199, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5869. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5870. "deleted", "tenant_id")
  5871. VALUES (1630, 101, 1200, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5872. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5873. "deleted", "tenant_id")
  5874. VALUES (1631, 101, 1201, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5875. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5876. "deleted", "tenant_id")
  5877. VALUES (1632, 101, 1202, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5878. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5879. "deleted", "tenant_id")
  5880. VALUES (1633, 101, 1207, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5881. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5882. "deleted", "tenant_id")
  5883. VALUES (1634, 101, 1208, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5884. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5885. "deleted", "tenant_id")
  5886. VALUES (1635, 101, 1209, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5887. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5888. "deleted", "tenant_id")
  5889. VALUES (1636, 101, 1210, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5890. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5891. "deleted", "tenant_id")
  5892. VALUES (1637, 101, 1211, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5893. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5894. "deleted", "tenant_id")
  5895. VALUES (1638, 101, 1212, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5896. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5897. "deleted", "tenant_id")
  5898. VALUES (1639, 101, 1213, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5899. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5900. "deleted", "tenant_id")
  5901. VALUES (1640, 101, 1215, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 0, 1);
  5902. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5903. "deleted", "tenant_id")
  5904. VALUES (1641, 101, 2, '1', '2022-04-01 22:21:24', '1', '2022-04-01 22:21:24', 0, 1);
  5905. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5906. "deleted", "tenant_id")
  5907. VALUES (1642, 101, 1031, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5908. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5909. "deleted", "tenant_id")
  5910. VALUES (1643, 101, 1032, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5911. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5912. "deleted", "tenant_id")
  5913. VALUES (1644, 101, 1033, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5914. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5915. "deleted", "tenant_id")
  5916. VALUES (1645, 101, 1034, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5917. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5918. "deleted", "tenant_id")
  5919. VALUES (1646, 101, 1035, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5920. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5921. "deleted", "tenant_id")
  5922. VALUES (1647, 101, 1050, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5923. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5924. "deleted", "tenant_id")
  5925. VALUES (1648, 101, 1051, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5926. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5927. "deleted", "tenant_id")
  5928. VALUES (1649, 101, 1052, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5929. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5930. "deleted", "tenant_id")
  5931. VALUES (1650, 101, 1053, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5932. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5933. "deleted", "tenant_id")
  5934. VALUES (1651, 101, 1054, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5935. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5936. "deleted", "tenant_id")
  5937. VALUES (1652, 101, 1056, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5938. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5939. "deleted", "tenant_id")
  5940. VALUES (1653, 101, 1057, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5941. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5942. "deleted", "tenant_id")
  5943. VALUES (1654, 101, 1058, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5944. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5945. "deleted", "tenant_id")
  5946. VALUES (1655, 101, 1059, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5947. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5948. "deleted", "tenant_id")
  5949. VALUES (1656, 101, 1060, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5950. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5951. "deleted", "tenant_id")
  5952. VALUES (1657, 101, 1066, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5953. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5954. "deleted", "tenant_id")
  5955. VALUES (1658, 101, 1067, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5956. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5957. "deleted", "tenant_id")
  5958. VALUES (1659, 101, 1070, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5959. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5960. "deleted", "tenant_id")
  5961. VALUES (1660, 101, 1071, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5962. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5963. "deleted", "tenant_id")
  5964. VALUES (1661, 101, 1072, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5965. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5966. "deleted", "tenant_id")
  5967. VALUES (1662, 101, 1073, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5968. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5969. "deleted", "tenant_id")
  5970. VALUES (1663, 101, 1074, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5971. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5972. "deleted", "tenant_id")
  5973. VALUES (1664, 101, 1075, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5974. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5975. "deleted", "tenant_id")
  5976. VALUES (1665, 101, 1076, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5977. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5978. "deleted", "tenant_id")
  5979. VALUES (1666, 101, 1077, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5980. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5981. "deleted", "tenant_id")
  5982. VALUES (1667, 101, 1078, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5983. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5984. "deleted", "tenant_id")
  5985. VALUES (1668, 101, 1082, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5986. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5987. "deleted", "tenant_id")
  5988. VALUES (1669, 101, 1083, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5989. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5990. "deleted", "tenant_id")
  5991. VALUES (1670, 101, 1084, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5992. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5993. "deleted", "tenant_id")
  5994. VALUES (1671, 101, 1085, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5995. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5996. "deleted", "tenant_id")
  5997. VALUES (1672, 101, 1086, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  5998. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5999. "deleted", "tenant_id")
  6000. VALUES (1673, 101, 1087, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6001. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6002. "deleted", "tenant_id")
  6003. VALUES (1674, 101, 1088, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6004. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6005. "deleted", "tenant_id")
  6006. VALUES (1675, 101, 1089, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6007. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6008. "deleted", "tenant_id")
  6009. VALUES (1676, 101, 1090, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6010. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6011. "deleted", "tenant_id")
  6012. VALUES (1677, 101, 1091, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6013. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6014. "deleted", "tenant_id")
  6015. VALUES (1678, 101, 1092, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6016. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6017. "deleted", "tenant_id")
  6018. VALUES (1679, 101, 1237, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6019. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6020. "deleted", "tenant_id")
  6021. VALUES (1680, 101, 1238, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6022. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6023. "deleted", "tenant_id")
  6024. VALUES (1681, 101, 1239, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6025. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6026. "deleted", "tenant_id")
  6027. VALUES (1682, 101, 1240, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6028. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6029. "deleted", "tenant_id")
  6030. VALUES (1683, 101, 1241, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6031. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6032. "deleted", "tenant_id")
  6033. VALUES (1684, 101, 1242, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6034. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6035. "deleted", "tenant_id")
  6036. VALUES (1685, 101, 1243, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6037. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6038. "deleted", "tenant_id")
  6039. VALUES (1687, 101, 106, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6040. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6041. "deleted", "tenant_id")
  6042. VALUES (1688, 101, 110, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6043. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6044. "deleted", "tenant_id")
  6045. VALUES (1689, 101, 111, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6046. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6047. "deleted", "tenant_id")
  6048. VALUES (1690, 101, 112, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6049. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6050. "deleted", "tenant_id")
  6051. VALUES (1691, 101, 113, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6052. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6053. "deleted", "tenant_id")
  6054. VALUES (1692, 101, 114, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6055. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6056. "deleted", "tenant_id")
  6057. VALUES (1693, 101, 115, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6058. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6059. "deleted", "tenant_id")
  6060. VALUES (1694, 101, 116, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6061. COMMIT;
  6062. -- ----------------------------
  6063. -- Table structure for system_sensitive_word
  6064. -- ----------------------------
  6065. DROP TABLE IF EXISTS "system_sensitive_word";
  6066. CREATE TABLE "system_sensitive_word"
  6067. (
  6068. "id" int8 NOT NULL,
  6069. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6070. "description" varchar(512) COLLATE "pg_catalog"."default",
  6071. "tags" varchar(255) COLLATE "pg_catalog"."default",
  6072. "status" int2 NOT NULL,
  6073. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6074. "create_time" timestamp(6) NOT NULL,
  6075. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6076. "update_time" timestamp(6) NOT NULL,
  6077. "deleted" int2 NOT NULL DEFAULT 0
  6078. )
  6079. ;
  6080. COMMENT
  6081. ON COLUMN "system_sensitive_word"."id" IS '编号';
  6082. COMMENT
  6083. ON COLUMN "system_sensitive_word"."name" IS '敏感词';
  6084. COMMENT
  6085. ON COLUMN "system_sensitive_word"."description" IS '描述';
  6086. COMMENT
  6087. ON COLUMN "system_sensitive_word"."tags" IS '标签数组';
  6088. COMMENT
  6089. ON COLUMN "system_sensitive_word"."status" IS '状态';
  6090. COMMENT
  6091. ON COLUMN "system_sensitive_word"."creator" IS '创建者';
  6092. COMMENT
  6093. ON COLUMN "system_sensitive_word"."create_time" IS '创建时间';
  6094. COMMENT
  6095. ON COLUMN "system_sensitive_word"."updater" IS '更新者';
  6096. COMMENT
  6097. ON COLUMN "system_sensitive_word"."update_time" IS '更新时间';
  6098. COMMENT
  6099. ON COLUMN "system_sensitive_word"."deleted" IS '是否删除';
  6100. COMMENT
  6101. ON TABLE "system_sensitive_word" IS '敏感词';
  6102. -- ----------------------------
  6103. -- Records of system_sensitive_word
  6104. -- ----------------------------
  6105. BEGIN;
  6106. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater",
  6107. "update_time", "deleted")
  6108. VALUES (3, '土豆', '好呀', '蔬菜,短信', 0, '1', '2022-04-08 21:07:12', '1', '2022-04-09 10:28:14', 0);
  6109. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater",
  6110. "update_time", "deleted")
  6111. VALUES (4, 'XXX', NULL, '短信', 0, '1', '2022-04-08 21:27:49', '1', '2022-04-08 21:27:49', 0);
  6112. COMMIT;
  6113. -- ----------------------------
  6114. -- Table structure for system_sms_channel
  6115. -- ----------------------------
  6116. DROP TABLE IF EXISTS "system_sms_channel";
  6117. CREATE TABLE "system_sms_channel"
  6118. (
  6119. "id" int8 NOT NULL,
  6120. "signature" varchar(12) COLLATE "pg_catalog"."default" NOT NULL,
  6121. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6122. "status" int2 NOT NULL,
  6123. "remark" varchar(255) COLLATE "pg_catalog"."default",
  6124. "api_key" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  6125. "api_secret" varchar(128) COLLATE "pg_catalog"."default",
  6126. "callback_url" varchar(255) COLLATE "pg_catalog"."default",
  6127. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6128. "create_time" timestamp(6) NOT NULL,
  6129. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6130. "update_time" timestamp(6) NOT NULL,
  6131. "deleted" int2 NOT NULL DEFAULT 0
  6132. )
  6133. ;
  6134. COMMENT
  6135. ON COLUMN "system_sms_channel"."id" IS '编号';
  6136. COMMENT
  6137. ON COLUMN "system_sms_channel"."signature" IS '短信签名';
  6138. COMMENT
  6139. ON COLUMN "system_sms_channel"."code" IS '渠道编码';
  6140. COMMENT
  6141. ON COLUMN "system_sms_channel"."status" IS '开启状态';
  6142. COMMENT
  6143. ON COLUMN "system_sms_channel"."remark" IS '备注';
  6144. COMMENT
  6145. ON COLUMN "system_sms_channel"."api_key" IS '短信 API 的账号';
  6146. COMMENT
  6147. ON COLUMN "system_sms_channel"."api_secret" IS '短信 API 的秘钥';
  6148. COMMENT
  6149. ON COLUMN "system_sms_channel"."callback_url" IS '短信发送回调 URL';
  6150. COMMENT
  6151. ON COLUMN "system_sms_channel"."creator" IS '创建者';
  6152. COMMENT
  6153. ON COLUMN "system_sms_channel"."create_time" IS '创建时间';
  6154. COMMENT
  6155. ON COLUMN "system_sms_channel"."updater" IS '更新者';
  6156. COMMENT
  6157. ON COLUMN "system_sms_channel"."update_time" IS '更新时间';
  6158. COMMENT
  6159. ON COLUMN "system_sms_channel"."deleted" IS '是否删除';
  6160. COMMENT
  6161. ON TABLE "system_sms_channel" IS '短信渠道';
  6162. -- ----------------------------
  6163. -- Records of system_sms_channel
  6164. -- ----------------------------
  6165. BEGIN;
  6166. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6167. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6168. VALUES (2, 'Ballcat', 'ALIYUN', 0, '啦啦啦', 'LTAI5tCnKso2uG3kJ5gRav88', 'fGJ5SNXL7P1NHNRmJ7DJaMJGPyE55C', NULL, '',
  6169. '2021-03-31 11:53:10', '1', '2021-04-14 00:08:37', 0);
  6170. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6171. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6172. VALUES (4, '测试渠道', 'DEBUG_DING_TALK', 0, '123', '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859',
  6173. 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2021-04-13 00:23:14', '1',
  6174. '2022-03-27 20:29:49', 0);
  6175. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6176. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6177. VALUES (6, '测试演示', 'DEBUG_DING_TALK', 0, NULL, '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859',
  6178. 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2022-04-10 23:07:59', '1',
  6179. '2022-04-10 23:07:59', 0);
  6180. COMMIT;
  6181. -- ----------------------------
  6182. -- Table structure for system_sms_code
  6183. -- ----------------------------
  6184. DROP TABLE IF EXISTS "system_sms_code";
  6185. CREATE TABLE "system_sms_code"
  6186. (
  6187. "id" int8 NOT NULL,
  6188. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  6189. "code" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  6190. "create_ip" varchar(15) COLLATE "pg_catalog"."default" NOT NULL,
  6191. "scene" int2 NOT NULL,
  6192. "today_index" int2 NOT NULL,
  6193. "used" bool NOT NULL,
  6194. "used_time" timestamp(6),
  6195. "used_ip" varchar(255) COLLATE "pg_catalog"."default",
  6196. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6197. "create_time" timestamp(6) NOT NULL,
  6198. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6199. "update_time" timestamp(6) NOT NULL,
  6200. "deleted" int2 NOT NULL DEFAULT 0,
  6201. "tenant_id" int8 NOT NULL DEFAULT 0
  6202. )
  6203. ;
  6204. COMMENT
  6205. ON COLUMN "system_sms_code"."id" IS '编号';
  6206. COMMENT
  6207. ON COLUMN "system_sms_code"."mobile" IS '手机号';
  6208. COMMENT
  6209. ON COLUMN "system_sms_code"."code" IS '验证码';
  6210. COMMENT
  6211. ON COLUMN "system_sms_code"."create_ip" IS '创建 IP';
  6212. COMMENT
  6213. ON COLUMN "system_sms_code"."scene" IS '发送场景';
  6214. COMMENT
  6215. ON COLUMN "system_sms_code"."today_index" IS '今日发送的第几条';
  6216. COMMENT
  6217. ON COLUMN "system_sms_code"."used" IS '是否使用';
  6218. COMMENT
  6219. ON COLUMN "system_sms_code"."used_time" IS '使用时间';
  6220. COMMENT
  6221. ON COLUMN "system_sms_code"."used_ip" IS '使用 IP';
  6222. COMMENT
  6223. ON COLUMN "system_sms_code"."creator" IS '创建者';
  6224. COMMENT
  6225. ON COLUMN "system_sms_code"."create_time" IS '创建时间';
  6226. COMMENT
  6227. ON COLUMN "system_sms_code"."updater" IS '更新者';
  6228. COMMENT
  6229. ON COLUMN "system_sms_code"."update_time" IS '更新时间';
  6230. COMMENT
  6231. ON COLUMN "system_sms_code"."deleted" IS '是否删除';
  6232. COMMENT
  6233. ON COLUMN "system_sms_code"."tenant_id" IS '租户编号';
  6234. COMMENT
  6235. ON TABLE "system_sms_code" IS '手机验证码';
  6236. -- ----------------------------
  6237. -- Records of system_sms_code
  6238. -- ----------------------------
  6239. BEGIN;
  6240. COMMIT;
  6241. -- ----------------------------
  6242. -- Table structure for system_sms_log
  6243. -- ----------------------------
  6244. DROP TABLE IF EXISTS "system_sms_log";
  6245. CREATE TABLE "system_sms_log"
  6246. (
  6247. "id" int8 NOT NULL,
  6248. "channel_id" int8 NOT NULL,
  6249. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6250. "template_id" int8 NOT NULL,
  6251. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6252. "template_type" int2 NOT NULL,
  6253. "template_content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6254. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6255. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6256. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  6257. "user_id" int8,
  6258. "user_type" int2,
  6259. "send_status" int2 NOT NULL,
  6260. "send_time" timestamp(6),
  6261. "send_code" int4,
  6262. "send_msg" varchar(255) COLLATE "pg_catalog"."default",
  6263. "api_send_code" varchar(63) COLLATE "pg_catalog"."default",
  6264. "api_send_msg" varchar(255) COLLATE "pg_catalog"."default",
  6265. "api_request_id" varchar(255) COLLATE "pg_catalog"."default",
  6266. "api_serial_no" varchar(255) COLLATE "pg_catalog"."default",
  6267. "receive_status" int2 NOT NULL,
  6268. "receive_time" timestamp(6),
  6269. "api_receive_code" varchar(63) COLLATE "pg_catalog"."default",
  6270. "api_receive_msg" varchar(255) COLLATE "pg_catalog"."default",
  6271. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6272. "create_time" timestamp(6) NOT NULL,
  6273. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6274. "update_time" timestamp(6) NOT NULL,
  6275. "deleted" int2 NOT NULL DEFAULT 0
  6276. )
  6277. ;
  6278. COMMENT
  6279. ON COLUMN "system_sms_log"."id" IS '编号';
  6280. COMMENT
  6281. ON COLUMN "system_sms_log"."channel_id" IS '短信渠道编号';
  6282. COMMENT
  6283. ON COLUMN "system_sms_log"."channel_code" IS '短信渠道编码';
  6284. COMMENT
  6285. ON COLUMN "system_sms_log"."template_id" IS '模板编号';
  6286. COMMENT
  6287. ON COLUMN "system_sms_log"."template_code" IS '模板编码';
  6288. COMMENT
  6289. ON COLUMN "system_sms_log"."template_type" IS '短信类型';
  6290. COMMENT
  6291. ON COLUMN "system_sms_log"."template_content" IS '短信内容';
  6292. COMMENT
  6293. ON COLUMN "system_sms_log"."template_params" IS '短信参数';
  6294. COMMENT
  6295. ON COLUMN "system_sms_log"."api_template_id" IS '短信 API 的模板编号';
  6296. COMMENT
  6297. ON COLUMN "system_sms_log"."mobile" IS '手机号';
  6298. COMMENT
  6299. ON COLUMN "system_sms_log"."user_id" IS '用户编号';
  6300. COMMENT
  6301. ON COLUMN "system_sms_log"."user_type" IS '用户类型';
  6302. COMMENT
  6303. ON COLUMN "system_sms_log"."send_status" IS '发送状态';
  6304. COMMENT
  6305. ON COLUMN "system_sms_log"."send_time" IS '发送时间';
  6306. COMMENT
  6307. ON COLUMN "system_sms_log"."send_code" IS '发送结果的编码';
  6308. COMMENT
  6309. ON COLUMN "system_sms_log"."send_msg" IS '发送结果的提示';
  6310. COMMENT
  6311. ON COLUMN "system_sms_log"."api_send_code" IS '短信 API 发送结果的编码';
  6312. COMMENT
  6313. ON COLUMN "system_sms_log"."api_send_msg" IS '短信 API 发送失败的提示';
  6314. COMMENT
  6315. ON COLUMN "system_sms_log"."api_request_id" IS '短信 API 发送返回的唯一请求 ID';
  6316. COMMENT
  6317. ON COLUMN "system_sms_log"."api_serial_no" IS '短信 API 发送返回的序号';
  6318. COMMENT
  6319. ON COLUMN "system_sms_log"."receive_status" IS '接收状态';
  6320. COMMENT
  6321. ON COLUMN "system_sms_log"."receive_time" IS '接收时间';
  6322. COMMENT
  6323. ON COLUMN "system_sms_log"."api_receive_code" IS 'API 接收结果的编码';
  6324. COMMENT
  6325. ON COLUMN "system_sms_log"."api_receive_msg" IS 'API 接收结果的说明';
  6326. COMMENT
  6327. ON COLUMN "system_sms_log"."creator" IS '创建者';
  6328. COMMENT
  6329. ON COLUMN "system_sms_log"."create_time" IS '创建时间';
  6330. COMMENT
  6331. ON COLUMN "system_sms_log"."updater" IS '更新者';
  6332. COMMENT
  6333. ON COLUMN "system_sms_log"."update_time" IS '更新时间';
  6334. COMMENT
  6335. ON COLUMN "system_sms_log"."deleted" IS '是否删除';
  6336. COMMENT
  6337. ON TABLE "system_sms_log" IS '短信日志';
  6338. -- ----------------------------
  6339. -- Records of system_sms_log
  6340. -- ----------------------------
  6341. BEGIN;
  6342. COMMIT;
  6343. -- ----------------------------
  6344. -- Table structure for system_sms_template
  6345. -- ----------------------------
  6346. DROP TABLE IF EXISTS "system_sms_template";
  6347. CREATE TABLE "system_sms_template"
  6348. (
  6349. "id" int8 NOT NULL,
  6350. "type" int2 NOT NULL,
  6351. "status" int2 NOT NULL,
  6352. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6353. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6354. "content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6355. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6356. "remark" varchar(255) COLLATE "pg_catalog"."default",
  6357. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6358. "channel_id" int8 NOT NULL,
  6359. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6360. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6361. "create_time" timestamp(6) NOT NULL,
  6362. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6363. "update_time" timestamp(6) NOT NULL,
  6364. "deleted" int2 NOT NULL DEFAULT 0
  6365. )
  6366. ;
  6367. COMMENT
  6368. ON COLUMN "system_sms_template"."id" IS '编号';
  6369. COMMENT
  6370. ON COLUMN "system_sms_template"."type" IS '短信签名';
  6371. COMMENT
  6372. ON COLUMN "system_sms_template"."status" IS '开启状态';
  6373. COMMENT
  6374. ON COLUMN "system_sms_template"."code" IS '模板编码';
  6375. COMMENT
  6376. ON COLUMN "system_sms_template"."name" IS '模板名称';
  6377. COMMENT
  6378. ON COLUMN "system_sms_template"."content" IS '模板内容';
  6379. COMMENT
  6380. ON COLUMN "system_sms_template"."params" IS '参数数组';
  6381. COMMENT
  6382. ON COLUMN "system_sms_template"."remark" IS '备注';
  6383. COMMENT
  6384. ON COLUMN "system_sms_template"."api_template_id" IS '短信 API 的模板编号';
  6385. COMMENT
  6386. ON COLUMN "system_sms_template"."channel_id" IS '短信渠道编号';
  6387. COMMENT
  6388. ON COLUMN "system_sms_template"."channel_code" IS '短信渠道编码';
  6389. COMMENT
  6390. ON COLUMN "system_sms_template"."creator" IS '创建者';
  6391. COMMENT
  6392. ON COLUMN "system_sms_template"."create_time" IS '创建时间';
  6393. COMMENT
  6394. ON COLUMN "system_sms_template"."updater" IS '更新者';
  6395. COMMENT
  6396. ON COLUMN "system_sms_template"."update_time" IS '更新时间';
  6397. COMMENT
  6398. ON COLUMN "system_sms_template"."deleted" IS '是否删除';
  6399. COMMENT
  6400. ON TABLE "system_sms_template" IS '短信模板';
  6401. -- ----------------------------
  6402. -- Records of system_sms_template
  6403. -- ----------------------------
  6404. BEGIN;
  6405. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6406. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6407. "update_time", "deleted")
  6408. VALUES (2, 1, 0, 'test_01', '测试验证码短信', '正在进行登录操作{operation},您的验证码是{code}', '["operation","code"]',
  6409. NULL, '4383920', 1, 'YUN_PIAN', '', '2021-03-31 10:49:38', '1', '2021-04-10 01:22:00', 0);
  6410. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6411. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6412. "update_time", "deleted")
  6413. VALUES (3, 1, 0, 'test_02', '公告通知', '您的验证码{code},该验证码5分钟内有效,请勿泄漏于他人!', '["code"]', NULL,
  6414. 'SMS_207945135', 2, 'ALIYUN', '', '2021-03-31 11:56:30', '1', '2021-04-10 01:22:02', 0);
  6415. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6416. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6417. "update_time", "deleted")
  6418. VALUES (6, 3, 0, 'test-01', '测试模板', '哈哈哈 {name}', '["name"]', 'f哈哈哈', '4383920', 1, 'YUN_PIAN', '1',
  6419. '2021-04-10 01:07:21', '1', '2021-04-10 01:22:05', 0);
  6420. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6421. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6422. "update_time", "deleted")
  6423. VALUES (7, 3, 0, 'test-04', '测试下', '老鸡{name},牛逼{code}', '["name","code"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK',
  6424. '1', '2021-04-13 00:29:53', '1', '2021-04-14 00:30:38', 0);
  6425. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6426. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6427. "update_time", "deleted")
  6428. VALUES (8, 1, 0, 'user-sms-login', '前台用户短信登录', '您的验证码是{code}', '["code"]', NULL, '4372216', 1, 'YUN_PIAN',
  6429. '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  6430. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6431. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6432. "update_time", "deleted")
  6433. VALUES (9, 2, 0, 'bpm_task_assigned', '【工作流】任务被分配',
  6434. '您收到了一条新的待办任务:{processInstanceName}-{taskName},申请人:{startUserNickname},处理链接:{detailUrl}',
  6435. '["processInstanceName","taskName","startUserNickname","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK',
  6436. '1', '2022-01-21 22:31:19', '1', '2022-01-22 00:03:36', 0);
  6437. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6438. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6439. "update_time", "deleted")
  6440. VALUES (10, 2, 0, 'bpm_process_instance_reject', '【工作流】流程被不通过',
  6441. '您的流程被审批不通过:{processInstanceName},原因:{reason},查看链接:{detailUrl}',
  6442. '["processInstanceName","reason","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1',
  6443. '2022-01-22 00:03:31', '1', '2022-05-01 12:33:14', 0);
  6444. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6445. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6446. "update_time", "deleted")
  6447. VALUES (11, 2, 0, 'bpm_process_instance_approve', '【工作流】流程被通过',
  6448. '您的流程被审批通过:{processInstanceName},查看链接:{detailUrl}', '["processInstanceName","detailUrl"]', NULL,
  6449. 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:04:31', '1', '2022-03-27 20:32:21', 0);
  6450. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6451. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6452. "update_time", "deleted")
  6453. VALUES (12, 2, 0, 'demo', '演示模板', '我就是测试一下下', '[]', NULL, 'biubiubiu', 6, 'DEBUG_DING_TALK', '1',
  6454. '2022-04-10 23:22:49', '1', '2022-04-10 23:22:49', 0);
  6455. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6456. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6457. "update_time", "deleted")
  6458. VALUES (13, 1, 0, 'admin-sms-login', '后台用户短信登录', '您的验证码是{code}', '["code"]', '', '4372216', 1, 'YUN_PIAN',
  6459. '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  6460. COMMIT;
  6461. -- ----------------------------
  6462. -- Table structure for system_social_user
  6463. -- ----------------------------
  6464. DROP TABLE IF EXISTS "system_social_user";
  6465. CREATE TABLE "system_social_user"
  6466. (
  6467. "id" numeric(20, 0) NOT NULL,
  6468. "type" int2 NOT NULL,
  6469. "openid" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  6470. "token" varchar(256) COLLATE "pg_catalog"."default",
  6471. "raw_token_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  6472. "nickname" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  6473. "avatar" varchar(255) COLLATE "pg_catalog"."default",
  6474. "raw_user_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  6475. "code" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  6476. "state" varchar(256) COLLATE "pg_catalog"."default",
  6477. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6478. "create_time" timestamp(6) NOT NULL,
  6479. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6480. "update_time" timestamp(6) NOT NULL,
  6481. "deleted" int2 NOT NULL DEFAULT 0,
  6482. "tenant_id" int8 NOT NULL DEFAULT 0
  6483. )
  6484. ;
  6485. COMMENT
  6486. ON COLUMN "system_social_user"."id" IS '主键(自增策略)';
  6487. COMMENT
  6488. ON COLUMN "system_social_user"."type" IS '社交平台的类型';
  6489. COMMENT
  6490. ON COLUMN "system_social_user"."openid" IS '社交 openid';
  6491. COMMENT
  6492. ON COLUMN "system_social_user"."token" IS '社交 token';
  6493. COMMENT
  6494. ON COLUMN "system_social_user"."raw_token_info" IS '原始 Token 数据,一般是 JSON 格式';
  6495. COMMENT
  6496. ON COLUMN "system_social_user"."nickname" IS '用户昵称';
  6497. COMMENT
  6498. ON COLUMN "system_social_user"."avatar" IS '用户头像';
  6499. COMMENT
  6500. ON COLUMN "system_social_user"."raw_user_info" IS '原始用户数据,一般是 JSON 格式';
  6501. COMMENT
  6502. ON COLUMN "system_social_user"."code" IS '最后一次的认证 code';
  6503. COMMENT
  6504. ON COLUMN "system_social_user"."state" IS '最后一次的认证 state';
  6505. COMMENT
  6506. ON COLUMN "system_social_user"."creator" IS '创建者';
  6507. COMMENT
  6508. ON COLUMN "system_social_user"."create_time" IS '创建时间';
  6509. COMMENT
  6510. ON COLUMN "system_social_user"."updater" IS '更新者';
  6511. COMMENT
  6512. ON COLUMN "system_social_user"."update_time" IS '更新时间';
  6513. COMMENT
  6514. ON COLUMN "system_social_user"."deleted" IS '是否删除';
  6515. COMMENT
  6516. ON COLUMN "system_social_user"."tenant_id" IS '租户编号';
  6517. COMMENT
  6518. ON TABLE "system_social_user" IS '社交用户表';
  6519. -- ----------------------------
  6520. -- Records of system_social_user
  6521. -- ----------------------------
  6522. BEGIN;
  6523. COMMIT;
  6524. -- ----------------------------
  6525. -- Table structure for system_social_user_bind
  6526. -- ----------------------------
  6527. DROP TABLE IF EXISTS "system_social_user_bind";
  6528. CREATE TABLE "system_social_user_bind"
  6529. (
  6530. "id" numeric(20, 0) NOT NULL,
  6531. "user_id" int8 NOT NULL,
  6532. "user_type" int2 NOT NULL,
  6533. "social_type" int2 NOT NULL,
  6534. "social_user_id" int8 NOT NULL,
  6535. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6536. "create_time" timestamp(6) NOT NULL,
  6537. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6538. "update_time" timestamp(6) NOT NULL,
  6539. "deleted" int2 NOT NULL DEFAULT 0,
  6540. "tenant_id" int8 NOT NULL DEFAULT 0
  6541. )
  6542. ;
  6543. COMMENT
  6544. ON COLUMN "system_social_user_bind"."id" IS '主键(自增策略)';
  6545. COMMENT
  6546. ON COLUMN "system_social_user_bind"."user_id" IS '用户编号';
  6547. COMMENT
  6548. ON COLUMN "system_social_user_bind"."user_type" IS '用户类型';
  6549. COMMENT
  6550. ON COLUMN "system_social_user_bind"."social_type" IS '社交平台的类型';
  6551. COMMENT
  6552. ON COLUMN "system_social_user_bind"."social_user_id" IS '社交用户的编号';
  6553. COMMENT
  6554. ON COLUMN "system_social_user_bind"."creator" IS '创建者';
  6555. COMMENT
  6556. ON COLUMN "system_social_user_bind"."create_time" IS '创建时间';
  6557. COMMENT
  6558. ON COLUMN "system_social_user_bind"."updater" IS '更新者';
  6559. COMMENT
  6560. ON COLUMN "system_social_user_bind"."update_time" IS '更新时间';
  6561. COMMENT
  6562. ON COLUMN "system_social_user_bind"."deleted" IS '是否删除';
  6563. COMMENT
  6564. ON COLUMN "system_social_user_bind"."tenant_id" IS '租户编号';
  6565. COMMENT
  6566. ON TABLE "system_social_user_bind" IS '社交绑定表';
  6567. -- ----------------------------
  6568. -- Records of system_social_user_bind
  6569. -- ----------------------------
  6570. BEGIN;
  6571. COMMIT;
  6572. -- ----------------------------
  6573. -- Table structure for system_tenant
  6574. -- ----------------------------
  6575. DROP TABLE IF EXISTS "system_tenant";
  6576. CREATE TABLE "system_tenant"
  6577. (
  6578. "id" int8 NOT NULL,
  6579. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6580. "contact_user_id" int8,
  6581. "contact_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6582. "contact_mobile" varchar(500) COLLATE "pg_catalog"."default",
  6583. "status" int2 NOT NULL,
  6584. "website" varchar(256) COLLATE "pg_catalog"."default",
  6585. "package_id" int8 NOT NULL,
  6586. "expire_time" timestamp(6) NOT NULL,
  6587. "account_count" int4 NOT NULL,
  6588. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6589. "create_time" timestamp(6) NOT NULL,
  6590. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6591. "update_time" timestamp(6) NOT NULL,
  6592. "deleted" int2 NOT NULL DEFAULT 0
  6593. )
  6594. ;
  6595. COMMENT
  6596. ON COLUMN "system_tenant"."id" IS '租户编号';
  6597. COMMENT
  6598. ON COLUMN "system_tenant"."name" IS '租户名';
  6599. COMMENT
  6600. ON COLUMN "system_tenant"."contact_user_id" IS '联系人的用户编号';
  6601. COMMENT
  6602. ON COLUMN "system_tenant"."contact_name" IS '联系人';
  6603. COMMENT
  6604. ON COLUMN "system_tenant"."contact_mobile" IS '联系手机';
  6605. COMMENT
  6606. ON COLUMN "system_tenant"."status" IS '租户状态(0正常 1停用)';
  6607. COMMENT
  6608. ON COLUMN "system_tenant"."website" IS '绑定域名';
  6609. COMMENT
  6610. ON COLUMN "system_tenant"."package_id" IS '租户套餐编号';
  6611. COMMENT
  6612. ON COLUMN "system_tenant"."expire_time" IS '过期时间';
  6613. COMMENT
  6614. ON COLUMN "system_tenant"."account_count" IS '账号数量';
  6615. COMMENT
  6616. ON COLUMN "system_tenant"."creator" IS '创建者';
  6617. COMMENT
  6618. ON COLUMN "system_tenant"."create_time" IS '创建时间';
  6619. COMMENT
  6620. ON COLUMN "system_tenant"."updater" IS '更新者';
  6621. COMMENT
  6622. ON COLUMN "system_tenant"."update_time" IS '更新时间';
  6623. COMMENT
  6624. ON COLUMN "system_tenant"."deleted" IS '是否删除';
  6625. COMMENT
  6626. ON TABLE "system_tenant" IS '租户表';
  6627. -- ----------------------------
  6628. -- Records of system_tenant
  6629. -- ----------------------------
  6630. BEGIN;
  6631. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6632. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6633. "update_time", "deleted")
  6634. VALUES (1, '芋道源码', NULL, '芋艿', '17321315478', 0, 'https://www.iocoder.cn', 0, '2099-02-19 17:14:16', 9999, '1',
  6635. '2021-01-05 17:03:47', '1', '2022-02-23 12:15:11', 0);
  6636. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6637. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6638. "update_time", "deleted")
  6639. VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'http://www.iocoder.cn', 111, '2024-03-11 00:00:00', 20, '1',
  6640. '2022-02-22 00:56:14', '1', '2022-03-19 18:37:20', 0);
  6641. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6642. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6643. "update_time", "deleted")
  6644. VALUES (122, '测试租户', 113, '芋道', '15601691300', 0, 'https://www.iocoder.cn', 111, '2022-04-30 00:00:00', 50, '1',
  6645. '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0);
  6646. COMMIT;
  6647. -- ----------------------------
  6648. -- Table structure for system_tenant_package
  6649. -- ----------------------------
  6650. DROP TABLE IF EXISTS "system_tenant_package";
  6651. CREATE TABLE "system_tenant_package"
  6652. (
  6653. "id" int8 NOT NULL,
  6654. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6655. "status" int2 NOT NULL,
  6656. "remark" varchar(256) COLLATE "pg_catalog"."default",
  6657. "menu_ids" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  6658. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6659. "create_time" timestamp(6) NOT NULL,
  6660. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6661. "update_time" timestamp(6) NOT NULL,
  6662. "deleted" int2 NOT NULL DEFAULT 0
  6663. )
  6664. ;
  6665. COMMENT
  6666. ON COLUMN "system_tenant_package"."id" IS '套餐编号';
  6667. COMMENT
  6668. ON COLUMN "system_tenant_package"."name" IS '套餐名';
  6669. COMMENT
  6670. ON COLUMN "system_tenant_package"."status" IS '租户状态(0正常 1停用)';
  6671. COMMENT
  6672. ON COLUMN "system_tenant_package"."remark" IS '备注';
  6673. COMMENT
  6674. ON COLUMN "system_tenant_package"."menu_ids" IS '关联的菜单编号';
  6675. COMMENT
  6676. ON COLUMN "system_tenant_package"."creator" IS '创建者';
  6677. COMMENT
  6678. ON COLUMN "system_tenant_package"."create_time" IS '创建时间';
  6679. COMMENT
  6680. ON COLUMN "system_tenant_package"."updater" IS '更新者';
  6681. COMMENT
  6682. ON COLUMN "system_tenant_package"."update_time" IS '更新时间';
  6683. COMMENT
  6684. ON COLUMN "system_tenant_package"."deleted" IS '是否删除';
  6685. COMMENT
  6686. ON TABLE "system_tenant_package" IS '租户套餐表';
  6687. -- ----------------------------
  6688. -- Records of system_tenant_package
  6689. -- ----------------------------
  6690. BEGIN;
  6691. INSERT INTO "system_tenant_package" ("id", "name", "status", "remark", "menu_ids", "creator", "create_time", "updater",
  6692. "update_time", "deleted")
  6693. VALUES (111, '普通套餐', 0, '小功能',
  6694. '[1024,1025,1,102,103,104,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023]', '1', '2022-02-22 00:54:00',
  6695. '1', '2022-03-19 18:39:13', 0);
  6696. COMMIT;
  6697. -- ----------------------------
  6698. -- Table structure for system_user_post
  6699. -- ----------------------------
  6700. DROP TABLE IF EXISTS "system_user_post";
  6701. CREATE TABLE "system_user_post"
  6702. (
  6703. "id" int8 NOT NULL,
  6704. "user_id" int8 NOT NULL,
  6705. "post_id" int8 NOT NULL,
  6706. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6707. "create_time" timestamp(6) NOT NULL,
  6708. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6709. "update_time" timestamp(6) NOT NULL,
  6710. "tenant_id" int8 NOT NULL,
  6711. "deleted" int2 NOT NULL DEFAULT 0
  6712. )
  6713. ;
  6714. COMMENT
  6715. ON COLUMN "system_user_post"."id" IS 'id';
  6716. COMMENT
  6717. ON COLUMN "system_user_post"."user_id" IS '用户ID';
  6718. COMMENT
  6719. ON COLUMN "system_user_post"."post_id" IS '岗位ID';
  6720. COMMENT
  6721. ON COLUMN "system_user_post"."creator" IS '创建者';
  6722. COMMENT
  6723. ON COLUMN "system_user_post"."create_time" IS '创建时间';
  6724. COMMENT
  6725. ON COLUMN "system_user_post"."updater" IS '更新者';
  6726. COMMENT
  6727. ON COLUMN "system_user_post"."update_time" IS '更新时间';
  6728. COMMENT
  6729. ON COLUMN "system_user_post"."tenant_id" IS '租户编号';
  6730. COMMENT
  6731. ON COLUMN "system_user_post"."deleted" IS '是否删除';
  6732. COMMENT
  6733. ON TABLE "system_user_post" IS '用户岗位表';
  6734. -- ----------------------------
  6735. -- Records of system_user_post
  6736. -- ----------------------------
  6737. BEGIN;
  6738. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time",
  6739. "tenant_id", "deleted")
  6740. VALUES (112, 1, 1, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  6741. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time",
  6742. "tenant_id", "deleted")
  6743. VALUES (113, 100, 1, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  6744. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time",
  6745. "tenant_id", "deleted")
  6746. VALUES (114, 114, 3, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  6747. COMMIT;
  6748. -- ----------------------------
  6749. -- Table structure for system_user_role
  6750. -- ----------------------------
  6751. DROP TABLE IF EXISTS "system_user_role";
  6752. CREATE TABLE "system_user_role"
  6753. (
  6754. "id" int8 NOT NULL,
  6755. "user_id" int8 NOT NULL,
  6756. "role_id" int8 NOT NULL,
  6757. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6758. "create_time" timestamp(6),
  6759. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6760. "update_time" timestamp(6),
  6761. "deleted" int2 NOT NULL DEFAULT 0,
  6762. "tenant_id" int8 NOT NULL DEFAULT 0
  6763. )
  6764. ;
  6765. COMMENT
  6766. ON COLUMN "system_user_role"."id" IS '自增编号';
  6767. COMMENT
  6768. ON COLUMN "system_user_role"."user_id" IS '用户ID';
  6769. COMMENT
  6770. ON COLUMN "system_user_role"."role_id" IS '角色ID';
  6771. COMMENT
  6772. ON COLUMN "system_user_role"."creator" IS '创建者';
  6773. COMMENT
  6774. ON COLUMN "system_user_role"."create_time" IS '创建时间';
  6775. COMMENT
  6776. ON COLUMN "system_user_role"."updater" IS '更新者';
  6777. COMMENT
  6778. ON COLUMN "system_user_role"."update_time" IS '更新时间';
  6779. COMMENT
  6780. ON COLUMN "system_user_role"."deleted" IS '是否删除';
  6781. COMMENT
  6782. ON COLUMN "system_user_role"."tenant_id" IS '租户编号';
  6783. COMMENT
  6784. ON TABLE "system_user_role" IS '用户和角色关联表';
  6785. -- ----------------------------
  6786. -- Records of system_user_role
  6787. -- ----------------------------
  6788. BEGIN;
  6789. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6790. "deleted", "tenant_id")
  6791. VALUES (1, 1, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:17', 0, 1);
  6792. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6793. "deleted", "tenant_id")
  6794. VALUES (2, 2, 2, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:13', 0, 1);
  6795. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6796. "deleted", "tenant_id")
  6797. VALUES (4, 100, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:13', 0, 1);
  6798. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6799. "deleted", "tenant_id")
  6800. VALUES (5, 100, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:12', 0, 1);
  6801. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6802. "deleted", "tenant_id")
  6803. VALUES (6, 100, 2, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:11', 0, 1);
  6804. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6805. "deleted", "tenant_id")
  6806. VALUES (7, 104, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:11', 0, 1);
  6807. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6808. "deleted", "tenant_id")
  6809. VALUES (10, 103, 1, '1', '2022-01-11 13:19:45', '1', '2022-01-11 13:19:45', 0, 1);
  6810. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6811. "deleted", "tenant_id")
  6812. VALUES (11, 107, 106, '1', '2022-02-20 22:59:33', '1', '2022-02-20 22:59:33', 0, 118);
  6813. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6814. "deleted", "tenant_id")
  6815. VALUES (12, 108, 107, '1', '2022-02-20 23:00:50', '1', '2022-02-20 23:00:50', 0, 119);
  6816. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6817. "deleted", "tenant_id")
  6818. VALUES (13, 109, 108, '1', '2022-02-20 23:11:50', '1', '2022-02-20 23:11:50', 0, 120);
  6819. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6820. "deleted", "tenant_id")
  6821. VALUES (14, 110, 109, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  6822. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6823. "deleted", "tenant_id")
  6824. VALUES (15, 111, 110, '110', '2022-02-23 13:14:38', '110', '2022-02-23 13:14:38', 0, 121);
  6825. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6826. "deleted", "tenant_id")
  6827. VALUES (16, 113, 111, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  6828. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6829. "deleted", "tenant_id")
  6830. VALUES (17, 114, 101, '1', '2022-03-19 21:51:13', '1', '2022-03-19 21:51:13', 0, 1);
  6831. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6832. "deleted", "tenant_id")
  6833. VALUES (18, 1, 2, '1', '2022-05-12 20:39:29', '1', '2022-05-12 20:39:29', 0, 1);
  6834. COMMIT;
  6835. -- ----------------------------
  6836. -- Table structure for system_users
  6837. -- ----------------------------
  6838. DROP TABLE IF EXISTS "system_users";
  6839. CREATE TABLE "system_users"
  6840. (
  6841. "id" int8 NOT NULL,
  6842. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6843. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  6844. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6845. "remark" varchar(500) COLLATE "pg_catalog"."default",
  6846. "dept_id" int8,
  6847. "post_ids" varchar(255) COLLATE "pg_catalog"."default",
  6848. "email" varchar(50) COLLATE "pg_catalog"."default",
  6849. "mobile" varchar(11) COLLATE "pg_catalog"."default",
  6850. "sex" int2,
  6851. "avatar" varchar(100) COLLATE "pg_catalog"."default",
  6852. "status" int2 NOT NULL,
  6853. "login_ip" varchar(50) COLLATE "pg_catalog"."default",
  6854. "login_date" timestamp(6),
  6855. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6856. "create_time" timestamp(6) NOT NULL,
  6857. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6858. "update_time" timestamp(6) NOT NULL,
  6859. "deleted" int2 NOT NULL DEFAULT 0,
  6860. "tenant_id" int8 NOT NULL DEFAULT 0
  6861. )
  6862. ;
  6863. COMMENT
  6864. ON COLUMN "system_users"."id" IS '用户ID';
  6865. COMMENT
  6866. ON COLUMN "system_users"."username" IS '用户账号';
  6867. COMMENT
  6868. ON COLUMN "system_users"."password" IS '密码';
  6869. COMMENT
  6870. ON COLUMN "system_users"."nickname" IS '用户昵称';
  6871. COMMENT
  6872. ON COLUMN "system_users"."remark" IS '备注';
  6873. COMMENT
  6874. ON COLUMN "system_users"."dept_id" IS '部门ID';
  6875. COMMENT
  6876. ON COLUMN "system_users"."post_ids" IS '岗位编号数组';
  6877. COMMENT
  6878. ON COLUMN "system_users"."email" IS '用户邮箱';
  6879. COMMENT
  6880. ON COLUMN "system_users"."mobile" IS '手机号码';
  6881. COMMENT
  6882. ON COLUMN "system_users"."sex" IS '用户性别';
  6883. COMMENT
  6884. ON COLUMN "system_users"."avatar" IS '头像地址';
  6885. COMMENT
  6886. ON COLUMN "system_users"."status" IS '帐号状态(0正常 1停用)';
  6887. COMMENT
  6888. ON COLUMN "system_users"."login_ip" IS '最后登录IP';
  6889. COMMENT
  6890. ON COLUMN "system_users"."login_date" IS '最后登录时间';
  6891. COMMENT
  6892. ON COLUMN "system_users"."creator" IS '创建者';
  6893. COMMENT
  6894. ON COLUMN "system_users"."create_time" IS '创建时间';
  6895. COMMENT
  6896. ON COLUMN "system_users"."updater" IS '更新者';
  6897. COMMENT
  6898. ON COLUMN "system_users"."update_time" IS '更新时间';
  6899. COMMENT
  6900. ON COLUMN "system_users"."deleted" IS '是否删除';
  6901. COMMENT
  6902. ON COLUMN "system_users"."tenant_id" IS '租户编号';
  6903. COMMENT
  6904. ON TABLE "system_users" IS '用户信息表';
  6905. -- ----------------------------
  6906. -- Records of system_users
  6907. -- ----------------------------
  6908. BEGIN;
  6909. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6910. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6911. "updater", "update_time", "deleted", "tenant_id")
  6912. VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 104, '[1]',
  6913. 'yudao@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '104', '2021-12-16 09:26:10',
  6914. 0, 1);
  6915. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6916. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6917. "updater", "update_time", "deleted", "tenant_id")
  6918. VALUES (103, 'yuanma', '$2a$10$wWoPT7sqriM2O1YXRL.je.GiL538OR6ZTN8aQZr9JAGdnpCH2tpYe', '源码', NULL, 106, NULL,
  6919. 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-01-18 00:33:40', '', '2021-01-13 23:50:35',
  6920. NULL, '2022-01-18 00:33:40', 0, 1);
  6921. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6922. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6923. "updater", "update_time", "deleted", "tenant_id")
  6924. VALUES (104, 'test', '$2a$10$e5RpuDCC0GYSt0Hvd2.CjujIXwgGct4SnXi6dVGxdgFsnqgEryk5a', '测试号', NULL, 107, '[]',
  6925. '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-03-19 21:46:19', '', '2021-01-21 02:13:53', NULL,
  6926. '2022-03-19 21:46:19', 0, 1);
  6927. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6928. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6929. "updater", "update_time", "deleted", "tenant_id")
  6930. VALUES (107, 'admin107', '$2a$10$dYOOBKMO93v/.ReCqzyFg.o67Tqk.bbc2bhrpyBGkIw9aypCtr2pm', '芋艿', NULL, NULL, NULL, '',
  6931. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 22:59:33', '1', '2022-02-27 08:26:51', 0, 118);
  6932. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6933. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6934. "updater", "update_time", "deleted", "tenant_id")
  6935. VALUES (108, 'admin108', '$2a$10$y6mfvKoNYL1GXWak8nYwVOH.kCWqjactkzdoIDgiKl93WN3Ejg.Lu', '芋艿', NULL, NULL, NULL, '',
  6936. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:00:50', '1', '2022-02-27 08:26:53', 0, 119);
  6937. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6938. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6939. "updater", "update_time", "deleted", "tenant_id")
  6940. VALUES (109, 'admin109', '$2a$10$JAqvH0tEc0I7dfDVBI7zyuB4E3j.uH6daIjV53.vUS6PknFkDJkuK', '芋艿', NULL, NULL, NULL, '',
  6941. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:11:50', '1', '2022-02-27 08:26:56', 0, 120);
  6942. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6943. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6944. "updater", "update_time", "deleted", "tenant_id")
  6945. VALUES (110, 'admin110', '$2a$10$qYxoXs0ogPHgYllyEneYde9xcCW5hZgukrxeXZ9lmLhKse8TK6IwW', '小王', NULL, NULL, NULL, '',
  6946. '15601691300', 0, '', 0, '127.0.0.1', '2022-02-23 19:36:28', '1', '2022-02-22 00:56:14', NULL,
  6947. '2022-02-27 08:26:59', 0, 121);
  6948. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6949. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6950. "updater", "update_time", "deleted", "tenant_id")
  6951. VALUES (111, 'test', '$2a$10$mExveopHUx9Q4QiLtAzhDeH3n4/QlNLzEsM4AqgxKrU.ciUZDXZCy', '测试用户', NULL, NULL, '[]', '',
  6952. '', 0, '', 0, '', NULL, '110', '2022-02-23 13:14:33', '110', '2022-02-23 13:14:33', 0, 121);
  6953. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6954. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6955. "updater", "update_time", "deleted", "tenant_id")
  6956. VALUES (112, 'newobject', '$2a$10$jh5MsR.ud/gKe3mVeUp5t.nEXGDSmHyv5OYjWQwHO8wlGmMSI9Twy', '新对象', NULL, NULL, '[]',
  6957. '', '', 0, '', 0, '', NULL, '1', '2022-02-23 19:08:03', '1', '2022-02-23 19:08:03', 0, 1);
  6958. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6959. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6960. "updater", "update_time", "deleted", "tenant_id")
  6961. VALUES (113, 'aoteman', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '芋道', NULL, NULL, NULL, '',
  6962. '15601691300', 0, '', 0, '127.0.0.1', '2022-03-19 18:38:51', '1', '2022-03-07 21:37:58', NULL,
  6963. '2022-03-19 18:38:51', 0, 122);
  6964. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6965. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6966. "updater", "update_time", "deleted", "tenant_id")
  6967. VALUES (114, 'hrmgr', '$2a$10$TR4eybBioGRhBmDBWkqWLO6NIh3mzYa8KBKDDB5woiGYFVlRAi.fu', 'hr 小姐姐', NULL, NULL, '[3]',
  6968. '', '', 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',
  6969. 0, 1);
  6970. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6971. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6972. "updater", "update_time", "deleted", "tenant_id")
  6973. VALUES (115, 'aotemane', '$2a$10$/WCwGHu1eq0wOVDd/u8HweJ0gJCHyLS6T7ndCqI8UXZAQom1etk2e', '1', '11', 100, '[]', '', '',
  6974. 0, '', 0, '', NULL, '1', '2022-04-30 02:55:43', '1', '2022-04-30 02:55:43', 0, 1);
  6975. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6976. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6977. "updater", "update_time", "deleted", "tenant_id")
  6978. VALUES (1, 'admin', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '芋道源码', '管理员', 103, '[1]',
  6979. 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/48934f2f-92d4-4250-b917-d10d2b262c6a', 0,
  6980. '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);
  6981. COMMIT;
  6982. -- ----------------------------
  6983. -- Table structure for system_mail_account
  6984. -- ----------------------------
  6985. DROP TABLE IF EXISTS "system_mail_account";
  6986. CREATE TABLE "system_mail_account"
  6987. (
  6988. "id" int8 NOT NULL,
  6989. "mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6990. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6991. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6992. "host" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6993. "port" int4 NOT NULL,
  6994. "ssl_enable" varchar(1) COLLATE "pg_catalog"."default" NOT NULL,
  6995. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6996. "create_time" timestamp(6) NOT NULL,
  6997. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6998. "update_time" timestamp(6) NOT NULL,
  6999. "deleted" int2 NOT NULL
  7000. )
  7001. ;
  7002. COMMENT
  7003. ON COLUMN "system_mail_account"."id" IS '主键';
  7004. COMMENT
  7005. ON COLUMN "system_mail_account"."mail" IS '邮箱';
  7006. COMMENT
  7007. ON COLUMN "system_mail_account"."username" IS '用户名';
  7008. COMMENT
  7009. ON COLUMN "system_mail_account"."password" IS '密码';
  7010. COMMENT
  7011. ON COLUMN "system_mail_account"."host" IS 'SMTP 服务器域名';
  7012. COMMENT
  7013. ON COLUMN "system_mail_account"."port" IS 'SMTP 服务器端口';
  7014. COMMENT
  7015. ON COLUMN "system_mail_account"."ssl_enable" IS '是否开启 SSL';
  7016. COMMENT
  7017. ON COLUMN "system_mail_account"."creator" IS '创建者';
  7018. COMMENT
  7019. ON COLUMN "system_mail_account"."create_time" IS '创建时间';
  7020. COMMENT
  7021. ON COLUMN "system_mail_account"."updater" IS '更新者';
  7022. COMMENT
  7023. ON COLUMN "system_mail_account"."update_time" IS '更新时间';
  7024. COMMENT
  7025. ON COLUMN "system_mail_account"."deleted" IS '是否删除';
  7026. COMMENT
  7027. ON TABLE "system_mail_account" IS '邮箱账号表';
  7028. -- ----------------------------
  7029. -- Table structure for system_mail_log
  7030. -- ----------------------------
  7031. DROP TABLE IF EXISTS "system_mail_log";
  7032. CREATE TABLE "system_mail_log"
  7033. (
  7034. "id" int8 NOT NULL,
  7035. "user_id" int8,
  7036. "user_type" int2,
  7037. "to_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7038. "account_id" int8 NOT NULL,
  7039. "from_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7040. "template_id" int8 NOT NULL,
  7041. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7042. "template_nickname" varchar(255) COLLATE "pg_catalog"."default",
  7043. "template_title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7044. "template_content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  7045. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7046. "send_status" int2 NOT NULL,
  7047. "send_time" timestamp(6),
  7048. "send_message_id" varchar(255) COLLATE "pg_catalog"."default",
  7049. "send_exception" varchar(4096) COLLATE "pg_catalog"."default",
  7050. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7051. "create_time" timestamp(6) NOT NULL,
  7052. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7053. "update_time" timestamp(6) NOT NULL,
  7054. "deleted" int2 NOT NULL DEFAULT 0
  7055. )
  7056. ;
  7057. COMMENT
  7058. ON COLUMN "system_mail_log"."id" IS '编号';
  7059. COMMENT
  7060. ON COLUMN "system_mail_log"."user_id" IS '用户编号';
  7061. COMMENT
  7062. ON COLUMN "system_mail_log"."user_type" IS '用户类型';
  7063. COMMENT
  7064. ON COLUMN "system_mail_log"."to_mail" IS '接收邮箱地址';
  7065. COMMENT
  7066. ON COLUMN "system_mail_log"."account_id" IS '邮箱账号编号';
  7067. COMMENT
  7068. ON COLUMN "system_mail_log"."from_mail" IS '发送邮箱地址';
  7069. COMMENT
  7070. ON COLUMN "system_mail_log"."template_id" IS '模板编号';
  7071. COMMENT
  7072. ON COLUMN "system_mail_log"."template_code" IS '模板编码';
  7073. COMMENT
  7074. ON COLUMN "system_mail_log"."template_nickname" IS '模版发送人名称';
  7075. COMMENT
  7076. ON COLUMN "system_mail_log"."template_title" IS '邮件标题';
  7077. COMMENT
  7078. ON COLUMN "system_mail_log"."template_content" IS '邮件内容';
  7079. COMMENT
  7080. ON COLUMN "system_mail_log"."template_params" IS '邮件参数';
  7081. COMMENT
  7082. ON COLUMN "system_mail_log"."send_status" IS '发送状态';
  7083. COMMENT
  7084. ON COLUMN "system_mail_log"."send_time" IS '发送时间';
  7085. COMMENT
  7086. ON COLUMN "system_mail_log"."send_message_id" IS '发送返回的消息 ID';
  7087. COMMENT
  7088. ON COLUMN "system_mail_log"."send_exception" IS '发送异常';
  7089. COMMENT
  7090. ON COLUMN "system_mail_log"."creator" IS '创建者';
  7091. COMMENT
  7092. ON COLUMN "system_mail_log"."create_time" IS '创建时间';
  7093. COMMENT
  7094. ON COLUMN "system_mail_log"."updater" IS '更新者';
  7095. COMMENT
  7096. ON COLUMN "system_mail_log"."update_time" IS '更新时间';
  7097. COMMENT
  7098. ON COLUMN "system_mail_log"."deleted" IS '是否删除';
  7099. COMMENT
  7100. ON TABLE "system_mail_log" IS '邮件日志表';
  7101. -- ----------------------------
  7102. -- Table structure for system_mail_template
  7103. -- ----------------------------
  7104. DROP TABLE IF EXISTS "system_mail_template";
  7105. CREATE TABLE "system_mail_template"
  7106. (
  7107. "id" int8 NOT NULL,
  7108. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7109. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7110. "account_id" int8 NOT NULL,
  7111. "nickname" varchar(255) COLLATE "pg_catalog"."default",
  7112. "title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7113. "content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  7114. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7115. "status" int2 NOT NULL,
  7116. "remark" varchar(255) COLLATE "pg_catalog"."default",
  7117. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7118. "create_time" timestamp(6) NOT NULL,
  7119. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7120. "update_time" timestamp(6) NOT NULL,
  7121. "deleted" int2 NOT NULL DEFAULT 0
  7122. )
  7123. ;
  7124. COMMENT
  7125. ON COLUMN "system_mail_template"."id" IS '编号';
  7126. COMMENT
  7127. ON COLUMN "system_mail_template"."name" IS '模板名称';
  7128. COMMENT
  7129. ON COLUMN "system_mail_template"."code" IS '模板编码';
  7130. COMMENT
  7131. ON COLUMN "system_mail_template"."account_id" IS '发送的邮箱账号编号';
  7132. COMMENT
  7133. ON COLUMN "system_mail_template"."nickname" IS '发送人名称';
  7134. COMMENT
  7135. ON COLUMN "system_mail_template"."title" IS '模板标题';
  7136. COMMENT
  7137. ON COLUMN "system_mail_template"."content" IS '模板内容';
  7138. COMMENT
  7139. ON COLUMN "system_mail_template"."params" IS '参数数组';
  7140. COMMENT
  7141. ON COLUMN "system_mail_template"."status" IS '开启状态';
  7142. COMMENT
  7143. ON COLUMN "system_mail_template"."remark" IS '备注';
  7144. COMMENT
  7145. ON COLUMN "system_mail_template"."creator" IS '创建者';
  7146. COMMENT
  7147. ON COLUMN "system_mail_template"."create_time" IS '创建时间';
  7148. COMMENT
  7149. ON COLUMN "system_mail_template"."updater" IS '更新者';
  7150. COMMENT
  7151. ON COLUMN "system_mail_template"."update_time" IS '更新时间';
  7152. COMMENT
  7153. ON COLUMN "system_mail_template"."deleted" IS '是否删除';
  7154. COMMENT
  7155. ON TABLE "system_mail_template" IS '邮件模版表';
  7156. -- ----------------------------
  7157. -- Table structure for system_notify_message
  7158. -- ----------------------------
  7159. DROP TABLE IF EXISTS "system_notify_message";
  7160. CREATE TABLE "system_notify_message"
  7161. (
  7162. "id" int8 NOT NULL,
  7163. "user_id" int8 NOT NULL,
  7164. "user_type" int2 NOT NULL,
  7165. "template_id" int8 NOT NULL,
  7166. "template_code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  7167. "template_nickname" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7168. "template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  7169. "template_type" int4 NOT NULL,
  7170. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7171. "read_status" bool NOT NULL DEFAULT false,
  7172. "read_time" timestamp(6),
  7173. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7174. "create_time" timestamp(6) NOT NULL,
  7175. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7176. "update_time" timestamp(6) NOT NULL,
  7177. "deleted" int2 NOT NULL DEFAULT 0,
  7178. "tenant_id" int8 NOT NULL
  7179. )
  7180. ;
  7181. COMMENT
  7182. ON COLUMN "system_notify_message"."id" IS '用户ID';
  7183. COMMENT
  7184. ON COLUMN "system_notify_message"."user_id" IS '用户id';
  7185. COMMENT
  7186. ON COLUMN "system_notify_message"."user_type" IS '用户类型';
  7187. COMMENT
  7188. ON COLUMN "system_notify_message"."template_id" IS '模版编号';
  7189. COMMENT
  7190. ON COLUMN "system_notify_message"."template_code" IS '模板编码';
  7191. COMMENT
  7192. ON COLUMN "system_notify_message"."template_nickname" IS '模版发送人名称';
  7193. COMMENT
  7194. ON COLUMN "system_notify_message"."template_content" IS '模版内容';
  7195. COMMENT
  7196. ON COLUMN "system_notify_message"."template_type" IS '模版类型';
  7197. COMMENT
  7198. ON COLUMN "system_notify_message"."template_params" IS '模版参数';
  7199. COMMENT
  7200. ON COLUMN "system_notify_message"."read_status" IS '是否已读';
  7201. COMMENT
  7202. ON COLUMN "system_notify_message"."read_time" IS '阅读时间';
  7203. COMMENT
  7204. ON COLUMN "system_notify_message"."creator" IS '创建者';
  7205. COMMENT
  7206. ON COLUMN "system_notify_message"."create_time" IS '创建时间';
  7207. COMMENT
  7208. ON COLUMN "system_notify_message"."updater" IS '更新者';
  7209. COMMENT
  7210. ON COLUMN "system_notify_message"."update_time" IS '更新时间';
  7211. COMMENT
  7212. ON COLUMN "system_notify_message"."deleted" IS '是否删除';
  7213. COMMENT
  7214. ON COLUMN "system_notify_message"."tenant_id" IS '租户编号';
  7215. COMMENT
  7216. ON TABLE "system_notify_message" IS '站内信消息表';
  7217. -- ----------------------------
  7218. -- Table structure for system_notify_template
  7219. -- ----------------------------
  7220. DROP TABLE IF EXISTS "system_notify_template";
  7221. CREATE TABLE "system_notify_template"
  7222. (
  7223. "id" int8 NOT NULL,
  7224. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7225. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  7226. "nickname" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7227. "content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  7228. "type" int2 NOT NULL,
  7229. "params" varchar(255) COLLATE "pg_catalog"."default",
  7230. "status" int2 NOT NULL,
  7231. "remark" varchar(255) COLLATE "pg_catalog"."default",
  7232. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7233. "create_time" timestamp(6) NOT NULL,
  7234. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7235. "update_time" timestamp(6) NOT NULL,
  7236. "deleted" int2 NOT NULL DEFAULT 0
  7237. )
  7238. ;
  7239. COMMENT
  7240. ON COLUMN "system_notify_template"."id" IS '主键';
  7241. COMMENT
  7242. ON COLUMN "system_notify_template"."name" IS '模板名称';
  7243. COMMENT
  7244. ON COLUMN "system_notify_template"."code" IS '模版编码';
  7245. COMMENT
  7246. ON COLUMN "system_notify_template"."nickname" IS '发送人名称';
  7247. COMMENT
  7248. ON COLUMN "system_notify_template"."content" IS '模版内容';
  7249. COMMENT
  7250. ON COLUMN "system_notify_template"."type" IS '类型';
  7251. COMMENT
  7252. ON COLUMN "system_notify_template"."params" IS '参数数组';
  7253. COMMENT
  7254. ON COLUMN "system_notify_template"."status" IS '状态';
  7255. COMMENT
  7256. ON COLUMN "system_notify_template"."remark" IS '备注';
  7257. COMMENT
  7258. ON COLUMN "system_notify_template"."creator" IS '创建者';
  7259. COMMENT
  7260. ON COLUMN "system_notify_template"."create_time" IS '创建时间';
  7261. COMMENT
  7262. ON COLUMN "system_notify_template"."updater" IS '更新者';
  7263. COMMENT
  7264. ON COLUMN "system_notify_template"."update_time" IS '更新时间';
  7265. COMMENT
  7266. ON COLUMN "system_notify_template"."deleted" IS '是否删除';
  7267. COMMENT
  7268. ON TABLE "system_notify_template" IS '站内信模板表';
  7269. -- ----------------------------
  7270. -- Table structure for system_user_session
  7271. -- ----------------------------
  7272. DROP TABLE IF EXISTS "system_user_session";
  7273. CREATE TABLE "system_user_session"
  7274. (
  7275. "id" int8 NOT NULL,
  7276. "token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  7277. "user_id" int8 NOT NULL,
  7278. "user_type" int2 NOT NULL,
  7279. "session_timeout" timestamp(6) NOT NULL,
  7280. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  7281. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  7282. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  7283. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7284. "create_time" timestamp(6) NOT NULL,
  7285. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7286. "update_time" timestamp(6) NOT NULL,
  7287. "deleted" int2 NOT NULL DEFAULT 0,
  7288. "tenant_id" int8 NOT NULL
  7289. )
  7290. ;
  7291. COMMENT
  7292. ON COLUMN "system_user_session"."id" IS '编号';
  7293. COMMENT
  7294. ON COLUMN "system_user_session"."token" IS '会话编号';
  7295. COMMENT
  7296. ON COLUMN "system_user_session"."user_id" IS '用户编号';
  7297. COMMENT
  7298. ON COLUMN "system_user_session"."user_type" IS '用户类型';
  7299. COMMENT
  7300. ON COLUMN "system_user_session"."session_timeout" IS '会话超时时间';
  7301. COMMENT
  7302. ON COLUMN "system_user_session"."username" IS '用户账号';
  7303. COMMENT
  7304. ON COLUMN "system_user_session"."user_ip" IS '用户 IP';
  7305. COMMENT
  7306. ON COLUMN "system_user_session"."user_agent" IS '浏览器 UA';
  7307. COMMENT
  7308. ON COLUMN "system_user_session"."creator" IS '创建者';
  7309. COMMENT
  7310. ON COLUMN "system_user_session"."create_time" IS '创建时间';
  7311. COMMENT
  7312. ON COLUMN "system_user_session"."updater" IS '更新者';
  7313. COMMENT
  7314. ON COLUMN "system_user_session"."update_time" IS '更新时间';
  7315. COMMENT
  7316. ON COLUMN "system_user_session"."deleted" IS '是否删除';
  7317. COMMENT
  7318. ON COLUMN "system_user_session"."tenant_id" IS '租户编号';
  7319. COMMENT
  7320. ON TABLE "system_user_session" IS '用户在线 Session';
  7321. -- ----------------------------
  7322. -- Alter sequences owned by
  7323. -- ----------------------------
  7324. -- ----------------------------
  7325. -- Alter sequences owned by
  7326. -- ----------------------------
  7327. SELECT setval('"bpm_oa_leave_seq"', 1, true);
  7328. -- ----------------------------
  7329. -- Alter sequences owned by
  7330. -- ----------------------------
  7331. -- ----------------------------
  7332. -- Alter sequences owned by
  7333. -- ----------------------------
  7334. -- ----------------------------
  7335. -- Alter sequences owned by
  7336. -- ----------------------------
  7337. SELECT setval('"bpm_task_assign_rule_seq"', 1, true);
  7338. -- ----------------------------
  7339. -- Alter sequences owned by
  7340. -- ----------------------------
  7341. -- ----------------------------
  7342. -- Alter sequences owned by
  7343. -- ----------------------------
  7344. -- ----------------------------
  7345. -- Alter sequences owned by
  7346. -- ----------------------------
  7347. SELECT setval('"infra_api_access_log_seq"', 537, true);
  7348. -- ----------------------------
  7349. -- Alter sequences owned by
  7350. -- ----------------------------
  7351. SELECT setval('"infra_api_error_log_seq"', 73, true);
  7352. -- ----------------------------
  7353. -- Alter sequences owned by
  7354. -- ----------------------------
  7355. -- ----------------------------
  7356. -- Alter sequences owned by
  7357. -- ----------------------------
  7358. -- ----------------------------
  7359. -- Alter sequences owned by
  7360. -- ----------------------------
  7361. -- ----------------------------
  7362. -- Alter sequences owned by
  7363. -- ----------------------------
  7364. -- ----------------------------
  7365. -- Alter sequences owned by
  7366. -- ----------------------------
  7367. -- ----------------------------
  7368. -- Alter sequences owned by
  7369. -- ----------------------------
  7370. -- ----------------------------
  7371. -- Alter sequences owned by
  7372. -- ----------------------------
  7373. -- ----------------------------
  7374. -- Alter sequences owned by
  7375. -- ----------------------------
  7376. SELECT setval('"infra_job_log_seq"', 1, true);
  7377. -- ----------------------------
  7378. -- Alter sequences owned by
  7379. -- ----------------------------
  7380. SELECT setval('"infra_job_seq"', 2, true);
  7381. -- ----------------------------
  7382. -- Alter sequences owned by
  7383. -- ----------------------------
  7384. -- ----------------------------
  7385. -- Alter sequences owned by
  7386. -- ----------------------------
  7387. -- ----------------------------
  7388. -- Alter sequences owned by
  7389. -- ----------------------------
  7390. -- ----------------------------
  7391. -- Alter sequences owned by
  7392. -- ----------------------------
  7393. -- ----------------------------
  7394. -- Alter sequences owned by
  7395. -- ----------------------------
  7396. -- ----------------------------
  7397. -- Alter sequences owned by
  7398. -- ----------------------------
  7399. -- ----------------------------
  7400. -- Alter sequences owned by
  7401. -- ----------------------------
  7402. -- ----------------------------
  7403. -- Alter sequences owned by
  7404. -- ----------------------------
  7405. -- ----------------------------
  7406. -- Alter sequences owned by
  7407. -- ----------------------------
  7408. -- ----------------------------
  7409. -- Alter sequences owned by
  7410. -- ----------------------------
  7411. -- ----------------------------
  7412. -- Alter sequences owned by
  7413. -- ----------------------------
  7414. -- ----------------------------
  7415. -- Alter sequences owned by
  7416. -- ----------------------------
  7417. -- ----------------------------
  7418. -- Alter sequences owned by
  7419. -- ----------------------------
  7420. -- ----------------------------
  7421. -- Alter sequences owned by
  7422. -- ----------------------------
  7423. SELECT setval('"system_error_code_seq"', 186, true);
  7424. -- ----------------------------
  7425. -- Alter sequences owned by
  7426. -- ----------------------------
  7427. SELECT setval('"system_login_log_seq"', 23, true);
  7428. -- ----------------------------
  7429. -- Alter sequences owned by
  7430. -- ----------------------------
  7431. -- ----------------------------
  7432. -- Alter sequences owned by
  7433. -- ----------------------------
  7434. -- ----------------------------
  7435. -- Alter sequences owned by
  7436. -- ----------------------------
  7437. SELECT setval('"system_oauth2_access_token_seq"', 11, true);
  7438. -- ----------------------------
  7439. -- Alter sequences owned by
  7440. -- ----------------------------
  7441. SELECT setval('"system_oauth2_approve_seq"', 4, true);
  7442. -- ----------------------------
  7443. -- Alter sequences owned by
  7444. -- ----------------------------
  7445. SELECT setval('"system_oauth2_client_seq"', 1, false);
  7446. -- ----------------------------
  7447. -- Alter sequences owned by
  7448. -- ----------------------------
  7449. SELECT setval('"system_oauth2_code_seq"', 4, true);
  7450. -- ----------------------------
  7451. -- Alter sequences owned by
  7452. -- ----------------------------
  7453. SELECT setval('"system_oauth2_refresh_token_seq"', 1, true);
  7454. -- ----------------------------
  7455. -- Alter sequences owned by
  7456. -- ----------------------------
  7457. SELECT setval('"system_operate_log_seq"', 44, true);
  7458. -- ----------------------------
  7459. -- Alter sequences owned by
  7460. -- ----------------------------
  7461. -- ----------------------------
  7462. -- Alter sequences owned by
  7463. -- ----------------------------
  7464. -- ----------------------------
  7465. -- Alter sequences owned by
  7466. -- ----------------------------
  7467. -- ----------------------------
  7468. -- Alter sequences owned by
  7469. -- ----------------------------
  7470. -- ----------------------------
  7471. -- Alter sequences owned by
  7472. -- ----------------------------
  7473. -- ----------------------------
  7474. -- Alter sequences owned by
  7475. -- ----------------------------
  7476. -- ----------------------------
  7477. -- Alter sequences owned by
  7478. -- ----------------------------
  7479. SELECT setval('"system_sms_log_seq"', 1, true);
  7480. -- ----------------------------
  7481. -- Alter sequences owned by
  7482. -- ----------------------------
  7483. -- ----------------------------
  7484. -- Alter sequences owned by
  7485. -- ----------------------------
  7486. -- ----------------------------
  7487. -- Alter sequences owned by
  7488. -- ----------------------------
  7489. -- ----------------------------
  7490. -- Alter sequences owned by
  7491. -- ----------------------------
  7492. -- ----------------------------
  7493. -- Alter sequences owned by
  7494. -- ----------------------------
  7495. -- ----------------------------
  7496. -- Alter sequences owned by
  7497. -- ----------------------------
  7498. -- ----------------------------
  7499. -- Alter sequences owned by
  7500. -- ----------------------------
  7501. -- ----------------------------
  7502. -- Alter sequences owned by
  7503. -- ----------------------------
  7504. -- ----------------------------
  7505. -- Primary Key structure for table bpm_form
  7506. -- ----------------------------
  7507. ALTER TABLE "bpm_form"
  7508. ADD CONSTRAINT "bpm_form_pkey" PRIMARY KEY ("id");
  7509. -- ----------------------------
  7510. -- Primary Key structure for table bpm_oa_leave
  7511. -- ----------------------------
  7512. ALTER TABLE "bpm_oa_leave"
  7513. ADD CONSTRAINT "bpm_oa_leave_pkey" PRIMARY KEY ("id");
  7514. -- ----------------------------
  7515. -- Primary Key structure for table bpm_process_definition_ext
  7516. -- ----------------------------
  7517. ALTER TABLE "bpm_process_definition_ext"
  7518. ADD CONSTRAINT "bpm_process_definition_ext_pkey" PRIMARY KEY ("id");
  7519. -- ----------------------------
  7520. -- Primary Key structure for table bpm_process_instance_ext
  7521. -- ----------------------------
  7522. ALTER TABLE "bpm_process_instance_ext"
  7523. ADD CONSTRAINT "bpm_process_instance_ext_pkey" PRIMARY KEY ("id");
  7524. -- ----------------------------
  7525. -- Primary Key structure for table bpm_task_assign_rule
  7526. -- ----------------------------
  7527. ALTER TABLE "bpm_task_assign_rule"
  7528. ADD CONSTRAINT "bpm_task_assign_rule_pkey" PRIMARY KEY ("id");
  7529. -- ----------------------------
  7530. -- Primary Key structure for table bpm_task_ext
  7531. -- ----------------------------
  7532. ALTER TABLE "bpm_task_ext"
  7533. ADD CONSTRAINT "bpm_task_ext_pkey" PRIMARY KEY ("id");
  7534. -- ----------------------------
  7535. -- Primary Key structure for table bpm_user_group
  7536. -- ----------------------------
  7537. ALTER TABLE "bpm_user_group"
  7538. ADD CONSTRAINT "bpm_user_group_pkey" PRIMARY KEY ("id");
  7539. -- ----------------------------
  7540. -- Primary Key structure for table infra_api_access_log
  7541. -- ----------------------------
  7542. ALTER TABLE "infra_api_access_log"
  7543. ADD CONSTRAINT "infra_api_access_log_pkey" PRIMARY KEY ("id");
  7544. -- ----------------------------
  7545. -- Primary Key structure for table infra_api_error_log
  7546. -- ----------------------------
  7547. ALTER TABLE "infra_api_error_log"
  7548. ADD CONSTRAINT "infra_api_error_log_pkey" PRIMARY KEY ("id");
  7549. -- ----------------------------
  7550. -- Primary Key structure for table infra_codegen_column
  7551. -- ----------------------------
  7552. ALTER TABLE "infra_codegen_column"
  7553. ADD CONSTRAINT "infra_codegen_column_pkey" PRIMARY KEY ("id");
  7554. -- ----------------------------
  7555. -- Primary Key structure for table infra_codegen_table
  7556. -- ----------------------------
  7557. ALTER TABLE "infra_codegen_table"
  7558. ADD CONSTRAINT "infra_codegen_table_pkey" PRIMARY KEY ("id");
  7559. -- ----------------------------
  7560. -- Primary Key structure for table infra_config
  7561. -- ----------------------------
  7562. ALTER TABLE "infra_config"
  7563. ADD CONSTRAINT "infra_config_pkey" PRIMARY KEY ("id");
  7564. -- ----------------------------
  7565. -- Primary Key structure for table infra_data_source_config
  7566. -- ----------------------------
  7567. ALTER TABLE "infra_data_source_config"
  7568. ADD CONSTRAINT "infra_data_source_config_pkey" PRIMARY KEY ("id");
  7569. -- ----------------------------
  7570. -- Primary Key structure for table infra_file
  7571. -- ----------------------------
  7572. ALTER TABLE "infra_file"
  7573. ADD CONSTRAINT "infra_file_pkey" PRIMARY KEY ("id");
  7574. -- ----------------------------
  7575. -- Primary Key structure for table infra_file_config
  7576. -- ----------------------------
  7577. ALTER TABLE "infra_file_config"
  7578. ADD CONSTRAINT "infra_file_config_pkey" PRIMARY KEY ("id");
  7579. -- ----------------------------
  7580. -- Primary Key structure for table infra_file_content
  7581. -- ----------------------------
  7582. ALTER TABLE "infra_file_content"
  7583. ADD CONSTRAINT "infra_file_content_pkey" PRIMARY KEY ("id");
  7584. -- ----------------------------
  7585. -- Primary Key structure for table infra_job
  7586. -- ----------------------------
  7587. ALTER TABLE "infra_job"
  7588. ADD CONSTRAINT "infra_job_pkey" PRIMARY KEY ("id");
  7589. -- ----------------------------
  7590. -- Primary Key structure for table infra_job_log
  7591. -- ----------------------------
  7592. ALTER TABLE "infra_job_log"
  7593. ADD CONSTRAINT "infra_job_log_pkey" PRIMARY KEY ("id");
  7594. -- ----------------------------
  7595. -- Primary Key structure for table infra_test_demo
  7596. -- ----------------------------
  7597. ALTER TABLE "infra_test_demo"
  7598. ADD CONSTRAINT "infra_test_demo_pkey" PRIMARY KEY ("id");
  7599. -- ----------------------------
  7600. -- Indexes structure for table member_user
  7601. -- ----------------------------
  7602. CREATE UNIQUE INDEX "uk_mobile" ON "member_user" USING btree (
  7603. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7604. );
  7605. COMMENT
  7606. ON INDEX "uk_mobile" IS '手机号';
  7607. -- ----------------------------
  7608. -- Primary Key structure for table member_user
  7609. -- ----------------------------
  7610. ALTER TABLE "member_user"
  7611. ADD CONSTRAINT "member_user_pkey" PRIMARY KEY ("id");
  7612. -- ----------------------------
  7613. -- Primary Key structure for table pay_app
  7614. -- ----------------------------
  7615. ALTER TABLE "pay_app"
  7616. ADD CONSTRAINT "pay_app_pkey" PRIMARY KEY ("id");
  7617. -- ----------------------------
  7618. -- Primary Key structure for table pay_channel
  7619. -- ----------------------------
  7620. ALTER TABLE "pay_channel"
  7621. ADD CONSTRAINT "pay_channel_pkey" PRIMARY KEY ("id");
  7622. -- ----------------------------
  7623. -- Primary Key structure for table pay_merchant
  7624. -- ----------------------------
  7625. ALTER TABLE "pay_merchant"
  7626. ADD CONSTRAINT "pay_merchant_pkey" PRIMARY KEY ("id");
  7627. -- ----------------------------
  7628. -- Primary Key structure for table pay_notify_log
  7629. -- ----------------------------
  7630. ALTER TABLE "pay_notify_log"
  7631. ADD CONSTRAINT "pay_notify_log_pkey" PRIMARY KEY ("id");
  7632. -- ----------------------------
  7633. -- Primary Key structure for table pay_notify_task
  7634. -- ----------------------------
  7635. ALTER TABLE "pay_notify_task"
  7636. ADD CONSTRAINT "pay_notify_task_pkey" PRIMARY KEY ("id");
  7637. -- ----------------------------
  7638. -- Primary Key structure for table pay_order
  7639. -- ----------------------------
  7640. ALTER TABLE "pay_order"
  7641. ADD CONSTRAINT "pay_order_pkey" PRIMARY KEY ("id");
  7642. -- ----------------------------
  7643. -- Primary Key structure for table pay_order_extension
  7644. -- ----------------------------
  7645. ALTER TABLE "pay_order_extension"
  7646. ADD CONSTRAINT "pay_order_extension_pkey" PRIMARY KEY ("id");
  7647. -- ----------------------------
  7648. -- Primary Key structure for table pay_refund
  7649. -- ----------------------------
  7650. ALTER TABLE "pay_refund"
  7651. ADD CONSTRAINT "pay_refund_pkey" PRIMARY KEY ("id");
  7652. -- ----------------------------
  7653. -- Primary Key structure for table qrtz_blob_triggers
  7654. -- ----------------------------
  7655. ALTER TABLE "qrtz_blob_triggers"
  7656. ADD CONSTRAINT "qrtz_blob_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7657. -- ----------------------------
  7658. -- Primary Key structure for table qrtz_calendars
  7659. -- ----------------------------
  7660. ALTER TABLE "qrtz_calendars"
  7661. ADD CONSTRAINT "qrtz_calendars_pkey" PRIMARY KEY ("sched_name", "calendar_name");
  7662. -- ----------------------------
  7663. -- Primary Key structure for table qrtz_cron_triggers
  7664. -- ----------------------------
  7665. ALTER TABLE "qrtz_cron_triggers"
  7666. ADD CONSTRAINT "qrtz_cron_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7667. -- ----------------------------
  7668. -- Indexes structure for table qrtz_fired_triggers
  7669. -- ----------------------------
  7670. CREATE INDEX "idx_qrtz_ft_inst_job_req_rcvry" ON "qrtz_fired_triggers" USING btree (
  7671. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7672. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7673. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  7674. );
  7675. CREATE INDEX "idx_qrtz_ft_j_g" ON "qrtz_fired_triggers" USING btree (
  7676. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7677. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7678. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7679. );
  7680. CREATE INDEX "idx_qrtz_ft_jg" ON "qrtz_fired_triggers" USING btree (
  7681. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7682. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7683. );
  7684. CREATE INDEX "idx_qrtz_ft_t_g" ON "qrtz_fired_triggers" USING btree (
  7685. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7686. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7687. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7688. );
  7689. CREATE INDEX "idx_qrtz_ft_tg" ON "qrtz_fired_triggers" USING btree (
  7690. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7691. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7692. );
  7693. CREATE INDEX "idx_qrtz_ft_trig_inst_name" ON "qrtz_fired_triggers" USING btree (
  7694. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7695. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7696. );
  7697. -- ----------------------------
  7698. -- Primary Key structure for table qrtz_fired_triggers
  7699. -- ----------------------------
  7700. ALTER TABLE "qrtz_fired_triggers"
  7701. ADD CONSTRAINT "qrtz_fired_triggers_pkey" PRIMARY KEY ("sched_name", "entry_id");
  7702. -- ----------------------------
  7703. -- Indexes structure for table qrtz_job_details
  7704. -- ----------------------------
  7705. CREATE INDEX "idx_qrtz_j_grp" ON "qrtz_job_details" USING btree (
  7706. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7707. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7708. );
  7709. CREATE INDEX "idx_qrtz_j_req_recovery" ON "qrtz_job_details" USING btree (
  7710. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7711. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  7712. );
  7713. -- ----------------------------
  7714. -- Primary Key structure for table qrtz_job_details
  7715. -- ----------------------------
  7716. ALTER TABLE "qrtz_job_details"
  7717. ADD CONSTRAINT "qrtz_job_details_pkey" PRIMARY KEY ("sched_name", "job_name", "job_group");
  7718. -- ----------------------------
  7719. -- Primary Key structure for table qrtz_locks
  7720. -- ----------------------------
  7721. ALTER TABLE "qrtz_locks"
  7722. ADD CONSTRAINT "qrtz_locks_pkey" PRIMARY KEY ("sched_name", "lock_name");
  7723. -- ----------------------------
  7724. -- Primary Key structure for table qrtz_paused_trigger_grps
  7725. -- ----------------------------
  7726. ALTER TABLE "qrtz_paused_trigger_grps"
  7727. ADD CONSTRAINT "qrtz_paused_trigger_grps_pkey" PRIMARY KEY ("sched_name", "trigger_group");
  7728. -- ----------------------------
  7729. -- Primary Key structure for table qrtz_scheduler_state
  7730. -- ----------------------------
  7731. ALTER TABLE "qrtz_scheduler_state"
  7732. ADD CONSTRAINT "qrtz_scheduler_state_pkey" PRIMARY KEY ("sched_name", "instance_name");
  7733. -- ----------------------------
  7734. -- Primary Key structure for table qrtz_simple_triggers
  7735. -- ----------------------------
  7736. ALTER TABLE "qrtz_simple_triggers"
  7737. ADD CONSTRAINT "qrtz_simple_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7738. -- ----------------------------
  7739. -- Primary Key structure for table qrtz_simprop_triggers
  7740. -- ----------------------------
  7741. ALTER TABLE "qrtz_simprop_triggers"
  7742. ADD CONSTRAINT "qrtz_simprop_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7743. -- ----------------------------
  7744. -- Indexes structure for table qrtz_triggers
  7745. -- ----------------------------
  7746. CREATE INDEX "idx_qrtz_t_c" ON "qrtz_triggers" USING btree (
  7747. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7748. "calendar_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7749. );
  7750. CREATE INDEX "idx_qrtz_t_g" ON "qrtz_triggers" USING btree (
  7751. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7752. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7753. );
  7754. CREATE INDEX "idx_qrtz_t_j" ON "qrtz_triggers" USING btree (
  7755. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7756. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7757. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7758. );
  7759. CREATE INDEX "idx_qrtz_t_jg" ON "qrtz_triggers" USING btree (
  7760. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7761. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7762. );
  7763. CREATE INDEX "idx_qrtz_t_n_g_state" ON "qrtz_triggers" USING btree (
  7764. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7765. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7766. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7767. );
  7768. CREATE INDEX "idx_qrtz_t_n_state" ON "qrtz_triggers" USING btree (
  7769. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7770. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7771. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7772. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7773. );
  7774. CREATE INDEX "idx_qrtz_t_next_fire_time" ON "qrtz_triggers" USING btree (
  7775. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7776. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7777. );
  7778. CREATE INDEX "idx_qrtz_t_nft_misfire" ON "qrtz_triggers" USING btree (
  7779. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7780. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7781. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7782. );
  7783. CREATE INDEX "idx_qrtz_t_nft_st" ON "qrtz_triggers" USING btree (
  7784. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7785. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7786. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7787. );
  7788. CREATE INDEX "idx_qrtz_t_nft_st_misfire" ON "qrtz_triggers" USING btree (
  7789. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7790. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7791. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  7792. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7793. );
  7794. CREATE INDEX "idx_qrtz_t_nft_st_misfire_grp" ON "qrtz_triggers" USING btree (
  7795. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7796. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7797. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  7798. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7799. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7800. );
  7801. CREATE INDEX "idx_qrtz_t_state" ON "qrtz_triggers" USING btree (
  7802. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7803. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7804. );
  7805. -- ----------------------------
  7806. -- Primary Key structure for table qrtz_triggers
  7807. -- ----------------------------
  7808. ALTER TABLE "qrtz_triggers"
  7809. ADD CONSTRAINT "qrtz_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7810. -- ----------------------------
  7811. -- Primary Key structure for table system_dept
  7812. -- ----------------------------
  7813. ALTER TABLE "system_dept"
  7814. ADD CONSTRAINT "system_dept_pkey" PRIMARY KEY ("id");
  7815. -- ----------------------------
  7816. -- Primary Key structure for table system_dict_data
  7817. -- ----------------------------
  7818. ALTER TABLE "system_dict_data"
  7819. ADD CONSTRAINT "system_dict_data_pkey" PRIMARY KEY ("id");
  7820. -- ----------------------------
  7821. -- Indexes structure for table system_dict_type
  7822. -- ----------------------------
  7823. CREATE UNIQUE INDEX "dict_type" ON "system_dict_type" USING btree (
  7824. "type" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7825. );
  7826. -- ----------------------------
  7827. -- Primary Key structure for table system_dict_type
  7828. -- ----------------------------
  7829. ALTER TABLE "system_dict_type"
  7830. ADD CONSTRAINT "system_dict_type_pkey" PRIMARY KEY ("id");
  7831. -- ----------------------------
  7832. -- Primary Key structure for table system_error_code
  7833. -- ----------------------------
  7834. ALTER TABLE "system_error_code"
  7835. ADD CONSTRAINT "system_error_code_pkey" PRIMARY KEY ("id");
  7836. -- ----------------------------
  7837. -- Primary Key structure for table system_login_log
  7838. -- ----------------------------
  7839. ALTER TABLE "system_login_log"
  7840. ADD CONSTRAINT "system_login_log_pkey" PRIMARY KEY ("id");
  7841. -- ----------------------------
  7842. -- Primary Key structure for table system_menu
  7843. -- ----------------------------
  7844. ALTER TABLE "system_menu"
  7845. ADD CONSTRAINT "system_menu_pkey" PRIMARY KEY ("id");
  7846. -- ----------------------------
  7847. -- Primary Key structure for table system_notice
  7848. -- ----------------------------
  7849. ALTER TABLE "system_notice"
  7850. ADD CONSTRAINT "system_notice_pkey" PRIMARY KEY ("id");
  7851. -- ----------------------------
  7852. -- Primary Key structure for table system_oauth2_access_token
  7853. -- ----------------------------
  7854. ALTER TABLE "system_oauth2_access_token"
  7855. ADD CONSTRAINT "system_oauth2_access_token_pkey" PRIMARY KEY ("id");
  7856. -- ----------------------------
  7857. -- Primary Key structure for table system_oauth2_approve
  7858. -- ----------------------------
  7859. ALTER TABLE "system_oauth2_approve"
  7860. ADD CONSTRAINT "system_oauth2_approve_pkey" PRIMARY KEY ("id");
  7861. -- ----------------------------
  7862. -- Primary Key structure for table system_oauth2_client
  7863. -- ----------------------------
  7864. ALTER TABLE "system_oauth2_client"
  7865. ADD CONSTRAINT "system_oauth2_client_pkey" PRIMARY KEY ("id");
  7866. -- ----------------------------
  7867. -- Primary Key structure for table system_oauth2_code
  7868. -- ----------------------------
  7869. ALTER TABLE "system_oauth2_code"
  7870. ADD CONSTRAINT "system_oauth2_code_pkey" PRIMARY KEY ("id");
  7871. -- ----------------------------
  7872. -- Primary Key structure for table system_oauth2_refresh_token
  7873. -- ----------------------------
  7874. ALTER TABLE "system_oauth2_refresh_token"
  7875. ADD CONSTRAINT "system_oauth2_refresh_token_pkey" PRIMARY KEY ("id");
  7876. -- ----------------------------
  7877. -- Primary Key structure for table system_operate_log
  7878. -- ----------------------------
  7879. ALTER TABLE "system_operate_log"
  7880. ADD CONSTRAINT "system_operate_log_pkey" PRIMARY KEY ("id");
  7881. -- ----------------------------
  7882. -- Primary Key structure for table system_post
  7883. -- ----------------------------
  7884. ALTER TABLE "system_post"
  7885. ADD CONSTRAINT "system_post_pkey" PRIMARY KEY ("id");
  7886. -- ----------------------------
  7887. -- Primary Key structure for table system_role
  7888. -- ----------------------------
  7889. ALTER TABLE "system_role"
  7890. ADD CONSTRAINT "system_role_pkey" PRIMARY KEY ("id");
  7891. -- ----------------------------
  7892. -- Primary Key structure for table system_role_menu
  7893. -- ----------------------------
  7894. ALTER TABLE "system_role_menu"
  7895. ADD CONSTRAINT "system_role_menu_pkey" PRIMARY KEY ("id");
  7896. -- ----------------------------
  7897. -- Primary Key structure for table system_sensitive_word
  7898. -- ----------------------------
  7899. ALTER TABLE "system_sensitive_word"
  7900. ADD CONSTRAINT "system_sensitive_word_pkey" PRIMARY KEY ("id");
  7901. -- ----------------------------
  7902. -- Primary Key structure for table system_sms_channel
  7903. -- ----------------------------
  7904. ALTER TABLE "system_sms_channel"
  7905. ADD CONSTRAINT "system_sms_channel_pkey" PRIMARY KEY ("id");
  7906. -- ----------------------------
  7907. -- Indexes structure for table system_sms_code
  7908. -- ----------------------------
  7909. CREATE INDEX "idx_mobile" ON "system_sms_code" USING btree (
  7910. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7911. );
  7912. COMMENT
  7913. ON INDEX "idx_mobile" IS '手机号';
  7914. -- ----------------------------
  7915. -- Primary Key structure for table system_sms_code
  7916. -- ----------------------------
  7917. ALTER TABLE "system_sms_code"
  7918. ADD CONSTRAINT "system_sms_code_pkey" PRIMARY KEY ("id");
  7919. -- ----------------------------
  7920. -- Primary Key structure for table system_sms_log
  7921. -- ----------------------------
  7922. ALTER TABLE "system_sms_log"
  7923. ADD CONSTRAINT "system_sms_log_pkey" PRIMARY KEY ("id");
  7924. -- ----------------------------
  7925. -- Primary Key structure for table system_sms_template
  7926. -- ----------------------------
  7927. ALTER TABLE "system_sms_template"
  7928. ADD CONSTRAINT "system_sms_template_pkey" PRIMARY KEY ("id");
  7929. -- ----------------------------
  7930. -- Primary Key structure for table system_social_user
  7931. -- ----------------------------
  7932. ALTER TABLE "system_social_user"
  7933. ADD CONSTRAINT "system_social_user_pkey" PRIMARY KEY ("id");
  7934. -- ----------------------------
  7935. -- Primary Key structure for table system_social_user_bind
  7936. -- ----------------------------
  7937. ALTER TABLE "system_social_user_bind"
  7938. ADD CONSTRAINT "system_social_user_bind_pkey" PRIMARY KEY ("id");
  7939. -- ----------------------------
  7940. -- Primary Key structure for table system_tenant
  7941. -- ----------------------------
  7942. ALTER TABLE "system_tenant"
  7943. ADD CONSTRAINT "system_tenant_pkey" PRIMARY KEY ("id");
  7944. -- ----------------------------
  7945. -- Primary Key structure for table system_tenant_package
  7946. -- ----------------------------
  7947. ALTER TABLE "system_tenant_package"
  7948. ADD CONSTRAINT "system_tenant_package_pkey" PRIMARY KEY ("id");
  7949. -- ----------------------------
  7950. -- Primary Key structure for table system_user_post
  7951. -- ----------------------------
  7952. ALTER TABLE "system_user_post"
  7953. ADD CONSTRAINT "system_user_post_pkey" PRIMARY KEY ("id");
  7954. -- ----------------------------
  7955. -- Primary Key structure for table system_user_role
  7956. -- ----------------------------
  7957. ALTER TABLE "system_user_role"
  7958. ADD CONSTRAINT "system_user_role_pkey" PRIMARY KEY ("id");
  7959. -- ----------------------------
  7960. -- Indexes structure for table system_users
  7961. -- ----------------------------
  7962. CREATE UNIQUE INDEX "idx_username" ON "system_users" USING btree (
  7963. "username" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7964. "update_time" "pg_catalog"."timestamp_ops" ASC NULLS LAST,
  7965. "tenant_id" "pg_catalog"."int8_ops" ASC NULLS LAST
  7966. );
  7967. -- ----------------------------
  7968. -- Primary Key structure for table system_users
  7969. -- ----------------------------
  7970. ALTER TABLE "system_users"
  7971. ADD CONSTRAINT "system_user_pkey" PRIMARY KEY ("id");
  7972. -- ----------------------------
  7973. -- Foreign Keys structure for table qrtz_blob_triggers
  7974. -- ----------------------------
  7975. ALTER TABLE "qrtz_blob_triggers"
  7976. 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;
  7977. -- ----------------------------
  7978. -- Foreign Keys structure for table qrtz_cron_triggers
  7979. -- ----------------------------
  7980. ALTER TABLE "qrtz_cron_triggers"
  7981. 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;
  7982. -- ----------------------------
  7983. -- Foreign Keys structure for table qrtz_simple_triggers
  7984. -- ----------------------------
  7985. ALTER TABLE "qrtz_simple_triggers"
  7986. 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;
  7987. -- ----------------------------
  7988. -- Foreign Keys structure for table qrtz_simprop_triggers
  7989. -- ----------------------------
  7990. ALTER TABLE "qrtz_simprop_triggers"
  7991. 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;
  7992. -- ----------------------------
  7993. -- Foreign Keys structure for table qrtz_triggers
  7994. -- ----------------------------
  7995. ALTER TABLE "qrtz_triggers"
  7996. 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;