ruoyi-vue-pro.sql 463 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358
  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. "auto_increment" bool NOT NULL,
  1141. "ordinal_position" int4 NOT NULL,
  1142. "java_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1143. "java_field" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1144. "dict_type" varchar(200) COLLATE "pg_catalog"."default",
  1145. "example" varchar(255) COLLATE "pg_catalog"."default",
  1146. "create_operation" bool NOT NULL,
  1147. "update_operation" bool NOT NULL,
  1148. "list_operation" bool NOT NULL,
  1149. "list_operation_condition" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1150. "list_operation_result" bool NOT NULL,
  1151. "html_type" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1152. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1153. "create_time" timestamp(6) NOT NULL,
  1154. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1155. "update_time" timestamp(6) NOT NULL,
  1156. "deleted" int2 NOT NULL DEFAULT 0
  1157. )
  1158. ;
  1159. COMMENT
  1160. ON COLUMN "infra_codegen_column"."id" IS '编号';
  1161. COMMENT
  1162. ON COLUMN "infra_codegen_column"."table_id" IS '表编号';
  1163. COMMENT
  1164. ON COLUMN "infra_codegen_column"."column_name" IS '字段名';
  1165. COMMENT
  1166. ON COLUMN "infra_codegen_column"."data_type" IS '字段类型';
  1167. COMMENT
  1168. ON COLUMN "infra_codegen_column"."column_comment" IS '字段描述';
  1169. COMMENT
  1170. ON COLUMN "infra_codegen_column"."nullable" IS '是否允许为空';
  1171. COMMENT
  1172. ON COLUMN "infra_codegen_column"."primary_key" IS '是否主键';
  1173. COMMENT
  1174. ON COLUMN "infra_codegen_column"."auto_increment" IS '是否自增';
  1175. COMMENT
  1176. ON COLUMN "infra_codegen_column"."ordinal_position" IS '排序';
  1177. COMMENT
  1178. ON COLUMN "infra_codegen_column"."java_type" IS 'Java 属性类型';
  1179. COMMENT
  1180. ON COLUMN "infra_codegen_column"."java_field" IS 'Java 属性名';
  1181. COMMENT
  1182. ON COLUMN "infra_codegen_column"."dict_type" IS '字典类型';
  1183. COMMENT
  1184. ON COLUMN "infra_codegen_column"."example" IS '数据示例';
  1185. COMMENT
  1186. ON COLUMN "infra_codegen_column"."create_operation" IS '是否为 Create 创建操作的字段';
  1187. COMMENT
  1188. ON COLUMN "infra_codegen_column"."update_operation" IS '是否为 Update 更新操作的字段';
  1189. COMMENT
  1190. ON COLUMN "infra_codegen_column"."list_operation" IS '是否为 List 查询操作的字段';
  1191. COMMENT
  1192. ON COLUMN "infra_codegen_column"."list_operation_condition" IS 'List 查询操作的条件类型';
  1193. COMMENT
  1194. ON COLUMN "infra_codegen_column"."list_operation_result" IS '是否为 List 查询操作的返回字段';
  1195. COMMENT
  1196. ON COLUMN "infra_codegen_column"."html_type" IS '显示类型';
  1197. COMMENT
  1198. ON COLUMN "infra_codegen_column"."creator" IS '创建者';
  1199. COMMENT
  1200. ON COLUMN "infra_codegen_column"."create_time" IS '创建时间';
  1201. COMMENT
  1202. ON COLUMN "infra_codegen_column"."updater" IS '更新者';
  1203. COMMENT
  1204. ON COLUMN "infra_codegen_column"."update_time" IS '更新时间';
  1205. COMMENT
  1206. ON COLUMN "infra_codegen_column"."deleted" IS '是否删除';
  1207. COMMENT
  1208. ON TABLE "infra_codegen_column" IS '代码生成表字段定义';
  1209. -- ----------------------------
  1210. -- Records of infra_codegen_column
  1211. -- ----------------------------
  1212. BEGIN;
  1213. COMMIT;
  1214. -- ----------------------------
  1215. -- Table structure for infra_codegen_table
  1216. -- ----------------------------
  1217. DROP TABLE IF EXISTS "infra_codegen_table";
  1218. CREATE TABLE "infra_codegen_table"
  1219. (
  1220. "id" int8 NOT NULL,
  1221. "data_source_config_id" int8 NOT NULL,
  1222. "scene" int2 NOT NULL,
  1223. "table_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  1224. "table_comment" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1225. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1226. "module_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1227. "business_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  1228. "class_name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1229. "class_comment" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1230. "author" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1231. "template_type" int2 NOT NULL,
  1232. "parent_menu_id" int8,
  1233. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1234. "create_time" timestamp(6) NOT NULL,
  1235. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1236. "update_time" timestamp(6) NOT NULL,
  1237. "deleted" int2 NOT NULL DEFAULT 0
  1238. )
  1239. ;
  1240. COMMENT
  1241. ON COLUMN "infra_codegen_table"."id" IS '编号';
  1242. COMMENT
  1243. ON COLUMN "infra_codegen_table"."data_source_config_id" IS '数据源配置的编号';
  1244. COMMENT
  1245. ON COLUMN "infra_codegen_table"."scene" IS '生成场景';
  1246. COMMENT
  1247. ON COLUMN "infra_codegen_table"."table_name" IS '表名称';
  1248. COMMENT
  1249. ON COLUMN "infra_codegen_table"."table_comment" IS '表描述';
  1250. COMMENT
  1251. ON COLUMN "infra_codegen_table"."remark" IS '备注';
  1252. COMMENT
  1253. ON COLUMN "infra_codegen_table"."module_name" IS '模块名';
  1254. COMMENT
  1255. ON COLUMN "infra_codegen_table"."business_name" IS '业务名';
  1256. COMMENT
  1257. ON COLUMN "infra_codegen_table"."class_name" IS '类名称';
  1258. COMMENT
  1259. ON COLUMN "infra_codegen_table"."class_comment" IS '类描述';
  1260. COMMENT
  1261. ON COLUMN "infra_codegen_table"."author" IS '作者';
  1262. COMMENT
  1263. ON COLUMN "infra_codegen_table"."template_type" IS '模板类型';
  1264. COMMENT
  1265. ON COLUMN "infra_codegen_table"."parent_menu_id" IS '父菜单编号';
  1266. COMMENT
  1267. ON COLUMN "infra_codegen_table"."creator" IS '创建者';
  1268. COMMENT
  1269. ON COLUMN "infra_codegen_table"."create_time" IS '创建时间';
  1270. COMMENT
  1271. ON COLUMN "infra_codegen_table"."updater" IS '更新者';
  1272. COMMENT
  1273. ON COLUMN "infra_codegen_table"."update_time" IS '更新时间';
  1274. COMMENT
  1275. ON COLUMN "infra_codegen_table"."deleted" IS '是否删除';
  1276. COMMENT
  1277. ON TABLE "infra_codegen_table" IS '代码生成表定义';
  1278. ALTER TABLE infra_codegen_table
  1279. ADD front_type int4 NOT NULL;
  1280. COMMENT
  1281. ON COLUMN infra_codegen_table.front_type IS '前端类型';
  1282. -- ----------------------------
  1283. -- Records of infra_codegen_table
  1284. -- ----------------------------
  1285. BEGIN;
  1286. COMMIT;
  1287. -- ----------------------------
  1288. -- Table structure for infra_config
  1289. -- ----------------------------
  1290. DROP TABLE IF EXISTS "infra_config";
  1291. CREATE TABLE "infra_config"
  1292. (
  1293. "id" int4 NOT NULL,
  1294. "category" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  1295. "type" int2 NOT NULL,
  1296. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1297. "config_key" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1298. "value" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  1299. "visible" varchar(5) COLLATE "pg_catalog"."default" NOT NULL,
  1300. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1301. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1302. "create_time" timestamp(6) NOT NULL,
  1303. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1304. "update_time" timestamp(6) NOT NULL,
  1305. "deleted" int2 NOT NULL DEFAULT 0
  1306. )
  1307. ;
  1308. COMMENT
  1309. ON COLUMN "infra_config"."id" IS '参数主键';
  1310. COMMENT
  1311. ON COLUMN "infra_config"."category" IS '参数分组';
  1312. COMMENT
  1313. ON COLUMN "infra_config"."type" IS '参数类型';
  1314. COMMENT
  1315. ON COLUMN "infra_config"."name" IS '参数名称';
  1316. COMMENT
  1317. ON COLUMN "infra_config"."config_key" IS '参数键名';
  1318. COMMENT
  1319. ON COLUMN "infra_config"."value" IS '参数键值';
  1320. COMMENT
  1321. ON COLUMN "infra_config"."visible" IS '是否可见';
  1322. COMMENT
  1323. ON COLUMN "infra_config"."remark" IS '备注';
  1324. COMMENT
  1325. ON COLUMN "infra_config"."creator" IS '创建者';
  1326. COMMENT
  1327. ON COLUMN "infra_config"."create_time" IS '创建时间';
  1328. COMMENT
  1329. ON COLUMN "infra_config"."updater" IS '更新者';
  1330. COMMENT
  1331. ON COLUMN "infra_config"."update_time" IS '更新时间';
  1332. COMMENT
  1333. ON COLUMN "infra_config"."deleted" IS '是否删除';
  1334. COMMENT
  1335. ON TABLE "infra_config" IS '参数配置表';
  1336. -- ----------------------------
  1337. -- Records of infra_config
  1338. -- ----------------------------
  1339. BEGIN;
  1340. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1341. "create_time", "updater", "update_time", "deleted")
  1342. VALUES (1, 'ui', 1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', '0',
  1343. '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', 'admin',
  1344. '2021-01-05 17:03:48', '1', '2022-03-26 23:10:31', 0);
  1345. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1346. "create_time", "updater", "update_time", "deleted")
  1347. VALUES (2, 'biz', 1, '用户管理-账号初始密码', 'sys.user.init-password', '123456', '0', '初始化密码 123456', 'admin',
  1348. '2021-01-05 17:03:48', '1', '2022-03-20 02:25:51', 0);
  1349. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1350. "create_time", "updater", "update_time", "deleted")
  1351. VALUES (3, 'ui', 1, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', '0',
  1352. '深色主题theme-dark,浅色主题theme-light', 'admin', '2021-01-05 17:03:48', '', '2021-01-19 03:05:21', 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 (4, '1', 2, 'xxx', 'demo.test', '10', '0', '5', '', '2021-01-19 03:10:26', '', '2021-01-20 09:25:55', 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 (5, 'xxx', 2, 'xxx', 'xxx', 'xxx', '1', 'xxx', '', '2021-02-09 20:06:47', '', '2021-02-09 20:06:47', 0);
  1359. INSERT INTO "infra_config" ("id", "category", "type", "name", "config_key", "value", "visible", "remark", "creator",
  1360. "create_time", "updater", "update_time", "deleted")
  1361. VALUES (6, 'biz', 2, '登陆验证码的开关', 'feifan.captcha.enable', 'true', '1', NULL, '1', '2022-02-17 00:03:11', '1',
  1362. '2022-04-04 12:51:40', 0);
  1363. COMMIT;
  1364. -- ----------------------------
  1365. -- Table structure for infra_data_source_config
  1366. -- ----------------------------
  1367. DROP TABLE IF EXISTS "infra_data_source_config";
  1368. CREATE TABLE "infra_data_source_config"
  1369. (
  1370. "id" int8 NOT NULL,
  1371. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1372. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1373. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1374. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  1375. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1376. "create_time" timestamp(6) NOT NULL,
  1377. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1378. "update_time" timestamp(6) NOT NULL,
  1379. "deleted" int2 NOT NULL DEFAULT 0
  1380. )
  1381. ;
  1382. COMMENT
  1383. ON COLUMN "infra_data_source_config"."id" IS '主键编号';
  1384. COMMENT
  1385. ON COLUMN "infra_data_source_config"."name" IS '参数名称';
  1386. COMMENT
  1387. ON COLUMN "infra_data_source_config"."url" IS '数据源连接';
  1388. COMMENT
  1389. ON COLUMN "infra_data_source_config"."username" IS '用户名';
  1390. COMMENT
  1391. ON COLUMN "infra_data_source_config"."password" IS '密码';
  1392. COMMENT
  1393. ON COLUMN "infra_data_source_config"."creator" IS '创建者';
  1394. COMMENT
  1395. ON COLUMN "infra_data_source_config"."create_time" IS '创建时间';
  1396. COMMENT
  1397. ON COLUMN "infra_data_source_config"."updater" IS '更新者';
  1398. COMMENT
  1399. ON COLUMN "infra_data_source_config"."update_time" IS '更新时间';
  1400. COMMENT
  1401. ON COLUMN "infra_data_source_config"."deleted" IS '是否删除';
  1402. COMMENT
  1403. ON TABLE "infra_data_source_config" IS '数据源配置表';
  1404. -- ----------------------------
  1405. -- Records of infra_data_source_config
  1406. -- ----------------------------
  1407. BEGIN;
  1408. COMMIT;
  1409. -- ----------------------------
  1410. -- Table structure for infra_file
  1411. -- ----------------------------
  1412. DROP TABLE IF EXISTS "infra_file";
  1413. CREATE TABLE "infra_file"
  1414. (
  1415. "id" int8 NOT NULL DEFAULT 0,
  1416. "config_id" int8,
  1417. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1418. "url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1419. "type" varchar(127) COLLATE "pg_catalog"."default",
  1420. "size" int4 NOT NULL,
  1421. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1422. "create_time" timestamp(6) NOT NULL,
  1423. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1424. "update_time" timestamp(6) NOT NULL,
  1425. "deleted" int2 NOT NULL DEFAULT 0,
  1426. "name" varchar(255) COLLATE "pg_catalog"."default"
  1427. )
  1428. ;
  1429. COMMENT
  1430. ON COLUMN "infra_file"."id" IS '文件编号';
  1431. COMMENT
  1432. ON COLUMN "infra_file"."config_id" IS '配置编号';
  1433. COMMENT
  1434. ON COLUMN "infra_file"."path" IS '文件路径';
  1435. COMMENT
  1436. ON COLUMN "infra_file"."url" IS '文件 URL';
  1437. COMMENT
  1438. ON COLUMN "infra_file"."type" IS '文件类型';
  1439. COMMENT
  1440. ON COLUMN "infra_file"."size" IS '文件大小';
  1441. COMMENT
  1442. ON COLUMN "infra_file"."creator" IS '创建者';
  1443. COMMENT
  1444. ON COLUMN "infra_file"."create_time" IS '创建时间';
  1445. COMMENT
  1446. ON COLUMN "infra_file"."updater" IS '更新者';
  1447. COMMENT
  1448. ON COLUMN "infra_file"."update_time" IS '更新时间';
  1449. COMMENT
  1450. ON COLUMN "infra_file"."deleted" IS '是否删除';
  1451. COMMENT
  1452. ON COLUMN "infra_file"."name" IS '文件名';
  1453. COMMENT
  1454. ON TABLE "infra_file" IS '文件表';
  1455. -- ----------------------------
  1456. -- Records of infra_file
  1457. -- ----------------------------
  1458. BEGIN;
  1459. COMMIT;
  1460. -- ----------------------------
  1461. -- Table structure for infra_file_config
  1462. -- ----------------------------
  1463. DROP TABLE IF EXISTS "infra_file_config";
  1464. CREATE TABLE "infra_file_config"
  1465. (
  1466. "id" int8 NOT NULL,
  1467. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  1468. "storage" int2 NOT NULL,
  1469. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1470. "master" bool NOT NULL,
  1471. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1472. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1473. "create_time" timestamp(6) NOT NULL,
  1474. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1475. "update_time" timestamp(6) NOT NULL,
  1476. "deleted" int2 NOT NULL DEFAULT 0
  1477. )
  1478. ;
  1479. COMMENT
  1480. ON COLUMN "infra_file_config"."id" IS '编号';
  1481. COMMENT
  1482. ON COLUMN "infra_file_config"."name" IS '配置名';
  1483. COMMENT
  1484. ON COLUMN "infra_file_config"."storage" IS '存储器';
  1485. COMMENT
  1486. ON COLUMN "infra_file_config"."remark" IS '备注';
  1487. COMMENT
  1488. ON COLUMN "infra_file_config"."master" IS '是否为主配置';
  1489. COMMENT
  1490. ON COLUMN "infra_file_config"."config" IS '存储配置';
  1491. COMMENT
  1492. ON COLUMN "infra_file_config"."creator" IS '创建者';
  1493. COMMENT
  1494. ON COLUMN "infra_file_config"."create_time" IS '创建时间';
  1495. COMMENT
  1496. ON COLUMN "infra_file_config"."updater" IS '更新者';
  1497. COMMENT
  1498. ON COLUMN "infra_file_config"."update_time" IS '更新时间';
  1499. COMMENT
  1500. ON COLUMN "infra_file_config"."deleted" IS '是否删除';
  1501. COMMENT
  1502. ON TABLE "infra_file_config" IS '文件配置表';
  1503. -- ----------------------------
  1504. -- Records of infra_file_config
  1505. -- ----------------------------
  1506. BEGIN;
  1507. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1508. "updater", "update_time", "deleted")
  1509. VALUES (4, '数据库', 1, '我是数据库', 'f',
  1510. '{"@class":"cn.newfeifan.mall.framework.file.core.client.db.DBFileClientConfig","domain":"http://127.0.0.1:48080"}',
  1511. '1', '2022-03-15 23:56:24', '1', '2022-03-26 21:39:26', 0);
  1512. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1513. "updater", "update_time", "deleted")
  1514. VALUES (5, '本地磁盘', 10, '测试下本地存储', 'f',
  1515. '{"@class":"cn.newfeifan.mall.framework.file.core.client.local.LocalFileClientConfig","basePath":"/Users/yunai/file_test","domain":"http://127.0.0.1:48080"}',
  1516. '1', '2022-03-15 23:57:00', '1', '2022-03-26 21:39:26', 0);
  1517. INSERT INTO "infra_file_config" ("id", "name", "storage", "remark", "master", "config", "creator", "create_time",
  1518. "updater", "update_time", "deleted")
  1519. VALUES (11, 'S3 - 七牛云', 20, NULL, 't',
  1520. '{"@class":"cn.newfeifan.mall.framework.file.core.client.s3.S3FileClientConfig","endpoint":"s3-cn-south-1.qiniucs.com","domain":"http://test.feifan.iocoder.cn","bucket":"ruoyi-vue-pro","accessKey":"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8","accessSecret":"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP"}',
  1521. '1', '2022-03-19 18:00:03', '1', '2022-05-26 00:03:47.17', 0);
  1522. COMMIT;
  1523. -- ----------------------------
  1524. -- Table structure for infra_file_content
  1525. -- ----------------------------
  1526. DROP TABLE IF EXISTS "infra_file_content";
  1527. CREATE TABLE "infra_file_content"
  1528. (
  1529. "id" int8 NOT NULL,
  1530. "config_id" int8 NOT NULL,
  1531. "path" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  1532. "content" bytea NOT NULL,
  1533. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1534. "create_time" timestamp(6) NOT NULL,
  1535. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1536. "update_time" timestamp(6) NOT NULL,
  1537. "deleted" int2 NOT NULL DEFAULT 0
  1538. )
  1539. ;
  1540. COMMENT
  1541. ON COLUMN "infra_file_content"."id" IS '编号';
  1542. COMMENT
  1543. ON COLUMN "infra_file_content"."config_id" IS '配置编号';
  1544. COMMENT
  1545. ON COLUMN "infra_file_content"."path" IS '文件路径';
  1546. COMMENT
  1547. ON COLUMN "infra_file_content"."content" IS '文件内容';
  1548. COMMENT
  1549. ON COLUMN "infra_file_content"."creator" IS '创建者';
  1550. COMMENT
  1551. ON COLUMN "infra_file_content"."create_time" IS '创建时间';
  1552. COMMENT
  1553. ON COLUMN "infra_file_content"."updater" IS '更新者';
  1554. COMMENT
  1555. ON COLUMN "infra_file_content"."update_time" IS '更新时间';
  1556. COMMENT
  1557. ON COLUMN "infra_file_content"."deleted" IS '是否删除';
  1558. COMMENT
  1559. ON TABLE "infra_file_content" IS '文件表';
  1560. -- ----------------------------
  1561. -- Records of infra_file_content
  1562. -- ----------------------------
  1563. BEGIN;
  1564. COMMIT;
  1565. -- ----------------------------
  1566. -- Table structure for infra_job
  1567. -- ----------------------------
  1568. DROP TABLE IF EXISTS "infra_job";
  1569. CREATE TABLE "infra_job"
  1570. (
  1571. "id" int8 NOT NULL,
  1572. "name" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1573. "status" int2 NOT NULL,
  1574. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1575. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1576. "cron_expression" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1577. "retry_count" int4 NOT NULL,
  1578. "retry_interval" int4 NOT NULL,
  1579. "monitor_timeout" int4 NOT NULL,
  1580. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1581. "create_time" timestamp(6) NOT NULL,
  1582. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1583. "update_time" timestamp(6) NOT NULL,
  1584. "deleted" int2 NOT NULL DEFAULT 0
  1585. )
  1586. ;
  1587. COMMENT
  1588. ON COLUMN "infra_job"."id" IS '任务编号';
  1589. COMMENT
  1590. ON COLUMN "infra_job"."name" IS '任务名称';
  1591. COMMENT
  1592. ON COLUMN "infra_job"."status" IS '任务状态';
  1593. COMMENT
  1594. ON COLUMN "infra_job"."handler_name" IS '处理器的名字';
  1595. COMMENT
  1596. ON COLUMN "infra_job"."handler_param" IS '处理器的参数';
  1597. COMMENT
  1598. ON COLUMN "infra_job"."cron_expression" IS 'CRON 表达式';
  1599. COMMENT
  1600. ON COLUMN "infra_job"."retry_count" IS '重试次数';
  1601. COMMENT
  1602. ON COLUMN "infra_job"."retry_interval" IS '重试间隔';
  1603. COMMENT
  1604. ON COLUMN "infra_job"."monitor_timeout" IS '监控超时时间';
  1605. COMMENT
  1606. ON COLUMN "infra_job"."creator" IS '创建者';
  1607. COMMENT
  1608. ON COLUMN "infra_job"."create_time" IS '创建时间';
  1609. COMMENT
  1610. ON COLUMN "infra_job"."updater" IS '更新者';
  1611. COMMENT
  1612. ON COLUMN "infra_job"."update_time" IS '更新时间';
  1613. COMMENT
  1614. ON COLUMN "infra_job"."deleted" IS '是否删除';
  1615. COMMENT
  1616. ON TABLE "infra_job" IS '定时任务表';
  1617. -- ----------------------------
  1618. -- Records of infra_job
  1619. -- ----------------------------
  1620. BEGIN;
  1621. INSERT INTO "infra_job" ("id", "name", "status", "handler_name", "handler_param", "cron_expression", "retry_count",
  1622. "retry_interval", "monitor_timeout", "creator", "create_time", "updater", "update_time",
  1623. "deleted")
  1624. VALUES (5, '支付通知 Job', 2, 'payNotifyJob', NULL, '* * * * * ?', 0, 0, 0, '1', '2021-10-27 08:34:42', '1',
  1625. '2022-04-03 20:35:25', 0);
  1626. COMMIT;
  1627. -- ----------------------------
  1628. -- Table structure for infra_job_log
  1629. -- ----------------------------
  1630. DROP TABLE IF EXISTS "infra_job_log";
  1631. CREATE TABLE "infra_job_log"
  1632. (
  1633. "id" int8 NOT NULL,
  1634. "job_id" int8 NOT NULL,
  1635. "handler_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1636. "handler_param" varchar(255) COLLATE "pg_catalog"."default",
  1637. "execute_index" int2 NOT NULL,
  1638. "begin_time" timestamp(6) NOT NULL,
  1639. "end_time" timestamp(6),
  1640. "duration" int4,
  1641. "status" int2 NOT NULL,
  1642. "result" varchar(4000) COLLATE "pg_catalog"."default",
  1643. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1644. "create_time" timestamp(6) NOT NULL,
  1645. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1646. "update_time" timestamp(6) NOT NULL,
  1647. "deleted" int2 NOT NULL DEFAULT 0
  1648. )
  1649. ;
  1650. COMMENT
  1651. ON COLUMN "infra_job_log"."id" IS '日志编号';
  1652. COMMENT
  1653. ON COLUMN "infra_job_log"."job_id" IS '任务编号';
  1654. COMMENT
  1655. ON COLUMN "infra_job_log"."handler_name" IS '处理器的名字';
  1656. COMMENT
  1657. ON COLUMN "infra_job_log"."handler_param" IS '处理器的参数';
  1658. COMMENT
  1659. ON COLUMN "infra_job_log"."execute_index" IS '第几次执行';
  1660. COMMENT
  1661. ON COLUMN "infra_job_log"."begin_time" IS '开始执行时间';
  1662. COMMENT
  1663. ON COLUMN "infra_job_log"."end_time" IS '结束执行时间';
  1664. COMMENT
  1665. ON COLUMN "infra_job_log"."duration" IS '执行时长';
  1666. COMMENT
  1667. ON COLUMN "infra_job_log"."status" IS '任务状态';
  1668. COMMENT
  1669. ON COLUMN "infra_job_log"."result" IS '结果数据';
  1670. COMMENT
  1671. ON COLUMN "infra_job_log"."creator" IS '创建者';
  1672. COMMENT
  1673. ON COLUMN "infra_job_log"."create_time" IS '创建时间';
  1674. COMMENT
  1675. ON COLUMN "infra_job_log"."updater" IS '更新者';
  1676. COMMENT
  1677. ON COLUMN "infra_job_log"."update_time" IS '更新时间';
  1678. COMMENT
  1679. ON COLUMN "infra_job_log"."deleted" IS '是否删除';
  1680. COMMENT
  1681. ON TABLE "infra_job_log" IS '定时任务日志表';
  1682. -- ----------------------------
  1683. -- Records of infra_job_log
  1684. -- ----------------------------
  1685. BEGIN;
  1686. COMMIT;
  1687. -- ----------------------------
  1688. -- Table structure for infra_test_demo
  1689. -- ----------------------------
  1690. DROP TABLE IF EXISTS "infra_test_demo";
  1691. CREATE TABLE "infra_test_demo"
  1692. (
  1693. "id" int8 NOT NULL,
  1694. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  1695. "status" int2 NOT NULL,
  1696. "type" int2 NOT NULL,
  1697. "category" int2 NOT NULL,
  1698. "remark" varchar(500) COLLATE "pg_catalog"."default",
  1699. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1700. "create_time" timestamp(6) NOT NULL,
  1701. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1702. "update_time" timestamp(6) NOT NULL,
  1703. "deleted" int2 NOT NULL DEFAULT 0
  1704. )
  1705. ;
  1706. COMMENT
  1707. ON COLUMN "infra_test_demo"."id" IS '编号';
  1708. COMMENT
  1709. ON COLUMN "infra_test_demo"."name" IS '名字';
  1710. COMMENT
  1711. ON COLUMN "infra_test_demo"."status" IS '状态';
  1712. COMMENT
  1713. ON COLUMN "infra_test_demo"."type" IS '类型';
  1714. COMMENT
  1715. ON COLUMN "infra_test_demo"."category" IS '分类';
  1716. COMMENT
  1717. ON COLUMN "infra_test_demo"."remark" IS '备注';
  1718. COMMENT
  1719. ON COLUMN "infra_test_demo"."creator" IS '创建者';
  1720. COMMENT
  1721. ON COLUMN "infra_test_demo"."create_time" IS '创建时间';
  1722. COMMENT
  1723. ON COLUMN "infra_test_demo"."updater" IS '更新者';
  1724. COMMENT
  1725. ON COLUMN "infra_test_demo"."update_time" IS '更新时间';
  1726. COMMENT
  1727. ON COLUMN "infra_test_demo"."deleted" IS '是否删除';
  1728. COMMENT
  1729. ON TABLE "infra_test_demo" IS '字典类型表';
  1730. -- ----------------------------
  1731. -- Records of infra_test_demo
  1732. -- ----------------------------
  1733. BEGIN;
  1734. COMMIT;
  1735. -- ----------------------------
  1736. -- Table structure for member_user
  1737. -- ----------------------------
  1738. DROP TABLE IF EXISTS "member_user";
  1739. CREATE TABLE "member_user"
  1740. (
  1741. "id" int8 NOT NULL,
  1742. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1743. "avatar" varchar(255) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1744. "status" int2 NOT NULL,
  1745. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  1746. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  1747. "register_ip" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1748. "login_ip" varchar(50) COLLATE "pg_catalog"."default" DEFAULT '',
  1749. "login_date" timestamp(6),
  1750. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1751. "create_time" timestamp(6) NOT NULL,
  1752. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1753. "update_time" timestamp(6) NOT NULL,
  1754. "deleted" int2 NOT NULL DEFAULT 0,
  1755. "tenant_id" int8 NOT NULL DEFAULT 0
  1756. )
  1757. ;
  1758. COMMENT
  1759. ON COLUMN "member_user"."id" IS '编号';
  1760. COMMENT
  1761. ON COLUMN "member_user"."nickname" IS '用户昵称';
  1762. COMMENT
  1763. ON COLUMN "member_user"."avatar" IS '头像';
  1764. COMMENT
  1765. ON COLUMN "member_user"."status" IS '状态';
  1766. COMMENT
  1767. ON COLUMN "member_user"."mobile" IS '手机号';
  1768. COMMENT
  1769. ON COLUMN "member_user"."password" IS '密码';
  1770. COMMENT
  1771. ON COLUMN "member_user"."register_ip" IS '注册 IP';
  1772. COMMENT
  1773. ON COLUMN "member_user"."login_ip" IS '最后登录IP';
  1774. COMMENT
  1775. ON COLUMN "member_user"."login_date" IS '最后登录时间';
  1776. COMMENT
  1777. ON COLUMN "member_user"."creator" IS '创建者';
  1778. COMMENT
  1779. ON COLUMN "member_user"."create_time" IS '创建时间';
  1780. COMMENT
  1781. ON COLUMN "member_user"."updater" IS '更新者';
  1782. COMMENT
  1783. ON COLUMN "member_user"."update_time" IS '更新时间';
  1784. COMMENT
  1785. ON COLUMN "member_user"."deleted" IS '是否删除';
  1786. COMMENT
  1787. ON COLUMN "member_user"."tenant_id" IS '租户编号';
  1788. COMMENT
  1789. ON TABLE "member_user" IS '用户';
  1790. -- ----------------------------
  1791. -- Records of member_user
  1792. -- ----------------------------
  1793. BEGIN;
  1794. COMMIT;
  1795. -- ----------------------------
  1796. -- Table structure for pay_app
  1797. -- ----------------------------
  1798. DROP TABLE IF EXISTS "pay_app";
  1799. CREATE TABLE "pay_app"
  1800. (
  1801. "id" int8 NOT NULL,
  1802. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1803. "status" int2 NOT NULL,
  1804. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1805. "pay_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1806. "refund_notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  1807. "merchant_id" int8 NOT NULL,
  1808. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1809. "create_time" timestamp(6) NOT NULL,
  1810. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1811. "update_time" timestamp(6) NOT NULL,
  1812. "deleted" int2 NOT NULL DEFAULT 0,
  1813. "tenant_id" int8 NOT NULL DEFAULT 0
  1814. )
  1815. ;
  1816. COMMENT
  1817. ON COLUMN "pay_app"."id" IS '应用编号';
  1818. COMMENT
  1819. ON COLUMN "pay_app"."name" IS '应用名';
  1820. COMMENT
  1821. ON COLUMN "pay_app"."status" IS '开启状态';
  1822. COMMENT
  1823. ON COLUMN "pay_app"."remark" IS '备注';
  1824. COMMENT
  1825. ON COLUMN "pay_app"."pay_notify_url" IS '支付结果的回调地址';
  1826. COMMENT
  1827. ON COLUMN "pay_app"."refund_notify_url" IS '退款结果的回调地址';
  1828. COMMENT
  1829. ON COLUMN "pay_app"."merchant_id" IS '商户编号';
  1830. COMMENT
  1831. ON COLUMN "pay_app"."creator" IS '创建者';
  1832. COMMENT
  1833. ON COLUMN "pay_app"."create_time" IS '创建时间';
  1834. COMMENT
  1835. ON COLUMN "pay_app"."updater" IS '更新者';
  1836. COMMENT
  1837. ON COLUMN "pay_app"."update_time" IS '更新时间';
  1838. COMMENT
  1839. ON COLUMN "pay_app"."deleted" IS '是否删除';
  1840. COMMENT
  1841. ON COLUMN "pay_app"."tenant_id" IS '租户编号';
  1842. COMMENT
  1843. ON TABLE "pay_app" IS '支付应用信息';
  1844. -- ----------------------------
  1845. -- Records of pay_app
  1846. -- ----------------------------
  1847. BEGIN;
  1848. COMMIT;
  1849. -- ----------------------------
  1850. -- Table structure for pay_channel
  1851. -- ----------------------------
  1852. DROP TABLE IF EXISTS "pay_channel";
  1853. CREATE TABLE "pay_channel"
  1854. (
  1855. "id" int8 NOT NULL,
  1856. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1857. "status" int2 NOT NULL,
  1858. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1859. "fee_rate" float8 NOT NULL,
  1860. "merchant_id" int8 NOT NULL,
  1861. "app_id" int8 NOT NULL,
  1862. "config" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
  1863. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1864. "create_time" timestamp(6) NOT NULL,
  1865. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1866. "update_time" timestamp(6) NOT NULL,
  1867. "deleted" int2 NOT NULL DEFAULT 0,
  1868. "tenant_id" int8 NOT NULL DEFAULT 0
  1869. )
  1870. ;
  1871. COMMENT
  1872. ON COLUMN "pay_channel"."id" IS '商户编号';
  1873. COMMENT
  1874. ON COLUMN "pay_channel"."code" IS '渠道编码';
  1875. COMMENT
  1876. ON COLUMN "pay_channel"."status" IS '开启状态';
  1877. COMMENT
  1878. ON COLUMN "pay_channel"."remark" IS '备注';
  1879. COMMENT
  1880. ON COLUMN "pay_channel"."fee_rate" IS '渠道费率,单位:百分比';
  1881. COMMENT
  1882. ON COLUMN "pay_channel"."merchant_id" IS '商户编号';
  1883. COMMENT
  1884. ON COLUMN "pay_channel"."app_id" IS '应用编号';
  1885. COMMENT
  1886. ON COLUMN "pay_channel"."config" IS '支付渠道配置';
  1887. COMMENT
  1888. ON COLUMN "pay_channel"."creator" IS '创建者';
  1889. COMMENT
  1890. ON COLUMN "pay_channel"."create_time" IS '创建时间';
  1891. COMMENT
  1892. ON COLUMN "pay_channel"."updater" IS '更新者';
  1893. COMMENT
  1894. ON COLUMN "pay_channel"."update_time" IS '更新时间';
  1895. COMMENT
  1896. ON COLUMN "pay_channel"."deleted" IS '是否删除';
  1897. COMMENT
  1898. ON COLUMN "pay_channel"."tenant_id" IS '租户编号';
  1899. COMMENT
  1900. ON TABLE "pay_channel" IS '支付渠道
  1901. ';
  1902. -- ----------------------------
  1903. -- Records of pay_channel
  1904. -- ----------------------------
  1905. BEGIN;
  1906. COMMIT;
  1907. -- ----------------------------
  1908. -- Table structure for pay_merchant
  1909. -- ----------------------------
  1910. DROP TABLE IF EXISTS "pay_merchant";
  1911. CREATE TABLE "pay_merchant"
  1912. (
  1913. "id" int8 NOT NULL,
  1914. "no" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  1915. "name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1916. "short_name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  1917. "status" int2 NOT NULL,
  1918. "remark" varchar(255) COLLATE "pg_catalog"."default",
  1919. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1920. "create_time" timestamp(6) NOT NULL,
  1921. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1922. "update_time" timestamp(6) NOT NULL,
  1923. "deleted" int2 NOT NULL DEFAULT 0,
  1924. "tenant_id" int8 NOT NULL DEFAULT 0
  1925. )
  1926. ;
  1927. COMMENT
  1928. ON COLUMN "pay_merchant"."id" IS '商户编号';
  1929. COMMENT
  1930. ON COLUMN "pay_merchant"."no" IS '商户号';
  1931. COMMENT
  1932. ON COLUMN "pay_merchant"."name" IS '商户全称';
  1933. COMMENT
  1934. ON COLUMN "pay_merchant"."short_name" IS '商户简称';
  1935. COMMENT
  1936. ON COLUMN "pay_merchant"."status" IS '开启状态';
  1937. COMMENT
  1938. ON COLUMN "pay_merchant"."remark" IS '备注';
  1939. COMMENT
  1940. ON COLUMN "pay_merchant"."creator" IS '创建者';
  1941. COMMENT
  1942. ON COLUMN "pay_merchant"."create_time" IS '创建时间';
  1943. COMMENT
  1944. ON COLUMN "pay_merchant"."updater" IS '更新者';
  1945. COMMENT
  1946. ON COLUMN "pay_merchant"."update_time" IS '更新时间';
  1947. COMMENT
  1948. ON COLUMN "pay_merchant"."deleted" IS '是否删除';
  1949. COMMENT
  1950. ON COLUMN "pay_merchant"."tenant_id" IS '租户编号';
  1951. COMMENT
  1952. ON TABLE "pay_merchant" IS '支付商户信息';
  1953. -- ----------------------------
  1954. -- Records of pay_merchant
  1955. -- ----------------------------
  1956. BEGIN;
  1957. COMMIT;
  1958. -- ----------------------------
  1959. -- Table structure for pay_notify_log
  1960. -- ----------------------------
  1961. DROP TABLE IF EXISTS "pay_notify_log";
  1962. CREATE TABLE "pay_notify_log"
  1963. (
  1964. "id" int8 NOT NULL,
  1965. "task_id" int8 NOT NULL,
  1966. "notify_times" int2 NOT NULL,
  1967. "response" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  1968. "status" int2 NOT NULL,
  1969. "creator" varchar(64) COLLATE "pg_catalog"."default",
  1970. "create_time" timestamp(6) NOT NULL,
  1971. "updater" varchar(64) COLLATE "pg_catalog"."default",
  1972. "update_time" timestamp(6) NOT NULL,
  1973. "deleted" int2 NOT NULL DEFAULT 0,
  1974. "tenant_id" int8 NOT NULL DEFAULT 0
  1975. )
  1976. ;
  1977. COMMENT
  1978. ON COLUMN "pay_notify_log"."id" IS '日志编号';
  1979. COMMENT
  1980. ON COLUMN "pay_notify_log"."task_id" IS '通知任务编号';
  1981. COMMENT
  1982. ON COLUMN "pay_notify_log"."notify_times" IS '第几次被通知';
  1983. COMMENT
  1984. ON COLUMN "pay_notify_log"."response" IS '请求参数';
  1985. COMMENT
  1986. ON COLUMN "pay_notify_log"."status" IS '通知状态';
  1987. COMMENT
  1988. ON COLUMN "pay_notify_log"."creator" IS '创建者';
  1989. COMMENT
  1990. ON COLUMN "pay_notify_log"."create_time" IS '创建时间';
  1991. COMMENT
  1992. ON COLUMN "pay_notify_log"."updater" IS '更新者';
  1993. COMMENT
  1994. ON COLUMN "pay_notify_log"."update_time" IS '更新时间';
  1995. COMMENT
  1996. ON COLUMN "pay_notify_log"."deleted" IS '是否删除';
  1997. COMMENT
  1998. ON COLUMN "pay_notify_log"."tenant_id" IS '租户编号';
  1999. COMMENT
  2000. ON TABLE "pay_notify_log" IS '支付通知 App 的日志';
  2001. -- ----------------------------
  2002. -- Records of pay_notify_log
  2003. -- ----------------------------
  2004. BEGIN;
  2005. COMMIT;
  2006. -- ----------------------------
  2007. -- Table structure for pay_notify_task
  2008. -- ----------------------------
  2009. DROP TABLE IF EXISTS "pay_notify_task";
  2010. CREATE TABLE "pay_notify_task"
  2011. (
  2012. "id" int8 NOT NULL,
  2013. "merchant_id" int8 NOT NULL,
  2014. "app_id" int8 NOT NULL,
  2015. "type" int2 NOT NULL,
  2016. "data_id" int8 NOT NULL,
  2017. "status" int2 NOT NULL,
  2018. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2019. "next_notify_time" timestamp(6) NOT NULL,
  2020. "last_execute_time" timestamp(6) NOT NULL,
  2021. "notify_times" int2 NOT NULL,
  2022. "max_notify_times" int2 NOT NULL,
  2023. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2024. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2025. "create_time" timestamp(6) NOT NULL,
  2026. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2027. "update_time" timestamp(6) NOT NULL,
  2028. "deleted" int2 NOT NULL DEFAULT 0,
  2029. "tenant_id" int8 NOT NULL DEFAULT 0
  2030. )
  2031. ;
  2032. COMMENT
  2033. ON COLUMN "pay_notify_task"."id" IS '任务编号';
  2034. COMMENT
  2035. ON COLUMN "pay_notify_task"."merchant_id" IS '商户编号';
  2036. COMMENT
  2037. ON COLUMN "pay_notify_task"."app_id" IS '应用编号';
  2038. COMMENT
  2039. ON COLUMN "pay_notify_task"."type" IS '通知类型';
  2040. COMMENT
  2041. ON COLUMN "pay_notify_task"."data_id" IS '数据编号';
  2042. COMMENT
  2043. ON COLUMN "pay_notify_task"."status" IS '通知状态';
  2044. COMMENT
  2045. ON COLUMN "pay_notify_task"."merchant_order_id" IS '商户订单编号';
  2046. COMMENT
  2047. ON COLUMN "pay_notify_task"."next_notify_time" IS '下一次通知时间';
  2048. COMMENT
  2049. ON COLUMN "pay_notify_task"."last_execute_time" IS '最后一次执行时间';
  2050. COMMENT
  2051. ON COLUMN "pay_notify_task"."notify_times" IS '当前通知次数';
  2052. COMMENT
  2053. ON COLUMN "pay_notify_task"."max_notify_times" IS '最大可通知次数';
  2054. COMMENT
  2055. ON COLUMN "pay_notify_task"."notify_url" IS '异步通知地址';
  2056. COMMENT
  2057. ON COLUMN "pay_notify_task"."creator" IS '创建者';
  2058. COMMENT
  2059. ON COLUMN "pay_notify_task"."create_time" IS '创建时间';
  2060. COMMENT
  2061. ON COLUMN "pay_notify_task"."updater" IS '更新者';
  2062. COMMENT
  2063. ON COLUMN "pay_notify_task"."update_time" IS '更新时间';
  2064. COMMENT
  2065. ON COLUMN "pay_notify_task"."deleted" IS '是否删除';
  2066. COMMENT
  2067. ON COLUMN "pay_notify_task"."tenant_id" IS '租户编号';
  2068. COMMENT
  2069. ON TABLE "pay_notify_task" IS '商户支付、退款等的通知
  2070. ';
  2071. -- ----------------------------
  2072. -- Records of pay_notify_task
  2073. -- ----------------------------
  2074. BEGIN;
  2075. COMMIT;
  2076. -- ----------------------------
  2077. -- Table structure for pay_order
  2078. -- ----------------------------
  2079. DROP TABLE IF EXISTS "pay_order";
  2080. CREATE TABLE "pay_order"
  2081. (
  2082. "id" int8 NOT NULL,
  2083. "merchant_id" int8 NOT NULL,
  2084. "app_id" int8 NOT NULL,
  2085. "channel_id" int8,
  2086. "channel_code" varchar(32) COLLATE "pg_catalog"."default",
  2087. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2088. "subject" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2089. "body" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  2090. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2091. "notify_status" int2 NOT NULL,
  2092. "amount" int8 NOT NULL,
  2093. "channel_fee_rate" float8,
  2094. "channel_fee_amount" int8,
  2095. "status" int2 NOT NULL,
  2096. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2097. "expire_time" timestamp(6) NOT NULL,
  2098. "success_time" timestamp(6),
  2099. "notify_time" timestamp(6),
  2100. "success_extension_id" int8,
  2101. "refund_status" int2 NOT NULL,
  2102. "refund_times" int2 NOT NULL,
  2103. "refund_amount" int8 NOT NULL,
  2104. "channel_user_id" varchar(255) COLLATE "pg_catalog"."default",
  2105. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default",
  2106. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2107. "create_time" timestamp(6) NOT NULL,
  2108. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2109. "update_time" timestamp(6) NOT NULL,
  2110. "deleted" int2 NOT NULL DEFAULT 0,
  2111. "tenant_id" int8 NOT NULL DEFAULT 0
  2112. )
  2113. ;
  2114. COMMENT
  2115. ON COLUMN "pay_order"."id" IS '支付订单编号';
  2116. COMMENT
  2117. ON COLUMN "pay_order"."merchant_id" IS '商户编号';
  2118. COMMENT
  2119. ON COLUMN "pay_order"."app_id" IS '应用编号';
  2120. COMMENT
  2121. ON COLUMN "pay_order"."channel_id" IS '渠道编号';
  2122. COMMENT
  2123. ON COLUMN "pay_order"."channel_code" IS '渠道编码';
  2124. COMMENT
  2125. ON COLUMN "pay_order"."merchant_order_id" IS '商户订单编号';
  2126. COMMENT
  2127. ON COLUMN "pay_order"."subject" IS '商品标题';
  2128. COMMENT
  2129. ON COLUMN "pay_order"."body" IS '商品描述';
  2130. COMMENT
  2131. ON COLUMN "pay_order"."notify_url" IS '异步通知地址';
  2132. COMMENT
  2133. ON COLUMN "pay_order"."notify_status" IS '通知商户支付结果的回调状态';
  2134. COMMENT
  2135. ON COLUMN "pay_order"."amount" IS '支付金额,单位:分';
  2136. COMMENT
  2137. ON COLUMN "pay_order"."channel_fee_rate" IS '渠道手续费,单位:百分比';
  2138. COMMENT
  2139. ON COLUMN "pay_order"."channel_fee_amount" IS '渠道手续金额,单位:分';
  2140. COMMENT
  2141. ON COLUMN "pay_order"."status" IS '支付状态';
  2142. COMMENT
  2143. ON COLUMN "pay_order"."user_ip" IS '用户 IP';
  2144. COMMENT
  2145. ON COLUMN "pay_order"."expire_time" IS '订单失效时间';
  2146. COMMENT
  2147. ON COLUMN "pay_order"."success_time" IS '订单支付成功时间';
  2148. COMMENT
  2149. ON COLUMN "pay_order"."notify_time" IS '订单支付通知时间';
  2150. COMMENT
  2151. ON COLUMN "pay_order"."success_extension_id" IS '支付成功的订单拓展单编号';
  2152. COMMENT
  2153. ON COLUMN "pay_order"."refund_status" IS '退款状态';
  2154. COMMENT
  2155. ON COLUMN "pay_order"."refund_times" IS '退款次数';
  2156. COMMENT
  2157. ON COLUMN "pay_order"."refund_amount" IS '退款总金额,单位:分';
  2158. COMMENT
  2159. ON COLUMN "pay_order"."channel_user_id" IS '渠道用户编号';
  2160. COMMENT
  2161. ON COLUMN "pay_order"."channel_order_no" IS '渠道订单号';
  2162. COMMENT
  2163. ON COLUMN "pay_order"."creator" IS '创建者';
  2164. COMMENT
  2165. ON COLUMN "pay_order"."create_time" IS '创建时间';
  2166. COMMENT
  2167. ON COLUMN "pay_order"."updater" IS '更新者';
  2168. COMMENT
  2169. ON COLUMN "pay_order"."update_time" IS '更新时间';
  2170. COMMENT
  2171. ON COLUMN "pay_order"."deleted" IS '是否删除';
  2172. COMMENT
  2173. ON COLUMN "pay_order"."tenant_id" IS '租户编号';
  2174. COMMENT
  2175. ON TABLE "pay_order" IS '支付订单
  2176. ';
  2177. -- ----------------------------
  2178. -- Records of pay_order
  2179. -- ----------------------------
  2180. BEGIN;
  2181. COMMIT;
  2182. -- ----------------------------
  2183. -- Table structure for pay_order_extension
  2184. -- ----------------------------
  2185. DROP TABLE IF EXISTS "pay_order_extension";
  2186. CREATE TABLE "pay_order_extension"
  2187. (
  2188. "id" int8 NOT NULL,
  2189. "no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2190. "order_id" int8 NOT NULL,
  2191. "channel_id" int8 NOT NULL,
  2192. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2193. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  2194. "status" int2 NOT NULL,
  2195. "channel_extras" varchar(256) COLLATE "pg_catalog"."default",
  2196. "channel_notify_data" varchar(1024) COLLATE "pg_catalog"."default",
  2197. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2198. "create_time" timestamp(6) NOT NULL,
  2199. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2200. "update_time" timestamp(6) NOT NULL,
  2201. "deleted" int2 NOT NULL DEFAULT 0,
  2202. "tenant_id" int8 NOT NULL DEFAULT 0
  2203. )
  2204. ;
  2205. COMMENT
  2206. ON COLUMN "pay_order_extension"."id" IS '支付订单编号';
  2207. COMMENT
  2208. ON COLUMN "pay_order_extension"."no" IS '支付订单号';
  2209. COMMENT
  2210. ON COLUMN "pay_order_extension"."order_id" IS '支付订单编号';
  2211. COMMENT
  2212. ON COLUMN "pay_order_extension"."channel_id" IS '渠道编号';
  2213. COMMENT
  2214. ON COLUMN "pay_order_extension"."channel_code" IS '渠道编码';
  2215. COMMENT
  2216. ON COLUMN "pay_order_extension"."user_ip" IS '用户 IP';
  2217. COMMENT
  2218. ON COLUMN "pay_order_extension"."status" IS '支付状态';
  2219. COMMENT
  2220. ON COLUMN "pay_order_extension"."channel_extras" IS '支付渠道的额外参数';
  2221. COMMENT
  2222. ON COLUMN "pay_order_extension"."channel_notify_data" IS '支付渠道异步通知的内容';
  2223. COMMENT
  2224. ON COLUMN "pay_order_extension"."creator" IS '创建者';
  2225. COMMENT
  2226. ON COLUMN "pay_order_extension"."create_time" IS '创建时间';
  2227. COMMENT
  2228. ON COLUMN "pay_order_extension"."updater" IS '更新者';
  2229. COMMENT
  2230. ON COLUMN "pay_order_extension"."update_time" IS '更新时间';
  2231. COMMENT
  2232. ON COLUMN "pay_order_extension"."deleted" IS '是否删除';
  2233. COMMENT
  2234. ON COLUMN "pay_order_extension"."tenant_id" IS '租户编号';
  2235. COMMENT
  2236. ON TABLE "pay_order_extension" IS '支付订单
  2237. ';
  2238. -- ----------------------------
  2239. -- Records of pay_order_extension
  2240. -- ----------------------------
  2241. BEGIN;
  2242. COMMIT;
  2243. -- ----------------------------
  2244. -- Table structure for pay_refund
  2245. -- ----------------------------
  2246. DROP TABLE IF EXISTS "pay_refund";
  2247. CREATE TABLE "pay_refund"
  2248. (
  2249. "id" int8 NOT NULL,
  2250. "merchant_id" int8 NOT NULL,
  2251. "app_id" int8 NOT NULL,
  2252. "channel_id" int8 NOT NULL,
  2253. "channel_code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  2254. "order_id" int8 NOT NULL,
  2255. "trade_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2256. "merchant_order_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2257. "merchant_refund_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2258. "notify_url" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  2259. "notify_status" int2 NOT NULL,
  2260. "status" int2 NOT NULL,
  2261. "type" int2 NOT NULL,
  2262. "pay_amount" int8 NOT NULL,
  2263. "refund_amount" int8 NOT NULL,
  2264. "reason" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  2265. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  2266. "channel_order_no" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  2267. "channel_refund_no" varchar(64) COLLATE "pg_catalog"."default",
  2268. "channel_error_code" varchar(128) COLLATE "pg_catalog"."default",
  2269. "channel_error_msg" varchar(256) COLLATE "pg_catalog"."default",
  2270. "channel_extras" varchar(1024) COLLATE "pg_catalog"."default",
  2271. "expire_time" timestamp(6),
  2272. "success_time" timestamp(6),
  2273. "notify_time" timestamp(6),
  2274. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2275. "create_time" timestamp(6) NOT NULL,
  2276. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2277. "update_time" timestamp(6) NOT NULL,
  2278. "deleted" int2 NOT NULL DEFAULT 0,
  2279. "tenant_id" int8 NOT NULL DEFAULT 0
  2280. )
  2281. ;
  2282. COMMENT
  2283. ON COLUMN "pay_refund"."id" IS '支付退款编号';
  2284. COMMENT
  2285. ON COLUMN "pay_refund"."merchant_id" IS '商户编号';
  2286. COMMENT
  2287. ON COLUMN "pay_refund"."app_id" IS '应用编号';
  2288. COMMENT
  2289. ON COLUMN "pay_refund"."channel_id" IS '渠道编号';
  2290. COMMENT
  2291. ON COLUMN "pay_refund"."channel_code" IS '渠道编码';
  2292. COMMENT
  2293. ON COLUMN "pay_refund"."order_id" IS '支付订单编号 pay_order 表id';
  2294. COMMENT
  2295. ON COLUMN "pay_refund"."trade_no" IS '交易订单号 pay_extension 表no 字段';
  2296. COMMENT
  2297. ON COLUMN "pay_refund"."merchant_order_id" IS '商户订单编号(商户系统生成)';
  2298. COMMENT
  2299. ON COLUMN "pay_refund"."merchant_refund_no" IS '商户退款订单号(商户系统生成)';
  2300. COMMENT
  2301. ON COLUMN "pay_refund"."notify_url" IS '异步通知商户地址';
  2302. COMMENT
  2303. ON COLUMN "pay_refund"."notify_status" IS '通知商户退款结果的回调状态';
  2304. COMMENT
  2305. ON COLUMN "pay_refund"."status" IS '退款状态';
  2306. COMMENT
  2307. ON COLUMN "pay_refund"."type" IS '退款类型(部分退款,全部退款)';
  2308. COMMENT
  2309. ON COLUMN "pay_refund"."pay_amount" IS '支付金额,单位分';
  2310. COMMENT
  2311. ON COLUMN "pay_refund"."refund_amount" IS '退款金额,单位分';
  2312. COMMENT
  2313. ON COLUMN "pay_refund"."reason" IS '退款原因';
  2314. COMMENT
  2315. ON COLUMN "pay_refund"."user_ip" IS '用户 IP';
  2316. COMMENT
  2317. ON COLUMN "pay_refund"."channel_order_no" IS '渠道订单号,pay_order 中的channel_order_no 对应';
  2318. COMMENT
  2319. ON COLUMN "pay_refund"."channel_refund_no" IS '渠道退款单号,渠道返回';
  2320. COMMENT
  2321. ON COLUMN "pay_refund"."channel_error_code" IS '渠道调用报错时,错误码';
  2322. COMMENT
  2323. ON COLUMN "pay_refund"."channel_error_msg" IS '渠道调用报错时,错误信息';
  2324. COMMENT
  2325. ON COLUMN "pay_refund"."channel_extras" IS '支付渠道的额外参数';
  2326. COMMENT
  2327. ON COLUMN "pay_refund"."expire_time" IS '退款失效时间';
  2328. COMMENT
  2329. ON COLUMN "pay_refund"."success_time" IS '退款成功时间';
  2330. COMMENT
  2331. ON COLUMN "pay_refund"."notify_time" IS '退款通知时间';
  2332. COMMENT
  2333. ON COLUMN "pay_refund"."creator" IS '创建者';
  2334. COMMENT
  2335. ON COLUMN "pay_refund"."create_time" IS '创建时间';
  2336. COMMENT
  2337. ON COLUMN "pay_refund"."updater" IS '更新者';
  2338. COMMENT
  2339. ON COLUMN "pay_refund"."update_time" IS '更新时间';
  2340. COMMENT
  2341. ON COLUMN "pay_refund"."deleted" IS '是否删除';
  2342. COMMENT
  2343. ON COLUMN "pay_refund"."tenant_id" IS '租户编号';
  2344. COMMENT
  2345. ON TABLE "pay_refund" IS '退款订单';
  2346. -- ----------------------------
  2347. -- Records of pay_refund
  2348. -- ----------------------------
  2349. BEGIN;
  2350. COMMIT;
  2351. -- ----------------------------
  2352. -- Table structure for qrtz_blob_triggers
  2353. -- ----------------------------
  2354. DROP TABLE IF EXISTS "qrtz_blob_triggers";
  2355. CREATE TABLE "qrtz_blob_triggers"
  2356. (
  2357. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2358. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2359. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2360. "blob_data" bytea
  2361. )
  2362. ;
  2363. -- ----------------------------
  2364. -- Records of qrtz_blob_triggers
  2365. -- ----------------------------
  2366. BEGIN;
  2367. COMMIT;
  2368. -- ----------------------------
  2369. -- Table structure for qrtz_calendars
  2370. -- ----------------------------
  2371. DROP TABLE IF EXISTS "qrtz_calendars";
  2372. CREATE TABLE "qrtz_calendars"
  2373. (
  2374. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2375. "calendar_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2376. "calendar" bytea NOT NULL
  2377. )
  2378. ;
  2379. -- ----------------------------
  2380. -- Records of qrtz_calendars
  2381. -- ----------------------------
  2382. BEGIN;
  2383. COMMIT;
  2384. -- ----------------------------
  2385. -- Table structure for qrtz_cron_triggers
  2386. -- ----------------------------
  2387. DROP TABLE IF EXISTS "qrtz_cron_triggers";
  2388. CREATE TABLE "qrtz_cron_triggers"
  2389. (
  2390. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2391. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2392. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2393. "cron_expression" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2394. "time_zone_id" varchar(80) COLLATE "pg_catalog"."default"
  2395. )
  2396. ;
  2397. -- ----------------------------
  2398. -- Records of qrtz_cron_triggers
  2399. -- ----------------------------
  2400. BEGIN;
  2401. COMMIT;
  2402. -- ----------------------------
  2403. -- Table structure for qrtz_fired_triggers
  2404. -- ----------------------------
  2405. DROP TABLE IF EXISTS "qrtz_fired_triggers";
  2406. CREATE TABLE "qrtz_fired_triggers"
  2407. (
  2408. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2409. "entry_id" varchar(95) COLLATE "pg_catalog"."default" NOT NULL,
  2410. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2411. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2412. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2413. "fired_time" int8 NOT NULL,
  2414. "sched_time" int8 NOT NULL,
  2415. "priority" int4 NOT NULL,
  2416. "state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  2417. "job_name" varchar(200) COLLATE "pg_catalog"."default",
  2418. "job_group" varchar(200) COLLATE "pg_catalog"."default",
  2419. "is_nonconcurrent" bool,
  2420. "requests_recovery" bool
  2421. )
  2422. ;
  2423. -- ----------------------------
  2424. -- Records of qrtz_fired_triggers
  2425. -- ----------------------------
  2426. BEGIN;
  2427. COMMIT;
  2428. -- ----------------------------
  2429. -- Table structure for qrtz_job_details
  2430. -- ----------------------------
  2431. DROP TABLE IF EXISTS "qrtz_job_details";
  2432. CREATE TABLE "qrtz_job_details"
  2433. (
  2434. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2435. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2436. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2437. "description" varchar(250) COLLATE "pg_catalog"."default",
  2438. "job_class_name" varchar(250) COLLATE "pg_catalog"."default" NOT NULL,
  2439. "is_durable" bool NOT NULL,
  2440. "is_nonconcurrent" bool NOT NULL,
  2441. "is_update_data" bool NOT NULL,
  2442. "requests_recovery" bool NOT NULL,
  2443. "job_data" bytea
  2444. )
  2445. ;
  2446. -- ----------------------------
  2447. -- Records of qrtz_job_details
  2448. -- ----------------------------
  2449. BEGIN;
  2450. INSERT INTO "qrtz_job_details" ("sched_name", "job_name", "job_group", "description", "job_class_name", "is_durable",
  2451. "is_nonconcurrent", "is_update_data", "requests_recovery", "job_data")
  2452. VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', NULL,
  2453. 'cn.newfeifan.mall.framework.quartz.core.handler.JobHandlerInvoker', 'f', 't', 't', 'f',
  2454. '\\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');
  2455. COMMIT;
  2456. -- ----------------------------
  2457. -- Table structure for qrtz_locks
  2458. -- ----------------------------
  2459. DROP TABLE IF EXISTS "qrtz_locks";
  2460. CREATE TABLE "qrtz_locks"
  2461. (
  2462. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2463. "lock_name" varchar(40) COLLATE "pg_catalog"."default" NOT NULL
  2464. )
  2465. ;
  2466. -- ----------------------------
  2467. -- Records of qrtz_locks
  2468. -- ----------------------------
  2469. BEGIN;
  2470. INSERT INTO "qrtz_locks" ("sched_name", "lock_name")
  2471. VALUES ('schedulerName', 'TRIGGER_ACCESS');
  2472. INSERT INTO "qrtz_locks" ("sched_name", "lock_name")
  2473. VALUES ('schedulerName', 'STATE_ACCESS');
  2474. COMMIT;
  2475. -- ----------------------------
  2476. -- Table structure for qrtz_paused_trigger_grps
  2477. -- ----------------------------
  2478. DROP TABLE IF EXISTS "qrtz_paused_trigger_grps";
  2479. CREATE TABLE "qrtz_paused_trigger_grps"
  2480. (
  2481. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2482. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL
  2483. )
  2484. ;
  2485. -- ----------------------------
  2486. -- Records of qrtz_paused_trigger_grps
  2487. -- ----------------------------
  2488. BEGIN;
  2489. COMMIT;
  2490. -- ----------------------------
  2491. -- Table structure for qrtz_scheduler_state
  2492. -- ----------------------------
  2493. DROP TABLE IF EXISTS "qrtz_scheduler_state";
  2494. CREATE TABLE "qrtz_scheduler_state"
  2495. (
  2496. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2497. "instance_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2498. "last_checkin_time" int8 NOT NULL,
  2499. "checkin_interval" int8 NOT NULL
  2500. )
  2501. ;
  2502. -- ----------------------------
  2503. -- Records of qrtz_scheduler_state
  2504. -- ----------------------------
  2505. BEGIN;
  2506. INSERT INTO "qrtz_scheduler_state" ("sched_name", "instance_name", "last_checkin_time", "checkin_interval")
  2507. VALUES ('schedulerName', 'Yunai.local1651328569660', 1651328650075, 15000);
  2508. COMMIT;
  2509. -- ----------------------------
  2510. -- Table structure for qrtz_simple_triggers
  2511. -- ----------------------------
  2512. DROP TABLE IF EXISTS "qrtz_simple_triggers";
  2513. CREATE TABLE "qrtz_simple_triggers"
  2514. (
  2515. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2516. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2517. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2518. "repeat_count" int8 NOT NULL,
  2519. "repeat_interval" int8 NOT NULL,
  2520. "times_triggered" int8 NOT NULL
  2521. )
  2522. ;
  2523. -- ----------------------------
  2524. -- Records of qrtz_simple_triggers
  2525. -- ----------------------------
  2526. BEGIN;
  2527. COMMIT;
  2528. -- ----------------------------
  2529. -- Table structure for qrtz_simprop_triggers
  2530. -- ----------------------------
  2531. DROP TABLE IF EXISTS "qrtz_simprop_triggers";
  2532. CREATE TABLE "qrtz_simprop_triggers"
  2533. (
  2534. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2535. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2536. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2537. "str_prop_1" varchar(512) COLLATE "pg_catalog"."default",
  2538. "str_prop_2" varchar(512) COLLATE "pg_catalog"."default",
  2539. "str_prop_3" varchar(512) COLLATE "pg_catalog"."default",
  2540. "int_prop_1" int4,
  2541. "int_prop_2" int4,
  2542. "long_prop_1" int8,
  2543. "long_prop_2" int8,
  2544. "dec_prop_1" numeric(13, 4),
  2545. "dec_prop_2" numeric(13, 4),
  2546. "bool_prop_1" bool,
  2547. "bool_prop_2" bool
  2548. )
  2549. ;
  2550. -- ----------------------------
  2551. -- Records of qrtz_simprop_triggers
  2552. -- ----------------------------
  2553. BEGIN;
  2554. COMMIT;
  2555. -- ----------------------------
  2556. -- Table structure for qrtz_triggers
  2557. -- ----------------------------
  2558. DROP TABLE IF EXISTS "qrtz_triggers";
  2559. CREATE TABLE "qrtz_triggers"
  2560. (
  2561. "sched_name" varchar(120) COLLATE "pg_catalog"."default" NOT NULL,
  2562. "trigger_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2563. "trigger_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2564. "job_name" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2565. "job_group" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  2566. "description" varchar(250) COLLATE "pg_catalog"."default",
  2567. "next_fire_time" int8,
  2568. "prev_fire_time" int8,
  2569. "priority" int4,
  2570. "trigger_state" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  2571. "trigger_type" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  2572. "start_time" int8 NOT NULL,
  2573. "end_time" int8,
  2574. "calendar_name" varchar(200) COLLATE "pg_catalog"."default",
  2575. "misfire_instr" int2,
  2576. "job_data" bytea
  2577. )
  2578. ;
  2579. -- ----------------------------
  2580. -- Records of qrtz_triggers
  2581. -- ----------------------------
  2582. BEGIN;
  2583. INSERT INTO "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group", "job_name", "job_group", "description",
  2584. "next_fire_time", "prev_fire_time", "priority", "trigger_state", "trigger_type",
  2585. "start_time", "end_time", "calendar_name", "misfire_instr", "job_data")
  2586. VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', 'userSessionTimeoutJob', 'DEFAULT', NULL, 1651328700000,
  2587. 1651328640000, 5, 'WAITING', 'CRON', 1651328526000, 0, NULL, 0,
  2588. '\\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');
  2589. COMMIT;
  2590. -- ----------------------------
  2591. -- Table structure for system_dept
  2592. -- ----------------------------
  2593. DROP TABLE IF EXISTS "system_dept";
  2594. CREATE TABLE "system_dept"
  2595. (
  2596. "id" int8 NOT NULL,
  2597. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  2598. "parent_id" int8 NOT NULL,
  2599. "sort" int4 NOT NULL,
  2600. "leader_user_id" int8,
  2601. "phone" varchar(11) COLLATE "pg_catalog"."default",
  2602. "email" varchar(50) COLLATE "pg_catalog"."default",
  2603. "status" int2 NOT NULL,
  2604. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2605. "create_time" timestamp(6) NOT NULL,
  2606. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2607. "update_time" timestamp(6) NOT NULL,
  2608. "deleted" int2 NOT NULL DEFAULT 0,
  2609. "tenant_id" int8 NOT NULL DEFAULT 0
  2610. )
  2611. ;
  2612. COMMENT
  2613. ON COLUMN "system_dept"."id" IS '部门id';
  2614. COMMENT
  2615. ON COLUMN "system_dept"."name" IS '部门名称';
  2616. COMMENT
  2617. ON COLUMN "system_dept"."parent_id" IS '父部门id';
  2618. COMMENT
  2619. ON COLUMN "system_dept"."sort" IS '显示顺序';
  2620. COMMENT
  2621. ON COLUMN "system_dept"."leader_user_id" IS '负责人';
  2622. COMMENT
  2623. ON COLUMN "system_dept"."phone" IS '联系电话';
  2624. COMMENT
  2625. ON COLUMN "system_dept"."email" IS '邮箱';
  2626. COMMENT
  2627. ON COLUMN "system_dept"."status" IS '部门状态(0正常 1停用)';
  2628. COMMENT
  2629. ON COLUMN "system_dept"."creator" IS '创建者';
  2630. COMMENT
  2631. ON COLUMN "system_dept"."create_time" IS '创建时间';
  2632. COMMENT
  2633. ON COLUMN "system_dept"."updater" IS '更新者';
  2634. COMMENT
  2635. ON COLUMN "system_dept"."update_time" IS '更新时间';
  2636. COMMENT
  2637. ON COLUMN "system_dept"."deleted" IS '是否删除';
  2638. COMMENT
  2639. ON COLUMN "system_dept"."tenant_id" IS '租户编号';
  2640. COMMENT
  2641. ON TABLE "system_dept" IS '部门表';
  2642. -- ----------------------------
  2643. -- Records of system_dept
  2644. -- ----------------------------
  2645. BEGIN;
  2646. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2647. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2648. VALUES (100, '非繁源码', 0, 0, 1, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2649. '2022-01-14 01:04:05', 0, 1);
  2650. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2651. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2652. VALUES (101, '深圳总公司', 100, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1',
  2653. '2022-02-22 19:47:48', 0, 1);
  2654. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2655. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2656. VALUES (102, '长沙分公司', 100, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2657. '2021-12-15 05:01:40', 0, 1);
  2658. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2659. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2660. VALUES (103, '研发部门', 101, 1, 104, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2661. '2022-01-14 01:04:14', 0, 1);
  2662. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2663. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2664. VALUES (104, '市场部门', 101, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2665. '2021-12-15 05:01:38', 0, 1);
  2666. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2667. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2668. VALUES (105, '测试部门', 101, 3, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2669. '2021-12-15 05:01:37', 0, 1);
  2670. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2671. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2672. VALUES (106, '财务部门', 101, 4, 103, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '103',
  2673. '2022-01-15 21:32:22', 0, 1);
  2674. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2675. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2676. VALUES (107, '运维部门', 101, 5, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2677. '2021-12-15 05:01:33', 0, 1);
  2678. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2679. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2680. VALUES (108, '市场部门', 102, 1, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1',
  2681. '2022-02-16 08:35:45', 0, 1);
  2682. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2683. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2684. VALUES (109, '财务部门', 102, 2, NULL, '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '',
  2685. '2021-12-15 05:01:29', 0, 1);
  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 (110, '新部门', 0, 1, NULL, NULL, NULL, 0, '110', '2022-02-23 20:46:30', '110', '2022-02-23 20:46:30', 0, 121);
  2689. INSERT INTO "system_dept" ("id", "name", "parent_id", "sort", "leader_user_id", "phone", "email", "status", "creator",
  2690. "create_time", "updater", "update_time", "deleted", "tenant_id")
  2691. VALUES (111, '顶级部门', 0, 1, NULL, NULL, NULL, 0, '113', '2022-03-07 21:44:50', '113', '2022-03-07 21:44:50', 0, 122);
  2692. COMMIT;
  2693. -- ----------------------------
  2694. -- Table structure for system_dict_data
  2695. -- ----------------------------
  2696. DROP TABLE IF EXISTS "system_dict_data";
  2697. CREATE TABLE "system_dict_data"
  2698. (
  2699. "id" int8 NOT NULL,
  2700. "sort" int4 NOT NULL,
  2701. "label" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2702. "value" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2703. "dict_type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  2704. "status" int2 NOT NULL,
  2705. "color_type" varchar(100) COLLATE "pg_catalog"."default",
  2706. "css_class" varchar(100) COLLATE "pg_catalog"."default",
  2707. "remark" varchar(500) COLLATE "pg_catalog"."default",
  2708. "creator" varchar(64) COLLATE "pg_catalog"."default",
  2709. "create_time" timestamp(6) NOT NULL,
  2710. "updater" varchar(64) COLLATE "pg_catalog"."default",
  2711. "update_time" timestamp(6) NOT NULL,
  2712. "deleted" int2 NOT NULL DEFAULT 0
  2713. )
  2714. ;
  2715. COMMENT
  2716. ON COLUMN "system_dict_data"."id" IS '字典编码';
  2717. COMMENT
  2718. ON COLUMN "system_dict_data"."sort" IS '字典排序';
  2719. COMMENT
  2720. ON COLUMN "system_dict_data"."label" IS '字典标签';
  2721. COMMENT
  2722. ON COLUMN "system_dict_data"."value" IS '字典键值';
  2723. COMMENT
  2724. ON COLUMN "system_dict_data"."dict_type" IS '字典类型';
  2725. COMMENT
  2726. ON COLUMN "system_dict_data"."status" IS '状态(0正常 1停用)';
  2727. COMMENT
  2728. ON COLUMN "system_dict_data"."color_type" IS '颜色类型';
  2729. COMMENT
  2730. ON COLUMN "system_dict_data"."css_class" IS 'css 样式';
  2731. COMMENT
  2732. ON COLUMN "system_dict_data"."remark" IS '备注';
  2733. COMMENT
  2734. ON COLUMN "system_dict_data"."creator" IS '创建者';
  2735. COMMENT
  2736. ON COLUMN "system_dict_data"."create_time" IS '创建时间';
  2737. COMMENT
  2738. ON COLUMN "system_dict_data"."updater" IS '更新者';
  2739. COMMENT
  2740. ON COLUMN "system_dict_data"."update_time" IS '更新时间';
  2741. COMMENT
  2742. ON COLUMN "system_dict_data"."deleted" IS '是否删除';
  2743. COMMENT
  2744. ON TABLE "system_dict_data" IS '字典数据表';
  2745. -- ----------------------------
  2746. -- Records of system_dict_data
  2747. -- ----------------------------
  2748. BEGIN;
  2749. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2750. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2751. VALUES (1, 1, '男', '1', 'system_user_sex', 0, 'default', 'A', '性别男', 'admin', '2021-01-05 17:03:48', '1',
  2752. '2022-03-29 00:14:39', 0);
  2753. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2754. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2755. VALUES (2, 2, '女', '2', 'system_user_sex', 1, 'success', '', '性别女', 'admin', '2021-01-05 17:03:48', '1',
  2756. '2022-02-16 01:30:51', 0);
  2757. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2758. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2759. VALUES (8, 1, '正常', '1', 'infra_job_status', 0, 'success', '', '正常状态', 'admin', '2021-01-05 17:03:48', '1',
  2760. '2022-02-16 19:33:38', 0);
  2761. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2762. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2763. VALUES (9, 2, '暂停', '2', 'infra_job_status', 0, 'danger', '', '停用状态', 'admin', '2021-01-05 17:03:48', '1',
  2764. '2022-02-16 19:33:45', 0);
  2765. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2766. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2767. VALUES (12, 1, '系统内置', '1', 'infra_config_type', 0, 'danger', '', '参数类型 - 系统内置', 'admin',
  2768. '2021-01-05 17:03:48', '1', '2022-02-16 19:06:02', 0);
  2769. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2770. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2771. VALUES (13, 2, '自定义', '2', 'infra_config_type', 0, 'primary', '', '参数类型 - 自定义', 'admin',
  2772. '2021-01-05 17:03:48', '1', '2022-02-16 19:06:07', 0);
  2773. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2774. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2775. VALUES (14, 1, '通知', '1', 'system_notice_type', 0, 'success', '', '通知', 'admin', '2021-01-05 17:03:48', '1',
  2776. '2022-02-16 13:05:57', 0);
  2777. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2778. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2779. VALUES (15, 2, '公告', '2', 'system_notice_type', 0, 'info', '', '公告', 'admin', '2021-01-05 17:03:48', '1',
  2780. '2022-02-16 13:06:01', 0);
  2781. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2782. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2783. VALUES (16, 0, '其它', '0', 'system_operate_type', 0, 'default', '', '其它操作', 'admin', '2021-01-05 17:03:48', '1',
  2784. '2022-02-16 09:32:46', 0);
  2785. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2786. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2787. VALUES (17, 1, '查询', '1', 'system_operate_type', 0, 'info', '', '查询操作', 'admin', '2021-01-05 17:03:48', '1',
  2788. '2022-02-16 09:33:16', 0);
  2789. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2790. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2791. VALUES (18, 2, '新增', '2', 'system_operate_type', 0, 'primary', '', '新增操作', 'admin', '2021-01-05 17:03:48', '1',
  2792. '2022-02-16 09:33:13', 0);
  2793. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2794. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2795. VALUES (19, 3, '修改', '3', 'system_operate_type', 0, 'warning', '', '修改操作', 'admin', '2021-01-05 17:03:48', '1',
  2796. '2022-02-16 09:33:22', 0);
  2797. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2798. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2799. VALUES (20, 4, '删除', '4', 'system_operate_type', 0, 'danger', '', '删除操作', 'admin', '2021-01-05 17:03:48', '1',
  2800. '2022-02-16 09:33:27', 0);
  2801. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2802. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2803. VALUES (22, 5, '导出', '5', 'system_operate_type', 0, 'default', '', '导出操作', 'admin', '2021-01-05 17:03:48', '1',
  2804. '2022-02-16 09:33:32', 0);
  2805. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2806. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2807. VALUES (23, 6, '导入', '6', 'system_operate_type', 0, 'default', '', '导入操作', 'admin', '2021-01-05 17:03:48', '1',
  2808. '2022-02-16 09:33:35', 0);
  2809. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2810. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2811. VALUES (27, 1, '开启', '0', 'common_status', 0, 'primary', '', '开启状态', 'admin', '2021-01-05 17:03:48', '1',
  2812. '2022-02-16 08:00:39', 0);
  2813. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2814. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2815. VALUES (28, 2, '关闭', '1', 'common_status', 0, 'info', '', '关闭状态', 'admin', '2021-01-05 17:03:48', '1',
  2816. '2022-02-16 08:00:44', 0);
  2817. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2818. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2819. VALUES (29, 1, '目录', '1', 'system_menu_type', 0, '', '', '目录', 'admin', '2021-01-05 17:03:48', '',
  2820. '2022-02-01 16:43:45', 0);
  2821. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2822. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2823. VALUES (30, 2, '菜单', '2', 'system_menu_type', 0, '', '', '菜单', 'admin', '2021-01-05 17:03:48', '',
  2824. '2022-02-01 16:43:41', 0);
  2825. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2826. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2827. VALUES (31, 3, '按钮', '3', 'system_menu_type', 0, '', '', '按钮', 'admin', '2021-01-05 17:03:48', '',
  2828. '2022-02-01 16:43:39', 0);
  2829. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2830. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2831. VALUES (32, 1, '内置', '1', 'system_role_type', 0, 'danger', '', '内置角色', 'admin', '2021-01-05 17:03:48', '1',
  2832. '2022-02-16 13:02:08', 0);
  2833. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2834. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2835. VALUES (33, 2, '自定义', '2', 'system_role_type', 0, 'primary', '', '自定义角色', 'admin', '2021-01-05 17:03:48', '1',
  2836. '2022-02-16 13:02:12', 0);
  2837. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2838. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2839. VALUES (34, 1, '全部数据权限', '1', 'system_data_scope', 0, '', '', '全部数据权限', 'admin', '2021-01-05 17:03:48', '',
  2840. '2022-02-01 16:47:17', 0);
  2841. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2842. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2843. VALUES (35, 2, '指定部门数据权限', '2', 'system_data_scope', 0, '', '', '指定部门数据权限', 'admin',
  2844. '2021-01-05 17:03:48', '', '2022-02-01 16:47:18', 0);
  2845. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2846. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2847. VALUES (36, 3, '本部门数据权限', '3', 'system_data_scope', 0, '', '', '本部门数据权限', 'admin', '2021-01-05 17:03:48',
  2848. '', '2022-02-01 16:47:16', 0);
  2849. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2850. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2851. VALUES (37, 4, '本部门及以下数据权限', '4', 'system_data_scope', 0, '', '', '本部门及以下数据权限', 'admin',
  2852. '2021-01-05 17:03:48', '', '2022-02-01 16:47:21', 0);
  2853. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2854. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2855. VALUES (38, 5, '仅本人数据权限', '5', 'system_data_scope', 0, '', '', '仅本人数据权限', 'admin', '2021-01-05 17:03:48',
  2856. '', '2022-02-01 16:47:23', 0);
  2857. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2858. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2859. VALUES (39, 0, '成功', '0', 'system_login_result', 0, 'success', '', '登陆结果 - 成功', '', '2021-01-18 06:17:36', '1',
  2860. '2022-02-16 13:23:49', 0);
  2861. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2862. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2863. VALUES (40, 10, '账号或密码不正确', '10', 'system_login_result', 0, 'primary', '', '登陆结果 - 账号或密码不正确', '',
  2864. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:27', 0);
  2865. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2866. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2867. VALUES (41, 20, '用户被禁用', '20', 'system_login_result', 0, 'warning', '', '登陆结果 - 用户被禁用', '',
  2868. '2021-01-18 06:17:54', '1', '2022-02-16 13:23:57', 0);
  2869. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2870. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2871. VALUES (42, 30, '验证码不存在', '30', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不存在', '',
  2872. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:07', 0);
  2873. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2874. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2875. VALUES (43, 31, '验证码不正确', '31', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不正确', '',
  2876. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:11', 0);
  2877. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2878. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2879. VALUES (44, 100, '未知异常', '100', 'system_login_result', 0, 'danger', '', '登陆结果 - 未知异常', '',
  2880. '2021-01-18 06:17:54', '1', '2022-02-16 13:24:23', 0);
  2881. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2882. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2883. VALUES (45, 1, '是', 'true', 'infra_boolean_string', 0, 'danger', '', 'Boolean 是否类型 - 是', '',
  2884. '2021-01-19 03:20:55', '1', '2022-03-15 23:01:45', 0);
  2885. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2886. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2887. VALUES (46, 1, '否', 'false', 'infra_boolean_string', 0, 'info', '', 'Boolean 是否类型 - 否', '', '2021-01-19 03:20:55',
  2888. '1', '2022-03-15 23:09:45', 0);
  2889. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2890. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2891. VALUES (47, 1, '永不超时', '1', 'infra_redis_timeout_type', 0, 'primary', '', 'Redis 未设置超时的情况', '',
  2892. '2021-01-26 00:53:17', '1', '2022-02-16 19:03:35', 0);
  2893. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2894. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2895. VALUES (48, 1, '动态超时', '2', 'infra_redis_timeout_type', 0, 'info', '', '程序里动态传入超时时间,无法固定', '',
  2896. '2021-01-26 00:55:00', '1', '2022-02-16 19:03:41', 0);
  2897. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2898. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2899. VALUES (49, 3, '固定超时', '3', 'infra_redis_timeout_type', 0, 'success', '', 'Redis 设置了过期时间', '',
  2900. '2021-01-26 00:55:26', '1', '2022-02-16 19:03:45', 0);
  2901. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2902. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2903. VALUES (50, 1, '单表(增删改查)', '1', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:09:06', '',
  2904. '2022-03-10 16:33:15', 0);
  2905. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2906. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2907. VALUES (51, 2, '树表(增删改查)', '2', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:14:46', '',
  2908. '2022-03-10 16:33:19', 0);
  2909. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2910. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2911. VALUES (53, 0, '初始化中', '0', 'infra_job_status', 0, 'primary', '', NULL, '', '2021-02-07 07:46:49', '1',
  2912. '2022-02-16 19:33:29', 0);
  2913. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2914. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2915. VALUES (57, 0, '运行中', '0', 'infra_job_log_status', 0, 'primary', '', 'RUNNING', '', '2021-02-08 10:04:24', '1',
  2916. '2022-02-16 19:07:48', 0);
  2917. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2918. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2919. VALUES (58, 1, '成功', '1', 'infra_job_log_status', 0, 'success', '', NULL, '', '2021-02-08 10:06:57', '1',
  2920. '2022-02-16 19:07:52', 0);
  2921. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2922. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2923. VALUES (59, 2, '失败', '2', 'infra_job_log_status', 0, 'warning', '', '失败', '', '2021-02-08 10:07:38', '1',
  2924. '2022-02-16 19:07:56', 0);
  2925. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2926. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2927. VALUES (60, 1, '会员', '1', 'user_type', 0, 'primary', '', NULL, '', '2021-02-26 00:16:27', '1', '2022-02-16 10:22:19',
  2928. 0);
  2929. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2930. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2931. VALUES (61, 2, '管理员', '2', 'user_type', 0, 'success', '', NULL, '', '2021-02-26 00:16:34', '1',
  2932. '2022-02-16 10:22:22', 0);
  2933. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2934. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2935. VALUES (62, 0, '未处理', '0', 'infra_api_error_log_process_status', 0, 'primary', '', NULL, '', '2021-02-26 07:07:19',
  2936. '1', '2022-02-16 20:14:17', 0);
  2937. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2938. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2939. VALUES (63, 1, '已处理', '1', 'infra_api_error_log_process_status', 0, 'success', '', NULL, '', '2021-02-26 07:07:26',
  2940. '1', '2022-02-16 20:14:08', 0);
  2941. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2942. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2943. VALUES (64, 2, '已忽略', '2', 'infra_api_error_log_process_status', 0, 'danger', '', NULL, '', '2021-02-26 07:07:34',
  2944. '1', '2022-02-16 20:14:14', 0);
  2945. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2946. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2947. VALUES (66, 2, '阿里云', 'ALIYUN', 'system_sms_channel_code', 0, 'primary', '', NULL, '1', '2021-04-05 01:05:26', '1',
  2948. '2022-02-16 10:09:52', 0);
  2949. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2950. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2951. VALUES (67, 1, '验证码', '1', 'system_sms_template_type', 0, 'warning', '', NULL, '1', '2021-04-05 21:50:57', '1',
  2952. '2022-02-16 12:48:30', 0);
  2953. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2954. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2955. VALUES (68, 2, '通知', '2', 'system_sms_template_type', 0, 'primary', '', NULL, '1', '2021-04-05 21:51:08', '1',
  2956. '2022-02-16 12:48:27', 0);
  2957. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2958. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2959. VALUES (69, 0, '营销', '3', 'system_sms_template_type', 0, 'danger', '', NULL, '1', '2021-04-05 21:51:15', '1',
  2960. '2022-02-16 12:48:22', 0);
  2961. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2962. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2963. VALUES (70, 0, '初始化', '0', 'system_sms_send_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:18:33', '1',
  2964. '2022-02-16 10:26:07', 0);
  2965. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2966. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2967. VALUES (71, 1, '发送成功', '10', 'system_sms_send_status', 0, 'success', '', NULL, '1', '2021-04-11 20:18:43', '1',
  2968. '2022-02-16 10:25:56', 0);
  2969. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2970. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2971. VALUES (72, 2, '发送失败', '20', 'system_sms_send_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:18:49', '1',
  2972. '2022-02-16 10:26:03', 0);
  2973. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2974. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2975. VALUES (73, 3, '不发送', '30', 'system_sms_send_status', 0, 'info', '', NULL, '1', '2021-04-11 20:19:44', '1',
  2976. '2022-02-16 10:26:10', 0);
  2977. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2978. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2979. VALUES (74, 0, '等待结果', '0', 'system_sms_receive_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:27:43', '1',
  2980. '2022-02-16 10:28:24', 0);
  2981. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2982. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2983. VALUES (75, 1, '接收成功', '10', 'system_sms_receive_status', 0, 'success', '', NULL, '1', '2021-04-11 20:29:25', '1',
  2984. '2022-02-16 10:28:28', 0);
  2985. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2986. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2987. VALUES (76, 2, '接收失败', '20', 'system_sms_receive_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:29:31', '1',
  2988. '2022-02-16 10:28:32', 0);
  2989. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2990. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2991. VALUES (77, 0, '调试(钉钉)', 'DEBUG_DING_TALK', 'system_sms_channel_code', 0, 'info', '', NULL, '1',
  2992. '2021-04-13 00:20:37', '1', '2022-02-16 10:10:00', 0);
  2993. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2994. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2995. VALUES (78, 1, '自动生成', '1', 'system_error_code_type', 0, 'warning', '', NULL, '1', '2021-04-21 00:06:48', '1',
  2996. '2022-02-16 13:57:20', 0);
  2997. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  2998. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  2999. VALUES (79, 2, '手动编辑', '2', 'system_error_code_type', 0, 'primary', '', NULL, '1', '2021-04-21 00:07:14', '1',
  3000. '2022-02-16 13:57:24', 0);
  3001. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3002. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3003. VALUES (80, 100, '账号登录', '100', 'system_login_type', 0, 'primary', '', '账号登录', '1', '2021-10-06 00:52:02', '1',
  3004. '2022-02-16 13:11:34', 0);
  3005. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3006. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3007. VALUES (81, 101, '社交登录', '101', 'system_login_type', 0, 'info', '', '社交登录', '1', '2021-10-06 00:52:17', '1',
  3008. '2022-02-16 13:11:40', 0);
  3009. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3010. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3011. VALUES (83, 200, '主动登出', '200', 'system_login_type', 0, 'primary', '', '主动登出', '1', '2021-10-06 00:52:58', '1',
  3012. '2022-02-16 13:11:49', 0);
  3013. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3014. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3015. VALUES (85, 202, '强制登出', '202', 'system_login_type', 0, 'danger', '', '强制退出', '1', '2021-10-06 00:53:41', '1',
  3016. '2022-02-16 13:11:57', 0);
  3017. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3018. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3019. VALUES (86, 0, '病假', '1', 'bpm_oa_leave_type', 0, 'primary', '', NULL, '1', '2021-09-21 22:35:28', '1',
  3020. '2022-02-16 10:00:41', 0);
  3021. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3022. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3023. VALUES (87, 1, '事假', '2', 'bpm_oa_leave_type', 0, 'info', '', NULL, '1', '2021-09-21 22:36:11', '1',
  3024. '2022-02-16 10:00:49', 0);
  3025. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3026. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3027. VALUES (88, 2, '婚假', '3', 'bpm_oa_leave_type', 0, 'warning', '', NULL, '1', '2021-09-21 22:36:38', '1',
  3028. '2022-02-16 10:00:53', 0);
  3029. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3030. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3031. VALUES (98, 1, 'v2', 'v2', 'pay_channel_wechat_version', 0, '', '', 'v2版本', '1', '2021-11-08 17:00:58', '1',
  3032. '2021-11-08 17:00:58', 0);
  3033. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3034. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3035. VALUES (99, 2, 'v3', 'v3', 'pay_channel_wechat_version', 0, '', '', 'v3版本', '1', '2021-11-08 17:01:07', '1',
  3036. '2021-11-08 17:01:07', 0);
  3037. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3038. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3039. VALUES (108, 1, 'RSA2', 'RSA2', 'pay_channel_alipay_sign_type', 0, '', '', 'RSA2', '1', '2021-11-18 15:39:29', '1',
  3040. '2021-11-18 15:39:29', 0);
  3041. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3042. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3043. VALUES (109, 1, '公钥模式', '1', 'pay_channel_alipay_mode', 0, '', '', '公钥模式:privateKey + alipayPublicKey', '1',
  3044. '2021-11-18 15:45:23', '1', '2021-11-18 15:45:23', 0);
  3045. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3046. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3047. VALUES (110, 2, '证书模式', '2', 'pay_channel_alipay_mode', 0, '', '',
  3048. '证书模式:appCertContent + alipayPublicCertContent + rootCertContent', '1', '2021-11-18 15:45:40', '1',
  3049. '2021-11-18 15:45:40', 0);
  3050. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3051. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3052. VALUES (111, 1, '线上', 'https://openapi.alipay.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '',
  3053. '网关地址 - 线上', '1', '2021-11-18 16:59:32', '1', '2021-11-21 17:37:29', 0);
  3054. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3055. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3056. VALUES (112, 2, '沙箱', 'https://openapi.alipaydev.com/gateway.do', 'pay_channel_alipay_server_type', 0, '', '',
  3057. '网关地址 - 沙箱', '1', '2021-11-18 16:59:48', '1', '2021-11-21 17:37:39', 0);
  3058. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3059. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3060. VALUES (113, 1, '微信 JSAPI 支付', 'wx_pub', 'pay_channel_code_type', 0, '', '', '微信 JSAPI(公众号) 支付', '1',
  3061. '2021-12-03 10:40:24', '1', '2021-12-04 16:41:00', 0);
  3062. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3063. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3064. VALUES (114, 2, '微信小程序支付', 'wx_lite', 'pay_channel_code_type', 0, '', '', '微信小程序支付', '1',
  3065. '2021-12-03 10:41:06', '1', '2021-12-03 10:41:06', 0);
  3066. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3067. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3068. VALUES (115, 3, '微信 App 支付', 'wx_app', 'pay_channel_code_type', 0, '', '', '微信 App 支付', '1',
  3069. '2021-12-03 10:41:20', '1', '2021-12-03 10:41:20', 0);
  3070. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3071. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3072. VALUES (116, 4, '支付宝 PC 网站支付', 'alipay_pc', 'pay_channel_code_type', 0, '', '', '支付宝 PC 网站支付', '1',
  3073. '2021-12-03 10:42:09', '1', '2021-12-03 10:42:09', 0);
  3074. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3075. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3076. VALUES (117, 5, '支付宝 Wap 网站支付', 'alipay_wap', 'pay_channel_code_type', 0, '', '', '支付宝 Wap 网站支付', '1',
  3077. '2021-12-03 10:42:26', '1', '2021-12-03 10:42:26', 0);
  3078. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3079. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3080. VALUES (118, 6, '支付宝App 支付', 'alipay_app', 'pay_channel_code_type', 0, '', '', '支付宝App 支付', '1',
  3081. '2021-12-03 10:42:55', '1', '2021-12-03 10:42:55', 0);
  3082. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3083. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3084. VALUES (119, 7, '支付宝扫码支付', 'alipay_qr', 'pay_channel_code_type', 0, '', '', '支付宝扫码支付', '1',
  3085. '2021-12-03 10:43:10', '1', '2021-12-03 10:43:10', 0);
  3086. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3087. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3088. VALUES (120, 1, '通知成功', '10', 'pay_order_notify_status', 0, 'success', '', '通知成功', '1', '2021-12-03 11:02:41',
  3089. '1', '2022-02-16 13:59:13', 0);
  3090. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3091. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3092. VALUES (121, 2, '通知失败', '20', 'pay_order_notify_status', 0, 'danger', '', '通知失败', '1', '2021-12-03 11:02:59',
  3093. '1', '2022-02-16 13:59:17', 0);
  3094. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3095. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3096. VALUES (122, 3, '未通知', '0', 'pay_order_notify_status', 0, 'info', '', '未通知', '1', '2021-12-03 11:03:10', '1',
  3097. '2022-02-16 13:59:23', 0);
  3098. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3099. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3100. VALUES (123, 1, '支付成功', '10', 'pay_order_status', 0, 'success', '', '支付成功', '1', '2021-12-03 11:18:29', '1',
  3101. '2022-02-16 15:24:25', 0);
  3102. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3103. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3104. VALUES (124, 2, '支付关闭', '20', 'pay_order_status', 0, 'danger', '', '支付关闭', '1', '2021-12-03 11:18:42', '1',
  3105. '2022-02-16 15:24:31', 0);
  3106. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3107. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3108. VALUES (125, 3, '未支付', '0', 'pay_order_status', 0, 'info', '', '未支付', '1', '2021-12-03 11:18:18', '1',
  3109. '2022-02-16 15:24:35', 0);
  3110. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3111. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3112. VALUES (126, 1, '未退款', '0', 'pay_order_refund_status', 0, '', '', '未退款', '1', '2021-12-03 11:30:35', '1',
  3113. '2021-12-03 11:34:05', 0);
  3114. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3115. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3116. VALUES (127, 2, '部分退款', '10', 'pay_order_refund_status', 0, '', '', '部分退款', '1', '2021-12-03 11:30:44', '1',
  3117. '2021-12-03 11:34:10', 0);
  3118. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3119. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3120. VALUES (128, 3, '全部退款', '20', 'pay_order_refund_status', 0, '', '', '全部退款', '1', '2021-12-03 11:30:52', '1',
  3121. '2021-12-03 11:34:14', 0);
  3122. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3123. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3124. VALUES (1117, 1, '退款订单生成', '0', 'pay_refund_order_status', 0, 'primary', '', '退款订单生成', '1',
  3125. '2021-12-10 16:44:44', '1', '2022-02-16 14:05:24', 0);
  3126. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3127. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3128. VALUES (1118, 2, '退款成功', '1', 'pay_refund_order_status', 0, 'success', '', '退款成功', '1', '2021-12-10 16:44:59',
  3129. '1', '2022-02-16 14:05:28', 0);
  3130. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3131. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3132. VALUES (1119, 3, '退款失败', '2', 'pay_refund_order_status', 0, 'danger', '', '退款失败', '1', '2021-12-10 16:45:10',
  3133. '1', '2022-02-16 14:05:34', 0);
  3134. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3135. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3136. VALUES (1124, 8, '退款关闭', '99', 'pay_refund_order_status', 0, 'info', '', '退款关闭', '1', '2021-12-10 16:46:26',
  3137. '1', '2022-02-16 14:05:40', 0);
  3138. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3139. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3140. VALUES (1125, 0, '默认', '1', 'bpm_model_category', 0, 'primary', '', '流程分类 - 默认', '1', '2022-01-02 08:41:11',
  3141. '1', '2022-02-16 20:01:42', 0);
  3142. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3143. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3144. VALUES (1126, 0, 'OA', '2', 'bpm_model_category', 0, 'success', '', '流程分类 - OA', '1', '2022-01-02 08:41:22', '1',
  3145. '2022-02-16 20:01:50', 0);
  3146. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3147. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3148. VALUES (1127, 0, '进行中', '1', 'bpm_process_instance_status', 0, 'primary', '', '流程实例的状态 - 进行中', '1',
  3149. '2022-01-07 23:47:22', '1', '2022-02-16 20:07:49', 0);
  3150. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3151. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3152. VALUES (1128, 2, '已完成', '2', 'bpm_process_instance_status', 0, 'success', '', '流程实例的状态 - 已完成', '1',
  3153. '2022-01-07 23:47:49', '1', '2022-02-16 20:07:54', 0);
  3154. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3155. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3156. VALUES (1129, 1, '处理中', '1', 'bpm_process_instance_result', 0, 'primary', '', '流程实例的结果 - 处理中', '1',
  3157. '2022-01-07 23:48:32', '1', '2022-02-16 09:53:26', 0);
  3158. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3159. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3160. VALUES (1130, 2, '通过', '2', 'bpm_process_instance_result', 0, 'success', '', '流程实例的结果 - 通过', '1',
  3161. '2022-01-07 23:48:45', '1', '2022-02-16 09:53:31', 0);
  3162. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3163. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3164. VALUES (1131, 3, '不通过', '3', 'bpm_process_instance_result', 0, 'danger', '', '流程实例的结果 - 不通过', '1',
  3165. '2022-01-07 23:48:55', '1', '2022-02-16 09:53:38', 0);
  3166. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3167. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3168. VALUES (1132, 4, '已取消', '4', 'bpm_process_instance_result', 0, 'info', '', '流程实例的结果 - 撤销', '1',
  3169. '2022-01-07 23:49:06', '1', '2022-02-16 09:53:42', 0);
  3170. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3171. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3172. VALUES (1133, 10, '流程表单', '10', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 流程表单', '103',
  3173. '2022-01-11 23:51:30', '103', '2022-01-11 23:51:30', 0);
  3174. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3175. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3176. VALUES (1134, 20, '业务表单', '20', 'bpm_model_form_type', 0, '', '', '流程的表单类型 - 业务表单', '103',
  3177. '2022-01-11 23:51:47', '103', '2022-01-11 23:51:47', 0);
  3178. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3179. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3180. VALUES (1135, 10, '角色', '10', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 角色', '103',
  3181. '2022-01-12 23:21:22', '1', '2022-02-16 20:06:14', 0);
  3182. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3183. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3184. VALUES (1136, 20, '部门的成员', '20', 'bpm_task_assign_rule_type', 0, 'primary', '', '任务分配规则的类型 - 部门的成员',
  3185. '103', '2022-01-12 23:21:47', '1', '2022-02-16 20:05:28', 0);
  3186. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3187. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3188. VALUES (1137, 21, '部门的负责人', '21', 'bpm_task_assign_rule_type', 0, 'primary', '',
  3189. '任务分配规则的类型 - 部门的负责人', '103', '2022-01-12 23:33:36', '1', '2022-02-16 20:05:31', 0);
  3190. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3191. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3192. VALUES (1138, 30, '用户', '30', 'bpm_task_assign_rule_type', 0, 'info', '', '任务分配规则的类型 - 用户', '103',
  3193. '2022-01-12 23:34:02', '1', '2022-02-16 20:05:50', 0);
  3194. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3195. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3196. VALUES (1139, 40, '用户组', '40', 'bpm_task_assign_rule_type', 0, 'warning', '', '任务分配规则的类型 - 用户组', '103',
  3197. '2022-01-12 23:34:21', '1', '2022-02-16 20:05:57', 0);
  3198. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3199. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3200. VALUES (1140, 50, '自定义脚本', '50', 'bpm_task_assign_rule_type', 0, 'danger', '', '任务分配规则的类型 - 自定义脚本',
  3201. '103', '2022-01-12 23:34:43', '1', '2022-02-16 20:06:01', 0);
  3202. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3203. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3204. VALUES (1141, 22, '岗位', '22', 'bpm_task_assign_rule_type', 0, 'success', '', '任务分配规则的类型 - 岗位', '103',
  3205. '2022-01-14 18:41:55', '1', '2022-02-16 20:05:39', 0);
  3206. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3207. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3208. VALUES (1142, 10, '流程发起人', '10', 'bpm_task_assign_script', 0, '', '', '任务分配自定义脚本 - 流程发起人', '103',
  3209. '2022-01-15 00:10:57', '103', '2022-01-15 21:24:10', 0);
  3210. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3211. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3212. VALUES (1143, 20, '流程发起人的一级领导', '20', 'bpm_task_assign_script', 0, '', '',
  3213. '任务分配自定义脚本 - 流程发起人的一级领导', '103', '2022-01-15 21:24:31', '103', '2022-01-15 21:24:31', 0);
  3214. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3215. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3216. VALUES (1144, 21, '流程发起人的二级领导', '21', 'bpm_task_assign_script', 0, '', '',
  3217. '任务分配自定义脚本 - 流程发起人的二级领导', '103', '2022-01-15 21:24:46', '103', '2022-01-15 21:24:57', 0);
  3218. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3219. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3220. VALUES (1145, 1, '管理后台', '1', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 管理后台', '1',
  3221. '2022-02-02 13:15:06', '1', '2022-03-10 16:32:59', 0);
  3222. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3223. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3224. VALUES (1146, 2, '用户 APP', '2', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 用户 APP', '1',
  3225. '2022-02-02 13:15:19', '1', '2022-03-10 16:33:03', 0);
  3226. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3227. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3228. VALUES (1147, 0, '未退款', '0', 'pay_refund_order_type', 0, 'info', '', '退款类型 - 未退款', '1', '2022-02-16 14:09:01',
  3229. '1', '2022-02-16 14:09:01', 0);
  3230. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3231. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3232. VALUES (1148, 10, '部分退款', '10', 'pay_refund_order_type', 0, 'success', '', '退款类型 - 部分退款', '1',
  3233. '2022-02-16 14:09:25', '1', '2022-02-16 14:11:38', 0);
  3234. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3235. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3236. VALUES (1149, 20, '全部退款', '20', 'pay_refund_order_type', 0, 'warning', '', '退款类型 - 全部退款', '1',
  3237. '2022-02-16 14:11:33', '1', '2022-02-16 14:11:33', 0);
  3238. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3239. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3240. VALUES (1150, 1, '数据库', '1', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:28', '1',
  3241. '2022-03-15 00:25:28', 0);
  3242. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3243. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3244. VALUES (1151, 10, '本地磁盘', '10', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:41', '1',
  3245. '2022-03-15 00:25:56', 0);
  3246. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3247. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3248. VALUES (1152, 11, 'FTP 服务器', '11', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:06', '1',
  3249. '2022-03-15 00:26:10', 0);
  3250. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3251. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3252. VALUES (1153, 12, 'SFTP 服务器', '12', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:22', '1',
  3253. '2022-03-15 00:26:22', 0);
  3254. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3255. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3256. VALUES (1154, 20, 'S3 对象存储', '20', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:31', '1',
  3257. '2022-03-15 00:26:45', 0);
  3258. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3259. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3260. VALUES (1155, 103, '短信登录', '103', 'system_login_type', 0, 'default', '', NULL, '1', '2022-05-09 23:57:58', '1',
  3261. '2022-05-09 23:58:09', 0);
  3262. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3263. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3264. VALUES (1156, 1, 'password', 'password', 'system_oauth2_grant_type', 0, 'default', '', '密码模式', '1',
  3265. '2022-05-12 00:22:05', '1', '2022-05-11 16:26:01', 0);
  3266. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3267. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3268. VALUES (1157, 2, 'authorization_code', 'authorization_code', 'system_oauth2_grant_type', 0, 'primary', '', '授权码模式',
  3269. '1', '2022-05-12 00:22:59', '1', '2022-05-11 16:26:02', 0);
  3270. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3271. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3272. VALUES (1158, 3, 'implicit', 'implicit', 'system_oauth2_grant_type', 0, 'success', '', '简化模式', '1',
  3273. '2022-05-12 00:23:40', '1', '2022-05-11 16:26:05', 0);
  3274. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3275. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3276. VALUES (1159, 4, 'client_credentials', 'client_credentials', 'system_oauth2_grant_type', 0, 'default', '', '客户端模式',
  3277. '1', '2022-05-12 00:23:51', '1', '2022-05-11 16:26:08', 0);
  3278. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3279. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3280. VALUES (1160, 5, 'refresh_token', 'refresh_token', 'system_oauth2_grant_type', 0, 'info', '', '刷新模式', '1',
  3281. '2022-05-12 00:24:02', '1', '2022-05-11 16:26:11', 0);
  3282. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3283. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3284. VALUES (1161, 4, 'Vue 3 Vben', '30', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-06-14 15:24:37.447', '1',
  3285. '2023-06-14 15:24:37.447', 0);
  3286. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3287. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3288. VALUES (1162, 3, 'Vue 3 Schema', '21', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus Schema', '1',
  3289. '2023-06-14 15:24:18.714', '1', '2023-06-14 15:36:40.317', 0);
  3290. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3291. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3292. VALUES (1163, 2, 'Vue 3', '20', 'infra_codegen_front_type', 0, '', '', 'Vue 3 Element Plus', '1',
  3293. '2023-06-14 15:24:05.654', '1', '2023-06-14 15:24:05.654', 0);
  3294. INSERT INTO "system_dict_data" ("id", "sort", "label", "value", "dict_type", "status", "color_type", "css_class",
  3295. "remark", "creator", "create_time", "updater", "update_time", "deleted")
  3296. VALUES (1164, 1, 'Vue 2', '10', 'infra_codegen_front_type', 0, '', '', 'Vue 2', '1', '2023-06-14 15:23:12.211', '1',
  3297. '2023-06-14 15:23:57.816', 0);
  3298. COMMIT;
  3299. -- ----------------------------
  3300. -- Table structure for system_dict_type
  3301. -- ----------------------------
  3302. DROP TABLE IF EXISTS "system_dict_type";
  3303. CREATE TABLE "system_dict_type"
  3304. (
  3305. "id" int8 NOT NULL,
  3306. "name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3307. "type" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3308. "status" int2 NOT NULL,
  3309. "remark" varchar(500) COLLATE "pg_catalog"."default",
  3310. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3311. "create_time" timestamp(6) NOT NULL,
  3312. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3313. "update_time" timestamp(6) NOT NULL,
  3314. "deleted_time" timestamp(6),
  3315. "deleted" int2 NOT NULL DEFAULT 0
  3316. )
  3317. ;
  3318. COMMENT
  3319. ON COLUMN "system_dict_type"."id" IS '字典主键';
  3320. COMMENT
  3321. ON COLUMN "system_dict_type"."name" IS '字典名称';
  3322. COMMENT
  3323. ON COLUMN "system_dict_type"."type" IS '字典类型';
  3324. COMMENT
  3325. ON COLUMN "system_dict_type"."status" IS '状态(0正常 1停用)';
  3326. COMMENT
  3327. ON COLUMN "system_dict_type"."remark" IS '备注';
  3328. COMMENT
  3329. ON COLUMN "system_dict_type"."creator" IS '创建者';
  3330. COMMENT
  3331. ON COLUMN "system_dict_type"."create_time" IS '创建时间';
  3332. COMMENT
  3333. ON COLUMN "system_dict_type"."updater" IS '更新者';
  3334. COMMENT
  3335. ON COLUMN "system_dict_type"."update_time" IS '更新时间';
  3336. COMMENT
  3337. ON COLUMN "system_dict_type"."deleted_time" IS '删除时间';
  3338. COMMENT
  3339. ON COLUMN "system_dict_type"."deleted" IS '是否删除';
  3340. COMMENT
  3341. ON TABLE "system_dict_type" IS '字典类型表';
  3342. -- ----------------------------
  3343. -- Records of system_dict_type
  3344. -- ----------------------------
  3345. BEGIN;
  3346. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3347. "update_time", "deleted")
  3348. VALUES (1, '用户性别', 'system_user_sex', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:30:31', 0);
  3349. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3350. "update_time", "deleted")
  3351. VALUES (6, '参数类型', 'infra_config_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:36:54', 0);
  3352. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3353. "update_time", "deleted")
  3354. VALUES (7, '通知类型', 'system_notice_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:35:26', 0);
  3355. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3356. "update_time", "deleted")
  3357. VALUES (9, '操作类型', 'system_operate_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '1', '2022-02-16 09:32:21', 0);
  3358. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3359. "update_time", "deleted")
  3360. VALUES (10, '系统状态', 'common_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2022-02-01 16:21:28', 0);
  3361. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3362. "update_time", "deleted")
  3363. VALUES (11, 'Boolean 是否类型', 'infra_boolean_string', 0, 'boolean 转是否', '', '2021-01-19 03:20:08', '',
  3364. '2022-02-01 16:37:10', 0);
  3365. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3366. "update_time", "deleted")
  3367. VALUES (104, '登陆结果', 'system_login_result', 0, '登陆结果', '', '2021-01-18 06:17:11', '', '2022-02-01 16:36:00', 0);
  3368. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3369. "update_time", "deleted")
  3370. VALUES (105, 'Redis 超时类型', 'infra_redis_timeout_type', 0, 'RedisKeyDefine.TimeoutTypeEnum', '',
  3371. '2021-01-26 00:52:50', '', '2022-02-01 16:50:29', 0);
  3372. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3373. "update_time", "deleted")
  3374. VALUES (106, '代码生成模板类型', 'infra_codegen_template_type', 0, NULL, '', '2021-02-05 07:08:06', '',
  3375. '2022-03-10 16:33:42', 0);
  3376. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3377. "update_time", "deleted")
  3378. VALUES (107, '定时任务状态', 'infra_job_status', 0, NULL, '', '2021-02-07 07:44:16', '', '2022-02-01 16:51:11', 0);
  3379. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3380. "update_time", "deleted")
  3381. VALUES (108, '定时任务日志状态', 'infra_job_log_status', 0, NULL, '', '2021-02-08 10:03:51', '', '2022-02-01 16:50:43',
  3382. 0);
  3383. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3384. "update_time", "deleted")
  3385. VALUES (109, '用户类型', 'user_type', 0, NULL, '', '2021-02-26 00:15:51', '', '2021-02-26 00:15:51', 0);
  3386. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3387. "update_time", "deleted")
  3388. VALUES (110, 'API 异常数据的处理状态', 'infra_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:01', '',
  3389. '2022-02-01 16:50:53', 0);
  3390. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3391. "update_time", "deleted")
  3392. VALUES (111, '短信渠道编码', 'system_sms_channel_code', 0, NULL, '1', '2021-04-05 01:04:50', '1', '2022-02-16 02:09:08',
  3393. 0);
  3394. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3395. "update_time", "deleted")
  3396. VALUES (112, '短信模板的类型', 'system_sms_template_type', 0, NULL, '1', '2021-04-05 21:50:43', '1',
  3397. '2022-02-01 16:35:06', 0);
  3398. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3399. "update_time", "deleted")
  3400. VALUES (113, '短信发送状态', 'system_sms_send_status', 0, NULL, '1', '2021-04-11 20:18:03', '1', '2022-02-01 16:35:09',
  3401. 0);
  3402. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3403. "update_time", "deleted")
  3404. VALUES (114, '短信接收状态', 'system_sms_receive_status', 0, NULL, '1', '2021-04-11 20:27:14', '1',
  3405. '2022-02-01 16:35:14', 0);
  3406. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3407. "update_time", "deleted")
  3408. VALUES (115, '错误码的类型', 'system_error_code_type', 0, NULL, '1', '2021-04-21 00:06:30', '1', '2022-02-01 16:36:49',
  3409. 0);
  3410. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3411. "update_time", "deleted")
  3412. VALUES (116, '登陆日志的类型', 'system_login_type', 0, '登陆日志的类型', '1', '2021-10-06 00:50:46', '1',
  3413. '2022-02-01 16:35:56', 0);
  3414. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3415. "update_time", "deleted")
  3416. VALUES (117, 'OA 请假类型', 'bpm_oa_leave_type', 0, NULL, '1', '2021-09-21 22:34:33', '1', '2022-01-22 10:41:37', 0);
  3417. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3418. "update_time", "deleted")
  3419. VALUES (122, '支付渠道微信版本', 'pay_channel_wechat_version', 0, '支付渠道微信版本', '1', '2021-11-08 17:00:26', '1',
  3420. '2021-11-08 17:00:26', 0);
  3421. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3422. "update_time", "deleted")
  3423. VALUES (127, '支付渠道支付宝算法类型', 'pay_channel_alipay_sign_type', 0, '支付渠道支付宝算法类型', '1',
  3424. '2021-11-18 15:39:09', '1', '2021-11-18 15:39:09', 0);
  3425. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3426. "update_time", "deleted")
  3427. VALUES (128, '支付渠道支付宝公钥类型', 'pay_channel_alipay_mode', 0, '支付渠道支付宝公钥类型', '1',
  3428. '2021-11-18 15:44:28', '1', '2021-11-18 15:44:28', 0);
  3429. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3430. "update_time", "deleted")
  3431. VALUES (129, '支付宝网关地址', 'pay_channel_alipay_server_type', 0, '支付宝网关地址', '1', '2021-11-18 16:58:55', '1',
  3432. '2021-11-18 17:01:34', 0);
  3433. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3434. "update_time", "deleted")
  3435. VALUES (130, '支付渠道编码类型', 'pay_channel_code_type', 0, '支付渠道的编码', '1', '2021-12-03 10:35:08', '1',
  3436. '2021-12-03 10:35:08', 0);
  3437. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3438. "update_time", "deleted")
  3439. VALUES (131, '支付订单回调状态', 'pay_order_notify_status', 0, '支付订单回调状态', '1', '2021-12-03 10:53:29', '1',
  3440. '2021-12-03 10:53:29', 0);
  3441. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3442. "update_time", "deleted")
  3443. VALUES (132, '支付订单状态', 'pay_order_status', 0, '支付订单状态', '1', '2021-12-03 11:17:50', '1',
  3444. '2021-12-03 11:17:50', 0);
  3445. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3446. "update_time", "deleted")
  3447. VALUES (133, '支付订单退款状态', 'pay_order_refund_status', 0, '支付订单退款状态', '1', '2021-12-03 11:27:31', '1',
  3448. '2021-12-03 11:27:31', 0);
  3449. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3450. "update_time", "deleted")
  3451. VALUES (134, '退款订单状态', 'pay_refund_order_status', 0, '退款订单状态', '1', '2021-12-10 16:42:50', '1',
  3452. '2021-12-10 16:42:50', 0);
  3453. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3454. "update_time", "deleted")
  3455. VALUES (135, '退款订单类别', 'pay_refund_order_type', 0, '退款订单类别', '1', '2021-12-10 17:14:53', '1',
  3456. '2021-12-10 17:14:53', 0);
  3457. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3458. "update_time", "deleted")
  3459. VALUES (138, '流程分类', 'bpm_model_category', 0, '流程分类', '1', '2022-01-02 08:40:45', '1', '2022-01-02 08:40:45',
  3460. 0);
  3461. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3462. "update_time", "deleted")
  3463. VALUES (139, '流程实例的状态', 'bpm_process_instance_status', 0, '流程实例的状态', '1', '2022-01-07 23:46:42', '1',
  3464. '2022-01-07 23:46:42', 0);
  3465. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3466. "update_time", "deleted")
  3467. VALUES (140, '流程实例的结果', 'bpm_process_instance_result', 0, '流程实例的结果', '1', '2022-01-07 23:48:10', '1',
  3468. '2022-01-07 23:48:10', 0);
  3469. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3470. "update_time", "deleted")
  3471. VALUES (141, '流程的表单类型', 'bpm_model_form_type', 0, '流程的表单类型', '103', '2022-01-11 23:50:45', '103',
  3472. '2022-01-11 23:50:45', 0);
  3473. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3474. "update_time", "deleted")
  3475. VALUES (142, '任务分配规则的类型', 'bpm_task_assign_rule_type', 0, '任务分配规则的类型', '103', '2022-01-12 23:21:04',
  3476. '103', '2022-01-12 15:46:10', 0);
  3477. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3478. "update_time", "deleted")
  3479. VALUES (143, '任务分配自定义脚本', 'bpm_task_assign_script', 0, '任务分配自定义脚本', '103', '2022-01-15 00:10:35',
  3480. '103', '2022-01-15 00:10:35', 0);
  3481. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3482. "update_time", "deleted")
  3483. VALUES (144, '代码生成的场景枚举', 'infra_codegen_scene', 0, '代码生成的场景枚举', '1', '2022-02-02 13:14:45', '1',
  3484. '2022-03-10 16:33:46', 0);
  3485. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3486. "update_time", "deleted")
  3487. VALUES (145, '角色类型', 'system_role_type', 0, '角色类型', '1', '2022-02-16 13:01:46', '1', '2022-02-16 13:01:46', 0);
  3488. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3489. "update_time", "deleted")
  3490. VALUES (146, '文件存储器', 'infra_file_storage', 0, '文件存储器', '1', '2022-03-15 00:24:38', '1',
  3491. '2022-03-15 00:24:38', 0);
  3492. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3493. "update_time", "deleted")
  3494. VALUES (147, 'OAuth 2.0 授权类型', 'system_oauth2_grant_type', 0, 'OAuth 2.0 授权类型(模式)', '1',
  3495. '2022-05-12 00:20:52', '1', '2022-05-11 16:25:49', 0);
  3496. INSERT INTO "system_dict_type" ("id", "name", "type", "status", "remark", "creator", "create_time", "updater",
  3497. "update_time", "deleted")
  3498. VALUES (148, '生成前端代码类型', 'infra_codegen_front_type', 0, '生成前端代码类型', '1', '2023-6-14 16:07:35', '1',
  3499. '2023-6-14 16:07:39', 0);
  3500. COMMIT;
  3501. -- ----------------------------
  3502. -- Table structure for system_error_code
  3503. -- ----------------------------
  3504. DROP TABLE IF EXISTS "system_error_code";
  3505. CREATE TABLE "system_error_code"
  3506. (
  3507. "id" int8 NOT NULL,
  3508. "type" int2 NOT NULL,
  3509. "application_name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3510. "code" int4 NOT NULL,
  3511. "message" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  3512. "memo" varchar(512) COLLATE "pg_catalog"."default",
  3513. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3514. "create_time" timestamp(6) NOT NULL,
  3515. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3516. "update_time" timestamp(6) NOT NULL,
  3517. "deleted" int2 NOT NULL DEFAULT 0
  3518. )
  3519. ;
  3520. COMMENT
  3521. ON COLUMN "system_error_code"."id" IS '错误码编号';
  3522. COMMENT
  3523. ON COLUMN "system_error_code"."type" IS '错误码类型';
  3524. COMMENT
  3525. ON COLUMN "system_error_code"."application_name" IS '应用名';
  3526. COMMENT
  3527. ON COLUMN "system_error_code"."code" IS '错误码编码';
  3528. COMMENT
  3529. ON COLUMN "system_error_code"."message" IS '错误码错误提示';
  3530. COMMENT
  3531. ON COLUMN "system_error_code"."memo" IS '备注';
  3532. COMMENT
  3533. ON COLUMN "system_error_code"."creator" IS '创建者';
  3534. COMMENT
  3535. ON COLUMN "system_error_code"."create_time" IS '创建时间';
  3536. COMMENT
  3537. ON COLUMN "system_error_code"."updater" IS '更新者';
  3538. COMMENT
  3539. ON COLUMN "system_error_code"."update_time" IS '更新时间';
  3540. COMMENT
  3541. ON COLUMN "system_error_code"."deleted" IS '是否删除';
  3542. COMMENT
  3543. ON TABLE "system_error_code" IS '错误码表';
  3544. -- ----------------------------
  3545. -- Records of system_error_code
  3546. -- ----------------------------
  3547. BEGIN;
  3548. COMMIT;
  3549. -- ----------------------------
  3550. -- Table structure for system_login_log
  3551. -- ----------------------------
  3552. DROP TABLE IF EXISTS "system_login_log";
  3553. CREATE TABLE "system_login_log"
  3554. (
  3555. "id" int8 NOT NULL,
  3556. "log_type" int8 NOT NULL,
  3557. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  3558. "user_id" int8 NOT NULL DEFAULT 0,
  3559. "user_type" int2 NOT NULL,
  3560. "username" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3561. "result" int2 NOT NULL,
  3562. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3563. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  3564. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3565. "create_time" timestamp(6) NOT NULL,
  3566. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3567. "update_time" timestamp(6) NOT NULL,
  3568. "deleted" int2 NOT NULL DEFAULT 0,
  3569. "tenant_id" int8 NOT NULL DEFAULT 0
  3570. )
  3571. ;
  3572. COMMENT
  3573. ON COLUMN "system_login_log"."id" IS '访问ID';
  3574. COMMENT
  3575. ON COLUMN "system_login_log"."log_type" IS '日志类型';
  3576. COMMENT
  3577. ON COLUMN "system_login_log"."trace_id" IS '链路追踪编号';
  3578. COMMENT
  3579. ON COLUMN "system_login_log"."user_id" IS '用户编号';
  3580. COMMENT
  3581. ON COLUMN "system_login_log"."user_type" IS '用户类型';
  3582. COMMENT
  3583. ON COLUMN "system_login_log"."username" IS '用户账号';
  3584. COMMENT
  3585. ON COLUMN "system_login_log"."result" IS '登陆结果';
  3586. COMMENT
  3587. ON COLUMN "system_login_log"."user_ip" IS '用户 IP';
  3588. COMMENT
  3589. ON COLUMN "system_login_log"."user_agent" IS '浏览器 UA';
  3590. COMMENT
  3591. ON COLUMN "system_login_log"."creator" IS '创建者';
  3592. COMMENT
  3593. ON COLUMN "system_login_log"."create_time" IS '创建时间';
  3594. COMMENT
  3595. ON COLUMN "system_login_log"."updater" IS '更新者';
  3596. COMMENT
  3597. ON COLUMN "system_login_log"."update_time" IS '更新时间';
  3598. COMMENT
  3599. ON COLUMN "system_login_log"."deleted" IS '是否删除';
  3600. COMMENT
  3601. ON COLUMN "system_login_log"."tenant_id" IS '租户编号';
  3602. COMMENT
  3603. ON TABLE "system_login_log" IS '系统访问记录';
  3604. -- ----------------------------
  3605. -- Records of system_login_log
  3606. -- ----------------------------
  3607. BEGIN;
  3608. COMMIT;
  3609. -- ----------------------------
  3610. -- Table structure for system_menu
  3611. -- ----------------------------
  3612. DROP TABLE IF EXISTS "system_menu";
  3613. CREATE TABLE "system_menu"
  3614. (
  3615. "id" int8 NOT NULL DEFAULT nextval('system_menu_seq'::regclass),
  3616. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  3617. "permission" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  3618. "type" int2 NOT NULL,
  3619. "sort" int4 NOT NULL,
  3620. "parent_id" int8 NOT NULL,
  3621. "path" varchar(200) COLLATE "pg_catalog"."default",
  3622. "icon" varchar(100) COLLATE "pg_catalog"."default",
  3623. "component" varchar(255) COLLATE "pg_catalog"."default",
  3624. "status" int2 NOT NULL,
  3625. "visible" bool NOT NULL DEFAULT true,
  3626. "keep_alive" bool NOT NULL DEFAULT false,
  3627. "creator" varchar(64) COLLATE "pg_catalog"."default",
  3628. "create_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  3629. "updater" varchar(64) COLLATE "pg_catalog"."default",
  3630. "update_time" timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  3631. "deleted" int2 NOT NULL DEFAULT 0,
  3632. "component_name" varchar(255) COLLATE "pg_catalog"."default",
  3633. "always_show" bool NOT NULL DEFAULT false
  3634. )
  3635. ;
  3636. COMMENT
  3637. ON COLUMN "system_menu"."id" IS '菜单ID';
  3638. COMMENT
  3639. ON COLUMN "system_menu"."name" IS '菜单名称';
  3640. COMMENT
  3641. ON COLUMN "system_menu"."permission" IS '权限标识';
  3642. COMMENT
  3643. ON COLUMN "system_menu"."type" IS '菜单类型';
  3644. COMMENT
  3645. ON COLUMN "system_menu"."sort" IS '显示顺序';
  3646. COMMENT
  3647. ON COLUMN "system_menu"."parent_id" IS '父菜单ID';
  3648. COMMENT
  3649. ON COLUMN "system_menu"."path" IS '路由地址';
  3650. COMMENT
  3651. ON COLUMN "system_menu"."icon" IS '菜单图标';
  3652. COMMENT
  3653. ON COLUMN "system_menu"."component" IS '组件路径';
  3654. COMMENT
  3655. ON COLUMN "system_menu"."status" IS '菜单状态';
  3656. COMMENT
  3657. ON COLUMN "system_menu"."visible" IS '是否可见';
  3658. COMMENT
  3659. ON COLUMN "system_menu"."keep_alive" IS '是否缓存';
  3660. COMMENT
  3661. ON COLUMN "system_menu"."creator" IS '创建者';
  3662. COMMENT
  3663. ON COLUMN "system_menu"."create_time" IS '创建时间';
  3664. COMMENT
  3665. ON COLUMN "system_menu"."updater" IS '更新者';
  3666. COMMENT
  3667. ON COLUMN "system_menu"."update_time" IS '更新时间';
  3668. COMMENT
  3669. ON COLUMN "system_menu"."deleted" IS '是否删除';
  3670. COMMENT
  3671. ON COLUMN "system_menu"."component_name" IS '组件名称';
  3672. COMMENT
  3673. ON COLUMN "system_menu"."always_show" IS '是否总是显示';
  3674. COMMENT
  3675. ON TABLE "system_menu" IS '菜单权限表';
  3676. ALTER TABLE system_menu
  3677. ALTER COLUMN permission SET DEFAULT '';
  3678. -- ----------------------------
  3679. -- Records of system_menu
  3680. -- ----------------------------
  3681. BEGIN;
  3682. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3683. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3684. "deleted", "component_name", "always_show")
  3685. VALUES (1, '系统管理', '', 1, 10, 0, '/system', 'system', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3686. '2022-05-13 01:02:57.073', 0, NULL, '1');
  3687. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3688. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3689. "deleted", "component_name", "always_show")
  3690. VALUES (2, '基础设施', '', 1, 20, 0, '/infra', 'monitor', NULL, 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3691. '2022-04-20 17:03:10', 0, NULL, '1');
  3692. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3693. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3694. "deleted", "component_name", "always_show")
  3695. VALUES (5, 'OA 示例', '', 1, 40, 1185, 'oa', 'people', NULL, 0, 't', 't', 'admin', '2021-09-20 16:26:19', '1',
  3696. '2022-04-20 17:03:10', 0, NULL, '1');
  3697. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3698. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3699. "deleted", "component_name", "always_show")
  3700. VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 0, 't', 't', 'admin',
  3701. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, 'User', '1');
  3702. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3703. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3704. "deleted", "component_name", "always_show")
  3705. VALUES (101, '角色管理', '', 2, 2, 1, 'role', 'peoples', 'system/role/index', 0, 't', 't', 'admin',
  3706. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3707. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3708. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3709. "deleted", "component_name", "always_show")
  3710. VALUES (102, '菜单管理', '', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', 0, 't', 't', 'admin',
  3711. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3712. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3713. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3714. "deleted", "component_name", "always_show")
  3715. VALUES (103, '部门管理', '', 2, 4, 1, 'dept', 'tree', 'system/dept/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3716. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3717. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3718. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3719. "deleted", "component_name", "always_show")
  3720. VALUES (104, '岗位管理', '', 2, 5, 1, 'post', 'post', 'system/post/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3721. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3722. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3723. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3724. "deleted", "component_name", "always_show")
  3725. VALUES (105, '字典管理', '', 2, 6, 1, 'dict', 'dict', 'system/dict/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3726. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3727. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3728. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3729. "deleted", "component_name", "always_show")
  3730. VALUES (106, '配置管理', '', 2, 6, 2, 'config', 'edit', 'infra/config/index', 0, 't', 't', 'admin',
  3731. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3732. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3733. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3734. "deleted", "component_name", "always_show")
  3735. VALUES (107, '通知公告', '', 2, 8, 1, 'notice', 'message', 'system/notice/index', 0, 't', 't', 'admin',
  3736. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3737. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3738. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3739. "deleted", "component_name", "always_show")
  3740. VALUES (108, '审计日志', '', 1, 9, 1, 'log', 'log', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3741. '2022-04-20 17:03:10', 0, NULL, '1');
  3742. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3743. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3744. "deleted", "component_name", "always_show")
  3745. VALUES (109, '令牌管理', '', 2, 2, 1261, 'token', 'online', 'system/oauth2/token/index', 0, 't', 't', 'admin',
  3746. '2021-01-05 17:03:48', '1', '2022-05-11 23:31:42', 0, NULL, '1');
  3747. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3748. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3749. "deleted", "component_name", "always_show")
  3750. VALUES (110, '定时任务', '', 2, 12, 2, 'job', 'job', 'infra/job/index', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3751. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3752. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3753. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3754. "deleted", "component_name", "always_show")
  3755. VALUES (111, 'MySQL 监控', '', 2, 9, 2, 'druid', 'druid', 'infra/druid/index', 0, 't', 't', 'admin',
  3756. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3757. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3758. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3759. "deleted", "component_name", "always_show")
  3760. VALUES (112, 'Java 监控', '', 2, 11, 2, 'admin-server', 'server', 'infra/server/index', 0, 't', 't', 'admin',
  3761. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3762. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3763. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3764. "deleted", "component_name", "always_show")
  3765. VALUES (113, 'Redis 监控', '', 2, 10, 2, 'redis', 'redis', 'infra/redis/index', 0, 't', 't', 'admin',
  3766. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3767. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3768. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3769. "deleted", "component_name", "always_show")
  3770. VALUES (114, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'build', 'infra/build/index', 0, 't', 't', 'admin',
  3771. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3772. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3773. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3774. "deleted", "component_name", "always_show")
  3775. VALUES (115, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'code', 'infra/codegen/index', 0, 't', 't', 'admin',
  3776. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3777. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3778. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3779. "deleted", "component_name", "always_show")
  3780. VALUES (116, '系统接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'swagger', 'infra/swagger/index', 0, 't', 't',
  3781. 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3782. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3783. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3784. "deleted", "component_name", "always_show")
  3785. VALUES (500, '操作日志', '', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', 0, 't', 't', 'admin',
  3786. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3787. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3788. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3789. "deleted", "component_name", "always_show")
  3790. VALUES (501, '登录日志', '', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', 0, 't', 't', 'admin',
  3791. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3792. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3793. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3794. "deleted", "component_name", "always_show")
  3795. VALUES (1001, '用户查询', 'system:user:query', 3, 1, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3796. '2022-04-20 17:03:10', 0, NULL, '1');
  3797. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3798. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3799. "deleted", "component_name", "always_show")
  3800. VALUES (1002, '用户新增', 'system:user:create', 3, 2, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3801. '2022-04-20 17:03:10', 0, NULL, '1');
  3802. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3803. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3804. "deleted", "component_name", "always_show")
  3805. VALUES (1003, '用户修改', 'system:user:update', 3, 3, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3806. '2022-04-20 17:03:10', 0, NULL, '1');
  3807. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3808. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3809. "deleted", "component_name", "always_show")
  3810. VALUES (1004, '用户删除', 'system:user:delete', 3, 4, 100, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3811. '2022-04-20 17:03:10', 0, NULL, '1');
  3812. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3813. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3814. "deleted", "component_name", "always_show")
  3815. VALUES (1005, '用户导出', 'system:user:export', 3, 5, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3816. '2022-04-20 17:03:10', 0, NULL, '1');
  3817. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3818. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3819. "deleted", "component_name", "always_show")
  3820. VALUES (1006, '用户导入', 'system:user:import', 3, 6, 100, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3821. '2022-04-20 17:03:10', 0, NULL, '1');
  3822. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3823. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3824. "deleted", "component_name", "always_show")
  3825. VALUES (1007, '重置密码', 'system:user:update-password', 3, 7, 100, '', '', '', 0, 't', 't', 'admin',
  3826. '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3827. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3828. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3829. "deleted", "component_name", "always_show")
  3830. VALUES (1008, '角色查询', 'system:role:query', 3, 1, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3831. '2022-04-20 17:03:10', 0, NULL, '1');
  3832. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3833. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3834. "deleted", "component_name", "always_show")
  3835. VALUES (1009, '角色新增', 'system:role:create', 3, 2, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3836. '2022-04-20 17:03:10', 0, NULL, '1');
  3837. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3838. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3839. "deleted", "component_name", "always_show")
  3840. VALUES (1010, '角色修改', 'system:role:update', 3, 3, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3841. '2022-04-20 17:03:10', 0, NULL, '1');
  3842. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3843. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3844. "deleted", "component_name", "always_show")
  3845. VALUES (1011, '角色删除', 'system:role:delete', 3, 4, 101, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3846. '2022-04-20 17:03:10', 0, NULL, '1');
  3847. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3848. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3849. "deleted", "component_name", "always_show")
  3850. VALUES (1012, '角色导出', 'system:role:export', 3, 5, 101, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3851. '2022-04-20 17:03:10', 0, NULL, '1');
  3852. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3853. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3854. "deleted", "component_name", "always_show")
  3855. VALUES (1013, '菜单查询', 'system:menu:query', 3, 1, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3856. '2022-04-20 17:03:10', 0, NULL, '1');
  3857. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3858. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3859. "deleted", "component_name", "always_show")
  3860. VALUES (1014, '菜单新增', 'system:menu:create', 3, 2, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3861. '2022-04-20 17:03:10', 0, NULL, '1');
  3862. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3863. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3864. "deleted", "component_name", "always_show")
  3865. VALUES (1015, '菜单修改', 'system:menu:update', 3, 3, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3866. '2022-04-20 17:03:10', 0, NULL, '1');
  3867. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3868. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3869. "deleted", "component_name", "always_show")
  3870. VALUES (1016, '菜单删除', 'system:menu:delete', 3, 4, 102, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3871. '2022-04-20 17:03:10', 0, NULL, '1');
  3872. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3873. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3874. "deleted", "component_name", "always_show")
  3875. VALUES (1017, '部门查询', 'system:dept:query', 3, 1, 103, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3876. '2022-04-20 17:03:10', 0, NULL, '1');
  3877. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3878. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3879. "deleted", "component_name", "always_show")
  3880. VALUES (1018, '部门新增', 'system:dept:create', 3, 2, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3881. '2022-04-20 17:03:10', 0, NULL, '1');
  3882. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3883. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3884. "deleted", "component_name", "always_show")
  3885. VALUES (1019, '部门修改', 'system:dept:update', 3, 3, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3886. '2022-04-20 17:03:10', 0, NULL, '1');
  3887. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3888. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3889. "deleted", "component_name", "always_show")
  3890. VALUES (1020, '部门删除', 'system:dept:delete', 3, 4, 103, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3891. '2022-04-20 17:03:10', 0, NULL, '1');
  3892. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3893. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3894. "deleted", "component_name", "always_show")
  3895. VALUES (1021, '岗位查询', 'system:post:query', 3, 1, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3896. '2022-04-20 17:03:10', 0, NULL, '1');
  3897. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3898. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3899. "deleted", "component_name", "always_show")
  3900. VALUES (1022, '岗位新增', 'system:post:create', 3, 2, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3901. '2022-04-20 17:03:10', 0, NULL, '1');
  3902. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3903. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3904. "deleted", "component_name", "always_show")
  3905. VALUES (1023, '岗位修改', 'system:post:update', 3, 3, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3906. '2022-04-20 17:03:10', 0, NULL, '1');
  3907. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3908. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3909. "deleted", "component_name", "always_show")
  3910. VALUES (1024, '岗位删除', 'system:post:delete', 3, 4, 104, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3911. '2022-04-20 17:03:10', 0, NULL, '1');
  3912. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3913. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3914. "deleted", "component_name", "always_show")
  3915. VALUES (1025, '岗位导出', 'system:post:export', 3, 5, 104, '', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3916. '2022-04-20 17:03:10', 0, NULL, '1');
  3917. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3918. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3919. "deleted", "component_name", "always_show")
  3920. VALUES (1026, '字典查询', 'system:dict:query', 3, 1, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3921. '2022-04-20 17:03:10', 0, NULL, '1');
  3922. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3923. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3924. "deleted", "component_name", "always_show")
  3925. VALUES (1027, '字典新增', 'system:dict:create', 3, 2, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3926. '2022-04-20 17:03:10', 0, NULL, '1');
  3927. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3928. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3929. "deleted", "component_name", "always_show")
  3930. VALUES (1028, '字典修改', 'system:dict:update', 3, 3, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3931. '2022-04-20 17:03:10', 0, NULL, '1');
  3932. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3933. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3934. "deleted", "component_name", "always_show")
  3935. VALUES (1029, '字典删除', 'system:dict:delete', 3, 4, 105, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '1',
  3936. '2022-04-20 17:03:10', 0, NULL, '1');
  3937. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3938. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3939. "deleted", "component_name", "always_show")
  3940. VALUES (1030, '字典导出', 'system:dict:export', 3, 5, 105, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3941. '', '2022-04-20 17:03:10', 0, NULL, '1');
  3942. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3943. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3944. "deleted", "component_name", "always_show")
  3945. VALUES (1031, '配置查询', 'infra:config:query', 3, 1, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3946. '2022-04-20 17:03:10', 0, NULL, '1');
  3947. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3948. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3949. "deleted", "component_name", "always_show")
  3950. VALUES (1032, '配置新增', 'infra:config:create', 3, 2, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3951. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3952. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3953. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3954. "deleted", "component_name", "always_show")
  3955. VALUES (1033, '配置修改', 'infra:config:update', 3, 3, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3956. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3957. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3958. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3959. "deleted", "component_name", "always_show")
  3960. VALUES (1034, '配置删除', 'infra:config:delete', 3, 4, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3961. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3962. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3963. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3964. "deleted", "component_name", "always_show")
  3965. VALUES (1035, '配置导出', 'infra:config:export', 3, 5, 106, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  3966. '2022-04-20 17:03:10', 0, NULL, '1');
  3967. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3968. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3969. "deleted", "component_name", "always_show")
  3970. VALUES (1036, '公告查询', 'system:notice:query', 3, 1, 107, '#', '#', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3971. '', '2022-04-20 17:03:10', 0, NULL, '1');
  3972. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3973. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3974. "deleted", "component_name", "always_show")
  3975. VALUES (1037, '公告新增', 'system:notice:create', 3, 2, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3976. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3977. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3978. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3979. "deleted", "component_name", "always_show")
  3980. VALUES (1038, '公告修改', 'system:notice:update', 3, 3, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3981. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3982. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3983. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3984. "deleted", "component_name", "always_show")
  3985. VALUES (1039, '公告删除', 'system:notice:delete', 3, 4, 107, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  3986. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  3987. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3988. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3989. "deleted", "component_name", "always_show")
  3990. VALUES (1040, '操作查询', 'system:operate-log:query', 3, 1, 500, '', '', '', 0, 't', 't', 'admin',
  3991. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  3992. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3993. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3994. "deleted", "component_name", "always_show")
  3995. VALUES (1042, '日志导出', 'system:operate-log:export', 3, 2, 500, '', '', '', 0, 't', 't', 'admin',
  3996. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  3997. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  3998. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  3999. "deleted", "component_name", "always_show")
  4000. VALUES (1043, '登录查询', 'system:login-log:query', 3, 1, 501, '#', '#', '', 0, 't', 't', 'admin',
  4001. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4002. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4003. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4004. "deleted", "component_name", "always_show")
  4005. VALUES (1045, '日志导出', 'system:login-log:export', 3, 3, 501, '#', '#', '', 0, 't', 't', 'admin',
  4006. '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4007. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4008. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4009. "deleted", "component_name", "always_show")
  4010. VALUES (1046, '令牌列表', 'system:oauth2-token:page', 3, 1, 109, '', '', '', 0, 't', 't', 'admin',
  4011. '2021-01-05 17:03:48', '1', '2022-05-09 23:54:42', 0, NULL, '1');
  4012. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4013. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4014. "deleted", "component_name", "always_show")
  4015. VALUES (1048, '令牌删除', 'system:oauth2-token:delete', 3, 2, 109, '', '', '', 0, 't', 't', 'admin',
  4016. '2021-01-05 17:03:48', '1', '2022-05-09 23:54:53', 0, NULL, '1');
  4017. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4018. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4019. "deleted", "component_name", "always_show")
  4020. VALUES (1050, '任务新增', 'infra:job:create', 3, 2, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4021. '2022-04-20 17:03:10', 0, NULL, '1');
  4022. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4023. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4024. "deleted", "component_name", "always_show")
  4025. VALUES (1051, '任务修改', 'infra:job:update', 3, 3, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4026. '2022-04-20 17:03:10', 0, NULL, '1');
  4027. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4028. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4029. "deleted", "component_name", "always_show")
  4030. VALUES (1052, '任务删除', 'infra:job:delete', 3, 4, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4031. '2022-04-20 17:03:10', 0, NULL, '1');
  4032. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4033. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4034. "deleted", "component_name", "always_show")
  4035. VALUES (1053, '状态修改', 'infra:job:update', 3, 5, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4036. '2022-04-20 17:03:10', 0, NULL, '1');
  4037. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4038. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4039. "deleted", "component_name", "always_show")
  4040. VALUES (1054, '任务导出', 'infra:job:export', 3, 7, 110, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48', '',
  4041. '2022-04-20 17:03:10', 0, NULL, '1');
  4042. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4043. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4044. "deleted", "component_name", "always_show")
  4045. VALUES (1056, '生成修改', 'infra:codegen:update', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4046. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4047. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4048. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4049. "deleted", "component_name", "always_show")
  4050. VALUES (1057, '生成删除', 'infra:codegen:delete', 3, 3, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4051. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4052. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4053. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4054. "deleted", "component_name", "always_show")
  4055. VALUES (1058, '导入代码', 'infra:codegen:create', 3, 2, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4056. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4057. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4058. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4059. "deleted", "component_name", "always_show")
  4060. VALUES (1059, '预览代码', 'infra:codegen:preview', 3, 4, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4061. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4062. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4063. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4064. "deleted", "component_name", "always_show")
  4065. VALUES (1060, '生成代码', 'infra:codegen:download', 3, 5, 115, '', '', '', 0, 't', 't', 'admin', '2021-01-05 17:03:48',
  4066. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4067. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4068. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4069. "deleted", "component_name", "always_show")
  4070. VALUES (1063, '设置角色菜单权限', 'system:permission:assign-role-menu', 3, 6, 101, '', '', '', 0, 't', 't', '',
  4071. '2021-01-06 17:53:44', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4072. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4073. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4074. "deleted", "component_name", "always_show")
  4075. VALUES (1064, '设置角色数据权限', 'system:permission:assign-role-data-scope', 3, 7, 101, '', '', '', 0, 't', 't', '',
  4076. '2021-01-06 17:56:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4077. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4078. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4079. "deleted", "component_name", "always_show")
  4080. VALUES (1065, '设置用户角色', 'system:permission:assign-user-role', 3, 8, 101, '', '', '', 0, 't', 't', '',
  4081. '2021-01-07 10:23:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4082. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4083. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4084. "deleted", "component_name", "always_show")
  4085. VALUES (1066, '获得 Redis 监控信息', 'infra:redis:get-monitor-info', 3, 1, 113, '', '', '', 0, 't', 't', '',
  4086. '2021-01-26 01:02:31', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4087. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4088. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4089. "deleted", "component_name", "always_show")
  4090. VALUES (1067, '获得 Redis Key 列表', 'infra:redis:get-key-list', 3, 2, 113, '', '', '', 0, 't', 't', '',
  4091. '2021-01-26 01:02:52', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4092. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4093. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4094. "deleted", "component_name", "always_show")
  4095. VALUES (1070, '代码生成示例', 'infra:test-demo:query', 2, 1, 2, 'test-demo', 'validCode', 'infra/testDemo/index', 0,
  4096. 't', 't', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4097. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4098. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4099. "deleted", "component_name", "always_show")
  4100. VALUES (1071, '测试示例表创建', 'infra:test-demo:create', 3, 1, 1070, '', '', '', 0, 't', 't', '',
  4101. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4102. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4103. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4104. "deleted", "component_name", "always_show")
  4105. VALUES (1072, '测试示例表更新', 'infra:test-demo:update', 3, 2, 1070, '', '', '', 0, 't', 't', '',
  4106. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4107. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4108. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4109. "deleted", "component_name", "always_show")
  4110. VALUES (1073, '测试示例表删除', 'infra:test-demo:delete', 3, 3, 1070, '', '', '', 0, 't', 't', '',
  4111. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4112. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4113. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4114. "deleted", "component_name", "always_show")
  4115. VALUES (1074, '测试示例表导出', 'infra:test-demo:export', 3, 4, 1070, '', '', '', 0, 't', 't', '',
  4116. '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4117. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4118. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4119. "deleted", "component_name", "always_show")
  4120. VALUES (1075, '任务触发', 'infra:job:trigger', 3, 8, 110, '', '', '', 0, 't', 't', '', '2021-02-07 13:03:10', '',
  4121. '2022-04-20 17:03:10', 0, NULL, '1');
  4122. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4123. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4124. "deleted", "component_name", "always_show")
  4125. VALUES (1076, '数据库文档', '', 2, 4, 2, 'db-doc', 'table', 'infra/dbDoc/index', 0, 't', 't', '', '2021-02-08 01:41:47',
  4126. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4127. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4128. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4129. "deleted", "component_name", "always_show")
  4130. VALUES (1077, '监控平台', '', 2, 13, 2, 'skywalking', 'eye-open', 'infra/skywalking/index', 0, 't', 't', '',
  4131. '2021-02-08 20:41:31', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4132. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4133. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4134. "deleted", "component_name", "always_show")
  4135. VALUES (1078, '访问日志', '', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', 0, 't', 't', '',
  4136. '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4137. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4138. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4139. "deleted", "component_name", "always_show")
  4140. VALUES (1082, '日志导出', 'infra:api-access-log:export', 3, 2, 1078, '', '', '', 0, 't', 't', '', '2021-02-26 01:32:59',
  4141. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4142. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4143. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4144. "deleted", "component_name", "always_show")
  4145. VALUES (1083, 'API 日志', '', 2, 8, 2, 'log', 'log', NULL, 0, 't', 't', '', '2021-02-26 02:18:24', '1',
  4146. '2022-04-20 17:03:10', 0, NULL, '1');
  4147. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4148. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4149. "deleted", "component_name", "always_show")
  4150. VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', 0,
  4151. 't', 't', '', '2021-02-26 07:53:20', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4152. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4153. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4154. "deleted", "component_name", "always_show")
  4155. VALUES (1085, '日志处理', 'infra:api-error-log:update-status', 3, 2, 1084, '', '', '', 0, 't', 't', '',
  4156. '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4157. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4158. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4159. "deleted", "component_name", "always_show")
  4160. VALUES (1086, '日志导出', 'infra:api-error-log:export', 3, 3, 1084, '', '', '', 0, 't', 't', '', '2021-02-26 07:53:20',
  4161. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4162. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4163. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4164. "deleted", "component_name", "always_show")
  4165. VALUES (1087, '任务查询', 'infra:job:query', 3, 1, 110, '', '', '', 0, 't', 't', '1', '2021-03-10 01:26:19', '1',
  4166. '2022-04-20 17:03:10', 0, NULL, '1');
  4167. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4168. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4169. "deleted", "component_name", "always_show")
  4170. VALUES (1088, '日志查询', 'infra:api-access-log:query', 3, 1, 1078, '', '', '', 0, 't', 't', '1', '2021-03-10 01:28:04',
  4171. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4172. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4173. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4174. "deleted", "component_name", "always_show")
  4175. VALUES (1089, '日志查询', 'infra:api-error-log:query', 3, 1, 1084, '', '', '', 0, 't', 't', '1', '2021-03-10 01:29:09',
  4176. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4177. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4178. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4179. "deleted", "component_name", "always_show")
  4180. VALUES (1090, '文件列表', '', 2, 5, 1243, 'file', 'upload', 'infra/file/index', 0, 't', 't', '', '2021-03-12 20:16:20',
  4181. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4182. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4183. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4184. "deleted", "component_name", "always_show")
  4185. VALUES (1091, '文件查询', 'infra:file:query', 3, 1, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '',
  4186. '2022-04-20 17:03:10', 0, NULL, '1');
  4187. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4188. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4189. "deleted", "component_name", "always_show")
  4190. VALUES (1092, '文件删除', 'infra:file:delete', 3, 4, 1090, '', '', '', 0, 't', 't', '', '2021-03-12 20:16:20', '',
  4191. '2022-04-20 17:03:10', 0, NULL, '1');
  4192. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4193. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4194. "deleted", "component_name", "always_show")
  4195. VALUES (1093, '短信管理', '', 1, 11, 1, 'sms', 'validCode', NULL, 0, 't', 't', '1', '2021-04-05 01:10:16', '1',
  4196. '2022-04-20 17:03:10', 0, NULL, '1');
  4197. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4198. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4199. "deleted", "component_name", "always_show")
  4200. VALUES (1094, '短信渠道', '', 2, 0, 1093, 'sms-channel', 'phone', 'system/sms/channel', 0, 't', 't', '',
  4201. '2021-04-01 11:07:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4202. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4203. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4204. "deleted", "component_name", "always_show")
  4205. VALUES (1095, '短信渠道查询', 'system:sms-channel:query', 3, 1, 1094, '', '', '', 0, 't', 't', '',
  4206. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4207. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4208. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4209. "deleted", "component_name", "always_show")
  4210. VALUES (1096, '短信渠道创建', 'system:sms-channel:create', 3, 2, 1094, '', '', '', 0, 't', 't', '',
  4211. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4212. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4213. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4214. "deleted", "component_name", "always_show")
  4215. VALUES (1097, '短信渠道更新', 'system:sms-channel:update', 3, 3, 1094, '', '', '', 0, 't', 't', '',
  4216. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4217. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4218. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4219. "deleted", "component_name", "always_show")
  4220. VALUES (1098, '短信渠道删除', 'system:sms-channel:delete', 3, 4, 1094, '', '', '', 0, 't', 't', '',
  4221. '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4222. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4223. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4224. "deleted", "component_name", "always_show")
  4225. VALUES (1100, '短信模板', '', 2, 1, 1093, 'sms-template', 'phone', 'system/sms/template', 0, 't', 't', '',
  4226. '2021-04-01 17:35:17', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4227. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4228. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4229. "deleted", "component_name", "always_show")
  4230. VALUES (1101, '短信模板查询', 'system:sms-template:query', 3, 1, 1100, '', '', '', 0, 't', 't', '',
  4231. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4232. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4233. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4234. "deleted", "component_name", "always_show")
  4235. VALUES (1102, '短信模板创建', 'system:sms-template:create', 3, 2, 1100, '', '', '', 0, 't', 't', '',
  4236. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4237. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4238. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4239. "deleted", "component_name", "always_show")
  4240. VALUES (1103, '短信模板更新', 'system:sms-template:update', 3, 3, 1100, '', '', '', 0, 't', 't', '',
  4241. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4242. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4243. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4244. "deleted", "component_name", "always_show")
  4245. VALUES (1104, '短信模板删除', 'system:sms-template:delete', 3, 4, 1100, '', '', '', 0, 't', 't', '',
  4246. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4247. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4248. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4249. "deleted", "component_name", "always_show")
  4250. VALUES (1105, '短信模板导出', 'system:sms-template:export', 3, 5, 1100, '', '', '', 0, 't', 't', '',
  4251. '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4252. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4253. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4254. "deleted", "component_name", "always_show")
  4255. VALUES (1106, '发送测试短信', 'system:sms-template:send-sms', 3, 6, 1100, '', '', '', 0, 't', 't', '1',
  4256. '2021-04-11 00:26:40', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4257. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4258. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4259. "deleted", "component_name", "always_show")
  4260. VALUES (1107, '短信日志', '', 2, 2, 1093, 'sms-log', 'phone', 'system/sms/log', 0, 't', 't', '', '2021-04-11 08:37:05',
  4261. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4262. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4263. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4264. "deleted", "component_name", "always_show")
  4265. VALUES (1108, '短信日志查询', 'system:sms-log:query', 3, 1, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05',
  4266. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4267. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4268. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4269. "deleted", "component_name", "always_show")
  4270. VALUES (1109, '短信日志导出', 'system:sms-log:export', 3, 5, 1107, '', '', '', 0, 't', 't', '', '2021-04-11 08:37:05',
  4271. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4272. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4273. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4274. "deleted", "component_name", "always_show")
  4275. VALUES (1110, '错误码管理', '', 2, 12, 1, 'error-code', 'code', 'system/errorCode/index', 0, 't', 't', '',
  4276. '2021-04-13 21:46:42', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4277. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4278. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4279. "deleted", "component_name", "always_show")
  4280. VALUES (1111, '错误码查询', 'system:error-code:query', 3, 1, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4281. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4282. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4283. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4284. "deleted", "component_name", "always_show")
  4285. VALUES (1112, '错误码创建', 'system:error-code:create', 3, 2, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4286. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4287. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4288. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4289. "deleted", "component_name", "always_show")
  4290. VALUES (1113, '错误码更新', 'system:error-code:update', 3, 3, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4291. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4292. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4293. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4294. "deleted", "component_name", "always_show")
  4295. VALUES (1114, '错误码删除', 'system:error-code:delete', 3, 4, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4296. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4297. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4298. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4299. "deleted", "component_name", "always_show")
  4300. VALUES (1115, '错误码导出', 'system:error-code:export', 3, 5, 1110, '', '', '', 0, 't', 't', '', '2021-04-13 21:46:42',
  4301. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4302. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4303. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4304. "deleted", "component_name", "always_show")
  4305. VALUES (1117, '支付管理', '', 1, 11, 0, '/pay', 'money', NULL, 0, 't', 't', '1', '2021-12-25 16:43:41', '1',
  4306. '2022-05-13 01:02:25.244', 0, NULL, '1');
  4307. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4308. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4309. "deleted", "component_name", "always_show")
  4310. VALUES (1118, '请假查询', '', 2, 0, 5, 'leave', 'user', 'bpm/oa/leave/index', 0, 't', 't', '', '2021-09-20 08:51:03',
  4311. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4312. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4313. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4314. "deleted", "component_name", "always_show")
  4315. VALUES (1119, '请假申请查询', 'bpm:oa-leave:query', 3, 1, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03', '1',
  4316. '2022-04-20 17:03:10', 0, NULL, '1');
  4317. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4318. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4319. "deleted", "component_name", "always_show")
  4320. VALUES (1120, '请假申请创建', 'bpm:oa-leave:create', 3, 2, 1118, '', '', '', 0, 't', 't', '', '2021-09-20 08:51:03',
  4321. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4322. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4323. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4324. "deleted", "component_name", "always_show")
  4325. VALUES (1126, '应用信息', '', 2, 1, 1117, 'app', 'table', 'pay/app/index', 0, 't', 't', '', '2021-11-10 01:13:30', '1',
  4326. '2022-04-20 17:03:10', 0, NULL, '1');
  4327. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4328. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4329. "deleted", "component_name", "always_show")
  4330. VALUES (1127, '支付应用信息查询', 'pay:app:query', 3, 1, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4331. '2022-04-20 17:03:10', 0, NULL, '1');
  4332. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4333. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4334. "deleted", "component_name", "always_show")
  4335. VALUES (1128, '支付应用信息创建', 'pay:app:create', 3, 2, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4336. '2022-04-20 17:03:10', 0, NULL, '1');
  4337. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4338. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4339. "deleted", "component_name", "always_show")
  4340. VALUES (1129, '支付应用信息更新', 'pay:app:update', 3, 3, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4341. '2022-04-20 17:03:10', 0, NULL, '1');
  4342. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4343. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4344. "deleted", "component_name", "always_show")
  4345. VALUES (1130, '支付应用信息删除', 'pay:app:delete', 3, 4, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4346. '2022-04-20 17:03:10', 0, NULL, '1');
  4347. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4348. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4349. "deleted", "component_name", "always_show")
  4350. VALUES (1131, '支付应用信息导出', 'pay:app:export', 3, 5, 1126, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:31', '',
  4351. '2022-04-20 17:03:10', 0, NULL, '1');
  4352. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4353. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4354. "deleted", "component_name", "always_show")
  4355. VALUES (1132, '秘钥解析', 'pay:channel:parsing', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1',
  4356. '2022-04-20 17:03:10', 0, NULL, '1');
  4357. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4358. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4359. "deleted", "component_name", "always_show")
  4360. VALUES (1133, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4361. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4362. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4363. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4364. "deleted", "component_name", "always_show")
  4365. VALUES (1134, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4366. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4367. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4368. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4369. "deleted", "component_name", "always_show")
  4370. VALUES (1135, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4371. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4372. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4373. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4374. "deleted", "component_name", "always_show")
  4375. VALUES (1136, '支付商户信息删除', 'pay:merchant:delete', 3, 4, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4376. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4377. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4378. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4379. "deleted", "component_name", "always_show")
  4380. VALUES (1137, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1132, '', '', '', 0, 't', 't', '', '2021-11-10 01:13:41',
  4381. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4382. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4383. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4384. "deleted", "component_name", "always_show")
  4385. VALUES (1138, '租户列表', '', 2, 0, 1224, 'list', 'peoples', 'system/tenant/index', 0, 't', 't', '',
  4386. '2021-12-14 12:31:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4387. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4388. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4389. "deleted", "component_name", "always_show")
  4390. VALUES (1139, '租户查询', 'system:tenant:query', 3, 1, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4391. '2022-04-20 17:03:10', 0, NULL, '1');
  4392. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4393. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4394. "deleted", "component_name", "always_show")
  4395. VALUES (1140, '租户创建', 'system:tenant:create', 3, 2, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4396. '2022-04-20 17:03:10', 0, NULL, '1');
  4397. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4398. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4399. "deleted", "component_name", "always_show")
  4400. VALUES (1141, '租户更新', 'system:tenant:update', 3, 3, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4401. '2022-04-20 17:03:10', 0, NULL, '1');
  4402. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4403. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4404. "deleted", "component_name", "always_show")
  4405. VALUES (1142, '租户删除', 'system:tenant:delete', 3, 4, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4406. '2022-04-20 17:03:10', 0, NULL, '1');
  4407. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4408. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4409. "deleted", "component_name", "always_show")
  4410. VALUES (1143, '租户导出', 'system:tenant:export', 3, 5, 1138, '', '', '', 0, 't', 't', '', '2021-12-14 12:31:44', '',
  4411. '2022-04-20 17:03:10', 0, NULL, '1');
  4412. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4413. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4414. "deleted", "component_name", "always_show")
  4415. VALUES (1150, '秘钥解析', '', 3, 6, 1129, '', '', '', 0, 't', 't', '1', '2021-11-08 15:15:47', '1',
  4416. '2022-04-20 17:03:10', 0, NULL, '1');
  4417. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4418. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4419. "deleted", "component_name", "always_show")
  4420. VALUES (1161, '退款订单', '', 2, 3, 1117, 'refund', 'order', 'pay/refund/index', 0, 't', 't', '', '2021-12-25 08:29:07',
  4421. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4422. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4423. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4424. "deleted", "component_name", "always_show")
  4425. VALUES (1162, '退款订单查询', 'pay:refund:query', 3, 1, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4426. '2022-04-20 17:03:10', 0, NULL, '1');
  4427. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4428. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4429. "deleted", "component_name", "always_show")
  4430. VALUES (1163, '退款订单创建', 'pay:refund:create', 3, 2, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4431. '2022-04-20 17:03:10', 0, NULL, '1');
  4432. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4433. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4434. "deleted", "component_name", "always_show")
  4435. VALUES (1164, '退款订单更新', 'pay:refund:update', 3, 3, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4436. '2022-04-20 17:03:10', 0, NULL, '1');
  4437. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4438. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4439. "deleted", "component_name", "always_show")
  4440. VALUES (1165, '退款订单删除', 'pay:refund:delete', 3, 4, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4441. '2022-04-20 17:03:10', 0, NULL, '1');
  4442. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4443. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4444. "deleted", "component_name", "always_show")
  4445. VALUES (1166, '退款订单导出', 'pay:refund:export', 3, 5, 1161, '', '', '', 0, 't', 't', '', '2021-12-25 08:29:07', '',
  4446. '2022-04-20 17:03:10', 0, NULL, '1');
  4447. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4448. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4449. "deleted", "component_name", "always_show")
  4450. VALUES (1173, '支付订单', '', 2, 2, 1117, 'order', 'pay', 'pay/order/index', 0, 't', 't', '', '2021-12-25 08:49:43',
  4451. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4452. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4453. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4454. "deleted", "component_name", "always_show")
  4455. VALUES (1174, '支付订单查询', 'pay:order:query', 3, 1, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4456. '2022-04-20 17:03:10', 0, NULL, '1');
  4457. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4458. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4459. "deleted", "component_name", "always_show")
  4460. VALUES (1175, '支付订单创建', 'pay:order:create', 3, 2, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4461. '2022-04-20 17:03:10', 0, NULL, '1');
  4462. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4463. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4464. "deleted", "component_name", "always_show")
  4465. VALUES (1176, '支付订单更新', 'pay:order:update', 3, 3, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4466. '2022-04-20 17:03:10', 0, NULL, '1');
  4467. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4468. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4469. "deleted", "component_name", "always_show")
  4470. VALUES (1177, '支付订单删除', 'pay:order:delete', 3, 4, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4471. '2022-04-20 17:03:10', 0, NULL, '1');
  4472. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4473. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4474. "deleted", "component_name", "always_show")
  4475. VALUES (1178, '支付订单导出', 'pay:order:export', 3, 5, 1173, '', '', '', 0, 't', 't', '', '2021-12-25 08:49:43', '',
  4476. '2022-04-20 17:03:10', 0, NULL, '1');
  4477. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4478. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4479. "deleted", "component_name", "always_show")
  4480. VALUES (1179, '商户信息', '', 2, 0, 1117, 'merchant', 'merchant', 'pay/merchant/index', 0, 't', 't', '',
  4481. '2021-12-25 09:01:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4482. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4483. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4484. "deleted", "component_name", "always_show")
  4485. VALUES (1180, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4486. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4487. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4488. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4489. "deleted", "component_name", "always_show")
  4490. VALUES (1181, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4491. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4492. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4493. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4494. "deleted", "component_name", "always_show")
  4495. VALUES (1182, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4496. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4497. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4498. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4499. "deleted", "component_name", "always_show")
  4500. VALUES (1183, '支付商户信息删除', '', 3, 4, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44', '',
  4501. '2022-04-20 17:03:10', 0, NULL, '1');
  4502. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4503. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4504. "deleted", "component_name", "always_show")
  4505. VALUES (1184, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1179, '', '', '', 0, 't', 't', '', '2021-12-25 09:01:44',
  4506. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4507. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4508. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4509. "deleted", "component_name", "always_show")
  4510. VALUES (1185, '工作流程', '', 1, 50, 0, '/bpm', 'tool', NULL, 0, 't', 't', '1', '2021-12-30 20:26:36', '103',
  4511. '2022-04-20 17:03:10', 0, NULL, '1');
  4512. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4513. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4514. "deleted", "component_name", "always_show")
  4515. VALUES (1186, '流程管理', '', 1, 10, 1185, 'manager', 'nested', NULL, 0, 't', 't', '1', '2021-12-30 20:28:30', '1',
  4516. '2022-04-20 17:03:10', 0, NULL, '1');
  4517. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4518. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4519. "deleted", "component_name", "always_show")
  4520. VALUES (1187, '流程表单', '', 2, 0, 1186, 'form', 'form', 'bpm/form/index', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4521. '2022-04-20 17:03:10', 0, NULL, '1');
  4522. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4523. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4524. "deleted", "component_name", "always_show")
  4525. VALUES (1188, '表单查询', 'bpm:form:query', 3, 1, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4526. '2022-04-20 17:03:10', 0, NULL, '1');
  4527. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4528. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4529. "deleted", "component_name", "always_show")
  4530. VALUES (1189, '表单创建', 'bpm:form:create', 3, 2, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4531. '2022-04-20 17:03:10', 0, NULL, '1');
  4532. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4533. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4534. "deleted", "component_name", "always_show")
  4535. VALUES (1190, '表单更新', 'bpm:form:update', 3, 3, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4536. '2022-04-20 17:03:10', 0, NULL, '1');
  4537. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4538. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4539. "deleted", "component_name", "always_show")
  4540. VALUES (1191, '表单删除', 'bpm:form:delete', 3, 4, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4541. '2022-04-20 17:03:10', 0, NULL, '1');
  4542. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4543. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4544. "deleted", "component_name", "always_show")
  4545. VALUES (1192, '表单导出', 'bpm:form:export', 3, 5, 1187, '', '', '', 0, 't', 't', '', '2021-12-30 12:38:22', '1',
  4546. '2022-04-20 17:03:10', 0, NULL, '1');
  4547. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4548. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4549. "deleted", "component_name", "always_show")
  4550. VALUES (1193, '流程模型', '', 2, 5, 1186, 'model', 'guide', 'bpm/model/index', 0, 't', 't', '1', '2021-12-31 23:24:58',
  4551. '103', '2022-04-20 17:03:10', 0, NULL, '1');
  4552. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4553. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4554. "deleted", "component_name", "always_show")
  4555. VALUES (1194, '模型查询', 'bpm:model:query', 3, 1, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:10', '1',
  4556. '2022-04-20 17:03:10', 0, NULL, '1');
  4557. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4558. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4559. "deleted", "component_name", "always_show")
  4560. VALUES (1195, '模型创建', 'bpm:model:create', 3, 2, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:24', '1',
  4561. '2022-04-20 17:03:10', 0, NULL, '1');
  4562. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4563. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4564. "deleted", "component_name", "always_show")
  4565. VALUES (1196, '模型导入', 'bpm:model:import', 3, 3, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:01:35', '1',
  4566. '2022-04-20 17:03:10', 0, NULL, '1');
  4567. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4568. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4569. "deleted", "component_name", "always_show")
  4570. VALUES (1197, '模型更新', 'bpm:model:update', 3, 4, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:28', '1',
  4571. '2022-04-20 17:03:10', 0, NULL, '1');
  4572. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4573. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4574. "deleted", "component_name", "always_show")
  4575. VALUES (1198, '模型删除', 'bpm:model:delete', 3, 5, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:02:43', '1',
  4576. '2022-04-20 17:03:10', 0, NULL, '1');
  4577. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4578. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4579. "deleted", "component_name", "always_show")
  4580. VALUES (1199, '模型发布', 'bpm:model:deploy', 3, 6, 1193, '', '', '', 0, 't', 't', '1', '2022-01-03 19:03:24', '1',
  4581. '2022-04-20 17:03:10', 0, NULL, '1');
  4582. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4583. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4584. "deleted", "component_name", "always_show")
  4585. VALUES (1200, '任务管理', '', 1, 20, 1185, 'task', 'cascader', NULL, 0, 't', 't', '1', '2022-01-07 23:51:48', '1',
  4586. '2022-04-20 17:03:10', 0, NULL, '1');
  4587. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4588. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4589. "deleted", "component_name", "always_show")
  4590. VALUES (1201, '我的流程', '', 2, 0, 1200, 'my', 'people', 'bpm/processInstance/index', 0, 't', 't', '',
  4591. '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4592. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4593. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4594. "deleted", "component_name", "always_show")
  4595. VALUES (1202, '流程实例的查询', 'bpm:process-instance:query', 3, 1, 1201, '', '', '', 0, 't', 't', '',
  4596. '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4597. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4598. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4599. "deleted", "component_name", "always_show")
  4600. VALUES (1207, '待办任务', '', 2, 10, 1200, 'todo', 'eye-open', 'bpm/task/todo', 0, 't', 't', '1', '2022-01-08 10:33:37',
  4601. '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4602. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4603. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4604. "deleted", "component_name", "always_show")
  4605. VALUES (1208, '已办任务', '', 2, 20, 1200, 'done', 'eye', 'bpm/task/done', 0, 't', 't', '1', '2022-01-08 10:34:13', '1',
  4606. '2022-04-20 17:03:10', 0, NULL, '1');
  4607. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4608. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4609. "deleted", "component_name", "always_show")
  4610. VALUES (1209, '用户分组', '', 2, 2, 1186, 'user-group', 'people', 'bpm/group/index', 0, 't', 't', '',
  4611. '2022-01-14 02:14:20', '103', '2022-04-20 17:03:10', 0, NULL, '1');
  4612. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4613. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4614. "deleted", "component_name", "always_show")
  4615. VALUES (1210, '用户组查询', 'bpm:user-group:query', 3, 1, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4616. '2022-04-20 17:03:10', 0, NULL, '1');
  4617. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4618. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4619. "deleted", "component_name", "always_show")
  4620. VALUES (1211, '用户组创建', 'bpm:user-group:create', 3, 2, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4621. '2022-04-20 17:03:10', 0, NULL, '1');
  4622. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4623. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4624. "deleted", "component_name", "always_show")
  4625. VALUES (1212, '用户组更新', 'bpm:user-group:update', 3, 3, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4626. '2022-04-20 17:03:10', 0, NULL, '1');
  4627. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4628. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4629. "deleted", "component_name", "always_show")
  4630. VALUES (1213, '用户组删除', 'bpm:user-group:delete', 3, 4, 1209, '', '', '', 0, 't', 't', '', '2022-01-14 02:14:20', '',
  4631. '2022-04-20 17:03:10', 0, NULL, '1');
  4632. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4633. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4634. "deleted", "component_name", "always_show")
  4635. VALUES (1215, '流程定义查询', 'bpm:process-definition:query', 3, 10, 1193, '', '', '', 0, 't', 't', '1',
  4636. '2022-01-23 00:21:43', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4637. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4638. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4639. "deleted", "component_name", "always_show")
  4640. VALUES (1216, '流程任务分配规则查询', 'bpm:task-assign-rule:query', 3, 20, 1193, '', '', '', 0, 't', 't', '1',
  4641. '2022-01-23 00:26:53', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4642. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4643. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4644. "deleted", "component_name", "always_show")
  4645. VALUES (1217, '流程任务分配规则创建', 'bpm:task-assign-rule:create', 3, 21, 1193, '', '', '', 0, 't', 't', '1',
  4646. '2022-01-23 00:28:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4647. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4648. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4649. "deleted", "component_name", "always_show")
  4650. VALUES (1218, '流程任务分配规则更新', 'bpm:task-assign-rule:update', 3, 22, 1193, '', '', '', 0, 't', 't', '1',
  4651. '2022-01-23 00:28:41', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4652. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4653. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4654. "deleted", "component_name", "always_show")
  4655. VALUES (1219, '流程实例的创建', 'bpm:process-instance:create', 3, 2, 1201, '', '', '', 0, 't', 't', '1',
  4656. '2022-01-23 00:36:15', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4657. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4658. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4659. "deleted", "component_name", "always_show")
  4660. VALUES (1220, '流程实例的取消', 'bpm:process-instance:cancel', 3, 3, 1201, '', '', '', 0, 't', 't', '1',
  4661. '2022-01-23 00:36:33', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4662. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4663. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4664. "deleted", "component_name", "always_show")
  4665. VALUES (1221, '流程任务的查询', 'bpm:task:query', 3, 1, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:38:52', '1',
  4666. '2022-04-20 17:03:10', 0, NULL, '1');
  4667. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4668. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4669. "deleted", "component_name", "always_show")
  4670. VALUES (1222, '流程任务的更新', 'bpm:task:update', 3, 2, 1207, '', '', '', 0, 't', 't', '1', '2022-01-23 00:39:24', '1',
  4671. '2022-04-20 17:03:10', 0, NULL, '1');
  4672. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4673. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4674. "deleted", "component_name", "always_show")
  4675. VALUES (1224, '租户管理', '', 2, 0, 1, 'tenant', 'peoples', NULL, 0, 't', 't', '1', '2022-02-20 01:41:13', '1',
  4676. '2022-04-20 17:03:10', 0, NULL, '1');
  4677. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4678. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4679. "deleted", "component_name", "always_show")
  4680. VALUES (1225, '租户套餐', '', 2, 0, 1224, 'package', 'eye', 'system/tenantPackage/index', 0, 't', 't', '',
  4681. '2022-02-19 17:44:06', '1', '2022-04-21 01:21:25', 0, NULL, '1');
  4682. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4683. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4684. "deleted", "component_name", "always_show")
  4685. VALUES (1226, '租户套餐查询', 'system:tenant-package:query', 3, 1, 1225, '', '', '', 0, 't', 't', '',
  4686. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4687. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4688. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4689. "deleted", "component_name", "always_show")
  4690. VALUES (1227, '租户套餐创建', 'system:tenant-package:create', 3, 2, 1225, '', '', '', 0, 't', 't', '',
  4691. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4692. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4693. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4694. "deleted", "component_name", "always_show")
  4695. VALUES (1228, '租户套餐更新', 'system:tenant-package:update', 3, 3, 1225, '', '', '', 0, 't', 't', '',
  4696. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4697. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4698. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4699. "deleted", "component_name", "always_show")
  4700. VALUES (1229, '租户套餐删除', 'system:tenant-package:delete', 3, 4, 1225, '', '', '', 0, 't', 't', '',
  4701. '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4702. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4703. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4704. "deleted", "component_name", "always_show")
  4705. VALUES (1237, '文件配置', '', 2, 0, 1243, 'file-config', 'config', 'infra/fileConfig/index', 0, 't', 't', '',
  4706. '2022-03-15 14:35:28', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4707. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4708. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4709. "deleted", "component_name", "always_show")
  4710. VALUES (1238, '文件配置查询', 'infra:file-config:query', 3, 1, 1237, '', '', '', 0, 't', 't', '', '2022-03-15 14:35:28',
  4711. '', '2022-04-20 17:03:10', 0, NULL, '1');
  4712. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4713. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4714. "deleted", "component_name", "always_show")
  4715. VALUES (1239, '文件配置创建', 'infra:file-config:create', 3, 2, 1237, '', '', '', 0, 't', 't', '',
  4716. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4717. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4718. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4719. "deleted", "component_name", "always_show")
  4720. VALUES (1240, '文件配置更新', 'infra:file-config:update', 3, 3, 1237, '', '', '', 0, 't', 't', '',
  4721. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4722. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4723. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4724. "deleted", "component_name", "always_show")
  4725. VALUES (1241, '文件配置删除', 'infra:file-config:delete', 3, 4, 1237, '', '', '', 0, 't', 't', '',
  4726. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4727. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4728. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4729. "deleted", "component_name", "always_show")
  4730. VALUES (1242, '文件配置导出', 'infra:file-config:export', 3, 5, 1237, '', '', '', 0, 't', 't', '',
  4731. '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4732. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4733. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4734. "deleted", "component_name", "always_show")
  4735. VALUES (1243, '文件管理', '', 2, 5, 2, 'file', 'download', NULL, 0, 't', 't', '1', '2022-03-16 23:47:40', '1',
  4736. '2022-04-20 17:03:10', 0, NULL, '1');
  4737. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4738. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4739. "deleted", "component_name", "always_show")
  4740. VALUES (1247, '敏感词管理', '', 2, 13, 1, 'sensitive-word', 'education', 'system/sensitiveWord/index', 0, 't', 't', '',
  4741. '2022-04-07 16:55:03', '1', '2022-04-20 17:03:10', 0, NULL, '1');
  4742. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4743. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4744. "deleted", "component_name", "always_show")
  4745. VALUES (1248, '敏感词查询', 'system:sensitive-word:query', 3, 1, 1247, '', '', '', 0, 't', 't', '',
  4746. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4747. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4748. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4749. "deleted", "component_name", "always_show")
  4750. VALUES (1249, '敏感词创建', 'system:sensitive-word:create', 3, 2, 1247, '', '', '', 0, 't', 't', '',
  4751. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4752. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4753. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4754. "deleted", "component_name", "always_show")
  4755. VALUES (1250, '敏感词更新', 'system:sensitive-word:update', 3, 3, 1247, '', '', '', 0, 't', 't', '',
  4756. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4757. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4758. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4759. "deleted", "component_name", "always_show")
  4760. VALUES (1251, '敏感词删除', 'system:sensitive-word:delete', 3, 4, 1247, '', '', '', 0, 't', 't', '',
  4761. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4762. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4763. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4764. "deleted", "component_name", "always_show")
  4765. VALUES (1252, '敏感词导出', 'system:sensitive-word:export', 3, 5, 1247, '', '', '', 0, 't', 't', '',
  4766. '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', 0, NULL, '1');
  4767. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4768. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4769. "deleted", "component_name", "always_show")
  4770. VALUES (1254, '作者动态', '', 1, 0, 0, 'https://www.zhongxing.cn', 'people', NULL, 0, 't', 't', '1',
  4771. '2022-04-23 01:03:15', '1', '2022-04-23 01:03:15', 0, NULL, '1');
  4772. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4773. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4774. "deleted", "component_name", "always_show")
  4775. VALUES (1255, '数据源配置', '', 2, 1, 2, 'data-source-config', 'rate', 'infra/dataSourceConfig/index', 0, 't', 't', '',
  4776. '2022-04-27 14:37:32', '1', '2022-04-27 22:42:06', 0, NULL, '1');
  4777. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4778. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4779. "deleted", "component_name", "always_show")
  4780. VALUES (1256, '数据源配置查询', 'infra:data-source-config:query', 3, 1, 1255, '', '', '', 0, 't', 't', '',
  4781. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4782. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4783. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4784. "deleted", "component_name", "always_show")
  4785. VALUES (1257, '数据源配置创建', 'infra:data-source-config:create', 3, 2, 1255, '', '', '', 0, 't', 't', '',
  4786. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4787. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4788. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4789. "deleted", "component_name", "always_show")
  4790. VALUES (1258, '数据源配置更新', 'infra:data-source-config:update', 3, 3, 1255, '', '', '', 0, 't', 't', '',
  4791. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4792. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4793. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4794. "deleted", "component_name", "always_show")
  4795. VALUES (1259, '数据源配置删除', 'infra:data-source-config:delete', 3, 4, 1255, '', '', '', 0, 't', 't', '',
  4796. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4797. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4798. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4799. "deleted", "component_name", "always_show")
  4800. VALUES (1260, '数据源配置导出', 'infra:data-source-config:export', 3, 5, 1255, '', '', '', 0, 't', 't', '',
  4801. '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', 0, NULL, '1');
  4802. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4803. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4804. "deleted", "component_name", "always_show")
  4805. VALUES (1261, 'OAuth 2.0', '', 1, 10, 1, 'oauth2', 'people', NULL, 0, 't', 't', '1', '2022-05-09 23:38:17', '1',
  4806. '2022-05-11 23:51:46', 0, NULL, '1');
  4807. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4808. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4809. "deleted", "component_name", "always_show")
  4810. VALUES (1263, '应用管理', '', 2, 0, 1261, 'oauth2/application', 'tool', 'system/oauth2/client/index', 0, 't', 't', '',
  4811. '2022-05-10 16:26:33', '1', '2022-05-11 23:31:36', 0, NULL, '1');
  4812. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4813. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4814. "deleted", "component_name", "always_show")
  4815. VALUES (1264, '客户端查询', 'system:oauth2-client:query', 3, 1, 1263, '', '', '', 0, 't', 't', '',
  4816. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:06', 0, NULL, '1');
  4817. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4818. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4819. "deleted", "component_name", "always_show")
  4820. VALUES (1265, '客户端创建', 'system:oauth2-client:create', 3, 2, 1263, '', '', '', 0, 't', 't', '',
  4821. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:23', 0, NULL, '1');
  4822. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4823. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4824. "deleted", "component_name", "always_show")
  4825. VALUES (1266, '客户端更新', 'system:oauth2-client:update', 3, 3, 1263, '', '', '', 0, 't', 't', '',
  4826. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:28', 0, NULL, '1');
  4827. INSERT INTO "system_menu" ("id", "name", "permission", "type", "sort", "parent_id", "path", "icon", "component",
  4828. "status", "visible", "keep_alive", "creator", "create_time", "updater", "update_time",
  4829. "deleted", "component_name", "always_show")
  4830. VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', 0, 't', 't', '',
  4831. '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', 0, NULL, '1');
  4832. COMMIT;
  4833. -- ----------------------------
  4834. -- Table structure for system_notice
  4835. -- ----------------------------
  4836. DROP TABLE IF EXISTS "system_notice";
  4837. CREATE TABLE "system_notice"
  4838. (
  4839. "id" int8 NOT NULL,
  4840. "title" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  4841. "content" text COLLATE "pg_catalog"."default" NOT NULL,
  4842. "type" int2 NOT NULL,
  4843. "status" int2 NOT NULL,
  4844. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4845. "create_time" timestamp(6) NOT NULL,
  4846. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4847. "update_time" timestamp(6) NOT NULL,
  4848. "deleted" int2 NOT NULL DEFAULT 0,
  4849. "tenant_id" int8 NOT NULL DEFAULT 0
  4850. )
  4851. ;
  4852. COMMENT
  4853. ON COLUMN "system_notice"."id" IS '公告ID';
  4854. COMMENT
  4855. ON COLUMN "system_notice"."title" IS '公告标题';
  4856. COMMENT
  4857. ON COLUMN "system_notice"."content" IS '公告内容';
  4858. COMMENT
  4859. ON COLUMN "system_notice"."type" IS '公告类型(1通知 2公告)';
  4860. COMMENT
  4861. ON COLUMN "system_notice"."status" IS '公告状态(0正常 1关闭)';
  4862. COMMENT
  4863. ON COLUMN "system_notice"."creator" IS '创建者';
  4864. COMMENT
  4865. ON COLUMN "system_notice"."create_time" IS '创建时间';
  4866. COMMENT
  4867. ON COLUMN "system_notice"."updater" IS '更新者';
  4868. COMMENT
  4869. ON COLUMN "system_notice"."update_time" IS '更新时间';
  4870. COMMENT
  4871. ON COLUMN "system_notice"."deleted" IS '是否删除';
  4872. COMMENT
  4873. ON COLUMN "system_notice"."tenant_id" IS '租户编号';
  4874. COMMENT
  4875. ON TABLE "system_notice" IS '通知公告表';
  4876. -- ----------------------------
  4877. -- Records of system_notice
  4878. -- ----------------------------
  4879. BEGIN;
  4880. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4881. "update_time", "deleted", "tenant_id")
  4882. VALUES (1, '非繁的公众', '<p>新版本内容133</p>', 1, 0, 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 21:00:20', 0,
  4883. 1);
  4884. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4885. "update_time", "deleted", "tenant_id")
  4886. VALUES (2, '维护通知:2018-07-01 若依系统凌晨维护',
  4887. '<p><img src="http://test.feifan.iocoder.cn/b7cb3cf49b4b3258bf7309a09dd2f4e5.jpg">维护内容</p>', 2, 1, 'admin',
  4888. '2021-01-05 17:03:48', '1', '2022-05-11 12:34:24', 0, 1);
  4889. INSERT INTO "system_notice" ("id", "title", "content", "type", "status", "creator", "create_time", "updater",
  4890. "update_time", "deleted", "tenant_id")
  4891. VALUES (4, '我是测试标题', '<p>哈哈哈哈123</p>', 1, 0, '110', '2022-02-22 01:01:25', '110', '2022-02-22 01:01:46', 0,
  4892. 121);
  4893. COMMIT;
  4894. -- ----------------------------
  4895. -- Table structure for system_oauth2_access_token
  4896. -- ----------------------------
  4897. DROP TABLE IF EXISTS "system_oauth2_access_token";
  4898. CREATE TABLE "system_oauth2_access_token"
  4899. (
  4900. "id" int8 NOT NULL,
  4901. "user_id" int8 NOT NULL,
  4902. "access_token" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4903. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  4904. "user_type" int2 NOT NULL,
  4905. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4906. "expires_time" timestamp(6) NOT NULL,
  4907. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4908. "create_time" timestamp(6) NOT NULL,
  4909. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4910. "update_time" timestamp(6) NOT NULL,
  4911. "deleted" int2 NOT NULL DEFAULT 0,
  4912. "tenant_id" int8 NOT NULL DEFAULT 0,
  4913. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT '':: character varying
  4914. )
  4915. ;
  4916. COMMENT
  4917. ON COLUMN "system_oauth2_access_token"."id" IS '编号';
  4918. COMMENT
  4919. ON COLUMN "system_oauth2_access_token"."user_id" IS '用户编号';
  4920. COMMENT
  4921. ON COLUMN "system_oauth2_access_token"."access_token" IS '访问令牌';
  4922. COMMENT
  4923. ON COLUMN "system_oauth2_access_token"."refresh_token" IS '刷新令牌';
  4924. COMMENT
  4925. ON COLUMN "system_oauth2_access_token"."user_type" IS '用户类型';
  4926. COMMENT
  4927. ON COLUMN "system_oauth2_access_token"."client_id" IS '客户端编号';
  4928. COMMENT
  4929. ON COLUMN "system_oauth2_access_token"."expires_time" IS '过期时间';
  4930. COMMENT
  4931. ON COLUMN "system_oauth2_access_token"."creator" IS '创建者';
  4932. COMMENT
  4933. ON COLUMN "system_oauth2_access_token"."create_time" IS '创建时间';
  4934. COMMENT
  4935. ON COLUMN "system_oauth2_access_token"."updater" IS '更新者';
  4936. COMMENT
  4937. ON COLUMN "system_oauth2_access_token"."update_time" IS '更新时间';
  4938. COMMENT
  4939. ON COLUMN "system_oauth2_access_token"."deleted" IS '是否删除';
  4940. COMMENT
  4941. ON COLUMN "system_oauth2_access_token"."tenant_id" IS '租户编号';
  4942. COMMENT
  4943. ON COLUMN "system_oauth2_access_token"."scopes" IS '授权范围';
  4944. COMMENT
  4945. ON TABLE "system_oauth2_access_token" IS '刷新令牌';
  4946. -- ----------------------------
  4947. -- Records of system_oauth2_access_token
  4948. -- ----------------------------
  4949. BEGIN;
  4950. COMMIT;
  4951. -- ----------------------------
  4952. -- Table structure for system_oauth2_approve
  4953. -- ----------------------------
  4954. DROP TABLE IF EXISTS "system_oauth2_approve";
  4955. CREATE TABLE "system_oauth2_approve"
  4956. (
  4957. "id" int8 NOT NULL,
  4958. "user_id" int8 NOT NULL,
  4959. "user_type" int2 NOT NULL,
  4960. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4961. "scope" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  4962. "approved" bool NOT NULL,
  4963. "expires_time" timestamp(6) NOT NULL,
  4964. "creator" varchar(64) COLLATE "pg_catalog"."default",
  4965. "create_time" timestamp(6) NOT NULL,
  4966. "updater" varchar(64) COLLATE "pg_catalog"."default",
  4967. "update_time" timestamp(6) NOT NULL,
  4968. "deleted" int2 NOT NULL DEFAULT 0,
  4969. "tenant_id" int8 NOT NULL DEFAULT 0
  4970. )
  4971. ;
  4972. COMMENT
  4973. ON COLUMN "system_oauth2_approve"."id" IS '编号';
  4974. COMMENT
  4975. ON COLUMN "system_oauth2_approve"."user_id" IS '用户编号';
  4976. COMMENT
  4977. ON COLUMN "system_oauth2_approve"."user_type" IS '用户类型';
  4978. COMMENT
  4979. ON COLUMN "system_oauth2_approve"."client_id" IS '客户端编号';
  4980. COMMENT
  4981. ON COLUMN "system_oauth2_approve"."scope" IS '授权范围';
  4982. COMMENT
  4983. ON COLUMN "system_oauth2_approve"."approved" IS '是否接受';
  4984. COMMENT
  4985. ON COLUMN "system_oauth2_approve"."expires_time" IS '过期时间';
  4986. COMMENT
  4987. ON COLUMN "system_oauth2_approve"."creator" IS '创建者';
  4988. COMMENT
  4989. ON COLUMN "system_oauth2_approve"."create_time" IS '创建时间';
  4990. COMMENT
  4991. ON COLUMN "system_oauth2_approve"."updater" IS '更新者';
  4992. COMMENT
  4993. ON COLUMN "system_oauth2_approve"."update_time" IS '更新时间';
  4994. COMMENT
  4995. ON COLUMN "system_oauth2_approve"."deleted" IS '是否删除';
  4996. COMMENT
  4997. ON COLUMN "system_oauth2_approve"."tenant_id" IS '租户编号';
  4998. COMMENT
  4999. ON TABLE "system_oauth2_approve" IS 'OAuth2 批准表';
  5000. -- ----------------------------
  5001. -- Records of system_oauth2_approve
  5002. -- ----------------------------
  5003. BEGIN;
  5004. COMMIT;
  5005. -- ----------------------------
  5006. -- Table structure for system_oauth2_client
  5007. -- ----------------------------
  5008. DROP TABLE IF EXISTS "system_oauth2_client";
  5009. CREATE TABLE "system_oauth2_client"
  5010. (
  5011. "id" int8 NOT NULL,
  5012. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5013. "secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5014. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5015. "logo" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5016. "description" varchar(255) COLLATE "pg_catalog"."default",
  5017. "status" int2 NOT NULL,
  5018. "access_token_validity_seconds" int4 NOT NULL,
  5019. "refresh_token_validity_seconds" int4 NOT NULL,
  5020. "redirect_uris" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5021. "authorized_grant_types" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5022. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  5023. "authorities" varchar(255) COLLATE "pg_catalog"."default",
  5024. "resource_ids" varchar(255) COLLATE "pg_catalog"."default",
  5025. "additional_information" varchar(4096) COLLATE "pg_catalog"."default",
  5026. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5027. "create_time" timestamp(6) NOT NULL,
  5028. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5029. "update_time" timestamp(6) NOT NULL,
  5030. "deleted" int2 NOT NULL DEFAULT 0,
  5031. "auto_approve_scopes" varchar(255) COLLATE "pg_catalog"."default"
  5032. )
  5033. ;
  5034. COMMENT
  5035. ON COLUMN "system_oauth2_client"."id" IS '编号';
  5036. COMMENT
  5037. ON COLUMN "system_oauth2_client"."client_id" IS '客户端编号';
  5038. COMMENT
  5039. ON COLUMN "system_oauth2_client"."secret" IS '客户端密钥';
  5040. COMMENT
  5041. ON COLUMN "system_oauth2_client"."name" IS '应用名';
  5042. COMMENT
  5043. ON COLUMN "system_oauth2_client"."logo" IS '应用图标';
  5044. COMMENT
  5045. ON COLUMN "system_oauth2_client"."description" IS '应用描述';
  5046. COMMENT
  5047. ON COLUMN "system_oauth2_client"."status" IS '状态';
  5048. COMMENT
  5049. ON COLUMN "system_oauth2_client"."access_token_validity_seconds" IS '访问令牌的有效期';
  5050. COMMENT
  5051. ON COLUMN "system_oauth2_client"."refresh_token_validity_seconds" IS '刷新令牌的有效期';
  5052. COMMENT
  5053. ON COLUMN "system_oauth2_client"."redirect_uris" IS '可重定向的 URI 地址';
  5054. COMMENT
  5055. ON COLUMN "system_oauth2_client"."authorized_grant_types" IS '授权类型';
  5056. COMMENT
  5057. ON COLUMN "system_oauth2_client"."scopes" IS '授权范围';
  5058. COMMENT
  5059. ON COLUMN "system_oauth2_client"."authorities" IS '权限';
  5060. COMMENT
  5061. ON COLUMN "system_oauth2_client"."resource_ids" IS '资源';
  5062. COMMENT
  5063. ON COLUMN "system_oauth2_client"."additional_information" IS '附加信息';
  5064. COMMENT
  5065. ON COLUMN "system_oauth2_client"."creator" IS '创建者';
  5066. COMMENT
  5067. ON COLUMN "system_oauth2_client"."create_time" IS '创建时间';
  5068. COMMENT
  5069. ON COLUMN "system_oauth2_client"."updater" IS '更新者';
  5070. COMMENT
  5071. ON COLUMN "system_oauth2_client"."update_time" IS '更新时间';
  5072. COMMENT
  5073. ON COLUMN "system_oauth2_client"."deleted" IS '是否删除';
  5074. COMMENT
  5075. ON COLUMN "system_oauth2_client"."auto_approve_scopes" IS '自动通过的授权范围';
  5076. COMMENT
  5077. ON TABLE "system_oauth2_client" IS 'OAuth2 客户端表';
  5078. -- ----------------------------
  5079. -- Records of system_oauth2_client
  5080. -- ----------------------------
  5081. BEGIN;
  5082. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status",
  5083. "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris",
  5084. "authorized_grant_types", "scopes", "authorities", "resource_ids",
  5085. "additional_information", "creator", "create_time", "updater", "update_time",
  5086. "deleted", "auto_approve_scopes")
  5087. VALUES (1, 'default', 'admin123', '非繁源码', 'http://test.feifan.iocoder.cn/a5e2e244368878a366b516805a4aabf1.png',
  5088. '我是描述', 0, 180, 8640, '["https://www.zhongxing.cn","https://doc.iocoder.cn"]',
  5089. '["password","authorization_code","implicit","refresh_token"]', '["user.read","user.write"]',
  5090. '["system:user:query"]', '[]', '{}', '1', '2022-05-11 21:47:12', '1', '2022-05-12 01:00:20', 0, NULL);
  5091. INSERT INTO "system_oauth2_client" ("id", "client_id", "secret", "name", "logo", "description", "status",
  5092. "access_token_validity_seconds", "refresh_token_validity_seconds", "redirect_uris",
  5093. "authorized_grant_types", "scopes", "authorities", "resource_ids",
  5094. "additional_information", "creator", "create_time", "updater", "update_time",
  5095. "deleted", "auto_approve_scopes")
  5096. VALUES (40, 'test', 'test2', 'biubiu', 'http://test.feifan.iocoder.cn/277a899d573723f1fcdfb57340f00379.png', NULL, 0,
  5097. 1800, 43200, '["https://www.zhongxing.cn"]', '["password","authorization_code","implicit"]', '[]', '[]', '[]',
  5098. '{}', '1', '2022-05-12 00:28:20', '1', '2022-05-25 23:45:33.005', 0, '[]');
  5099. COMMIT;
  5100. -- ----------------------------
  5101. -- Table structure for system_oauth2_code
  5102. -- ----------------------------
  5103. DROP TABLE IF EXISTS "system_oauth2_code";
  5104. CREATE TABLE "system_oauth2_code"
  5105. (
  5106. "id" int8 NOT NULL,
  5107. "user_id" int8 NOT NULL,
  5108. "user_type" int2 NOT NULL,
  5109. "code" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  5110. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5111. "scopes" varchar(255) COLLATE "pg_catalog"."default",
  5112. "expires_time" timestamp(6) NOT NULL,
  5113. "redirect_uri" varchar(255) COLLATE "pg_catalog"."default",
  5114. "state" varchar(255) COLLATE "pg_catalog"."default",
  5115. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5116. "create_time" timestamp(6) NOT NULL,
  5117. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5118. "update_time" timestamp(6) NOT NULL,
  5119. "deleted" int2 NOT NULL DEFAULT 0,
  5120. "tenant_id" int8 NOT NULL DEFAULT 0
  5121. )
  5122. ;
  5123. COMMENT
  5124. ON COLUMN "system_oauth2_code"."id" IS '编号';
  5125. COMMENT
  5126. ON COLUMN "system_oauth2_code"."user_id" IS '用户编号';
  5127. COMMENT
  5128. ON COLUMN "system_oauth2_code"."user_type" IS '用户类型';
  5129. COMMENT
  5130. ON COLUMN "system_oauth2_code"."code" IS '授权码';
  5131. COMMENT
  5132. ON COLUMN "system_oauth2_code"."client_id" IS '客户端编号';
  5133. COMMENT
  5134. ON COLUMN "system_oauth2_code"."scopes" IS '授权范围';
  5135. COMMENT
  5136. ON COLUMN "system_oauth2_code"."expires_time" IS '过期时间';
  5137. COMMENT
  5138. ON COLUMN "system_oauth2_code"."redirect_uri" IS '可重定向的 URI 地址';
  5139. COMMENT
  5140. ON COLUMN "system_oauth2_code"."state" IS '状态';
  5141. COMMENT
  5142. ON COLUMN "system_oauth2_code"."creator" IS '创建者';
  5143. COMMENT
  5144. ON COLUMN "system_oauth2_code"."create_time" IS '创建时间';
  5145. COMMENT
  5146. ON COLUMN "system_oauth2_code"."updater" IS '更新者';
  5147. COMMENT
  5148. ON COLUMN "system_oauth2_code"."update_time" IS '更新时间';
  5149. COMMENT
  5150. ON COLUMN "system_oauth2_code"."deleted" IS '是否删除';
  5151. COMMENT
  5152. ON COLUMN "system_oauth2_code"."tenant_id" IS '租户编号';
  5153. COMMENT
  5154. ON TABLE "system_oauth2_code" IS 'OAuth2 授权码表';
  5155. -- ----------------------------
  5156. -- Records of system_oauth2_code
  5157. -- ----------------------------
  5158. BEGIN;
  5159. COMMIT;
  5160. -- ----------------------------
  5161. -- Table structure for system_oauth2_refresh_token
  5162. -- ----------------------------
  5163. DROP TABLE IF EXISTS "system_oauth2_refresh_token";
  5164. CREATE TABLE "system_oauth2_refresh_token"
  5165. (
  5166. "id" int8 NOT NULL,
  5167. "user_id" int8 NOT NULL,
  5168. "refresh_token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  5169. "user_type" int2 NOT NULL,
  5170. "client_id" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  5171. "expires_time" timestamp(6) NOT NULL,
  5172. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5173. "create_time" timestamp(6) NOT NULL,
  5174. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5175. "update_time" timestamp(6) NOT NULL,
  5176. "deleted" int2 NOT NULL DEFAULT 0,
  5177. "tenant_id" int8 NOT NULL DEFAULT 0,
  5178. "scopes" varchar(255) COLLATE "pg_catalog"."default" DEFAULT '':: character varying
  5179. )
  5180. ;
  5181. COMMENT
  5182. ON COLUMN "system_oauth2_refresh_token"."id" IS '编号';
  5183. COMMENT
  5184. ON COLUMN "system_oauth2_refresh_token"."user_id" IS '用户编号';
  5185. COMMENT
  5186. ON COLUMN "system_oauth2_refresh_token"."refresh_token" IS '刷新令牌';
  5187. COMMENT
  5188. ON COLUMN "system_oauth2_refresh_token"."user_type" IS '用户类型';
  5189. COMMENT
  5190. ON COLUMN "system_oauth2_refresh_token"."client_id" IS '客户端编号';
  5191. COMMENT
  5192. ON COLUMN "system_oauth2_refresh_token"."expires_time" IS '过期时间';
  5193. COMMENT
  5194. ON COLUMN "system_oauth2_refresh_token"."creator" IS '创建者';
  5195. COMMENT
  5196. ON COLUMN "system_oauth2_refresh_token"."create_time" IS '创建时间';
  5197. COMMENT
  5198. ON COLUMN "system_oauth2_refresh_token"."updater" IS '更新者';
  5199. COMMENT
  5200. ON COLUMN "system_oauth2_refresh_token"."update_time" IS '更新时间';
  5201. COMMENT
  5202. ON COLUMN "system_oauth2_refresh_token"."deleted" IS '是否删除';
  5203. COMMENT
  5204. ON COLUMN "system_oauth2_refresh_token"."tenant_id" IS '租户编号';
  5205. COMMENT
  5206. ON COLUMN "system_oauth2_refresh_token"."scopes" IS '授权范围';
  5207. COMMENT
  5208. ON TABLE "system_oauth2_refresh_token" IS '刷新令牌';
  5209. -- ----------------------------
  5210. -- Records of system_oauth2_refresh_token
  5211. -- ----------------------------
  5212. BEGIN;
  5213. COMMIT;
  5214. -- ----------------------------
  5215. -- Table structure for system_operate_log
  5216. -- ----------------------------
  5217. DROP TABLE IF EXISTS "system_operate_log";
  5218. CREATE TABLE "system_operate_log"
  5219. (
  5220. "id" int8 NOT NULL,
  5221. "trace_id" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  5222. "user_id" int8 NOT NULL,
  5223. "user_type" int2 NOT NULL,
  5224. "module" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5225. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5226. "type" int8 NOT NULL,
  5227. "content" varchar(2000) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '':: character varying,
  5228. "exts" varchar(512) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '':: character varying,
  5229. "request_method" varchar(16) COLLATE "pg_catalog"."default",
  5230. "request_url" varchar(255) COLLATE "pg_catalog"."default",
  5231. "user_ip" varchar(50) COLLATE "pg_catalog"."default",
  5232. "user_agent" varchar(200) COLLATE "pg_catalog"."default",
  5233. "java_method" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  5234. "java_method_args" varchar(8000) COLLATE "pg_catalog"."default",
  5235. "start_time" timestamp(6) NOT NULL,
  5236. "duration" int4 NOT NULL,
  5237. "result_code" int4 NOT NULL,
  5238. "result_msg" varchar(512) COLLATE "pg_catalog"."default",
  5239. "result_data" varchar(4000) COLLATE "pg_catalog"."default",
  5240. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5241. "create_time" timestamp(6) NOT NULL,
  5242. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5243. "update_time" timestamp(6) NOT NULL,
  5244. "deleted" int2 NOT NULL DEFAULT 0,
  5245. "tenant_id" int8 NOT NULL DEFAULT 0
  5246. )
  5247. ;
  5248. COMMENT
  5249. ON COLUMN "system_operate_log"."id" IS '日志主键';
  5250. COMMENT
  5251. ON COLUMN "system_operate_log"."trace_id" IS '链路追踪编号';
  5252. COMMENT
  5253. ON COLUMN "system_operate_log"."user_id" IS '用户编号';
  5254. COMMENT
  5255. ON COLUMN "system_operate_log"."user_type" IS '用户类型';
  5256. COMMENT
  5257. ON COLUMN "system_operate_log"."module" IS '模块标题';
  5258. COMMENT
  5259. ON COLUMN "system_operate_log"."name" IS '操作名';
  5260. COMMENT
  5261. ON COLUMN "system_operate_log"."type" IS '操作分类';
  5262. COMMENT
  5263. ON COLUMN "system_operate_log"."content" IS '操作内容';
  5264. COMMENT
  5265. ON COLUMN "system_operate_log"."exts" IS '拓展字段';
  5266. COMMENT
  5267. ON COLUMN "system_operate_log"."request_method" IS '请求方法名';
  5268. COMMENT
  5269. ON COLUMN "system_operate_log"."request_url" IS '请求地址';
  5270. COMMENT
  5271. ON COLUMN "system_operate_log"."user_ip" IS '用户 IP';
  5272. COMMENT
  5273. ON COLUMN "system_operate_log"."user_agent" IS '浏览器 UA';
  5274. COMMENT
  5275. ON COLUMN "system_operate_log"."java_method" IS 'Java 方法名';
  5276. COMMENT
  5277. ON COLUMN "system_operate_log"."java_method_args" IS 'Java 方法的参数';
  5278. COMMENT
  5279. ON COLUMN "system_operate_log"."start_time" IS '操作时间';
  5280. COMMENT
  5281. ON COLUMN "system_operate_log"."duration" IS '执行时长';
  5282. COMMENT
  5283. ON COLUMN "system_operate_log"."result_code" IS '结果码';
  5284. COMMENT
  5285. ON COLUMN "system_operate_log"."result_msg" IS '结果提示';
  5286. COMMENT
  5287. ON COLUMN "system_operate_log"."result_data" IS '结果数据';
  5288. COMMENT
  5289. ON COLUMN "system_operate_log"."creator" IS '创建者';
  5290. COMMENT
  5291. ON COLUMN "system_operate_log"."create_time" IS '创建时间';
  5292. COMMENT
  5293. ON COLUMN "system_operate_log"."updater" IS '更新者';
  5294. COMMENT
  5295. ON COLUMN "system_operate_log"."update_time" IS '更新时间';
  5296. COMMENT
  5297. ON COLUMN "system_operate_log"."deleted" IS '是否删除';
  5298. COMMENT
  5299. ON COLUMN "system_operate_log"."tenant_id" IS '租户编号';
  5300. COMMENT
  5301. ON TABLE "system_operate_log" IS '操作日志记录';
  5302. -- ----------------------------
  5303. -- Records of system_operate_log
  5304. -- ----------------------------
  5305. BEGIN;
  5306. COMMIT;
  5307. -- ----------------------------
  5308. -- Table structure for system_post
  5309. -- ----------------------------
  5310. DROP TABLE IF EXISTS "system_post";
  5311. CREATE TABLE "system_post"
  5312. (
  5313. "id" int8 NOT NULL DEFAULT 0,
  5314. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  5315. "name" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  5316. "sort" int4 NOT NULL,
  5317. "status" int2 NOT NULL,
  5318. "remark" varchar(500) COLLATE "pg_catalog"."default",
  5319. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5320. "create_time" timestamp(6) NOT NULL,
  5321. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5322. "update_time" timestamp(6) NOT NULL,
  5323. "deleted" int2 NOT NULL DEFAULT 0,
  5324. "tenant_id" int8 NOT NULL DEFAULT 0
  5325. )
  5326. ;
  5327. COMMENT
  5328. ON COLUMN "system_post"."id" IS '岗位ID';
  5329. COMMENT
  5330. ON COLUMN "system_post"."code" IS '岗位编码';
  5331. COMMENT
  5332. ON COLUMN "system_post"."name" IS '岗位名称';
  5333. COMMENT
  5334. ON COLUMN "system_post"."sort" IS '显示顺序';
  5335. COMMENT
  5336. ON COLUMN "system_post"."status" IS '状态(0正常 1停用)';
  5337. COMMENT
  5338. ON COLUMN "system_post"."remark" IS '备注';
  5339. COMMENT
  5340. ON COLUMN "system_post"."creator" IS '创建者';
  5341. COMMENT
  5342. ON COLUMN "system_post"."create_time" IS '创建时间';
  5343. COMMENT
  5344. ON COLUMN "system_post"."updater" IS '更新者';
  5345. COMMENT
  5346. ON COLUMN "system_post"."update_time" IS '更新时间';
  5347. COMMENT
  5348. ON COLUMN "system_post"."deleted" IS '是否删除';
  5349. COMMENT
  5350. ON COLUMN "system_post"."tenant_id" IS '租户编号';
  5351. COMMENT
  5352. ON TABLE "system_post" IS '岗位信息表';
  5353. -- ----------------------------
  5354. -- Records of system_post
  5355. -- ----------------------------
  5356. BEGIN;
  5357. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater",
  5358. "update_time", "deleted", "tenant_id")
  5359. VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-06 17:03:48', '1', '2022-04-19 16:53:39', 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 (2, 'se', '项目经理', 2, 0, '', 'admin', '2021-01-05 17:03:48', '1', '2021-12-12 10:47:47', 0, 1);
  5363. INSERT INTO "system_post" ("id", "code", "name", "sort", "status", "remark", "creator", "create_time", "updater",
  5364. "update_time", "deleted", "tenant_id")
  5365. VALUES (4, 'user', '普通员工', 4, 0, '111', 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 22:46:35', 0, 1);
  5366. COMMIT;
  5367. -- ----------------------------
  5368. -- Table structure for system_role
  5369. -- ----------------------------
  5370. DROP TABLE IF EXISTS "system_role";
  5371. CREATE TABLE "system_role"
  5372. (
  5373. "id" int8 NOT NULL,
  5374. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  5375. "code" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  5376. "sort" int4 NOT NULL,
  5377. "data_scope" int2 NOT NULL,
  5378. "data_scope_dept_ids" varchar(500) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
  5379. "status" int2 NOT NULL,
  5380. "type" int2 NOT NULL,
  5381. "remark" varchar(500) COLLATE "pg_catalog"."default",
  5382. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5383. "create_time" timestamp(6) NOT NULL,
  5384. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5385. "update_time" timestamp(6) NOT NULL,
  5386. "deleted" int2 NOT NULL DEFAULT 0,
  5387. "tenant_id" int8 NOT NULL DEFAULT 0
  5388. )
  5389. ;
  5390. COMMENT
  5391. ON COLUMN "system_role"."id" IS '角色ID';
  5392. COMMENT
  5393. ON COLUMN "system_role"."name" IS '角色名称';
  5394. COMMENT
  5395. ON COLUMN "system_role"."code" IS '角色权限字符串';
  5396. COMMENT
  5397. ON COLUMN "system_role"."sort" IS '显示顺序';
  5398. COMMENT
  5399. ON COLUMN "system_role"."data_scope" IS '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)';
  5400. COMMENT
  5401. ON COLUMN "system_role"."data_scope_dept_ids" IS '数据范围(指定部门数组)';
  5402. COMMENT
  5403. ON COLUMN "system_role"."status" IS '角色状态(0正常 1停用)';
  5404. COMMENT
  5405. ON COLUMN "system_role"."type" IS '角色类型';
  5406. COMMENT
  5407. ON COLUMN "system_role"."remark" IS '备注';
  5408. COMMENT
  5409. ON COLUMN "system_role"."creator" IS '创建者';
  5410. COMMENT
  5411. ON COLUMN "system_role"."create_time" IS '创建时间';
  5412. COMMENT
  5413. ON COLUMN "system_role"."updater" IS '更新者';
  5414. COMMENT
  5415. ON COLUMN "system_role"."update_time" IS '更新时间';
  5416. COMMENT
  5417. ON COLUMN "system_role"."deleted" IS '是否删除';
  5418. COMMENT
  5419. ON COLUMN "system_role"."tenant_id" IS '租户编号';
  5420. COMMENT
  5421. ON TABLE "system_role" IS '角色信息表';
  5422. -- ----------------------------
  5423. -- Records of system_role
  5424. -- ----------------------------
  5425. BEGIN;
  5426. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5427. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5428. VALUES (1, '超级管理员', 'super_admin', 1, 1, '', 0, 1, '超级管理员', 'admin', '2021-01-05 17:03:48', '',
  5429. '2022-02-22 05:08:21', 0, 1);
  5430. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5431. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5432. VALUES (2, '普通角色', 'common', 2, 2, '', 0, 1, '普通角色', 'admin', '2021-01-05 17:03:48', '', '2022-02-22 05:08:20',
  5433. 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 (101, '测试账号', 'test', 0, 1, '[]', 0, 2, '132', '', '2021-01-06 13:49:35', '1', '2022-04-01 21:37:13', 0, 1);
  5437. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5438. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5439. VALUES (109, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-02-22 00:56:14', '1',
  5440. '2022-02-22 00:56:14', 0, 121);
  5441. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5442. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5443. VALUES (110, '测试角色', 'test', 0, 1, '[]', 0, 2, '嘿嘿', '110', '2022-02-23 00:14:34', '110', '2022-02-23 13:14:58',
  5444. 0, 121);
  5445. INSERT INTO "system_role" ("id", "name", "code", "sort", "data_scope", "data_scope_dept_ids", "status", "type",
  5446. "remark", "creator", "create_time", "updater", "update_time", "deleted", "tenant_id")
  5447. VALUES (111, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-03-07 21:37:58', '1',
  5448. '2022-03-07 21:37:58', 0, 122);
  5449. COMMIT;
  5450. -- ----------------------------
  5451. -- Table structure for system_role_menu
  5452. -- ----------------------------
  5453. DROP TABLE IF EXISTS "system_role_menu";
  5454. CREATE TABLE "system_role_menu"
  5455. (
  5456. "id" int8 NOT NULL,
  5457. "role_id" int8 NOT NULL,
  5458. "menu_id" int8 NOT NULL,
  5459. "creator" varchar(64) COLLATE "pg_catalog"."default",
  5460. "create_time" timestamp(6) NOT NULL,
  5461. "updater" varchar(64) COLLATE "pg_catalog"."default",
  5462. "update_time" timestamp(6) NOT NULL,
  5463. "deleted" int2 NOT NULL DEFAULT 0,
  5464. "tenant_id" int8 NOT NULL DEFAULT 0
  5465. )
  5466. ;
  5467. COMMENT
  5468. ON COLUMN "system_role_menu"."id" IS '自增编号';
  5469. COMMENT
  5470. ON COLUMN "system_role_menu"."role_id" IS '角色ID';
  5471. COMMENT
  5472. ON COLUMN "system_role_menu"."menu_id" IS '菜单ID';
  5473. COMMENT
  5474. ON COLUMN "system_role_menu"."creator" IS '创建者';
  5475. COMMENT
  5476. ON COLUMN "system_role_menu"."create_time" IS '创建时间';
  5477. COMMENT
  5478. ON COLUMN "system_role_menu"."updater" IS '更新者';
  5479. COMMENT
  5480. ON COLUMN "system_role_menu"."update_time" IS '更新时间';
  5481. COMMENT
  5482. ON COLUMN "system_role_menu"."deleted" IS '是否删除';
  5483. COMMENT
  5484. ON COLUMN "system_role_menu"."tenant_id" IS '租户编号';
  5485. COMMENT
  5486. ON TABLE "system_role_menu" IS '角色和菜单关联表';
  5487. -- ----------------------------
  5488. -- Records of system_role_menu
  5489. -- ----------------------------
  5490. BEGIN;
  5491. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5492. "deleted", "tenant_id")
  5493. VALUES (263, 109, 1, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 0, 121);
  5494. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5495. "deleted", "tenant_id")
  5496. VALUES (434, 2, 1, '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 (454, 2, 1093, '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 (455, 2, 1094, '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 (460, 2, 1100, '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 (467, 2, 1107, '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 (470, 2, 1110, '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 (476, 2, 1117, '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 (477, 2, 100, '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 (478, 2, 101, '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 (479, 2, 102, '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 (480, 2, 1126, '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 (481, 2, 103, '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 (483, 2, 104, '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 (485, 2, 105, '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 (488, 2, 107, '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 (490, 2, 108, '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 (492, 2, 109, '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 (498, 2, 1138, '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 (523, 2, 1224, '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 (524, 2, 1225, '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 (541, 2, 500, '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 (543, 2, 501, '1', '2022-02-22 13:09:12', '1', '2022-02-22 13:09:12', 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 (675, 2, 2, '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 (689, 2, 1077, '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 (690, 2, 1078, '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 (692, 2, 1083, '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 (693, 2, 1084, '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 (699, 2, 1090, '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 (703, 2, 106, '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 (704, 2, 110, '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 (705, 2, 111, '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 (706, 2, 112, '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 (707, 2, 113, '1', '2022-02-22 13:16:57', '1', '2022-02-22 13:16:57', 0, 1);
  5593. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5594. "deleted", "tenant_id")
  5595. VALUES (1296, 110, 1, '110', '2022-02-23 00:23:55', '110', '2022-02-23 00:23:55', 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 (1486, 109, 103, '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 (1487, 109, 104, '1', '2022-02-23 19:32:14', '1', '2022-02-23 19:32:14', 0, 121);
  5602. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5603. "deleted", "tenant_id")
  5604. VALUES (1489, 1, 1, '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 (1490, 1, 2, '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 (1494, 1, 1077, '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 (1495, 1, 1078, '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 (1496, 1, 1083, '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 (1497, 1, 1084, '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 (1498, 1, 1090, '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 (1499, 1, 1093, '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 (1500, 1, 1094, '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 (1501, 1, 1100, '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 (1502, 1, 1107, '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 (1503, 1, 1110, '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 (1505, 1, 1117, '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 (1506, 1, 100, '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 (1507, 1, 101, '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 (1508, 1, 102, '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 (1509, 1, 1126, '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 (1510, 1, 103, '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 (1511, 1, 104, '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 (1512, 1, 105, '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 (1513, 1, 106, '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 (1514, 1, 107, '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 (1515, 1, 108, '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 (1516, 1, 109, '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 (1517, 1, 110, '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 (1518, 1, 111, '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 (1519, 1, 112, '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 (1520, 1, 113, '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 (1522, 1, 1138, '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 (1525, 1, 1224, '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 (1526, 1, 1225, '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 (1527, 1, 500, '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 (1528, 1, 501, '1', '2022-02-23 20:03:57', '1', '2022-02-23 20:03:57', 0, 1);
  5701. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5702. "deleted", "tenant_id")
  5703. VALUES (1529, 109, 1024, '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 (1530, 109, 1025, '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 (1536, 109, 1017, '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 (1537, 109, 1018, '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 (1538, 109, 1019, '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 (1539, 109, 1020, '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 (1540, 109, 1021, '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 (1541, 109, 1022, '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 (1542, 109, 1023, '1', '2022-02-23 20:30:14', '1', '2022-02-23 20:30:14', 0, 121);
  5728. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5729. "deleted", "tenant_id")
  5730. VALUES (1576, 111, 1024, '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 (1577, 111, 1025, '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 (1578, 111, 1, '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 (1584, 111, 103, '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 (1585, 111, 104, '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 (1587, 111, 1017, '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 (1588, 111, 1018, '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 (1589, 111, 1019, '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 (1590, 111, 1020, '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 (1591, 111, 1021, '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 (1592, 111, 1022, '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 (1593, 111, 1023, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  5764. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5765. "deleted", "tenant_id")
  5766. VALUES (1594, 109, 102, '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 (1595, 109, 1013, '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 (1596, 109, 1014, '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 (1597, 109, 1015, '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 (1598, 109, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 121);
  5779. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5780. "deleted", "tenant_id")
  5781. VALUES (1599, 111, 102, '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 (1600, 111, 1013, '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 (1601, 111, 1014, '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 (1602, 111, 1015, '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 (1603, 111, 1016, '1', '2022-03-19 18:39:13', '1', '2022-03-19 18:39:13', 0, 122);
  5794. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  5795. "deleted", "tenant_id")
  5796. VALUES (1604, 101, 1216, '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 (1605, 101, 1217, '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 (1606, 101, 1218, '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 (1607, 101, 1219, '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 (1608, 101, 1220, '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 (1609, 101, 1221, '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 (1610, 101, 5, '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 (1611, 101, 1222, '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 (1612, 101, 1118, '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 (1613, 101, 1119, '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 (1614, 101, 1120, '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 (1615, 101, 1185, '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 (1616, 101, 1186, '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 (1617, 101, 1187, '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 (1618, 101, 1188, '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 (1619, 101, 1189, '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 (1620, 101, 1190, '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 (1621, 101, 1191, '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 (1622, 101, 1192, '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 (1623, 101, 1193, '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 (1624, 101, 1194, '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 (1625, 101, 1195, '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 (1626, 101, 1196, '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 (1627, 101, 1197, '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 (1628, 101, 1198, '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 (1629, 101, 1199, '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 (1630, 101, 1200, '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 (1631, 101, 1201, '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 (1632, 101, 1202, '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 (1633, 101, 1207, '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 (1634, 101, 1208, '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 (1635, 101, 1209, '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 (1636, 101, 1210, '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 (1637, 101, 1211, '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 (1638, 101, 1212, '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 (1639, 101, 1213, '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 (1640, 101, 1215, '1', '2022-03-19 21:45:52', '1', '2022-03-19 21:45:52', 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 (1641, 101, 2, '1', '2022-04-01 22:21:24', '1', '2022-04-01 22:21:24', 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 (1642, 101, 1031, '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 (1643, 101, 1032, '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 (1644, 101, 1033, '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 (1645, 101, 1034, '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 (1646, 101, 1035, '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 (1647, 101, 1050, '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 (1648, 101, 1051, '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 (1649, 101, 1052, '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 (1650, 101, 1053, '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 (1651, 101, 1054, '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 (1652, 101, 1056, '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 (1653, 101, 1057, '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 (1654, 101, 1058, '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 (1655, 101, 1059, '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 (1656, 101, 1060, '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 (1657, 101, 1066, '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 (1658, 101, 1067, '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 (1659, 101, 1070, '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 (1660, 101, 1071, '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 (1661, 101, 1072, '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 (1662, 101, 1073, '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 (1663, 101, 1074, '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 (1664, 101, 1075, '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 (1665, 101, 1076, '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 (1666, 101, 1077, '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 (1667, 101, 1078, '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 (1668, 101, 1082, '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 (1669, 101, 1083, '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 (1670, 101, 1084, '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 (1671, 101, 1085, '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 (1672, 101, 1086, '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 (1673, 101, 1087, '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 (1674, 101, 1088, '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 (1675, 101, 1089, '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 (1676, 101, 1090, '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 (1677, 101, 1091, '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 (1678, 101, 1092, '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 (1679, 101, 1237, '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 (1680, 101, 1238, '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 (1681, 101, 1239, '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 (1682, 101, 1240, '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 (1683, 101, 1241, '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 (1684, 101, 1242, '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 (1685, 101, 1243, '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 (1687, 101, 106, '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 (1688, 101, 110, '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 (1689, 101, 111, '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 (1690, 101, 112, '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 (1691, 101, 113, '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 (1692, 101, 114, '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 (1693, 101, 115, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6061. INSERT INTO "system_role_menu" ("id", "role_id", "menu_id", "creator", "create_time", "updater", "update_time",
  6062. "deleted", "tenant_id")
  6063. VALUES (1694, 101, 116, '1', '2022-04-01 22:21:37', '1', '2022-04-01 22:21:37', 0, 1);
  6064. COMMIT;
  6065. -- ----------------------------
  6066. -- Table structure for system_sensitive_word
  6067. -- ----------------------------
  6068. DROP TABLE IF EXISTS "system_sensitive_word";
  6069. CREATE TABLE "system_sensitive_word"
  6070. (
  6071. "id" int8 NOT NULL,
  6072. "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6073. "description" varchar(512) COLLATE "pg_catalog"."default",
  6074. "tags" varchar(255) COLLATE "pg_catalog"."default",
  6075. "status" int2 NOT NULL,
  6076. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6077. "create_time" timestamp(6) NOT NULL,
  6078. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6079. "update_time" timestamp(6) NOT NULL,
  6080. "deleted" int2 NOT NULL DEFAULT 0
  6081. )
  6082. ;
  6083. COMMENT
  6084. ON COLUMN "system_sensitive_word"."id" IS '编号';
  6085. COMMENT
  6086. ON COLUMN "system_sensitive_word"."name" IS '敏感词';
  6087. COMMENT
  6088. ON COLUMN "system_sensitive_word"."description" IS '描述';
  6089. COMMENT
  6090. ON COLUMN "system_sensitive_word"."tags" IS '标签数组';
  6091. COMMENT
  6092. ON COLUMN "system_sensitive_word"."status" IS '状态';
  6093. COMMENT
  6094. ON COLUMN "system_sensitive_word"."creator" IS '创建者';
  6095. COMMENT
  6096. ON COLUMN "system_sensitive_word"."create_time" IS '创建时间';
  6097. COMMENT
  6098. ON COLUMN "system_sensitive_word"."updater" IS '更新者';
  6099. COMMENT
  6100. ON COLUMN "system_sensitive_word"."update_time" IS '更新时间';
  6101. COMMENT
  6102. ON COLUMN "system_sensitive_word"."deleted" IS '是否删除';
  6103. COMMENT
  6104. ON TABLE "system_sensitive_word" IS '敏感词';
  6105. -- ----------------------------
  6106. -- Records of system_sensitive_word
  6107. -- ----------------------------
  6108. BEGIN;
  6109. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater",
  6110. "update_time", "deleted")
  6111. VALUES (3, '土豆', '好呀', '蔬菜,短信', 0, '1', '2022-04-08 21:07:12', '1', '2022-04-09 10:28:14', 0);
  6112. INSERT INTO "system_sensitive_word" ("id", "name", "description", "tags", "status", "creator", "create_time", "updater",
  6113. "update_time", "deleted")
  6114. VALUES (4, 'XXX', NULL, '短信', 0, '1', '2022-04-08 21:27:49', '1', '2022-04-08 21:27:49', 0);
  6115. COMMIT;
  6116. -- ----------------------------
  6117. -- Table structure for system_sms_channel
  6118. -- ----------------------------
  6119. DROP TABLE IF EXISTS "system_sms_channel";
  6120. CREATE TABLE "system_sms_channel"
  6121. (
  6122. "id" int8 NOT NULL,
  6123. "signature" varchar(12) COLLATE "pg_catalog"."default" NOT NULL,
  6124. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6125. "status" int2 NOT NULL,
  6126. "remark" varchar(255) COLLATE "pg_catalog"."default",
  6127. "api_key" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  6128. "api_secret" varchar(128) COLLATE "pg_catalog"."default",
  6129. "callback_url" varchar(255) COLLATE "pg_catalog"."default",
  6130. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6131. "create_time" timestamp(6) NOT NULL,
  6132. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6133. "update_time" timestamp(6) NOT NULL,
  6134. "deleted" int2 NOT NULL DEFAULT 0
  6135. )
  6136. ;
  6137. COMMENT
  6138. ON COLUMN "system_sms_channel"."id" IS '编号';
  6139. COMMENT
  6140. ON COLUMN "system_sms_channel"."signature" IS '短信签名';
  6141. COMMENT
  6142. ON COLUMN "system_sms_channel"."code" IS '渠道编码';
  6143. COMMENT
  6144. ON COLUMN "system_sms_channel"."status" IS '开启状态';
  6145. COMMENT
  6146. ON COLUMN "system_sms_channel"."remark" IS '备注';
  6147. COMMENT
  6148. ON COLUMN "system_sms_channel"."api_key" IS '短信 API 的账号';
  6149. COMMENT
  6150. ON COLUMN "system_sms_channel"."api_secret" IS '短信 API 的秘钥';
  6151. COMMENT
  6152. ON COLUMN "system_sms_channel"."callback_url" IS '短信发送回调 URL';
  6153. COMMENT
  6154. ON COLUMN "system_sms_channel"."creator" IS '创建者';
  6155. COMMENT
  6156. ON COLUMN "system_sms_channel"."create_time" IS '创建时间';
  6157. COMMENT
  6158. ON COLUMN "system_sms_channel"."updater" IS '更新者';
  6159. COMMENT
  6160. ON COLUMN "system_sms_channel"."update_time" IS '更新时间';
  6161. COMMENT
  6162. ON COLUMN "system_sms_channel"."deleted" IS '是否删除';
  6163. COMMENT
  6164. ON TABLE "system_sms_channel" IS '短信渠道';
  6165. -- ----------------------------
  6166. -- Records of system_sms_channel
  6167. -- ----------------------------
  6168. BEGIN;
  6169. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6170. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6171. VALUES (2, 'Ballcat', 'ALIYUN', 0, '啦啦啦', 'LTAI5tCnKso2uG3kJ5gRav88', 'fGJ5SNXL7P1NHNRmJ7DJaMJGPyE55C', NULL, '',
  6172. '2021-03-31 11:53:10', '1', '2021-04-14 00:08:37', 0);
  6173. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6174. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6175. VALUES (4, '测试渠道', 'DEBUG_DING_TALK', 0, '123', '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859',
  6176. 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2021-04-13 00:23:14', '1',
  6177. '2022-03-27 20:29:49', 0);
  6178. INSERT INTO "system_sms_channel" ("id", "signature", "code", "status", "remark", "api_key", "api_secret",
  6179. "callback_url", "creator", "create_time", "updater", "update_time", "deleted")
  6180. VALUES (6, '测试演示', 'DEBUG_DING_TALK', 0, NULL, '696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859',
  6181. 'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, '1', '2022-04-10 23:07:59', '1',
  6182. '2022-04-10 23:07:59', 0);
  6183. COMMIT;
  6184. -- ----------------------------
  6185. -- Table structure for system_sms_code
  6186. -- ----------------------------
  6187. DROP TABLE IF EXISTS "system_sms_code";
  6188. CREATE TABLE "system_sms_code"
  6189. (
  6190. "id" int8 NOT NULL,
  6191. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  6192. "code" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  6193. "create_ip" varchar(15) COLLATE "pg_catalog"."default" NOT NULL,
  6194. "scene" int2 NOT NULL,
  6195. "today_index" int2 NOT NULL,
  6196. "used" bool NOT NULL,
  6197. "used_time" timestamp(6),
  6198. "used_ip" varchar(255) COLLATE "pg_catalog"."default",
  6199. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6200. "create_time" timestamp(6) NOT NULL,
  6201. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6202. "update_time" timestamp(6) NOT NULL,
  6203. "deleted" int2 NOT NULL DEFAULT 0,
  6204. "tenant_id" int8 NOT NULL DEFAULT 0
  6205. )
  6206. ;
  6207. COMMENT
  6208. ON COLUMN "system_sms_code"."id" IS '编号';
  6209. COMMENT
  6210. ON COLUMN "system_sms_code"."mobile" IS '手机号';
  6211. COMMENT
  6212. ON COLUMN "system_sms_code"."code" IS '验证码';
  6213. COMMENT
  6214. ON COLUMN "system_sms_code"."create_ip" IS '创建 IP';
  6215. COMMENT
  6216. ON COLUMN "system_sms_code"."scene" IS '发送场景';
  6217. COMMENT
  6218. ON COLUMN "system_sms_code"."today_index" IS '今日发送的第几条';
  6219. COMMENT
  6220. ON COLUMN "system_sms_code"."used" IS '是否使用';
  6221. COMMENT
  6222. ON COLUMN "system_sms_code"."used_time" IS '使用时间';
  6223. COMMENT
  6224. ON COLUMN "system_sms_code"."used_ip" IS '使用 IP';
  6225. COMMENT
  6226. ON COLUMN "system_sms_code"."creator" IS '创建者';
  6227. COMMENT
  6228. ON COLUMN "system_sms_code"."create_time" IS '创建时间';
  6229. COMMENT
  6230. ON COLUMN "system_sms_code"."updater" IS '更新者';
  6231. COMMENT
  6232. ON COLUMN "system_sms_code"."update_time" IS '更新时间';
  6233. COMMENT
  6234. ON COLUMN "system_sms_code"."deleted" IS '是否删除';
  6235. COMMENT
  6236. ON COLUMN "system_sms_code"."tenant_id" IS '租户编号';
  6237. COMMENT
  6238. ON TABLE "system_sms_code" IS '手机验证码';
  6239. -- ----------------------------
  6240. -- Records of system_sms_code
  6241. -- ----------------------------
  6242. BEGIN;
  6243. COMMIT;
  6244. -- ----------------------------
  6245. -- Table structure for system_sms_log
  6246. -- ----------------------------
  6247. DROP TABLE IF EXISTS "system_sms_log";
  6248. CREATE TABLE "system_sms_log"
  6249. (
  6250. "id" int8 NOT NULL,
  6251. "channel_id" int8 NOT NULL,
  6252. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6253. "template_id" int8 NOT NULL,
  6254. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6255. "template_type" int2 NOT NULL,
  6256. "template_content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6257. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6258. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6259. "mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
  6260. "user_id" int8,
  6261. "user_type" int2,
  6262. "send_status" int2 NOT NULL,
  6263. "send_time" timestamp(6),
  6264. "send_code" int4,
  6265. "send_msg" varchar(255) COLLATE "pg_catalog"."default",
  6266. "api_send_code" varchar(63) COLLATE "pg_catalog"."default",
  6267. "api_send_msg" varchar(255) COLLATE "pg_catalog"."default",
  6268. "api_request_id" varchar(255) COLLATE "pg_catalog"."default",
  6269. "api_serial_no" varchar(255) COLLATE "pg_catalog"."default",
  6270. "receive_status" int2 NOT NULL,
  6271. "receive_time" timestamp(6),
  6272. "api_receive_code" varchar(63) COLLATE "pg_catalog"."default",
  6273. "api_receive_msg" varchar(255) COLLATE "pg_catalog"."default",
  6274. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6275. "create_time" timestamp(6) NOT NULL,
  6276. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6277. "update_time" timestamp(6) NOT NULL,
  6278. "deleted" int2 NOT NULL DEFAULT 0
  6279. )
  6280. ;
  6281. COMMENT
  6282. ON COLUMN "system_sms_log"."id" IS '编号';
  6283. COMMENT
  6284. ON COLUMN "system_sms_log"."channel_id" IS '短信渠道编号';
  6285. COMMENT
  6286. ON COLUMN "system_sms_log"."channel_code" IS '短信渠道编码';
  6287. COMMENT
  6288. ON COLUMN "system_sms_log"."template_id" IS '模板编号';
  6289. COMMENT
  6290. ON COLUMN "system_sms_log"."template_code" IS '模板编码';
  6291. COMMENT
  6292. ON COLUMN "system_sms_log"."template_type" IS '短信类型';
  6293. COMMENT
  6294. ON COLUMN "system_sms_log"."template_content" IS '短信内容';
  6295. COMMENT
  6296. ON COLUMN "system_sms_log"."template_params" IS '短信参数';
  6297. COMMENT
  6298. ON COLUMN "system_sms_log"."api_template_id" IS '短信 API 的模板编号';
  6299. COMMENT
  6300. ON COLUMN "system_sms_log"."mobile" IS '手机号';
  6301. COMMENT
  6302. ON COLUMN "system_sms_log"."user_id" IS '用户编号';
  6303. COMMENT
  6304. ON COLUMN "system_sms_log"."user_type" IS '用户类型';
  6305. COMMENT
  6306. ON COLUMN "system_sms_log"."send_status" IS '发送状态';
  6307. COMMENT
  6308. ON COLUMN "system_sms_log"."send_time" IS '发送时间';
  6309. COMMENT
  6310. ON COLUMN "system_sms_log"."send_code" IS '发送结果的编码';
  6311. COMMENT
  6312. ON COLUMN "system_sms_log"."send_msg" IS '发送结果的提示';
  6313. COMMENT
  6314. ON COLUMN "system_sms_log"."api_send_code" IS '短信 API 发送结果的编码';
  6315. COMMENT
  6316. ON COLUMN "system_sms_log"."api_send_msg" IS '短信 API 发送失败的提示';
  6317. COMMENT
  6318. ON COLUMN "system_sms_log"."api_request_id" IS '短信 API 发送返回的唯一请求 ID';
  6319. COMMENT
  6320. ON COLUMN "system_sms_log"."api_serial_no" IS '短信 API 发送返回的序号';
  6321. COMMENT
  6322. ON COLUMN "system_sms_log"."receive_status" IS '接收状态';
  6323. COMMENT
  6324. ON COLUMN "system_sms_log"."receive_time" IS '接收时间';
  6325. COMMENT
  6326. ON COLUMN "system_sms_log"."api_receive_code" IS 'API 接收结果的编码';
  6327. COMMENT
  6328. ON COLUMN "system_sms_log"."api_receive_msg" IS 'API 接收结果的说明';
  6329. COMMENT
  6330. ON COLUMN "system_sms_log"."creator" IS '创建者';
  6331. COMMENT
  6332. ON COLUMN "system_sms_log"."create_time" IS '创建时间';
  6333. COMMENT
  6334. ON COLUMN "system_sms_log"."updater" IS '更新者';
  6335. COMMENT
  6336. ON COLUMN "system_sms_log"."update_time" IS '更新时间';
  6337. COMMENT
  6338. ON COLUMN "system_sms_log"."deleted" IS '是否删除';
  6339. COMMENT
  6340. ON TABLE "system_sms_log" IS '短信日志';
  6341. -- ----------------------------
  6342. -- Records of system_sms_log
  6343. -- ----------------------------
  6344. BEGIN;
  6345. COMMIT;
  6346. -- ----------------------------
  6347. -- Table structure for system_sms_template
  6348. -- ----------------------------
  6349. DROP TABLE IF EXISTS "system_sms_template";
  6350. CREATE TABLE "system_sms_template"
  6351. (
  6352. "id" int8 NOT NULL,
  6353. "type" int2 NOT NULL,
  6354. "status" int2 NOT NULL,
  6355. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6356. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6357. "content" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6358. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6359. "remark" varchar(255) COLLATE "pg_catalog"."default",
  6360. "api_template_id" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6361. "channel_id" int8 NOT NULL,
  6362. "channel_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  6363. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6364. "create_time" timestamp(6) NOT NULL,
  6365. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6366. "update_time" timestamp(6) NOT NULL,
  6367. "deleted" int2 NOT NULL DEFAULT 0
  6368. )
  6369. ;
  6370. COMMENT
  6371. ON COLUMN "system_sms_template"."id" IS '编号';
  6372. COMMENT
  6373. ON COLUMN "system_sms_template"."type" IS '短信签名';
  6374. COMMENT
  6375. ON COLUMN "system_sms_template"."status" IS '开启状态';
  6376. COMMENT
  6377. ON COLUMN "system_sms_template"."code" IS '模板编码';
  6378. COMMENT
  6379. ON COLUMN "system_sms_template"."name" IS '模板名称';
  6380. COMMENT
  6381. ON COLUMN "system_sms_template"."content" IS '模板内容';
  6382. COMMENT
  6383. ON COLUMN "system_sms_template"."params" IS '参数数组';
  6384. COMMENT
  6385. ON COLUMN "system_sms_template"."remark" IS '备注';
  6386. COMMENT
  6387. ON COLUMN "system_sms_template"."api_template_id" IS '短信 API 的模板编号';
  6388. COMMENT
  6389. ON COLUMN "system_sms_template"."channel_id" IS '短信渠道编号';
  6390. COMMENT
  6391. ON COLUMN "system_sms_template"."channel_code" IS '短信渠道编码';
  6392. COMMENT
  6393. ON COLUMN "system_sms_template"."creator" IS '创建者';
  6394. COMMENT
  6395. ON COLUMN "system_sms_template"."create_time" IS '创建时间';
  6396. COMMENT
  6397. ON COLUMN "system_sms_template"."updater" IS '更新者';
  6398. COMMENT
  6399. ON COLUMN "system_sms_template"."update_time" IS '更新时间';
  6400. COMMENT
  6401. ON COLUMN "system_sms_template"."deleted" IS '是否删除';
  6402. COMMENT
  6403. ON TABLE "system_sms_template" IS '短信模板';
  6404. -- ----------------------------
  6405. -- Records of system_sms_template
  6406. -- ----------------------------
  6407. BEGIN;
  6408. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6409. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6410. "update_time", "deleted")
  6411. VALUES (2, 1, 0, 'test_01', '测试验证码短信', '正在进行登录操作{operation},您的验证码是{code}', '["operation","code"]',
  6412. NULL, '4383920', 1, 'YUN_PIAN', '', '2021-03-31 10:49:38', '1', '2021-04-10 01:22:00', 0);
  6413. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6414. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6415. "update_time", "deleted")
  6416. VALUES (3, 1, 0, 'test_02', '公告通知', '您的验证码{code},该验证码5分钟内有效,请勿泄漏于他人!', '["code"]', NULL,
  6417. 'SMS_207945135', 2, 'ALIYUN', '', '2021-03-31 11:56:30', '1', '2021-04-10 01:22:02', 0);
  6418. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6419. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6420. "update_time", "deleted")
  6421. VALUES (6, 3, 0, 'test-01', '测试模板', '哈哈哈 {name}', '["name"]', 'f哈哈哈', '4383920', 1, 'YUN_PIAN', '1',
  6422. '2021-04-10 01:07:21', '1', '2021-04-10 01:22:05', 0);
  6423. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6424. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6425. "update_time", "deleted")
  6426. VALUES (7, 3, 0, 'test-04', '测试下', '老鸡{name},牛逼{code}', '["name","code"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK',
  6427. '1', '2021-04-13 00:29:53', '1', '2021-04-14 00:30:38', 0);
  6428. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6429. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6430. "update_time", "deleted")
  6431. VALUES (8, 1, 0, 'user-sms-login', '前台用户短信登录', '您的验证码是{code}', '["code"]', NULL, '4372216', 1, 'YUN_PIAN',
  6432. '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  6433. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6434. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6435. "update_time", "deleted")
  6436. VALUES (9, 2, 0, 'bpm_task_assigned', '【工作流】任务被分配',
  6437. '您收到了一条新的待办任务:{processInstanceName}-{taskName},申请人:{startUserNickname},处理链接:{detailUrl}',
  6438. '["processInstanceName","taskName","startUserNickname","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK',
  6439. '1', '2022-01-21 22:31:19', '1', '2022-01-22 00:03:36', 0);
  6440. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6441. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6442. "update_time", "deleted")
  6443. VALUES (10, 2, 0, 'bpm_process_instance_reject', '【工作流】流程被不通过',
  6444. '您的流程被审批不通过:{processInstanceName},原因:{reason},查看链接:{detailUrl}',
  6445. '["processInstanceName","reason","detailUrl"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1',
  6446. '2022-01-22 00:03:31', '1', '2022-05-01 12:33:14', 0);
  6447. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6448. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6449. "update_time", "deleted")
  6450. VALUES (11, 2, 0, 'bpm_process_instance_approve', '【工作流】流程被通过',
  6451. '您的流程被审批通过:{processInstanceName},查看链接:{detailUrl}', '["processInstanceName","detailUrl"]', NULL,
  6452. 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:04:31', '1', '2022-03-27 20:32:21', 0);
  6453. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6454. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6455. "update_time", "deleted")
  6456. VALUES (12, 2, 0, 'demo', '演示模板', '我就是测试一下下', '[]', NULL, 'biubiubiu', 6, 'DEBUG_DING_TALK', '1',
  6457. '2022-04-10 23:22:49', '1', '2022-04-10 23:22:49', 0);
  6458. INSERT INTO "system_sms_template" ("id", "type", "status", "code", "name", "content", "params", "remark",
  6459. "api_template_id", "channel_id", "channel_code", "creator", "create_time", "updater",
  6460. "update_time", "deleted")
  6461. VALUES (13, 1, 0, 'admin-sms-login', '后台用户短信登录', '您的验证码是{code}', '["code"]', '', '4372216', 1, 'YUN_PIAN',
  6462. '1', '2021-10-11 08:10:00', '1', '2021-10-11 08:10:00', 0);
  6463. COMMIT;
  6464. -- ----------------------------
  6465. -- Table structure for system_social_user
  6466. -- ----------------------------
  6467. DROP TABLE IF EXISTS "system_social_user";
  6468. CREATE TABLE "system_social_user"
  6469. (
  6470. "id" numeric(20, 0) NOT NULL,
  6471. "type" int2 NOT NULL,
  6472. "openid" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  6473. "token" varchar(256) COLLATE "pg_catalog"."default",
  6474. "raw_token_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  6475. "nickname" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  6476. "avatar" varchar(255) COLLATE "pg_catalog"."default",
  6477. "raw_user_info" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  6478. "code" varchar(256) COLLATE "pg_catalog"."default" NOT NULL,
  6479. "state" varchar(256) COLLATE "pg_catalog"."default",
  6480. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6481. "create_time" timestamp(6) NOT NULL,
  6482. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6483. "update_time" timestamp(6) NOT NULL,
  6484. "deleted" int2 NOT NULL DEFAULT 0,
  6485. "tenant_id" int8 NOT NULL DEFAULT 0
  6486. )
  6487. ;
  6488. COMMENT
  6489. ON COLUMN "system_social_user"."id" IS '主键(自增策略)';
  6490. COMMENT
  6491. ON COLUMN "system_social_user"."type" IS '社交平台的类型';
  6492. COMMENT
  6493. ON COLUMN "system_social_user"."openid" IS '社交 openid';
  6494. COMMENT
  6495. ON COLUMN "system_social_user"."token" IS '社交 token';
  6496. COMMENT
  6497. ON COLUMN "system_social_user"."raw_token_info" IS '原始 Token 数据,一般是 JSON 格式';
  6498. COMMENT
  6499. ON COLUMN "system_social_user"."nickname" IS '用户昵称';
  6500. COMMENT
  6501. ON COLUMN "system_social_user"."avatar" IS '用户头像';
  6502. COMMENT
  6503. ON COLUMN "system_social_user"."raw_user_info" IS '原始用户数据,一般是 JSON 格式';
  6504. COMMENT
  6505. ON COLUMN "system_social_user"."code" IS '最后一次的认证 code';
  6506. COMMENT
  6507. ON COLUMN "system_social_user"."state" IS '最后一次的认证 state';
  6508. COMMENT
  6509. ON COLUMN "system_social_user"."creator" IS '创建者';
  6510. COMMENT
  6511. ON COLUMN "system_social_user"."create_time" IS '创建时间';
  6512. COMMENT
  6513. ON COLUMN "system_social_user"."updater" IS '更新者';
  6514. COMMENT
  6515. ON COLUMN "system_social_user"."update_time" IS '更新时间';
  6516. COMMENT
  6517. ON COLUMN "system_social_user"."deleted" IS '是否删除';
  6518. COMMENT
  6519. ON COLUMN "system_social_user"."tenant_id" IS '租户编号';
  6520. COMMENT
  6521. ON TABLE "system_social_user" IS '社交用户表';
  6522. -- ----------------------------
  6523. -- Records of system_social_user
  6524. -- ----------------------------
  6525. BEGIN;
  6526. COMMIT;
  6527. -- ----------------------------
  6528. -- Table structure for system_social_user_bind
  6529. -- ----------------------------
  6530. DROP TABLE IF EXISTS "system_social_user_bind";
  6531. CREATE TABLE "system_social_user_bind"
  6532. (
  6533. "id" numeric(20, 0) NOT NULL,
  6534. "user_id" int8 NOT NULL,
  6535. "user_type" int2 NOT NULL,
  6536. "social_type" int2 NOT NULL,
  6537. "social_user_id" int8 NOT NULL,
  6538. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6539. "create_time" timestamp(6) NOT NULL,
  6540. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6541. "update_time" timestamp(6) NOT NULL,
  6542. "deleted" int2 NOT NULL DEFAULT 0,
  6543. "tenant_id" int8 NOT NULL DEFAULT 0
  6544. )
  6545. ;
  6546. COMMENT
  6547. ON COLUMN "system_social_user_bind"."id" IS '主键(自增策略)';
  6548. COMMENT
  6549. ON COLUMN "system_social_user_bind"."user_id" IS '用户编号';
  6550. COMMENT
  6551. ON COLUMN "system_social_user_bind"."user_type" IS '用户类型';
  6552. COMMENT
  6553. ON COLUMN "system_social_user_bind"."social_type" IS '社交平台的类型';
  6554. COMMENT
  6555. ON COLUMN "system_social_user_bind"."social_user_id" IS '社交用户的编号';
  6556. COMMENT
  6557. ON COLUMN "system_social_user_bind"."creator" IS '创建者';
  6558. COMMENT
  6559. ON COLUMN "system_social_user_bind"."create_time" IS '创建时间';
  6560. COMMENT
  6561. ON COLUMN "system_social_user_bind"."updater" IS '更新者';
  6562. COMMENT
  6563. ON COLUMN "system_social_user_bind"."update_time" IS '更新时间';
  6564. COMMENT
  6565. ON COLUMN "system_social_user_bind"."deleted" IS '是否删除';
  6566. COMMENT
  6567. ON COLUMN "system_social_user_bind"."tenant_id" IS '租户编号';
  6568. COMMENT
  6569. ON TABLE "system_social_user_bind" IS '社交绑定表';
  6570. -- ----------------------------
  6571. -- Records of system_social_user_bind
  6572. -- ----------------------------
  6573. BEGIN;
  6574. COMMIT;
  6575. -- ----------------------------
  6576. -- Table structure for system_tenant
  6577. -- ----------------------------
  6578. DROP TABLE IF EXISTS "system_tenant";
  6579. CREATE TABLE "system_tenant"
  6580. (
  6581. "id" int8 NOT NULL,
  6582. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6583. "contact_user_id" int8,
  6584. "contact_name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6585. "contact_mobile" varchar(500) COLLATE "pg_catalog"."default",
  6586. "status" int2 NOT NULL,
  6587. "website" varchar(256) COLLATE "pg_catalog"."default",
  6588. "package_id" int8 NOT NULL,
  6589. "expire_time" timestamp(6) NOT NULL,
  6590. "account_count" int4 NOT NULL,
  6591. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6592. "create_time" timestamp(6) NOT NULL,
  6593. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6594. "update_time" timestamp(6) NOT NULL,
  6595. "deleted" int2 NOT NULL DEFAULT 0
  6596. )
  6597. ;
  6598. COMMENT
  6599. ON COLUMN "system_tenant"."id" IS '租户编号';
  6600. COMMENT
  6601. ON COLUMN "system_tenant"."name" IS '租户名';
  6602. COMMENT
  6603. ON COLUMN "system_tenant"."contact_user_id" IS '联系人的用户编号';
  6604. COMMENT
  6605. ON COLUMN "system_tenant"."contact_name" IS '联系人';
  6606. COMMENT
  6607. ON COLUMN "system_tenant"."contact_mobile" IS '联系手机';
  6608. COMMENT
  6609. ON COLUMN "system_tenant"."status" IS '租户状态(0正常 1停用)';
  6610. COMMENT
  6611. ON COLUMN "system_tenant"."website" IS '绑定域名';
  6612. COMMENT
  6613. ON COLUMN "system_tenant"."package_id" IS '租户套餐编号';
  6614. COMMENT
  6615. ON COLUMN "system_tenant"."expire_time" IS '过期时间';
  6616. COMMENT
  6617. ON COLUMN "system_tenant"."account_count" IS '账号数量';
  6618. COMMENT
  6619. ON COLUMN "system_tenant"."creator" IS '创建者';
  6620. COMMENT
  6621. ON COLUMN "system_tenant"."create_time" IS '创建时间';
  6622. COMMENT
  6623. ON COLUMN "system_tenant"."updater" IS '更新者';
  6624. COMMENT
  6625. ON COLUMN "system_tenant"."update_time" IS '更新时间';
  6626. COMMENT
  6627. ON COLUMN "system_tenant"."deleted" IS '是否删除';
  6628. COMMENT
  6629. ON TABLE "system_tenant" IS '租户表';
  6630. -- ----------------------------
  6631. -- Records of system_tenant
  6632. -- ----------------------------
  6633. BEGIN;
  6634. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6635. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6636. "update_time", "deleted")
  6637. VALUES (1, '非繁源码', NULL, '非繁人', '17321315478', 0, 'https://www.zhongxing.cn', 0, '2099-02-19 17:14:16', 9999, '1',
  6638. '2021-01-05 17:03:47', '1', '2022-02-23 12:15:11', 0);
  6639. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6640. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6641. "update_time", "deleted")
  6642. VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'http://www.zhongxing.cn', 111, '2024-03-11 00:00:00', 20, '1',
  6643. '2022-02-22 00:56:14', '1', '2022-03-19 18:37:20', 0);
  6644. INSERT INTO "system_tenant" ("id", "name", "contact_user_id", "contact_name", "contact_mobile", "status", "website",
  6645. "package_id", "expire_time", "account_count", "creator", "create_time", "updater",
  6646. "update_time", "deleted")
  6647. VALUES (122, '测试租户', 113, '非繁', '15601691300', 0, 'https://www.zhongxing.cn', 111, '2022-04-30 00:00:00', 50, '1',
  6648. '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0);
  6649. COMMIT;
  6650. -- ----------------------------
  6651. -- Table structure for system_tenant_package
  6652. -- ----------------------------
  6653. DROP TABLE IF EXISTS "system_tenant_package";
  6654. CREATE TABLE "system_tenant_package"
  6655. (
  6656. "id" int8 NOT NULL,
  6657. "name" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6658. "status" int2 NOT NULL,
  6659. "remark" varchar(256) COLLATE "pg_catalog"."default",
  6660. "menu_ids" varchar(2048) COLLATE "pg_catalog"."default" NOT NULL,
  6661. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6662. "create_time" timestamp(6) NOT NULL,
  6663. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6664. "update_time" timestamp(6) NOT NULL,
  6665. "deleted" int2 NOT NULL DEFAULT 0
  6666. )
  6667. ;
  6668. COMMENT
  6669. ON COLUMN "system_tenant_package"."id" IS '套餐编号';
  6670. COMMENT
  6671. ON COLUMN "system_tenant_package"."name" IS '套餐名';
  6672. COMMENT
  6673. ON COLUMN "system_tenant_package"."status" IS '租户状态(0正常 1停用)';
  6674. COMMENT
  6675. ON COLUMN "system_tenant_package"."remark" IS '备注';
  6676. COMMENT
  6677. ON COLUMN "system_tenant_package"."menu_ids" IS '关联的菜单编号';
  6678. COMMENT
  6679. ON COLUMN "system_tenant_package"."creator" IS '创建者';
  6680. COMMENT
  6681. ON COLUMN "system_tenant_package"."create_time" IS '创建时间';
  6682. COMMENT
  6683. ON COLUMN "system_tenant_package"."updater" IS '更新者';
  6684. COMMENT
  6685. ON COLUMN "system_tenant_package"."update_time" IS '更新时间';
  6686. COMMENT
  6687. ON COLUMN "system_tenant_package"."deleted" IS '是否删除';
  6688. COMMENT
  6689. ON TABLE "system_tenant_package" IS '租户套餐表';
  6690. -- ----------------------------
  6691. -- Records of system_tenant_package
  6692. -- ----------------------------
  6693. BEGIN;
  6694. INSERT INTO "system_tenant_package" ("id", "name", "status", "remark", "menu_ids", "creator", "create_time", "updater",
  6695. "update_time", "deleted")
  6696. VALUES (111, '普通套餐', 0, '小功能',
  6697. '[1024,1025,1,102,103,104,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023]', '1', '2022-02-22 00:54:00',
  6698. '1', '2022-03-19 18:39:13', 0);
  6699. COMMIT;
  6700. -- ----------------------------
  6701. -- Table structure for system_user_post
  6702. -- ----------------------------
  6703. DROP TABLE IF EXISTS "system_user_post";
  6704. CREATE TABLE "system_user_post"
  6705. (
  6706. "id" int8 NOT NULL,
  6707. "user_id" int8 NOT NULL,
  6708. "post_id" int8 NOT NULL,
  6709. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6710. "create_time" timestamp(6) NOT NULL,
  6711. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6712. "update_time" timestamp(6) NOT NULL,
  6713. "tenant_id" int8 NOT NULL,
  6714. "deleted" int2 NOT NULL DEFAULT 0
  6715. )
  6716. ;
  6717. COMMENT
  6718. ON COLUMN "system_user_post"."id" IS 'id';
  6719. COMMENT
  6720. ON COLUMN "system_user_post"."user_id" IS '用户ID';
  6721. COMMENT
  6722. ON COLUMN "system_user_post"."post_id" IS '岗位ID';
  6723. COMMENT
  6724. ON COLUMN "system_user_post"."creator" IS '创建者';
  6725. COMMENT
  6726. ON COLUMN "system_user_post"."create_time" IS '创建时间';
  6727. COMMENT
  6728. ON COLUMN "system_user_post"."updater" IS '更新者';
  6729. COMMENT
  6730. ON COLUMN "system_user_post"."update_time" IS '更新时间';
  6731. COMMENT
  6732. ON COLUMN "system_user_post"."tenant_id" IS '租户编号';
  6733. COMMENT
  6734. ON COLUMN "system_user_post"."deleted" IS '是否删除';
  6735. COMMENT
  6736. ON TABLE "system_user_post" IS '用户岗位表';
  6737. -- ----------------------------
  6738. -- Records of system_user_post
  6739. -- ----------------------------
  6740. BEGIN;
  6741. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time",
  6742. "tenant_id", "deleted")
  6743. VALUES (112, 1, 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 (113, 100, 1, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  6747. INSERT INTO "system_user_post" ("id", "user_id", "post_id", "creator", "create_time", "updater", "update_time",
  6748. "tenant_id", "deleted")
  6749. VALUES (114, 114, 3, 'admin', '2022-05-02 07:25:24', 'admin', '2022-05-02 07:25:24', 1, 0);
  6750. COMMIT;
  6751. -- ----------------------------
  6752. -- Table structure for system_user_role
  6753. -- ----------------------------
  6754. DROP TABLE IF EXISTS "system_user_role";
  6755. CREATE TABLE "system_user_role"
  6756. (
  6757. "id" int8 NOT NULL,
  6758. "user_id" int8 NOT NULL,
  6759. "role_id" int8 NOT NULL,
  6760. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6761. "create_time" timestamp(6),
  6762. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6763. "update_time" timestamp(6),
  6764. "deleted" int2 NOT NULL DEFAULT 0,
  6765. "tenant_id" int8 NOT NULL DEFAULT 0
  6766. )
  6767. ;
  6768. COMMENT
  6769. ON COLUMN "system_user_role"."id" IS '自增编号';
  6770. COMMENT
  6771. ON COLUMN "system_user_role"."user_id" IS '用户ID';
  6772. COMMENT
  6773. ON COLUMN "system_user_role"."role_id" IS '角色ID';
  6774. COMMENT
  6775. ON COLUMN "system_user_role"."creator" IS '创建者';
  6776. COMMENT
  6777. ON COLUMN "system_user_role"."create_time" IS '创建时间';
  6778. COMMENT
  6779. ON COLUMN "system_user_role"."updater" IS '更新者';
  6780. COMMENT
  6781. ON COLUMN "system_user_role"."update_time" IS '更新时间';
  6782. COMMENT
  6783. ON COLUMN "system_user_role"."deleted" IS '是否删除';
  6784. COMMENT
  6785. ON COLUMN "system_user_role"."tenant_id" IS '租户编号';
  6786. COMMENT
  6787. ON TABLE "system_user_role" IS '用户和角色关联表';
  6788. -- ----------------------------
  6789. -- Records of system_user_role
  6790. -- ----------------------------
  6791. BEGIN;
  6792. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6793. "deleted", "tenant_id")
  6794. VALUES (1, 1, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:17', 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 (2, 2, 2, '', '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 (4, 100, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:13', 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 (5, 100, 1, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:12', 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 (6, 100, 2, '', '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 (7, 104, 101, '', '2022-01-11 13:19:45', '', '2022-05-12 12:35:11', 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 (10, 103, 1, '1', '2022-01-11 13:19:45', '1', '2022-01-11 13:19:45', 0, 1);
  6813. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6814. "deleted", "tenant_id")
  6815. VALUES (11, 107, 106, '1', '2022-02-20 22:59:33', '1', '2022-02-20 22:59:33', 0, 118);
  6816. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6817. "deleted", "tenant_id")
  6818. VALUES (12, 108, 107, '1', '2022-02-20 23:00:50', '1', '2022-02-20 23:00:50', 0, 119);
  6819. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6820. "deleted", "tenant_id")
  6821. VALUES (13, 109, 108, '1', '2022-02-20 23:11:50', '1', '2022-02-20 23:11:50', 0, 120);
  6822. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6823. "deleted", "tenant_id")
  6824. VALUES (14, 110, 109, '1', '2022-02-22 00:56:14', '1', '2022-02-22 00:56:14', 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 (15, 111, 110, '110', '2022-02-23 13:14:38', '110', '2022-02-23 13:14:38', 0, 121);
  6828. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6829. "deleted", "tenant_id")
  6830. VALUES (16, 113, 111, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', 0, 122);
  6831. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6832. "deleted", "tenant_id")
  6833. VALUES (17, 114, 101, '1', '2022-03-19 21:51:13', '1', '2022-03-19 21:51:13', 0, 1);
  6834. INSERT INTO "system_user_role" ("id", "user_id", "role_id", "creator", "create_time", "updater", "update_time",
  6835. "deleted", "tenant_id")
  6836. VALUES (18, 1, 2, '1', '2022-05-12 20:39:29', '1', '2022-05-12 20:39:29', 0, 1);
  6837. COMMIT;
  6838. -- ----------------------------
  6839. -- Table structure for system_users
  6840. -- ----------------------------
  6841. DROP TABLE IF EXISTS "system_users";
  6842. CREATE TABLE "system_users"
  6843. (
  6844. "id" int8 NOT NULL,
  6845. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6846. "password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  6847. "nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  6848. "remark" varchar(500) COLLATE "pg_catalog"."default",
  6849. "dept_id" int8,
  6850. "post_ids" varchar(255) COLLATE "pg_catalog"."default",
  6851. "email" varchar(50) COLLATE "pg_catalog"."default",
  6852. "mobile" varchar(11) COLLATE "pg_catalog"."default",
  6853. "sex" int2,
  6854. "avatar" varchar(100) COLLATE "pg_catalog"."default",
  6855. "status" int2 NOT NULL,
  6856. "login_ip" varchar(50) COLLATE "pg_catalog"."default",
  6857. "login_date" timestamp(6),
  6858. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6859. "create_time" timestamp(6) NOT NULL,
  6860. "updater" varchar(64) COLLATE "pg_catalog"."default",
  6861. "update_time" timestamp(6) NOT NULL,
  6862. "deleted" int2 NOT NULL DEFAULT 0,
  6863. "tenant_id" int8 NOT NULL DEFAULT 0
  6864. )
  6865. ;
  6866. COMMENT
  6867. ON COLUMN "system_users"."id" IS '用户ID';
  6868. COMMENT
  6869. ON COLUMN "system_users"."username" IS '用户账号';
  6870. COMMENT
  6871. ON COLUMN "system_users"."password" IS '密码';
  6872. COMMENT
  6873. ON COLUMN "system_users"."nickname" IS '用户昵称';
  6874. COMMENT
  6875. ON COLUMN "system_users"."remark" IS '备注';
  6876. COMMENT
  6877. ON COLUMN "system_users"."dept_id" IS '部门ID';
  6878. COMMENT
  6879. ON COLUMN "system_users"."post_ids" IS '岗位编号数组';
  6880. COMMENT
  6881. ON COLUMN "system_users"."email" IS '用户邮箱';
  6882. COMMENT
  6883. ON COLUMN "system_users"."mobile" IS '手机号码';
  6884. COMMENT
  6885. ON COLUMN "system_users"."sex" IS '用户性别';
  6886. COMMENT
  6887. ON COLUMN "system_users"."avatar" IS '头像地址';
  6888. COMMENT
  6889. ON COLUMN "system_users"."status" IS '帐号状态(0正常 1停用)';
  6890. COMMENT
  6891. ON COLUMN "system_users"."login_ip" IS '最后登录IP';
  6892. COMMENT
  6893. ON COLUMN "system_users"."login_date" IS '最后登录时间';
  6894. COMMENT
  6895. ON COLUMN "system_users"."creator" IS '创建者';
  6896. COMMENT
  6897. ON COLUMN "system_users"."create_time" IS '创建时间';
  6898. COMMENT
  6899. ON COLUMN "system_users"."updater" IS '更新者';
  6900. COMMENT
  6901. ON COLUMN "system_users"."update_time" IS '更新时间';
  6902. COMMENT
  6903. ON COLUMN "system_users"."deleted" IS '是否删除';
  6904. COMMENT
  6905. ON COLUMN "system_users"."tenant_id" IS '租户编号';
  6906. COMMENT
  6907. ON TABLE "system_users" IS '用户信息表';
  6908. -- ----------------------------
  6909. -- Records of system_users
  6910. -- ----------------------------
  6911. BEGIN;
  6912. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6913. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6914. "updater", "update_time", "deleted", "tenant_id")
  6915. VALUES (100, 'feifan', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '非繁', '不要吓我', 104, '[1]',
  6916. 'feifan@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '104', '2021-12-16 09:26:10',
  6917. 0, 1);
  6918. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6919. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6920. "updater", "update_time", "deleted", "tenant_id")
  6921. VALUES (103, 'yuanma', '$2a$10$wWoPT7sqriM2O1YXRL.je.GiL538OR6ZTN8aQZr9JAGdnpCH2tpYe', '源码', NULL, 106, NULL,
  6922. 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-01-18 00:33:40', '', '2021-01-13 23:50:35',
  6923. NULL, '2022-01-18 00:33:40', 0, 1);
  6924. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6925. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6926. "updater", "update_time", "deleted", "tenant_id")
  6927. VALUES (104, 'test', '$2a$10$e5RpuDCC0GYSt0Hvd2.CjujIXwgGct4SnXi6dVGxdgFsnqgEryk5a', '测试号', NULL, 107, '[]',
  6928. '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-03-19 21:46:19', '', '2021-01-21 02:13:53', NULL,
  6929. '2022-03-19 21:46:19', 0, 1);
  6930. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6931. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6932. "updater", "update_time", "deleted", "tenant_id")
  6933. VALUES (107, 'admin107', '$2a$10$dYOOBKMO93v/.ReCqzyFg.o67Tqk.bbc2bhrpyBGkIw9aypCtr2pm', '非繁人', NULL, NULL, NULL, '',
  6934. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 22:59:33', '1', '2022-02-27 08:26:51', 0, 118);
  6935. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6936. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6937. "updater", "update_time", "deleted", "tenant_id")
  6938. VALUES (108, 'admin108', '$2a$10$y6mfvKoNYL1GXWak8nYwVOH.kCWqjactkzdoIDgiKl93WN3Ejg.Lu', '非繁人', NULL, NULL, NULL, '',
  6939. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:00:50', '1', '2022-02-27 08:26:53', 0, 119);
  6940. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6941. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6942. "updater", "update_time", "deleted", "tenant_id")
  6943. VALUES (109, 'admin109', '$2a$10$JAqvH0tEc0I7dfDVBI7zyuB4E3j.uH6daIjV53.vUS6PknFkDJkuK', '非繁人', NULL, NULL, NULL, '',
  6944. '15601691300', 0, '', 0, '', NULL, '1', '2022-02-20 23:11:50', '1', '2022-02-27 08:26:56', 0, 120);
  6945. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6946. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6947. "updater", "update_time", "deleted", "tenant_id")
  6948. VALUES (110, 'admin110', '$2a$10$qYxoXs0ogPHgYllyEneYde9xcCW5hZgukrxeXZ9lmLhKse8TK6IwW', '小王', NULL, NULL, NULL, '',
  6949. '15601691300', 0, '', 0, '127.0.0.1', '2022-02-23 19:36:28', '1', '2022-02-22 00:56:14', NULL,
  6950. '2022-02-27 08:26:59', 0, 121);
  6951. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6952. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6953. "updater", "update_time", "deleted", "tenant_id")
  6954. VALUES (111, 'test', '$2a$10$mExveopHUx9Q4QiLtAzhDeH3n4/QlNLzEsM4AqgxKrU.ciUZDXZCy', '测试用户', NULL, NULL, '[]', '',
  6955. '', 0, '', 0, '', NULL, '110', '2022-02-23 13:14:33', '110', '2022-02-23 13:14:33', 0, 121);
  6956. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6957. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6958. "updater", "update_time", "deleted", "tenant_id")
  6959. VALUES (112, 'newobject', '$2a$10$jh5MsR.ud/gKe3mVeUp5t.nEXGDSmHyv5OYjWQwHO8wlGmMSI9Twy', '新对象', NULL, NULL, '[]',
  6960. '', '', 0, '', 0, '', NULL, '1', '2022-02-23 19:08:03', '1', '2022-02-23 19:08:03', 0, 1);
  6961. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6962. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6963. "updater", "update_time", "deleted", "tenant_id")
  6964. VALUES (113, 'aoteman', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '非繁', NULL, NULL, NULL, '',
  6965. '15601691300', 0, '', 0, '127.0.0.1', '2022-03-19 18:38:51', '1', '2022-03-07 21:37:58', NULL,
  6966. '2022-03-19 18:38:51', 0, 122);
  6967. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6968. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6969. "updater", "update_time", "deleted", "tenant_id")
  6970. VALUES (114, 'hrmgr', '$2a$10$TR4eybBioGRhBmDBWkqWLO6NIh3mzYa8KBKDDB5woiGYFVlRAi.fu', 'hr 小姐姐', NULL, NULL, '[3]',
  6971. '', '', 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',
  6972. 0, 1);
  6973. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6974. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6975. "updater", "update_time", "deleted", "tenant_id")
  6976. VALUES (115, 'aotemane', '$2a$10$/WCwGHu1eq0wOVDd/u8HweJ0gJCHyLS6T7ndCqI8UXZAQom1etk2e', '1', '11', 100, '[]', '', '',
  6977. 0, '', 0, '', NULL, '1', '2022-04-30 02:55:43', '1', '2022-04-30 02:55:43', 0, 1);
  6978. INSERT INTO "system_users" ("id", "username", "password", "nickname", "remark", "dept_id", "post_ids", "email",
  6979. "mobile", "sex", "avatar", "status", "login_ip", "login_date", "creator", "create_time",
  6980. "updater", "update_time", "deleted", "tenant_id")
  6981. VALUES (1, 'admin', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '非繁源码', '管理员', 103, '[1]',
  6982. 'aoteman@126.com', '15612345678', 1, 'http://test.feifan.iocoder.cn/48934f2f-92d4-4250-b917-d10d2b262c6a', 0,
  6983. '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);
  6984. COMMIT;
  6985. -- ----------------------------
  6986. -- Table structure for system_mail_account
  6987. -- ----------------------------
  6988. DROP TABLE IF EXISTS "system_mail_account";
  6989. CREATE TABLE "system_mail_account"
  6990. (
  6991. "id" int8 NOT NULL,
  6992. "mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6993. "username" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6994. "password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6995. "host" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  6996. "port" int4 NOT NULL,
  6997. "ssl_enable" varchar(1) COLLATE "pg_catalog"."default" NOT NULL,
  6998. "creator" varchar(64) COLLATE "pg_catalog"."default",
  6999. "create_time" timestamp(6) NOT NULL,
  7000. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7001. "update_time" timestamp(6) NOT NULL,
  7002. "deleted" int2 NOT NULL
  7003. )
  7004. ;
  7005. COMMENT
  7006. ON COLUMN "system_mail_account"."id" IS '主键';
  7007. COMMENT
  7008. ON COLUMN "system_mail_account"."mail" IS '邮箱';
  7009. COMMENT
  7010. ON COLUMN "system_mail_account"."username" IS '用户名';
  7011. COMMENT
  7012. ON COLUMN "system_mail_account"."password" IS '密码';
  7013. COMMENT
  7014. ON COLUMN "system_mail_account"."host" IS 'SMTP 服务器域名';
  7015. COMMENT
  7016. ON COLUMN "system_mail_account"."port" IS 'SMTP 服务器端口';
  7017. COMMENT
  7018. ON COLUMN "system_mail_account"."ssl_enable" IS '是否开启 SSL';
  7019. COMMENT
  7020. ON COLUMN "system_mail_account"."creator" IS '创建者';
  7021. COMMENT
  7022. ON COLUMN "system_mail_account"."create_time" IS '创建时间';
  7023. COMMENT
  7024. ON COLUMN "system_mail_account"."updater" IS '更新者';
  7025. COMMENT
  7026. ON COLUMN "system_mail_account"."update_time" IS '更新时间';
  7027. COMMENT
  7028. ON COLUMN "system_mail_account"."deleted" IS '是否删除';
  7029. COMMENT
  7030. ON TABLE "system_mail_account" IS '邮箱账号表';
  7031. -- ----------------------------
  7032. -- Table structure for system_mail_log
  7033. -- ----------------------------
  7034. DROP TABLE IF EXISTS "system_mail_log";
  7035. CREATE TABLE "system_mail_log"
  7036. (
  7037. "id" int8 NOT NULL,
  7038. "user_id" int8,
  7039. "user_type" int2,
  7040. "to_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7041. "account_id" int8 NOT NULL,
  7042. "from_mail" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7043. "template_id" int8 NOT NULL,
  7044. "template_code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7045. "template_nickname" varchar(255) COLLATE "pg_catalog"."default",
  7046. "template_title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7047. "template_content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  7048. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7049. "send_status" int2 NOT NULL,
  7050. "send_time" timestamp(6),
  7051. "send_message_id" varchar(255) COLLATE "pg_catalog"."default",
  7052. "send_exception" varchar(4096) COLLATE "pg_catalog"."default",
  7053. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7054. "create_time" timestamp(6) NOT NULL,
  7055. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7056. "update_time" timestamp(6) NOT NULL,
  7057. "deleted" int2 NOT NULL DEFAULT 0
  7058. )
  7059. ;
  7060. COMMENT
  7061. ON COLUMN "system_mail_log"."id" IS '编号';
  7062. COMMENT
  7063. ON COLUMN "system_mail_log"."user_id" IS '用户编号';
  7064. COMMENT
  7065. ON COLUMN "system_mail_log"."user_type" IS '用户类型';
  7066. COMMENT
  7067. ON COLUMN "system_mail_log"."to_mail" IS '接收邮箱地址';
  7068. COMMENT
  7069. ON COLUMN "system_mail_log"."account_id" IS '邮箱账号编号';
  7070. COMMENT
  7071. ON COLUMN "system_mail_log"."from_mail" IS '发送邮箱地址';
  7072. COMMENT
  7073. ON COLUMN "system_mail_log"."template_id" IS '模板编号';
  7074. COMMENT
  7075. ON COLUMN "system_mail_log"."template_code" IS '模板编码';
  7076. COMMENT
  7077. ON COLUMN "system_mail_log"."template_nickname" IS '模版发送人名称';
  7078. COMMENT
  7079. ON COLUMN "system_mail_log"."template_title" IS '邮件标题';
  7080. COMMENT
  7081. ON COLUMN "system_mail_log"."template_content" IS '邮件内容';
  7082. COMMENT
  7083. ON COLUMN "system_mail_log"."template_params" IS '邮件参数';
  7084. COMMENT
  7085. ON COLUMN "system_mail_log"."send_status" IS '发送状态';
  7086. COMMENT
  7087. ON COLUMN "system_mail_log"."send_time" IS '发送时间';
  7088. COMMENT
  7089. ON COLUMN "system_mail_log"."send_message_id" IS '发送返回的消息 ID';
  7090. COMMENT
  7091. ON COLUMN "system_mail_log"."send_exception" IS '发送异常';
  7092. COMMENT
  7093. ON COLUMN "system_mail_log"."creator" IS '创建者';
  7094. COMMENT
  7095. ON COLUMN "system_mail_log"."create_time" IS '创建时间';
  7096. COMMENT
  7097. ON COLUMN "system_mail_log"."updater" IS '更新者';
  7098. COMMENT
  7099. ON COLUMN "system_mail_log"."update_time" IS '更新时间';
  7100. COMMENT
  7101. ON COLUMN "system_mail_log"."deleted" IS '是否删除';
  7102. COMMENT
  7103. ON TABLE "system_mail_log" IS '邮件日志表';
  7104. -- ----------------------------
  7105. -- Table structure for system_mail_template
  7106. -- ----------------------------
  7107. DROP TABLE IF EXISTS "system_mail_template";
  7108. CREATE TABLE "system_mail_template"
  7109. (
  7110. "id" int8 NOT NULL,
  7111. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7112. "code" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7113. "account_id" int8 NOT NULL,
  7114. "nickname" varchar(255) COLLATE "pg_catalog"."default",
  7115. "title" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7116. "content" varchar(10240) COLLATE "pg_catalog"."default" NOT NULL,
  7117. "params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7118. "status" int2 NOT NULL,
  7119. "remark" varchar(255) COLLATE "pg_catalog"."default",
  7120. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7121. "create_time" timestamp(6) NOT NULL,
  7122. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7123. "update_time" timestamp(6) NOT NULL,
  7124. "deleted" int2 NOT NULL DEFAULT 0
  7125. )
  7126. ;
  7127. COMMENT
  7128. ON COLUMN "system_mail_template"."id" IS '编号';
  7129. COMMENT
  7130. ON COLUMN "system_mail_template"."name" IS '模板名称';
  7131. COMMENT
  7132. ON COLUMN "system_mail_template"."code" IS '模板编码';
  7133. COMMENT
  7134. ON COLUMN "system_mail_template"."account_id" IS '发送的邮箱账号编号';
  7135. COMMENT
  7136. ON COLUMN "system_mail_template"."nickname" IS '发送人名称';
  7137. COMMENT
  7138. ON COLUMN "system_mail_template"."title" IS '模板标题';
  7139. COMMENT
  7140. ON COLUMN "system_mail_template"."content" IS '模板内容';
  7141. COMMENT
  7142. ON COLUMN "system_mail_template"."params" IS '参数数组';
  7143. COMMENT
  7144. ON COLUMN "system_mail_template"."status" IS '开启状态';
  7145. COMMENT
  7146. ON COLUMN "system_mail_template"."remark" IS '备注';
  7147. COMMENT
  7148. ON COLUMN "system_mail_template"."creator" IS '创建者';
  7149. COMMENT
  7150. ON COLUMN "system_mail_template"."create_time" IS '创建时间';
  7151. COMMENT
  7152. ON COLUMN "system_mail_template"."updater" IS '更新者';
  7153. COMMENT
  7154. ON COLUMN "system_mail_template"."update_time" IS '更新时间';
  7155. COMMENT
  7156. ON COLUMN "system_mail_template"."deleted" IS '是否删除';
  7157. COMMENT
  7158. ON TABLE "system_mail_template" IS '邮件模版表';
  7159. -- ----------------------------
  7160. -- Table structure for system_notify_message
  7161. -- ----------------------------
  7162. DROP TABLE IF EXISTS "system_notify_message";
  7163. CREATE TABLE "system_notify_message"
  7164. (
  7165. "id" int8 NOT NULL,
  7166. "user_id" int8 NOT NULL,
  7167. "user_type" int2 NOT NULL,
  7168. "template_id" int8 NOT NULL,
  7169. "template_code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  7170. "template_nickname" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7171. "template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  7172. "template_type" int4 NOT NULL,
  7173. "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7174. "read_status" bool NOT NULL DEFAULT false,
  7175. "read_time" timestamp(6),
  7176. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7177. "create_time" timestamp(6) NOT NULL,
  7178. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7179. "update_time" timestamp(6) NOT NULL,
  7180. "deleted" int2 NOT NULL DEFAULT 0,
  7181. "tenant_id" int8 NOT NULL
  7182. )
  7183. ;
  7184. COMMENT
  7185. ON COLUMN "system_notify_message"."id" IS '用户ID';
  7186. COMMENT
  7187. ON COLUMN "system_notify_message"."user_id" IS '用户id';
  7188. COMMENT
  7189. ON COLUMN "system_notify_message"."user_type" IS '用户类型';
  7190. COMMENT
  7191. ON COLUMN "system_notify_message"."template_id" IS '模版编号';
  7192. COMMENT
  7193. ON COLUMN "system_notify_message"."template_code" IS '模板编码';
  7194. COMMENT
  7195. ON COLUMN "system_notify_message"."template_nickname" IS '模版发送人名称';
  7196. COMMENT
  7197. ON COLUMN "system_notify_message"."template_content" IS '模版内容';
  7198. COMMENT
  7199. ON COLUMN "system_notify_message"."template_type" IS '模版类型';
  7200. COMMENT
  7201. ON COLUMN "system_notify_message"."template_params" IS '模版参数';
  7202. COMMENT
  7203. ON COLUMN "system_notify_message"."read_status" IS '是否已读';
  7204. COMMENT
  7205. ON COLUMN "system_notify_message"."read_time" IS '阅读时间';
  7206. COMMENT
  7207. ON COLUMN "system_notify_message"."creator" IS '创建者';
  7208. COMMENT
  7209. ON COLUMN "system_notify_message"."create_time" IS '创建时间';
  7210. COMMENT
  7211. ON COLUMN "system_notify_message"."updater" IS '更新者';
  7212. COMMENT
  7213. ON COLUMN "system_notify_message"."update_time" IS '更新时间';
  7214. COMMENT
  7215. ON COLUMN "system_notify_message"."deleted" IS '是否删除';
  7216. COMMENT
  7217. ON COLUMN "system_notify_message"."tenant_id" IS '租户编号';
  7218. COMMENT
  7219. ON TABLE "system_notify_message" IS '站内信消息表';
  7220. -- ----------------------------
  7221. -- Table structure for system_notify_template
  7222. -- ----------------------------
  7223. DROP TABLE IF EXISTS "system_notify_template";
  7224. CREATE TABLE "system_notify_template"
  7225. (
  7226. "id" int8 NOT NULL,
  7227. "name" varchar(63) COLLATE "pg_catalog"."default" NOT NULL,
  7228. "code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  7229. "nickname" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  7230. "content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  7231. "type" int2 NOT NULL,
  7232. "params" varchar(255) COLLATE "pg_catalog"."default",
  7233. "status" int2 NOT NULL,
  7234. "remark" varchar(255) COLLATE "pg_catalog"."default",
  7235. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7236. "create_time" timestamp(6) NOT NULL,
  7237. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7238. "update_time" timestamp(6) NOT NULL,
  7239. "deleted" int2 NOT NULL DEFAULT 0
  7240. )
  7241. ;
  7242. COMMENT
  7243. ON COLUMN "system_notify_template"."id" IS '主键';
  7244. COMMENT
  7245. ON COLUMN "system_notify_template"."name" IS '模板名称';
  7246. COMMENT
  7247. ON COLUMN "system_notify_template"."code" IS '模版编码';
  7248. COMMENT
  7249. ON COLUMN "system_notify_template"."nickname" IS '发送人名称';
  7250. COMMENT
  7251. ON COLUMN "system_notify_template"."content" IS '模版内容';
  7252. COMMENT
  7253. ON COLUMN "system_notify_template"."type" IS '类型';
  7254. COMMENT
  7255. ON COLUMN "system_notify_template"."params" IS '参数数组';
  7256. COMMENT
  7257. ON COLUMN "system_notify_template"."status" IS '状态';
  7258. COMMENT
  7259. ON COLUMN "system_notify_template"."remark" IS '备注';
  7260. COMMENT
  7261. ON COLUMN "system_notify_template"."creator" IS '创建者';
  7262. COMMENT
  7263. ON COLUMN "system_notify_template"."create_time" IS '创建时间';
  7264. COMMENT
  7265. ON COLUMN "system_notify_template"."updater" IS '更新者';
  7266. COMMENT
  7267. ON COLUMN "system_notify_template"."update_time" IS '更新时间';
  7268. COMMENT
  7269. ON COLUMN "system_notify_template"."deleted" IS '是否删除';
  7270. COMMENT
  7271. ON TABLE "system_notify_template" IS '站内信模板表';
  7272. -- ----------------------------
  7273. -- Table structure for system_user_session
  7274. -- ----------------------------
  7275. DROP TABLE IF EXISTS "system_user_session";
  7276. CREATE TABLE "system_user_session"
  7277. (
  7278. "id" int8 NOT NULL,
  7279. "token" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  7280. "user_id" int8 NOT NULL,
  7281. "user_type" int2 NOT NULL,
  7282. "session_timeout" timestamp(6) NOT NULL,
  7283. "username" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  7284. "user_ip" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  7285. "user_agent" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,
  7286. "creator" varchar(64) COLLATE "pg_catalog"."default",
  7287. "create_time" timestamp(6) NOT NULL,
  7288. "updater" varchar(64) COLLATE "pg_catalog"."default",
  7289. "update_time" timestamp(6) NOT NULL,
  7290. "deleted" int2 NOT NULL DEFAULT 0,
  7291. "tenant_id" int8 NOT NULL
  7292. )
  7293. ;
  7294. COMMENT
  7295. ON COLUMN "system_user_session"."id" IS '编号';
  7296. COMMENT
  7297. ON COLUMN "system_user_session"."token" IS '会话编号';
  7298. COMMENT
  7299. ON COLUMN "system_user_session"."user_id" IS '用户编号';
  7300. COMMENT
  7301. ON COLUMN "system_user_session"."user_type" IS '用户类型';
  7302. COMMENT
  7303. ON COLUMN "system_user_session"."session_timeout" IS '会话超时时间';
  7304. COMMENT
  7305. ON COLUMN "system_user_session"."username" IS '用户账号';
  7306. COMMENT
  7307. ON COLUMN "system_user_session"."user_ip" IS '用户 IP';
  7308. COMMENT
  7309. ON COLUMN "system_user_session"."user_agent" IS '浏览器 UA';
  7310. COMMENT
  7311. ON COLUMN "system_user_session"."creator" IS '创建者';
  7312. COMMENT
  7313. ON COLUMN "system_user_session"."create_time" IS '创建时间';
  7314. COMMENT
  7315. ON COLUMN "system_user_session"."updater" IS '更新者';
  7316. COMMENT
  7317. ON COLUMN "system_user_session"."update_time" IS '更新时间';
  7318. COMMENT
  7319. ON COLUMN "system_user_session"."deleted" IS '是否删除';
  7320. COMMENT
  7321. ON COLUMN "system_user_session"."tenant_id" IS '租户编号';
  7322. COMMENT
  7323. ON TABLE "system_user_session" IS '用户在线 Session';
  7324. -- ----------------------------
  7325. -- Alter sequences owned by
  7326. -- ----------------------------
  7327. -- ----------------------------
  7328. -- Alter sequences owned by
  7329. -- ----------------------------
  7330. SELECT setval('"bpm_oa_leave_seq"', 1, true);
  7331. -- ----------------------------
  7332. -- Alter sequences owned by
  7333. -- ----------------------------
  7334. -- ----------------------------
  7335. -- Alter sequences owned by
  7336. -- ----------------------------
  7337. -- ----------------------------
  7338. -- Alter sequences owned by
  7339. -- ----------------------------
  7340. SELECT setval('"bpm_task_assign_rule_seq"', 1, true);
  7341. -- ----------------------------
  7342. -- Alter sequences owned by
  7343. -- ----------------------------
  7344. -- ----------------------------
  7345. -- Alter sequences owned by
  7346. -- ----------------------------
  7347. -- ----------------------------
  7348. -- Alter sequences owned by
  7349. -- ----------------------------
  7350. SELECT setval('"infra_api_access_log_seq"', 537, true);
  7351. -- ----------------------------
  7352. -- Alter sequences owned by
  7353. -- ----------------------------
  7354. SELECT setval('"infra_api_error_log_seq"', 73, true);
  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. -- ----------------------------
  7377. -- Alter sequences owned by
  7378. -- ----------------------------
  7379. SELECT setval('"infra_job_log_seq"', 1, true);
  7380. -- ----------------------------
  7381. -- Alter sequences owned by
  7382. -- ----------------------------
  7383. SELECT setval('"infra_job_seq"', 2, true);
  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. -- ----------------------------
  7424. -- Alter sequences owned by
  7425. -- ----------------------------
  7426. SELECT setval('"system_error_code_seq"', 186, true);
  7427. -- ----------------------------
  7428. -- Alter sequences owned by
  7429. -- ----------------------------
  7430. SELECT setval('"system_login_log_seq"', 23, true);
  7431. -- ----------------------------
  7432. -- Alter sequences owned by
  7433. -- ----------------------------
  7434. -- ----------------------------
  7435. -- Alter sequences owned by
  7436. -- ----------------------------
  7437. -- ----------------------------
  7438. -- Alter sequences owned by
  7439. -- ----------------------------
  7440. SELECT setval('"system_oauth2_access_token_seq"', 11, true);
  7441. -- ----------------------------
  7442. -- Alter sequences owned by
  7443. -- ----------------------------
  7444. SELECT setval('"system_oauth2_approve_seq"', 4, true);
  7445. -- ----------------------------
  7446. -- Alter sequences owned by
  7447. -- ----------------------------
  7448. SELECT setval('"system_oauth2_client_seq"', 1, false);
  7449. -- ----------------------------
  7450. -- Alter sequences owned by
  7451. -- ----------------------------
  7452. SELECT setval('"system_oauth2_code_seq"', 4, true);
  7453. -- ----------------------------
  7454. -- Alter sequences owned by
  7455. -- ----------------------------
  7456. SELECT setval('"system_oauth2_refresh_token_seq"', 1, true);
  7457. -- ----------------------------
  7458. -- Alter sequences owned by
  7459. -- ----------------------------
  7460. SELECT setval('"system_operate_log_seq"', 44, true);
  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. -- ----------------------------
  7480. -- Alter sequences owned by
  7481. -- ----------------------------
  7482. SELECT setval('"system_sms_log_seq"', 1, true);
  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. -- Alter sequences owned by
  7506. -- ----------------------------
  7507. -- ----------------------------
  7508. -- Primary Key structure for table bpm_form
  7509. -- ----------------------------
  7510. ALTER TABLE "bpm_form"
  7511. ADD CONSTRAINT "bpm_form_pkey" PRIMARY KEY ("id");
  7512. -- ----------------------------
  7513. -- Primary Key structure for table bpm_oa_leave
  7514. -- ----------------------------
  7515. ALTER TABLE "bpm_oa_leave"
  7516. ADD CONSTRAINT "bpm_oa_leave_pkey" PRIMARY KEY ("id");
  7517. -- ----------------------------
  7518. -- Primary Key structure for table bpm_process_definition_ext
  7519. -- ----------------------------
  7520. ALTER TABLE "bpm_process_definition_ext"
  7521. ADD CONSTRAINT "bpm_process_definition_ext_pkey" PRIMARY KEY ("id");
  7522. -- ----------------------------
  7523. -- Primary Key structure for table bpm_process_instance_ext
  7524. -- ----------------------------
  7525. ALTER TABLE "bpm_process_instance_ext"
  7526. ADD CONSTRAINT "bpm_process_instance_ext_pkey" PRIMARY KEY ("id");
  7527. -- ----------------------------
  7528. -- Primary Key structure for table bpm_task_assign_rule
  7529. -- ----------------------------
  7530. ALTER TABLE "bpm_task_assign_rule"
  7531. ADD CONSTRAINT "bpm_task_assign_rule_pkey" PRIMARY KEY ("id");
  7532. -- ----------------------------
  7533. -- Primary Key structure for table bpm_task_ext
  7534. -- ----------------------------
  7535. ALTER TABLE "bpm_task_ext"
  7536. ADD CONSTRAINT "bpm_task_ext_pkey" PRIMARY KEY ("id");
  7537. -- ----------------------------
  7538. -- Primary Key structure for table bpm_user_group
  7539. -- ----------------------------
  7540. ALTER TABLE "bpm_user_group"
  7541. ADD CONSTRAINT "bpm_user_group_pkey" PRIMARY KEY ("id");
  7542. -- ----------------------------
  7543. -- Primary Key structure for table infra_api_access_log
  7544. -- ----------------------------
  7545. ALTER TABLE "infra_api_access_log"
  7546. ADD CONSTRAINT "infra_api_access_log_pkey" PRIMARY KEY ("id");
  7547. -- ----------------------------
  7548. -- Primary Key structure for table infra_api_error_log
  7549. -- ----------------------------
  7550. ALTER TABLE "infra_api_error_log"
  7551. ADD CONSTRAINT "infra_api_error_log_pkey" PRIMARY KEY ("id");
  7552. -- ----------------------------
  7553. -- Primary Key structure for table infra_codegen_column
  7554. -- ----------------------------
  7555. ALTER TABLE "infra_codegen_column"
  7556. ADD CONSTRAINT "infra_codegen_column_pkey" PRIMARY KEY ("id");
  7557. -- ----------------------------
  7558. -- Primary Key structure for table infra_codegen_table
  7559. -- ----------------------------
  7560. ALTER TABLE "infra_codegen_table"
  7561. ADD CONSTRAINT "infra_codegen_table_pkey" PRIMARY KEY ("id");
  7562. -- ----------------------------
  7563. -- Primary Key structure for table infra_config
  7564. -- ----------------------------
  7565. ALTER TABLE "infra_config"
  7566. ADD CONSTRAINT "infra_config_pkey" PRIMARY KEY ("id");
  7567. -- ----------------------------
  7568. -- Primary Key structure for table infra_data_source_config
  7569. -- ----------------------------
  7570. ALTER TABLE "infra_data_source_config"
  7571. ADD CONSTRAINT "infra_data_source_config_pkey" PRIMARY KEY ("id");
  7572. -- ----------------------------
  7573. -- Primary Key structure for table infra_file
  7574. -- ----------------------------
  7575. ALTER TABLE "infra_file"
  7576. ADD CONSTRAINT "infra_file_pkey" PRIMARY KEY ("id");
  7577. -- ----------------------------
  7578. -- Primary Key structure for table infra_file_config
  7579. -- ----------------------------
  7580. ALTER TABLE "infra_file_config"
  7581. ADD CONSTRAINT "infra_file_config_pkey" PRIMARY KEY ("id");
  7582. -- ----------------------------
  7583. -- Primary Key structure for table infra_file_content
  7584. -- ----------------------------
  7585. ALTER TABLE "infra_file_content"
  7586. ADD CONSTRAINT "infra_file_content_pkey" PRIMARY KEY ("id");
  7587. -- ----------------------------
  7588. -- Primary Key structure for table infra_job
  7589. -- ----------------------------
  7590. ALTER TABLE "infra_job"
  7591. ADD CONSTRAINT "infra_job_pkey" PRIMARY KEY ("id");
  7592. -- ----------------------------
  7593. -- Primary Key structure for table infra_job_log
  7594. -- ----------------------------
  7595. ALTER TABLE "infra_job_log"
  7596. ADD CONSTRAINT "infra_job_log_pkey" PRIMARY KEY ("id");
  7597. -- ----------------------------
  7598. -- Primary Key structure for table infra_test_demo
  7599. -- ----------------------------
  7600. ALTER TABLE "infra_test_demo"
  7601. ADD CONSTRAINT "infra_test_demo_pkey" PRIMARY KEY ("id");
  7602. -- ----------------------------
  7603. -- Indexes structure for table member_user
  7604. -- ----------------------------
  7605. CREATE UNIQUE INDEX "uk_mobile" ON "member_user" USING btree (
  7606. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7607. );
  7608. COMMENT
  7609. ON INDEX "uk_mobile" IS '手机号';
  7610. -- ----------------------------
  7611. -- Primary Key structure for table member_user
  7612. -- ----------------------------
  7613. ALTER TABLE "member_user"
  7614. ADD CONSTRAINT "member_user_pkey" PRIMARY KEY ("id");
  7615. -- ----------------------------
  7616. -- Primary Key structure for table pay_app
  7617. -- ----------------------------
  7618. ALTER TABLE "pay_app"
  7619. ADD CONSTRAINT "pay_app_pkey" PRIMARY KEY ("id");
  7620. -- ----------------------------
  7621. -- Primary Key structure for table pay_channel
  7622. -- ----------------------------
  7623. ALTER TABLE "pay_channel"
  7624. ADD CONSTRAINT "pay_channel_pkey" PRIMARY KEY ("id");
  7625. -- ----------------------------
  7626. -- Primary Key structure for table pay_merchant
  7627. -- ----------------------------
  7628. ALTER TABLE "pay_merchant"
  7629. ADD CONSTRAINT "pay_merchant_pkey" PRIMARY KEY ("id");
  7630. -- ----------------------------
  7631. -- Primary Key structure for table pay_notify_log
  7632. -- ----------------------------
  7633. ALTER TABLE "pay_notify_log"
  7634. ADD CONSTRAINT "pay_notify_log_pkey" PRIMARY KEY ("id");
  7635. -- ----------------------------
  7636. -- Primary Key structure for table pay_notify_task
  7637. -- ----------------------------
  7638. ALTER TABLE "pay_notify_task"
  7639. ADD CONSTRAINT "pay_notify_task_pkey" PRIMARY KEY ("id");
  7640. -- ----------------------------
  7641. -- Primary Key structure for table pay_order
  7642. -- ----------------------------
  7643. ALTER TABLE "pay_order"
  7644. ADD CONSTRAINT "pay_order_pkey" PRIMARY KEY ("id");
  7645. -- ----------------------------
  7646. -- Primary Key structure for table pay_order_extension
  7647. -- ----------------------------
  7648. ALTER TABLE "pay_order_extension"
  7649. ADD CONSTRAINT "pay_order_extension_pkey" PRIMARY KEY ("id");
  7650. -- ----------------------------
  7651. -- Primary Key structure for table pay_refund
  7652. -- ----------------------------
  7653. ALTER TABLE "pay_refund"
  7654. ADD CONSTRAINT "pay_refund_pkey" PRIMARY KEY ("id");
  7655. -- ----------------------------
  7656. -- Primary Key structure for table qrtz_blob_triggers
  7657. -- ----------------------------
  7658. ALTER TABLE "qrtz_blob_triggers"
  7659. ADD CONSTRAINT "qrtz_blob_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7660. -- ----------------------------
  7661. -- Primary Key structure for table qrtz_calendars
  7662. -- ----------------------------
  7663. ALTER TABLE "qrtz_calendars"
  7664. ADD CONSTRAINT "qrtz_calendars_pkey" PRIMARY KEY ("sched_name", "calendar_name");
  7665. -- ----------------------------
  7666. -- Primary Key structure for table qrtz_cron_triggers
  7667. -- ----------------------------
  7668. ALTER TABLE "qrtz_cron_triggers"
  7669. ADD CONSTRAINT "qrtz_cron_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7670. -- ----------------------------
  7671. -- Indexes structure for table qrtz_fired_triggers
  7672. -- ----------------------------
  7673. CREATE INDEX "idx_qrtz_ft_inst_job_req_rcvry" ON "qrtz_fired_triggers" USING btree (
  7674. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7675. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7676. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  7677. );
  7678. CREATE INDEX "idx_qrtz_ft_j_g" ON "qrtz_fired_triggers" USING btree (
  7679. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7680. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7681. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7682. );
  7683. CREATE INDEX "idx_qrtz_ft_jg" ON "qrtz_fired_triggers" USING btree (
  7684. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7685. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7686. );
  7687. CREATE INDEX "idx_qrtz_ft_t_g" ON "qrtz_fired_triggers" USING btree (
  7688. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7689. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7690. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7691. );
  7692. CREATE INDEX "idx_qrtz_ft_tg" ON "qrtz_fired_triggers" USING btree (
  7693. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7694. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7695. );
  7696. CREATE INDEX "idx_qrtz_ft_trig_inst_name" ON "qrtz_fired_triggers" USING btree (
  7697. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7698. "instance_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7699. );
  7700. -- ----------------------------
  7701. -- Primary Key structure for table qrtz_fired_triggers
  7702. -- ----------------------------
  7703. ALTER TABLE "qrtz_fired_triggers"
  7704. ADD CONSTRAINT "qrtz_fired_triggers_pkey" PRIMARY KEY ("sched_name", "entry_id");
  7705. -- ----------------------------
  7706. -- Indexes structure for table qrtz_job_details
  7707. -- ----------------------------
  7708. CREATE INDEX "idx_qrtz_j_grp" ON "qrtz_job_details" USING btree (
  7709. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7710. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7711. );
  7712. CREATE INDEX "idx_qrtz_j_req_recovery" ON "qrtz_job_details" USING btree (
  7713. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7714. "requests_recovery" "pg_catalog"."bool_ops" ASC NULLS LAST
  7715. );
  7716. -- ----------------------------
  7717. -- Primary Key structure for table qrtz_job_details
  7718. -- ----------------------------
  7719. ALTER TABLE "qrtz_job_details"
  7720. ADD CONSTRAINT "qrtz_job_details_pkey" PRIMARY KEY ("sched_name", "job_name", "job_group");
  7721. -- ----------------------------
  7722. -- Primary Key structure for table qrtz_locks
  7723. -- ----------------------------
  7724. ALTER TABLE "qrtz_locks"
  7725. ADD CONSTRAINT "qrtz_locks_pkey" PRIMARY KEY ("sched_name", "lock_name");
  7726. -- ----------------------------
  7727. -- Primary Key structure for table qrtz_paused_trigger_grps
  7728. -- ----------------------------
  7729. ALTER TABLE "qrtz_paused_trigger_grps"
  7730. ADD CONSTRAINT "qrtz_paused_trigger_grps_pkey" PRIMARY KEY ("sched_name", "trigger_group");
  7731. -- ----------------------------
  7732. -- Primary Key structure for table qrtz_scheduler_state
  7733. -- ----------------------------
  7734. ALTER TABLE "qrtz_scheduler_state"
  7735. ADD CONSTRAINT "qrtz_scheduler_state_pkey" PRIMARY KEY ("sched_name", "instance_name");
  7736. -- ----------------------------
  7737. -- Primary Key structure for table qrtz_simple_triggers
  7738. -- ----------------------------
  7739. ALTER TABLE "qrtz_simple_triggers"
  7740. ADD CONSTRAINT "qrtz_simple_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7741. -- ----------------------------
  7742. -- Primary Key structure for table qrtz_simprop_triggers
  7743. -- ----------------------------
  7744. ALTER TABLE "qrtz_simprop_triggers"
  7745. ADD CONSTRAINT "qrtz_simprop_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7746. -- ----------------------------
  7747. -- Indexes structure for table qrtz_triggers
  7748. -- ----------------------------
  7749. CREATE INDEX "idx_qrtz_t_c" ON "qrtz_triggers" USING btree (
  7750. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7751. "calendar_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7752. );
  7753. CREATE INDEX "idx_qrtz_t_g" ON "qrtz_triggers" USING btree (
  7754. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7755. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7756. );
  7757. CREATE INDEX "idx_qrtz_t_j" ON "qrtz_triggers" USING btree (
  7758. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7759. "job_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7760. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7761. );
  7762. CREATE INDEX "idx_qrtz_t_jg" ON "qrtz_triggers" USING btree (
  7763. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7764. "job_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7765. );
  7766. CREATE INDEX "idx_qrtz_t_n_g_state" ON "qrtz_triggers" USING btree (
  7767. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7768. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7769. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7770. );
  7771. CREATE INDEX "idx_qrtz_t_n_state" ON "qrtz_triggers" USING btree (
  7772. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7773. "trigger_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7774. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7775. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7776. );
  7777. CREATE INDEX "idx_qrtz_t_next_fire_time" ON "qrtz_triggers" USING btree (
  7778. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7779. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7780. );
  7781. CREATE INDEX "idx_qrtz_t_nft_misfire" ON "qrtz_triggers" USING btree (
  7782. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7783. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7784. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7785. );
  7786. CREATE INDEX "idx_qrtz_t_nft_st" ON "qrtz_triggers" USING btree (
  7787. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7788. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7789. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST
  7790. );
  7791. CREATE INDEX "idx_qrtz_t_nft_st_misfire" ON "qrtz_triggers" USING btree (
  7792. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7793. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7794. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  7795. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7796. );
  7797. CREATE INDEX "idx_qrtz_t_nft_st_misfire_grp" ON "qrtz_triggers" USING btree (
  7798. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7799. "misfire_instr" "pg_catalog"."int2_ops" ASC NULLS LAST,
  7800. "next_fire_time" "pg_catalog"."int8_ops" ASC NULLS LAST,
  7801. "trigger_group" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7802. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7803. );
  7804. CREATE INDEX "idx_qrtz_t_state" ON "qrtz_triggers" USING btree (
  7805. "sched_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7806. "trigger_state" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7807. );
  7808. -- ----------------------------
  7809. -- Primary Key structure for table qrtz_triggers
  7810. -- ----------------------------
  7811. ALTER TABLE "qrtz_triggers"
  7812. ADD CONSTRAINT "qrtz_triggers_pkey" PRIMARY KEY ("sched_name", "trigger_name", "trigger_group");
  7813. -- ----------------------------
  7814. -- Primary Key structure for table system_dept
  7815. -- ----------------------------
  7816. ALTER TABLE "system_dept"
  7817. ADD CONSTRAINT "system_dept_pkey" PRIMARY KEY ("id");
  7818. -- ----------------------------
  7819. -- Primary Key structure for table system_dict_data
  7820. -- ----------------------------
  7821. ALTER TABLE "system_dict_data"
  7822. ADD CONSTRAINT "system_dict_data_pkey" PRIMARY KEY ("id");
  7823. -- ----------------------------
  7824. -- Indexes structure for table system_dict_type
  7825. -- ----------------------------
  7826. CREATE UNIQUE INDEX "dict_type" ON "system_dict_type" USING btree (
  7827. "type" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7828. );
  7829. -- ----------------------------
  7830. -- Primary Key structure for table system_dict_type
  7831. -- ----------------------------
  7832. ALTER TABLE "system_dict_type"
  7833. ADD CONSTRAINT "system_dict_type_pkey" PRIMARY KEY ("id");
  7834. -- ----------------------------
  7835. -- Primary Key structure for table system_error_code
  7836. -- ----------------------------
  7837. ALTER TABLE "system_error_code"
  7838. ADD CONSTRAINT "system_error_code_pkey" PRIMARY KEY ("id");
  7839. -- ----------------------------
  7840. -- Primary Key structure for table system_login_log
  7841. -- ----------------------------
  7842. ALTER TABLE "system_login_log"
  7843. ADD CONSTRAINT "system_login_log_pkey" PRIMARY KEY ("id");
  7844. -- ----------------------------
  7845. -- Primary Key structure for table system_menu
  7846. -- ----------------------------
  7847. ALTER TABLE "system_menu"
  7848. ADD CONSTRAINT "system_menu_pkey" PRIMARY KEY ("id");
  7849. -- ----------------------------
  7850. -- Primary Key structure for table system_notice
  7851. -- ----------------------------
  7852. ALTER TABLE "system_notice"
  7853. ADD CONSTRAINT "system_notice_pkey" PRIMARY KEY ("id");
  7854. -- ----------------------------
  7855. -- Primary Key structure for table system_oauth2_access_token
  7856. -- ----------------------------
  7857. ALTER TABLE "system_oauth2_access_token"
  7858. ADD CONSTRAINT "system_oauth2_access_token_pkey" PRIMARY KEY ("id");
  7859. -- ----------------------------
  7860. -- Primary Key structure for table system_oauth2_approve
  7861. -- ----------------------------
  7862. ALTER TABLE "system_oauth2_approve"
  7863. ADD CONSTRAINT "system_oauth2_approve_pkey" PRIMARY KEY ("id");
  7864. -- ----------------------------
  7865. -- Primary Key structure for table system_oauth2_client
  7866. -- ----------------------------
  7867. ALTER TABLE "system_oauth2_client"
  7868. ADD CONSTRAINT "system_oauth2_client_pkey" PRIMARY KEY ("id");
  7869. -- ----------------------------
  7870. -- Primary Key structure for table system_oauth2_code
  7871. -- ----------------------------
  7872. ALTER TABLE "system_oauth2_code"
  7873. ADD CONSTRAINT "system_oauth2_code_pkey" PRIMARY KEY ("id");
  7874. -- ----------------------------
  7875. -- Primary Key structure for table system_oauth2_refresh_token
  7876. -- ----------------------------
  7877. ALTER TABLE "system_oauth2_refresh_token"
  7878. ADD CONSTRAINT "system_oauth2_refresh_token_pkey" PRIMARY KEY ("id");
  7879. -- ----------------------------
  7880. -- Primary Key structure for table system_operate_log
  7881. -- ----------------------------
  7882. ALTER TABLE "system_operate_log"
  7883. ADD CONSTRAINT "system_operate_log_pkey" PRIMARY KEY ("id");
  7884. -- ----------------------------
  7885. -- Primary Key structure for table system_post
  7886. -- ----------------------------
  7887. ALTER TABLE "system_post"
  7888. ADD CONSTRAINT "system_post_pkey" PRIMARY KEY ("id");
  7889. -- ----------------------------
  7890. -- Primary Key structure for table system_role
  7891. -- ----------------------------
  7892. ALTER TABLE "system_role"
  7893. ADD CONSTRAINT "system_role_pkey" PRIMARY KEY ("id");
  7894. -- ----------------------------
  7895. -- Primary Key structure for table system_role_menu
  7896. -- ----------------------------
  7897. ALTER TABLE "system_role_menu"
  7898. ADD CONSTRAINT "system_role_menu_pkey" PRIMARY KEY ("id");
  7899. -- ----------------------------
  7900. -- Primary Key structure for table system_sensitive_word
  7901. -- ----------------------------
  7902. ALTER TABLE "system_sensitive_word"
  7903. ADD CONSTRAINT "system_sensitive_word_pkey" PRIMARY KEY ("id");
  7904. -- ----------------------------
  7905. -- Primary Key structure for table system_sms_channel
  7906. -- ----------------------------
  7907. ALTER TABLE "system_sms_channel"
  7908. ADD CONSTRAINT "system_sms_channel_pkey" PRIMARY KEY ("id");
  7909. -- ----------------------------
  7910. -- Indexes structure for table system_sms_code
  7911. -- ----------------------------
  7912. CREATE INDEX "idx_mobile" ON "system_sms_code" USING btree (
  7913. "mobile" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
  7914. );
  7915. COMMENT
  7916. ON INDEX "idx_mobile" IS '手机号';
  7917. -- ----------------------------
  7918. -- Primary Key structure for table system_sms_code
  7919. -- ----------------------------
  7920. ALTER TABLE "system_sms_code"
  7921. ADD CONSTRAINT "system_sms_code_pkey" PRIMARY KEY ("id");
  7922. -- ----------------------------
  7923. -- Primary Key structure for table system_sms_log
  7924. -- ----------------------------
  7925. ALTER TABLE "system_sms_log"
  7926. ADD CONSTRAINT "system_sms_log_pkey" PRIMARY KEY ("id");
  7927. -- ----------------------------
  7928. -- Primary Key structure for table system_sms_template
  7929. -- ----------------------------
  7930. ALTER TABLE "system_sms_template"
  7931. ADD CONSTRAINT "system_sms_template_pkey" PRIMARY KEY ("id");
  7932. -- ----------------------------
  7933. -- Primary Key structure for table system_social_user
  7934. -- ----------------------------
  7935. ALTER TABLE "system_social_user"
  7936. ADD CONSTRAINT "system_social_user_pkey" PRIMARY KEY ("id");
  7937. -- ----------------------------
  7938. -- Primary Key structure for table system_social_user_bind
  7939. -- ----------------------------
  7940. ALTER TABLE "system_social_user_bind"
  7941. ADD CONSTRAINT "system_social_user_bind_pkey" PRIMARY KEY ("id");
  7942. -- ----------------------------
  7943. -- Primary Key structure for table system_tenant
  7944. -- ----------------------------
  7945. ALTER TABLE "system_tenant"
  7946. ADD CONSTRAINT "system_tenant_pkey" PRIMARY KEY ("id");
  7947. -- ----------------------------
  7948. -- Primary Key structure for table system_tenant_package
  7949. -- ----------------------------
  7950. ALTER TABLE "system_tenant_package"
  7951. ADD CONSTRAINT "system_tenant_package_pkey" PRIMARY KEY ("id");
  7952. -- ----------------------------
  7953. -- Primary Key structure for table system_user_post
  7954. -- ----------------------------
  7955. ALTER TABLE "system_user_post"
  7956. ADD CONSTRAINT "system_user_post_pkey" PRIMARY KEY ("id");
  7957. -- ----------------------------
  7958. -- Primary Key structure for table system_user_role
  7959. -- ----------------------------
  7960. ALTER TABLE "system_user_role"
  7961. ADD CONSTRAINT "system_user_role_pkey" PRIMARY KEY ("id");
  7962. -- ----------------------------
  7963. -- Indexes structure for table system_users
  7964. -- ----------------------------
  7965. CREATE UNIQUE INDEX "idx_username" ON "system_users" USING btree (
  7966. "username" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
  7967. "update_time" "pg_catalog"."timestamp_ops" ASC NULLS LAST,
  7968. "tenant_id" "pg_catalog"."int8_ops" ASC NULLS LAST
  7969. );
  7970. -- ----------------------------
  7971. -- Primary Key structure for table system_users
  7972. -- ----------------------------
  7973. ALTER TABLE "system_users"
  7974. ADD CONSTRAINT "system_user_pkey" PRIMARY KEY ("id");
  7975. -- ----------------------------
  7976. -- Foreign Keys structure for table qrtz_blob_triggers
  7977. -- ----------------------------
  7978. ALTER TABLE "qrtz_blob_triggers"
  7979. 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;
  7980. -- ----------------------------
  7981. -- Foreign Keys structure for table qrtz_cron_triggers
  7982. -- ----------------------------
  7983. ALTER TABLE "qrtz_cron_triggers"
  7984. 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;
  7985. -- ----------------------------
  7986. -- Foreign Keys structure for table qrtz_simple_triggers
  7987. -- ----------------------------
  7988. ALTER TABLE "qrtz_simple_triggers"
  7989. 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;
  7990. -- ----------------------------
  7991. -- Foreign Keys structure for table qrtz_simprop_triggers
  7992. -- ----------------------------
  7993. ALTER TABLE "qrtz_simprop_triggers"
  7994. 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;
  7995. -- ----------------------------
  7996. -- Foreign Keys structure for table qrtz_triggers
  7997. -- ----------------------------
  7998. ALTER TABLE "qrtz_triggers"
  7999. 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;