ruoyi-vue-pro.sql 523 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 127.0.0.1 SQLServer
  4. Source Server Type : SQL Server
  5. Source Server Version : 15004198
  6. Source Host : 127.0.0.1:1433
  7. Source Catalog : ruoyi-vue-pro
  8. Source Schema : dbo
  9. Target Server Type : SQL Server
  10. Target Server Version : 15004198
  11. File Encoding : 65001
  12. Date: 15/06/2022 08:15:45
  13. */
  14. -- ----------------------------
  15. -- Table structure for QRTZ_BLOB_TRIGGERS
  16. -- ----------------------------
  17. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_BLOB_TRIGGERS]') AND type IN ('U'))
  18. DROP TABLE [dbo].[QRTZ_BLOB_TRIGGERS]
  19. GO
  20. CREATE TABLE [dbo].[QRTZ_BLOB_TRIGGERS] (
  21. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  22. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  23. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  24. [BLOB_DATA] varbinary(max) NULL
  25. )
  26. GO
  27. ALTER TABLE [dbo].[QRTZ_BLOB_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  28. GO
  29. -- ----------------------------
  30. -- Records of QRTZ_BLOB_TRIGGERS
  31. -- ----------------------------
  32. BEGIN TRANSACTION
  33. GO
  34. COMMIT
  35. GO
  36. -- ----------------------------
  37. -- Table structure for QRTZ_CALENDARS
  38. -- ----------------------------
  39. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_CALENDARS]') AND type IN ('U'))
  40. DROP TABLE [dbo].[QRTZ_CALENDARS]
  41. GO
  42. CREATE TABLE [dbo].[QRTZ_CALENDARS] (
  43. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  44. [CALENDAR_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  45. [CALENDAR] varbinary(max) NOT NULL
  46. )
  47. GO
  48. ALTER TABLE [dbo].[QRTZ_CALENDARS] SET (LOCK_ESCALATION = TABLE)
  49. GO
  50. -- ----------------------------
  51. -- Records of QRTZ_CALENDARS
  52. -- ----------------------------
  53. BEGIN TRANSACTION
  54. GO
  55. COMMIT
  56. GO
  57. -- ----------------------------
  58. -- Table structure for QRTZ_CRON_TRIGGERS
  59. -- ----------------------------
  60. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_CRON_TRIGGERS]') AND type IN ('U'))
  61. DROP TABLE [dbo].[QRTZ_CRON_TRIGGERS]
  62. GO
  63. CREATE TABLE [dbo].[QRTZ_CRON_TRIGGERS] (
  64. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  65. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  66. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  67. [CRON_EXPRESSION] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  68. [TIME_ZONE_ID] varchar(80) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  69. )
  70. GO
  71. ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  72. GO
  73. -- ----------------------------
  74. -- Records of QRTZ_CRON_TRIGGERS
  75. -- ----------------------------
  76. BEGIN TRANSACTION
  77. GO
  78. INSERT INTO [dbo].[QRTZ_CRON_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP], [CRON_EXPRESSION], [TIME_ZONE_ID]) VALUES (N'schedulerName', N'userSessionTimeoutJob', N'DEFAULT', N'0 * * * * ? *', N'Asia/Shanghai')
  79. GO
  80. COMMIT
  81. GO
  82. -- ----------------------------
  83. -- Table structure for QRTZ_FIRED_TRIGGERS
  84. -- ----------------------------
  85. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_FIRED_TRIGGERS]') AND type IN ('U'))
  86. DROP TABLE [dbo].[QRTZ_FIRED_TRIGGERS]
  87. GO
  88. CREATE TABLE [dbo].[QRTZ_FIRED_TRIGGERS] (
  89. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  90. [ENTRY_ID] varchar(95) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  91. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  92. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  93. [INSTANCE_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  94. [FIRED_TIME] bigint NOT NULL,
  95. [SCHED_TIME] bigint NOT NULL,
  96. [PRIORITY] int NOT NULL,
  97. [STATE] varchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  98. [JOB_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  99. [JOB_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  100. [IS_NONCONCURRENT] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  101. [REQUESTS_RECOVERY] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  102. )
  103. GO
  104. ALTER TABLE [dbo].[QRTZ_FIRED_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  105. GO
  106. -- ----------------------------
  107. -- Records of QRTZ_FIRED_TRIGGERS
  108. -- ----------------------------
  109. BEGIN TRANSACTION
  110. GO
  111. COMMIT
  112. GO
  113. -- ----------------------------
  114. -- Table structure for QRTZ_JOB_DETAILS
  115. -- ----------------------------
  116. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_JOB_DETAILS]') AND type IN ('U'))
  117. DROP TABLE [dbo].[QRTZ_JOB_DETAILS]
  118. GO
  119. CREATE TABLE [dbo].[QRTZ_JOB_DETAILS] (
  120. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  121. [JOB_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  122. [JOB_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  123. [DESCRIPTION] varchar(250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  124. [JOB_CLASS_NAME] varchar(250) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  125. [IS_DURABLE] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  126. [IS_NONCONCURRENT] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  127. [IS_UPDATE_DATA] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  128. [REQUESTS_RECOVERY] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  129. [JOB_DATA] varbinary(max) NULL
  130. )
  131. GO
  132. ALTER TABLE [dbo].[QRTZ_JOB_DETAILS] SET (LOCK_ESCALATION = TABLE)
  133. GO
  134. -- ----------------------------
  135. -- Records of QRTZ_JOB_DETAILS
  136. -- ----------------------------
  137. BEGIN TRANSACTION
  138. GO
  139. INSERT INTO [dbo].[QRTZ_JOB_DETAILS] ([SCHED_NAME], [JOB_NAME], [JOB_GROUP], [DESCRIPTION], [JOB_CLASS_NAME], [IS_DURABLE], [IS_NONCONCURRENT], [IS_UPDATE_DATA], [REQUESTS_RECOVERY], [JOB_DATA]) VALUES (N'schedulerName', N'userSessionTimeoutJob', N'DEFAULT', NULL, N'cn.newfeifan.mall.framework.quartz.core.handler.JobHandlerInvoker', N'0', N'1', N'1', N'0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C770800000010000000027400064A4F425F49447372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B020000787000000000000000107400104A4F425F48414E444C45525F4E414D457400157573657253657373696F6E54696D656F75744A6F627800)
  140. GO
  141. COMMIT
  142. GO
  143. -- ----------------------------
  144. -- Table structure for QRTZ_LOCKS
  145. -- ----------------------------
  146. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_LOCKS]') AND type IN ('U'))
  147. DROP TABLE [dbo].[QRTZ_LOCKS]
  148. GO
  149. CREATE TABLE [dbo].[QRTZ_LOCKS] (
  150. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  151. [LOCK_NAME] varchar(40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
  152. )
  153. GO
  154. ALTER TABLE [dbo].[QRTZ_LOCKS] SET (LOCK_ESCALATION = TABLE)
  155. GO
  156. -- ----------------------------
  157. -- Records of QRTZ_LOCKS
  158. -- ----------------------------
  159. BEGIN TRANSACTION
  160. GO
  161. INSERT INTO [dbo].[QRTZ_LOCKS] ([SCHED_NAME], [LOCK_NAME]) VALUES (N'schedulerName', N'STATE_ACCESS')
  162. GO
  163. INSERT INTO [dbo].[QRTZ_LOCKS] ([SCHED_NAME], [LOCK_NAME]) VALUES (N'schedulerName', N'TRIGGER_ACCESS')
  164. GO
  165. COMMIT
  166. GO
  167. -- ----------------------------
  168. -- Table structure for QRTZ_PAUSED_TRIGGER_GRPS
  169. -- ----------------------------
  170. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_PAUSED_TRIGGER_GRPS]') AND type IN ('U'))
  171. DROP TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS]
  172. GO
  173. CREATE TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] (
  174. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  175. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
  176. )
  177. GO
  178. ALTER TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] SET (LOCK_ESCALATION = TABLE)
  179. GO
  180. -- ----------------------------
  181. -- Records of QRTZ_PAUSED_TRIGGER_GRPS
  182. -- ----------------------------
  183. BEGIN TRANSACTION
  184. GO
  185. COMMIT
  186. GO
  187. -- ----------------------------
  188. -- Table structure for QRTZ_SCHEDULER_STATE
  189. -- ----------------------------
  190. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_SCHEDULER_STATE]') AND type IN ('U'))
  191. DROP TABLE [dbo].[QRTZ_SCHEDULER_STATE]
  192. GO
  193. CREATE TABLE [dbo].[QRTZ_SCHEDULER_STATE] (
  194. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  195. [INSTANCE_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  196. [LAST_CHECKIN_TIME] bigint NOT NULL,
  197. [CHECKIN_INTERVAL] bigint NOT NULL
  198. )
  199. GO
  200. ALTER TABLE [dbo].[QRTZ_SCHEDULER_STATE] SET (LOCK_ESCALATION = TABLE)
  201. GO
  202. -- ----------------------------
  203. -- Records of QRTZ_SCHEDULER_STATE
  204. -- ----------------------------
  205. BEGIN TRANSACTION
  206. GO
  207. INSERT INTO [dbo].[QRTZ_SCHEDULER_STATE] ([SCHED_NAME], [INSTANCE_NAME], [LAST_CHECKIN_TIME], [CHECKIN_INTERVAL]) VALUES (N'schedulerName', N'Yunai1651483828928', N'1651484588813', N'15000')
  208. GO
  209. COMMIT
  210. GO
  211. -- ----------------------------
  212. -- Table structure for QRTZ_SIMPLE_TRIGGERS
  213. -- ----------------------------
  214. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_SIMPLE_TRIGGERS]') AND type IN ('U'))
  215. DROP TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS]
  216. GO
  217. CREATE TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] (
  218. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  219. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  220. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  221. [REPEAT_COUNT] bigint NOT NULL,
  222. [REPEAT_INTERVAL] bigint NOT NULL,
  223. [TIMES_TRIGGERED] bigint NOT NULL
  224. )
  225. GO
  226. ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  227. GO
  228. -- ----------------------------
  229. -- Records of QRTZ_SIMPLE_TRIGGERS
  230. -- ----------------------------
  231. BEGIN TRANSACTION
  232. GO
  233. COMMIT
  234. GO
  235. -- ----------------------------
  236. -- Table structure for QRTZ_SIMPROP_TRIGGERS
  237. -- ----------------------------
  238. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_SIMPROP_TRIGGERS]') AND type IN ('U'))
  239. DROP TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS]
  240. GO
  241. CREATE TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] (
  242. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  243. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  244. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  245. [STR_PROP_1] varchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  246. [STR_PROP_2] varchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  247. [STR_PROP_3] varchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  248. [INT_PROP_1] int NULL,
  249. [INT_PROP_2] int NULL,
  250. [LONG_PROP_1] bigint NULL,
  251. [LONG_PROP_2] bigint NULL,
  252. [DEC_PROP_1] numeric(13,4) NULL,
  253. [DEC_PROP_2] numeric(13,4) NULL,
  254. [BOOL_PROP_1] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  255. [BOOL_PROP_2] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  256. )
  257. GO
  258. ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  259. GO
  260. -- ----------------------------
  261. -- Records of QRTZ_SIMPROP_TRIGGERS
  262. -- ----------------------------
  263. BEGIN TRANSACTION
  264. GO
  265. COMMIT
  266. GO
  267. -- ----------------------------
  268. -- Table structure for QRTZ_TRIGGERS
  269. -- ----------------------------
  270. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[QRTZ_TRIGGERS]') AND type IN ('U'))
  271. DROP TABLE [dbo].[QRTZ_TRIGGERS]
  272. GO
  273. CREATE TABLE [dbo].[QRTZ_TRIGGERS] (
  274. [SCHED_NAME] varchar(120) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  275. [TRIGGER_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  276. [TRIGGER_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  277. [JOB_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  278. [JOB_GROUP] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  279. [DESCRIPTION] varchar(250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  280. [NEXT_FIRE_TIME] bigint NULL,
  281. [PREV_FIRE_TIME] bigint NULL,
  282. [PRIORITY] int NULL,
  283. [TRIGGER_STATE] varchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  284. [TRIGGER_TYPE] varchar(8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  285. [START_TIME] bigint NOT NULL,
  286. [END_TIME] bigint NULL,
  287. [CALENDAR_NAME] varchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  288. [MISFIRE_INSTR] smallint NULL,
  289. [JOB_DATA] varbinary(max) NULL
  290. )
  291. GO
  292. ALTER TABLE [dbo].[QRTZ_TRIGGERS] SET (LOCK_ESCALATION = TABLE)
  293. GO
  294. -- ----------------------------
  295. -- Records of QRTZ_TRIGGERS
  296. -- ----------------------------
  297. BEGIN TRANSACTION
  298. GO
  299. INSERT INTO [dbo].[QRTZ_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP], [JOB_NAME], [JOB_GROUP], [DESCRIPTION], [NEXT_FIRE_TIME], [PREV_FIRE_TIME], [PRIORITY], [TRIGGER_STATE], [TRIGGER_TYPE], [START_TIME], [END_TIME], [CALENDAR_NAME], [MISFIRE_INSTR], [JOB_DATA]) VALUES (N'schedulerName', N'userSessionTimeoutJob', N'DEFAULT', N'userSessionTimeoutJob', N'DEFAULT', NULL, N'1651484640000', N'1651484580000', N'5', N'WAITING', N'CRON', N'1651483728000', N'0', NULL, N'0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C770800000010000000037400114A4F425F48414E444C45525F504152414D707400124A4F425F52455452595F494E54455256414C737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000374000F4A4F425F52455452595F434F554E547371007E0009000007D07800)
  300. GO
  301. COMMIT
  302. GO
  303. -- ----------------------------
  304. -- Table structure for bpm_form
  305. -- ----------------------------
  306. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_form]') AND type IN ('U'))
  307. DROP TABLE [dbo].[bpm_form]
  308. GO
  309. CREATE TABLE [dbo].[bpm_form] (
  310. [id] bigint IDENTITY(1,1) NOT NULL,
  311. [name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  312. [status] tinyint NOT NULL,
  313. [conf] nvarchar(1000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  314. [fields] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  315. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  316. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  317. [create_time] datetime2(7) NOT NULL,
  318. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  319. [update_time] datetime2(7) NOT NULL,
  320. [deleted] bit DEFAULT 0 NOT NULL,
  321. [tenant_id] bigint DEFAULT 0 NOT NULL
  322. )
  323. GO
  324. ALTER TABLE [dbo].[bpm_form] SET (LOCK_ESCALATION = TABLE)
  325. GO
  326. EXEC sp_addextendedproperty
  327. 'MS_Description', N'编号',
  328. 'SCHEMA', N'dbo',
  329. 'TABLE', N'bpm_form',
  330. 'COLUMN', N'id'
  331. GO
  332. EXEC sp_addextendedproperty
  333. 'MS_Description', N'表单名',
  334. 'SCHEMA', N'dbo',
  335. 'TABLE', N'bpm_form',
  336. 'COLUMN', N'name'
  337. GO
  338. EXEC sp_addextendedproperty
  339. 'MS_Description', N'开启状态',
  340. 'SCHEMA', N'dbo',
  341. 'TABLE', N'bpm_form',
  342. 'COLUMN', N'status'
  343. GO
  344. EXEC sp_addextendedproperty
  345. 'MS_Description', N'表单的配置',
  346. 'SCHEMA', N'dbo',
  347. 'TABLE', N'bpm_form',
  348. 'COLUMN', N'conf'
  349. GO
  350. EXEC sp_addextendedproperty
  351. 'MS_Description', N'表单项的数组',
  352. 'SCHEMA', N'dbo',
  353. 'TABLE', N'bpm_form',
  354. 'COLUMN', N'fields'
  355. GO
  356. EXEC sp_addextendedproperty
  357. 'MS_Description', N'备注',
  358. 'SCHEMA', N'dbo',
  359. 'TABLE', N'bpm_form',
  360. 'COLUMN', N'remark'
  361. GO
  362. EXEC sp_addextendedproperty
  363. 'MS_Description', N'创建者',
  364. 'SCHEMA', N'dbo',
  365. 'TABLE', N'bpm_form',
  366. 'COLUMN', N'creator'
  367. GO
  368. EXEC sp_addextendedproperty
  369. 'MS_Description', N'创建时间',
  370. 'SCHEMA', N'dbo',
  371. 'TABLE', N'bpm_form',
  372. 'COLUMN', N'create_time'
  373. GO
  374. EXEC sp_addextendedproperty
  375. 'MS_Description', N'更新者',
  376. 'SCHEMA', N'dbo',
  377. 'TABLE', N'bpm_form',
  378. 'COLUMN', N'updater'
  379. GO
  380. EXEC sp_addextendedproperty
  381. 'MS_Description', N'更新时间',
  382. 'SCHEMA', N'dbo',
  383. 'TABLE', N'bpm_form',
  384. 'COLUMN', N'update_time'
  385. GO
  386. EXEC sp_addextendedproperty
  387. 'MS_Description', N'是否删除',
  388. 'SCHEMA', N'dbo',
  389. 'TABLE', N'bpm_form',
  390. 'COLUMN', N'deleted'
  391. GO
  392. EXEC sp_addextendedproperty
  393. 'MS_Description', N'租户编号',
  394. 'SCHEMA', N'dbo',
  395. 'TABLE', N'bpm_form',
  396. 'COLUMN', N'tenant_id'
  397. GO
  398. EXEC sp_addextendedproperty
  399. 'MS_Description', N'工作流的表单定义',
  400. 'SCHEMA', N'dbo',
  401. 'TABLE', N'bpm_form'
  402. GO
  403. -- ----------------------------
  404. -- Records of bpm_form
  405. -- ----------------------------
  406. BEGIN TRANSACTION
  407. GO
  408. SET IDENTITY_INSERT [dbo].[bpm_form] ON
  409. GO
  410. SET IDENTITY_INSERT [dbo].[bpm_form] OFF
  411. GO
  412. COMMIT
  413. GO
  414. -- ----------------------------
  415. -- Table structure for bpm_oa_leave
  416. -- ----------------------------
  417. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_oa_leave]') AND type IN ('U'))
  418. DROP TABLE [dbo].[bpm_oa_leave]
  419. GO
  420. CREATE TABLE [dbo].[bpm_oa_leave] (
  421. [id] bigint IDENTITY(1,1) NOT NULL,
  422. [user_id] bigint NOT NULL,
  423. [type] tinyint NOT NULL,
  424. [reason] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  425. [start_time] datetime2(7) NOT NULL,
  426. [end_time] datetime2(7) NOT NULL,
  427. [day] tinyint NOT NULL,
  428. [result] tinyint NOT NULL,
  429. [process_instance_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  430. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  431. [create_time] datetime2(7) NOT NULL,
  432. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  433. [update_time] datetime2(7) NOT NULL,
  434. [tenant_id] bigint DEFAULT 0 NOT NULL,
  435. [deleted] bit DEFAULT 0 NOT NULL
  436. )
  437. GO
  438. ALTER TABLE [dbo].[bpm_oa_leave] SET (LOCK_ESCALATION = TABLE)
  439. GO
  440. EXEC sp_addextendedproperty
  441. 'MS_Description', N'请假表单主键',
  442. 'SCHEMA', N'dbo',
  443. 'TABLE', N'bpm_oa_leave',
  444. 'COLUMN', N'id'
  445. GO
  446. EXEC sp_addextendedproperty
  447. 'MS_Description', N'申请人的用户编号',
  448. 'SCHEMA', N'dbo',
  449. 'TABLE', N'bpm_oa_leave',
  450. 'COLUMN', N'user_id'
  451. GO
  452. EXEC sp_addextendedproperty
  453. 'MS_Description', N'请假类型',
  454. 'SCHEMA', N'dbo',
  455. 'TABLE', N'bpm_oa_leave',
  456. 'COLUMN', N'type'
  457. GO
  458. EXEC sp_addextendedproperty
  459. 'MS_Description', N'请假原因',
  460. 'SCHEMA', N'dbo',
  461. 'TABLE', N'bpm_oa_leave',
  462. 'COLUMN', N'reason'
  463. GO
  464. EXEC sp_addextendedproperty
  465. 'MS_Description', N'开始时间',
  466. 'SCHEMA', N'dbo',
  467. 'TABLE', N'bpm_oa_leave',
  468. 'COLUMN', N'start_time'
  469. GO
  470. EXEC sp_addextendedproperty
  471. 'MS_Description', N'结束时间',
  472. 'SCHEMA', N'dbo',
  473. 'TABLE', N'bpm_oa_leave',
  474. 'COLUMN', N'end_time'
  475. GO
  476. EXEC sp_addextendedproperty
  477. 'MS_Description', N'请假天数',
  478. 'SCHEMA', N'dbo',
  479. 'TABLE', N'bpm_oa_leave',
  480. 'COLUMN', N'day'
  481. GO
  482. EXEC sp_addextendedproperty
  483. 'MS_Description', N'请假结果',
  484. 'SCHEMA', N'dbo',
  485. 'TABLE', N'bpm_oa_leave',
  486. 'COLUMN', N'result'
  487. GO
  488. EXEC sp_addextendedproperty
  489. 'MS_Description', N'流程实例的编号',
  490. 'SCHEMA', N'dbo',
  491. 'TABLE', N'bpm_oa_leave',
  492. 'COLUMN', N'process_instance_id'
  493. GO
  494. EXEC sp_addextendedproperty
  495. 'MS_Description', N'创建者',
  496. 'SCHEMA', N'dbo',
  497. 'TABLE', N'bpm_oa_leave',
  498. 'COLUMN', N'creator'
  499. GO
  500. EXEC sp_addextendedproperty
  501. 'MS_Description', N'创建时间',
  502. 'SCHEMA', N'dbo',
  503. 'TABLE', N'bpm_oa_leave',
  504. 'COLUMN', N'create_time'
  505. GO
  506. EXEC sp_addextendedproperty
  507. 'MS_Description', N'更新者',
  508. 'SCHEMA', N'dbo',
  509. 'TABLE', N'bpm_oa_leave',
  510. 'COLUMN', N'updater'
  511. GO
  512. EXEC sp_addextendedproperty
  513. 'MS_Description', N'更新时间',
  514. 'SCHEMA', N'dbo',
  515. 'TABLE', N'bpm_oa_leave',
  516. 'COLUMN', N'update_time'
  517. GO
  518. EXEC sp_addextendedproperty
  519. 'MS_Description', N'租户编号',
  520. 'SCHEMA', N'dbo',
  521. 'TABLE', N'bpm_oa_leave',
  522. 'COLUMN', N'tenant_id'
  523. GO
  524. EXEC sp_addextendedproperty
  525. 'MS_Description', N'是否删除',
  526. 'SCHEMA', N'dbo',
  527. 'TABLE', N'bpm_oa_leave',
  528. 'COLUMN', N'deleted'
  529. GO
  530. EXEC sp_addextendedproperty
  531. 'MS_Description', N'OA 请假申请表',
  532. 'SCHEMA', N'dbo',
  533. 'TABLE', N'bpm_oa_leave'
  534. GO
  535. -- ----------------------------
  536. -- Records of bpm_oa_leave
  537. -- ----------------------------
  538. BEGIN TRANSACTION
  539. GO
  540. SET IDENTITY_INSERT [dbo].[bpm_oa_leave] ON
  541. GO
  542. SET IDENTITY_INSERT [dbo].[bpm_oa_leave] OFF
  543. GO
  544. COMMIT
  545. GO
  546. -- ----------------------------
  547. -- Table structure for bpm_process_definition_ext
  548. -- ----------------------------
  549. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_process_definition_ext]') AND type IN ('U'))
  550. DROP TABLE [dbo].[bpm_process_definition_ext]
  551. GO
  552. CREATE TABLE [dbo].[bpm_process_definition_ext] (
  553. [id] bigint IDENTITY(1,1) NOT NULL,
  554. [process_definition_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  555. [model_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  556. [description] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  557. [form_type] tinyint NOT NULL,
  558. [form_id] bigint NULL,
  559. [form_conf] nvarchar(1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  560. [form_fields] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  561. [form_custom_create_path] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  562. [form_custom_view_path] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  563. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  564. [create_time] datetime2(7) NOT NULL,
  565. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  566. [update_time] datetime2(7) NOT NULL,
  567. [tenant_id] bigint DEFAULT 0 NOT NULL,
  568. [deleted] bit DEFAULT 0 NOT NULL
  569. )
  570. GO
  571. ALTER TABLE [dbo].[bpm_process_definition_ext] SET (LOCK_ESCALATION = TABLE)
  572. GO
  573. EXEC sp_addextendedproperty
  574. 'MS_Description', N'编号',
  575. 'SCHEMA', N'dbo',
  576. 'TABLE', N'bpm_process_definition_ext',
  577. 'COLUMN', N'id'
  578. GO
  579. EXEC sp_addextendedproperty
  580. 'MS_Description', N'流程定义的编号',
  581. 'SCHEMA', N'dbo',
  582. 'TABLE', N'bpm_process_definition_ext',
  583. 'COLUMN', N'process_definition_id'
  584. GO
  585. EXEC sp_addextendedproperty
  586. 'MS_Description', N'流程模型的编号',
  587. 'SCHEMA', N'dbo',
  588. 'TABLE', N'bpm_process_definition_ext',
  589. 'COLUMN', N'model_id'
  590. GO
  591. EXEC sp_addextendedproperty
  592. 'MS_Description', N'描述',
  593. 'SCHEMA', N'dbo',
  594. 'TABLE', N'bpm_process_definition_ext',
  595. 'COLUMN', N'description'
  596. GO
  597. EXEC sp_addextendedproperty
  598. 'MS_Description', N'表单类型',
  599. 'SCHEMA', N'dbo',
  600. 'TABLE', N'bpm_process_definition_ext',
  601. 'COLUMN', N'form_type'
  602. GO
  603. EXEC sp_addextendedproperty
  604. 'MS_Description', N'表单编号',
  605. 'SCHEMA', N'dbo',
  606. 'TABLE', N'bpm_process_definition_ext',
  607. 'COLUMN', N'form_id'
  608. GO
  609. EXEC sp_addextendedproperty
  610. 'MS_Description', N'表单的配置',
  611. 'SCHEMA', N'dbo',
  612. 'TABLE', N'bpm_process_definition_ext',
  613. 'COLUMN', N'form_conf'
  614. GO
  615. EXEC sp_addextendedproperty
  616. 'MS_Description', N'表单项的数组',
  617. 'SCHEMA', N'dbo',
  618. 'TABLE', N'bpm_process_definition_ext',
  619. 'COLUMN', N'form_fields'
  620. GO
  621. EXEC sp_addextendedproperty
  622. 'MS_Description', N'自定义表单的提交路径',
  623. 'SCHEMA', N'dbo',
  624. 'TABLE', N'bpm_process_definition_ext',
  625. 'COLUMN', N'form_custom_create_path'
  626. GO
  627. EXEC sp_addextendedproperty
  628. 'MS_Description', N'自定义表单的查看路径',
  629. 'SCHEMA', N'dbo',
  630. 'TABLE', N'bpm_process_definition_ext',
  631. 'COLUMN', N'form_custom_view_path'
  632. GO
  633. EXEC sp_addextendedproperty
  634. 'MS_Description', N'创建者',
  635. 'SCHEMA', N'dbo',
  636. 'TABLE', N'bpm_process_definition_ext',
  637. 'COLUMN', N'creator'
  638. GO
  639. EXEC sp_addextendedproperty
  640. 'MS_Description', N'创建时间',
  641. 'SCHEMA', N'dbo',
  642. 'TABLE', N'bpm_process_definition_ext',
  643. 'COLUMN', N'create_time'
  644. GO
  645. EXEC sp_addextendedproperty
  646. 'MS_Description', N'更新者',
  647. 'SCHEMA', N'dbo',
  648. 'TABLE', N'bpm_process_definition_ext',
  649. 'COLUMN', N'updater'
  650. GO
  651. EXEC sp_addextendedproperty
  652. 'MS_Description', N'更新时间',
  653. 'SCHEMA', N'dbo',
  654. 'TABLE', N'bpm_process_definition_ext',
  655. 'COLUMN', N'update_time'
  656. GO
  657. EXEC sp_addextendedproperty
  658. 'MS_Description', N'租户编号',
  659. 'SCHEMA', N'dbo',
  660. 'TABLE', N'bpm_process_definition_ext',
  661. 'COLUMN', N'tenant_id'
  662. GO
  663. EXEC sp_addextendedproperty
  664. 'MS_Description', N'是否删除',
  665. 'SCHEMA', N'dbo',
  666. 'TABLE', N'bpm_process_definition_ext',
  667. 'COLUMN', N'deleted'
  668. GO
  669. EXEC sp_addextendedproperty
  670. 'MS_Description', N'Bpm 流程定义的拓展表
  671. ',
  672. 'SCHEMA', N'dbo',
  673. 'TABLE', N'bpm_process_definition_ext'
  674. GO
  675. -- ----------------------------
  676. -- Records of bpm_process_definition_ext
  677. -- ----------------------------
  678. BEGIN TRANSACTION
  679. GO
  680. SET IDENTITY_INSERT [dbo].[bpm_process_definition_ext] ON
  681. GO
  682. SET IDENTITY_INSERT [dbo].[bpm_process_definition_ext] OFF
  683. GO
  684. COMMIT
  685. GO
  686. -- ----------------------------
  687. -- Table structure for bpm_process_instance_ext
  688. -- ----------------------------
  689. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_process_instance_ext]') AND type IN ('U'))
  690. DROP TABLE [dbo].[bpm_process_instance_ext]
  691. GO
  692. CREATE TABLE [dbo].[bpm_process_instance_ext] (
  693. [id] bigint IDENTITY(1,1) NOT NULL,
  694. [start_user_id] bigint NOT NULL,
  695. [name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  696. [process_instance_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  697. [process_definition_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  698. [category] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  699. [status] tinyint NOT NULL,
  700. [result] tinyint NOT NULL,
  701. [end_time] datetime2(7) NULL,
  702. [form_variables] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  703. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  704. [create_time] datetime2(7) NOT NULL,
  705. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  706. [update_time] datetime2(7) NOT NULL,
  707. [tenant_id] bigint NOT NULL,
  708. [deleted] bit DEFAULT 0 NOT NULL
  709. )
  710. GO
  711. ALTER TABLE [dbo].[bpm_process_instance_ext] SET (LOCK_ESCALATION = TABLE)
  712. GO
  713. EXEC sp_addextendedproperty
  714. 'MS_Description', N'编号',
  715. 'SCHEMA', N'dbo',
  716. 'TABLE', N'bpm_process_instance_ext',
  717. 'COLUMN', N'id'
  718. GO
  719. EXEC sp_addextendedproperty
  720. 'MS_Description', N'发起流程的用户编号',
  721. 'SCHEMA', N'dbo',
  722. 'TABLE', N'bpm_process_instance_ext',
  723. 'COLUMN', N'start_user_id'
  724. GO
  725. EXEC sp_addextendedproperty
  726. 'MS_Description', N'流程实例的名字',
  727. 'SCHEMA', N'dbo',
  728. 'TABLE', N'bpm_process_instance_ext',
  729. 'COLUMN', N'name'
  730. GO
  731. EXEC sp_addextendedproperty
  732. 'MS_Description', N'流程实例的编号',
  733. 'SCHEMA', N'dbo',
  734. 'TABLE', N'bpm_process_instance_ext',
  735. 'COLUMN', N'process_instance_id'
  736. GO
  737. EXEC sp_addextendedproperty
  738. 'MS_Description', N'流程定义的编号',
  739. 'SCHEMA', N'dbo',
  740. 'TABLE', N'bpm_process_instance_ext',
  741. 'COLUMN', N'process_definition_id'
  742. GO
  743. EXEC sp_addextendedproperty
  744. 'MS_Description', N'流程分类',
  745. 'SCHEMA', N'dbo',
  746. 'TABLE', N'bpm_process_instance_ext',
  747. 'COLUMN', N'category'
  748. GO
  749. EXEC sp_addextendedproperty
  750. 'MS_Description', N'流程实例的状态',
  751. 'SCHEMA', N'dbo',
  752. 'TABLE', N'bpm_process_instance_ext',
  753. 'COLUMN', N'status'
  754. GO
  755. EXEC sp_addextendedproperty
  756. 'MS_Description', N'流程实例的结果',
  757. 'SCHEMA', N'dbo',
  758. 'TABLE', N'bpm_process_instance_ext',
  759. 'COLUMN', N'result'
  760. GO
  761. EXEC sp_addextendedproperty
  762. 'MS_Description', N'结束时间',
  763. 'SCHEMA', N'dbo',
  764. 'TABLE', N'bpm_process_instance_ext',
  765. 'COLUMN', N'end_time'
  766. GO
  767. EXEC sp_addextendedproperty
  768. 'MS_Description', N'表单值',
  769. 'SCHEMA', N'dbo',
  770. 'TABLE', N'bpm_process_instance_ext',
  771. 'COLUMN', N'form_variables'
  772. GO
  773. EXEC sp_addextendedproperty
  774. 'MS_Description', N'创建者',
  775. 'SCHEMA', N'dbo',
  776. 'TABLE', N'bpm_process_instance_ext',
  777. 'COLUMN', N'creator'
  778. GO
  779. EXEC sp_addextendedproperty
  780. 'MS_Description', N'创建时间',
  781. 'SCHEMA', N'dbo',
  782. 'TABLE', N'bpm_process_instance_ext',
  783. 'COLUMN', N'create_time'
  784. GO
  785. EXEC sp_addextendedproperty
  786. 'MS_Description', N'更新者',
  787. 'SCHEMA', N'dbo',
  788. 'TABLE', N'bpm_process_instance_ext',
  789. 'COLUMN', N'updater'
  790. GO
  791. EXEC sp_addextendedproperty
  792. 'MS_Description', N'更新时间',
  793. 'SCHEMA', N'dbo',
  794. 'TABLE', N'bpm_process_instance_ext',
  795. 'COLUMN', N'update_time'
  796. GO
  797. EXEC sp_addextendedproperty
  798. 'MS_Description', N'租户编号',
  799. 'SCHEMA', N'dbo',
  800. 'TABLE', N'bpm_process_instance_ext',
  801. 'COLUMN', N'tenant_id'
  802. GO
  803. EXEC sp_addextendedproperty
  804. 'MS_Description', N'是否删除',
  805. 'SCHEMA', N'dbo',
  806. 'TABLE', N'bpm_process_instance_ext',
  807. 'COLUMN', N'deleted'
  808. GO
  809. EXEC sp_addextendedproperty
  810. 'MS_Description', N'工作流的流程实例的拓展',
  811. 'SCHEMA', N'dbo',
  812. 'TABLE', N'bpm_process_instance_ext'
  813. GO
  814. -- ----------------------------
  815. -- Records of bpm_process_instance_ext
  816. -- ----------------------------
  817. BEGIN TRANSACTION
  818. GO
  819. SET IDENTITY_INSERT [dbo].[bpm_process_instance_ext] ON
  820. GO
  821. SET IDENTITY_INSERT [dbo].[bpm_process_instance_ext] OFF
  822. GO
  823. COMMIT
  824. GO
  825. -- ----------------------------
  826. -- Table structure for bpm_task_assign_rule
  827. -- ----------------------------
  828. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_task_assign_rule]') AND type IN ('U'))
  829. DROP TABLE [dbo].[bpm_task_assign_rule]
  830. GO
  831. CREATE TABLE [dbo].[bpm_task_assign_rule] (
  832. [id] bigint IDENTITY(1,1) NOT NULL,
  833. [model_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  834. [process_definition_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  835. [task_definition_key] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  836. [type] tinyint NOT NULL,
  837. [options] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  838. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  839. [create_time] datetime2(7) NOT NULL,
  840. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  841. [update_time] datetime2(7) NOT NULL,
  842. [tenant_id] bigint NOT NULL,
  843. [deleted] bit DEFAULT 0 NOT NULL
  844. )
  845. GO
  846. ALTER TABLE [dbo].[bpm_task_assign_rule] SET (LOCK_ESCALATION = TABLE)
  847. GO
  848. EXEC sp_addextendedproperty
  849. 'MS_Description', N'编号',
  850. 'SCHEMA', N'dbo',
  851. 'TABLE', N'bpm_task_assign_rule',
  852. 'COLUMN', N'id'
  853. GO
  854. EXEC sp_addextendedproperty
  855. 'MS_Description', N'流程模型的编号',
  856. 'SCHEMA', N'dbo',
  857. 'TABLE', N'bpm_task_assign_rule',
  858. 'COLUMN', N'model_id'
  859. GO
  860. EXEC sp_addextendedproperty
  861. 'MS_Description', N'流程定义的编号',
  862. 'SCHEMA', N'dbo',
  863. 'TABLE', N'bpm_task_assign_rule',
  864. 'COLUMN', N'process_definition_id'
  865. GO
  866. EXEC sp_addextendedproperty
  867. 'MS_Description', N'流程任务定义的 key',
  868. 'SCHEMA', N'dbo',
  869. 'TABLE', N'bpm_task_assign_rule',
  870. 'COLUMN', N'task_definition_key'
  871. GO
  872. EXEC sp_addextendedproperty
  873. 'MS_Description', N'规则类型',
  874. 'SCHEMA', N'dbo',
  875. 'TABLE', N'bpm_task_assign_rule',
  876. 'COLUMN', N'type'
  877. GO
  878. EXEC sp_addextendedproperty
  879. 'MS_Description', N'规则值,JSON 数组',
  880. 'SCHEMA', N'dbo',
  881. 'TABLE', N'bpm_task_assign_rule',
  882. 'COLUMN', N'options'
  883. GO
  884. EXEC sp_addextendedproperty
  885. 'MS_Description', N'创建者',
  886. 'SCHEMA', N'dbo',
  887. 'TABLE', N'bpm_task_assign_rule',
  888. 'COLUMN', N'creator'
  889. GO
  890. EXEC sp_addextendedproperty
  891. 'MS_Description', N'创建时间',
  892. 'SCHEMA', N'dbo',
  893. 'TABLE', N'bpm_task_assign_rule',
  894. 'COLUMN', N'create_time'
  895. GO
  896. EXEC sp_addextendedproperty
  897. 'MS_Description', N'更新者',
  898. 'SCHEMA', N'dbo',
  899. 'TABLE', N'bpm_task_assign_rule',
  900. 'COLUMN', N'updater'
  901. GO
  902. EXEC sp_addextendedproperty
  903. 'MS_Description', N'更新时间',
  904. 'SCHEMA', N'dbo',
  905. 'TABLE', N'bpm_task_assign_rule',
  906. 'COLUMN', N'update_time'
  907. GO
  908. EXEC sp_addextendedproperty
  909. 'MS_Description', N'租户编号',
  910. 'SCHEMA', N'dbo',
  911. 'TABLE', N'bpm_task_assign_rule',
  912. 'COLUMN', N'tenant_id'
  913. GO
  914. EXEC sp_addextendedproperty
  915. 'MS_Description', N'是否删除',
  916. 'SCHEMA', N'dbo',
  917. 'TABLE', N'bpm_task_assign_rule',
  918. 'COLUMN', N'deleted'
  919. GO
  920. EXEC sp_addextendedproperty
  921. 'MS_Description', N'Bpm 任务规则表',
  922. 'SCHEMA', N'dbo',
  923. 'TABLE', N'bpm_task_assign_rule'
  924. GO
  925. -- ----------------------------
  926. -- Records of bpm_task_assign_rule
  927. -- ----------------------------
  928. BEGIN TRANSACTION
  929. GO
  930. SET IDENTITY_INSERT [dbo].[bpm_task_assign_rule] ON
  931. GO
  932. SET IDENTITY_INSERT [dbo].[bpm_task_assign_rule] OFF
  933. GO
  934. COMMIT
  935. GO
  936. -- ----------------------------
  937. -- Table structure for bpm_task_ext
  938. -- ----------------------------
  939. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_task_ext]') AND type IN ('U'))
  940. DROP TABLE [dbo].[bpm_task_ext]
  941. GO
  942. CREATE TABLE [dbo].[bpm_task_ext] (
  943. [id] bigint IDENTITY(1,1) NOT NULL,
  944. [assignee_user_id] bigint NULL,
  945. [name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  946. [task_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  947. [result] tinyint NOT NULL,
  948. [reason] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  949. [end_time] datetime2(7) NULL,
  950. [process_instance_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  951. [process_definition_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  952. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  953. [create_time] datetime2(7) NOT NULL,
  954. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  955. [update_time] datetime2(7) NOT NULL,
  956. [tenant_id] bigint NOT NULL,
  957. [deleted] bit DEFAULT 0 NOT NULL
  958. )
  959. GO
  960. ALTER TABLE [dbo].[bpm_task_ext] SET (LOCK_ESCALATION = TABLE)
  961. GO
  962. EXEC sp_addextendedproperty
  963. 'MS_Description', N'编号',
  964. 'SCHEMA', N'dbo',
  965. 'TABLE', N'bpm_task_ext',
  966. 'COLUMN', N'id'
  967. GO
  968. EXEC sp_addextendedproperty
  969. 'MS_Description', N'任务的审批人',
  970. 'SCHEMA', N'dbo',
  971. 'TABLE', N'bpm_task_ext',
  972. 'COLUMN', N'assignee_user_id'
  973. GO
  974. EXEC sp_addextendedproperty
  975. 'MS_Description', N'任务的名字',
  976. 'SCHEMA', N'dbo',
  977. 'TABLE', N'bpm_task_ext',
  978. 'COLUMN', N'name'
  979. GO
  980. EXEC sp_addextendedproperty
  981. 'MS_Description', N'任务的编号',
  982. 'SCHEMA', N'dbo',
  983. 'TABLE', N'bpm_task_ext',
  984. 'COLUMN', N'task_id'
  985. GO
  986. EXEC sp_addextendedproperty
  987. 'MS_Description', N'任务的结果',
  988. 'SCHEMA', N'dbo',
  989. 'TABLE', N'bpm_task_ext',
  990. 'COLUMN', N'result'
  991. GO
  992. EXEC sp_addextendedproperty
  993. 'MS_Description', N'审批建议',
  994. 'SCHEMA', N'dbo',
  995. 'TABLE', N'bpm_task_ext',
  996. 'COLUMN', N'reason'
  997. GO
  998. EXEC sp_addextendedproperty
  999. 'MS_Description', N'任务的结束时间',
  1000. 'SCHEMA', N'dbo',
  1001. 'TABLE', N'bpm_task_ext',
  1002. 'COLUMN', N'end_time'
  1003. GO
  1004. EXEC sp_addextendedproperty
  1005. 'MS_Description', N'流程实例的编号',
  1006. 'SCHEMA', N'dbo',
  1007. 'TABLE', N'bpm_task_ext',
  1008. 'COLUMN', N'process_instance_id'
  1009. GO
  1010. EXEC sp_addextendedproperty
  1011. 'MS_Description', N'流程定义的编号',
  1012. 'SCHEMA', N'dbo',
  1013. 'TABLE', N'bpm_task_ext',
  1014. 'COLUMN', N'process_definition_id'
  1015. GO
  1016. EXEC sp_addextendedproperty
  1017. 'MS_Description', N'创建者',
  1018. 'SCHEMA', N'dbo',
  1019. 'TABLE', N'bpm_task_ext',
  1020. 'COLUMN', N'creator'
  1021. GO
  1022. EXEC sp_addextendedproperty
  1023. 'MS_Description', N'创建时间',
  1024. 'SCHEMA', N'dbo',
  1025. 'TABLE', N'bpm_task_ext',
  1026. 'COLUMN', N'create_time'
  1027. GO
  1028. EXEC sp_addextendedproperty
  1029. 'MS_Description', N'更新者',
  1030. 'SCHEMA', N'dbo',
  1031. 'TABLE', N'bpm_task_ext',
  1032. 'COLUMN', N'updater'
  1033. GO
  1034. EXEC sp_addextendedproperty
  1035. 'MS_Description', N'更新时间',
  1036. 'SCHEMA', N'dbo',
  1037. 'TABLE', N'bpm_task_ext',
  1038. 'COLUMN', N'update_time'
  1039. GO
  1040. EXEC sp_addextendedproperty
  1041. 'MS_Description', N'租户编号',
  1042. 'SCHEMA', N'dbo',
  1043. 'TABLE', N'bpm_task_ext',
  1044. 'COLUMN', N'tenant_id'
  1045. GO
  1046. EXEC sp_addextendedproperty
  1047. 'MS_Description', N'是否删除',
  1048. 'SCHEMA', N'dbo',
  1049. 'TABLE', N'bpm_task_ext',
  1050. 'COLUMN', N'deleted'
  1051. GO
  1052. EXEC sp_addextendedproperty
  1053. 'MS_Description', N'工作流的流程任务的拓展表',
  1054. 'SCHEMA', N'dbo',
  1055. 'TABLE', N'bpm_task_ext'
  1056. GO
  1057. -- ----------------------------
  1058. -- Records of bpm_task_ext
  1059. -- ----------------------------
  1060. BEGIN TRANSACTION
  1061. GO
  1062. SET IDENTITY_INSERT [dbo].[bpm_task_ext] ON
  1063. GO
  1064. SET IDENTITY_INSERT [dbo].[bpm_task_ext] OFF
  1065. GO
  1066. COMMIT
  1067. GO
  1068. -- ----------------------------
  1069. -- Table structure for bpm_user_group
  1070. -- ----------------------------
  1071. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bpm_user_group]') AND type IN ('U'))
  1072. DROP TABLE [dbo].[bpm_user_group]
  1073. GO
  1074. CREATE TABLE [dbo].[bpm_user_group] (
  1075. [id] bigint IDENTITY(1,1) NOT NULL,
  1076. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1077. [description] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1078. [member_user_ids] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1079. [status] tinyint NOT NULL,
  1080. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1081. [create_time] datetime2(7) NOT NULL,
  1082. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1083. [update_time] datetime2(7) NOT NULL,
  1084. [tenant_id] bigint NOT NULL,
  1085. [deleted] bit DEFAULT 0 NOT NULL
  1086. )
  1087. GO
  1088. ALTER TABLE [dbo].[bpm_user_group] SET (LOCK_ESCALATION = TABLE)
  1089. GO
  1090. EXEC sp_addextendedproperty
  1091. 'MS_Description', N'编号',
  1092. 'SCHEMA', N'dbo',
  1093. 'TABLE', N'bpm_user_group',
  1094. 'COLUMN', N'id'
  1095. GO
  1096. EXEC sp_addextendedproperty
  1097. 'MS_Description', N'组名',
  1098. 'SCHEMA', N'dbo',
  1099. 'TABLE', N'bpm_user_group',
  1100. 'COLUMN', N'name'
  1101. GO
  1102. EXEC sp_addextendedproperty
  1103. 'MS_Description', N'描述',
  1104. 'SCHEMA', N'dbo',
  1105. 'TABLE', N'bpm_user_group',
  1106. 'COLUMN', N'description'
  1107. GO
  1108. EXEC sp_addextendedproperty
  1109. 'MS_Description', N'成员编号数组',
  1110. 'SCHEMA', N'dbo',
  1111. 'TABLE', N'bpm_user_group',
  1112. 'COLUMN', N'member_user_ids'
  1113. GO
  1114. EXEC sp_addextendedproperty
  1115. 'MS_Description', N'状态(0正常 1停用)',
  1116. 'SCHEMA', N'dbo',
  1117. 'TABLE', N'bpm_user_group',
  1118. 'COLUMN', N'status'
  1119. GO
  1120. EXEC sp_addextendedproperty
  1121. 'MS_Description', N'创建者',
  1122. 'SCHEMA', N'dbo',
  1123. 'TABLE', N'bpm_user_group',
  1124. 'COLUMN', N'creator'
  1125. GO
  1126. EXEC sp_addextendedproperty
  1127. 'MS_Description', N'创建时间',
  1128. 'SCHEMA', N'dbo',
  1129. 'TABLE', N'bpm_user_group',
  1130. 'COLUMN', N'create_time'
  1131. GO
  1132. EXEC sp_addextendedproperty
  1133. 'MS_Description', N'更新者',
  1134. 'SCHEMA', N'dbo',
  1135. 'TABLE', N'bpm_user_group',
  1136. 'COLUMN', N'updater'
  1137. GO
  1138. EXEC sp_addextendedproperty
  1139. 'MS_Description', N'更新时间',
  1140. 'SCHEMA', N'dbo',
  1141. 'TABLE', N'bpm_user_group',
  1142. 'COLUMN', N'update_time'
  1143. GO
  1144. EXEC sp_addextendedproperty
  1145. 'MS_Description', N'租户编号',
  1146. 'SCHEMA', N'dbo',
  1147. 'TABLE', N'bpm_user_group',
  1148. 'COLUMN', N'tenant_id'
  1149. GO
  1150. EXEC sp_addextendedproperty
  1151. 'MS_Description', N'是否删除',
  1152. 'SCHEMA', N'dbo',
  1153. 'TABLE', N'bpm_user_group',
  1154. 'COLUMN', N'deleted'
  1155. GO
  1156. EXEC sp_addextendedproperty
  1157. 'MS_Description', N'用户组',
  1158. 'SCHEMA', N'dbo',
  1159. 'TABLE', N'bpm_user_group'
  1160. GO
  1161. -- ----------------------------
  1162. -- Records of bpm_user_group
  1163. -- ----------------------------
  1164. BEGIN TRANSACTION
  1165. GO
  1166. SET IDENTITY_INSERT [dbo].[bpm_user_group] ON
  1167. GO
  1168. SET IDENTITY_INSERT [dbo].[bpm_user_group] OFF
  1169. GO
  1170. COMMIT
  1171. GO
  1172. -- ----------------------------
  1173. -- Table structure for dual
  1174. -- ----------------------------
  1175. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[dual]') AND type IN ('U'))
  1176. DROP TABLE [dbo].[dual]
  1177. GO
  1178. CREATE TABLE [dbo].[dual] (
  1179. [id] int NULL
  1180. )
  1181. GO
  1182. ALTER TABLE [dbo].[dual] SET (LOCK_ESCALATION = TABLE)
  1183. GO
  1184. EXEC sp_addextendedproperty
  1185. 'MS_Description', N'数据库连接的表',
  1186. 'SCHEMA', N'dbo',
  1187. 'TABLE', N'dual'
  1188. GO
  1189. -- ----------------------------
  1190. -- Records of dual
  1191. -- ----------------------------
  1192. BEGIN TRANSACTION
  1193. GO
  1194. COMMIT
  1195. GO
  1196. -- ----------------------------
  1197. -- Table structure for infra_api_access_log
  1198. -- ----------------------------
  1199. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_api_access_log]') AND type IN ('U'))
  1200. DROP TABLE [dbo].[infra_api_access_log]
  1201. GO
  1202. CREATE TABLE [dbo].[infra_api_access_log] (
  1203. [id] bigint IDENTITY(1,1) NOT NULL,
  1204. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1205. [user_id] bigint DEFAULT 0 NOT NULL,
  1206. [user_type] tinyint DEFAULT 0 NOT NULL,
  1207. [application_name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1208. [request_method] nvarchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1209. [request_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1210. [request_params] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1211. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1212. [user_agent] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1213. [begin_time] datetime2(7) NOT NULL,
  1214. [end_time] datetime2(7) NOT NULL,
  1215. [duration] int NOT NULL,
  1216. [result_code] int NOT NULL,
  1217. [result_msg] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1218. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1219. [create_time] datetime2(7) NOT NULL,
  1220. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1221. [update_time] datetime2(7) NOT NULL,
  1222. [deleted] bit DEFAULT 0 NOT NULL,
  1223. [tenant_id] bigint NOT NULL
  1224. )
  1225. GO
  1226. ALTER TABLE [dbo].[infra_api_access_log] SET (LOCK_ESCALATION = TABLE)
  1227. GO
  1228. EXEC sp_addextendedproperty
  1229. 'MS_Description', N'编号',
  1230. 'SCHEMA', N'dbo',
  1231. 'TABLE', N'infra_api_access_log',
  1232. 'COLUMN', N'id'
  1233. GO
  1234. EXEC sp_addextendedproperty
  1235. 'MS_Description', N'链路追踪编号',
  1236. 'SCHEMA', N'dbo',
  1237. 'TABLE', N'infra_api_access_log',
  1238. 'COLUMN', N'trace_id'
  1239. GO
  1240. EXEC sp_addextendedproperty
  1241. 'MS_Description', N'用户编号',
  1242. 'SCHEMA', N'dbo',
  1243. 'TABLE', N'infra_api_access_log',
  1244. 'COLUMN', N'user_id'
  1245. GO
  1246. EXEC sp_addextendedproperty
  1247. 'MS_Description', N'用户类型',
  1248. 'SCHEMA', N'dbo',
  1249. 'TABLE', N'infra_api_access_log',
  1250. 'COLUMN', N'user_type'
  1251. GO
  1252. EXEC sp_addextendedproperty
  1253. 'MS_Description', N'应用名',
  1254. 'SCHEMA', N'dbo',
  1255. 'TABLE', N'infra_api_access_log',
  1256. 'COLUMN', N'application_name'
  1257. GO
  1258. EXEC sp_addextendedproperty
  1259. 'MS_Description', N'请求方法名',
  1260. 'SCHEMA', N'dbo',
  1261. 'TABLE', N'infra_api_access_log',
  1262. 'COLUMN', N'request_method'
  1263. GO
  1264. EXEC sp_addextendedproperty
  1265. 'MS_Description', N'请求地址',
  1266. 'SCHEMA', N'dbo',
  1267. 'TABLE', N'infra_api_access_log',
  1268. 'COLUMN', N'request_url'
  1269. GO
  1270. EXEC sp_addextendedproperty
  1271. 'MS_Description', N'请求参数',
  1272. 'SCHEMA', N'dbo',
  1273. 'TABLE', N'infra_api_access_log',
  1274. 'COLUMN', N'request_params'
  1275. GO
  1276. EXEC sp_addextendedproperty
  1277. 'MS_Description', N'用户 IP',
  1278. 'SCHEMA', N'dbo',
  1279. 'TABLE', N'infra_api_access_log',
  1280. 'COLUMN', N'user_ip'
  1281. GO
  1282. EXEC sp_addextendedproperty
  1283. 'MS_Description', N'浏览器 UA',
  1284. 'SCHEMA', N'dbo',
  1285. 'TABLE', N'infra_api_access_log',
  1286. 'COLUMN', N'user_agent'
  1287. GO
  1288. EXEC sp_addextendedproperty
  1289. 'MS_Description', N'开始请求时间',
  1290. 'SCHEMA', N'dbo',
  1291. 'TABLE', N'infra_api_access_log',
  1292. 'COLUMN', N'begin_time'
  1293. GO
  1294. EXEC sp_addextendedproperty
  1295. 'MS_Description', N'结束请求时间',
  1296. 'SCHEMA', N'dbo',
  1297. 'TABLE', N'infra_api_access_log',
  1298. 'COLUMN', N'end_time'
  1299. GO
  1300. EXEC sp_addextendedproperty
  1301. 'MS_Description', N'执行时长',
  1302. 'SCHEMA', N'dbo',
  1303. 'TABLE', N'infra_api_access_log',
  1304. 'COLUMN', N'duration'
  1305. GO
  1306. EXEC sp_addextendedproperty
  1307. 'MS_Description', N'结果码',
  1308. 'SCHEMA', N'dbo',
  1309. 'TABLE', N'infra_api_access_log',
  1310. 'COLUMN', N'result_code'
  1311. GO
  1312. EXEC sp_addextendedproperty
  1313. 'MS_Description', N'结果提示',
  1314. 'SCHEMA', N'dbo',
  1315. 'TABLE', N'infra_api_access_log',
  1316. 'COLUMN', N'result_msg'
  1317. GO
  1318. EXEC sp_addextendedproperty
  1319. 'MS_Description', N'创建者',
  1320. 'SCHEMA', N'dbo',
  1321. 'TABLE', N'infra_api_access_log',
  1322. 'COLUMN', N'creator'
  1323. GO
  1324. EXEC sp_addextendedproperty
  1325. 'MS_Description', N'创建时间',
  1326. 'SCHEMA', N'dbo',
  1327. 'TABLE', N'infra_api_access_log',
  1328. 'COLUMN', N'create_time'
  1329. GO
  1330. EXEC sp_addextendedproperty
  1331. 'MS_Description', N'更新者',
  1332. 'SCHEMA', N'dbo',
  1333. 'TABLE', N'infra_api_access_log',
  1334. 'COLUMN', N'updater'
  1335. GO
  1336. EXEC sp_addextendedproperty
  1337. 'MS_Description', N'更新时间',
  1338. 'SCHEMA', N'dbo',
  1339. 'TABLE', N'infra_api_access_log',
  1340. 'COLUMN', N'update_time'
  1341. GO
  1342. EXEC sp_addextendedproperty
  1343. 'MS_Description', N'是否删除',
  1344. 'SCHEMA', N'dbo',
  1345. 'TABLE', N'infra_api_access_log',
  1346. 'COLUMN', N'deleted'
  1347. GO
  1348. EXEC sp_addextendedproperty
  1349. 'MS_Description', N'租户编号',
  1350. 'SCHEMA', N'dbo',
  1351. 'TABLE', N'infra_api_access_log',
  1352. 'COLUMN', N'tenant_id'
  1353. GO
  1354. EXEC sp_addextendedproperty
  1355. 'MS_Description', N'API 访问日志表',
  1356. 'SCHEMA', N'dbo',
  1357. 'TABLE', N'infra_api_access_log'
  1358. GO
  1359. -- ----------------------------
  1360. -- Records of infra_api_access_log
  1361. -- ----------------------------
  1362. BEGIN TRANSACTION
  1363. GO
  1364. SET IDENTITY_INSERT [dbo].[infra_api_access_log] ON
  1365. GO
  1366. SET IDENTITY_INSERT [dbo].[infra_api_access_log] OFF
  1367. GO
  1368. COMMIT
  1369. GO
  1370. -- ----------------------------
  1371. -- Table structure for infra_api_error_log
  1372. -- ----------------------------
  1373. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_api_error_log]') AND type IN ('U'))
  1374. DROP TABLE [dbo].[infra_api_error_log]
  1375. GO
  1376. CREATE TABLE [dbo].[infra_api_error_log] (
  1377. [id] int IDENTITY(1,1) NOT NULL,
  1378. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1379. [user_id] int DEFAULT 0 NOT NULL,
  1380. [user_type] tinyint DEFAULT 0 NOT NULL,
  1381. [application_name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1382. [request_method] nvarchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1383. [request_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1384. [request_params] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1385. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1386. [user_agent] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1387. [exception_time] datetime2(7) NOT NULL,
  1388. [exception_name] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1389. [exception_message] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1390. [exception_root_cause_message] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1391. [exception_stack_trace] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1392. [exception_class_name] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1393. [exception_file_name] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1394. [exception_method_name] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1395. [exception_line_number] int NOT NULL,
  1396. [process_status] tinyint NOT NULL,
  1397. [process_time] datetime2(7) NULL,
  1398. [process_user_id] int NULL,
  1399. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1400. [create_time] datetime2(7) NOT NULL,
  1401. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1402. [update_time] datetime2(7) NOT NULL,
  1403. [tenant_id] bigint NOT NULL,
  1404. [deleted] bit DEFAULT 0 NOT NULL
  1405. )
  1406. GO
  1407. ALTER TABLE [dbo].[infra_api_error_log] SET (LOCK_ESCALATION = TABLE)
  1408. GO
  1409. EXEC sp_addextendedproperty
  1410. 'MS_Description', N'编号',
  1411. 'SCHEMA', N'dbo',
  1412. 'TABLE', N'infra_api_error_log',
  1413. 'COLUMN', N'id'
  1414. GO
  1415. EXEC sp_addextendedproperty
  1416. 'MS_Description', N'链路追踪编号
  1417. *
  1418. * 一般来说,通过链路追踪编号,可以将访问日志,错误日志,链路追踪日志,logger 打印日志等,结合在一起,从而进行排错。',
  1419. 'SCHEMA', N'dbo',
  1420. 'TABLE', N'infra_api_error_log',
  1421. 'COLUMN', N'trace_id'
  1422. GO
  1423. EXEC sp_addextendedproperty
  1424. 'MS_Description', N'用户编号',
  1425. 'SCHEMA', N'dbo',
  1426. 'TABLE', N'infra_api_error_log',
  1427. 'COLUMN', N'user_id'
  1428. GO
  1429. EXEC sp_addextendedproperty
  1430. 'MS_Description', N'用户类型',
  1431. 'SCHEMA', N'dbo',
  1432. 'TABLE', N'infra_api_error_log',
  1433. 'COLUMN', N'user_type'
  1434. GO
  1435. EXEC sp_addextendedproperty
  1436. 'MS_Description', N'应用名
  1437. *
  1438. * 目前读取 spring.application.name',
  1439. 'SCHEMA', N'dbo',
  1440. 'TABLE', N'infra_api_error_log',
  1441. 'COLUMN', N'application_name'
  1442. GO
  1443. EXEC sp_addextendedproperty
  1444. 'MS_Description', N'请求方法名',
  1445. 'SCHEMA', N'dbo',
  1446. 'TABLE', N'infra_api_error_log',
  1447. 'COLUMN', N'request_method'
  1448. GO
  1449. EXEC sp_addextendedproperty
  1450. 'MS_Description', N'请求地址',
  1451. 'SCHEMA', N'dbo',
  1452. 'TABLE', N'infra_api_error_log',
  1453. 'COLUMN', N'request_url'
  1454. GO
  1455. EXEC sp_addextendedproperty
  1456. 'MS_Description', N'请求参数',
  1457. 'SCHEMA', N'dbo',
  1458. 'TABLE', N'infra_api_error_log',
  1459. 'COLUMN', N'request_params'
  1460. GO
  1461. EXEC sp_addextendedproperty
  1462. 'MS_Description', N'用户 IP',
  1463. 'SCHEMA', N'dbo',
  1464. 'TABLE', N'infra_api_error_log',
  1465. 'COLUMN', N'user_ip'
  1466. GO
  1467. EXEC sp_addextendedproperty
  1468. 'MS_Description', N'浏览器 UA',
  1469. 'SCHEMA', N'dbo',
  1470. 'TABLE', N'infra_api_error_log',
  1471. 'COLUMN', N'user_agent'
  1472. GO
  1473. EXEC sp_addextendedproperty
  1474. 'MS_Description', N'异常发生时间',
  1475. 'SCHEMA', N'dbo',
  1476. 'TABLE', N'infra_api_error_log',
  1477. 'COLUMN', N'exception_time'
  1478. GO
  1479. EXEC sp_addextendedproperty
  1480. 'MS_Description', N'异常名
  1481. *
  1482. * {@link Throwable#getClass()} 的类全名',
  1483. 'SCHEMA', N'dbo',
  1484. 'TABLE', N'infra_api_error_log',
  1485. 'COLUMN', N'exception_name'
  1486. GO
  1487. EXEC sp_addextendedproperty
  1488. 'MS_Description', N'异常导致的消息
  1489. *
  1490. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getMessage(Throwable)}',
  1491. 'SCHEMA', N'dbo',
  1492. 'TABLE', N'infra_api_error_log',
  1493. 'COLUMN', N'exception_message'
  1494. GO
  1495. EXEC sp_addextendedproperty
  1496. 'MS_Description', N'异常导致的根消息
  1497. *
  1498. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getRootCauseMessage(Throwable)}',
  1499. 'SCHEMA', N'dbo',
  1500. 'TABLE', N'infra_api_error_log',
  1501. 'COLUMN', N'exception_root_cause_message'
  1502. GO
  1503. EXEC sp_addextendedproperty
  1504. 'MS_Description', N'异常的栈轨迹
  1505. *
  1506. * {@link cn.iocoder.common.framework.util.ExceptionUtil#getServiceException(Exception)}',
  1507. 'SCHEMA', N'dbo',
  1508. 'TABLE', N'infra_api_error_log',
  1509. 'COLUMN', N'exception_stack_trace'
  1510. GO
  1511. EXEC sp_addextendedproperty
  1512. 'MS_Description', N'异常发生的类全名
  1513. *
  1514. * {@link StackTraceElement#getClassName()}',
  1515. 'SCHEMA', N'dbo',
  1516. 'TABLE', N'infra_api_error_log',
  1517. 'COLUMN', N'exception_class_name'
  1518. GO
  1519. EXEC sp_addextendedproperty
  1520. 'MS_Description', N'异常发生的类文件
  1521. *
  1522. * {@link StackTraceElement#getFileName()}',
  1523. 'SCHEMA', N'dbo',
  1524. 'TABLE', N'infra_api_error_log',
  1525. 'COLUMN', N'exception_file_name'
  1526. GO
  1527. EXEC sp_addextendedproperty
  1528. 'MS_Description', N'异常发生的方法名
  1529. *
  1530. * {@link StackTraceElement#getMethodName()}',
  1531. 'SCHEMA', N'dbo',
  1532. 'TABLE', N'infra_api_error_log',
  1533. 'COLUMN', N'exception_method_name'
  1534. GO
  1535. EXEC sp_addextendedproperty
  1536. 'MS_Description', N'异常发生的方法所在行
  1537. *
  1538. * {@link StackTraceElement#getLineNumber()}',
  1539. 'SCHEMA', N'dbo',
  1540. 'TABLE', N'infra_api_error_log',
  1541. 'COLUMN', N'exception_line_number'
  1542. GO
  1543. EXEC sp_addextendedproperty
  1544. 'MS_Description', N'处理状态',
  1545. 'SCHEMA', N'dbo',
  1546. 'TABLE', N'infra_api_error_log',
  1547. 'COLUMN', N'process_status'
  1548. GO
  1549. EXEC sp_addextendedproperty
  1550. 'MS_Description', N'处理时间',
  1551. 'SCHEMA', N'dbo',
  1552. 'TABLE', N'infra_api_error_log',
  1553. 'COLUMN', N'process_time'
  1554. GO
  1555. EXEC sp_addextendedproperty
  1556. 'MS_Description', N'处理用户编号',
  1557. 'SCHEMA', N'dbo',
  1558. 'TABLE', N'infra_api_error_log',
  1559. 'COLUMN', N'process_user_id'
  1560. GO
  1561. EXEC sp_addextendedproperty
  1562. 'MS_Description', N'创建者',
  1563. 'SCHEMA', N'dbo',
  1564. 'TABLE', N'infra_api_error_log',
  1565. 'COLUMN', N'creator'
  1566. GO
  1567. EXEC sp_addextendedproperty
  1568. 'MS_Description', N'创建时间',
  1569. 'SCHEMA', N'dbo',
  1570. 'TABLE', N'infra_api_error_log',
  1571. 'COLUMN', N'create_time'
  1572. GO
  1573. EXEC sp_addextendedproperty
  1574. 'MS_Description', N'更新者',
  1575. 'SCHEMA', N'dbo',
  1576. 'TABLE', N'infra_api_error_log',
  1577. 'COLUMN', N'updater'
  1578. GO
  1579. EXEC sp_addextendedproperty
  1580. 'MS_Description', N'更新时间',
  1581. 'SCHEMA', N'dbo',
  1582. 'TABLE', N'infra_api_error_log',
  1583. 'COLUMN', N'update_time'
  1584. GO
  1585. EXEC sp_addextendedproperty
  1586. 'MS_Description', N'租户编号',
  1587. 'SCHEMA', N'dbo',
  1588. 'TABLE', N'infra_api_error_log',
  1589. 'COLUMN', N'tenant_id'
  1590. GO
  1591. EXEC sp_addextendedproperty
  1592. 'MS_Description', N'是否删除',
  1593. 'SCHEMA', N'dbo',
  1594. 'TABLE', N'infra_api_error_log',
  1595. 'COLUMN', N'deleted'
  1596. GO
  1597. EXEC sp_addextendedproperty
  1598. 'MS_Description', N'系统异常日志',
  1599. 'SCHEMA', N'dbo',
  1600. 'TABLE', N'infra_api_error_log'
  1601. GO
  1602. -- ----------------------------
  1603. -- Records of infra_api_error_log
  1604. -- ----------------------------
  1605. BEGIN TRANSACTION
  1606. GO
  1607. SET IDENTITY_INSERT [dbo].[infra_api_error_log] ON
  1608. GO
  1609. SET IDENTITY_INSERT [dbo].[infra_api_error_log] OFF
  1610. GO
  1611. COMMIT
  1612. GO
  1613. -- ----------------------------
  1614. -- Table structure for infra_codegen_column
  1615. -- ----------------------------
  1616. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_codegen_column]') AND type IN ('U'))
  1617. DROP TABLE [dbo].[infra_codegen_column]
  1618. GO
  1619. CREATE TABLE [dbo].[infra_codegen_column] (
  1620. [id] bigint IDENTITY(1,1) NOT NULL,
  1621. [table_id] bigint NOT NULL,
  1622. [column_name] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1623. [data_type] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1624. [column_comment] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1625. [nullable] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1626. [primary_key] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1627. [auto_increment] nchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1628. [ordinal_position] int NOT NULL,
  1629. [java_type] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1630. [java_field] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1631. [dict_type] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1632. [example] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1633. [create_operation] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1634. [update_operation] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1635. [list_operation] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1636. [list_operation_condition] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1637. [list_operation_result] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1638. [html_type] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1639. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1640. [create_time] datetime2(7) NOT NULL,
  1641. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1642. [update_time] datetime2(7) NOT NULL,
  1643. [deleted] bit DEFAULT 0 NOT NULL
  1644. )
  1645. GO
  1646. ALTER TABLE [dbo].[infra_codegen_column] SET (LOCK_ESCALATION = TABLE)
  1647. GO
  1648. EXEC sp_addextendedproperty
  1649. 'MS_Description', N'编号',
  1650. 'SCHEMA', N'dbo',
  1651. 'TABLE', N'infra_codegen_column',
  1652. 'COLUMN', N'id'
  1653. GO
  1654. EXEC sp_addextendedproperty
  1655. 'MS_Description', N'表编号',
  1656. 'SCHEMA', N'dbo',
  1657. 'TABLE', N'infra_codegen_column',
  1658. 'COLUMN', N'table_id'
  1659. GO
  1660. EXEC sp_addextendedproperty
  1661. 'MS_Description', N'字段名',
  1662. 'SCHEMA', N'dbo',
  1663. 'TABLE', N'infra_codegen_column',
  1664. 'COLUMN', N'column_name'
  1665. GO
  1666. EXEC sp_addextendedproperty
  1667. 'MS_Description', N'字段类型',
  1668. 'SCHEMA', N'dbo',
  1669. 'TABLE', N'infra_codegen_column',
  1670. 'COLUMN', N'data_type'
  1671. GO
  1672. EXEC sp_addextendedproperty
  1673. 'MS_Description', N'字段描述',
  1674. 'SCHEMA', N'dbo',
  1675. 'TABLE', N'infra_codegen_column',
  1676. 'COLUMN', N'column_comment'
  1677. GO
  1678. EXEC sp_addextendedproperty
  1679. 'MS_Description', N'是否允许为空',
  1680. 'SCHEMA', N'dbo',
  1681. 'TABLE', N'infra_codegen_column',
  1682. 'COLUMN', N'nullable'
  1683. GO
  1684. EXEC sp_addextendedproperty
  1685. 'MS_Description', N'是否主键',
  1686. 'SCHEMA', N'dbo',
  1687. 'TABLE', N'infra_codegen_column',
  1688. 'COLUMN', N'primary_key'
  1689. GO
  1690. EXEC sp_addextendedproperty
  1691. 'MS_Description', N'是否自增',
  1692. 'SCHEMA', N'dbo',
  1693. 'TABLE', N'infra_codegen_column',
  1694. 'COLUMN', N'auto_increment'
  1695. GO
  1696. EXEC sp_addextendedproperty
  1697. 'MS_Description', N'排序',
  1698. 'SCHEMA', N'dbo',
  1699. 'TABLE', N'infra_codegen_column',
  1700. 'COLUMN', N'ordinal_position'
  1701. GO
  1702. EXEC sp_addextendedproperty
  1703. 'MS_Description', N'Java 属性类型',
  1704. 'SCHEMA', N'dbo',
  1705. 'TABLE', N'infra_codegen_column',
  1706. 'COLUMN', N'java_type'
  1707. GO
  1708. EXEC sp_addextendedproperty
  1709. 'MS_Description', N'Java 属性名',
  1710. 'SCHEMA', N'dbo',
  1711. 'TABLE', N'infra_codegen_column',
  1712. 'COLUMN', N'java_field'
  1713. GO
  1714. EXEC sp_addextendedproperty
  1715. 'MS_Description', N'字典类型',
  1716. 'SCHEMA', N'dbo',
  1717. 'TABLE', N'infra_codegen_column',
  1718. 'COLUMN', N'dict_type'
  1719. GO
  1720. EXEC sp_addextendedproperty
  1721. 'MS_Description', N'数据示例',
  1722. 'SCHEMA', N'dbo',
  1723. 'TABLE', N'infra_codegen_column',
  1724. 'COLUMN', N'example'
  1725. GO
  1726. EXEC sp_addextendedproperty
  1727. 'MS_Description', N'是否为 Create 创建操作的字段',
  1728. 'SCHEMA', N'dbo',
  1729. 'TABLE', N'infra_codegen_column',
  1730. 'COLUMN', N'create_operation'
  1731. GO
  1732. EXEC sp_addextendedproperty
  1733. 'MS_Description', N'是否为 Update 更新操作的字段',
  1734. 'SCHEMA', N'dbo',
  1735. 'TABLE', N'infra_codegen_column',
  1736. 'COLUMN', N'update_operation'
  1737. GO
  1738. EXEC sp_addextendedproperty
  1739. 'MS_Description', N'是否为 List 查询操作的字段',
  1740. 'SCHEMA', N'dbo',
  1741. 'TABLE', N'infra_codegen_column',
  1742. 'COLUMN', N'list_operation'
  1743. GO
  1744. EXEC sp_addextendedproperty
  1745. 'MS_Description', N'List 查询操作的条件类型',
  1746. 'SCHEMA', N'dbo',
  1747. 'TABLE', N'infra_codegen_column',
  1748. 'COLUMN', N'list_operation_condition'
  1749. GO
  1750. EXEC sp_addextendedproperty
  1751. 'MS_Description', N'是否为 List 查询操作的返回字段',
  1752. 'SCHEMA', N'dbo',
  1753. 'TABLE', N'infra_codegen_column',
  1754. 'COLUMN', N'list_operation_result'
  1755. GO
  1756. EXEC sp_addextendedproperty
  1757. 'MS_Description', N'显示类型',
  1758. 'SCHEMA', N'dbo',
  1759. 'TABLE', N'infra_codegen_column',
  1760. 'COLUMN', N'html_type'
  1761. GO
  1762. EXEC sp_addextendedproperty
  1763. 'MS_Description', N'创建者',
  1764. 'SCHEMA', N'dbo',
  1765. 'TABLE', N'infra_codegen_column',
  1766. 'COLUMN', N'creator'
  1767. GO
  1768. EXEC sp_addextendedproperty
  1769. 'MS_Description', N'创建时间',
  1770. 'SCHEMA', N'dbo',
  1771. 'TABLE', N'infra_codegen_column',
  1772. 'COLUMN', N'create_time'
  1773. GO
  1774. EXEC sp_addextendedproperty
  1775. 'MS_Description', N'更新者',
  1776. 'SCHEMA', N'dbo',
  1777. 'TABLE', N'infra_codegen_column',
  1778. 'COLUMN', N'updater'
  1779. GO
  1780. EXEC sp_addextendedproperty
  1781. 'MS_Description', N'更新时间',
  1782. 'SCHEMA', N'dbo',
  1783. 'TABLE', N'infra_codegen_column',
  1784. 'COLUMN', N'update_time'
  1785. GO
  1786. EXEC sp_addextendedproperty
  1787. 'MS_Description', N'是否删除',
  1788. 'SCHEMA', N'dbo',
  1789. 'TABLE', N'infra_codegen_column',
  1790. 'COLUMN', N'deleted'
  1791. GO
  1792. EXEC sp_addextendedproperty
  1793. 'MS_Description', N'代码生成表字段定义',
  1794. 'SCHEMA', N'dbo',
  1795. 'TABLE', N'infra_codegen_column'
  1796. GO
  1797. -- ----------------------------
  1798. -- Records of infra_codegen_column
  1799. -- ----------------------------
  1800. BEGIN TRANSACTION
  1801. GO
  1802. SET IDENTITY_INSERT [dbo].[infra_codegen_column] ON
  1803. GO
  1804. SET IDENTITY_INSERT [dbo].[infra_codegen_column] OFF
  1805. GO
  1806. COMMIT
  1807. GO
  1808. -- ----------------------------
  1809. -- Table structure for infra_codegen_table
  1810. -- ----------------------------
  1811. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_codegen_table]') AND type IN ('U'))
  1812. DROP TABLE [dbo].[infra_codegen_table]
  1813. GO
  1814. CREATE TABLE [dbo].[infra_codegen_table] (
  1815. [id] bigint IDENTITY(1,1) NOT NULL,
  1816. [data_source_config_id] bigint NOT NULL,
  1817. [scene] tinyint NOT NULL,
  1818. [table_name] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1819. [table_comment] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1820. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1821. [module_name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1822. [business_name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1823. [class_name] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1824. [class_comment] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1825. [author] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1826. [template_type] tinyint NOT NULL,
  1827. [parent_menu_id] bigint NULL,
  1828. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1829. [create_time] datetime2(7) NOT NULL,
  1830. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1831. [update_time] datetime2(7) NOT NULL,
  1832. [deleted] bit DEFAULT 0 NOT NULL
  1833. )
  1834. GO
  1835. ALTER TABLE [dbo].[infra_codegen_table] SET (LOCK_ESCALATION = TABLE)
  1836. GO
  1837. EXEC sp_addextendedproperty
  1838. 'MS_Description', N'编号',
  1839. 'SCHEMA', N'dbo',
  1840. 'TABLE', N'infra_codegen_table',
  1841. 'COLUMN', N'id'
  1842. GO
  1843. EXEC sp_addextendedproperty
  1844. 'MS_Description', N'数据源配置的编号',
  1845. 'SCHEMA', N'dbo',
  1846. 'TABLE', N'infra_codegen_table',
  1847. 'COLUMN', N'data_source_config_id'
  1848. GO
  1849. EXEC sp_addextendedproperty
  1850. 'MS_Description', N'生成场景',
  1851. 'SCHEMA', N'dbo',
  1852. 'TABLE', N'infra_codegen_table',
  1853. 'COLUMN', N'scene'
  1854. GO
  1855. EXEC sp_addextendedproperty
  1856. 'MS_Description', N'表名称',
  1857. 'SCHEMA', N'dbo',
  1858. 'TABLE', N'infra_codegen_table',
  1859. 'COLUMN', N'table_name'
  1860. GO
  1861. EXEC sp_addextendedproperty
  1862. 'MS_Description', N'表描述',
  1863. 'SCHEMA', N'dbo',
  1864. 'TABLE', N'infra_codegen_table',
  1865. 'COLUMN', N'table_comment'
  1866. GO
  1867. EXEC sp_addextendedproperty
  1868. 'MS_Description', N'备注',
  1869. 'SCHEMA', N'dbo',
  1870. 'TABLE', N'infra_codegen_table',
  1871. 'COLUMN', N'remark'
  1872. GO
  1873. EXEC sp_addextendedproperty
  1874. 'MS_Description', N'模块名',
  1875. 'SCHEMA', N'dbo',
  1876. 'TABLE', N'infra_codegen_table',
  1877. 'COLUMN', N'module_name'
  1878. GO
  1879. EXEC sp_addextendedproperty
  1880. 'MS_Description', N'业务名',
  1881. 'SCHEMA', N'dbo',
  1882. 'TABLE', N'infra_codegen_table',
  1883. 'COLUMN', N'business_name'
  1884. GO
  1885. EXEC sp_addextendedproperty
  1886. 'MS_Description', N'类名称',
  1887. 'SCHEMA', N'dbo',
  1888. 'TABLE', N'infra_codegen_table',
  1889. 'COLUMN', N'class_name'
  1890. GO
  1891. EXEC sp_addextendedproperty
  1892. 'MS_Description', N'类描述',
  1893. 'SCHEMA', N'dbo',
  1894. 'TABLE', N'infra_codegen_table',
  1895. 'COLUMN', N'class_comment'
  1896. GO
  1897. EXEC sp_addextendedproperty
  1898. 'MS_Description', N'作者',
  1899. 'SCHEMA', N'dbo',
  1900. 'TABLE', N'infra_codegen_table',
  1901. 'COLUMN', N'author'
  1902. GO
  1903. EXEC sp_addextendedproperty
  1904. 'MS_Description', N'模板类型',
  1905. 'SCHEMA', N'dbo',
  1906. 'TABLE', N'infra_codegen_table',
  1907. 'COLUMN', N'template_type'
  1908. GO
  1909. EXEC sp_addextendedproperty
  1910. 'MS_Description', N'父菜单编号',
  1911. 'SCHEMA', N'dbo',
  1912. 'TABLE', N'infra_codegen_table',
  1913. 'COLUMN', N'parent_menu_id'
  1914. GO
  1915. EXEC sp_addextendedproperty
  1916. 'MS_Description', N'创建者',
  1917. 'SCHEMA', N'dbo',
  1918. 'TABLE', N'infra_codegen_table',
  1919. 'COLUMN', N'creator'
  1920. GO
  1921. EXEC sp_addextendedproperty
  1922. 'MS_Description', N'创建时间',
  1923. 'SCHEMA', N'dbo',
  1924. 'TABLE', N'infra_codegen_table',
  1925. 'COLUMN', N'create_time'
  1926. GO
  1927. EXEC sp_addextendedproperty
  1928. 'MS_Description', N'更新者',
  1929. 'SCHEMA', N'dbo',
  1930. 'TABLE', N'infra_codegen_table',
  1931. 'COLUMN', N'updater'
  1932. GO
  1933. EXEC sp_addextendedproperty
  1934. 'MS_Description', N'更新时间',
  1935. 'SCHEMA', N'dbo',
  1936. 'TABLE', N'infra_codegen_table',
  1937. 'COLUMN', N'update_time'
  1938. GO
  1939. EXEC sp_addextendedproperty
  1940. 'MS_Description', N'是否删除',
  1941. 'SCHEMA', N'dbo',
  1942. 'TABLE', N'infra_codegen_table',
  1943. 'COLUMN', N'deleted'
  1944. GO
  1945. EXEC sp_addextendedproperty
  1946. 'MS_Description', N'代码生成表定义',
  1947. 'SCHEMA', N'dbo',
  1948. 'TABLE', N'infra_codegen_table'
  1949. GO
  1950. -- ----------------------------
  1951. -- Records of infra_codegen_table
  1952. -- ----------------------------
  1953. BEGIN TRANSACTION
  1954. GO
  1955. SET IDENTITY_INSERT [dbo].[infra_codegen_table] ON
  1956. GO
  1957. SET IDENTITY_INSERT [dbo].[infra_codegen_table] OFF
  1958. GO
  1959. COMMIT
  1960. GO
  1961. -- ----------------------------
  1962. -- Table structure for infra_config
  1963. -- ----------------------------
  1964. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_config]') AND type IN ('U'))
  1965. DROP TABLE [dbo].[infra_config]
  1966. GO
  1967. CREATE TABLE [dbo].[infra_config] (
  1968. [id] int NOT NULL,
  1969. [category] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1970. [type] tinyint NOT NULL,
  1971. [name] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1972. [config_key] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1973. [value] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1974. [visible] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  1975. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1976. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1977. [create_time] datetime2(7) NOT NULL,
  1978. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  1979. [update_time] datetime2(7) NOT NULL,
  1980. [deleted] bit DEFAULT 0 NOT NULL
  1981. )
  1982. GO
  1983. ALTER TABLE [dbo].[infra_config] SET (LOCK_ESCALATION = TABLE)
  1984. GO
  1985. EXEC sp_addextendedproperty
  1986. 'MS_Description', N'参数主键',
  1987. 'SCHEMA', N'dbo',
  1988. 'TABLE', N'infra_config',
  1989. 'COLUMN', N'id'
  1990. GO
  1991. EXEC sp_addextendedproperty
  1992. 'MS_Description', N'参数分组',
  1993. 'SCHEMA', N'dbo',
  1994. 'TABLE', N'infra_config',
  1995. 'COLUMN', N'category'
  1996. GO
  1997. EXEC sp_addextendedproperty
  1998. 'MS_Description', N'参数类型',
  1999. 'SCHEMA', N'dbo',
  2000. 'TABLE', N'infra_config',
  2001. 'COLUMN', N'type'
  2002. GO
  2003. EXEC sp_addextendedproperty
  2004. 'MS_Description', N'参数名称',
  2005. 'SCHEMA', N'dbo',
  2006. 'TABLE', N'infra_config',
  2007. 'COLUMN', N'name'
  2008. GO
  2009. EXEC sp_addextendedproperty
  2010. 'MS_Description', N'参数键名',
  2011. 'SCHEMA', N'dbo',
  2012. 'TABLE', N'infra_config',
  2013. 'COLUMN', N'config_key'
  2014. GO
  2015. EXEC sp_addextendedproperty
  2016. 'MS_Description', N'参数键值',
  2017. 'SCHEMA', N'dbo',
  2018. 'TABLE', N'infra_config',
  2019. 'COLUMN', N'value'
  2020. GO
  2021. EXEC sp_addextendedproperty
  2022. 'MS_Description', N'是否可见',
  2023. 'SCHEMA', N'dbo',
  2024. 'TABLE', N'infra_config',
  2025. 'COLUMN', N'visible'
  2026. GO
  2027. EXEC sp_addextendedproperty
  2028. 'MS_Description', N'备注',
  2029. 'SCHEMA', N'dbo',
  2030. 'TABLE', N'infra_config',
  2031. 'COLUMN', N'remark'
  2032. GO
  2033. EXEC sp_addextendedproperty
  2034. 'MS_Description', N'创建者',
  2035. 'SCHEMA', N'dbo',
  2036. 'TABLE', N'infra_config',
  2037. 'COLUMN', N'creator'
  2038. GO
  2039. EXEC sp_addextendedproperty
  2040. 'MS_Description', N'创建时间',
  2041. 'SCHEMA', N'dbo',
  2042. 'TABLE', N'infra_config',
  2043. 'COLUMN', N'create_time'
  2044. GO
  2045. EXEC sp_addextendedproperty
  2046. 'MS_Description', N'更新者',
  2047. 'SCHEMA', N'dbo',
  2048. 'TABLE', N'infra_config',
  2049. 'COLUMN', N'updater'
  2050. GO
  2051. EXEC sp_addextendedproperty
  2052. 'MS_Description', N'更新时间',
  2053. 'SCHEMA', N'dbo',
  2054. 'TABLE', N'infra_config',
  2055. 'COLUMN', N'update_time'
  2056. GO
  2057. EXEC sp_addextendedproperty
  2058. 'MS_Description', N'是否删除',
  2059. 'SCHEMA', N'dbo',
  2060. 'TABLE', N'infra_config',
  2061. 'COLUMN', N'deleted'
  2062. GO
  2063. EXEC sp_addextendedproperty
  2064. 'MS_Description', N'参数配置表',
  2065. 'SCHEMA', N'dbo',
  2066. 'TABLE', N'infra_config'
  2067. GO
  2068. -- ----------------------------
  2069. -- Records of infra_config
  2070. -- ----------------------------
  2071. BEGIN TRANSACTION
  2072. GO
  2073. INSERT INTO [dbo].[infra_config] ([id], [category], [type], [name], [config_key], [value], [visible], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'ui', N'1', N'主框架页-默认皮肤样式名称', N'sys.index.skinName', N'skin-blue', N'0', N'蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-03-26 23:10:31.0000000', N'0')
  2074. GO
  2075. INSERT INTO [dbo].[infra_config] ([id], [category], [type], [name], [config_key], [value], [visible], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'2', N'biz', N'1', N'用户管理-账号初始密码', N'sys.user.init-password', N'123456', N'0', N'初始化密码 123456', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-03-20 02:25:51.0000000', N'0')
  2076. GO
  2077. INSERT INTO [dbo].[infra_config] ([id], [category], [type], [name], [config_key], [value], [visible], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'3', N'ui', N'1', N'主框架页-侧边栏主题', N'sys.index.sideTheme', N'theme-dark', N'0', N'深色主题theme-dark,浅色主题theme-light', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2021-01-19 03:05:21.0000000', N'0')
  2078. GO
  2079. INSERT INTO [dbo].[infra_config] ([id], [category], [type], [name], [config_key], [value], [visible], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'6', N'biz', N'2', N'登陆验证码的开关', N'feifan.captcha.enable', N'true', N'1', NULL, N'1', N'2022-02-17 00:03:11.0000000', N'1', N'2022-04-04 12:51:40.0000000', N'0')
  2080. GO
  2081. COMMIT
  2082. GO
  2083. -- ----------------------------
  2084. -- Table structure for infra_data_source_config
  2085. -- ----------------------------
  2086. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_data_source_config]') AND type IN ('U'))
  2087. DROP TABLE [dbo].[infra_data_source_config]
  2088. GO
  2089. CREATE TABLE [dbo].[infra_data_source_config] (
  2090. [id] bigint IDENTITY(1,1) NOT NULL,
  2091. [name] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2092. [url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2093. [username] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2094. [password] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2095. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2096. [create_time] datetime2(7) NOT NULL,
  2097. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2098. [update_time] datetime2(7) NOT NULL,
  2099. [deleted] bit DEFAULT 0 NOT NULL
  2100. )
  2101. GO
  2102. ALTER TABLE [dbo].[infra_data_source_config] SET (LOCK_ESCALATION = TABLE)
  2103. GO
  2104. EXEC sp_addextendedproperty
  2105. 'MS_Description', N'主键编号',
  2106. 'SCHEMA', N'dbo',
  2107. 'TABLE', N'infra_data_source_config',
  2108. 'COLUMN', N'id'
  2109. GO
  2110. EXEC sp_addextendedproperty
  2111. 'MS_Description', N'参数名称',
  2112. 'SCHEMA', N'dbo',
  2113. 'TABLE', N'infra_data_source_config',
  2114. 'COLUMN', N'name'
  2115. GO
  2116. EXEC sp_addextendedproperty
  2117. 'MS_Description', N'数据源连接',
  2118. 'SCHEMA', N'dbo',
  2119. 'TABLE', N'infra_data_source_config',
  2120. 'COLUMN', N'url'
  2121. GO
  2122. EXEC sp_addextendedproperty
  2123. 'MS_Description', N'用户名',
  2124. 'SCHEMA', N'dbo',
  2125. 'TABLE', N'infra_data_source_config',
  2126. 'COLUMN', N'username'
  2127. GO
  2128. EXEC sp_addextendedproperty
  2129. 'MS_Description', N'密码',
  2130. 'SCHEMA', N'dbo',
  2131. 'TABLE', N'infra_data_source_config',
  2132. 'COLUMN', N'password'
  2133. GO
  2134. EXEC sp_addextendedproperty
  2135. 'MS_Description', N'创建者',
  2136. 'SCHEMA', N'dbo',
  2137. 'TABLE', N'infra_data_source_config',
  2138. 'COLUMN', N'creator'
  2139. GO
  2140. EXEC sp_addextendedproperty
  2141. 'MS_Description', N'创建时间',
  2142. 'SCHEMA', N'dbo',
  2143. 'TABLE', N'infra_data_source_config',
  2144. 'COLUMN', N'create_time'
  2145. GO
  2146. EXEC sp_addextendedproperty
  2147. 'MS_Description', N'更新者',
  2148. 'SCHEMA', N'dbo',
  2149. 'TABLE', N'infra_data_source_config',
  2150. 'COLUMN', N'updater'
  2151. GO
  2152. EXEC sp_addextendedproperty
  2153. 'MS_Description', N'更新时间',
  2154. 'SCHEMA', N'dbo',
  2155. 'TABLE', N'infra_data_source_config',
  2156. 'COLUMN', N'update_time'
  2157. GO
  2158. EXEC sp_addextendedproperty
  2159. 'MS_Description', N'是否删除',
  2160. 'SCHEMA', N'dbo',
  2161. 'TABLE', N'infra_data_source_config',
  2162. 'COLUMN', N'deleted'
  2163. GO
  2164. EXEC sp_addextendedproperty
  2165. 'MS_Description', N'数据源配置表',
  2166. 'SCHEMA', N'dbo',
  2167. 'TABLE', N'infra_data_source_config'
  2168. GO
  2169. -- ----------------------------
  2170. -- Records of infra_data_source_config
  2171. -- ----------------------------
  2172. BEGIN TRANSACTION
  2173. GO
  2174. SET IDENTITY_INSERT [dbo].[infra_data_source_config] ON
  2175. GO
  2176. INSERT INTO [dbo].[infra_data_source_config] ([id], [name], [url], [username], [password], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'8', N'test', N'jdbc:mysql://127.0.0.1:3306/testb5f4', N'root', N'3xgHTSHmF3mlgL3Ybw45ztewGDxGgEkWF3wTSYey7k+uXI/wdz45TrvYvYssQtmA', N'1', N'2022-04-27 22:48:20.0000000', N'1', N'2022-04-28 20:04:06.0000000', N'0')
  2177. GO
  2178. INSERT INTO [dbo].[infra_data_source_config] ([id], [name], [url], [username], [password], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'9', N'oracle_test', N'jdbc:oracle:thin:@127.0.0.1:1521:xe', N'root', N'vwmNAPLiEi+NX4AVdC+zNvpejPLwcFXp6dlhgNxCfDTi4vKRy76iIeFqyvpRerNC', N'1', N'2022-04-28 20:41:26.0000000', N'1', N'2022-04-28 20:41:26.0000000', N'0')
  2179. GO
  2180. SET IDENTITY_INSERT [dbo].[infra_data_source_config] OFF
  2181. GO
  2182. COMMIT
  2183. GO
  2184. -- ----------------------------
  2185. -- Table structure for infra_file
  2186. -- ----------------------------
  2187. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_file]') AND type IN ('U'))
  2188. DROP TABLE [dbo].[infra_file]
  2189. GO
  2190. CREATE TABLE [dbo].[infra_file] (
  2191. [id] bigint IDENTITY(1,1) NOT NULL,
  2192. [config_id] bigint NULL,
  2193. [path] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2194. [url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2195. [type] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2196. [size] int NOT NULL,
  2197. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2198. [create_time] datetime2(7) NOT NULL,
  2199. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2200. [update_time] datetime2(7) NOT NULL,
  2201. [deleted] bit DEFAULT 0 NOT NULL,
  2202. [name] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  2203. )
  2204. GO
  2205. ALTER TABLE [dbo].[infra_file] SET (LOCK_ESCALATION = TABLE)
  2206. GO
  2207. EXEC sp_addextendedproperty
  2208. 'MS_Description', N'文件编号',
  2209. 'SCHEMA', N'dbo',
  2210. 'TABLE', N'infra_file',
  2211. 'COLUMN', N'id'
  2212. GO
  2213. EXEC sp_addextendedproperty
  2214. 'MS_Description', N'配置编号',
  2215. 'SCHEMA', N'dbo',
  2216. 'TABLE', N'infra_file',
  2217. 'COLUMN', N'config_id'
  2218. GO
  2219. EXEC sp_addextendedproperty
  2220. 'MS_Description', N'文件路径',
  2221. 'SCHEMA', N'dbo',
  2222. 'TABLE', N'infra_file',
  2223. 'COLUMN', N'path'
  2224. GO
  2225. EXEC sp_addextendedproperty
  2226. 'MS_Description', N'文件 URL',
  2227. 'SCHEMA', N'dbo',
  2228. 'TABLE', N'infra_file',
  2229. 'COLUMN', N'url'
  2230. GO
  2231. EXEC sp_addextendedproperty
  2232. 'MS_Description', N'文件 MIME 类型',
  2233. 'SCHEMA', N'dbo',
  2234. 'TABLE', N'infra_file',
  2235. 'COLUMN', N'type'
  2236. GO
  2237. EXEC sp_addextendedproperty
  2238. 'MS_Description', N'文件大小',
  2239. 'SCHEMA', N'dbo',
  2240. 'TABLE', N'infra_file',
  2241. 'COLUMN', N'size'
  2242. GO
  2243. EXEC sp_addextendedproperty
  2244. 'MS_Description', N'创建者',
  2245. 'SCHEMA', N'dbo',
  2246. 'TABLE', N'infra_file',
  2247. 'COLUMN', N'creator'
  2248. GO
  2249. EXEC sp_addextendedproperty
  2250. 'MS_Description', N'创建时间',
  2251. 'SCHEMA', N'dbo',
  2252. 'TABLE', N'infra_file',
  2253. 'COLUMN', N'create_time'
  2254. GO
  2255. EXEC sp_addextendedproperty
  2256. 'MS_Description', N'更新者',
  2257. 'SCHEMA', N'dbo',
  2258. 'TABLE', N'infra_file',
  2259. 'COLUMN', N'updater'
  2260. GO
  2261. EXEC sp_addextendedproperty
  2262. 'MS_Description', N'更新时间',
  2263. 'SCHEMA', N'dbo',
  2264. 'TABLE', N'infra_file',
  2265. 'COLUMN', N'update_time'
  2266. GO
  2267. EXEC sp_addextendedproperty
  2268. 'MS_Description', N'是否删除',
  2269. 'SCHEMA', N'dbo',
  2270. 'TABLE', N'infra_file',
  2271. 'COLUMN', N'deleted'
  2272. GO
  2273. EXEC sp_addextendedproperty
  2274. 'MS_Description', N'文件路径',
  2275. 'SCHEMA', N'dbo',
  2276. 'TABLE', N'infra_file',
  2277. 'COLUMN', N'name'
  2278. GO
  2279. EXEC sp_addextendedproperty
  2280. 'MS_Description', N'文件表',
  2281. 'SCHEMA', N'dbo',
  2282. 'TABLE', N'infra_file'
  2283. GO
  2284. -- ----------------------------
  2285. -- Records of infra_file
  2286. -- ----------------------------
  2287. BEGIN TRANSACTION
  2288. GO
  2289. SET IDENTITY_INSERT [dbo].[infra_file] ON
  2290. GO
  2291. SET IDENTITY_INSERT [dbo].[infra_file] OFF
  2292. GO
  2293. COMMIT
  2294. GO
  2295. -- ----------------------------
  2296. -- Table structure for infra_file_config
  2297. -- ----------------------------
  2298. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_file_config]') AND type IN ('U'))
  2299. DROP TABLE [dbo].[infra_file_config]
  2300. GO
  2301. CREATE TABLE [dbo].[infra_file_config] (
  2302. [id] bigint IDENTITY(1,1) NOT NULL,
  2303. [name] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2304. [storage] tinyint NOT NULL,
  2305. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2306. [master] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2307. [config] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2308. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2309. [create_time] datetime2(7) NOT NULL,
  2310. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2311. [update_time] datetime2(7) NOT NULL,
  2312. [deleted] bit DEFAULT 0 NOT NULL
  2313. )
  2314. GO
  2315. ALTER TABLE [dbo].[infra_file_config] SET (LOCK_ESCALATION = TABLE)
  2316. GO
  2317. EXEC sp_addextendedproperty
  2318. 'MS_Description', N'编号',
  2319. 'SCHEMA', N'dbo',
  2320. 'TABLE', N'infra_file_config',
  2321. 'COLUMN', N'id'
  2322. GO
  2323. EXEC sp_addextendedproperty
  2324. 'MS_Description', N'配置名',
  2325. 'SCHEMA', N'dbo',
  2326. 'TABLE', N'infra_file_config',
  2327. 'COLUMN', N'name'
  2328. GO
  2329. EXEC sp_addextendedproperty
  2330. 'MS_Description', N'存储器',
  2331. 'SCHEMA', N'dbo',
  2332. 'TABLE', N'infra_file_config',
  2333. 'COLUMN', N'storage'
  2334. GO
  2335. EXEC sp_addextendedproperty
  2336. 'MS_Description', N'备注',
  2337. 'SCHEMA', N'dbo',
  2338. 'TABLE', N'infra_file_config',
  2339. 'COLUMN', N'remark'
  2340. GO
  2341. EXEC sp_addextendedproperty
  2342. 'MS_Description', N'是否为主配置',
  2343. 'SCHEMA', N'dbo',
  2344. 'TABLE', N'infra_file_config',
  2345. 'COLUMN', N'master'
  2346. GO
  2347. EXEC sp_addextendedproperty
  2348. 'MS_Description', N'存储配置',
  2349. 'SCHEMA', N'dbo',
  2350. 'TABLE', N'infra_file_config',
  2351. 'COLUMN', N'config'
  2352. GO
  2353. EXEC sp_addextendedproperty
  2354. 'MS_Description', N'创建者',
  2355. 'SCHEMA', N'dbo',
  2356. 'TABLE', N'infra_file_config',
  2357. 'COLUMN', N'creator'
  2358. GO
  2359. EXEC sp_addextendedproperty
  2360. 'MS_Description', N'创建时间',
  2361. 'SCHEMA', N'dbo',
  2362. 'TABLE', N'infra_file_config',
  2363. 'COLUMN', N'create_time'
  2364. GO
  2365. EXEC sp_addextendedproperty
  2366. 'MS_Description', N'更新者',
  2367. 'SCHEMA', N'dbo',
  2368. 'TABLE', N'infra_file_config',
  2369. 'COLUMN', N'updater'
  2370. GO
  2371. EXEC sp_addextendedproperty
  2372. 'MS_Description', N'更新时间',
  2373. 'SCHEMA', N'dbo',
  2374. 'TABLE', N'infra_file_config',
  2375. 'COLUMN', N'update_time'
  2376. GO
  2377. EXEC sp_addextendedproperty
  2378. 'MS_Description', N'是否删除',
  2379. 'SCHEMA', N'dbo',
  2380. 'TABLE', N'infra_file_config',
  2381. 'COLUMN', N'deleted'
  2382. GO
  2383. EXEC sp_addextendedproperty
  2384. 'MS_Description', N'文件配置表',
  2385. 'SCHEMA', N'dbo',
  2386. 'TABLE', N'infra_file_config'
  2387. GO
  2388. -- ----------------------------
  2389. -- Records of infra_file_config
  2390. -- ----------------------------
  2391. BEGIN TRANSACTION
  2392. GO
  2393. SET IDENTITY_INSERT [dbo].[infra_file_config] ON
  2394. GO
  2395. INSERT INTO [dbo].[infra_file_config] ([id], [name], [storage], [remark], [master], [config], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'4', N'数据库', N'1', N'我是数据库', N'0', N'{"@class":"cn.newfeifan.mall.framework.file.core.client.db.DBFileClientConfig","domain":"http://127.0.0.1:48080"}', N'1', N'2022-03-15 23:56:24.0000000', N'1', N'2022-03-26 21:39:26.0000000', N'0')
  2396. GO
  2397. INSERT INTO [dbo].[infra_file_config] ([id], [name], [storage], [remark], [master], [config], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'5', N'本地磁盘', N'10', N'测试下本地存储', N'0', N'{"@class":"cn.newfeifan.mall.framework.file.core.client.local.LocalFileClientConfig","basePath":"/Users/yunai/file_test","domain":"http://127.0.0.1:48080"}', N'1', N'2022-03-15 23:57:00.0000000', N'1', N'2022-03-26 21:39:26.0000000', N'0')
  2398. GO
  2399. INSERT INTO [dbo].[infra_file_config] ([id], [name], [storage], [remark], [master], [config], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'11', N'S3 - 七牛云', N'20', NULL, N'1', N'{"@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"}', N'1', N'2022-03-19 18:00:03.0000000', N'1', N'2022-03-26 21:39:26.0000000', N'0')
  2400. GO
  2401. SET IDENTITY_INSERT [dbo].[infra_file_config] OFF
  2402. GO
  2403. COMMIT
  2404. GO
  2405. -- ----------------------------
  2406. -- Table structure for infra_file_content
  2407. -- ----------------------------
  2408. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_file_content]') AND type IN ('U'))
  2409. DROP TABLE [dbo].[infra_file_content]
  2410. GO
  2411. CREATE TABLE [dbo].[infra_file_content] (
  2412. [id] bigint IDENTITY(1,1) NOT NULL,
  2413. [config_id] bigint NOT NULL,
  2414. [path] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2415. [content] varbinary(max) NOT NULL,
  2416. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2417. [create_time] datetime2(7) NOT NULL,
  2418. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2419. [update_time] datetime2(7) NOT NULL,
  2420. [deleted] bit DEFAULT 0 NOT NULL
  2421. )
  2422. GO
  2423. ALTER TABLE [dbo].[infra_file_content] SET (LOCK_ESCALATION = TABLE)
  2424. GO
  2425. EXEC sp_addextendedproperty
  2426. 'MS_Description', N'编号',
  2427. 'SCHEMA', N'dbo',
  2428. 'TABLE', N'infra_file_content',
  2429. 'COLUMN', N'id'
  2430. GO
  2431. EXEC sp_addextendedproperty
  2432. 'MS_Description', N'配置编号',
  2433. 'SCHEMA', N'dbo',
  2434. 'TABLE', N'infra_file_content',
  2435. 'COLUMN', N'config_id'
  2436. GO
  2437. EXEC sp_addextendedproperty
  2438. 'MS_Description', N'文件路径',
  2439. 'SCHEMA', N'dbo',
  2440. 'TABLE', N'infra_file_content',
  2441. 'COLUMN', N'path'
  2442. GO
  2443. EXEC sp_addextendedproperty
  2444. 'MS_Description', N'文件内容',
  2445. 'SCHEMA', N'dbo',
  2446. 'TABLE', N'infra_file_content',
  2447. 'COLUMN', N'content'
  2448. GO
  2449. EXEC sp_addextendedproperty
  2450. 'MS_Description', N'创建者',
  2451. 'SCHEMA', N'dbo',
  2452. 'TABLE', N'infra_file_content',
  2453. 'COLUMN', N'creator'
  2454. GO
  2455. EXEC sp_addextendedproperty
  2456. 'MS_Description', N'创建时间',
  2457. 'SCHEMA', N'dbo',
  2458. 'TABLE', N'infra_file_content',
  2459. 'COLUMN', N'create_time'
  2460. GO
  2461. EXEC sp_addextendedproperty
  2462. 'MS_Description', N'更新者',
  2463. 'SCHEMA', N'dbo',
  2464. 'TABLE', N'infra_file_content',
  2465. 'COLUMN', N'updater'
  2466. GO
  2467. EXEC sp_addextendedproperty
  2468. 'MS_Description', N'更新时间',
  2469. 'SCHEMA', N'dbo',
  2470. 'TABLE', N'infra_file_content',
  2471. 'COLUMN', N'update_time'
  2472. GO
  2473. EXEC sp_addextendedproperty
  2474. 'MS_Description', N'是否删除',
  2475. 'SCHEMA', N'dbo',
  2476. 'TABLE', N'infra_file_content',
  2477. 'COLUMN', N'deleted'
  2478. GO
  2479. EXEC sp_addextendedproperty
  2480. 'MS_Description', N'文件表',
  2481. 'SCHEMA', N'dbo',
  2482. 'TABLE', N'infra_file_content'
  2483. GO
  2484. -- ----------------------------
  2485. -- Records of infra_file_content
  2486. -- ----------------------------
  2487. BEGIN TRANSACTION
  2488. GO
  2489. SET IDENTITY_INSERT [dbo].[infra_file_content] ON
  2490. GO
  2491. SET IDENTITY_INSERT [dbo].[infra_file_content] OFF
  2492. GO
  2493. COMMIT
  2494. GO
  2495. -- ----------------------------
  2496. -- Table structure for infra_job
  2497. -- ----------------------------
  2498. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_job]') AND type IN ('U'))
  2499. DROP TABLE [dbo].[infra_job]
  2500. GO
  2501. CREATE TABLE [dbo].[infra_job] (
  2502. [id] bigint IDENTITY(1,1) NOT NULL,
  2503. [name] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2504. [status] tinyint NOT NULL,
  2505. [handler_name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2506. [handler_param] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2507. [cron_expression] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2508. [retry_count] int NOT NULL,
  2509. [retry_interval] int NOT NULL,
  2510. [monitor_timeout] int NOT NULL,
  2511. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2512. [create_time] datetime2(7) NOT NULL,
  2513. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2514. [update_time] datetime2(7) NOT NULL,
  2515. [deleted] bit DEFAULT 0 NOT NULL
  2516. )
  2517. GO
  2518. ALTER TABLE [dbo].[infra_job] SET (LOCK_ESCALATION = TABLE)
  2519. GO
  2520. EXEC sp_addextendedproperty
  2521. 'MS_Description', N'任务编号',
  2522. 'SCHEMA', N'dbo',
  2523. 'TABLE', N'infra_job',
  2524. 'COLUMN', N'id'
  2525. GO
  2526. EXEC sp_addextendedproperty
  2527. 'MS_Description', N'任务名称',
  2528. 'SCHEMA', N'dbo',
  2529. 'TABLE', N'infra_job',
  2530. 'COLUMN', N'name'
  2531. GO
  2532. EXEC sp_addextendedproperty
  2533. 'MS_Description', N'任务状态',
  2534. 'SCHEMA', N'dbo',
  2535. 'TABLE', N'infra_job',
  2536. 'COLUMN', N'status'
  2537. GO
  2538. EXEC sp_addextendedproperty
  2539. 'MS_Description', N'处理器的名字',
  2540. 'SCHEMA', N'dbo',
  2541. 'TABLE', N'infra_job',
  2542. 'COLUMN', N'handler_name'
  2543. GO
  2544. EXEC sp_addextendedproperty
  2545. 'MS_Description', N'处理器的参数',
  2546. 'SCHEMA', N'dbo',
  2547. 'TABLE', N'infra_job',
  2548. 'COLUMN', N'handler_param'
  2549. GO
  2550. EXEC sp_addextendedproperty
  2551. 'MS_Description', N'CRON 表达式',
  2552. 'SCHEMA', N'dbo',
  2553. 'TABLE', N'infra_job',
  2554. 'COLUMN', N'cron_expression'
  2555. GO
  2556. EXEC sp_addextendedproperty
  2557. 'MS_Description', N'重试次数',
  2558. 'SCHEMA', N'dbo',
  2559. 'TABLE', N'infra_job',
  2560. 'COLUMN', N'retry_count'
  2561. GO
  2562. EXEC sp_addextendedproperty
  2563. 'MS_Description', N'重试间隔',
  2564. 'SCHEMA', N'dbo',
  2565. 'TABLE', N'infra_job',
  2566. 'COLUMN', N'retry_interval'
  2567. GO
  2568. EXEC sp_addextendedproperty
  2569. 'MS_Description', N'监控超时时间',
  2570. 'SCHEMA', N'dbo',
  2571. 'TABLE', N'infra_job',
  2572. 'COLUMN', N'monitor_timeout'
  2573. GO
  2574. EXEC sp_addextendedproperty
  2575. 'MS_Description', N'创建者',
  2576. 'SCHEMA', N'dbo',
  2577. 'TABLE', N'infra_job',
  2578. 'COLUMN', N'creator'
  2579. GO
  2580. EXEC sp_addextendedproperty
  2581. 'MS_Description', N'创建时间',
  2582. 'SCHEMA', N'dbo',
  2583. 'TABLE', N'infra_job',
  2584. 'COLUMN', N'create_time'
  2585. GO
  2586. EXEC sp_addextendedproperty
  2587. 'MS_Description', N'更新者',
  2588. 'SCHEMA', N'dbo',
  2589. 'TABLE', N'infra_job',
  2590. 'COLUMN', N'updater'
  2591. GO
  2592. EXEC sp_addextendedproperty
  2593. 'MS_Description', N'更新时间',
  2594. 'SCHEMA', N'dbo',
  2595. 'TABLE', N'infra_job',
  2596. 'COLUMN', N'update_time'
  2597. GO
  2598. EXEC sp_addextendedproperty
  2599. 'MS_Description', N'是否删除',
  2600. 'SCHEMA', N'dbo',
  2601. 'TABLE', N'infra_job',
  2602. 'COLUMN', N'deleted'
  2603. GO
  2604. EXEC sp_addextendedproperty
  2605. 'MS_Description', N'定时任务表',
  2606. 'SCHEMA', N'dbo',
  2607. 'TABLE', N'infra_job'
  2608. GO
  2609. -- ----------------------------
  2610. -- Records of infra_job
  2611. -- ----------------------------
  2612. BEGIN TRANSACTION
  2613. GO
  2614. SET IDENTITY_INSERT [dbo].[infra_job] ON
  2615. GO
  2616. INSERT INTO [dbo].[infra_job] ([id], [name], [status], [handler_name], [handler_param], [cron_expression], [retry_count], [retry_interval], [monitor_timeout], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'16', N'用户 Session 超时 Job', N'1', N'userSessionTimeoutJob', NULL, N'0 * * * * ? *', N'2000', N'3', N'0', N'1', N'2022-05-02 17:28:48.8850000', N'1', N'2022-05-02 17:28:49.0240000', N'0')
  2617. GO
  2618. SET IDENTITY_INSERT [dbo].[infra_job] OFF
  2619. GO
  2620. COMMIT
  2621. GO
  2622. -- ----------------------------
  2623. -- Table structure for infra_job_log
  2624. -- ----------------------------
  2625. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_job_log]') AND type IN ('U'))
  2626. DROP TABLE [dbo].[infra_job_log]
  2627. GO
  2628. CREATE TABLE [dbo].[infra_job_log] (
  2629. [id] bigint IDENTITY(1,1) NOT NULL,
  2630. [job_id] bigint NOT NULL,
  2631. [handler_name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2632. [handler_param] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2633. [execute_index] tinyint NOT NULL,
  2634. [begin_time] datetime2(7) NOT NULL,
  2635. [end_time] datetime2(7) NULL,
  2636. [duration] int NULL,
  2637. [status] tinyint NOT NULL,
  2638. [result] nvarchar(4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2639. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2640. [create_time] datetime2(7) NOT NULL,
  2641. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2642. [update_time] datetime2(7) NOT NULL,
  2643. [deleted] bit DEFAULT 0 NOT NULL
  2644. )
  2645. GO
  2646. ALTER TABLE [dbo].[infra_job_log] SET (LOCK_ESCALATION = TABLE)
  2647. GO
  2648. EXEC sp_addextendedproperty
  2649. 'MS_Description', N'日志编号',
  2650. 'SCHEMA', N'dbo',
  2651. 'TABLE', N'infra_job_log',
  2652. 'COLUMN', N'id'
  2653. GO
  2654. EXEC sp_addextendedproperty
  2655. 'MS_Description', N'任务编号',
  2656. 'SCHEMA', N'dbo',
  2657. 'TABLE', N'infra_job_log',
  2658. 'COLUMN', N'job_id'
  2659. GO
  2660. EXEC sp_addextendedproperty
  2661. 'MS_Description', N'处理器的名字',
  2662. 'SCHEMA', N'dbo',
  2663. 'TABLE', N'infra_job_log',
  2664. 'COLUMN', N'handler_name'
  2665. GO
  2666. EXEC sp_addextendedproperty
  2667. 'MS_Description', N'处理器的参数',
  2668. 'SCHEMA', N'dbo',
  2669. 'TABLE', N'infra_job_log',
  2670. 'COLUMN', N'handler_param'
  2671. GO
  2672. EXEC sp_addextendedproperty
  2673. 'MS_Description', N'第几次执行',
  2674. 'SCHEMA', N'dbo',
  2675. 'TABLE', N'infra_job_log',
  2676. 'COLUMN', N'execute_index'
  2677. GO
  2678. EXEC sp_addextendedproperty
  2679. 'MS_Description', N'开始执行时间',
  2680. 'SCHEMA', N'dbo',
  2681. 'TABLE', N'infra_job_log',
  2682. 'COLUMN', N'begin_time'
  2683. GO
  2684. EXEC sp_addextendedproperty
  2685. 'MS_Description', N'结束执行时间',
  2686. 'SCHEMA', N'dbo',
  2687. 'TABLE', N'infra_job_log',
  2688. 'COLUMN', N'end_time'
  2689. GO
  2690. EXEC sp_addextendedproperty
  2691. 'MS_Description', N'执行时长',
  2692. 'SCHEMA', N'dbo',
  2693. 'TABLE', N'infra_job_log',
  2694. 'COLUMN', N'duration'
  2695. GO
  2696. EXEC sp_addextendedproperty
  2697. 'MS_Description', N'任务状态',
  2698. 'SCHEMA', N'dbo',
  2699. 'TABLE', N'infra_job_log',
  2700. 'COLUMN', N'status'
  2701. GO
  2702. EXEC sp_addextendedproperty
  2703. 'MS_Description', N'结果数据',
  2704. 'SCHEMA', N'dbo',
  2705. 'TABLE', N'infra_job_log',
  2706. 'COLUMN', N'result'
  2707. GO
  2708. EXEC sp_addextendedproperty
  2709. 'MS_Description', N'创建者',
  2710. 'SCHEMA', N'dbo',
  2711. 'TABLE', N'infra_job_log',
  2712. 'COLUMN', N'creator'
  2713. GO
  2714. EXEC sp_addextendedproperty
  2715. 'MS_Description', N'创建时间',
  2716. 'SCHEMA', N'dbo',
  2717. 'TABLE', N'infra_job_log',
  2718. 'COLUMN', N'create_time'
  2719. GO
  2720. EXEC sp_addextendedproperty
  2721. 'MS_Description', N'更新者',
  2722. 'SCHEMA', N'dbo',
  2723. 'TABLE', N'infra_job_log',
  2724. 'COLUMN', N'updater'
  2725. GO
  2726. EXEC sp_addextendedproperty
  2727. 'MS_Description', N'更新时间',
  2728. 'SCHEMA', N'dbo',
  2729. 'TABLE', N'infra_job_log',
  2730. 'COLUMN', N'update_time'
  2731. GO
  2732. EXEC sp_addextendedproperty
  2733. 'MS_Description', N'是否删除',
  2734. 'SCHEMA', N'dbo',
  2735. 'TABLE', N'infra_job_log',
  2736. 'COLUMN', N'deleted'
  2737. GO
  2738. EXEC sp_addextendedproperty
  2739. 'MS_Description', N'定时任务日志表',
  2740. 'SCHEMA', N'dbo',
  2741. 'TABLE', N'infra_job_log'
  2742. GO
  2743. -- ----------------------------
  2744. -- Records of infra_job_log
  2745. -- ----------------------------
  2746. BEGIN TRANSACTION
  2747. GO
  2748. SET IDENTITY_INSERT [dbo].[infra_job_log] ON
  2749. GO
  2750. SET IDENTITY_INSERT [dbo].[infra_job_log] OFF
  2751. GO
  2752. COMMIT
  2753. GO
  2754. -- ----------------------------
  2755. -- Table structure for infra_test_demo
  2756. -- ----------------------------
  2757. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[infra_test_demo]') AND type IN ('U'))
  2758. DROP TABLE [dbo].[infra_test_demo]
  2759. GO
  2760. CREATE TABLE [dbo].[infra_test_demo] (
  2761. [id] bigint IDENTITY(1,1) NOT NULL,
  2762. [name] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2763. [status] tinyint NOT NULL,
  2764. [type] tinyint NOT NULL,
  2765. [category] tinyint NOT NULL,
  2766. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2767. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2768. [create_time] datetime2(7) NOT NULL,
  2769. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2770. [update_time] datetime2(7) NOT NULL,
  2771. [deleted] bit DEFAULT 0 NOT NULL
  2772. )
  2773. GO
  2774. ALTER TABLE [dbo].[infra_test_demo] SET (LOCK_ESCALATION = TABLE)
  2775. GO
  2776. EXEC sp_addextendedproperty
  2777. 'MS_Description', N'编号',
  2778. 'SCHEMA', N'dbo',
  2779. 'TABLE', N'infra_test_demo',
  2780. 'COLUMN', N'id'
  2781. GO
  2782. EXEC sp_addextendedproperty
  2783. 'MS_Description', N'名字',
  2784. 'SCHEMA', N'dbo',
  2785. 'TABLE', N'infra_test_demo',
  2786. 'COLUMN', N'name'
  2787. GO
  2788. EXEC sp_addextendedproperty
  2789. 'MS_Description', N'状态',
  2790. 'SCHEMA', N'dbo',
  2791. 'TABLE', N'infra_test_demo',
  2792. 'COLUMN', N'status'
  2793. GO
  2794. EXEC sp_addextendedproperty
  2795. 'MS_Description', N'类型',
  2796. 'SCHEMA', N'dbo',
  2797. 'TABLE', N'infra_test_demo',
  2798. 'COLUMN', N'type'
  2799. GO
  2800. EXEC sp_addextendedproperty
  2801. 'MS_Description', N'分类',
  2802. 'SCHEMA', N'dbo',
  2803. 'TABLE', N'infra_test_demo',
  2804. 'COLUMN', N'category'
  2805. GO
  2806. EXEC sp_addextendedproperty
  2807. 'MS_Description', N'备注',
  2808. 'SCHEMA', N'dbo',
  2809. 'TABLE', N'infra_test_demo',
  2810. 'COLUMN', N'remark'
  2811. GO
  2812. EXEC sp_addextendedproperty
  2813. 'MS_Description', N'创建者',
  2814. 'SCHEMA', N'dbo',
  2815. 'TABLE', N'infra_test_demo',
  2816. 'COLUMN', N'creator'
  2817. GO
  2818. EXEC sp_addextendedproperty
  2819. 'MS_Description', N'创建时间',
  2820. 'SCHEMA', N'dbo',
  2821. 'TABLE', N'infra_test_demo',
  2822. 'COLUMN', N'create_time'
  2823. GO
  2824. EXEC sp_addextendedproperty
  2825. 'MS_Description', N'更新者',
  2826. 'SCHEMA', N'dbo',
  2827. 'TABLE', N'infra_test_demo',
  2828. 'COLUMN', N'updater'
  2829. GO
  2830. EXEC sp_addextendedproperty
  2831. 'MS_Description', N'更新时间',
  2832. 'SCHEMA', N'dbo',
  2833. 'TABLE', N'infra_test_demo',
  2834. 'COLUMN', N'update_time'
  2835. GO
  2836. EXEC sp_addextendedproperty
  2837. 'MS_Description', N'是否删除',
  2838. 'SCHEMA', N'dbo',
  2839. 'TABLE', N'infra_test_demo',
  2840. 'COLUMN', N'deleted'
  2841. GO
  2842. EXEC sp_addextendedproperty
  2843. 'MS_Description', N'字典类型表',
  2844. 'SCHEMA', N'dbo',
  2845. 'TABLE', N'infra_test_demo'
  2846. GO
  2847. -- ----------------------------
  2848. -- Records of infra_test_demo
  2849. -- ----------------------------
  2850. BEGIN TRANSACTION
  2851. GO
  2852. SET IDENTITY_INSERT [dbo].[infra_test_demo] ON
  2853. GO
  2854. SET IDENTITY_INSERT [dbo].[infra_test_demo] OFF
  2855. GO
  2856. COMMIT
  2857. GO
  2858. -- ----------------------------
  2859. -- Table structure for member_user
  2860. -- ----------------------------
  2861. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[member_user]') AND type IN ('U'))
  2862. DROP TABLE [dbo].[member_user]
  2863. GO
  2864. CREATE TABLE [dbo].[member_user] (
  2865. [id] bigint IDENTITY(1,1) NOT NULL,
  2866. [nickname] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2867. [avatar] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2868. [status] tinyint NOT NULL,
  2869. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2870. [password] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2871. [register_ip] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2872. [login_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2873. [login_date] datetime2(7) NULL,
  2874. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2875. [create_time] datetime2(7) NOT NULL,
  2876. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  2877. [update_time] datetime2(7) NOT NULL,
  2878. [tenant_id] bigint NOT NULL,
  2879. [deleted] bit DEFAULT 0 NOT NULL
  2880. )
  2881. GO
  2882. ALTER TABLE [dbo].[member_user] SET (LOCK_ESCALATION = TABLE)
  2883. GO
  2884. EXEC sp_addextendedproperty
  2885. 'MS_Description', N'编号',
  2886. 'SCHEMA', N'dbo',
  2887. 'TABLE', N'member_user',
  2888. 'COLUMN', N'id'
  2889. GO
  2890. EXEC sp_addextendedproperty
  2891. 'MS_Description', N'用户昵称',
  2892. 'SCHEMA', N'dbo',
  2893. 'TABLE', N'member_user',
  2894. 'COLUMN', N'nickname'
  2895. GO
  2896. EXEC sp_addextendedproperty
  2897. 'MS_Description', N'头像',
  2898. 'SCHEMA', N'dbo',
  2899. 'TABLE', N'member_user',
  2900. 'COLUMN', N'avatar'
  2901. GO
  2902. EXEC sp_addextendedproperty
  2903. 'MS_Description', N'状态',
  2904. 'SCHEMA', N'dbo',
  2905. 'TABLE', N'member_user',
  2906. 'COLUMN', N'status'
  2907. GO
  2908. EXEC sp_addextendedproperty
  2909. 'MS_Description', N'手机号',
  2910. 'SCHEMA', N'dbo',
  2911. 'TABLE', N'member_user',
  2912. 'COLUMN', N'mobile'
  2913. GO
  2914. EXEC sp_addextendedproperty
  2915. 'MS_Description', N'密码',
  2916. 'SCHEMA', N'dbo',
  2917. 'TABLE', N'member_user',
  2918. 'COLUMN', N'password'
  2919. GO
  2920. EXEC sp_addextendedproperty
  2921. 'MS_Description', N'注册 IP',
  2922. 'SCHEMA', N'dbo',
  2923. 'TABLE', N'member_user',
  2924. 'COLUMN', N'register_ip'
  2925. GO
  2926. EXEC sp_addextendedproperty
  2927. 'MS_Description', N'最后登录IP',
  2928. 'SCHEMA', N'dbo',
  2929. 'TABLE', N'member_user',
  2930. 'COLUMN', N'login_ip'
  2931. GO
  2932. EXEC sp_addextendedproperty
  2933. 'MS_Description', N'最后登录时间',
  2934. 'SCHEMA', N'dbo',
  2935. 'TABLE', N'member_user',
  2936. 'COLUMN', N'login_date'
  2937. GO
  2938. EXEC sp_addextendedproperty
  2939. 'MS_Description', N'创建者',
  2940. 'SCHEMA', N'dbo',
  2941. 'TABLE', N'member_user',
  2942. 'COLUMN', N'creator'
  2943. GO
  2944. EXEC sp_addextendedproperty
  2945. 'MS_Description', N'创建时间',
  2946. 'SCHEMA', N'dbo',
  2947. 'TABLE', N'member_user',
  2948. 'COLUMN', N'create_time'
  2949. GO
  2950. EXEC sp_addextendedproperty
  2951. 'MS_Description', N'更新者',
  2952. 'SCHEMA', N'dbo',
  2953. 'TABLE', N'member_user',
  2954. 'COLUMN', N'updater'
  2955. GO
  2956. EXEC sp_addextendedproperty
  2957. 'MS_Description', N'更新时间',
  2958. 'SCHEMA', N'dbo',
  2959. 'TABLE', N'member_user',
  2960. 'COLUMN', N'update_time'
  2961. GO
  2962. EXEC sp_addextendedproperty
  2963. 'MS_Description', N'租户编号',
  2964. 'SCHEMA', N'dbo',
  2965. 'TABLE', N'member_user',
  2966. 'COLUMN', N'tenant_id'
  2967. GO
  2968. EXEC sp_addextendedproperty
  2969. 'MS_Description', N'是否删除',
  2970. 'SCHEMA', N'dbo',
  2971. 'TABLE', N'member_user',
  2972. 'COLUMN', N'deleted'
  2973. GO
  2974. EXEC sp_addextendedproperty
  2975. 'MS_Description', N'用户',
  2976. 'SCHEMA', N'dbo',
  2977. 'TABLE', N'member_user'
  2978. GO
  2979. -- ----------------------------
  2980. -- Records of member_user
  2981. -- ----------------------------
  2982. BEGIN TRANSACTION
  2983. GO
  2984. SET IDENTITY_INSERT [dbo].[member_user] ON
  2985. GO
  2986. SET IDENTITY_INSERT [dbo].[member_user] OFF
  2987. GO
  2988. COMMIT
  2989. GO
  2990. -- ----------------------------
  2991. -- Table structure for pay_app
  2992. -- ----------------------------
  2993. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_app]') AND type IN ('U'))
  2994. DROP TABLE [dbo].[pay_app]
  2995. GO
  2996. CREATE TABLE [dbo].[pay_app] (
  2997. [id] bigint IDENTITY(1,1) NOT NULL,
  2998. [name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  2999. [status] tinyint NOT NULL,
  3000. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3001. [pay_notify_url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3002. [refund_notify_url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3003. [merchant_id] bigint NOT NULL,
  3004. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3005. [create_time] datetime2(7) NOT NULL,
  3006. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3007. [update_time] datetime2(7) NOT NULL,
  3008. [tenant_id] bigint NOT NULL,
  3009. [deleted] bit DEFAULT 0 NOT NULL
  3010. )
  3011. GO
  3012. ALTER TABLE [dbo].[pay_app] SET (LOCK_ESCALATION = TABLE)
  3013. GO
  3014. EXEC sp_addextendedproperty
  3015. 'MS_Description', N'应用编号',
  3016. 'SCHEMA', N'dbo',
  3017. 'TABLE', N'pay_app',
  3018. 'COLUMN', N'id'
  3019. GO
  3020. EXEC sp_addextendedproperty
  3021. 'MS_Description', N'应用名',
  3022. 'SCHEMA', N'dbo',
  3023. 'TABLE', N'pay_app',
  3024. 'COLUMN', N'name'
  3025. GO
  3026. EXEC sp_addextendedproperty
  3027. 'MS_Description', N'开启状态',
  3028. 'SCHEMA', N'dbo',
  3029. 'TABLE', N'pay_app',
  3030. 'COLUMN', N'status'
  3031. GO
  3032. EXEC sp_addextendedproperty
  3033. 'MS_Description', N'备注',
  3034. 'SCHEMA', N'dbo',
  3035. 'TABLE', N'pay_app',
  3036. 'COLUMN', N'remark'
  3037. GO
  3038. EXEC sp_addextendedproperty
  3039. 'MS_Description', N'支付结果的回调地址',
  3040. 'SCHEMA', N'dbo',
  3041. 'TABLE', N'pay_app',
  3042. 'COLUMN', N'pay_notify_url'
  3043. GO
  3044. EXEC sp_addextendedproperty
  3045. 'MS_Description', N'退款结果的回调地址',
  3046. 'SCHEMA', N'dbo',
  3047. 'TABLE', N'pay_app',
  3048. 'COLUMN', N'refund_notify_url'
  3049. GO
  3050. EXEC sp_addextendedproperty
  3051. 'MS_Description', N'商户编号',
  3052. 'SCHEMA', N'dbo',
  3053. 'TABLE', N'pay_app',
  3054. 'COLUMN', N'merchant_id'
  3055. GO
  3056. EXEC sp_addextendedproperty
  3057. 'MS_Description', N'创建者',
  3058. 'SCHEMA', N'dbo',
  3059. 'TABLE', N'pay_app',
  3060. 'COLUMN', N'creator'
  3061. GO
  3062. EXEC sp_addextendedproperty
  3063. 'MS_Description', N'创建时间',
  3064. 'SCHEMA', N'dbo',
  3065. 'TABLE', N'pay_app',
  3066. 'COLUMN', N'create_time'
  3067. GO
  3068. EXEC sp_addextendedproperty
  3069. 'MS_Description', N'更新者',
  3070. 'SCHEMA', N'dbo',
  3071. 'TABLE', N'pay_app',
  3072. 'COLUMN', N'updater'
  3073. GO
  3074. EXEC sp_addextendedproperty
  3075. 'MS_Description', N'更新时间',
  3076. 'SCHEMA', N'dbo',
  3077. 'TABLE', N'pay_app',
  3078. 'COLUMN', N'update_time'
  3079. GO
  3080. EXEC sp_addextendedproperty
  3081. 'MS_Description', N'租户编号',
  3082. 'SCHEMA', N'dbo',
  3083. 'TABLE', N'pay_app',
  3084. 'COLUMN', N'tenant_id'
  3085. GO
  3086. EXEC sp_addextendedproperty
  3087. 'MS_Description', N'是否删除',
  3088. 'SCHEMA', N'dbo',
  3089. 'TABLE', N'pay_app',
  3090. 'COLUMN', N'deleted'
  3091. GO
  3092. EXEC sp_addextendedproperty
  3093. 'MS_Description', N'支付应用信息',
  3094. 'SCHEMA', N'dbo',
  3095. 'TABLE', N'pay_app'
  3096. GO
  3097. -- ----------------------------
  3098. -- Records of pay_app
  3099. -- ----------------------------
  3100. BEGIN TRANSACTION
  3101. GO
  3102. SET IDENTITY_INSERT [dbo].[pay_app] ON
  3103. GO
  3104. INSERT INTO [dbo].[pay_app] ([id], [name], [status], [remark], [pay_notify_url], [refund_notify_url], [merchant_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'6', N'非繁', N'0', N'我是一个公众号', N'http://127.0.0.1:28080/api/shop/order/pay-notify', N'http://127.0.0.1', N'1', N'', N'2021-10-23 08:49:25.0000000', N'', N'2022-02-27 04:14:53.0000000', N'1', N'0')
  3105. GO
  3106. SET IDENTITY_INSERT [dbo].[pay_app] OFF
  3107. GO
  3108. COMMIT
  3109. GO
  3110. -- ----------------------------
  3111. -- Table structure for pay_channel
  3112. -- ----------------------------
  3113. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_channel]') AND type IN ('U'))
  3114. DROP TABLE [dbo].[pay_channel]
  3115. GO
  3116. CREATE TABLE [dbo].[pay_channel] (
  3117. [id] bigint IDENTITY(1,1) NOT NULL,
  3118. [code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3119. [status] tinyint NOT NULL,
  3120. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3121. [fee_rate] float(53) NOT NULL,
  3122. [merchant_id] bigint NOT NULL,
  3123. [app_id] bigint NOT NULL,
  3124. [config] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3125. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3126. [create_time] datetime2(7) NOT NULL,
  3127. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3128. [update_time] datetime2(7) NOT NULL,
  3129. [tenant_id] bigint NOT NULL,
  3130. [deleted] bit DEFAULT 0 NOT NULL
  3131. )
  3132. GO
  3133. ALTER TABLE [dbo].[pay_channel] SET (LOCK_ESCALATION = TABLE)
  3134. GO
  3135. EXEC sp_addextendedproperty
  3136. 'MS_Description', N'商户编号',
  3137. 'SCHEMA', N'dbo',
  3138. 'TABLE', N'pay_channel',
  3139. 'COLUMN', N'id'
  3140. GO
  3141. EXEC sp_addextendedproperty
  3142. 'MS_Description', N'渠道编码',
  3143. 'SCHEMA', N'dbo',
  3144. 'TABLE', N'pay_channel',
  3145. 'COLUMN', N'code'
  3146. GO
  3147. EXEC sp_addextendedproperty
  3148. 'MS_Description', N'开启状态',
  3149. 'SCHEMA', N'dbo',
  3150. 'TABLE', N'pay_channel',
  3151. 'COLUMN', N'status'
  3152. GO
  3153. EXEC sp_addextendedproperty
  3154. 'MS_Description', N'备注',
  3155. 'SCHEMA', N'dbo',
  3156. 'TABLE', N'pay_channel',
  3157. 'COLUMN', N'remark'
  3158. GO
  3159. EXEC sp_addextendedproperty
  3160. 'MS_Description', N'渠道费率,单位:百分比',
  3161. 'SCHEMA', N'dbo',
  3162. 'TABLE', N'pay_channel',
  3163. 'COLUMN', N'fee_rate'
  3164. GO
  3165. EXEC sp_addextendedproperty
  3166. 'MS_Description', N'商户编号',
  3167. 'SCHEMA', N'dbo',
  3168. 'TABLE', N'pay_channel',
  3169. 'COLUMN', N'merchant_id'
  3170. GO
  3171. EXEC sp_addextendedproperty
  3172. 'MS_Description', N'应用编号',
  3173. 'SCHEMA', N'dbo',
  3174. 'TABLE', N'pay_channel',
  3175. 'COLUMN', N'app_id'
  3176. GO
  3177. EXEC sp_addextendedproperty
  3178. 'MS_Description', N'支付渠道配置',
  3179. 'SCHEMA', N'dbo',
  3180. 'TABLE', N'pay_channel',
  3181. 'COLUMN', N'config'
  3182. GO
  3183. EXEC sp_addextendedproperty
  3184. 'MS_Description', N'创建者',
  3185. 'SCHEMA', N'dbo',
  3186. 'TABLE', N'pay_channel',
  3187. 'COLUMN', N'creator'
  3188. GO
  3189. EXEC sp_addextendedproperty
  3190. 'MS_Description', N'创建时间',
  3191. 'SCHEMA', N'dbo',
  3192. 'TABLE', N'pay_channel',
  3193. 'COLUMN', N'create_time'
  3194. GO
  3195. EXEC sp_addextendedproperty
  3196. 'MS_Description', N'更新者',
  3197. 'SCHEMA', N'dbo',
  3198. 'TABLE', N'pay_channel',
  3199. 'COLUMN', N'updater'
  3200. GO
  3201. EXEC sp_addextendedproperty
  3202. 'MS_Description', N'更新时间',
  3203. 'SCHEMA', N'dbo',
  3204. 'TABLE', N'pay_channel',
  3205. 'COLUMN', N'update_time'
  3206. GO
  3207. EXEC sp_addextendedproperty
  3208. 'MS_Description', N'租户编号',
  3209. 'SCHEMA', N'dbo',
  3210. 'TABLE', N'pay_channel',
  3211. 'COLUMN', N'tenant_id'
  3212. GO
  3213. EXEC sp_addextendedproperty
  3214. 'MS_Description', N'是否删除',
  3215. 'SCHEMA', N'dbo',
  3216. 'TABLE', N'pay_channel',
  3217. 'COLUMN', N'deleted'
  3218. GO
  3219. EXEC sp_addextendedproperty
  3220. 'MS_Description', N'支付渠道
  3221. ',
  3222. 'SCHEMA', N'dbo',
  3223. 'TABLE', N'pay_channel'
  3224. GO
  3225. -- ----------------------------
  3226. -- Records of pay_channel
  3227. -- ----------------------------
  3228. BEGIN TRANSACTION
  3229. GO
  3230. SET IDENTITY_INSERT [dbo].[pay_channel] ON
  3231. GO
  3232. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'9', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-10-23 17:12:10.0000000', NULL, N'2022-02-27 04:15:13.0000000', N'1', N'0')
  3233. GO
  3234. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'10', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-14 22:01:24.0000000', NULL, N'2022-02-27 04:15:12.0000000', N'1', N'0')
  3235. GO
  3236. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'11', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-14 22:02:57.0000000', NULL, N'2022-02-27 04:15:11.0000000', N'1', N'0')
  3237. GO
  3238. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'12', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-14 22:06:10.0000000', NULL, N'2022-02-27 04:15:09.0000000', N'1', N'0')
  3239. GO
  3240. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'13', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-14 22:09:39.0000000', NULL, N'2022-02-27 04:15:08.0000000', N'1', N'0')
  3241. GO
  3242. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'14', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-14 22:38:49.0000000', NULL, N'2022-02-27 04:15:05.0000000', N'1', N'0')
  3243. GO
  3244. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'15', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2021-12-15 09:32:26.0000000', NULL, N'2022-02-27 04:15:04.0000000', N'1', N'0')
  3245. GO
  3246. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'16', N'wx_pub', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.wx.WXPayClientConfig","appId":"wx041349c6f39b268b","mchId":"1545083881","apiVersion":"v2","mchKey":"0alL64UDQdlCwiKZ73ib7ypaIjMns06p","privateKeyContent":"-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQsfW1BvpvPo\nief38rYJn4OWxIrHcpWrhNtXtgRPeiMGFfIsEQDmVQKBgQDzXK6Nn3Nr3TFfGVTy\n8QYrzOuY2NqzH8nnsLL6qn3HoKxTv+PcFKOTPsi6f4hIYCzBP0esRrPv0ffMu9oQ\nJvFtCJvMmcKGtp0Q5hcj0y/XkbC3AWuahJtBv8lhKXVnQXSL0j3+ombljw4/8yN0\nAzgBz+j/skQQgZ3sN5h+DHGtgwKBgQDDT784/2pd4m86c/uBmrwYfqu6MJo0eHJh\n1XPtE+u8pOHyNTFk77rKobKDqN5VlrF0uEmBc/08LKhyxJ3vh/zAbcmqT1Mq778y\nAKKUtVmvcaVDrvSQHsnhj0zt4SHGmmU34U2b9hV+nocq5VszX6/jp//HJi9bs3We\ndAzfFCmaowKBgC1MmDVGc+6lCraf+X8LPFHU4Bnga70h8qxM6NPd/nG1R76DHn/t\n25DiA+0rJgwK0unZxJadxoqic9TJNssA5Lmd+5o3GM2Imm311mLVwbcHqHQ4MHZf\nrqKrd2m9lNv2hCIurVmDk1Gxsj5XHMdQfhFgSQengCHubp30r07vNA3PAoGAUEAE\nIjdQTSMs8KeXP7mEb8wcY3R05/pVhT1fVJpK0kgtTofss7yM05V88/v+3sv8Pik6\niqZN9tuimwWOn00Q3UA/DGtrkMjRlooMQ24AW8YmUZkhg9YivTtUMKnAZwopbLx2\nVw7V5iDdCRMUVheK/c+ZmQpnixZBzcmBQGfYcGECgYBjEq3Mem+Aw6pXOu6+0FwH\n9y6Xi4HhBkq0OOZZuXFtWVry7YrD3pBgzWVAZJqJCkyPKKZzCzwdbFd3u0lYBs35\nzYgx7ug4hR+wfI980a3vxjcWGOqnOUUnUJ7ucIa+KDgnYV/bBy4jqpVreXmWAJXl\nfyjG3eLWBrtrsI9YX6zeAA==\n-----END PRIVATE KEY-----\n","privateCertContent":"-----BEGIN CERTIFICATE-----\nMIID6TCCAtGgAwIBAgIUNkEHq6aQcF80NSYqWS58ybsJzI4wDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjExMDIxMDU0NTQxWhcNMjYxMDIwMDU0NTQxWjB7MRMwEQYDVQQDDAox\nNTQ1MDgzODgxMRswGQYDVQQKDBLlvq7kv6HllYbmiLfns7vnu58xJzAlBgNVBAsM\nHuWOhuWfjuWMuuWkp+adjuWwp+aXpeeUqOWTgeW6lzELMAkGA1UEBgwCQ04xETAP\nBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nuatoWBN5aDkKB5f9pIf3qbo9e1vFaVebwZe8rCVgGwV7seppauICkxw9EFEHYirQ\nxFJv2ygvQYulVLpJTOWPKAmgm4Y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\n-----END CERTIFICATE-----\n","apiV3Key":"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase"}', NULL, N'2022-01-31 22:13:25.0000000', NULL, N'2022-02-27 04:15:03.0000000', N'1', N'0')
  3247. GO
  3248. INSERT INTO [dbo].[pay_channel] ([id], [code], [status], [remark], [fee_rate], [merchant_id], [app_id], [config], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'17', N'alipay_qr', N'0', NULL, N'1', N'1', N'6', N'{"@class":"cn.newfeifan.mall.framework.pay.core.client.impl.alipay.AlipayPayClientConfig","serverUrl":"https://openapi.alipaydev.com/gateway.do","appId":"2021000118634035","signType":"RSA2","mode":null,"privateKey":"MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCHsEV1cDupwJv890x84qbppUtRIfhaKSwSVN0thCcsDCaAsGR5MZslDkO8NCT9V4r2SVXjyY7eJUZlZd1M0C8T01Tg4UOx5LUbic0O3A1uJMy6V1n9IyYwbAW3AEZhBd5bSbPgrqvmv3NeWSTQT6Anxnllf+2iDH6zyA2fPl7cYyQtbZoDJQFGqr4F+cGh2R6akzRKNoBkAeMYwoY6es2lX8sJxCVPWUmxNUoL3tScwlSpd7Bxw0q9c/X01jMwuQ0+Va358zgFiGERTE6yD01eu40OBDXOYO3z++y+TAYHlQQ2toMO63trepo88X3xV3R44/1DH+k2pAm2IF5ixiLrAgMBAAECggEAPx3SoXcseaD7rmcGcE0p4SMfbsUDdkUSmBBbtfF0GzwnqNLkWa+mgE0rWt9SmXngTQH97vByAYmLPl1s3G82ht1V7Sk7yQMe74lhFllr8eEyTjeVx3dTK1EEM4TwN+936DTXdFsr4TELJEcJJdD0KaxcCcfBLRDs2wnitEFZ9N+GoZybVmY8w0e0MI7PLObUZ2l0X4RurQnfG9ZxjXjC7PkeMVv7cGGylpNFi3BbvkRhdhLPDC2E6wqnr9e7zk+hiENivAezXrtxtwKovzCtnWJ1r0IO14Rh47H509Ic0wFnj+o5YyUL4LdmpL7yaaH6fM7zcSLFjNZPHvZCKPwYcQKBgQDQFho98QvnL8ex4v6cry4VitGpjSXm1qP3vmMQk4rTsn8iPWtcxPjqGEqOQJjdi4Mi0VZKQOLFwlH0kl95wNrD/isJ4O1yeYfX7YAXApzHqYNINzM79HemO3Yx1qLMW3okRFJ9pPRzbQ9qkTpsaegsmyX316zOBhzGRYjKbutTYwKBgQCm7phr9XdFW5Vh+XR90mVs483nrLmMiDKg7YKxSLJ8amiDjzPejCn7i95Hah08P+2MIZLIPbh2VLacczR6ltRRzN5bg5etFuqSgfkuHyxpoDmpjbe08+Q2h8JBYqcC5Nhv1AKU4iOUhVLHo/FBAQliMcGc/J3eiYTFC7EsNx382QKBgClb20doe7cttgFTXswBvaUmfFm45kmla924B7SpvrQpDD/f+VDtDZRp05fGmxuduSjYdtA3aVtpLiTwWu22OUUvZZqHDGruYOO4Hvdz23mL5b4ayqImCwoNU4bAZIc9v18p/UNf3/55NNE3oGcf/bev9rH2OjCQ4nM+Ktwhg8CFAoGACSgvbkShzUkv0ZcIf9ppu+ZnJh1AdGgINvGwaJ8vQ0nm/8h8NOoFZ4oNoGc+wU5Ubops7dUM6FjPR5e+OjdJ4E7Xp7d5O4J1TaIZlCEbo5OpdhaTDDcQvrkFu+Z4eN0qzj+YAKjDAOOrXc4tbr5q0FsgXscwtcNfaBuzFVTUrUkCgYEAwzPnMNhWG3zOWLUs2QFA2GP4Y+J8cpUYfj6pbKKzeLwyG9qBwF1NJpN8m+q9q7V9P2LY+9Lp9e1mGsGeqt5HMEA3P6vIpcqLJLqE/4PBLLRzfccTcmqb1m71+erxTRhHBRkGS+I7dZEb3olQfnS1Y1tpMBxiwYwR3LW4oXuJwj8=","alipayPublicKey":"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnq90KnF4dTnlzzmxpujbI05OYqi5WxAS6cL0gnZFv2gK51HExF8v/BaP7P979PhFMgWTqmOOI+Dtno5s+yD09XTY1WkshbLk6i4g2Xlr8fyW9ODnkU88RI2w9UdPhQU4cPPwBNlrsYhKkVK2OxwM3kFqjoBBY0CZoZCsSQ3LDH5WeZqPArlsS6xa2zqJBuuoKjMrdpELl3eXSjP8K54eDJCbeetCZNKWLL3DPahTPB7LZikfYmslb0QUvCgGapD0xkS7eVq70NaL1G57MWABs4tbfWgxike4Daj3EfUrzIVspQxj7w8HEj9WozJPgL88kSJSits0pqD3n5r8HSuseQIDAQAB","appCertContent":null,"alipayPublicCertContent":null,"rootCertContent":null}', NULL, N'2022-01-31 22:13:25.0000000', NULL, N'2022-02-27 04:15:02.0000000', N'1', N'0')
  3249. GO
  3250. SET IDENTITY_INSERT [dbo].[pay_channel] OFF
  3251. GO
  3252. COMMIT
  3253. GO
  3254. -- ----------------------------
  3255. -- Table structure for pay_merchant
  3256. -- ----------------------------
  3257. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_merchant]') AND type IN ('U'))
  3258. DROP TABLE [dbo].[pay_merchant]
  3259. GO
  3260. CREATE TABLE [dbo].[pay_merchant] (
  3261. [id] bigint IDENTITY(1,1) NOT NULL,
  3262. [no] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3263. [name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3264. [short_name] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3265. [status] tinyint NOT NULL,
  3266. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3267. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3268. [create_time] datetime2(7) NOT NULL,
  3269. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3270. [update_time] datetime2(7) NOT NULL,
  3271. [tenant_id] bigint NOT NULL,
  3272. [deleted] bit DEFAULT 0 NOT NULL
  3273. )
  3274. GO
  3275. ALTER TABLE [dbo].[pay_merchant] SET (LOCK_ESCALATION = TABLE)
  3276. GO
  3277. EXEC sp_addextendedproperty
  3278. 'MS_Description', N'商户编号',
  3279. 'SCHEMA', N'dbo',
  3280. 'TABLE', N'pay_merchant',
  3281. 'COLUMN', N'id'
  3282. GO
  3283. EXEC sp_addextendedproperty
  3284. 'MS_Description', N'商户号',
  3285. 'SCHEMA', N'dbo',
  3286. 'TABLE', N'pay_merchant',
  3287. 'COLUMN', N'no'
  3288. GO
  3289. EXEC sp_addextendedproperty
  3290. 'MS_Description', N'商户全称',
  3291. 'SCHEMA', N'dbo',
  3292. 'TABLE', N'pay_merchant',
  3293. 'COLUMN', N'name'
  3294. GO
  3295. EXEC sp_addextendedproperty
  3296. 'MS_Description', N'商户简称',
  3297. 'SCHEMA', N'dbo',
  3298. 'TABLE', N'pay_merchant',
  3299. 'COLUMN', N'short_name'
  3300. GO
  3301. EXEC sp_addextendedproperty
  3302. 'MS_Description', N'开启状态',
  3303. 'SCHEMA', N'dbo',
  3304. 'TABLE', N'pay_merchant',
  3305. 'COLUMN', N'status'
  3306. GO
  3307. EXEC sp_addextendedproperty
  3308. 'MS_Description', N'备注',
  3309. 'SCHEMA', N'dbo',
  3310. 'TABLE', N'pay_merchant',
  3311. 'COLUMN', N'remark'
  3312. GO
  3313. EXEC sp_addextendedproperty
  3314. 'MS_Description', N'创建者',
  3315. 'SCHEMA', N'dbo',
  3316. 'TABLE', N'pay_merchant',
  3317. 'COLUMN', N'creator'
  3318. GO
  3319. EXEC sp_addextendedproperty
  3320. 'MS_Description', N'创建时间',
  3321. 'SCHEMA', N'dbo',
  3322. 'TABLE', N'pay_merchant',
  3323. 'COLUMN', N'create_time'
  3324. GO
  3325. EXEC sp_addextendedproperty
  3326. 'MS_Description', N'更新者',
  3327. 'SCHEMA', N'dbo',
  3328. 'TABLE', N'pay_merchant',
  3329. 'COLUMN', N'updater'
  3330. GO
  3331. EXEC sp_addextendedproperty
  3332. 'MS_Description', N'更新时间',
  3333. 'SCHEMA', N'dbo',
  3334. 'TABLE', N'pay_merchant',
  3335. 'COLUMN', N'update_time'
  3336. GO
  3337. EXEC sp_addextendedproperty
  3338. 'MS_Description', N'租户编号',
  3339. 'SCHEMA', N'dbo',
  3340. 'TABLE', N'pay_merchant',
  3341. 'COLUMN', N'tenant_id'
  3342. GO
  3343. EXEC sp_addextendedproperty
  3344. 'MS_Description', N'是否删除',
  3345. 'SCHEMA', N'dbo',
  3346. 'TABLE', N'pay_merchant',
  3347. 'COLUMN', N'deleted'
  3348. GO
  3349. EXEC sp_addextendedproperty
  3350. 'MS_Description', N'支付商户信息',
  3351. 'SCHEMA', N'dbo',
  3352. 'TABLE', N'pay_merchant'
  3353. GO
  3354. -- ----------------------------
  3355. -- Records of pay_merchant
  3356. -- ----------------------------
  3357. BEGIN TRANSACTION
  3358. GO
  3359. SET IDENTITY_INSERT [dbo].[pay_merchant] ON
  3360. GO
  3361. INSERT INTO [dbo].[pay_merchant] ([id], [no], [name], [short_name], [status], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'M233666999', N'非繁源码', N'非繁人', N'0', N'我是备注', N'', N'2021-10-23 08:31:14.0000000', N'', N'2022-02-27 04:15:20.0000000', N'1', N'0')
  3362. GO
  3363. SET IDENTITY_INSERT [dbo].[pay_merchant] OFF
  3364. GO
  3365. COMMIT
  3366. GO
  3367. -- ----------------------------
  3368. -- Table structure for pay_notify_log
  3369. -- ----------------------------
  3370. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_notify_log]') AND type IN ('U'))
  3371. DROP TABLE [dbo].[pay_notify_log]
  3372. GO
  3373. CREATE TABLE [dbo].[pay_notify_log] (
  3374. [id] bigint IDENTITY(1,1) NOT NULL,
  3375. [task_id] bigint NOT NULL,
  3376. [notify_times] tinyint NOT NULL,
  3377. [response] nvarchar(2048) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3378. [status] tinyint NOT NULL,
  3379. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3380. [create_time] datetime2(7) NOT NULL,
  3381. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3382. [update_time] datetime2(7) NOT NULL,
  3383. [tenant_id] bigint NOT NULL,
  3384. [deleted] bit DEFAULT 0 NOT NULL
  3385. )
  3386. GO
  3387. ALTER TABLE [dbo].[pay_notify_log] SET (LOCK_ESCALATION = TABLE)
  3388. GO
  3389. EXEC sp_addextendedproperty
  3390. 'MS_Description', N'日志编号',
  3391. 'SCHEMA', N'dbo',
  3392. 'TABLE', N'pay_notify_log',
  3393. 'COLUMN', N'id'
  3394. GO
  3395. EXEC sp_addextendedproperty
  3396. 'MS_Description', N'通知任务编号',
  3397. 'SCHEMA', N'dbo',
  3398. 'TABLE', N'pay_notify_log',
  3399. 'COLUMN', N'task_id'
  3400. GO
  3401. EXEC sp_addextendedproperty
  3402. 'MS_Description', N'第几次被通知',
  3403. 'SCHEMA', N'dbo',
  3404. 'TABLE', N'pay_notify_log',
  3405. 'COLUMN', N'notify_times'
  3406. GO
  3407. EXEC sp_addextendedproperty
  3408. 'MS_Description', N'请求参数',
  3409. 'SCHEMA', N'dbo',
  3410. 'TABLE', N'pay_notify_log',
  3411. 'COLUMN', N'response'
  3412. GO
  3413. EXEC sp_addextendedproperty
  3414. 'MS_Description', N'通知状态',
  3415. 'SCHEMA', N'dbo',
  3416. 'TABLE', N'pay_notify_log',
  3417. 'COLUMN', N'status'
  3418. GO
  3419. EXEC sp_addextendedproperty
  3420. 'MS_Description', N'创建者',
  3421. 'SCHEMA', N'dbo',
  3422. 'TABLE', N'pay_notify_log',
  3423. 'COLUMN', N'creator'
  3424. GO
  3425. EXEC sp_addextendedproperty
  3426. 'MS_Description', N'创建时间',
  3427. 'SCHEMA', N'dbo',
  3428. 'TABLE', N'pay_notify_log',
  3429. 'COLUMN', N'create_time'
  3430. GO
  3431. EXEC sp_addextendedproperty
  3432. 'MS_Description', N'更新者',
  3433. 'SCHEMA', N'dbo',
  3434. 'TABLE', N'pay_notify_log',
  3435. 'COLUMN', N'updater'
  3436. GO
  3437. EXEC sp_addextendedproperty
  3438. 'MS_Description', N'更新时间',
  3439. 'SCHEMA', N'dbo',
  3440. 'TABLE', N'pay_notify_log',
  3441. 'COLUMN', N'update_time'
  3442. GO
  3443. EXEC sp_addextendedproperty
  3444. 'MS_Description', N'租户编号',
  3445. 'SCHEMA', N'dbo',
  3446. 'TABLE', N'pay_notify_log',
  3447. 'COLUMN', N'tenant_id'
  3448. GO
  3449. EXEC sp_addextendedproperty
  3450. 'MS_Description', N'是否删除',
  3451. 'SCHEMA', N'dbo',
  3452. 'TABLE', N'pay_notify_log',
  3453. 'COLUMN', N'deleted'
  3454. GO
  3455. EXEC sp_addextendedproperty
  3456. 'MS_Description', N'支付通知 App 的日志',
  3457. 'SCHEMA', N'dbo',
  3458. 'TABLE', N'pay_notify_log'
  3459. GO
  3460. -- ----------------------------
  3461. -- Records of pay_notify_log
  3462. -- ----------------------------
  3463. BEGIN TRANSACTION
  3464. GO
  3465. SET IDENTITY_INSERT [dbo].[pay_notify_log] ON
  3466. GO
  3467. SET IDENTITY_INSERT [dbo].[pay_notify_log] OFF
  3468. GO
  3469. COMMIT
  3470. GO
  3471. -- ----------------------------
  3472. -- Table structure for pay_notify_task
  3473. -- ----------------------------
  3474. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_notify_task]') AND type IN ('U'))
  3475. DROP TABLE [dbo].[pay_notify_task]
  3476. GO
  3477. CREATE TABLE [dbo].[pay_notify_task] (
  3478. [id] bigint IDENTITY(1,1) NOT NULL,
  3479. [merchant_id] bigint NOT NULL,
  3480. [app_id] bigint NOT NULL,
  3481. [type] tinyint NOT NULL,
  3482. [data_id] bigint NOT NULL,
  3483. [status] tinyint NOT NULL,
  3484. [merchant_order_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3485. [next_notify_time] datetime2(7) NOT NULL,
  3486. [last_execute_time] datetime2(7) NOT NULL,
  3487. [notify_times] tinyint NOT NULL,
  3488. [max_notify_times] tinyint NOT NULL,
  3489. [notify_url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3490. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3491. [create_time] datetime2(7) NOT NULL,
  3492. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3493. [update_time] datetime2(7) NOT NULL,
  3494. [tenant_id] bigint NOT NULL,
  3495. [deleted] bit DEFAULT 0 NOT NULL
  3496. )
  3497. GO
  3498. ALTER TABLE [dbo].[pay_notify_task] SET (LOCK_ESCALATION = TABLE)
  3499. GO
  3500. EXEC sp_addextendedproperty
  3501. 'MS_Description', N'任务编号',
  3502. 'SCHEMA', N'dbo',
  3503. 'TABLE', N'pay_notify_task',
  3504. 'COLUMN', N'id'
  3505. GO
  3506. EXEC sp_addextendedproperty
  3507. 'MS_Description', N'商户编号',
  3508. 'SCHEMA', N'dbo',
  3509. 'TABLE', N'pay_notify_task',
  3510. 'COLUMN', N'merchant_id'
  3511. GO
  3512. EXEC sp_addextendedproperty
  3513. 'MS_Description', N'应用编号',
  3514. 'SCHEMA', N'dbo',
  3515. 'TABLE', N'pay_notify_task',
  3516. 'COLUMN', N'app_id'
  3517. GO
  3518. EXEC sp_addextendedproperty
  3519. 'MS_Description', N'通知类型',
  3520. 'SCHEMA', N'dbo',
  3521. 'TABLE', N'pay_notify_task',
  3522. 'COLUMN', N'type'
  3523. GO
  3524. EXEC sp_addextendedproperty
  3525. 'MS_Description', N'数据编号',
  3526. 'SCHEMA', N'dbo',
  3527. 'TABLE', N'pay_notify_task',
  3528. 'COLUMN', N'data_id'
  3529. GO
  3530. EXEC sp_addextendedproperty
  3531. 'MS_Description', N'通知状态',
  3532. 'SCHEMA', N'dbo',
  3533. 'TABLE', N'pay_notify_task',
  3534. 'COLUMN', N'status'
  3535. GO
  3536. EXEC sp_addextendedproperty
  3537. 'MS_Description', N'商户订单编号',
  3538. 'SCHEMA', N'dbo',
  3539. 'TABLE', N'pay_notify_task',
  3540. 'COLUMN', N'merchant_order_id'
  3541. GO
  3542. EXEC sp_addextendedproperty
  3543. 'MS_Description', N'下一次通知时间',
  3544. 'SCHEMA', N'dbo',
  3545. 'TABLE', N'pay_notify_task',
  3546. 'COLUMN', N'next_notify_time'
  3547. GO
  3548. EXEC sp_addextendedproperty
  3549. 'MS_Description', N'最后一次执行时间',
  3550. 'SCHEMA', N'dbo',
  3551. 'TABLE', N'pay_notify_task',
  3552. 'COLUMN', N'last_execute_time'
  3553. GO
  3554. EXEC sp_addextendedproperty
  3555. 'MS_Description', N'当前通知次数',
  3556. 'SCHEMA', N'dbo',
  3557. 'TABLE', N'pay_notify_task',
  3558. 'COLUMN', N'notify_times'
  3559. GO
  3560. EXEC sp_addextendedproperty
  3561. 'MS_Description', N'最大可通知次数',
  3562. 'SCHEMA', N'dbo',
  3563. 'TABLE', N'pay_notify_task',
  3564. 'COLUMN', N'max_notify_times'
  3565. GO
  3566. EXEC sp_addextendedproperty
  3567. 'MS_Description', N'异步通知地址',
  3568. 'SCHEMA', N'dbo',
  3569. 'TABLE', N'pay_notify_task',
  3570. 'COLUMN', N'notify_url'
  3571. GO
  3572. EXEC sp_addextendedproperty
  3573. 'MS_Description', N'创建者',
  3574. 'SCHEMA', N'dbo',
  3575. 'TABLE', N'pay_notify_task',
  3576. 'COLUMN', N'creator'
  3577. GO
  3578. EXEC sp_addextendedproperty
  3579. 'MS_Description', N'创建时间',
  3580. 'SCHEMA', N'dbo',
  3581. 'TABLE', N'pay_notify_task',
  3582. 'COLUMN', N'create_time'
  3583. GO
  3584. EXEC sp_addextendedproperty
  3585. 'MS_Description', N'更新者',
  3586. 'SCHEMA', N'dbo',
  3587. 'TABLE', N'pay_notify_task',
  3588. 'COLUMN', N'updater'
  3589. GO
  3590. EXEC sp_addextendedproperty
  3591. 'MS_Description', N'更新时间',
  3592. 'SCHEMA', N'dbo',
  3593. 'TABLE', N'pay_notify_task',
  3594. 'COLUMN', N'update_time'
  3595. GO
  3596. EXEC sp_addextendedproperty
  3597. 'MS_Description', N'租户编号',
  3598. 'SCHEMA', N'dbo',
  3599. 'TABLE', N'pay_notify_task',
  3600. 'COLUMN', N'tenant_id'
  3601. GO
  3602. EXEC sp_addextendedproperty
  3603. 'MS_Description', N'是否删除',
  3604. 'SCHEMA', N'dbo',
  3605. 'TABLE', N'pay_notify_task',
  3606. 'COLUMN', N'deleted'
  3607. GO
  3608. EXEC sp_addextendedproperty
  3609. 'MS_Description', N'商户支付、退款等的通知
  3610. ',
  3611. 'SCHEMA', N'dbo',
  3612. 'TABLE', N'pay_notify_task'
  3613. GO
  3614. -- ----------------------------
  3615. -- Records of pay_notify_task
  3616. -- ----------------------------
  3617. BEGIN TRANSACTION
  3618. GO
  3619. SET IDENTITY_INSERT [dbo].[pay_notify_task] ON
  3620. GO
  3621. SET IDENTITY_INSERT [dbo].[pay_notify_task] OFF
  3622. GO
  3623. COMMIT
  3624. GO
  3625. -- ----------------------------
  3626. -- Table structure for pay_order
  3627. -- ----------------------------
  3628. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_order]') AND type IN ('U'))
  3629. DROP TABLE [dbo].[pay_order]
  3630. GO
  3631. CREATE TABLE [dbo].[pay_order] (
  3632. [id] bigint IDENTITY(1,1) NOT NULL,
  3633. [merchant_id] bigint NOT NULL,
  3634. [app_id] bigint NOT NULL,
  3635. [channel_id] bigint NULL,
  3636. [channel_code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3637. [merchant_order_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3638. [subject] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3639. [body] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3640. [notify_url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3641. [notify_status] tinyint NOT NULL,
  3642. [amount] bigint NOT NULL,
  3643. [channel_fee_rate] float(53) NULL,
  3644. [channel_fee_amount] bigint NULL,
  3645. [status] tinyint NOT NULL,
  3646. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3647. [expire_time] datetime2(7) NOT NULL,
  3648. [success_time] datetime2(7) NULL,
  3649. [notify_time] datetime2(7) NULL,
  3650. [success_extension_id] bigint NULL,
  3651. [refund_status] tinyint NOT NULL,
  3652. [refund_times] tinyint NOT NULL,
  3653. [refund_amount] bigint NOT NULL,
  3654. [channel_user_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3655. [channel_order_no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3656. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3657. [create_time] datetime2(7) NOT NULL,
  3658. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3659. [update_time] datetime2(7) NOT NULL,
  3660. [tenant_id] bigint NOT NULL,
  3661. [deleted] bit DEFAULT 0 NOT NULL
  3662. )
  3663. GO
  3664. ALTER TABLE [dbo].[pay_order] SET (LOCK_ESCALATION = TABLE)
  3665. GO
  3666. EXEC sp_addextendedproperty
  3667. 'MS_Description', N'支付订单编号',
  3668. 'SCHEMA', N'dbo',
  3669. 'TABLE', N'pay_order',
  3670. 'COLUMN', N'id'
  3671. GO
  3672. EXEC sp_addextendedproperty
  3673. 'MS_Description', N'商户编号',
  3674. 'SCHEMA', N'dbo',
  3675. 'TABLE', N'pay_order',
  3676. 'COLUMN', N'merchant_id'
  3677. GO
  3678. EXEC sp_addextendedproperty
  3679. 'MS_Description', N'应用编号',
  3680. 'SCHEMA', N'dbo',
  3681. 'TABLE', N'pay_order',
  3682. 'COLUMN', N'app_id'
  3683. GO
  3684. EXEC sp_addextendedproperty
  3685. 'MS_Description', N'渠道编号',
  3686. 'SCHEMA', N'dbo',
  3687. 'TABLE', N'pay_order',
  3688. 'COLUMN', N'channel_id'
  3689. GO
  3690. EXEC sp_addextendedproperty
  3691. 'MS_Description', N'渠道编码',
  3692. 'SCHEMA', N'dbo',
  3693. 'TABLE', N'pay_order',
  3694. 'COLUMN', N'channel_code'
  3695. GO
  3696. EXEC sp_addextendedproperty
  3697. 'MS_Description', N'商户订单编号',
  3698. 'SCHEMA', N'dbo',
  3699. 'TABLE', N'pay_order',
  3700. 'COLUMN', N'merchant_order_id'
  3701. GO
  3702. EXEC sp_addextendedproperty
  3703. 'MS_Description', N'商品标题',
  3704. 'SCHEMA', N'dbo',
  3705. 'TABLE', N'pay_order',
  3706. 'COLUMN', N'subject'
  3707. GO
  3708. EXEC sp_addextendedproperty
  3709. 'MS_Description', N'商品描述',
  3710. 'SCHEMA', N'dbo',
  3711. 'TABLE', N'pay_order',
  3712. 'COLUMN', N'body'
  3713. GO
  3714. EXEC sp_addextendedproperty
  3715. 'MS_Description', N'异步通知地址',
  3716. 'SCHEMA', N'dbo',
  3717. 'TABLE', N'pay_order',
  3718. 'COLUMN', N'notify_url'
  3719. GO
  3720. EXEC sp_addextendedproperty
  3721. 'MS_Description', N'通知商户支付结果的回调状态',
  3722. 'SCHEMA', N'dbo',
  3723. 'TABLE', N'pay_order',
  3724. 'COLUMN', N'notify_status'
  3725. GO
  3726. EXEC sp_addextendedproperty
  3727. 'MS_Description', N'支付金额,单位:分',
  3728. 'SCHEMA', N'dbo',
  3729. 'TABLE', N'pay_order',
  3730. 'COLUMN', N'amount'
  3731. GO
  3732. EXEC sp_addextendedproperty
  3733. 'MS_Description', N'渠道手续费,单位:百分比',
  3734. 'SCHEMA', N'dbo',
  3735. 'TABLE', N'pay_order',
  3736. 'COLUMN', N'channel_fee_rate'
  3737. GO
  3738. EXEC sp_addextendedproperty
  3739. 'MS_Description', N'渠道手续金额,单位:分',
  3740. 'SCHEMA', N'dbo',
  3741. 'TABLE', N'pay_order',
  3742. 'COLUMN', N'channel_fee_amount'
  3743. GO
  3744. EXEC sp_addextendedproperty
  3745. 'MS_Description', N'支付状态',
  3746. 'SCHEMA', N'dbo',
  3747. 'TABLE', N'pay_order',
  3748. 'COLUMN', N'status'
  3749. GO
  3750. EXEC sp_addextendedproperty
  3751. 'MS_Description', N'用户 IP',
  3752. 'SCHEMA', N'dbo',
  3753. 'TABLE', N'pay_order',
  3754. 'COLUMN', N'user_ip'
  3755. GO
  3756. EXEC sp_addextendedproperty
  3757. 'MS_Description', N'订单失效时间',
  3758. 'SCHEMA', N'dbo',
  3759. 'TABLE', N'pay_order',
  3760. 'COLUMN', N'expire_time'
  3761. GO
  3762. EXEC sp_addextendedproperty
  3763. 'MS_Description', N'订单支付成功时间',
  3764. 'SCHEMA', N'dbo',
  3765. 'TABLE', N'pay_order',
  3766. 'COLUMN', N'success_time'
  3767. GO
  3768. EXEC sp_addextendedproperty
  3769. 'MS_Description', N'订单支付通知时间',
  3770. 'SCHEMA', N'dbo',
  3771. 'TABLE', N'pay_order',
  3772. 'COLUMN', N'notify_time'
  3773. GO
  3774. EXEC sp_addextendedproperty
  3775. 'MS_Description', N'支付成功的订单拓展单编号',
  3776. 'SCHEMA', N'dbo',
  3777. 'TABLE', N'pay_order',
  3778. 'COLUMN', N'success_extension_id'
  3779. GO
  3780. EXEC sp_addextendedproperty
  3781. 'MS_Description', N'退款状态',
  3782. 'SCHEMA', N'dbo',
  3783. 'TABLE', N'pay_order',
  3784. 'COLUMN', N'refund_status'
  3785. GO
  3786. EXEC sp_addextendedproperty
  3787. 'MS_Description', N'退款次数',
  3788. 'SCHEMA', N'dbo',
  3789. 'TABLE', N'pay_order',
  3790. 'COLUMN', N'refund_times'
  3791. GO
  3792. EXEC sp_addextendedproperty
  3793. 'MS_Description', N'退款总金额,单位:分',
  3794. 'SCHEMA', N'dbo',
  3795. 'TABLE', N'pay_order',
  3796. 'COLUMN', N'refund_amount'
  3797. GO
  3798. EXEC sp_addextendedproperty
  3799. 'MS_Description', N'渠道用户编号',
  3800. 'SCHEMA', N'dbo',
  3801. 'TABLE', N'pay_order',
  3802. 'COLUMN', N'channel_user_id'
  3803. GO
  3804. EXEC sp_addextendedproperty
  3805. 'MS_Description', N'渠道订单号',
  3806. 'SCHEMA', N'dbo',
  3807. 'TABLE', N'pay_order',
  3808. 'COLUMN', N'channel_order_no'
  3809. GO
  3810. EXEC sp_addextendedproperty
  3811. 'MS_Description', N'创建者',
  3812. 'SCHEMA', N'dbo',
  3813. 'TABLE', N'pay_order',
  3814. 'COLUMN', N'creator'
  3815. GO
  3816. EXEC sp_addextendedproperty
  3817. 'MS_Description', N'创建时间',
  3818. 'SCHEMA', N'dbo',
  3819. 'TABLE', N'pay_order',
  3820. 'COLUMN', N'create_time'
  3821. GO
  3822. EXEC sp_addextendedproperty
  3823. 'MS_Description', N'更新者',
  3824. 'SCHEMA', N'dbo',
  3825. 'TABLE', N'pay_order',
  3826. 'COLUMN', N'updater'
  3827. GO
  3828. EXEC sp_addextendedproperty
  3829. 'MS_Description', N'更新时间',
  3830. 'SCHEMA', N'dbo',
  3831. 'TABLE', N'pay_order',
  3832. 'COLUMN', N'update_time'
  3833. GO
  3834. EXEC sp_addextendedproperty
  3835. 'MS_Description', N'租户编号',
  3836. 'SCHEMA', N'dbo',
  3837. 'TABLE', N'pay_order',
  3838. 'COLUMN', N'tenant_id'
  3839. GO
  3840. EXEC sp_addextendedproperty
  3841. 'MS_Description', N'是否删除',
  3842. 'SCHEMA', N'dbo',
  3843. 'TABLE', N'pay_order',
  3844. 'COLUMN', N'deleted'
  3845. GO
  3846. EXEC sp_addextendedproperty
  3847. 'MS_Description', N'支付订单
  3848. ',
  3849. 'SCHEMA', N'dbo',
  3850. 'TABLE', N'pay_order'
  3851. GO
  3852. -- ----------------------------
  3853. -- Records of pay_order
  3854. -- ----------------------------
  3855. BEGIN TRANSACTION
  3856. GO
  3857. SET IDENTITY_INSERT [dbo].[pay_order] ON
  3858. GO
  3859. SET IDENTITY_INSERT [dbo].[pay_order] OFF
  3860. GO
  3861. COMMIT
  3862. GO
  3863. -- ----------------------------
  3864. -- Table structure for pay_order_extension
  3865. -- ----------------------------
  3866. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_order_extension]') AND type IN ('U'))
  3867. DROP TABLE [dbo].[pay_order_extension]
  3868. GO
  3869. CREATE TABLE [dbo].[pay_order_extension] (
  3870. [id] bigint IDENTITY(1,1) NOT NULL,
  3871. [no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3872. [order_id] bigint NOT NULL,
  3873. [channel_id] bigint NOT NULL,
  3874. [channel_code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3875. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  3876. [status] tinyint NOT NULL,
  3877. [channel_extras] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3878. [channel_notify_data] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3879. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3880. [create_time] datetime2(7) NOT NULL,
  3881. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  3882. [update_time] datetime2(7) NOT NULL,
  3883. [tenant_id] bigint NOT NULL,
  3884. [deleted] bit DEFAULT 0 NOT NULL
  3885. )
  3886. GO
  3887. ALTER TABLE [dbo].[pay_order_extension] SET (LOCK_ESCALATION = TABLE)
  3888. GO
  3889. EXEC sp_addextendedproperty
  3890. 'MS_Description', N'支付订单编号',
  3891. 'SCHEMA', N'dbo',
  3892. 'TABLE', N'pay_order_extension',
  3893. 'COLUMN', N'id'
  3894. GO
  3895. EXEC sp_addextendedproperty
  3896. 'MS_Description', N'支付订单号',
  3897. 'SCHEMA', N'dbo',
  3898. 'TABLE', N'pay_order_extension',
  3899. 'COLUMN', N'no'
  3900. GO
  3901. EXEC sp_addextendedproperty
  3902. 'MS_Description', N'支付订单编号',
  3903. 'SCHEMA', N'dbo',
  3904. 'TABLE', N'pay_order_extension',
  3905. 'COLUMN', N'order_id'
  3906. GO
  3907. EXEC sp_addextendedproperty
  3908. 'MS_Description', N'渠道编号',
  3909. 'SCHEMA', N'dbo',
  3910. 'TABLE', N'pay_order_extension',
  3911. 'COLUMN', N'channel_id'
  3912. GO
  3913. EXEC sp_addextendedproperty
  3914. 'MS_Description', N'渠道编码',
  3915. 'SCHEMA', N'dbo',
  3916. 'TABLE', N'pay_order_extension',
  3917. 'COLUMN', N'channel_code'
  3918. GO
  3919. EXEC sp_addextendedproperty
  3920. 'MS_Description', N'用户 IP',
  3921. 'SCHEMA', N'dbo',
  3922. 'TABLE', N'pay_order_extension',
  3923. 'COLUMN', N'user_ip'
  3924. GO
  3925. EXEC sp_addextendedproperty
  3926. 'MS_Description', N'支付状态',
  3927. 'SCHEMA', N'dbo',
  3928. 'TABLE', N'pay_order_extension',
  3929. 'COLUMN', N'status'
  3930. GO
  3931. EXEC sp_addextendedproperty
  3932. 'MS_Description', N'支付渠道的额外参数',
  3933. 'SCHEMA', N'dbo',
  3934. 'TABLE', N'pay_order_extension',
  3935. 'COLUMN', N'channel_extras'
  3936. GO
  3937. EXEC sp_addextendedproperty
  3938. 'MS_Description', N'支付渠道异步通知的内容',
  3939. 'SCHEMA', N'dbo',
  3940. 'TABLE', N'pay_order_extension',
  3941. 'COLUMN', N'channel_notify_data'
  3942. GO
  3943. EXEC sp_addextendedproperty
  3944. 'MS_Description', N'创建者',
  3945. 'SCHEMA', N'dbo',
  3946. 'TABLE', N'pay_order_extension',
  3947. 'COLUMN', N'creator'
  3948. GO
  3949. EXEC sp_addextendedproperty
  3950. 'MS_Description', N'创建时间',
  3951. 'SCHEMA', N'dbo',
  3952. 'TABLE', N'pay_order_extension',
  3953. 'COLUMN', N'create_time'
  3954. GO
  3955. EXEC sp_addextendedproperty
  3956. 'MS_Description', N'更新者',
  3957. 'SCHEMA', N'dbo',
  3958. 'TABLE', N'pay_order_extension',
  3959. 'COLUMN', N'updater'
  3960. GO
  3961. EXEC sp_addextendedproperty
  3962. 'MS_Description', N'更新时间',
  3963. 'SCHEMA', N'dbo',
  3964. 'TABLE', N'pay_order_extension',
  3965. 'COLUMN', N'update_time'
  3966. GO
  3967. EXEC sp_addextendedproperty
  3968. 'MS_Description', N'租户编号',
  3969. 'SCHEMA', N'dbo',
  3970. 'TABLE', N'pay_order_extension',
  3971. 'COLUMN', N'tenant_id'
  3972. GO
  3973. EXEC sp_addextendedproperty
  3974. 'MS_Description', N'是否删除',
  3975. 'SCHEMA', N'dbo',
  3976. 'TABLE', N'pay_order_extension',
  3977. 'COLUMN', N'deleted'
  3978. GO
  3979. EXEC sp_addextendedproperty
  3980. 'MS_Description', N'支付订单
  3981. ',
  3982. 'SCHEMA', N'dbo',
  3983. 'TABLE', N'pay_order_extension'
  3984. GO
  3985. -- ----------------------------
  3986. -- Records of pay_order_extension
  3987. -- ----------------------------
  3988. BEGIN TRANSACTION
  3989. GO
  3990. SET IDENTITY_INSERT [dbo].[pay_order_extension] ON
  3991. GO
  3992. SET IDENTITY_INSERT [dbo].[pay_order_extension] OFF
  3993. GO
  3994. COMMIT
  3995. GO
  3996. -- ----------------------------
  3997. -- Table structure for pay_refund
  3998. -- ----------------------------
  3999. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[pay_refund]') AND type IN ('U'))
  4000. DROP TABLE [dbo].[pay_refund]
  4001. GO
  4002. CREATE TABLE [dbo].[pay_refund] (
  4003. [id] bigint IDENTITY(1,1) NOT NULL,
  4004. [merchant_id] bigint NOT NULL,
  4005. [app_id] bigint NOT NULL,
  4006. [channel_id] bigint NOT NULL,
  4007. [channel_code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4008. [order_id] bigint NOT NULL,
  4009. [trade_no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4010. [merchant_order_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4011. [merchant_refund_no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4012. [notify_url] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4013. [notify_status] tinyint NOT NULL,
  4014. [status] tinyint NOT NULL,
  4015. [type] tinyint NOT NULL,
  4016. [pay_amount] bigint NOT NULL,
  4017. [refund_amount] bigint NOT NULL,
  4018. [reason] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4019. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4020. [channel_order_no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4021. [channel_refund_no] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4022. [channel_error_code] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4023. [channel_error_msg] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4024. [channel_extras] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4025. [expire_time] datetime2(7) NULL,
  4026. [success_time] datetime2(7) NULL,
  4027. [notify_time] datetime2(7) NULL,
  4028. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4029. [create_time] datetime2(7) NOT NULL,
  4030. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4031. [update_time] datetime2(7) NOT NULL,
  4032. [tenant_id] bigint NOT NULL,
  4033. [deleted] bit DEFAULT 0 NOT NULL
  4034. )
  4035. GO
  4036. ALTER TABLE [dbo].[pay_refund] SET (LOCK_ESCALATION = TABLE)
  4037. GO
  4038. EXEC sp_addextendedproperty
  4039. 'MS_Description', N'支付退款编号',
  4040. 'SCHEMA', N'dbo',
  4041. 'TABLE', N'pay_refund',
  4042. 'COLUMN', N'id'
  4043. GO
  4044. EXEC sp_addextendedproperty
  4045. 'MS_Description', N'商户编号',
  4046. 'SCHEMA', N'dbo',
  4047. 'TABLE', N'pay_refund',
  4048. 'COLUMN', N'merchant_id'
  4049. GO
  4050. EXEC sp_addextendedproperty
  4051. 'MS_Description', N'应用编号',
  4052. 'SCHEMA', N'dbo',
  4053. 'TABLE', N'pay_refund',
  4054. 'COLUMN', N'app_id'
  4055. GO
  4056. EXEC sp_addextendedproperty
  4057. 'MS_Description', N'渠道编号',
  4058. 'SCHEMA', N'dbo',
  4059. 'TABLE', N'pay_refund',
  4060. 'COLUMN', N'channel_id'
  4061. GO
  4062. EXEC sp_addextendedproperty
  4063. 'MS_Description', N'渠道编码',
  4064. 'SCHEMA', N'dbo',
  4065. 'TABLE', N'pay_refund',
  4066. 'COLUMN', N'channel_code'
  4067. GO
  4068. EXEC sp_addextendedproperty
  4069. 'MS_Description', N'支付订单编号 pay_order 表id',
  4070. 'SCHEMA', N'dbo',
  4071. 'TABLE', N'pay_refund',
  4072. 'COLUMN', N'order_id'
  4073. GO
  4074. EXEC sp_addextendedproperty
  4075. 'MS_Description', N'交易订单号 pay_extension 表no 字段',
  4076. 'SCHEMA', N'dbo',
  4077. 'TABLE', N'pay_refund',
  4078. 'COLUMN', N'trade_no'
  4079. GO
  4080. EXEC sp_addextendedproperty
  4081. 'MS_Description', N'商户订单编号(商户系统生成)',
  4082. 'SCHEMA', N'dbo',
  4083. 'TABLE', N'pay_refund',
  4084. 'COLUMN', N'merchant_order_id'
  4085. GO
  4086. EXEC sp_addextendedproperty
  4087. 'MS_Description', N'商户退款订单号(商户系统生成)',
  4088. 'SCHEMA', N'dbo',
  4089. 'TABLE', N'pay_refund',
  4090. 'COLUMN', N'merchant_refund_no'
  4091. GO
  4092. EXEC sp_addextendedproperty
  4093. 'MS_Description', N'异步通知商户地址',
  4094. 'SCHEMA', N'dbo',
  4095. 'TABLE', N'pay_refund',
  4096. 'COLUMN', N'notify_url'
  4097. GO
  4098. EXEC sp_addextendedproperty
  4099. 'MS_Description', N'通知商户退款结果的回调状态',
  4100. 'SCHEMA', N'dbo',
  4101. 'TABLE', N'pay_refund',
  4102. 'COLUMN', N'notify_status'
  4103. GO
  4104. EXEC sp_addextendedproperty
  4105. 'MS_Description', N'退款状态',
  4106. 'SCHEMA', N'dbo',
  4107. 'TABLE', N'pay_refund',
  4108. 'COLUMN', N'status'
  4109. GO
  4110. EXEC sp_addextendedproperty
  4111. 'MS_Description', N'退款类型(部分退款,全部退款)',
  4112. 'SCHEMA', N'dbo',
  4113. 'TABLE', N'pay_refund',
  4114. 'COLUMN', N'type'
  4115. GO
  4116. EXEC sp_addextendedproperty
  4117. 'MS_Description', N'支付金额,单位分',
  4118. 'SCHEMA', N'dbo',
  4119. 'TABLE', N'pay_refund',
  4120. 'COLUMN', N'pay_amount'
  4121. GO
  4122. EXEC sp_addextendedproperty
  4123. 'MS_Description', N'退款金额,单位分',
  4124. 'SCHEMA', N'dbo',
  4125. 'TABLE', N'pay_refund',
  4126. 'COLUMN', N'refund_amount'
  4127. GO
  4128. EXEC sp_addextendedproperty
  4129. 'MS_Description', N'退款原因',
  4130. 'SCHEMA', N'dbo',
  4131. 'TABLE', N'pay_refund',
  4132. 'COLUMN', N'reason'
  4133. GO
  4134. EXEC sp_addextendedproperty
  4135. 'MS_Description', N'用户 IP',
  4136. 'SCHEMA', N'dbo',
  4137. 'TABLE', N'pay_refund',
  4138. 'COLUMN', N'user_ip'
  4139. GO
  4140. EXEC sp_addextendedproperty
  4141. 'MS_Description', N'渠道订单号,pay_order 中的channel_order_no 对应',
  4142. 'SCHEMA', N'dbo',
  4143. 'TABLE', N'pay_refund',
  4144. 'COLUMN', N'channel_order_no'
  4145. GO
  4146. EXEC sp_addextendedproperty
  4147. 'MS_Description', N'渠道退款单号,渠道返回',
  4148. 'SCHEMA', N'dbo',
  4149. 'TABLE', N'pay_refund',
  4150. 'COLUMN', N'channel_refund_no'
  4151. GO
  4152. EXEC sp_addextendedproperty
  4153. 'MS_Description', N'渠道调用报错时,错误码',
  4154. 'SCHEMA', N'dbo',
  4155. 'TABLE', N'pay_refund',
  4156. 'COLUMN', N'channel_error_code'
  4157. GO
  4158. EXEC sp_addextendedproperty
  4159. 'MS_Description', N'渠道调用报错时,错误信息',
  4160. 'SCHEMA', N'dbo',
  4161. 'TABLE', N'pay_refund',
  4162. 'COLUMN', N'channel_error_msg'
  4163. GO
  4164. EXEC sp_addextendedproperty
  4165. 'MS_Description', N'支付渠道的额外参数',
  4166. 'SCHEMA', N'dbo',
  4167. 'TABLE', N'pay_refund',
  4168. 'COLUMN', N'channel_extras'
  4169. GO
  4170. EXEC sp_addextendedproperty
  4171. 'MS_Description', N'退款失效时间',
  4172. 'SCHEMA', N'dbo',
  4173. 'TABLE', N'pay_refund',
  4174. 'COLUMN', N'expire_time'
  4175. GO
  4176. EXEC sp_addextendedproperty
  4177. 'MS_Description', N'退款成功时间',
  4178. 'SCHEMA', N'dbo',
  4179. 'TABLE', N'pay_refund',
  4180. 'COLUMN', N'success_time'
  4181. GO
  4182. EXEC sp_addextendedproperty
  4183. 'MS_Description', N'退款通知时间',
  4184. 'SCHEMA', N'dbo',
  4185. 'TABLE', N'pay_refund',
  4186. 'COLUMN', N'notify_time'
  4187. GO
  4188. EXEC sp_addextendedproperty
  4189. 'MS_Description', N'创建者',
  4190. 'SCHEMA', N'dbo',
  4191. 'TABLE', N'pay_refund',
  4192. 'COLUMN', N'creator'
  4193. GO
  4194. EXEC sp_addextendedproperty
  4195. 'MS_Description', N'创建时间',
  4196. 'SCHEMA', N'dbo',
  4197. 'TABLE', N'pay_refund',
  4198. 'COLUMN', N'create_time'
  4199. GO
  4200. EXEC sp_addextendedproperty
  4201. 'MS_Description', N'更新者',
  4202. 'SCHEMA', N'dbo',
  4203. 'TABLE', N'pay_refund',
  4204. 'COLUMN', N'updater'
  4205. GO
  4206. EXEC sp_addextendedproperty
  4207. 'MS_Description', N'更新时间',
  4208. 'SCHEMA', N'dbo',
  4209. 'TABLE', N'pay_refund',
  4210. 'COLUMN', N'update_time'
  4211. GO
  4212. EXEC sp_addextendedproperty
  4213. 'MS_Description', N'租户编号',
  4214. 'SCHEMA', N'dbo',
  4215. 'TABLE', N'pay_refund',
  4216. 'COLUMN', N'tenant_id'
  4217. GO
  4218. EXEC sp_addextendedproperty
  4219. 'MS_Description', N'是否删除',
  4220. 'SCHEMA', N'dbo',
  4221. 'TABLE', N'pay_refund',
  4222. 'COLUMN', N'deleted'
  4223. GO
  4224. EXEC sp_addextendedproperty
  4225. 'MS_Description', N'退款订单',
  4226. 'SCHEMA', N'dbo',
  4227. 'TABLE', N'pay_refund'
  4228. GO
  4229. -- ----------------------------
  4230. -- Records of pay_refund
  4231. -- ----------------------------
  4232. BEGIN TRANSACTION
  4233. GO
  4234. SET IDENTITY_INSERT [dbo].[pay_refund] ON
  4235. GO
  4236. SET IDENTITY_INSERT [dbo].[pay_refund] OFF
  4237. GO
  4238. COMMIT
  4239. GO
  4240. -- ----------------------------
  4241. -- Table structure for system_dept
  4242. -- ----------------------------
  4243. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_dept]') AND type IN ('U'))
  4244. DROP TABLE [dbo].[system_dept]
  4245. GO
  4246. CREATE TABLE [dbo].[system_dept] (
  4247. [id] bigint IDENTITY(1,1) NOT NULL,
  4248. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4249. [parent_id] bigint NOT NULL,
  4250. [sort] int NOT NULL,
  4251. [leader_user_id] bigint NULL,
  4252. [phone] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4253. [email] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4254. [status] tinyint NOT NULL,
  4255. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4256. [create_time] datetime2(7) NOT NULL,
  4257. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4258. [update_time] datetime2(7) NOT NULL,
  4259. [tenant_id] bigint NOT NULL,
  4260. [deleted] bit DEFAULT 0 NOT NULL
  4261. )
  4262. GO
  4263. ALTER TABLE [dbo].[system_dept] SET (LOCK_ESCALATION = TABLE)
  4264. GO
  4265. EXEC sp_addextendedproperty
  4266. 'MS_Description', N'部门id',
  4267. 'SCHEMA', N'dbo',
  4268. 'TABLE', N'system_dept',
  4269. 'COLUMN', N'id'
  4270. GO
  4271. EXEC sp_addextendedproperty
  4272. 'MS_Description', N'部门名称',
  4273. 'SCHEMA', N'dbo',
  4274. 'TABLE', N'system_dept',
  4275. 'COLUMN', N'name'
  4276. GO
  4277. EXEC sp_addextendedproperty
  4278. 'MS_Description', N'父部门id',
  4279. 'SCHEMA', N'dbo',
  4280. 'TABLE', N'system_dept',
  4281. 'COLUMN', N'parent_id'
  4282. GO
  4283. EXEC sp_addextendedproperty
  4284. 'MS_Description', N'显示顺序',
  4285. 'SCHEMA', N'dbo',
  4286. 'TABLE', N'system_dept',
  4287. 'COLUMN', N'sort'
  4288. GO
  4289. EXEC sp_addextendedproperty
  4290. 'MS_Description', N'负责人',
  4291. 'SCHEMA', N'dbo',
  4292. 'TABLE', N'system_dept',
  4293. 'COLUMN', N'leader_user_id'
  4294. GO
  4295. EXEC sp_addextendedproperty
  4296. 'MS_Description', N'联系电话',
  4297. 'SCHEMA', N'dbo',
  4298. 'TABLE', N'system_dept',
  4299. 'COLUMN', N'phone'
  4300. GO
  4301. EXEC sp_addextendedproperty
  4302. 'MS_Description', N'邮箱',
  4303. 'SCHEMA', N'dbo',
  4304. 'TABLE', N'system_dept',
  4305. 'COLUMN', N'email'
  4306. GO
  4307. EXEC sp_addextendedproperty
  4308. 'MS_Description', N'部门状态(0正常 1停用)',
  4309. 'SCHEMA', N'dbo',
  4310. 'TABLE', N'system_dept',
  4311. 'COLUMN', N'status'
  4312. GO
  4313. EXEC sp_addextendedproperty
  4314. 'MS_Description', N'创建者',
  4315. 'SCHEMA', N'dbo',
  4316. 'TABLE', N'system_dept',
  4317. 'COLUMN', N'creator'
  4318. GO
  4319. EXEC sp_addextendedproperty
  4320. 'MS_Description', N'创建时间',
  4321. 'SCHEMA', N'dbo',
  4322. 'TABLE', N'system_dept',
  4323. 'COLUMN', N'create_time'
  4324. GO
  4325. EXEC sp_addextendedproperty
  4326. 'MS_Description', N'更新者',
  4327. 'SCHEMA', N'dbo',
  4328. 'TABLE', N'system_dept',
  4329. 'COLUMN', N'updater'
  4330. GO
  4331. EXEC sp_addextendedproperty
  4332. 'MS_Description', N'更新时间',
  4333. 'SCHEMA', N'dbo',
  4334. 'TABLE', N'system_dept',
  4335. 'COLUMN', N'update_time'
  4336. GO
  4337. EXEC sp_addextendedproperty
  4338. 'MS_Description', N'租户编号',
  4339. 'SCHEMA', N'dbo',
  4340. 'TABLE', N'system_dept',
  4341. 'COLUMN', N'tenant_id'
  4342. GO
  4343. EXEC sp_addextendedproperty
  4344. 'MS_Description', N'是否删除',
  4345. 'SCHEMA', N'dbo',
  4346. 'TABLE', N'system_dept',
  4347. 'COLUMN', N'deleted'
  4348. GO
  4349. EXEC sp_addextendedproperty
  4350. 'MS_Description', N'部门表',
  4351. 'SCHEMA', N'dbo',
  4352. 'TABLE', N'system_dept'
  4353. GO
  4354. -- ----------------------------
  4355. -- Records of system_dept
  4356. -- ----------------------------
  4357. BEGIN TRANSACTION
  4358. GO
  4359. SET IDENTITY_INSERT [dbo].[system_dept] ON
  4360. GO
  4361. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'100', N'非繁源码', N'0', N'0', N'1', N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'103', N'2022-01-14 01:04:05.0000000', N'1', N'0')
  4362. GO
  4363. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'101', N'深圳总公司', N'100', N'1', N'104', N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'1', N'2022-02-22 19:47:48.0000000', N'1', N'0')
  4364. GO
  4365. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'102', N'长沙分公司', N'100', N'2', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'', N'2021-12-15 05:01:40.0000000', N'1', N'0')
  4366. GO
  4367. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'103', N'研发部门', N'101', N'1', N'104', N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'103', N'2022-01-14 01:04:14.0000000', N'1', N'0')
  4368. GO
  4369. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'104', N'市场部门', N'101', N'2', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'', N'2021-12-15 05:01:38.0000000', N'1', N'0')
  4370. GO
  4371. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'105', N'测试部门', N'101', N'3', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'', N'2021-12-15 05:01:37.0000000', N'1', N'0')
  4372. GO
  4373. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'106', N'财务部门', N'101', N'4', N'103', N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'103', N'2022-01-15 21:32:22.0000000', N'1', N'0')
  4374. GO
  4375. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'107', N'运维部门', N'101', N'5', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'', N'2021-12-15 05:01:33.0000000', N'1', N'0')
  4376. GO
  4377. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'108', N'市场部门', N'102', N'1', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'1', N'2022-02-16 08:35:45.0000000', N'1', N'0')
  4378. GO
  4379. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'109', N'财务部门', N'102', N'2', NULL, N'15888888888', N'ry@qq.com', N'0', N'admin', N'2021-01-05 17:03:47.0000000', N'', N'2021-12-15 05:01:29.0000000', N'1', N'0')
  4380. GO
  4381. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'110', N'新部门', N'0', N'1', NULL, NULL, NULL, N'0', N'110', N'2022-02-23 20:46:30.0000000', N'110', N'2022-02-23 20:46:30.0000000', N'121', N'0')
  4382. GO
  4383. INSERT INTO [dbo].[system_dept] ([id], [name], [parent_id], [sort], [leader_user_id], [phone], [email], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'111', N'顶级部门', N'0', N'1', NULL, NULL, NULL, N'0', N'113', N'2022-03-07 21:44:50.0000000', N'113', N'2022-03-07 21:44:50.0000000', N'122', N'0')
  4384. GO
  4385. SET IDENTITY_INSERT [dbo].[system_dept] OFF
  4386. GO
  4387. COMMIT
  4388. GO
  4389. -- ----------------------------
  4390. -- Table structure for system_dict_data
  4391. -- ----------------------------
  4392. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_dict_data]') AND type IN ('U'))
  4393. DROP TABLE [dbo].[system_dict_data]
  4394. GO
  4395. CREATE TABLE [dbo].[system_dict_data] (
  4396. [id] bigint IDENTITY(1,1) NOT NULL,
  4397. [sort] int NOT NULL,
  4398. [label] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4399. [value] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4400. [dict_type] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4401. [status] tinyint NOT NULL,
  4402. [color_type] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4403. [css_class] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4404. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4405. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4406. [create_time] datetime2(7) NOT NULL,
  4407. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4408. [update_time] datetime2(7) NOT NULL,
  4409. [deleted] bit DEFAULT 0 NOT NULL
  4410. )
  4411. GO
  4412. ALTER TABLE [dbo].[system_dict_data] SET (LOCK_ESCALATION = TABLE)
  4413. GO
  4414. EXEC sp_addextendedproperty
  4415. 'MS_Description', N'字典编码',
  4416. 'SCHEMA', N'dbo',
  4417. 'TABLE', N'system_dict_data',
  4418. 'COLUMN', N'id'
  4419. GO
  4420. EXEC sp_addextendedproperty
  4421. 'MS_Description', N'字典排序',
  4422. 'SCHEMA', N'dbo',
  4423. 'TABLE', N'system_dict_data',
  4424. 'COLUMN', N'sort'
  4425. GO
  4426. EXEC sp_addextendedproperty
  4427. 'MS_Description', N'字典标签',
  4428. 'SCHEMA', N'dbo',
  4429. 'TABLE', N'system_dict_data',
  4430. 'COLUMN', N'label'
  4431. GO
  4432. EXEC sp_addextendedproperty
  4433. 'MS_Description', N'字典键值',
  4434. 'SCHEMA', N'dbo',
  4435. 'TABLE', N'system_dict_data',
  4436. 'COLUMN', N'value'
  4437. GO
  4438. EXEC sp_addextendedproperty
  4439. 'MS_Description', N'字典类型',
  4440. 'SCHEMA', N'dbo',
  4441. 'TABLE', N'system_dict_data',
  4442. 'COLUMN', N'dict_type'
  4443. GO
  4444. EXEC sp_addextendedproperty
  4445. 'MS_Description', N'状态(0正常 1停用)',
  4446. 'SCHEMA', N'dbo',
  4447. 'TABLE', N'system_dict_data',
  4448. 'COLUMN', N'status'
  4449. GO
  4450. EXEC sp_addextendedproperty
  4451. 'MS_Description', N'颜色类型',
  4452. 'SCHEMA', N'dbo',
  4453. 'TABLE', N'system_dict_data',
  4454. 'COLUMN', N'color_type'
  4455. GO
  4456. EXEC sp_addextendedproperty
  4457. 'MS_Description', N'css 样式',
  4458. 'SCHEMA', N'dbo',
  4459. 'TABLE', N'system_dict_data',
  4460. 'COLUMN', N'css_class'
  4461. GO
  4462. EXEC sp_addextendedproperty
  4463. 'MS_Description', N'备注',
  4464. 'SCHEMA', N'dbo',
  4465. 'TABLE', N'system_dict_data',
  4466. 'COLUMN', N'remark'
  4467. GO
  4468. EXEC sp_addextendedproperty
  4469. 'MS_Description', N'创建者',
  4470. 'SCHEMA', N'dbo',
  4471. 'TABLE', N'system_dict_data',
  4472. 'COLUMN', N'creator'
  4473. GO
  4474. EXEC sp_addextendedproperty
  4475. 'MS_Description', N'创建时间',
  4476. 'SCHEMA', N'dbo',
  4477. 'TABLE', N'system_dict_data',
  4478. 'COLUMN', N'create_time'
  4479. GO
  4480. EXEC sp_addextendedproperty
  4481. 'MS_Description', N'更新者',
  4482. 'SCHEMA', N'dbo',
  4483. 'TABLE', N'system_dict_data',
  4484. 'COLUMN', N'updater'
  4485. GO
  4486. EXEC sp_addextendedproperty
  4487. 'MS_Description', N'更新时间',
  4488. 'SCHEMA', N'dbo',
  4489. 'TABLE', N'system_dict_data',
  4490. 'COLUMN', N'update_time'
  4491. GO
  4492. EXEC sp_addextendedproperty
  4493. 'MS_Description', N'是否删除',
  4494. 'SCHEMA', N'dbo',
  4495. 'TABLE', N'system_dict_data',
  4496. 'COLUMN', N'deleted'
  4497. GO
  4498. EXEC sp_addextendedproperty
  4499. 'MS_Description', N'字典数据表',
  4500. 'SCHEMA', N'dbo',
  4501. 'TABLE', N'system_dict_data'
  4502. GO
  4503. -- ----------------------------
  4504. -- Records of system_dict_data
  4505. -- ----------------------------
  4506. BEGIN TRANSACTION
  4507. GO
  4508. SET IDENTITY_INSERT [dbo].[system_dict_data] ON
  4509. GO
  4510. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'1', N'男', N'1', N'system_user_sex', N'0', N'default', N'A', N'性别男', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-03-29 00:14:39.0000000', N'0')
  4511. GO
  4512. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'2', N'2', N'女', N'2', N'system_user_sex', N'1', N'success', N'', N'性别女', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 01:30:51.0000000', N'0')
  4513. GO
  4514. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'8', N'1', N'正常', N'1', N'infra_job_status', N'0', N'success', N'', N'正常状态', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 19:33:38.0000000', N'0')
  4515. GO
  4516. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'9', N'2', N'暂停', N'2', N'infra_job_status', N'0', N'danger', N'', N'停用状态', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 19:33:45.0000000', N'0')
  4517. GO
  4518. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'12', N'1', N'系统内置', N'1', N'infra_config_type', N'0', N'danger', N'', N'参数类型 - 系统内置', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 19:06:02.0000000', N'0')
  4519. GO
  4520. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'13', N'2', N'自定义', N'2', N'infra_config_type', N'0', N'primary', N'', N'参数类型 - 自定义', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 19:06:07.0000000', N'0')
  4521. GO
  4522. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'14', N'1', N'通知', N'1', N'system_notice_type', N'0', N'success', N'', N'通知', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 13:05:57.0000000', N'0')
  4523. GO
  4524. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'15', N'2', N'公告', N'2', N'system_notice_type', N'0', N'info', N'', N'公告', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 13:06:01.0000000', N'0')
  4525. GO
  4526. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'16', N'0', N'其它', N'0', N'system_operate_type', N'0', N'default', N'', N'其它操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:32:46.0000000', N'0')
  4527. GO
  4528. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'17', N'1', N'查询', N'1', N'system_operate_type', N'0', N'info', N'', N'查询操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:16.0000000', N'0')
  4529. GO
  4530. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'18', N'2', N'新增', N'2', N'system_operate_type', N'0', N'primary', N'', N'新增操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:13.0000000', N'0')
  4531. GO
  4532. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'19', N'3', N'修改', N'3', N'system_operate_type', N'0', N'warning', N'', N'修改操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:22.0000000', N'0')
  4533. GO
  4534. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'20', N'4', N'删除', N'4', N'system_operate_type', N'0', N'danger', N'', N'删除操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:27.0000000', N'0')
  4535. GO
  4536. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'22', N'5', N'导出', N'5', N'system_operate_type', N'0', N'default', N'', N'导出操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:32.0000000', N'0')
  4537. GO
  4538. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'23', N'6', N'导入', N'6', N'system_operate_type', N'0', N'default', N'', N'导入操作', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:33:35.0000000', N'0')
  4539. GO
  4540. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'27', N'1', N'开启', N'0', N'common_status', N'0', N'primary', N'', N'开启状态', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 08:00:39.0000000', N'0')
  4541. GO
  4542. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'28', N'2', N'关闭', N'1', N'common_status', N'0', N'info', N'', N'关闭状态', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 08:00:44.0000000', N'0')
  4543. GO
  4544. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'29', N'1', N'目录', N'1', N'system_menu_type', N'0', N'', N'', N'目录', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:43:45.0000000', N'0')
  4545. GO
  4546. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'30', N'2', N'菜单', N'2', N'system_menu_type', N'0', N'', N'', N'菜单', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:43:41.0000000', N'0')
  4547. GO
  4548. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'31', N'3', N'按钮', N'3', N'system_menu_type', N'0', N'', N'', N'按钮', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:43:39.0000000', N'0')
  4549. GO
  4550. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'32', N'1', N'内置', N'1', N'system_role_type', N'0', N'danger', N'', N'内置角色', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 13:02:08.0000000', N'0')
  4551. GO
  4552. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'33', N'2', N'自定义', N'2', N'system_role_type', N'0', N'primary', N'', N'自定义角色', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 13:02:12.0000000', N'0')
  4553. GO
  4554. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'34', N'1', N'全部数据权限', N'1', N'system_data_scope', N'0', N'', N'', N'全部数据权限', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:47:17.0000000', N'0')
  4555. GO
  4556. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'35', N'2', N'指定部门数据权限', N'2', N'system_data_scope', N'0', N'', N'', N'指定部门数据权限', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:47:18.0000000', N'0')
  4557. GO
  4558. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'36', N'3', N'本部门数据权限', N'3', N'system_data_scope', N'0', N'', N'', N'本部门数据权限', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:47:16.0000000', N'0')
  4559. GO
  4560. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'37', N'4', N'本部门及以下数据权限', N'4', N'system_data_scope', N'0', N'', N'', N'本部门及以下数据权限', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:47:21.0000000', N'0')
  4561. GO
  4562. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'38', N'5', N'仅本人数据权限', N'5', N'system_data_scope', N'0', N'', N'', N'仅本人数据权限', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:47:23.0000000', N'0')
  4563. GO
  4564. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'39', N'0', N'成功', N'0', N'system_login_result', N'0', N'success', N'', N'登陆结果 - 成功', N'', N'2021-01-18 06:17:36.0000000', N'1', N'2022-02-16 13:23:49.0000000', N'0')
  4565. GO
  4566. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'40', N'10', N'账号或密码不正确', N'10', N'system_login_result', N'0', N'primary', N'', N'登陆结果 - 账号或密码不正确', N'', N'2021-01-18 06:17:54.0000000', N'1', N'2022-02-16 13:24:27.0000000', N'0')
  4567. GO
  4568. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'41', N'20', N'用户被禁用', N'20', N'system_login_result', N'0', N'warning', N'', N'登陆结果 - 用户被禁用', N'', N'2021-01-18 06:17:54.0000000', N'1', N'2022-02-16 13:23:57.0000000', N'0')
  4569. GO
  4570. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'42', N'30', N'验证码不存在', N'30', N'system_login_result', N'0', N'info', N'', N'登陆结果 - 验证码不存在', N'', N'2021-01-18 06:17:54.0000000', N'1', N'2022-02-16 13:24:07.0000000', N'0')
  4571. GO
  4572. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'43', N'31', N'验证码不正确', N'31', N'system_login_result', N'0', N'info', N'', N'登陆结果 - 验证码不正确', N'', N'2021-01-18 06:17:54.0000000', N'1', N'2022-02-16 13:24:11.0000000', N'0')
  4573. GO
  4574. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'44', N'100', N'未知异常', N'100', N'system_login_result', N'0', N'danger', N'', N'登陆结果 - 未知异常', N'', N'2021-01-18 06:17:54.0000000', N'1', N'2022-02-16 13:24:23.0000000', N'0')
  4575. GO
  4576. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'45', N'1', N'是', N'true', N'infra_boolean_string', N'0', N'danger', N'', N'Boolean 是否类型 - 是', N'', N'2021-01-19 03:20:55.0000000', N'1', N'2022-03-15 23:01:45.0000000', N'0')
  4577. GO
  4578. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'46', N'1', N'否', N'false', N'infra_boolean_string', N'0', N'info', N'', N'Boolean 是否类型 - 否', N'', N'2021-01-19 03:20:55.0000000', N'1', N'2022-03-15 23:09:45.0000000', N'0')
  4579. GO
  4580. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'47', N'1', N'永不超时', N'1', N'infra_redis_timeout_type', N'0', N'primary', N'', N'Redis 未设置超时的情况', N'', N'2021-01-26 00:53:17.0000000', N'1', N'2022-02-16 19:03:35.0000000', N'0')
  4581. GO
  4582. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'48', N'1', N'动态超时', N'2', N'infra_redis_timeout_type', N'0', N'info', N'', N'程序里动态传入超时时间,无法固定', N'', N'2021-01-26 00:55:00.0000000', N'1', N'2022-02-16 19:03:41.0000000', N'0')
  4583. GO
  4584. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'49', N'3', N'固定超时', N'3', N'infra_redis_timeout_type', N'0', N'success', N'', N'Redis 设置了过期时间', N'', N'2021-01-26 00:55:26.0000000', N'1', N'2022-02-16 19:03:45.0000000', N'0')
  4585. GO
  4586. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'50', N'1', N'单表(增删改查)', N'1', N'infra_codegen_template_type', N'0', N'', N'', NULL, N'', N'2021-02-05 07:09:06.0000000', N'', N'2022-03-10 16:33:15.0000000', N'0')
  4587. GO
  4588. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'51', N'2', N'树表(增删改查)', N'2', N'infra_codegen_template_type', N'0', N'', N'', NULL, N'', N'2021-02-05 07:14:46.0000000', N'', N'2022-03-10 16:33:19.0000000', N'0')
  4589. GO
  4590. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'53', N'0', N'初始化中', N'0', N'infra_job_status', N'0', N'primary', N'', NULL, N'', N'2021-02-07 07:46:49.0000000', N'1', N'2022-02-16 19:33:29.0000000', N'0')
  4591. GO
  4592. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'57', N'0', N'运行中', N'0', N'infra_job_log_status', N'0', N'primary', N'', N'RUNNING', N'', N'2021-02-08 10:04:24.0000000', N'1', N'2022-02-16 19:07:48.0000000', N'0')
  4593. GO
  4594. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'58', N'1', N'成功', N'1', N'infra_job_log_status', N'0', N'success', N'', NULL, N'', N'2021-02-08 10:06:57.0000000', N'1', N'2022-02-16 19:07:52.0000000', N'0')
  4595. GO
  4596. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'59', N'2', N'失败', N'2', N'infra_job_log_status', N'0', N'warning', N'', N'失败', N'', N'2021-02-08 10:07:38.0000000', N'1', N'2022-02-16 19:07:56.0000000', N'0')
  4597. GO
  4598. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'60', N'1', N'会员', N'1', N'user_type', N'0', N'primary', N'', NULL, N'', N'2021-02-26 00:16:27.0000000', N'1', N'2022-02-16 10:22:19.0000000', N'0')
  4599. GO
  4600. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'61', N'2', N'管理员', N'2', N'user_type', N'0', N'success', N'', NULL, N'', N'2021-02-26 00:16:34.0000000', N'1', N'2022-02-16 10:22:22.0000000', N'0')
  4601. GO
  4602. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'62', N'0', N'未处理', N'0', N'infra_api_error_log_process_status', N'0', N'primary', N'', NULL, N'', N'2021-02-26 07:07:19.0000000', N'1', N'2022-02-16 20:14:17.0000000', N'0')
  4603. GO
  4604. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'63', N'1', N'已处理', N'1', N'infra_api_error_log_process_status', N'0', N'success', N'', NULL, N'', N'2021-02-26 07:07:26.0000000', N'1', N'2022-02-16 20:14:08.0000000', N'0')
  4605. GO
  4606. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'66', N'2', N'阿里云', N'ALIYUN', N'system_sms_channel_code', N'0', N'primary', N'', NULL, N'1', N'2021-04-05 01:05:26.0000000', N'1', N'2022-02-16 10:09:52.0000000', N'0')
  4607. GO
  4608. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'67', N'1', N'验证码', N'1', N'system_sms_template_type', N'0', N'warning', N'', NULL, N'1', N'2021-04-05 21:50:57.0000000', N'1', N'2022-02-16 12:48:30.0000000', N'0')
  4609. GO
  4610. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'68', N'2', N'通知', N'2', N'system_sms_template_type', N'0', N'primary', N'', NULL, N'1', N'2021-04-05 21:51:08.0000000', N'1', N'2022-02-16 12:48:27.0000000', N'0')
  4611. GO
  4612. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'69', N'0', N'营销', N'3', N'system_sms_template_type', N'0', N'danger', N'', NULL, N'1', N'2021-04-05 21:51:15.0000000', N'1', N'2022-02-16 12:48:22.0000000', N'0')
  4613. GO
  4614. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'70', N'0', N'初始化', N'0', N'system_sms_send_status', N'0', N'primary', N'', NULL, N'1', N'2021-04-11 20:18:33.0000000', N'1', N'2022-02-16 10:26:07.0000000', N'0')
  4615. GO
  4616. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'71', N'1', N'发送成功', N'10', N'system_sms_send_status', N'0', N'success', N'', NULL, N'1', N'2021-04-11 20:18:43.0000000', N'1', N'2022-02-16 10:25:56.0000000', N'0')
  4617. GO
  4618. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'72', N'2', N'发送失败', N'20', N'system_sms_send_status', N'0', N'danger', N'', NULL, N'1', N'2021-04-11 20:18:49.0000000', N'1', N'2022-02-16 10:26:03.0000000', N'0')
  4619. GO
  4620. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'73', N'3', N'不发送', N'30', N'system_sms_send_status', N'0', N'info', N'', NULL, N'1', N'2021-04-11 20:19:44.0000000', N'1', N'2022-02-16 10:26:10.0000000', N'0')
  4621. GO
  4622. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'74', N'0', N'等待结果', N'0', N'system_sms_receive_status', N'0', N'primary', N'', NULL, N'1', N'2021-04-11 20:27:43.0000000', N'1', N'2022-02-16 10:28:24.0000000', N'0')
  4623. GO
  4624. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'75', N'1', N'接收成功', N'10', N'system_sms_receive_status', N'0', N'success', N'', NULL, N'1', N'2021-04-11 20:29:25.0000000', N'1', N'2022-02-16 10:28:28.0000000', N'0')
  4625. GO
  4626. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'76', N'2', N'接收失败', N'20', N'system_sms_receive_status', N'0', N'danger', N'', NULL, N'1', N'2021-04-11 20:29:31.0000000', N'1', N'2022-02-16 10:28:32.0000000', N'0')
  4627. GO
  4628. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'77', N'0', N'调试(钉钉)', N'DEBUG_DING_TALK', N'system_sms_channel_code', N'0', N'info', N'', NULL, N'1', N'2021-04-13 00:20:37.0000000', N'1', N'2022-02-16 10:10:00.0000000', N'0')
  4629. GO
  4630. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'78', N'1', N'自动生成', N'1', N'system_error_code_type', N'0', N'warning', N'', NULL, N'1', N'2021-04-21 00:06:48.0000000', N'1', N'2022-02-16 13:57:20.0000000', N'0')
  4631. GO
  4632. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'79', N'2', N'手动编辑', N'2', N'system_error_code_type', N'0', N'primary', N'', NULL, N'1', N'2021-04-21 00:07:14.0000000', N'1', N'2022-02-16 13:57:24.0000000', N'0')
  4633. GO
  4634. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'80', N'100', N'账号登录', N'100', N'system_login_type', N'0', N'primary', N'', N'账号登录', N'1', N'2021-10-06 00:52:02.0000000', N'1', N'2022-02-16 13:11:34.0000000', N'0')
  4635. GO
  4636. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'81', N'101', N'社交登录', N'101', N'system_login_type', N'0', N'info', N'', N'社交登录', N'1', N'2021-10-06 00:52:17.0000000', N'1', N'2022-02-16 13:11:40.0000000', N'0')
  4637. GO
  4638. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'83', N'200', N'主动登出', N'200', N'system_login_type', N'0', N'primary', N'', N'主动登出', N'1', N'2021-10-06 00:52:58.0000000', N'1', N'2022-02-16 13:11:49.0000000', N'0')
  4639. GO
  4640. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'85', N'202', N'强制登出', N'202', N'system_login_type', N'0', N'danger', N'', N'强制退出', N'1', N'2021-10-06 00:53:41.0000000', N'1', N'2022-02-16 13:11:57.0000000', N'0')
  4641. GO
  4642. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'86', N'0', N'病假', N'1', N'bpm_oa_leave_type', N'0', N'primary', N'', NULL, N'1', N'2021-09-21 22:35:28.0000000', N'1', N'2022-02-16 10:00:41.0000000', N'0')
  4643. GO
  4644. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'87', N'1', N'事假', N'2', N'bpm_oa_leave_type', N'0', N'info', N'', NULL, N'1', N'2021-09-21 22:36:11.0000000', N'1', N'2022-02-16 10:00:49.0000000', N'0')
  4645. GO
  4646. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'88', N'2', N'婚假', N'3', N'bpm_oa_leave_type', N'0', N'warning', N'', NULL, N'1', N'2021-09-21 22:36:38.0000000', N'1', N'2022-02-16 10:00:53.0000000', N'0')
  4647. GO
  4648. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'98', N'1', N'v2', N'v2', N'pay_channel_wechat_version', N'0', N'', N'', N'v2版本', N'1', N'2021-11-08 17:00:58.0000000', N'1', N'2021-11-08 17:00:58.0000000', N'0')
  4649. GO
  4650. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'99', N'2', N'v3', N'v3', N'pay_channel_wechat_version', N'0', N'', N'', N'v3版本', N'1', N'2021-11-08 17:01:07.0000000', N'1', N'2021-11-08 17:01:07.0000000', N'0')
  4651. GO
  4652. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'108', N'1', N'RSA2', N'RSA2', N'pay_channel_alipay_sign_type', N'0', N'', N'', N'RSA2', N'1', N'2021-11-18 15:39:29.0000000', N'1', N'2021-11-18 15:39:29.0000000', N'0')
  4653. GO
  4654. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'109', N'1', N'公钥模式', N'1', N'pay_channel_alipay_mode', N'0', N'', N'', N'公钥模式:privateKey + alipayPublicKey', N'1', N'2021-11-18 15:45:23.0000000', N'1', N'2021-11-18 15:45:23.0000000', N'0')
  4655. GO
  4656. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'110', N'2', N'证书模式', N'2', N'pay_channel_alipay_mode', N'0', N'', N'', N'证书模式:appCertContent + alipayPublicCertContent + rootCertContent', N'1', N'2021-11-18 15:45:40.0000000', N'1', N'2021-11-18 15:45:40.0000000', N'0')
  4657. GO
  4658. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'111', N'1', N'线上', N'https://openapi.alipay.com/gateway.do', N'pay_channel_alipay_server_type', N'0', N'', N'', N'网关地址 - 线上', N'1', N'2021-11-18 16:59:32.0000000', N'1', N'2021-11-21 17:37:29.0000000', N'0')
  4659. GO
  4660. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'112', N'2', N'沙箱', N'https://openapi.alipaydev.com/gateway.do', N'pay_channel_alipay_server_type', N'0', N'', N'', N'网关地址 - 沙箱', N'1', N'2021-11-18 16:59:48.0000000', N'1', N'2021-11-21 17:37:39.0000000', N'0')
  4661. GO
  4662. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'113', N'1', N'微信 JSAPI 支付', N'wx_pub', N'pay_channel_code_type', N'0', N'', N'', N'微信 JSAPI(公众号) 支付', N'1', N'2021-12-03 10:40:24.0000000', N'1', N'2021-12-04 16:41:00.0000000', N'0')
  4663. GO
  4664. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'114', N'2', N'微信小程序支付', N'wx_lite', N'pay_channel_code_type', N'0', N'', N'', N'微信小程序支付', N'1', N'2021-12-03 10:41:06.0000000', N'1', N'2021-12-03 10:41:06.0000000', N'0')
  4665. GO
  4666. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'115', N'3', N'微信 App 支付', N'wx_app', N'pay_channel_code_type', N'0', N'', N'', N'微信 App 支付', N'1', N'2021-12-03 10:41:20.0000000', N'1', N'2021-12-03 10:41:20.0000000', N'0')
  4667. GO
  4668. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'116', N'4', N'支付宝 PC 网站支付', N'alipay_pc', N'pay_channel_code_type', N'0', N'', N'', N'支付宝 PC 网站支付', N'1', N'2021-12-03 10:42:09.0000000', N'1', N'2021-12-03 10:42:09.0000000', N'0')
  4669. GO
  4670. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'117', N'5', N'支付宝 Wap 网站支付', N'alipay_wap', N'pay_channel_code_type', N'0', N'', N'', N'支付宝 Wap 网站支付', N'1', N'2021-12-03 10:42:26.0000000', N'1', N'2021-12-03 10:42:26.0000000', N'0')
  4671. GO
  4672. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'118', N'6', N'支付宝App 支付', N'alipay_app', N'pay_channel_code_type', N'0', N'', N'', N'支付宝App 支付', N'1', N'2021-12-03 10:42:55.0000000', N'1', N'2021-12-03 10:42:55.0000000', N'0')
  4673. GO
  4674. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'119', N'7', N'支付宝扫码支付', N'alipay_qr', N'pay_channel_code_type', N'0', N'', N'', N'支付宝扫码支付', N'1', N'2021-12-03 10:43:10.0000000', N'1', N'2021-12-03 10:43:10.0000000', N'0')
  4675. GO
  4676. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'120', N'1', N'通知成功', N'10', N'pay_order_notify_status', N'0', N'success', N'', N'通知成功', N'1', N'2021-12-03 11:02:41.0000000', N'1', N'2022-02-16 13:59:13.0000000', N'0')
  4677. GO
  4678. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'121', N'2', N'通知失败', N'20', N'pay_order_notify_status', N'0', N'danger', N'', N'通知失败', N'1', N'2021-12-03 11:02:59.0000000', N'1', N'2022-02-16 13:59:17.0000000', N'0')
  4679. GO
  4680. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'122', N'3', N'未通知', N'0', N'pay_order_notify_status', N'0', N'info', N'', N'未通知', N'1', N'2021-12-03 11:03:10.0000000', N'1', N'2022-02-16 13:59:23.0000000', N'0')
  4681. GO
  4682. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'123', N'1', N'支付成功', N'10', N'pay_order_status', N'0', N'success', N'', N'支付成功', N'1', N'2021-12-03 11:18:29.0000000', N'1', N'2022-02-16 15:24:25.0000000', N'0')
  4683. GO
  4684. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'124', N'2', N'支付关闭', N'20', N'pay_order_status', N'0', N'danger', N'', N'支付关闭', N'1', N'2021-12-03 11:18:42.0000000', N'1', N'2022-02-16 15:24:31.0000000', N'0')
  4685. GO
  4686. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'125', N'3', N'未支付', N'0', N'pay_order_status', N'0', N'info', N'', N'未支付', N'1', N'2021-12-03 11:18:18.0000000', N'1', N'2022-02-16 15:24:35.0000000', N'0')
  4687. GO
  4688. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'126', N'1', N'未退款', N'0', N'pay_order_refund_status', N'0', N'', N'', N'未退款', N'1', N'2021-12-03 11:30:35.0000000', N'1', N'2021-12-03 11:34:05.0000000', N'0')
  4689. GO
  4690. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'127', N'2', N'部分退款', N'10', N'pay_order_refund_status', N'0', N'', N'', N'部分退款', N'1', N'2021-12-03 11:30:44.0000000', N'1', N'2021-12-03 11:34:10.0000000', N'0')
  4691. GO
  4692. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'128', N'3', N'全部退款', N'20', N'pay_order_refund_status', N'0', N'', N'', N'全部退款', N'1', N'2021-12-03 11:30:52.0000000', N'1', N'2021-12-03 11:34:14.0000000', N'0')
  4693. GO
  4694. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1117', N'1', N'退款订单生成', N'0', N'pay_refund_order_status', N'0', N'primary', N'', N'退款订单生成', N'1', N'2021-12-10 16:44:44.0000000', N'1', N'2022-02-16 14:05:24.0000000', N'0')
  4695. GO
  4696. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1118', N'2', N'退款成功', N'1', N'pay_refund_order_status', N'0', N'success', N'', N'退款成功', N'1', N'2021-12-10 16:44:59.0000000', N'1', N'2022-02-16 14:05:28.0000000', N'0')
  4697. GO
  4698. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1119', N'3', N'退款失败', N'2', N'pay_refund_order_status', N'0', N'danger', N'', N'退款失败', N'1', N'2021-12-10 16:45:10.0000000', N'1', N'2022-02-16 14:05:34.0000000', N'0')
  4699. GO
  4700. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1124', N'8', N'退款关闭', N'99', N'pay_refund_order_status', N'0', N'info', N'', N'退款关闭', N'1', N'2021-12-10 16:46:26.0000000', N'1', N'2022-02-16 14:05:40.0000000', N'0')
  4701. GO
  4702. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1125', N'0', N'默认', N'1', N'bpm_model_category', N'0', N'primary', N'', N'流程分类 - 默认', N'1', N'2022-01-02 08:41:11.0000000', N'1', N'2022-02-16 20:01:42.0000000', N'0')
  4703. GO
  4704. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1126', N'0', N'OA', N'2', N'bpm_model_category', N'0', N'success', N'', N'流程分类 - OA', N'1', N'2022-01-02 08:41:22.0000000', N'1', N'2022-02-16 20:01:50.0000000', N'0')
  4705. GO
  4706. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1127', N'0', N'进行中', N'1', N'bpm_process_instance_status', N'0', N'primary', N'', N'流程实例的状态 - 进行中', N'1', N'2022-01-07 23:47:22.0000000', N'1', N'2022-02-16 20:07:49.0000000', N'0')
  4707. GO
  4708. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1128', N'2', N'已完成', N'2', N'bpm_process_instance_status', N'0', N'success', N'', N'流程实例的状态 - 已完成', N'1', N'2022-01-07 23:47:49.0000000', N'1', N'2022-02-16 20:07:54.0000000', N'0')
  4709. GO
  4710. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1129', N'1', N'处理中', N'1', N'bpm_process_instance_result', N'0', N'primary', N'', N'流程实例的结果 - 处理中', N'1', N'2022-01-07 23:48:32.0000000', N'1', N'2022-02-16 09:53:26.0000000', N'0')
  4711. GO
  4712. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1130', N'2', N'通过', N'2', N'bpm_process_instance_result', N'0', N'success', N'', N'流程实例的结果 - 通过', N'1', N'2022-01-07 23:48:45.0000000', N'1', N'2022-02-16 09:53:31.0000000', N'0')
  4713. GO
  4714. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1131', N'3', N'不通过', N'3', N'bpm_process_instance_result', N'0', N'danger', N'', N'流程实例的结果 - 不通过', N'1', N'2022-01-07 23:48:55.0000000', N'1', N'2022-02-16 09:53:38.0000000', N'0')
  4715. GO
  4716. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1132', N'4', N'已取消', N'4', N'bpm_process_instance_result', N'0', N'info', N'', N'流程实例的结果 - 撤销', N'1', N'2022-01-07 23:49:06.0000000', N'1', N'2022-02-16 09:53:42.0000000', N'0')
  4717. GO
  4718. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1133', N'10', N'流程表单', N'10', N'bpm_model_form_type', N'0', N'', N'', N'流程的表单类型 - 流程表单', N'103', N'2022-01-11 23:51:30.0000000', N'103', N'2022-01-11 23:51:30.0000000', N'0')
  4719. GO
  4720. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1134', N'20', N'业务表单', N'20', N'bpm_model_form_type', N'0', N'', N'', N'流程的表单类型 - 业务表单', N'103', N'2022-01-11 23:51:47.0000000', N'103', N'2022-01-11 23:51:47.0000000', N'0')
  4721. GO
  4722. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1135', N'10', N'角色', N'10', N'bpm_task_assign_rule_type', N'0', N'info', N'', N'任务分配规则的类型 - 角色', N'103', N'2022-01-12 23:21:22.0000000', N'1', N'2022-02-16 20:06:14.0000000', N'0')
  4723. GO
  4724. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1136', N'20', N'部门的成员', N'20', N'bpm_task_assign_rule_type', N'0', N'primary', N'', N'任务分配规则的类型 - 部门的成员', N'103', N'2022-01-12 23:21:47.0000000', N'1', N'2022-02-16 20:05:28.0000000', N'0')
  4725. GO
  4726. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1137', N'21', N'部门的负责人', N'21', N'bpm_task_assign_rule_type', N'0', N'primary', N'', N'任务分配规则的类型 - 部门的负责人', N'103', N'2022-01-12 23:33:36.0000000', N'1', N'2022-02-16 20:05:31.0000000', N'0')
  4727. GO
  4728. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1138', N'30', N'用户', N'30', N'bpm_task_assign_rule_type', N'0', N'info', N'', N'任务分配规则的类型 - 用户', N'103', N'2022-01-12 23:34:02.0000000', N'1', N'2022-02-16 20:05:50.0000000', N'0')
  4729. GO
  4730. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1139', N'40', N'用户组', N'40', N'bpm_task_assign_rule_type', N'0', N'warning', N'', N'任务分配规则的类型 - 用户组', N'103', N'2022-01-12 23:34:21.0000000', N'1', N'2022-02-16 20:05:57.0000000', N'0')
  4731. GO
  4732. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1140', N'50', N'自定义脚本', N'50', N'bpm_task_assign_rule_type', N'0', N'danger', N'', N'任务分配规则的类型 - 自定义脚本', N'103', N'2022-01-12 23:34:43.0000000', N'1', N'2022-02-16 20:06:01.0000000', N'0')
  4733. GO
  4734. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1141', N'22', N'岗位', N'22', N'bpm_task_assign_rule_type', N'0', N'success', N'', N'任务分配规则的类型 - 岗位', N'103', N'2022-01-14 18:41:55.0000000', N'1', N'2022-02-16 20:05:39.0000000', N'0')
  4735. GO
  4736. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1142', N'10', N'流程发起人', N'10', N'bpm_task_assign_script', N'0', N'', N'', N'任务分配自定义脚本 - 流程发起人', N'103', N'2022-01-15 00:10:57.0000000', N'103', N'2022-01-15 21:24:10.0000000', N'0')
  4737. GO
  4738. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1143', N'20', N'流程发起人的一级领导', N'20', N'bpm_task_assign_script', N'0', N'', N'', N'任务分配自定义脚本 - 流程发起人的一级领导', N'103', N'2022-01-15 21:24:31.0000000', N'103', N'2022-01-15 21:24:31.0000000', N'0')
  4739. GO
  4740. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1144', N'21', N'流程发起人的二级领导', N'21', N'bpm_task_assign_script', N'0', N'', N'', N'任务分配自定义脚本 - 流程发起人的二级领导', N'103', N'2022-01-15 21:24:46.0000000', N'103', N'2022-01-15 21:24:57.0000000', N'0')
  4741. GO
  4742. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1145', N'1', N'管理后台', N'1', N'infra_codegen_scene', N'0', N'', N'', N'代码生成的场景枚举 - 管理后台', N'1', N'2022-02-02 13:15:06.0000000', N'1', N'2022-03-10 16:32:59.0000000', N'0')
  4743. GO
  4744. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1146', N'2', N'用户 APP', N'2', N'infra_codegen_scene', N'0', N'', N'', N'代码生成的场景枚举 - 用户 APP', N'1', N'2022-02-02 13:15:19.0000000', N'1', N'2022-03-10 16:33:03.0000000', N'0')
  4745. GO
  4746. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1147', N'0', N'未退款', N'0', N'pay_refund_order_type', N'0', N'info', N'', N'退款类型 - 未退款', N'1', N'2022-02-16 14:09:01.0000000', N'1', N'2022-02-16 14:09:01.0000000', N'0')
  4747. GO
  4748. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1148', N'10', N'部分退款', N'10', N'pay_refund_order_type', N'0', N'success', N'', N'退款类型 - 部分退款', N'1', N'2022-02-16 14:09:25.0000000', N'1', N'2022-02-16 14:11:38.0000000', N'0')
  4749. GO
  4750. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1149', N'20', N'全部退款', N'20', N'pay_refund_order_type', N'0', N'warning', N'', N'退款类型 - 全部退款', N'1', N'2022-02-16 14:11:33.0000000', N'1', N'2022-02-16 14:11:33.0000000', N'0')
  4751. GO
  4752. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1150', N'1', N'数据库', N'1', N'infra_file_storage', N'0', N'default', N'', NULL, N'1', N'2022-03-15 00:25:28.0000000', N'1', N'2022-03-15 00:25:28.0000000', N'0')
  4753. GO
  4754. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1151', N'10', N'本地磁盘', N'10', N'infra_file_storage', N'0', N'default', N'', NULL, N'1', N'2022-03-15 00:25:41.0000000', N'1', N'2022-03-15 00:25:56.0000000', N'0')
  4755. GO
  4756. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1152', N'11', N'FTP 服务器', N'11', N'infra_file_storage', N'0', N'default', N'', NULL, N'1', N'2022-03-15 00:26:06.0000000', N'1', N'2022-03-15 00:26:10.0000000', N'0')
  4757. GO
  4758. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1153', N'12', N'SFTP 服务器', N'12', N'infra_file_storage', N'0', N'default', N'', NULL, N'1', N'2022-03-15 00:26:22.0000000', N'1', N'2022-03-15 00:26:22.0000000', N'0')
  4759. GO
  4760. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1154', N'20', N'S3 对象存储', N'20', N'infra_file_storage', N'0', N'default', N'', NULL, N'1', N'2022-03-15 00:26:31.0000000', N'1', N'2022-03-15 00:26:45.0000000', N'0')
  4761. GO
  4762. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1155', N'103', N'短信登录', N'103', N'system_login_type', N'0', N'default', N'', NULL, N'1', N'2022-05-09 23:57:58.0000000', N'1', N'2022-05-09 23:58:09.0000000', N'0')
  4763. GO
  4764. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1156', N'1', N'password', N'password', N'system_oauth2_grant_type', N'0', N'default', N'', N'密码模式', N'1', N'2022-05-12 00:22:05.0000000', N'1', N'2022-05-11 16:26:01.0000000', N'0')
  4765. GO
  4766. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1157', N'2', N'authorization_code', N'authorization_code', N'system_oauth2_grant_type', N'0', N'primary', N'', N'授权码模式', N'1', N'2022-05-12 00:22:59.0000000', N'1', N'2022-05-11 16:26:02.0000000', N'0')
  4767. GO
  4768. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1158', N'3', N'implicit', N'implicit', N'system_oauth2_grant_type', N'0', N'success', N'', N'简化模式', N'1', N'2022-05-12 00:23:40.0000000', N'1', N'2022-05-11 16:26:05.0000000', N'0')
  4769. GO
  4770. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1159', N'4', N'client_credentials', N'client_credentials', N'system_oauth2_grant_type', N'0', N'default', N'', N'客户端模式', N'1', N'2022-05-12 00:23:51.0000000', N'1', N'2022-05-11 16:26:08.0000000', N'0')
  4771. GO
  4772. INSERT INTO [dbo].[system_dict_data] ([id], [sort], [label], [value], [dict_type], [status], [color_type], [css_class], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1160', N'5', N'refresh_token', N'refresh_token', N'system_oauth2_grant_type', N'0', N'info', N'', N'刷新模式', N'1', N'2022-05-12 00:24:02.0000000', N'1', N'2022-05-11 16:26:11.0000000', N'0')
  4773. GO
  4774. SET IDENTITY_INSERT [dbo].[system_dict_data] OFF
  4775. GO
  4776. COMMIT
  4777. GO
  4778. -- ----------------------------
  4779. -- Table structure for system_dict_type
  4780. -- ----------------------------
  4781. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_dict_type]') AND type IN ('U'))
  4782. DROP TABLE [dbo].[system_dict_type]
  4783. GO
  4784. CREATE TABLE [dbo].[system_dict_type]
  4785. (
  4786. [id]
  4787. bigint
  4788. IDENTITY
  4789. (
  4790. 1,
  4791. 1
  4792. ) NOT NULL,
  4793. [name] nvarchar
  4794. (
  4795. 100
  4796. ) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4797. [type] nvarchar
  4798. (
  4799. 100
  4800. ) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4801. [status] tinyint NOT NULL,
  4802. [remark] nvarchar
  4803. (
  4804. 500
  4805. ) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4806. [creator] nvarchar
  4807. (
  4808. 64
  4809. ) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4810. [create_time] datetime2
  4811. (
  4812. 7
  4813. ) NOT NULL,
  4814. [updater] nvarchar
  4815. (
  4816. 64
  4817. ) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4818. [update_time] datetime2
  4819. (
  4820. 7
  4821. ) NOT NULL,
  4822. [deleted_time] datetime2
  4823. (
  4824. 7
  4825. ),
  4826. [deleted] bit DEFAULT 0 NOT NULL
  4827. )
  4828. GO
  4829. ALTER TABLE [dbo].[system_dict_type] SET (LOCK_ESCALATION = TABLE)
  4830. GO
  4831. EXEC sp_addextendedproperty
  4832. 'MS_Description', N'字典主键',
  4833. 'SCHEMA', N'dbo',
  4834. 'TABLE', N'system_dict_type',
  4835. 'COLUMN', N'id'
  4836. GO
  4837. EXEC sp_addextendedproperty
  4838. 'MS_Description', N'字典名称',
  4839. 'SCHEMA', N'dbo',
  4840. 'TABLE', N'system_dict_type',
  4841. 'COLUMN', N'name'
  4842. GO
  4843. EXEC sp_addextendedproperty
  4844. 'MS_Description', N'字典类型',
  4845. 'SCHEMA', N'dbo',
  4846. 'TABLE', N'system_dict_type',
  4847. 'COLUMN', N'type'
  4848. GO
  4849. EXEC sp_addextendedproperty
  4850. 'MS_Description', N'状态(0正常 1停用)',
  4851. 'SCHEMA', N'dbo',
  4852. 'TABLE', N'system_dict_type',
  4853. 'COLUMN', N'status'
  4854. GO
  4855. EXEC sp_addextendedproperty
  4856. 'MS_Description', N'备注',
  4857. 'SCHEMA', N'dbo',
  4858. 'TABLE', N'system_dict_type',
  4859. 'COLUMN', N'remark'
  4860. GO
  4861. EXEC sp_addextendedproperty
  4862. 'MS_Description', N'创建者',
  4863. 'SCHEMA', N'dbo',
  4864. 'TABLE', N'system_dict_type',
  4865. 'COLUMN', N'creator'
  4866. GO
  4867. EXEC sp_addextendedproperty
  4868. 'MS_Description', N'创建时间',
  4869. 'SCHEMA', N'dbo',
  4870. 'TABLE', N'system_dict_type',
  4871. 'COLUMN', N'create_time'
  4872. GO
  4873. EXEC sp_addextendedproperty
  4874. 'MS_Description', N'更新者',
  4875. 'SCHEMA', N'dbo',
  4876. 'TABLE', N'system_dict_type',
  4877. 'COLUMN', N'updater'
  4878. GO
  4879. EXEC sp_addextendedproperty
  4880. 'MS_Description', N'更新时间',
  4881. 'SCHEMA', N'dbo',
  4882. 'TABLE', N'system_dict_type',
  4883. 'COLUMN', N'update_time'
  4884. GO
  4885. EXEC sp_addextendedproperty
  4886. 'MS_Description', N'删除时间',
  4887. 'SCHEMA', N'dbo',
  4888. 'TABLE', N'system_dict_type',
  4889. 'COLUMN', N'deleted_time'
  4890. GO
  4891. EXEC sp_addextendedproperty
  4892. 'MS_Description', N'是否删除',
  4893. 'SCHEMA', N'dbo',
  4894. 'TABLE', N'system_dict_type',
  4895. 'COLUMN', N'deleted'
  4896. GO
  4897. EXEC sp_addextendedproperty
  4898. 'MS_Description', N'字典类型表',
  4899. 'SCHEMA', N'dbo',
  4900. 'TABLE', N'system_dict_type'
  4901. GO
  4902. -- ----------------------------
  4903. -- Records of system_dict_type
  4904. -- ----------------------------
  4905. BEGIN TRANSACTION
  4906. GO
  4907. SET IDENTITY_INSERT [dbo].[system_dict_type] ON
  4908. GO
  4909. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'用户性别', N'system_user_sex', N'0', NULL, N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:30:31.0000000', N'0')
  4910. GO
  4911. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'6', N'参数类型', N'infra_config_type', N'0', NULL, N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:36:54.0000000', N'0')
  4912. GO
  4913. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'7', N'通知类型', N'system_notice_type', N'0', NULL, N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:35:26.0000000', N'0')
  4914. GO
  4915. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'9', N'操作类型', N'system_operate_type', N'0', NULL, N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-16 09:32:21.0000000', N'0')
  4916. GO
  4917. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'10', N'系统状态', N'common_status', N'0', NULL, N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-01 16:21:28.0000000', N'0')
  4918. GO
  4919. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'11', N'Boolean 是否类型', N'infra_boolean_string', N'0', N'boolean 转是否', N'', N'2021-01-19 03:20:08.0000000', N'', N'2022-02-01 16:37:10.0000000', N'0')
  4920. GO
  4921. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'104', N'登陆结果', N'system_login_result', N'0', N'登陆结果', N'', N'2021-01-18 06:17:11.0000000', N'', N'2022-02-01 16:36:00.0000000', N'0')
  4922. GO
  4923. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'105', N'Redis 超时类型', N'infra_redis_timeout_type', N'0', N'RedisKeyDefine.TimeoutTypeEnum', N'', N'2021-01-26 00:52:50.0000000', N'', N'2022-02-01 16:50:29.0000000', N'0')
  4924. GO
  4925. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'106', N'代码生成模板类型', N'infra_codegen_template_type', N'0', NULL, N'', N'2021-02-05 07:08:06.0000000', N'', N'2022-03-10 16:33:42.0000000', N'0')
  4926. GO
  4927. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'107', N'定时任务状态', N'infra_job_status', N'0', NULL, N'', N'2021-02-07 07:44:16.0000000', N'', N'2022-02-01 16:51:11.0000000', N'0')
  4928. GO
  4929. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'108', N'定时任务日志状态', N'infra_job_log_status', N'0', NULL, N'', N'2021-02-08 10:03:51.0000000', N'', N'2022-02-01 16:50:43.0000000', N'0')
  4930. GO
  4931. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'109', N'用户类型', N'user_type', N'0', NULL, N'', N'2021-02-26 00:15:51.0000000', N'', N'2021-02-26 00:15:51.0000000', N'0')
  4932. GO
  4933. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'110', N'API 异常数据的处理状态', N'infra_api_error_log_process_status', N'0', NULL, N'', N'2021-02-26 07:07:01.0000000', N'', N'2022-02-01 16:50:53.0000000', N'0')
  4934. GO
  4935. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'111', N'短信渠道编码', N'system_sms_channel_code', N'0', NULL, N'1', N'2021-04-05 01:04:50.0000000', N'1', N'2022-02-16 02:09:08.0000000', N'0')
  4936. GO
  4937. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'112', N'短信模板的类型', N'system_sms_template_type', N'0', NULL, N'1', N'2021-04-05 21:50:43.0000000', N'1', N'2022-02-01 16:35:06.0000000', N'0')
  4938. GO
  4939. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'113', N'短信发送状态', N'system_sms_send_status', N'0', NULL, N'1', N'2021-04-11 20:18:03.0000000', N'1', N'2022-02-01 16:35:09.0000000', N'0')
  4940. GO
  4941. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'114', N'短信接收状态', N'system_sms_receive_status', N'0', NULL, N'1', N'2021-04-11 20:27:14.0000000', N'1', N'2022-02-01 16:35:14.0000000', N'0')
  4942. GO
  4943. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'115', N'错误码的类型', N'system_error_code_type', N'0', NULL, N'1', N'2021-04-21 00:06:30.0000000', N'1', N'2022-02-01 16:36:49.0000000', N'0')
  4944. GO
  4945. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'116', N'登陆日志的类型', N'system_login_type', N'0', N'登陆日志的类型', N'1', N'2021-10-06 00:50:46.0000000', N'1', N'2022-02-01 16:35:56.0000000', N'0')
  4946. GO
  4947. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'117', N'OA 请假类型', N'bpm_oa_leave_type', N'0', NULL, N'1', N'2021-09-21 22:34:33.0000000', N'1', N'2022-01-22 10:41:37.0000000', N'0')
  4948. GO
  4949. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'122', N'支付渠道微信版本', N'pay_channel_wechat_version', N'0', N'支付渠道微信版本', N'1', N'2021-11-08 17:00:26.0000000', N'1', N'2021-11-08 17:00:26.0000000', N'0')
  4950. GO
  4951. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'127', N'支付渠道支付宝算法类型', N'pay_channel_alipay_sign_type', N'0', N'支付渠道支付宝算法类型', N'1', N'2021-11-18 15:39:09.0000000', N'1', N'2021-11-18 15:39:09.0000000', N'0')
  4952. GO
  4953. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'128', N'支付渠道支付宝公钥类型', N'pay_channel_alipay_mode', N'0', N'支付渠道支付宝公钥类型', N'1', N'2021-11-18 15:44:28.0000000', N'1', N'2021-11-18 15:44:28.0000000', N'0')
  4954. GO
  4955. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'129', N'支付宝网关地址', N'pay_channel_alipay_server_type', N'0', N'支付宝网关地址', N'1', N'2021-11-18 16:58:55.0000000', N'1', N'2021-11-18 17:01:34.0000000', N'0')
  4956. GO
  4957. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'130', N'支付渠道编码类型', N'pay_channel_code_type', N'0', N'支付渠道的编码', N'1', N'2021-12-03 10:35:08.0000000', N'1', N'2021-12-03 10:35:08.0000000', N'0')
  4958. GO
  4959. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'131', N'支付订单回调状态', N'pay_order_notify_status', N'0', N'支付订单回调状态', N'1', N'2021-12-03 10:53:29.0000000', N'1', N'2021-12-03 10:53:29.0000000', N'0')
  4960. GO
  4961. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'132', N'支付订单状态', N'pay_order_status', N'0', N'支付订单状态', N'1', N'2021-12-03 11:17:50.0000000', N'1', N'2021-12-03 11:17:50.0000000', N'0')
  4962. GO
  4963. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'133', N'支付订单退款状态', N'pay_order_refund_status', N'0', N'支付订单退款状态', N'1', N'2021-12-03 11:27:31.0000000', N'1', N'2021-12-03 11:27:31.0000000', N'0')
  4964. GO
  4965. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'134', N'退款订单状态', N'pay_refund_order_status', N'0', N'退款订单状态', N'1', N'2021-12-10 16:42:50.0000000', N'1', N'2021-12-10 16:42:50.0000000', N'0')
  4966. GO
  4967. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'135', N'退款订单类别', N'pay_refund_order_type', N'0', N'退款订单类别', N'1', N'2021-12-10 17:14:53.0000000', N'1', N'2021-12-10 17:14:53.0000000', N'0')
  4968. GO
  4969. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'138', N'流程分类', N'bpm_model_category', N'0', N'流程分类', N'1', N'2022-01-02 08:40:45.0000000', N'1', N'2022-01-02 08:40:45.0000000', N'0')
  4970. GO
  4971. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'139', N'流程实例的状态', N'bpm_process_instance_status', N'0', N'流程实例的状态', N'1', N'2022-01-07 23:46:42.0000000', N'1', N'2022-01-07 23:46:42.0000000', N'0')
  4972. GO
  4973. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'140', N'流程实例的结果', N'bpm_process_instance_result', N'0', N'流程实例的结果', N'1', N'2022-01-07 23:48:10.0000000', N'1', N'2022-01-07 23:48:10.0000000', N'0')
  4974. GO
  4975. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'141', N'流程的表单类型', N'bpm_model_form_type', N'0', N'流程的表单类型', N'103', N'2022-01-11 23:50:45.0000000', N'103', N'2022-01-11 23:50:45.0000000', N'0')
  4976. GO
  4977. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'142', N'任务分配规则的类型', N'bpm_task_assign_rule_type', N'0', N'任务分配规则的类型', N'103', N'2022-01-12 23:21:04.0000000', N'103', N'2022-01-12 15:46:10.0000000', N'0')
  4978. GO
  4979. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'143', N'任务分配自定义脚本', N'bpm_task_assign_script', N'0', N'任务分配自定义脚本', N'103', N'2022-01-15 00:10:35.0000000', N'103', N'2022-01-15 00:10:35.0000000', N'0')
  4980. GO
  4981. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'144', N'代码生成的场景枚举', N'infra_codegen_scene', N'0', N'代码生成的场景枚举', N'1', N'2022-02-02 13:14:45.0000000', N'1', N'2022-03-10 16:33:46.0000000', N'0')
  4982. GO
  4983. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'145', N'角色类型', N'system_role_type', N'0', N'角色类型', N'1', N'2022-02-16 13:01:46.0000000', N'1', N'2022-02-16 13:01:46.0000000', N'0')
  4984. GO
  4985. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'146', N'文件存储器', N'infra_file_storage', N'0', N'文件存储器', N'1', N'2022-03-15 00:24:38.0000000', N'1', N'2022-03-15 00:24:38.0000000', N'0')
  4986. GO
  4987. INSERT INTO [dbo].[system_dict_type] ([id], [name], [type], [status], [remark], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'147', N'OAuth 2.0 授权类型', N'system_oauth2_grant_type', N'0', N'OAuth 2.0 授权类型(模式)', N'1', N'2022-05-12 00:20:52.0000000', N'1', N'2022-05-11 16:25:49.0000000', N'0')
  4988. GO
  4989. SET IDENTITY_INSERT [dbo].[system_dict_type] OFF
  4990. GO
  4991. COMMIT
  4992. GO
  4993. -- ----------------------------
  4994. -- Table structure for system_error_code
  4995. -- ----------------------------
  4996. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_error_code]') AND type IN ('U'))
  4997. DROP TABLE [dbo].[system_error_code]
  4998. GO
  4999. CREATE TABLE [dbo].[system_error_code] (
  5000. [id] bigint IDENTITY(1,1) NOT NULL,
  5001. [type] tinyint NOT NULL,
  5002. [application_name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5003. [code] int NOT NULL,
  5004. [message] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5005. [memo] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5006. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5007. [create_time] datetime2(7) NOT NULL,
  5008. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5009. [update_time] datetime2(7) NOT NULL,
  5010. [deleted] bit DEFAULT 0 NOT NULL
  5011. )
  5012. GO
  5013. ALTER TABLE [dbo].[system_error_code] SET (LOCK_ESCALATION = TABLE)
  5014. GO
  5015. EXEC sp_addextendedproperty
  5016. 'MS_Description', N'错误码编号',
  5017. 'SCHEMA', N'dbo',
  5018. 'TABLE', N'system_error_code',
  5019. 'COLUMN', N'id'
  5020. GO
  5021. EXEC sp_addextendedproperty
  5022. 'MS_Description', N'错误码类型',
  5023. 'SCHEMA', N'dbo',
  5024. 'TABLE', N'system_error_code',
  5025. 'COLUMN', N'type'
  5026. GO
  5027. EXEC sp_addextendedproperty
  5028. 'MS_Description', N'应用名',
  5029. 'SCHEMA', N'dbo',
  5030. 'TABLE', N'system_error_code',
  5031. 'COLUMN', N'application_name'
  5032. GO
  5033. EXEC sp_addextendedproperty
  5034. 'MS_Description', N'错误码编码',
  5035. 'SCHEMA', N'dbo',
  5036. 'TABLE', N'system_error_code',
  5037. 'COLUMN', N'code'
  5038. GO
  5039. EXEC sp_addextendedproperty
  5040. 'MS_Description', N'错误码错误提示',
  5041. 'SCHEMA', N'dbo',
  5042. 'TABLE', N'system_error_code',
  5043. 'COLUMN', N'message'
  5044. GO
  5045. EXEC sp_addextendedproperty
  5046. 'MS_Description', N'备注',
  5047. 'SCHEMA', N'dbo',
  5048. 'TABLE', N'system_error_code',
  5049. 'COLUMN', N'memo'
  5050. GO
  5051. EXEC sp_addextendedproperty
  5052. 'MS_Description', N'创建者',
  5053. 'SCHEMA', N'dbo',
  5054. 'TABLE', N'system_error_code',
  5055. 'COLUMN', N'creator'
  5056. GO
  5057. EXEC sp_addextendedproperty
  5058. 'MS_Description', N'创建时间',
  5059. 'SCHEMA', N'dbo',
  5060. 'TABLE', N'system_error_code',
  5061. 'COLUMN', N'create_time'
  5062. GO
  5063. EXEC sp_addextendedproperty
  5064. 'MS_Description', N'更新者',
  5065. 'SCHEMA', N'dbo',
  5066. 'TABLE', N'system_error_code',
  5067. 'COLUMN', N'updater'
  5068. GO
  5069. EXEC sp_addextendedproperty
  5070. 'MS_Description', N'更新时间',
  5071. 'SCHEMA', N'dbo',
  5072. 'TABLE', N'system_error_code',
  5073. 'COLUMN', N'update_time'
  5074. GO
  5075. EXEC sp_addextendedproperty
  5076. 'MS_Description', N'是否删除',
  5077. 'SCHEMA', N'dbo',
  5078. 'TABLE', N'system_error_code',
  5079. 'COLUMN', N'deleted'
  5080. GO
  5081. EXEC sp_addextendedproperty
  5082. 'MS_Description', N'错误码表',
  5083. 'SCHEMA', N'dbo',
  5084. 'TABLE', N'system_error_code'
  5085. GO
  5086. -- ----------------------------
  5087. -- Records of system_error_code
  5088. -- ----------------------------
  5089. BEGIN TRANSACTION
  5090. GO
  5091. SET IDENTITY_INSERT [dbo].[system_error_code] ON
  5092. GO
  5093. SET IDENTITY_INSERT [dbo].[system_error_code] OFF
  5094. GO
  5095. COMMIT
  5096. GO
  5097. -- ----------------------------
  5098. -- Table structure for system_login_log
  5099. -- ----------------------------
  5100. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_login_log]') AND type IN ('U'))
  5101. DROP TABLE [dbo].[system_login_log]
  5102. GO
  5103. CREATE TABLE [dbo].[system_login_log] (
  5104. [id] bigint IDENTITY(1,1) NOT NULL,
  5105. [log_type] bigint NOT NULL,
  5106. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5107. [user_id] bigint NOT NULL,
  5108. [user_type] tinyint NOT NULL,
  5109. [username] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5110. [result] tinyint NOT NULL,
  5111. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5112. [user_agent] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5113. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5114. [create_time] datetime2(7) NOT NULL,
  5115. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5116. [update_time] datetime2(7) NOT NULL,
  5117. [tenant_id] bigint NOT NULL,
  5118. [deleted] bit DEFAULT 0 NOT NULL
  5119. )
  5120. GO
  5121. ALTER TABLE [dbo].[system_login_log] SET (LOCK_ESCALATION = TABLE)
  5122. GO
  5123. EXEC sp_addextendedproperty
  5124. 'MS_Description', N'访问ID',
  5125. 'SCHEMA', N'dbo',
  5126. 'TABLE', N'system_login_log',
  5127. 'COLUMN', N'id'
  5128. GO
  5129. EXEC sp_addextendedproperty
  5130. 'MS_Description', N'日志类型',
  5131. 'SCHEMA', N'dbo',
  5132. 'TABLE', N'system_login_log',
  5133. 'COLUMN', N'log_type'
  5134. GO
  5135. EXEC sp_addextendedproperty
  5136. 'MS_Description', N'链路追踪编号',
  5137. 'SCHEMA', N'dbo',
  5138. 'TABLE', N'system_login_log',
  5139. 'COLUMN', N'trace_id'
  5140. GO
  5141. EXEC sp_addextendedproperty
  5142. 'MS_Description', N'用户编号',
  5143. 'SCHEMA', N'dbo',
  5144. 'TABLE', N'system_login_log',
  5145. 'COLUMN', N'user_id'
  5146. GO
  5147. EXEC sp_addextendedproperty
  5148. 'MS_Description', N'用户类型',
  5149. 'SCHEMA', N'dbo',
  5150. 'TABLE', N'system_login_log',
  5151. 'COLUMN', N'user_type'
  5152. GO
  5153. EXEC sp_addextendedproperty
  5154. 'MS_Description', N'用户账号',
  5155. 'SCHEMA', N'dbo',
  5156. 'TABLE', N'system_login_log',
  5157. 'COLUMN', N'username'
  5158. GO
  5159. EXEC sp_addextendedproperty
  5160. 'MS_Description', N'登陆结果',
  5161. 'SCHEMA', N'dbo',
  5162. 'TABLE', N'system_login_log',
  5163. 'COLUMN', N'result'
  5164. GO
  5165. EXEC sp_addextendedproperty
  5166. 'MS_Description', N'用户 IP',
  5167. 'SCHEMA', N'dbo',
  5168. 'TABLE', N'system_login_log',
  5169. 'COLUMN', N'user_ip'
  5170. GO
  5171. EXEC sp_addextendedproperty
  5172. 'MS_Description', N'浏览器 UA',
  5173. 'SCHEMA', N'dbo',
  5174. 'TABLE', N'system_login_log',
  5175. 'COLUMN', N'user_agent'
  5176. GO
  5177. EXEC sp_addextendedproperty
  5178. 'MS_Description', N'创建者',
  5179. 'SCHEMA', N'dbo',
  5180. 'TABLE', N'system_login_log',
  5181. 'COLUMN', N'creator'
  5182. GO
  5183. EXEC sp_addextendedproperty
  5184. 'MS_Description', N'创建时间',
  5185. 'SCHEMA', N'dbo',
  5186. 'TABLE', N'system_login_log',
  5187. 'COLUMN', N'create_time'
  5188. GO
  5189. EXEC sp_addextendedproperty
  5190. 'MS_Description', N'更新者',
  5191. 'SCHEMA', N'dbo',
  5192. 'TABLE', N'system_login_log',
  5193. 'COLUMN', N'updater'
  5194. GO
  5195. EXEC sp_addextendedproperty
  5196. 'MS_Description', N'更新时间',
  5197. 'SCHEMA', N'dbo',
  5198. 'TABLE', N'system_login_log',
  5199. 'COLUMN', N'update_time'
  5200. GO
  5201. EXEC sp_addextendedproperty
  5202. 'MS_Description', N'租户编号',
  5203. 'SCHEMA', N'dbo',
  5204. 'TABLE', N'system_login_log',
  5205. 'COLUMN', N'tenant_id'
  5206. GO
  5207. EXEC sp_addextendedproperty
  5208. 'MS_Description', N'是否删除',
  5209. 'SCHEMA', N'dbo',
  5210. 'TABLE', N'system_login_log',
  5211. 'COLUMN', N'deleted'
  5212. GO
  5213. EXEC sp_addextendedproperty
  5214. 'MS_Description', N'系统访问记录',
  5215. 'SCHEMA', N'dbo',
  5216. 'TABLE', N'system_login_log'
  5217. GO
  5218. -- ----------------------------
  5219. -- Records of system_login_log
  5220. -- ----------------------------
  5221. BEGIN TRANSACTION
  5222. GO
  5223. SET IDENTITY_INSERT [dbo].[system_login_log] ON
  5224. GO
  5225. SET IDENTITY_INSERT [dbo].[system_login_log] OFF
  5226. GO
  5227. COMMIT
  5228. GO
  5229. -- ----------------------------
  5230. -- Table structure for system_menu
  5231. -- ----------------------------
  5232. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_menu]') AND type IN ('U'))
  5233. DROP TABLE [dbo].[system_menu]
  5234. GO
  5235. CREATE TABLE [dbo].[system_menu] (
  5236. [id] bigint IDENTITY(1,1) NOT NULL,
  5237. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5238. [permission] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5239. [type] tinyint NOT NULL,
  5240. [sort] int NOT NULL,
  5241. [parent_id] bigint NOT NULL,
  5242. [path] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5243. [icon] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5244. [component] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5245. [status] tinyint NOT NULL,
  5246. [visible] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5247. [keep_alive] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5248. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5249. [create_time] datetime2(7) NOT NULL,
  5250. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5251. [update_time] datetime2(7) NOT NULL,
  5252. [deleted] bit DEFAULT 0 NOT NULL
  5253. )
  5254. GO
  5255. ALTER TABLE [dbo].[system_menu] SET (LOCK_ESCALATION = TABLE)
  5256. GO
  5257. EXEC sp_addextendedproperty
  5258. 'MS_Description', N'菜单ID',
  5259. 'SCHEMA', N'dbo',
  5260. 'TABLE', N'system_menu',
  5261. 'COLUMN', N'id'
  5262. GO
  5263. EXEC sp_addextendedproperty
  5264. 'MS_Description', N'菜单名称',
  5265. 'SCHEMA', N'dbo',
  5266. 'TABLE', N'system_menu',
  5267. 'COLUMN', N'name'
  5268. GO
  5269. EXEC sp_addextendedproperty
  5270. 'MS_Description', N'权限标识',
  5271. 'SCHEMA', N'dbo',
  5272. 'TABLE', N'system_menu',
  5273. 'COLUMN', N'permission'
  5274. GO
  5275. EXEC sp_addextendedproperty
  5276. 'MS_Description', N'菜单类型',
  5277. 'SCHEMA', N'dbo',
  5278. 'TABLE', N'system_menu',
  5279. 'COLUMN', N'type'
  5280. GO
  5281. EXEC sp_addextendedproperty
  5282. 'MS_Description', N'显示顺序',
  5283. 'SCHEMA', N'dbo',
  5284. 'TABLE', N'system_menu',
  5285. 'COLUMN', N'sort'
  5286. GO
  5287. EXEC sp_addextendedproperty
  5288. 'MS_Description', N'父菜单ID',
  5289. 'SCHEMA', N'dbo',
  5290. 'TABLE', N'system_menu',
  5291. 'COLUMN', N'parent_id'
  5292. GO
  5293. EXEC sp_addextendedproperty
  5294. 'MS_Description', N'路由地址',
  5295. 'SCHEMA', N'dbo',
  5296. 'TABLE', N'system_menu',
  5297. 'COLUMN', N'path'
  5298. GO
  5299. EXEC sp_addextendedproperty
  5300. 'MS_Description', N'菜单图标',
  5301. 'SCHEMA', N'dbo',
  5302. 'TABLE', N'system_menu',
  5303. 'COLUMN', N'icon'
  5304. GO
  5305. EXEC sp_addextendedproperty
  5306. 'MS_Description', N'组件路径',
  5307. 'SCHEMA', N'dbo',
  5308. 'TABLE', N'system_menu',
  5309. 'COLUMN', N'component'
  5310. GO
  5311. EXEC sp_addextendedproperty
  5312. 'MS_Description', N'菜单状态',
  5313. 'SCHEMA', N'dbo',
  5314. 'TABLE', N'system_menu',
  5315. 'COLUMN', N'status'
  5316. GO
  5317. EXEC sp_addextendedproperty
  5318. 'MS_Description', N'是否可见',
  5319. 'SCHEMA', N'dbo',
  5320. 'TABLE', N'system_menu',
  5321. 'COLUMN', N'visible'
  5322. GO
  5323. EXEC sp_addextendedproperty
  5324. 'MS_Description', N'是否缓存',
  5325. 'SCHEMA', N'dbo',
  5326. 'TABLE', N'system_menu',
  5327. 'COLUMN', N'keep_alive'
  5328. GO
  5329. EXEC sp_addextendedproperty
  5330. 'MS_Description', N'创建者',
  5331. 'SCHEMA', N'dbo',
  5332. 'TABLE', N'system_menu',
  5333. 'COLUMN', N'creator'
  5334. GO
  5335. EXEC sp_addextendedproperty
  5336. 'MS_Description', N'创建时间',
  5337. 'SCHEMA', N'dbo',
  5338. 'TABLE', N'system_menu',
  5339. 'COLUMN', N'create_time'
  5340. GO
  5341. EXEC sp_addextendedproperty
  5342. 'MS_Description', N'更新者',
  5343. 'SCHEMA', N'dbo',
  5344. 'TABLE', N'system_menu',
  5345. 'COLUMN', N'updater'
  5346. GO
  5347. EXEC sp_addextendedproperty
  5348. 'MS_Description', N'更新时间',
  5349. 'SCHEMA', N'dbo',
  5350. 'TABLE', N'system_menu',
  5351. 'COLUMN', N'update_time'
  5352. GO
  5353. EXEC sp_addextendedproperty
  5354. 'MS_Description', N'是否删除',
  5355. 'SCHEMA', N'dbo',
  5356. 'TABLE', N'system_menu',
  5357. 'COLUMN', N'deleted'
  5358. GO
  5359. EXEC sp_addextendedproperty
  5360. 'MS_Description', N'菜单权限表',
  5361. 'SCHEMA', N'dbo',
  5362. 'TABLE', N'system_menu'
  5363. GO
  5364. -- ----------------------------
  5365. -- Records of system_menu
  5366. -- ----------------------------
  5367. BEGIN TRANSACTION
  5368. GO
  5369. SET IDENTITY_INSERT [dbo].[system_menu] ON
  5370. GO
  5371. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'系统管理', N'', N'1', N'10', N'0', N'/system', N'system', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5372. GO
  5373. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'2', N'基础设施', N'', N'1', N'20', N'0', N'/infra', N'monitor', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5374. GO
  5375. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'5', N'OA 示例', N'', N'1', N'40', N'1185', N'oa', N'people', N'', N'0', N'1', N'1', N'admin', N'2021-09-20 16:26:19.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5376. GO
  5377. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'100', N'用户管理', N'system:user:list', N'2', N'1', N'1', N'user', N'user', N'system/user/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5378. GO
  5379. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'101', N'角色管理', N'', N'2', N'2', N'1', N'role', N'peoples', N'system/role/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5380. GO
  5381. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'102', N'菜单管理', N'', N'2', N'3', N'1', N'menu', N'tree-table', N'system/menu/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5382. GO
  5383. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'103', N'部门管理', N'', N'2', N'4', N'1', N'dept', N'tree', N'system/dept/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5384. GO
  5385. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'104', N'岗位管理', N'', N'2', N'5', N'1', N'post', N'post', N'system/post/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5386. GO
  5387. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'105', N'字典管理', N'', N'2', N'6', N'1', N'dict', N'dict', N'system/dict/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5388. GO
  5389. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'106', N'配置管理', N'', N'2', N'6', N'2', N'config', N'edit', N'infra/config/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5390. GO
  5391. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'107', N'通知公告', N'', N'2', N'8', N'1', N'notice', N'message', N'system/notice/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5392. GO
  5393. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'108', N'审计日志', N'', N'1', N'9', N'1', N'log', N'log', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5394. GO
  5395. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'109', N'令牌管理', N'', N'2', N'2', N'1261', N'token', N'online', N'system/oauth2/token/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-05-11 23:31:42.0000000', N'0')
  5396. GO
  5397. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'110', N'定时任务', N'', N'2', N'12', N'2', N'job', N'job', N'infra/job/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5398. GO
  5399. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'111', N'MySQL 监控', N'', N'2', N'9', N'2', N'druid', N'druid', N'infra/druid/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5400. GO
  5401. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'112', N'Java 监控', N'', N'2', N'11', N'2', N'admin-server', N'server', N'infra/server/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5402. GO
  5403. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'113', N'Redis 监控', N'', N'2', N'10', N'2', N'redis', N'redis', N'infra/redis/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5404. GO
  5405. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'114', N'表单构建', N'infra:build:list', N'2', N'2', N'2', N'build', N'build', N'infra/build/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5406. GO
  5407. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'115', N'代码生成', N'infra:codegen:query', N'2', N'1', N'2', N'codegen', N'code', N'infra/codegen/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5408. GO
  5409. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'116', N'系统接口', N'infra:swagger:list', N'2', N'3', N'2', N'swagger', N'swagger', N'infra/swagger/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5410. GO
  5411. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'500', N'操作日志', N'', N'2', N'1', N'108', N'operate-log', N'form', N'system/operatelog/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5412. GO
  5413. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'501', N'登录日志', N'', N'2', N'2', N'108', N'login-log', N'logininfor', N'system/loginlog/index', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5414. GO
  5415. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1001', N'用户查询', N'system:user:query', N'3', N'1', N'100', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5416. GO
  5417. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1002', N'用户新增', N'system:user:create', N'3', N'2', N'100', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5418. GO
  5419. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1003', N'用户修改', N'system:user:update', N'3', N'3', N'100', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5420. GO
  5421. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1004', N'用户删除', N'system:user:delete', N'3', N'4', N'100', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5422. GO
  5423. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1005', N'用户导出', N'system:user:export', N'3', N'5', N'100', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5424. GO
  5425. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1006', N'用户导入', N'system:user:import', N'3', N'6', N'100', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5426. GO
  5427. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1007', N'重置密码', N'system:user:update-password', N'3', N'7', N'100', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5428. GO
  5429. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1008', N'角色查询', N'system:role:query', N'3', N'1', N'101', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5430. GO
  5431. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1009', N'角色新增', N'system:role:create', N'3', N'2', N'101', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5432. GO
  5433. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1010', N'角色修改', N'system:role:update', N'3', N'3', N'101', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5434. GO
  5435. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1011', N'角色删除', N'system:role:delete', N'3', N'4', N'101', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5436. GO
  5437. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1012', N'角色导出', N'system:role:export', N'3', N'5', N'101', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5438. GO
  5439. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1013', N'菜单查询', N'system:menu:query', N'3', N'1', N'102', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5440. GO
  5441. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1014', N'菜单新增', N'system:menu:create', N'3', N'2', N'102', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5442. GO
  5443. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1015', N'菜单修改', N'system:menu:update', N'3', N'3', N'102', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5444. GO
  5445. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1016', N'菜单删除', N'system:menu:delete', N'3', N'4', N'102', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5446. GO
  5447. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1017', N'部门查询', N'system:dept:query', N'3', N'1', N'103', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5448. GO
  5449. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1018', N'部门新增', N'system:dept:create', N'3', N'2', N'103', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5450. GO
  5451. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1019', N'部门修改', N'system:dept:update', N'3', N'3', N'103', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5452. GO
  5453. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1020', N'部门删除', N'system:dept:delete', N'3', N'4', N'103', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5454. GO
  5455. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1021', N'岗位查询', N'system:post:query', N'3', N'1', N'104', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5456. GO
  5457. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1022', N'岗位新增', N'system:post:create', N'3', N'2', N'104', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5458. GO
  5459. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1023', N'岗位修改', N'system:post:update', N'3', N'3', N'104', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5460. GO
  5461. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1024', N'岗位删除', N'system:post:delete', N'3', N'4', N'104', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5462. GO
  5463. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1025', N'岗位导出', N'system:post:export', N'3', N'5', N'104', N'', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5464. GO
  5465. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1026', N'字典查询', N'system:dict:query', N'3', N'1', N'105', N'#', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5466. GO
  5467. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1027', N'字典新增', N'system:dict:create', N'3', N'2', N'105', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5468. GO
  5469. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1028', N'字典修改', N'system:dict:update', N'3', N'3', N'105', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5470. GO
  5471. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1029', N'字典删除', N'system:dict:delete', N'3', N'4', N'105', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5472. GO
  5473. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1030', N'字典导出', N'system:dict:export', N'3', N'5', N'105', N'#', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5474. GO
  5475. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1031', N'配置查询', N'infra:config:query', N'3', N'1', N'106', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5476. GO
  5477. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1032', N'配置新增', N'infra:config:create', N'3', N'2', N'106', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5478. GO
  5479. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1033', N'配置修改', N'infra:config:update', N'3', N'3', N'106', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5480. GO
  5481. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1034', N'配置删除', N'infra:config:delete', N'3', N'4', N'106', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5482. GO
  5483. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1035', N'配置导出', N'infra:config:export', N'3', N'5', N'106', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5484. GO
  5485. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1036', N'公告查询', N'system:notice:query', N'3', N'1', N'107', N'#', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5486. GO
  5487. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1037', N'公告新增', N'system:notice:create', N'3', N'2', N'107', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5488. GO
  5489. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1038', N'公告修改', N'system:notice:update', N'3', N'3', N'107', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5490. GO
  5491. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1039', N'公告删除', N'system:notice:delete', N'3', N'4', N'107', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5492. GO
  5493. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1040', N'操作查询', N'system:operate-log:query', N'3', N'1', N'500', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5494. GO
  5495. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1042', N'日志导出', N'system:operate-log:export', N'3', N'2', N'500', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5496. GO
  5497. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1043', N'登录查询', N'system:login-log:query', N'3', N'1', N'501', N'#', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5498. GO
  5499. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1045', N'日志导出', N'system:login-log:export', N'3', N'3', N'501', N'#', N'#', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5500. GO
  5501. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1046', N'令牌列表', N'system:oauth2-token:page', N'3', N'1', N'109', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-05-09 23:54:42.0000000', N'0')
  5502. GO
  5503. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1048', N'令牌删除', N'system:oauth2-token:delete', N'3', N'2', N'109', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-05-09 23:54:53.0000000', N'0')
  5504. GO
  5505. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1050', N'任务新增', N'infra:job:create', N'3', N'2', N'110', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5506. GO
  5507. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1051', N'任务修改', N'infra:job:update', N'3', N'3', N'110', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5508. GO
  5509. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1052', N'任务删除', N'infra:job:delete', N'3', N'4', N'110', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5510. GO
  5511. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1053', N'状态修改', N'infra:job:update', N'3', N'5', N'110', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5512. GO
  5513. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1054', N'任务导出', N'infra:job:export', N'3', N'7', N'110', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5514. GO
  5515. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1056', N'生成修改', N'infra:codegen:update', N'3', N'2', N'115', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5516. GO
  5517. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1057', N'生成删除', N'infra:codegen:delete', N'3', N'3', N'115', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5518. GO
  5519. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1058', N'导入代码', N'infra:codegen:create', N'3', N'2', N'115', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5520. GO
  5521. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1059', N'预览代码', N'infra:codegen:preview', N'3', N'4', N'115', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5522. GO
  5523. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1060', N'生成代码', N'infra:codegen:download', N'3', N'5', N'115', N'', N'', N'', N'0', N'1', N'1', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5524. GO
  5525. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1063', N'设置角色菜单权限', N'system:permission:assign-role-menu', N'3', N'6', N'101', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-01-06 17:53:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5526. GO
  5527. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1064', N'设置角色数据权限', N'system:permission:assign-role-data-scope', N'3', N'7', N'101', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-01-06 17:56:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5528. GO
  5529. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1065', N'设置用户角色', N'system:permission:assign-user-role', N'3', N'8', N'101', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-01-07 10:23:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5530. GO
  5531. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1066', N'获得 Redis 监控信息', N'infra:redis:get-monitor-info', N'3', N'1', N'113', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-01-26 01:02:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5532. GO
  5533. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1067', N'获得 Redis Key 列表', N'infra:redis:get-key-list', N'3', N'2', N'113', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-01-26 01:02:52.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5534. GO
  5535. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1070', N'代码生成示例', N'infra:test-demo:query', N'2', N'1', N'2', N'test-demo', N'validCode', N'infra/testDemo/index', N'0', N'1', N'1', N'', N'2021-02-06 12:42:49.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5536. GO
  5537. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1071', N'测试示例表创建', N'infra:test-demo:create', N'3', N'1', N'1070', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-06 12:42:49.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5538. GO
  5539. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1072', N'测试示例表更新', N'infra:test-demo:update', N'3', N'2', N'1070', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-06 12:42:49.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5540. GO
  5541. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1073', N'测试示例表删除', N'infra:test-demo:delete', N'3', N'3', N'1070', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-06 12:42:49.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5542. GO
  5543. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1074', N'测试示例表导出', N'infra:test-demo:export', N'3', N'4', N'1070', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-06 12:42:49.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5544. GO
  5545. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1075', N'任务触发', N'infra:job:trigger', N'3', N'8', N'110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-07 13:03:10.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5546. GO
  5547. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1076', N'数据库文档', N'', N'2', N'4', N'2', N'db-doc', N'table', N'infra/dbDoc/index', N'0', N'1', N'1', N'', N'2021-02-08 01:41:47.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5548. GO
  5549. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1077', N'监控平台', N'', N'2', N'13', N'2', N'skywalking', N'eye-open', N'infra/skywalking/index', N'0', N'1', N'1', N'', N'2021-02-08 20:41:31.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5550. GO
  5551. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1078', N'访问日志', N'', N'2', N'1', N'1083', N'api-access-log', N'log', N'infra/apiAccessLog/index', N'0', N'1', N'1', N'', N'2021-02-26 01:32:59.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5552. GO
  5553. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1082', N'日志导出', N'infra:api-access-log:export', N'3', N'2', N'1078', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-26 01:32:59.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5554. GO
  5555. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1083', N'API 日志', N'', N'2', N'8', N'2', N'log', N'log', N'', N'0', N'1', N'1', N'', N'2021-02-26 02:18:24.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5556. GO
  5557. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1084', N'错误日志', N'infra:api-error-log:query', N'2', N'2', N'1083', N'api-error-log', N'log', N'infra/apiErrorLog/index', N'0', N'1', N'1', N'', N'2021-02-26 07:53:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5558. GO
  5559. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1085', N'日志处理', N'infra:api-error-log:update-status', N'3', N'2', N'1084', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-26 07:53:20.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5560. GO
  5561. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1086', N'日志导出', N'infra:api-error-log:export', N'3', N'3', N'1084', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-02-26 07:53:20.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5562. GO
  5563. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1087', N'任务查询', N'infra:job:query', N'3', N'1', N'110', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-03-10 01:26:19.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5564. GO
  5565. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1088', N'日志查询', N'infra:api-access-log:query', N'3', N'1', N'1078', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-03-10 01:28:04.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5566. GO
  5567. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1089', N'日志查询', N'infra:api-error-log:query', N'3', N'1', N'1084', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-03-10 01:29:09.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5568. GO
  5569. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1090', N'文件列表', N'', N'2', N'5', N'1243', N'file', N'upload', N'infra/file/index', N'0', N'1', N'1', N'', N'2021-03-12 20:16:20.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5570. GO
  5571. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1091', N'文件查询', N'infra:file:query', N'3', N'1', N'1090', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-03-12 20:16:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5572. GO
  5573. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1092', N'文件删除', N'infra:file:delete', N'3', N'4', N'1090', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-03-12 20:16:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5574. GO
  5575. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1093', N'短信管理', N'', N'1', N'11', N'1', N'sms', N'validCode', N'', N'0', N'1', N'1', N'1', N'2021-04-05 01:10:16.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5576. GO
  5577. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1094', N'短信渠道', N'', N'2', N'0', N'1093', N'sms-channel', N'phone', N'system/sms/smsChannel', N'0', N'1', N'1', N'', N'2021-04-01 11:07:15.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5578. GO
  5579. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1095', N'短信渠道查询', N'system:sms-channel:query', N'3', N'1', N'1094', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 11:07:15.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5580. GO
  5581. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1096', N'短信渠道创建', N'system:sms-channel:create', N'3', N'2', N'1094', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 11:07:15.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5582. GO
  5583. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1097', N'短信渠道更新', N'system:sms-channel:update', N'3', N'3', N'1094', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 11:07:15.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5584. GO
  5585. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1098', N'短信渠道删除', N'system:sms-channel:delete', N'3', N'4', N'1094', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 11:07:15.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5586. GO
  5587. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1100', N'短信模板', N'', N'2', N'1', N'1093', N'sms-template', N'phone', N'system/sms/smsTemplate', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5588. GO
  5589. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1101', N'短信模板查询', N'system:sms-template:query', N'3', N'1', N'1100', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5590. GO
  5591. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1102', N'短信模板创建', N'system:sms-template:create', N'3', N'2', N'1100', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5592. GO
  5593. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1103', N'短信模板更新', N'system:sms-template:update', N'3', N'3', N'1100', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5594. GO
  5595. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1104', N'短信模板删除', N'system:sms-template:delete', N'3', N'4', N'1100', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5596. GO
  5597. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1105', N'短信模板导出', N'system:sms-template:export', N'3', N'5', N'1100', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-01 17:35:17.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5598. GO
  5599. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1106', N'发送测试短信', N'system:sms-template:send-sms', N'3', N'6', N'1100', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-04-11 00:26:40.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5600. GO
  5601. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1107', N'短信日志', N'', N'2', N'2', N'1093', N'sms-log', N'phone', N'system/sms/smsLog', N'0', N'1', N'1', N'', N'2021-04-11 08:37:05.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5602. GO
  5603. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1108', N'短信日志查询', N'system:sms-log:query', N'3', N'1', N'1107', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-11 08:37:05.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5604. GO
  5605. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1109', N'短信日志导出', N'system:sms-log:export', N'3', N'5', N'1107', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-11 08:37:05.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5606. GO
  5607. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1110', N'错误码管理', N'', N'2', N'12', N'1', N'error-code', N'code', N'system/errorCode/index', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5608. GO
  5609. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1111', N'错误码查询', N'system:error-code:query', N'3', N'1', N'1110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5610. GO
  5611. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1112', N'错误码创建', N'system:error-code:create', N'3', N'2', N'1110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5612. GO
  5613. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1113', N'错误码更新', N'system:error-code:update', N'3', N'3', N'1110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5614. GO
  5615. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1114', N'错误码删除', N'system:error-code:delete', N'3', N'4', N'1110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5616. GO
  5617. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1115', N'错误码导出', N'system:error-code:export', N'3', N'5', N'1110', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-04-13 21:46:42.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5618. GO
  5619. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1117', N'支付管理', N'', N'1', N'11', N'0', N'/pay', N'money', N'', N'0', N'1', N'1', N'1', N'2021-12-25 16:43:41.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5620. GO
  5621. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1118', N'请假查询', N'', N'2', N'0', N'5', N'leave', N'user', N'bpm/oa/leave/index', N'0', N'1', N'1', N'', N'2021-09-20 08:51:03.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5622. GO
  5623. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1119', N'请假申请查询', N'bpm:oa-leave:query', N'3', N'1', N'1118', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-09-20 08:51:03.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5624. GO
  5625. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1120', N'请假申请创建', N'bpm:oa-leave:create', N'3', N'2', N'1118', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-09-20 08:51:03.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5626. GO
  5627. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1126', N'应用信息', N'', N'2', N'1', N'1117', N'app', N'table', N'pay/app/index', N'0', N'1', N'1', N'', N'2021-11-10 01:13:30.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5628. GO
  5629. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1127', N'支付应用信息查询', N'pay:app:query', N'3', N'1', N'1126', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5630. GO
  5631. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1128', N'支付应用信息创建', N'pay:app:create', N'3', N'2', N'1126', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5632. GO
  5633. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1129', N'支付应用信息更新', N'pay:app:update', N'3', N'3', N'1126', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5634. GO
  5635. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1130', N'支付应用信息删除', N'pay:app:delete', N'3', N'4', N'1126', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5636. GO
  5637. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1131', N'支付应用信息导出', N'pay:app:export', N'3', N'5', N'1126', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:31.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5638. GO
  5639. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1132', N'秘钥解析', N'pay:channel:parsing', N'3', N'6', N'1129', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-11-08 15:15:47.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5640. GO
  5641. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1133', N'支付商户信息查询', N'pay:merchant:query', N'3', N'1', N'1132', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:41.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5642. GO
  5643. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1134', N'支付商户信息创建', N'pay:merchant:create', N'3', N'2', N'1132', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:41.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5644. GO
  5645. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1135', N'支付商户信息更新', N'pay:merchant:update', N'3', N'3', N'1132', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:41.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5646. GO
  5647. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1136', N'支付商户信息删除', N'pay:merchant:delete', N'3', N'4', N'1132', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:41.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5648. GO
  5649. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1137', N'支付商户信息导出', N'pay:merchant:export', N'3', N'5', N'1132', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-11-10 01:13:41.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5650. GO
  5651. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1138', N'租户列表', N'', N'2', N'0', N'1224', N'list', N'peoples', N'system/tenant/index', N'0', N'1', N'1', N'', N'2021-12-14 12:31:43.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5652. GO
  5653. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1139', N'租户查询', N'system:tenant:query', N'3', N'1', N'1138', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-14 12:31:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5654. GO
  5655. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1140', N'租户创建', N'system:tenant:create', N'3', N'2', N'1138', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-14 12:31:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5656. GO
  5657. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1141', N'租户更新', N'system:tenant:update', N'3', N'3', N'1138', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-14 12:31:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5658. GO
  5659. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1142', N'租户删除', N'system:tenant:delete', N'3', N'4', N'1138', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-14 12:31:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5660. GO
  5661. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1143', N'租户导出', N'system:tenant:export', N'3', N'5', N'1138', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-14 12:31:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5662. GO
  5663. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1150', N'秘钥解析', N'', N'3', N'6', N'1129', N'', N'', N'', N'0', N'1', N'1', N'1', N'2021-11-08 15:15:47.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5664. GO
  5665. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1161', N'退款订单', N'', N'2', N'3', N'1117', N'refund', N'order', N'pay/refund/index', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5666. GO
  5667. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1162', N'退款订单查询', N'pay:refund:query', N'3', N'1', N'1161', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5668. GO
  5669. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1163', N'退款订单创建', N'pay:refund:create', N'3', N'2', N'1161', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5670. GO
  5671. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1164', N'退款订单更新', N'pay:refund:update', N'3', N'3', N'1161', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5672. GO
  5673. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1165', N'退款订单删除', N'pay:refund:delete', N'3', N'4', N'1161', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5674. GO
  5675. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1166', N'退款订单导出', N'pay:refund:export', N'3', N'5', N'1161', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:29:07.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5676. GO
  5677. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1173', N'支付订单', N'', N'2', N'2', N'1117', N'order', N'pay', N'pay/order/index', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5678. GO
  5679. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1174', N'支付订单查询', N'pay:order:query', N'3', N'1', N'1173', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5680. GO
  5681. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1175', N'支付订单创建', N'pay:order:create', N'3', N'2', N'1173', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5682. GO
  5683. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1176', N'支付订单更新', N'pay:order:update', N'3', N'3', N'1173', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5684. GO
  5685. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1177', N'支付订单删除', N'pay:order:delete', N'3', N'4', N'1173', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5686. GO
  5687. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1178', N'支付订单导出', N'pay:order:export', N'3', N'5', N'1173', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 08:49:43.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5688. GO
  5689. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1179', N'商户信息', N'', N'2', N'0', N'1117', N'merchant', N'merchant', N'pay/merchant/index', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5690. GO
  5691. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1180', N'支付商户信息查询', N'pay:merchant:query', N'3', N'1', N'1179', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5692. GO
  5693. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1181', N'支付商户信息创建', N'pay:merchant:create', N'3', N'2', N'1179', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5694. GO
  5695. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1182', N'支付商户信息更新', N'pay:merchant:update', N'3', N'3', N'1179', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5696. GO
  5697. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1183', N'支付商户信息删除', N'', N'3', N'4', N'1179', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5698. GO
  5699. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1184', N'支付商户信息导出', N'pay:merchant:export', N'3', N'5', N'1179', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-25 09:01:44.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5700. GO
  5701. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1185', N'工作流程', N'', N'1', N'50', N'0', N'/bpm', N'tool', N'', N'0', N'1', N'1', N'1', N'2021-12-30 20:26:36.0000000', N'103', N'2022-05-12 18:11:34.0000000', N'0')
  5702. GO
  5703. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1186', N'流程管理', N'', N'1', N'10', N'1185', N'manager', N'nested', N'', N'0', N'1', N'1', N'1', N'2021-12-30 20:28:30.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5704. GO
  5705. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1187', N'流程表单', N'', N'2', N'0', N'1186', N'form', N'form', N'bpm/form/index', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5706. GO
  5707. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1188', N'表单查询', N'bpm:form:query', N'3', N'1', N'1187', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5708. GO
  5709. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1189', N'表单创建', N'bpm:form:create', N'3', N'2', N'1187', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5710. GO
  5711. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1190', N'表单更新', N'bpm:form:update', N'3', N'3', N'1187', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5712. GO
  5713. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1191', N'表单删除', N'bpm:form:delete', N'3', N'4', N'1187', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5714. GO
  5715. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1192', N'表单导出', N'bpm:form:export', N'3', N'5', N'1187', N'', N'', N'', N'0', N'1', N'1', N'', N'2021-12-30 12:38:22.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5716. GO
  5717. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1193', N'流程模型', N'', N'2', N'5', N'1186', N'model', N'guide', N'bpm/model/index', N'0', N'1', N'1', N'1', N'2021-12-31 23:24:58.0000000', N'103', N'2022-04-20 17:03:10.0000000', N'0')
  5718. GO
  5719. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1194', N'模型查询', N'bpm:model:query', N'3', N'1', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:01:10.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5720. GO
  5721. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1195', N'模型创建', N'bpm:model:create', N'3', N'2', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:01:24.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5722. GO
  5723. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1196', N'模型导入', N'bpm:model:import', N'3', N'3', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:01:35.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5724. GO
  5725. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1197', N'模型更新', N'bpm:model:update', N'3', N'4', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:02:28.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5726. GO
  5727. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1198', N'模型删除', N'bpm:model:delete', N'3', N'5', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:02:43.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5728. GO
  5729. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1199', N'模型发布', N'bpm:model:deploy', N'3', N'6', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-03 19:03:24.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5730. GO
  5731. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1200', N'任务管理', N'', N'1', N'20', N'1185', N'task', N'cascader', N'', N'0', N'1', N'1', N'1', N'2022-01-07 23:51:48.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5732. GO
  5733. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1201', N'我的流程', N'', N'2', N'0', N'1200', N'my', N'people', N'bpm/processInstance/index', N'0', N'1', N'1', N'', N'2022-01-07 15:53:44.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5734. GO
  5735. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1202', N'流程实例的查询', N'bpm:process-instance:query', N'3', N'1', N'1201', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-01-07 15:53:44.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5736. GO
  5737. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1207', N'待办任务', N'', N'2', N'10', N'1200', N'todo', N'eye-open', N'bpm/task/todo', N'0', N'1', N'1', N'1', N'2022-01-08 10:33:37.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5738. GO
  5739. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1208', N'已办任务', N'', N'2', N'20', N'1200', N'done', N'eye', N'bpm/task/done', N'0', N'1', N'1', N'1', N'2022-01-08 10:34:13.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5740. GO
  5741. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1209', N'用户分组', N'', N'2', N'2', N'1186', N'user-group', N'people', N'bpm/group/index', N'0', N'1', N'1', N'', N'2022-01-14 02:14:20.0000000', N'103', N'2022-04-20 17:03:10.0000000', N'0')
  5742. GO
  5743. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1210', N'用户组查询', N'bpm:user-group:query', N'3', N'1', N'1209', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-01-14 02:14:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5744. GO
  5745. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1211', N'用户组创建', N'bpm:user-group:create', N'3', N'2', N'1209', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-01-14 02:14:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5746. GO
  5747. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1212', N'用户组更新', N'bpm:user-group:update', N'3', N'3', N'1209', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-01-14 02:14:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5748. GO
  5749. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1213', N'用户组删除', N'bpm:user-group:delete', N'3', N'4', N'1209', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-01-14 02:14:20.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5750. GO
  5751. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1215', N'流程定义查询', N'bpm:process-definition:query', N'3', N'10', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:21:43.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5752. GO
  5753. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1216', N'流程任务分配规则查询', N'bpm:task-assign-rule:query', N'3', N'20', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:26:53.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5754. GO
  5755. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1217', N'流程任务分配规则创建', N'bpm:task-assign-rule:create', N'3', N'21', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:28:15.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5756. GO
  5757. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1218', N'流程任务分配规则更新', N'bpm:task-assign-rule:update', N'3', N'22', N'1193', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:28:41.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5758. GO
  5759. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1219', N'流程实例的创建', N'bpm:process-instance:create', N'3', N'2', N'1201', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:36:15.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5760. GO
  5761. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1220', N'流程实例的取消', N'bpm:process-instance:cancel', N'3', N'3', N'1201', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:36:33.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5762. GO
  5763. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1221', N'流程任务的查询', N'bpm:task:query', N'3', N'1', N'1207', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:38:52.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5764. GO
  5765. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1222', N'流程任务的更新', N'bpm:task:update', N'3', N'2', N'1207', N'', N'', N'', N'0', N'1', N'1', N'1', N'2022-01-23 00:39:24.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5766. GO
  5767. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1224', N'租户管理', N'', N'2', N'0', N'1', N'tenant', N'peoples', N'', N'0', N'1', N'1', N'1', N'2022-02-20 01:41:13.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5768. GO
  5769. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1225', N'租户套餐', N'', N'2', N'0', N'1224', N'package', N'eye', N'system/tenantPackage/index', N'0', N'1', N'1', N'', N'2022-02-19 17:44:06.0000000', N'1', N'2022-04-21 01:21:25.0000000', N'0')
  5770. GO
  5771. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1226', N'租户套餐查询', N'system:tenant-package:query', N'3', N'1', N'1225', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-02-19 17:44:06.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5772. GO
  5773. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1227', N'租户套餐创建', N'system:tenant-package:create', N'3', N'2', N'1225', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-02-19 17:44:06.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5774. GO
  5775. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1228', N'租户套餐更新', N'system:tenant-package:update', N'3', N'3', N'1225', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-02-19 17:44:06.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5776. GO
  5777. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1229', N'租户套餐删除', N'system:tenant-package:delete', N'3', N'4', N'1225', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-02-19 17:44:06.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5778. GO
  5779. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1237', N'文件配置', N'', N'2', N'0', N'1243', N'file-config', N'config', N'infra/fileConfig/index', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5780. GO
  5781. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1238', N'文件配置查询', N'infra:file-config:query', N'3', N'1', N'1237', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5782. GO
  5783. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1239', N'文件配置创建', N'infra:file-config:create', N'3', N'2', N'1237', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5784. GO
  5785. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1240', N'文件配置更新', N'infra:file-config:update', N'3', N'3', N'1237', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5786. GO
  5787. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1241', N'文件配置删除', N'infra:file-config:delete', N'3', N'4', N'1237', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5788. GO
  5789. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1242', N'文件配置导出', N'infra:file-config:export', N'3', N'5', N'1237', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-03-15 14:35:28.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5790. GO
  5791. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1243', N'文件管理', N'', N'2', N'5', N'2', N'file', N'download', N'', N'0', N'1', N'1', N'1', N'2022-03-16 23:47:40.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5792. GO
  5793. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1247', N'敏感词管理', N'', N'2', N'13', N'1', N'sensitive-word', N'education', N'system/sensitiveWord/index', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'1', N'2022-04-20 17:03:10.0000000', N'0')
  5794. GO
  5795. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1248', N'敏感词查询', N'system:sensitive-word:query', N'3', N'1', N'1247', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5796. GO
  5797. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1249', N'敏感词创建', N'system:sensitive-word:create', N'3', N'2', N'1247', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5798. GO
  5799. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1250', N'敏感词更新', N'system:sensitive-word:update', N'3', N'3', N'1247', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5800. GO
  5801. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1251', N'敏感词删除', N'system:sensitive-word:delete', N'3', N'4', N'1247', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5802. GO
  5803. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1252', N'敏感词导出', N'system:sensitive-word:export', N'3', N'5', N'1247', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-07 16:55:03.0000000', N'', N'2022-04-20 17:03:10.0000000', N'0')
  5804. GO
  5805. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1254', N'作者动态', N'', N'1', N'0', N'0', N'https://www.zhongxing.cn', N'people', N'', N'0', N'1', N'1', N'1', N'2022-04-23 01:03:15.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5806. GO
  5807. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1255', N'数据源配置', N'', N'2', N'1', N'2', N'data-source-config', N'rate', N'infra/dataSourceConfig/index', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'1', N'2022-04-27 22:42:06.0000000', N'0')
  5808. GO
  5809. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1256', N'数据源配置查询', N'infra:data-source-config:query', N'3', N'1', N'1255', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'', N'2022-04-27 14:37:32.0000000', N'0')
  5810. GO
  5811. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1257', N'数据源配置创建', N'infra:data-source-config:create', N'3', N'2', N'1255', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'', N'2022-04-27 14:37:32.0000000', N'0')
  5812. GO
  5813. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1258', N'数据源配置更新', N'infra:data-source-config:update', N'3', N'3', N'1255', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'', N'2022-04-27 14:37:32.0000000', N'0')
  5814. GO
  5815. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1259', N'数据源配置删除', N'infra:data-source-config:delete', N'3', N'4', N'1255', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'', N'2022-04-27 14:37:32.0000000', N'0')
  5816. GO
  5817. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1260', N'数据源配置导出', N'infra:data-source-config:export', N'3', N'5', N'1255', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-04-27 14:37:32.0000000', N'', N'2022-04-27 14:37:32.0000000', N'0')
  5818. GO
  5819. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1261', N'OAuth 2.0', N'', N'1', N'10', N'1', N'oauth2', N'people', N'', N'0', N'1', N'1', N'1', N'2022-05-09 23:38:17.0000000', N'1', N'2022-05-12 18:11:34.0000000', N'0')
  5820. GO
  5821. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1263', N'应用管理', N'', N'2', N'0', N'1261', N'oauth2/application', N'tool', N'system/oauth2/client/index', N'0', N'1', N'1', N'', N'2022-05-10 16:26:33.0000000', N'1', N'2022-05-11 23:31:36.0000000', N'0')
  5822. GO
  5823. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1264', N'客户端查询', N'system:oauth2-client:query', N'3', N'1', N'1263', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-05-10 16:26:33.0000000', N'1', N'2022-05-11 00:31:06.0000000', N'0')
  5824. GO
  5825. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1265', N'客户端创建', N'system:oauth2-client:create', N'3', N'2', N'1263', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-05-10 16:26:33.0000000', N'1', N'2022-05-11 00:31:23.0000000', N'0')
  5826. GO
  5827. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1266', N'客户端更新', N'system:oauth2-client:update', N'3', N'3', N'1263', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-05-10 16:26:33.0000000', N'1', N'2022-05-11 00:31:28.0000000', N'0')
  5828. GO
  5829. INSERT INTO [dbo].[system_menu] ([id], [name], [permission], [type], [sort], [parent_id], [path], [icon], [component], [status], [visible], [keep_alive], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1267', N'客户端删除', N'system:oauth2-client:delete', N'3', N'4', N'1263', N'', N'', N'', N'0', N'1', N'1', N'', N'2022-05-10 16:26:33.0000000', N'1', N'2022-05-11 00:31:33.0000000', N'0')
  5830. GO
  5831. SET IDENTITY_INSERT [dbo].[system_menu] OFF
  5832. GO
  5833. COMMIT
  5834. GO
  5835. -- ----------------------------
  5836. -- Table structure for system_notice
  5837. -- ----------------------------
  5838. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_notice]') AND type IN ('U'))
  5839. DROP TABLE [dbo].[system_notice]
  5840. GO
  5841. CREATE TABLE [dbo].[system_notice] (
  5842. [id] bigint IDENTITY(1,1) NOT NULL,
  5843. [title] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5844. [content] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5845. [type] tinyint NOT NULL,
  5846. [status] tinyint NOT NULL,
  5847. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5848. [create_time] datetime2(7) NOT NULL,
  5849. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5850. [update_time] datetime2(7) NOT NULL,
  5851. [tenant_id] bigint NOT NULL,
  5852. [deleted] bit DEFAULT 0 NOT NULL
  5853. )
  5854. GO
  5855. ALTER TABLE [dbo].[system_notice] SET (LOCK_ESCALATION = TABLE)
  5856. GO
  5857. EXEC sp_addextendedproperty
  5858. 'MS_Description', N'公告ID',
  5859. 'SCHEMA', N'dbo',
  5860. 'TABLE', N'system_notice',
  5861. 'COLUMN', N'id'
  5862. GO
  5863. EXEC sp_addextendedproperty
  5864. 'MS_Description', N'公告标题',
  5865. 'SCHEMA', N'dbo',
  5866. 'TABLE', N'system_notice',
  5867. 'COLUMN', N'title'
  5868. GO
  5869. EXEC sp_addextendedproperty
  5870. 'MS_Description', N'公告内容',
  5871. 'SCHEMA', N'dbo',
  5872. 'TABLE', N'system_notice',
  5873. 'COLUMN', N'content'
  5874. GO
  5875. EXEC sp_addextendedproperty
  5876. 'MS_Description', N'公告类型(1通知 2公告)',
  5877. 'SCHEMA', N'dbo',
  5878. 'TABLE', N'system_notice',
  5879. 'COLUMN', N'type'
  5880. GO
  5881. EXEC sp_addextendedproperty
  5882. 'MS_Description', N'公告状态(0正常 1关闭)',
  5883. 'SCHEMA', N'dbo',
  5884. 'TABLE', N'system_notice',
  5885. 'COLUMN', N'status'
  5886. GO
  5887. EXEC sp_addextendedproperty
  5888. 'MS_Description', N'创建者',
  5889. 'SCHEMA', N'dbo',
  5890. 'TABLE', N'system_notice',
  5891. 'COLUMN', N'creator'
  5892. GO
  5893. EXEC sp_addextendedproperty
  5894. 'MS_Description', N'创建时间',
  5895. 'SCHEMA', N'dbo',
  5896. 'TABLE', N'system_notice',
  5897. 'COLUMN', N'create_time'
  5898. GO
  5899. EXEC sp_addextendedproperty
  5900. 'MS_Description', N'更新者',
  5901. 'SCHEMA', N'dbo',
  5902. 'TABLE', N'system_notice',
  5903. 'COLUMN', N'updater'
  5904. GO
  5905. EXEC sp_addextendedproperty
  5906. 'MS_Description', N'更新时间',
  5907. 'SCHEMA', N'dbo',
  5908. 'TABLE', N'system_notice',
  5909. 'COLUMN', N'update_time'
  5910. GO
  5911. EXEC sp_addextendedproperty
  5912. 'MS_Description', N'租户编号',
  5913. 'SCHEMA', N'dbo',
  5914. 'TABLE', N'system_notice',
  5915. 'COLUMN', N'tenant_id'
  5916. GO
  5917. EXEC sp_addextendedproperty
  5918. 'MS_Description', N'是否删除',
  5919. 'SCHEMA', N'dbo',
  5920. 'TABLE', N'system_notice',
  5921. 'COLUMN', N'deleted'
  5922. GO
  5923. EXEC sp_addextendedproperty
  5924. 'MS_Description', N'通知公告表',
  5925. 'SCHEMA', N'dbo',
  5926. 'TABLE', N'system_notice'
  5927. GO
  5928. -- ----------------------------
  5929. -- Records of system_notice
  5930. -- ----------------------------
  5931. BEGIN TRANSACTION
  5932. GO
  5933. SET IDENTITY_INSERT [dbo].[system_notice] ON
  5934. GO
  5935. INSERT INTO [dbo].[system_notice] ([id], [title], [content], [type], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'温馨提醒:2018-07-01 若依新版本发布啦', N'<p>新版本内容133</p>', N'2', N'0', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-02-15 19:47:20.0000000', N'1', N'0')
  5936. GO
  5937. INSERT INTO [dbo].[system_notice] ([id], [title], [content], [type], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'2', N'维护通知:2018-07-01 若依系统凌晨维护', N'维护内容', N'1', N'0', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2021-12-15 05:02:22.0000000', N'1', N'0')
  5938. GO
  5939. INSERT INTO [dbo].[system_notice] ([id], [title], [content], [type], [status], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'4', N'我是测试标题', N'<p>哈哈哈哈123</p>', N'1', N'0', N'110', N'2022-02-22 01:01:25.0000000', N'110', N'2022-02-22 01:01:46.0000000', N'121', N'0')
  5940. GO
  5941. SET IDENTITY_INSERT [dbo].[system_notice] OFF
  5942. GO
  5943. COMMIT
  5944. GO
  5945. -- ----------------------------
  5946. -- Table structure for system_oauth2_access_token
  5947. -- ----------------------------
  5948. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_access_token]') AND type IN ('U'))
  5949. DROP TABLE [dbo].[system_oauth2_access_token]
  5950. GO
  5951. CREATE TABLE [dbo].[system_oauth2_access_token] (
  5952. [id] bigint IDENTITY(1,1) NOT NULL,
  5953. [user_id] bigint NOT NULL,
  5954. [access_token] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5955. [refresh_token] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5956. [user_type] tinyint NOT NULL,
  5957. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5958. [expires_time] datetime2(7) NOT NULL,
  5959. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5960. [create_time] datetime2(7) NOT NULL,
  5961. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5962. [update_time] datetime2(7) NOT NULL,
  5963. [deleted] bit DEFAULT 0 NOT NULL,
  5964. [tenant_id] bigint DEFAULT 0 NOT NULL,
  5965. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL
  5966. )
  5967. GO
  5968. ALTER TABLE [dbo].[system_oauth2_access_token] SET (LOCK_ESCALATION = TABLE)
  5969. GO
  5970. EXEC sp_addextendedproperty
  5971. 'MS_Description', N'编号',
  5972. 'SCHEMA', N'dbo',
  5973. 'TABLE', N'system_oauth2_access_token',
  5974. 'COLUMN', N'id'
  5975. GO
  5976. EXEC sp_addextendedproperty
  5977. 'MS_Description', N'用户编号',
  5978. 'SCHEMA', N'dbo',
  5979. 'TABLE', N'system_oauth2_access_token',
  5980. 'COLUMN', N'user_id'
  5981. GO
  5982. EXEC sp_addextendedproperty
  5983. 'MS_Description', N'访问令牌',
  5984. 'SCHEMA', N'dbo',
  5985. 'TABLE', N'system_oauth2_access_token',
  5986. 'COLUMN', N'access_token'
  5987. GO
  5988. EXEC sp_addextendedproperty
  5989. 'MS_Description', N'刷新令牌',
  5990. 'SCHEMA', N'dbo',
  5991. 'TABLE', N'system_oauth2_access_token',
  5992. 'COLUMN', N'refresh_token'
  5993. GO
  5994. EXEC sp_addextendedproperty
  5995. 'MS_Description', N'用户类型',
  5996. 'SCHEMA', N'dbo',
  5997. 'TABLE', N'system_oauth2_access_token',
  5998. 'COLUMN', N'user_type'
  5999. GO
  6000. EXEC sp_addextendedproperty
  6001. 'MS_Description', N'客户端编号',
  6002. 'SCHEMA', N'dbo',
  6003. 'TABLE', N'system_oauth2_access_token',
  6004. 'COLUMN', N'client_id'
  6005. GO
  6006. EXEC sp_addextendedproperty
  6007. 'MS_Description', N'过期时间',
  6008. 'SCHEMA', N'dbo',
  6009. 'TABLE', N'system_oauth2_access_token',
  6010. 'COLUMN', N'expires_time'
  6011. GO
  6012. EXEC sp_addextendedproperty
  6013. 'MS_Description', N'创建者',
  6014. 'SCHEMA', N'dbo',
  6015. 'TABLE', N'system_oauth2_access_token',
  6016. 'COLUMN', N'creator'
  6017. GO
  6018. EXEC sp_addextendedproperty
  6019. 'MS_Description', N'创建时间',
  6020. 'SCHEMA', N'dbo',
  6021. 'TABLE', N'system_oauth2_access_token',
  6022. 'COLUMN', N'create_time'
  6023. GO
  6024. EXEC sp_addextendedproperty
  6025. 'MS_Description', N'更新者',
  6026. 'SCHEMA', N'dbo',
  6027. 'TABLE', N'system_oauth2_access_token',
  6028. 'COLUMN', N'updater'
  6029. GO
  6030. EXEC sp_addextendedproperty
  6031. 'MS_Description', N'更新时间',
  6032. 'SCHEMA', N'dbo',
  6033. 'TABLE', N'system_oauth2_access_token',
  6034. 'COLUMN', N'update_time'
  6035. GO
  6036. EXEC sp_addextendedproperty
  6037. 'MS_Description', N'是否删除',
  6038. 'SCHEMA', N'dbo',
  6039. 'TABLE', N'system_oauth2_access_token',
  6040. 'COLUMN', N'deleted'
  6041. GO
  6042. EXEC sp_addextendedproperty
  6043. 'MS_Description', N'租户编号',
  6044. 'SCHEMA', N'dbo',
  6045. 'TABLE', N'system_oauth2_access_token',
  6046. 'COLUMN', N'tenant_id'
  6047. GO
  6048. EXEC sp_addextendedproperty
  6049. 'MS_Description', N'授权范围',
  6050. 'SCHEMA', N'dbo',
  6051. 'TABLE', N'system_oauth2_access_token',
  6052. 'COLUMN', N'scopes'
  6053. GO
  6054. EXEC sp_addextendedproperty
  6055. 'MS_Description', N'刷新令牌',
  6056. 'SCHEMA', N'dbo',
  6057. 'TABLE', N'system_oauth2_access_token'
  6058. GO
  6059. -- ----------------------------
  6060. -- Records of system_oauth2_access_token
  6061. -- ----------------------------
  6062. BEGIN TRANSACTION
  6063. GO
  6064. SET IDENTITY_INSERT [dbo].[system_oauth2_access_token] ON
  6065. GO
  6066. SET IDENTITY_INSERT [dbo].[system_oauth2_access_token] OFF
  6067. GO
  6068. COMMIT
  6069. GO
  6070. -- ----------------------------
  6071. -- Table structure for system_oauth2_approve
  6072. -- ----------------------------
  6073. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_approve]') AND type IN ('U'))
  6074. DROP TABLE [dbo].[system_oauth2_approve]
  6075. GO
  6076. CREATE TABLE [dbo].[system_oauth2_approve] (
  6077. [id] bigint IDENTITY(1,1) NOT NULL,
  6078. [user_id] bigint NOT NULL,
  6079. [user_type] tinyint NOT NULL,
  6080. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6081. [scope] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6082. [approved] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6083. [expires_time] datetime2(7) NOT NULL,
  6084. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6085. [create_time] datetime2(7) NOT NULL,
  6086. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6087. [update_time] datetime2(7) NOT NULL,
  6088. [deleted] bit DEFAULT 0 NOT NULL,
  6089. [tenant_id] bigint NOT NULL
  6090. )
  6091. GO
  6092. ALTER TABLE [dbo].[system_oauth2_approve] SET (LOCK_ESCALATION = TABLE)
  6093. GO
  6094. EXEC sp_addextendedproperty
  6095. 'MS_Description', N'编号',
  6096. 'SCHEMA', N'dbo',
  6097. 'TABLE', N'system_oauth2_approve',
  6098. 'COLUMN', N'id'
  6099. GO
  6100. EXEC sp_addextendedproperty
  6101. 'MS_Description', N'用户编号',
  6102. 'SCHEMA', N'dbo',
  6103. 'TABLE', N'system_oauth2_approve',
  6104. 'COLUMN', N'user_id'
  6105. GO
  6106. EXEC sp_addextendedproperty
  6107. 'MS_Description', N'用户类型',
  6108. 'SCHEMA', N'dbo',
  6109. 'TABLE', N'system_oauth2_approve',
  6110. 'COLUMN', N'user_type'
  6111. GO
  6112. EXEC sp_addextendedproperty
  6113. 'MS_Description', N'客户端编号',
  6114. 'SCHEMA', N'dbo',
  6115. 'TABLE', N'system_oauth2_approve',
  6116. 'COLUMN', N'client_id'
  6117. GO
  6118. EXEC sp_addextendedproperty
  6119. 'MS_Description', N'授权范围',
  6120. 'SCHEMA', N'dbo',
  6121. 'TABLE', N'system_oauth2_approve',
  6122. 'COLUMN', N'scope'
  6123. GO
  6124. EXEC sp_addextendedproperty
  6125. 'MS_Description', N'是否接受',
  6126. 'SCHEMA', N'dbo',
  6127. 'TABLE', N'system_oauth2_approve',
  6128. 'COLUMN', N'approved'
  6129. GO
  6130. EXEC sp_addextendedproperty
  6131. 'MS_Description', N'过期时间',
  6132. 'SCHEMA', N'dbo',
  6133. 'TABLE', N'system_oauth2_approve',
  6134. 'COLUMN', N'expires_time'
  6135. GO
  6136. EXEC sp_addextendedproperty
  6137. 'MS_Description', N'创建者',
  6138. 'SCHEMA', N'dbo',
  6139. 'TABLE', N'system_oauth2_approve',
  6140. 'COLUMN', N'creator'
  6141. GO
  6142. EXEC sp_addextendedproperty
  6143. 'MS_Description', N'创建时间',
  6144. 'SCHEMA', N'dbo',
  6145. 'TABLE', N'system_oauth2_approve',
  6146. 'COLUMN', N'create_time'
  6147. GO
  6148. EXEC sp_addextendedproperty
  6149. 'MS_Description', N'更新者',
  6150. 'SCHEMA', N'dbo',
  6151. 'TABLE', N'system_oauth2_approve',
  6152. 'COLUMN', N'updater'
  6153. GO
  6154. EXEC sp_addextendedproperty
  6155. 'MS_Description', N'更新时间',
  6156. 'SCHEMA', N'dbo',
  6157. 'TABLE', N'system_oauth2_approve',
  6158. 'COLUMN', N'update_time'
  6159. GO
  6160. EXEC sp_addextendedproperty
  6161. 'MS_Description', N'是否删除',
  6162. 'SCHEMA', N'dbo',
  6163. 'TABLE', N'system_oauth2_approve',
  6164. 'COLUMN', N'deleted'
  6165. GO
  6166. EXEC sp_addextendedproperty
  6167. 'MS_Description', N'租户编号',
  6168. 'SCHEMA', N'dbo',
  6169. 'TABLE', N'system_oauth2_approve',
  6170. 'COLUMN', N'tenant_id'
  6171. GO
  6172. EXEC sp_addextendedproperty
  6173. 'MS_Description', N'OAuth2 批准表',
  6174. 'SCHEMA', N'dbo',
  6175. 'TABLE', N'system_oauth2_approve'
  6176. GO
  6177. -- ----------------------------
  6178. -- Records of system_oauth2_approve
  6179. -- ----------------------------
  6180. BEGIN TRANSACTION
  6181. GO
  6182. SET IDENTITY_INSERT [dbo].[system_oauth2_approve] ON
  6183. GO
  6184. SET IDENTITY_INSERT [dbo].[system_oauth2_approve] OFF
  6185. GO
  6186. COMMIT
  6187. GO
  6188. -- ----------------------------
  6189. -- Table structure for system_oauth2_client
  6190. -- ----------------------------
  6191. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_client]') AND type IN ('U'))
  6192. DROP TABLE [dbo].[system_oauth2_client]
  6193. GO
  6194. CREATE TABLE [dbo].[system_oauth2_client] (
  6195. [id] bigint IDENTITY(1,1) NOT NULL,
  6196. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6197. [secret] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6198. [name] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6199. [logo] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6200. [description] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6201. [status] tinyint NOT NULL,
  6202. [access_token_validity_seconds] int NOT NULL,
  6203. [refresh_token_validity_seconds] int NOT NULL,
  6204. [redirect_uris] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6205. [auto_approve_scopes] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6206. [authorized_grant_types] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6207. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL,
  6208. [authorities] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6209. [resource_ids] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6210. [additional_information] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6211. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6212. [create_time] datetime2(7) NOT NULL,
  6213. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6214. [update_time] datetime2(7) NOT NULL,
  6215. [deleted] bit DEFAULT 0 NOT NULL
  6216. )
  6217. GO
  6218. ALTER TABLE [dbo].[system_oauth2_client] SET (LOCK_ESCALATION = TABLE)
  6219. GO
  6220. EXEC sp_addextendedproperty
  6221. 'MS_Description', N'编号',
  6222. 'SCHEMA', N'dbo',
  6223. 'TABLE', N'system_oauth2_client',
  6224. 'COLUMN', N'id'
  6225. GO
  6226. EXEC sp_addextendedproperty
  6227. 'MS_Description', N'客户端编号',
  6228. 'SCHEMA', N'dbo',
  6229. 'TABLE', N'system_oauth2_client',
  6230. 'COLUMN', N'client_id'
  6231. GO
  6232. EXEC sp_addextendedproperty
  6233. 'MS_Description', N'客户端密钥',
  6234. 'SCHEMA', N'dbo',
  6235. 'TABLE', N'system_oauth2_client',
  6236. 'COLUMN', N'secret'
  6237. GO
  6238. EXEC sp_addextendedproperty
  6239. 'MS_Description', N'应用名',
  6240. 'SCHEMA', N'dbo',
  6241. 'TABLE', N'system_oauth2_client',
  6242. 'COLUMN', N'name'
  6243. GO
  6244. EXEC sp_addextendedproperty
  6245. 'MS_Description', N'应用图标',
  6246. 'SCHEMA', N'dbo',
  6247. 'TABLE', N'system_oauth2_client',
  6248. 'COLUMN', N'logo'
  6249. GO
  6250. EXEC sp_addextendedproperty
  6251. 'MS_Description', N'应用描述',
  6252. 'SCHEMA', N'dbo',
  6253. 'TABLE', N'system_oauth2_client',
  6254. 'COLUMN', N'description'
  6255. GO
  6256. EXEC sp_addextendedproperty
  6257. 'MS_Description', N'状态',
  6258. 'SCHEMA', N'dbo',
  6259. 'TABLE', N'system_oauth2_client',
  6260. 'COLUMN', N'status'
  6261. GO
  6262. EXEC sp_addextendedproperty
  6263. 'MS_Description', N'访问令牌的有效期',
  6264. 'SCHEMA', N'dbo',
  6265. 'TABLE', N'system_oauth2_client',
  6266. 'COLUMN', N'access_token_validity_seconds'
  6267. GO
  6268. EXEC sp_addextendedproperty
  6269. 'MS_Description', N'刷新令牌的有效期',
  6270. 'SCHEMA', N'dbo',
  6271. 'TABLE', N'system_oauth2_client',
  6272. 'COLUMN', N'refresh_token_validity_seconds'
  6273. GO
  6274. EXEC sp_addextendedproperty
  6275. 'MS_Description', N'可重定向的 URI 地址',
  6276. 'SCHEMA', N'dbo',
  6277. 'TABLE', N'system_oauth2_client',
  6278. 'COLUMN', N'redirect_uris'
  6279. GO
  6280. EXEC sp_addextendedproperty
  6281. 'MS_Description', N'自动通过的授权范围',
  6282. 'SCHEMA', N'dbo',
  6283. 'TABLE', N'system_oauth2_client',
  6284. 'COLUMN', N'auto_approve_scopes'
  6285. GO
  6286. EXEC sp_addextendedproperty
  6287. 'MS_Description', N'授权类型',
  6288. 'SCHEMA', N'dbo',
  6289. 'TABLE', N'system_oauth2_client',
  6290. 'COLUMN', N'authorized_grant_types'
  6291. GO
  6292. EXEC sp_addextendedproperty
  6293. 'MS_Description', N'授权范围',
  6294. 'SCHEMA', N'dbo',
  6295. 'TABLE', N'system_oauth2_client',
  6296. 'COLUMN', N'scopes'
  6297. GO
  6298. EXEC sp_addextendedproperty
  6299. 'MS_Description', N'权限',
  6300. 'SCHEMA', N'dbo',
  6301. 'TABLE', N'system_oauth2_client',
  6302. 'COLUMN', N'authorities'
  6303. GO
  6304. EXEC sp_addextendedproperty
  6305. 'MS_Description', N'资源',
  6306. 'SCHEMA', N'dbo',
  6307. 'TABLE', N'system_oauth2_client',
  6308. 'COLUMN', N'resource_ids'
  6309. GO
  6310. EXEC sp_addextendedproperty
  6311. 'MS_Description', N'附加信息',
  6312. 'SCHEMA', N'dbo',
  6313. 'TABLE', N'system_oauth2_client',
  6314. 'COLUMN', N'additional_information'
  6315. GO
  6316. EXEC sp_addextendedproperty
  6317. 'MS_Description', N'创建者',
  6318. 'SCHEMA', N'dbo',
  6319. 'TABLE', N'system_oauth2_client',
  6320. 'COLUMN', N'creator'
  6321. GO
  6322. EXEC sp_addextendedproperty
  6323. 'MS_Description', N'创建时间',
  6324. 'SCHEMA', N'dbo',
  6325. 'TABLE', N'system_oauth2_client',
  6326. 'COLUMN', N'create_time'
  6327. GO
  6328. EXEC sp_addextendedproperty
  6329. 'MS_Description', N'更新者',
  6330. 'SCHEMA', N'dbo',
  6331. 'TABLE', N'system_oauth2_client',
  6332. 'COLUMN', N'updater'
  6333. GO
  6334. EXEC sp_addextendedproperty
  6335. 'MS_Description', N'更新时间',
  6336. 'SCHEMA', N'dbo',
  6337. 'TABLE', N'system_oauth2_client',
  6338. 'COLUMN', N'update_time'
  6339. GO
  6340. EXEC sp_addextendedproperty
  6341. 'MS_Description', N'是否删除',
  6342. 'SCHEMA', N'dbo',
  6343. 'TABLE', N'system_oauth2_client',
  6344. 'COLUMN', N'deleted'
  6345. GO
  6346. EXEC sp_addextendedproperty
  6347. 'MS_Description', N'OAuth2 客户端表',
  6348. 'SCHEMA', N'dbo',
  6349. 'TABLE', N'system_oauth2_client'
  6350. GO
  6351. -- ----------------------------
  6352. -- Records of system_oauth2_client
  6353. -- ----------------------------
  6354. BEGIN TRANSACTION
  6355. GO
  6356. SET IDENTITY_INSERT [dbo].[system_oauth2_client] ON
  6357. GO
  6358. INSERT INTO [dbo].[system_oauth2_client] ([id], [client_id], [secret], [name], [logo], [description], [status], [access_token_validity_seconds], [refresh_token_validity_seconds], [redirect_uris], [auto_approve_scopes], [authorized_grant_types], [scopes], [authorities], [resource_ids], [additional_information], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'default', N'admin123', N'非繁源码', N'http://test.feifan.iocoder.cn/a5e2e244368878a366b516805a4aabf1.png', N'我是描述', N'0', N'180', N'8640', N'["https://www.zhongxing.cn","https://doc.iocoder.cn"]', N'', N'["password","authorization_code","implicit","refresh_token"]', N'["user.read", "user.write"]', N'["system:user:query"]', N'[]', N'{}', N'1', N'2022-05-11 21:47:12.0000000', N'1', N'2022-05-13 10:50:16.9620000', N'0')
  6359. GO
  6360. SET IDENTITY_INSERT [dbo].[system_oauth2_client] OFF
  6361. GO
  6362. COMMIT
  6363. GO
  6364. -- ----------------------------
  6365. -- Table structure for system_oauth2_code
  6366. -- ----------------------------
  6367. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_code]') AND type IN ('U'))
  6368. DROP TABLE [dbo].[system_oauth2_code]
  6369. GO
  6370. CREATE TABLE [dbo].[system_oauth2_code] (
  6371. [id] bigint IDENTITY(1,1) NOT NULL,
  6372. [user_id] bigint NOT NULL,
  6373. [user_type] tinyint NOT NULL,
  6374. [code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6375. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6376. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6377. [expires_time] datetime2(7) NOT NULL,
  6378. [redirect_uri] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6379. [state] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6380. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6381. [create_time] datetime2(7) NOT NULL,
  6382. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6383. [update_time] datetime2(7) NOT NULL,
  6384. [deleted] bit DEFAULT 0 NOT NULL,
  6385. [tenant_id] bigint NOT NULL
  6386. )
  6387. GO
  6388. ALTER TABLE [dbo].[system_oauth2_code] SET (LOCK_ESCALATION = TABLE)
  6389. GO
  6390. EXEC sp_addextendedproperty
  6391. 'MS_Description', N'编号',
  6392. 'SCHEMA', N'dbo',
  6393. 'TABLE', N'system_oauth2_code',
  6394. 'COLUMN', N'id'
  6395. GO
  6396. EXEC sp_addextendedproperty
  6397. 'MS_Description', N'用户编号',
  6398. 'SCHEMA', N'dbo',
  6399. 'TABLE', N'system_oauth2_code',
  6400. 'COLUMN', N'user_id'
  6401. GO
  6402. EXEC sp_addextendedproperty
  6403. 'MS_Description', N'用户类型',
  6404. 'SCHEMA', N'dbo',
  6405. 'TABLE', N'system_oauth2_code',
  6406. 'COLUMN', N'user_type'
  6407. GO
  6408. EXEC sp_addextendedproperty
  6409. 'MS_Description', N'授权码',
  6410. 'SCHEMA', N'dbo',
  6411. 'TABLE', N'system_oauth2_code',
  6412. 'COLUMN', N'code'
  6413. GO
  6414. EXEC sp_addextendedproperty
  6415. 'MS_Description', N'客户端编号',
  6416. 'SCHEMA', N'dbo',
  6417. 'TABLE', N'system_oauth2_code',
  6418. 'COLUMN', N'client_id'
  6419. GO
  6420. EXEC sp_addextendedproperty
  6421. 'MS_Description', N'授权范围',
  6422. 'SCHEMA', N'dbo',
  6423. 'TABLE', N'system_oauth2_code',
  6424. 'COLUMN', N'scopes'
  6425. GO
  6426. EXEC sp_addextendedproperty
  6427. 'MS_Description', N'过期时间',
  6428. 'SCHEMA', N'dbo',
  6429. 'TABLE', N'system_oauth2_code',
  6430. 'COLUMN', N'expires_time'
  6431. GO
  6432. EXEC sp_addextendedproperty
  6433. 'MS_Description', N'可重定向的 URI 地址',
  6434. 'SCHEMA', N'dbo',
  6435. 'TABLE', N'system_oauth2_code',
  6436. 'COLUMN', N'redirect_uri'
  6437. GO
  6438. EXEC sp_addextendedproperty
  6439. 'MS_Description', N'状态',
  6440. 'SCHEMA', N'dbo',
  6441. 'TABLE', N'system_oauth2_code',
  6442. 'COLUMN', N'state'
  6443. GO
  6444. EXEC sp_addextendedproperty
  6445. 'MS_Description', N'创建者',
  6446. 'SCHEMA', N'dbo',
  6447. 'TABLE', N'system_oauth2_code',
  6448. 'COLUMN', N'creator'
  6449. GO
  6450. EXEC sp_addextendedproperty
  6451. 'MS_Description', N'创建时间',
  6452. 'SCHEMA', N'dbo',
  6453. 'TABLE', N'system_oauth2_code',
  6454. 'COLUMN', N'create_time'
  6455. GO
  6456. EXEC sp_addextendedproperty
  6457. 'MS_Description', N'更新者',
  6458. 'SCHEMA', N'dbo',
  6459. 'TABLE', N'system_oauth2_code',
  6460. 'COLUMN', N'updater'
  6461. GO
  6462. EXEC sp_addextendedproperty
  6463. 'MS_Description', N'更新时间',
  6464. 'SCHEMA', N'dbo',
  6465. 'TABLE', N'system_oauth2_code',
  6466. 'COLUMN', N'update_time'
  6467. GO
  6468. EXEC sp_addextendedproperty
  6469. 'MS_Description', N'是否删除',
  6470. 'SCHEMA', N'dbo',
  6471. 'TABLE', N'system_oauth2_code',
  6472. 'COLUMN', N'deleted'
  6473. GO
  6474. EXEC sp_addextendedproperty
  6475. 'MS_Description', N'租户编号',
  6476. 'SCHEMA', N'dbo',
  6477. 'TABLE', N'system_oauth2_code',
  6478. 'COLUMN', N'tenant_id'
  6479. GO
  6480. EXEC sp_addextendedproperty
  6481. 'MS_Description', N'OAuth2 授权码表',
  6482. 'SCHEMA', N'dbo',
  6483. 'TABLE', N'system_oauth2_code'
  6484. GO
  6485. -- ----------------------------
  6486. -- Records of system_oauth2_code
  6487. -- ----------------------------
  6488. BEGIN TRANSACTION
  6489. GO
  6490. SET IDENTITY_INSERT [dbo].[system_oauth2_code] ON
  6491. GO
  6492. SET IDENTITY_INSERT [dbo].[system_oauth2_code] OFF
  6493. GO
  6494. COMMIT
  6495. GO
  6496. -- ----------------------------
  6497. -- Table structure for system_oauth2_refresh_token
  6498. -- ----------------------------
  6499. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_refresh_token]') AND type IN ('U'))
  6500. DROP TABLE [dbo].[system_oauth2_refresh_token]
  6501. GO
  6502. CREATE TABLE [dbo].[system_oauth2_refresh_token] (
  6503. [id] bigint IDENTITY(1,1) NOT NULL,
  6504. [user_id] bigint NOT NULL,
  6505. [refresh_token] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6506. [user_type] tinyint NOT NULL,
  6507. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6508. [expires_time] datetime2(7) NOT NULL,
  6509. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6510. [create_time] datetime2(7) NOT NULL,
  6511. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6512. [update_time] datetime2(7) NOT NULL,
  6513. [deleted] bit DEFAULT 0 NOT NULL,
  6514. [tenant_id] bigint NOT NULL,
  6515. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL
  6516. )
  6517. GO
  6518. ALTER TABLE [dbo].[system_oauth2_refresh_token] SET (LOCK_ESCALATION = TABLE)
  6519. GO
  6520. EXEC sp_addextendedproperty
  6521. 'MS_Description', N'编号',
  6522. 'SCHEMA', N'dbo',
  6523. 'TABLE', N'system_oauth2_refresh_token',
  6524. 'COLUMN', N'id'
  6525. GO
  6526. EXEC sp_addextendedproperty
  6527. 'MS_Description', N'用户编号',
  6528. 'SCHEMA', N'dbo',
  6529. 'TABLE', N'system_oauth2_refresh_token',
  6530. 'COLUMN', N'user_id'
  6531. GO
  6532. EXEC sp_addextendedproperty
  6533. 'MS_Description', N'刷新令牌',
  6534. 'SCHEMA', N'dbo',
  6535. 'TABLE', N'system_oauth2_refresh_token',
  6536. 'COLUMN', N'refresh_token'
  6537. GO
  6538. EXEC sp_addextendedproperty
  6539. 'MS_Description', N'用户类型',
  6540. 'SCHEMA', N'dbo',
  6541. 'TABLE', N'system_oauth2_refresh_token',
  6542. 'COLUMN', N'user_type'
  6543. GO
  6544. EXEC sp_addextendedproperty
  6545. 'MS_Description', N'客户端编号',
  6546. 'SCHEMA', N'dbo',
  6547. 'TABLE', N'system_oauth2_refresh_token',
  6548. 'COLUMN', N'client_id'
  6549. GO
  6550. EXEC sp_addextendedproperty
  6551. 'MS_Description', N'过期时间',
  6552. 'SCHEMA', N'dbo',
  6553. 'TABLE', N'system_oauth2_refresh_token',
  6554. 'COLUMN', N'expires_time'
  6555. GO
  6556. EXEC sp_addextendedproperty
  6557. 'MS_Description', N'创建者',
  6558. 'SCHEMA', N'dbo',
  6559. 'TABLE', N'system_oauth2_refresh_token',
  6560. 'COLUMN', N'creator'
  6561. GO
  6562. EXEC sp_addextendedproperty
  6563. 'MS_Description', N'创建时间',
  6564. 'SCHEMA', N'dbo',
  6565. 'TABLE', N'system_oauth2_refresh_token',
  6566. 'COLUMN', N'create_time'
  6567. GO
  6568. EXEC sp_addextendedproperty
  6569. 'MS_Description', N'更新者',
  6570. 'SCHEMA', N'dbo',
  6571. 'TABLE', N'system_oauth2_refresh_token',
  6572. 'COLUMN', N'updater'
  6573. GO
  6574. EXEC sp_addextendedproperty
  6575. 'MS_Description', N'更新时间',
  6576. 'SCHEMA', N'dbo',
  6577. 'TABLE', N'system_oauth2_refresh_token',
  6578. 'COLUMN', N'update_time'
  6579. GO
  6580. EXEC sp_addextendedproperty
  6581. 'MS_Description', N'是否删除',
  6582. 'SCHEMA', N'dbo',
  6583. 'TABLE', N'system_oauth2_refresh_token',
  6584. 'COLUMN', N'deleted'
  6585. GO
  6586. EXEC sp_addextendedproperty
  6587. 'MS_Description', N'租户编号',
  6588. 'SCHEMA', N'dbo',
  6589. 'TABLE', N'system_oauth2_refresh_token',
  6590. 'COLUMN', N'tenant_id'
  6591. GO
  6592. EXEC sp_addextendedproperty
  6593. 'MS_Description', N'授权范围',
  6594. 'SCHEMA', N'dbo',
  6595. 'TABLE', N'system_oauth2_refresh_token',
  6596. 'COLUMN', N'scopes'
  6597. GO
  6598. EXEC sp_addextendedproperty
  6599. 'MS_Description', N'刷新令牌',
  6600. 'SCHEMA', N'dbo',
  6601. 'TABLE', N'system_oauth2_refresh_token'
  6602. GO
  6603. -- ----------------------------
  6604. -- Records of system_oauth2_refresh_token
  6605. -- ----------------------------
  6606. BEGIN TRANSACTION
  6607. GO
  6608. SET IDENTITY_INSERT [dbo].[system_oauth2_refresh_token] ON
  6609. GO
  6610. SET IDENTITY_INSERT [dbo].[system_oauth2_refresh_token] OFF
  6611. GO
  6612. COMMIT
  6613. GO
  6614. -- ----------------------------
  6615. -- Table structure for system_operate_log
  6616. -- ----------------------------
  6617. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_operate_log]') AND type IN ('U'))
  6618. DROP TABLE [dbo].[system_operate_log]
  6619. GO
  6620. CREATE TABLE [dbo].[system_operate_log] (
  6621. [id] bigint IDENTITY(1,1) NOT NULL,
  6622. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6623. [user_id] bigint NOT NULL,
  6624. [user_type] tinyint NOT NULL,
  6625. [module] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6626. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6627. [type] bigint NOT NULL,
  6628. [content] nvarchar(2000) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6629. [exts] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6630. [request_method] nvarchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6631. [request_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6632. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6633. [user_agent] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6634. [java_method] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6635. [java_method_args] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6636. [start_time] datetime2(7) NOT NULL,
  6637. [duration] int NOT NULL,
  6638. [result_code] int NOT NULL,
  6639. [result_msg] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6640. [result_data] nvarchar(4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6641. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6642. [create_time] datetime2(7) NOT NULL,
  6643. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6644. [update_time] datetime2(7) NOT NULL,
  6645. [tenant_id] bigint NOT NULL,
  6646. [deleted] bit DEFAULT 0 NOT NULL
  6647. )
  6648. GO
  6649. ALTER TABLE [dbo].[system_operate_log] SET (LOCK_ESCALATION = TABLE)
  6650. GO
  6651. EXEC sp_addextendedproperty
  6652. 'MS_Description', N'日志主键',
  6653. 'SCHEMA', N'dbo',
  6654. 'TABLE', N'system_operate_log',
  6655. 'COLUMN', N'id'
  6656. GO
  6657. EXEC sp_addextendedproperty
  6658. 'MS_Description', N'链路追踪编号',
  6659. 'SCHEMA', N'dbo',
  6660. 'TABLE', N'system_operate_log',
  6661. 'COLUMN', N'trace_id'
  6662. GO
  6663. EXEC sp_addextendedproperty
  6664. 'MS_Description', N'用户编号',
  6665. 'SCHEMA', N'dbo',
  6666. 'TABLE', N'system_operate_log',
  6667. 'COLUMN', N'user_id'
  6668. GO
  6669. EXEC sp_addextendedproperty
  6670. 'MS_Description', N'用户类型',
  6671. 'SCHEMA', N'dbo',
  6672. 'TABLE', N'system_operate_log',
  6673. 'COLUMN', N'user_type'
  6674. GO
  6675. EXEC sp_addextendedproperty
  6676. 'MS_Description', N'模块标题',
  6677. 'SCHEMA', N'dbo',
  6678. 'TABLE', N'system_operate_log',
  6679. 'COLUMN', N'module'
  6680. GO
  6681. EXEC sp_addextendedproperty
  6682. 'MS_Description', N'操作名',
  6683. 'SCHEMA', N'dbo',
  6684. 'TABLE', N'system_operate_log',
  6685. 'COLUMN', N'name'
  6686. GO
  6687. EXEC sp_addextendedproperty
  6688. 'MS_Description', N'操作分类',
  6689. 'SCHEMA', N'dbo',
  6690. 'TABLE', N'system_operate_log',
  6691. 'COLUMN', N'type'
  6692. GO
  6693. EXEC sp_addextendedproperty
  6694. 'MS_Description', N'操作内容',
  6695. 'SCHEMA', N'dbo',
  6696. 'TABLE', N'system_operate_log',
  6697. 'COLUMN', N'content'
  6698. GO
  6699. EXEC sp_addextendedproperty
  6700. 'MS_Description', N'拓展字段',
  6701. 'SCHEMA', N'dbo',
  6702. 'TABLE', N'system_operate_log',
  6703. 'COLUMN', N'exts'
  6704. GO
  6705. EXEC sp_addextendedproperty
  6706. 'MS_Description', N'请求方法名',
  6707. 'SCHEMA', N'dbo',
  6708. 'TABLE', N'system_operate_log',
  6709. 'COLUMN', N'request_method'
  6710. GO
  6711. EXEC sp_addextendedproperty
  6712. 'MS_Description', N'请求地址',
  6713. 'SCHEMA', N'dbo',
  6714. 'TABLE', N'system_operate_log',
  6715. 'COLUMN', N'request_url'
  6716. GO
  6717. EXEC sp_addextendedproperty
  6718. 'MS_Description', N'用户 IP',
  6719. 'SCHEMA', N'dbo',
  6720. 'TABLE', N'system_operate_log',
  6721. 'COLUMN', N'user_ip'
  6722. GO
  6723. EXEC sp_addextendedproperty
  6724. 'MS_Description', N'浏览器 UA',
  6725. 'SCHEMA', N'dbo',
  6726. 'TABLE', N'system_operate_log',
  6727. 'COLUMN', N'user_agent'
  6728. GO
  6729. EXEC sp_addextendedproperty
  6730. 'MS_Description', N'Java 方法名',
  6731. 'SCHEMA', N'dbo',
  6732. 'TABLE', N'system_operate_log',
  6733. 'COLUMN', N'java_method'
  6734. GO
  6735. EXEC sp_addextendedproperty
  6736. 'MS_Description', N'Java 方法的参数',
  6737. 'SCHEMA', N'dbo',
  6738. 'TABLE', N'system_operate_log',
  6739. 'COLUMN', N'java_method_args'
  6740. GO
  6741. EXEC sp_addextendedproperty
  6742. 'MS_Description', N'操作时间',
  6743. 'SCHEMA', N'dbo',
  6744. 'TABLE', N'system_operate_log',
  6745. 'COLUMN', N'start_time'
  6746. GO
  6747. EXEC sp_addextendedproperty
  6748. 'MS_Description', N'执行时长',
  6749. 'SCHEMA', N'dbo',
  6750. 'TABLE', N'system_operate_log',
  6751. 'COLUMN', N'duration'
  6752. GO
  6753. EXEC sp_addextendedproperty
  6754. 'MS_Description', N'结果码',
  6755. 'SCHEMA', N'dbo',
  6756. 'TABLE', N'system_operate_log',
  6757. 'COLUMN', N'result_code'
  6758. GO
  6759. EXEC sp_addextendedproperty
  6760. 'MS_Description', N'结果提示',
  6761. 'SCHEMA', N'dbo',
  6762. 'TABLE', N'system_operate_log',
  6763. 'COLUMN', N'result_msg'
  6764. GO
  6765. EXEC sp_addextendedproperty
  6766. 'MS_Description', N'结果数据',
  6767. 'SCHEMA', N'dbo',
  6768. 'TABLE', N'system_operate_log',
  6769. 'COLUMN', N'result_data'
  6770. GO
  6771. EXEC sp_addextendedproperty
  6772. 'MS_Description', N'创建者',
  6773. 'SCHEMA', N'dbo',
  6774. 'TABLE', N'system_operate_log',
  6775. 'COLUMN', N'creator'
  6776. GO
  6777. EXEC sp_addextendedproperty
  6778. 'MS_Description', N'创建时间',
  6779. 'SCHEMA', N'dbo',
  6780. 'TABLE', N'system_operate_log',
  6781. 'COLUMN', N'create_time'
  6782. GO
  6783. EXEC sp_addextendedproperty
  6784. 'MS_Description', N'更新者',
  6785. 'SCHEMA', N'dbo',
  6786. 'TABLE', N'system_operate_log',
  6787. 'COLUMN', N'updater'
  6788. GO
  6789. EXEC sp_addextendedproperty
  6790. 'MS_Description', N'更新时间',
  6791. 'SCHEMA', N'dbo',
  6792. 'TABLE', N'system_operate_log',
  6793. 'COLUMN', N'update_time'
  6794. GO
  6795. EXEC sp_addextendedproperty
  6796. 'MS_Description', N'租户编号',
  6797. 'SCHEMA', N'dbo',
  6798. 'TABLE', N'system_operate_log',
  6799. 'COLUMN', N'tenant_id'
  6800. GO
  6801. EXEC sp_addextendedproperty
  6802. 'MS_Description', N'是否删除',
  6803. 'SCHEMA', N'dbo',
  6804. 'TABLE', N'system_operate_log',
  6805. 'COLUMN', N'deleted'
  6806. GO
  6807. EXEC sp_addextendedproperty
  6808. 'MS_Description', N'操作日志记录',
  6809. 'SCHEMA', N'dbo',
  6810. 'TABLE', N'system_operate_log'
  6811. GO
  6812. -- ----------------------------
  6813. -- Records of system_operate_log
  6814. -- ----------------------------
  6815. BEGIN TRANSACTION
  6816. GO
  6817. SET IDENTITY_INSERT [dbo].[system_operate_log] ON
  6818. GO
  6819. SET IDENTITY_INSERT [dbo].[system_operate_log] OFF
  6820. GO
  6821. COMMIT
  6822. GO
  6823. -- ----------------------------
  6824. -- Table structure for system_post
  6825. -- ----------------------------
  6826. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_post]') AND type IN ('U'))
  6827. DROP TABLE [dbo].[system_post]
  6828. GO
  6829. CREATE TABLE [dbo].[system_post] (
  6830. [id] bigint IDENTITY(1,1) NOT NULL,
  6831. [code] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6832. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6833. [sort] int NOT NULL,
  6834. [status] tinyint NOT NULL,
  6835. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6836. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6837. [create_time] datetime2(7) NOT NULL,
  6838. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6839. [update_time] datetime2(7) NOT NULL,
  6840. [tenant_id] bigint NOT NULL,
  6841. [deleted] bit DEFAULT 0 NOT NULL
  6842. )
  6843. GO
  6844. ALTER TABLE [dbo].[system_post] SET (LOCK_ESCALATION = TABLE)
  6845. GO
  6846. EXEC sp_addextendedproperty
  6847. 'MS_Description', N'岗位ID',
  6848. 'SCHEMA', N'dbo',
  6849. 'TABLE', N'system_post',
  6850. 'COLUMN', N'id'
  6851. GO
  6852. EXEC sp_addextendedproperty
  6853. 'MS_Description', N'岗位编码',
  6854. 'SCHEMA', N'dbo',
  6855. 'TABLE', N'system_post',
  6856. 'COLUMN', N'code'
  6857. GO
  6858. EXEC sp_addextendedproperty
  6859. 'MS_Description', N'岗位名称',
  6860. 'SCHEMA', N'dbo',
  6861. 'TABLE', N'system_post',
  6862. 'COLUMN', N'name'
  6863. GO
  6864. EXEC sp_addextendedproperty
  6865. 'MS_Description', N'显示顺序',
  6866. 'SCHEMA', N'dbo',
  6867. 'TABLE', N'system_post',
  6868. 'COLUMN', N'sort'
  6869. GO
  6870. EXEC sp_addextendedproperty
  6871. 'MS_Description', N'状态(0正常 1停用)',
  6872. 'SCHEMA', N'dbo',
  6873. 'TABLE', N'system_post',
  6874. 'COLUMN', N'status'
  6875. GO
  6876. EXEC sp_addextendedproperty
  6877. 'MS_Description', N'备注',
  6878. 'SCHEMA', N'dbo',
  6879. 'TABLE', N'system_post',
  6880. 'COLUMN', N'remark'
  6881. GO
  6882. EXEC sp_addextendedproperty
  6883. 'MS_Description', N'创建者',
  6884. 'SCHEMA', N'dbo',
  6885. 'TABLE', N'system_post',
  6886. 'COLUMN', N'creator'
  6887. GO
  6888. EXEC sp_addextendedproperty
  6889. 'MS_Description', N'创建时间',
  6890. 'SCHEMA', N'dbo',
  6891. 'TABLE', N'system_post',
  6892. 'COLUMN', N'create_time'
  6893. GO
  6894. EXEC sp_addextendedproperty
  6895. 'MS_Description', N'更新者',
  6896. 'SCHEMA', N'dbo',
  6897. 'TABLE', N'system_post',
  6898. 'COLUMN', N'updater'
  6899. GO
  6900. EXEC sp_addextendedproperty
  6901. 'MS_Description', N'更新时间',
  6902. 'SCHEMA', N'dbo',
  6903. 'TABLE', N'system_post',
  6904. 'COLUMN', N'update_time'
  6905. GO
  6906. EXEC sp_addextendedproperty
  6907. 'MS_Description', N'租户编号',
  6908. 'SCHEMA', N'dbo',
  6909. 'TABLE', N'system_post',
  6910. 'COLUMN', N'tenant_id'
  6911. GO
  6912. EXEC sp_addextendedproperty
  6913. 'MS_Description', N'是否删除',
  6914. 'SCHEMA', N'dbo',
  6915. 'TABLE', N'system_post',
  6916. 'COLUMN', N'deleted'
  6917. GO
  6918. EXEC sp_addextendedproperty
  6919. 'MS_Description', N'岗位信息表',
  6920. 'SCHEMA', N'dbo',
  6921. 'TABLE', N'system_post'
  6922. GO
  6923. -- ----------------------------
  6924. -- Records of system_post
  6925. -- ----------------------------
  6926. BEGIN TRANSACTION
  6927. GO
  6928. SET IDENTITY_INSERT [dbo].[system_post] ON
  6929. GO
  6930. INSERT INTO [dbo].[system_post] ([id], [code], [name], [sort], [status], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'ceo', N'董事长', N'1', N'0', N'', N'admin', N'2021-01-06 17:03:48.0000000', N'1', N'2022-04-19 16:53:39.0000000', N'1', N'0')
  6931. GO
  6932. INSERT INTO [dbo].[system_post] ([id], [code], [name], [sort], [status], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'2', N'se', N'项目经理', N'2', N'0', N'', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2021-12-12 10:47:47.0000000', N'1', N'0')
  6933. GO
  6934. INSERT INTO [dbo].[system_post] ([id], [code], [name], [sort], [status], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'4', N'user', N'普通员工', N'4', N'0', N'111', N'admin', N'2021-01-05 17:03:48.0000000', N'1', N'2022-04-20 00:59:35.0000000', N'1', N'0')
  6935. GO
  6936. SET IDENTITY_INSERT [dbo].[system_post] OFF
  6937. GO
  6938. COMMIT
  6939. GO
  6940. -- ----------------------------
  6941. -- Table structure for system_role
  6942. -- ----------------------------
  6943. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_role]') AND type IN ('U'))
  6944. DROP TABLE [dbo].[system_role]
  6945. GO
  6946. CREATE TABLE [dbo].[system_role] (
  6947. [id] bigint IDENTITY(1,1) NOT NULL,
  6948. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6949. [code] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6950. [sort] int NOT NULL,
  6951. [data_scope] tinyint NOT NULL,
  6952. [data_scope_dept_ids] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6953. [status] tinyint NOT NULL,
  6954. [type] tinyint NOT NULL,
  6955. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6956. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6957. [create_time] datetime2(7) NOT NULL,
  6958. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6959. [update_time] datetime2(7) NOT NULL,
  6960. [tenant_id] bigint NOT NULL,
  6961. [deleted] bit DEFAULT 0 NOT NULL
  6962. )
  6963. GO
  6964. ALTER TABLE [dbo].[system_role] SET (LOCK_ESCALATION = TABLE)
  6965. GO
  6966. EXEC sp_addextendedproperty
  6967. 'MS_Description', N'角色ID',
  6968. 'SCHEMA', N'dbo',
  6969. 'TABLE', N'system_role',
  6970. 'COLUMN', N'id'
  6971. GO
  6972. EXEC sp_addextendedproperty
  6973. 'MS_Description', N'角色名称',
  6974. 'SCHEMA', N'dbo',
  6975. 'TABLE', N'system_role',
  6976. 'COLUMN', N'name'
  6977. GO
  6978. EXEC sp_addextendedproperty
  6979. 'MS_Description', N'角色权限字符串',
  6980. 'SCHEMA', N'dbo',
  6981. 'TABLE', N'system_role',
  6982. 'COLUMN', N'code'
  6983. GO
  6984. EXEC sp_addextendedproperty
  6985. 'MS_Description', N'显示顺序',
  6986. 'SCHEMA', N'dbo',
  6987. 'TABLE', N'system_role',
  6988. 'COLUMN', N'sort'
  6989. GO
  6990. EXEC sp_addextendedproperty
  6991. 'MS_Description', N'数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
  6992. 'SCHEMA', N'dbo',
  6993. 'TABLE', N'system_role',
  6994. 'COLUMN', N'data_scope'
  6995. GO
  6996. EXEC sp_addextendedproperty
  6997. 'MS_Description', N'数据范围(指定部门数组)',
  6998. 'SCHEMA', N'dbo',
  6999. 'TABLE', N'system_role',
  7000. 'COLUMN', N'data_scope_dept_ids'
  7001. GO
  7002. EXEC sp_addextendedproperty
  7003. 'MS_Description', N'角色状态(0正常 1停用)',
  7004. 'SCHEMA', N'dbo',
  7005. 'TABLE', N'system_role',
  7006. 'COLUMN', N'status'
  7007. GO
  7008. EXEC sp_addextendedproperty
  7009. 'MS_Description', N'角色类型',
  7010. 'SCHEMA', N'dbo',
  7011. 'TABLE', N'system_role',
  7012. 'COLUMN', N'type'
  7013. GO
  7014. EXEC sp_addextendedproperty
  7015. 'MS_Description', N'备注',
  7016. 'SCHEMA', N'dbo',
  7017. 'TABLE', N'system_role',
  7018. 'COLUMN', N'remark'
  7019. GO
  7020. EXEC sp_addextendedproperty
  7021. 'MS_Description', N'创建者',
  7022. 'SCHEMA', N'dbo',
  7023. 'TABLE', N'system_role',
  7024. 'COLUMN', N'creator'
  7025. GO
  7026. EXEC sp_addextendedproperty
  7027. 'MS_Description', N'创建时间',
  7028. 'SCHEMA', N'dbo',
  7029. 'TABLE', N'system_role',
  7030. 'COLUMN', N'create_time'
  7031. GO
  7032. EXEC sp_addextendedproperty
  7033. 'MS_Description', N'更新者',
  7034. 'SCHEMA', N'dbo',
  7035. 'TABLE', N'system_role',
  7036. 'COLUMN', N'updater'
  7037. GO
  7038. EXEC sp_addextendedproperty
  7039. 'MS_Description', N'更新时间',
  7040. 'SCHEMA', N'dbo',
  7041. 'TABLE', N'system_role',
  7042. 'COLUMN', N'update_time'
  7043. GO
  7044. EXEC sp_addextendedproperty
  7045. 'MS_Description', N'租户编号',
  7046. 'SCHEMA', N'dbo',
  7047. 'TABLE', N'system_role',
  7048. 'COLUMN', N'tenant_id'
  7049. GO
  7050. EXEC sp_addextendedproperty
  7051. 'MS_Description', N'是否删除',
  7052. 'SCHEMA', N'dbo',
  7053. 'TABLE', N'system_role',
  7054. 'COLUMN', N'deleted'
  7055. GO
  7056. EXEC sp_addextendedproperty
  7057. 'MS_Description', N'角色信息表',
  7058. 'SCHEMA', N'dbo',
  7059. 'TABLE', N'system_role'
  7060. GO
  7061. -- ----------------------------
  7062. -- Records of system_role
  7063. -- ----------------------------
  7064. BEGIN TRANSACTION
  7065. GO
  7066. SET IDENTITY_INSERT [dbo].[system_role] ON
  7067. GO
  7068. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'超级管理员', N'super_admin', N'1', N'1', N'', N'0', N'1', N'超级管理员', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-22 05:08:21.0000000', N'1', N'0')
  7069. GO
  7070. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'2', N'普通角色', N'common', N'2', N'2', N'', N'0', N'1', N'普通角色', N'admin', N'2021-01-05 17:03:48.0000000', N'', N'2022-02-22 05:08:20.0000000', N'1', N'0')
  7071. GO
  7072. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'101', N'测试账号', N'test', N'0', N'1', N'[]', N'0', N'2', N'132', N'', N'2021-01-06 13:49:35.0000000', N'1', N'2022-05-02 02:32:06.6180000', N'1', N'0')
  7073. GO
  7074. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'109', N'租户管理员', N'tenant_admin', N'0', N'1', N'', N'0', N'1', N'系统自动生成', N'1', N'2022-02-22 00:56:14.0000000', N'1', N'2022-02-22 00:56:14.0000000', N'121', N'0')
  7075. GO
  7076. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'110', N'测试角色', N'test', N'0', N'1', N'[]', N'0', N'2', N'嘿嘿', N'110', N'2022-02-23 00:14:34.0000000', N'110', N'2022-02-23 13:14:58.0000000', N'121', N'0')
  7077. GO
  7078. INSERT INTO [dbo].[system_role] ([id], [name], [code], [sort], [data_scope], [data_scope_dept_ids], [status], [type], [remark], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'111', N'租户管理员', N'tenant_admin', N'0', N'1', N'', N'0', N'1', N'系统自动生成', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0')
  7079. GO
  7080. SET IDENTITY_INSERT [dbo].[system_role] OFF
  7081. GO
  7082. COMMIT
  7083. GO
  7084. -- ----------------------------
  7085. -- Table structure for system_role_menu
  7086. -- ----------------------------
  7087. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_role_menu]') AND type IN ('U'))
  7088. DROP TABLE [dbo].[system_role_menu]
  7089. GO
  7090. CREATE TABLE [dbo].[system_role_menu] (
  7091. [role_id] bigint NOT NULL,
  7092. [menu_id] bigint NOT NULL,
  7093. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7094. [create_time] datetime2(7) NOT NULL,
  7095. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7096. [update_time] datetime2(7) NOT NULL,
  7097. [tenant_id] bigint DEFAULT 0 NOT NULL,
  7098. [deleted] bit DEFAULT 0 NOT NULL,
  7099. [id] bigint IDENTITY(1,1) NOT NULL
  7100. )
  7101. GO
  7102. ALTER TABLE [dbo].[system_role_menu] SET (LOCK_ESCALATION = TABLE)
  7103. GO
  7104. EXEC sp_addextendedproperty
  7105. 'MS_Description', N'角色ID',
  7106. 'SCHEMA', N'dbo',
  7107. 'TABLE', N'system_role_menu',
  7108. 'COLUMN', N'role_id'
  7109. GO
  7110. EXEC sp_addextendedproperty
  7111. 'MS_Description', N'菜单ID',
  7112. 'SCHEMA', N'dbo',
  7113. 'TABLE', N'system_role_menu',
  7114. 'COLUMN', N'menu_id'
  7115. GO
  7116. EXEC sp_addextendedproperty
  7117. 'MS_Description', N'创建者',
  7118. 'SCHEMA', N'dbo',
  7119. 'TABLE', N'system_role_menu',
  7120. 'COLUMN', N'creator'
  7121. GO
  7122. EXEC sp_addextendedproperty
  7123. 'MS_Description', N'创建时间',
  7124. 'SCHEMA', N'dbo',
  7125. 'TABLE', N'system_role_menu',
  7126. 'COLUMN', N'create_time'
  7127. GO
  7128. EXEC sp_addextendedproperty
  7129. 'MS_Description', N'更新者',
  7130. 'SCHEMA', N'dbo',
  7131. 'TABLE', N'system_role_menu',
  7132. 'COLUMN', N'updater'
  7133. GO
  7134. EXEC sp_addextendedproperty
  7135. 'MS_Description', N'更新时间',
  7136. 'SCHEMA', N'dbo',
  7137. 'TABLE', N'system_role_menu',
  7138. 'COLUMN', N'update_time'
  7139. GO
  7140. EXEC sp_addextendedproperty
  7141. 'MS_Description', N'租户编号',
  7142. 'SCHEMA', N'dbo',
  7143. 'TABLE', N'system_role_menu',
  7144. 'COLUMN', N'tenant_id'
  7145. GO
  7146. EXEC sp_addextendedproperty
  7147. 'MS_Description', N'是否删除',
  7148. 'SCHEMA', N'dbo',
  7149. 'TABLE', N'system_role_menu',
  7150. 'COLUMN', N'deleted'
  7151. GO
  7152. EXEC sp_addextendedproperty
  7153. 'MS_Description', N'自增编号',
  7154. 'SCHEMA', N'dbo',
  7155. 'TABLE', N'system_role_menu',
  7156. 'COLUMN', N'id'
  7157. GO
  7158. EXEC sp_addextendedproperty
  7159. 'MS_Description', N'角色和菜单关联表',
  7160. 'SCHEMA', N'dbo',
  7161. 'TABLE', N'system_role_menu'
  7162. GO
  7163. -- ----------------------------
  7164. -- Records of system_role_menu
  7165. -- ----------------------------
  7166. BEGIN TRANSACTION
  7167. GO
  7168. SET IDENTITY_INSERT [dbo].[system_role_menu] ON
  7169. GO
  7170. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1', N'1', N'2022-02-22 00:56:14.0000000', N'1', N'2022-02-22 00:56:14.0000000', N'121', N'0', N'1')
  7171. GO
  7172. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'2')
  7173. GO
  7174. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1093', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'3')
  7175. GO
  7176. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1094', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'4')
  7177. GO
  7178. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1100', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'5')
  7179. GO
  7180. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1107', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'6')
  7181. GO
  7182. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1110', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'7')
  7183. GO
  7184. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1117', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'8')
  7185. GO
  7186. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'100', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'9')
  7187. GO
  7188. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'101', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'10')
  7189. GO
  7190. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'102', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'11')
  7191. GO
  7192. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1126', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'12')
  7193. GO
  7194. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'103', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'13')
  7195. GO
  7196. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'104', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'14')
  7197. GO
  7198. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'105', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'15')
  7199. GO
  7200. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'107', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'16')
  7201. GO
  7202. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'108', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'17')
  7203. GO
  7204. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'109', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'18')
  7205. GO
  7206. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1138', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'19')
  7207. GO
  7208. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1224', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'20')
  7209. GO
  7210. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1225', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'21')
  7211. GO
  7212. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'500', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'22')
  7213. GO
  7214. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'501', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'2022-02-22 13:09:12.0000000', N'1', N'0', N'23')
  7215. GO
  7216. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'2', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'24')
  7217. GO
  7218. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1077', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'25')
  7219. GO
  7220. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1078', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'26')
  7221. GO
  7222. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1083', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'27')
  7223. GO
  7224. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1084', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'28')
  7225. GO
  7226. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'1090', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'29')
  7227. GO
  7228. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'106', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'30')
  7229. GO
  7230. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'110', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'31')
  7231. GO
  7232. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'111', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'32')
  7233. GO
  7234. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'112', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'33')
  7235. GO
  7236. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'2', N'113', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'2022-02-22 13:16:57.0000000', N'1', N'0', N'34')
  7237. GO
  7238. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'110', N'1', N'110', N'2022-02-23 00:23:55.0000000', N'110', N'2022-02-23 00:23:55.0000000', N'121', N'0', N'35')
  7239. GO
  7240. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'103', N'1', N'2022-02-23 19:32:14.0000000', N'1', N'2022-02-23 19:32:14.0000000', N'121', N'0', N'36')
  7241. GO
  7242. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'104', N'1', N'2022-02-23 19:32:14.0000000', N'1', N'2022-02-23 19:32:14.0000000', N'121', N'0', N'37')
  7243. GO
  7244. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'38')
  7245. GO
  7246. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'2', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'39')
  7247. GO
  7248. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1077', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'40')
  7249. GO
  7250. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1078', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'41')
  7251. GO
  7252. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1083', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'42')
  7253. GO
  7254. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1084', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'43')
  7255. GO
  7256. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1090', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'44')
  7257. GO
  7258. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1093', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'45')
  7259. GO
  7260. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1094', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'46')
  7261. GO
  7262. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1100', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'47')
  7263. GO
  7264. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1107', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'48')
  7265. GO
  7266. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1110', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'49')
  7267. GO
  7268. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1117', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'50')
  7269. GO
  7270. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'100', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'51')
  7271. GO
  7272. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'101', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'52')
  7273. GO
  7274. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'102', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'53')
  7275. GO
  7276. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1126', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'54')
  7277. GO
  7278. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'103', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'55')
  7279. GO
  7280. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'104', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'56')
  7281. GO
  7282. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'105', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'57')
  7283. GO
  7284. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'106', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'58')
  7285. GO
  7286. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'107', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'59')
  7287. GO
  7288. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'108', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'60')
  7289. GO
  7290. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'109', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'61')
  7291. GO
  7292. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'110', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'62')
  7293. GO
  7294. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'111', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'63')
  7295. GO
  7296. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'112', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'64')
  7297. GO
  7298. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'113', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'65')
  7299. GO
  7300. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1138', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'66')
  7301. GO
  7302. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1224', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'67')
  7303. GO
  7304. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'1225', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'68')
  7305. GO
  7306. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'500', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'69')
  7307. GO
  7308. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'1', N'501', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'2022-02-23 20:03:57.0000000', N'1', N'0', N'70')
  7309. GO
  7310. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1024', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'71')
  7311. GO
  7312. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1025', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'72')
  7313. GO
  7314. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1017', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'73')
  7315. GO
  7316. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1018', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'74')
  7317. GO
  7318. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1019', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'75')
  7319. GO
  7320. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1020', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'76')
  7321. GO
  7322. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1021', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'77')
  7323. GO
  7324. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1022', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'78')
  7325. GO
  7326. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1023', N'1', N'2022-02-23 20:30:14.0000000', N'1', N'2022-02-23 20:30:14.0000000', N'121', N'0', N'79')
  7327. GO
  7328. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1024', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'80')
  7329. GO
  7330. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1025', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'81')
  7331. GO
  7332. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'82')
  7333. GO
  7334. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'103', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'83')
  7335. GO
  7336. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'104', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'84')
  7337. GO
  7338. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1017', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'85')
  7339. GO
  7340. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1018', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'86')
  7341. GO
  7342. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1019', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'87')
  7343. GO
  7344. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1020', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'88')
  7345. GO
  7346. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1021', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'89')
  7347. GO
  7348. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1022', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'90')
  7349. GO
  7350. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1023', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0', N'91')
  7351. GO
  7352. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'102', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'121', N'0', N'92')
  7353. GO
  7354. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1013', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'121', N'0', N'93')
  7355. GO
  7356. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1014', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'121', N'0', N'94')
  7357. GO
  7358. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1015', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'121', N'0', N'95')
  7359. GO
  7360. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'109', N'1016', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'121', N'0', N'96')
  7361. GO
  7362. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'102', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'122', N'0', N'97')
  7363. GO
  7364. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1013', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'122', N'0', N'98')
  7365. GO
  7366. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1014', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'122', N'0', N'99')
  7367. GO
  7368. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1015', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'122', N'0', N'100')
  7369. GO
  7370. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'111', N'1016', N'1', N'2022-03-19 18:39:13.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'122', N'0', N'101')
  7371. GO
  7372. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1216', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'102')
  7373. GO
  7374. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1217', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'103')
  7375. GO
  7376. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1218', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'104')
  7377. GO
  7378. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1219', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'105')
  7379. GO
  7380. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1220', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'106')
  7381. GO
  7382. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1221', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'107')
  7383. GO
  7384. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'5', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'108')
  7385. GO
  7386. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1222', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'109')
  7387. GO
  7388. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1118', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'110')
  7389. GO
  7390. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1119', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'111')
  7391. GO
  7392. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1120', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'112')
  7393. GO
  7394. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1185', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'113')
  7395. GO
  7396. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1186', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'114')
  7397. GO
  7398. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1187', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'115')
  7399. GO
  7400. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1188', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'116')
  7401. GO
  7402. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1189', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'117')
  7403. GO
  7404. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1190', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'118')
  7405. GO
  7406. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1191', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'119')
  7407. GO
  7408. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1192', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'120')
  7409. GO
  7410. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1193', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'121')
  7411. GO
  7412. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1194', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'122')
  7413. GO
  7414. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1195', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'123')
  7415. GO
  7416. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1196', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'124')
  7417. GO
  7418. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1197', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'125')
  7419. GO
  7420. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1198', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'126')
  7421. GO
  7422. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1199', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'127')
  7423. GO
  7424. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1200', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'128')
  7425. GO
  7426. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1201', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'129')
  7427. GO
  7428. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1202', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'130')
  7429. GO
  7430. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1207', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'131')
  7431. GO
  7432. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1208', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'132')
  7433. GO
  7434. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1209', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'133')
  7435. GO
  7436. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1210', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'134')
  7437. GO
  7438. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1211', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'135')
  7439. GO
  7440. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1212', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'136')
  7441. GO
  7442. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1213', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'137')
  7443. GO
  7444. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1215', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'2022-03-19 21:45:52.0000000', N'1', N'0', N'138')
  7445. GO
  7446. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'2', N'1', N'2022-04-01 22:21:24.0000000', N'1', N'2022-04-01 22:21:24.0000000', N'1', N'0', N'139')
  7447. GO
  7448. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1031', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'140')
  7449. GO
  7450. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1032', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'141')
  7451. GO
  7452. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1033', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'142')
  7453. GO
  7454. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1034', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'143')
  7455. GO
  7456. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1035', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'144')
  7457. GO
  7458. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1050', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'145')
  7459. GO
  7460. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1051', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'146')
  7461. GO
  7462. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1052', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'147')
  7463. GO
  7464. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1053', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'148')
  7465. GO
  7466. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1054', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'149')
  7467. GO
  7468. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1056', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'150')
  7469. GO
  7470. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1057', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'151')
  7471. GO
  7472. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1058', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'152')
  7473. GO
  7474. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1059', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'153')
  7475. GO
  7476. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1060', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'154')
  7477. GO
  7478. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1066', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'155')
  7479. GO
  7480. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1067', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'156')
  7481. GO
  7482. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1070', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'157')
  7483. GO
  7484. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1071', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'158')
  7485. GO
  7486. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1072', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'159')
  7487. GO
  7488. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1073', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'160')
  7489. GO
  7490. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1074', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'161')
  7491. GO
  7492. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1075', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'162')
  7493. GO
  7494. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1076', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'163')
  7495. GO
  7496. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1077', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'164')
  7497. GO
  7498. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1078', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'165')
  7499. GO
  7500. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1082', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'166')
  7501. GO
  7502. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1083', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'167')
  7503. GO
  7504. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1084', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'168')
  7505. GO
  7506. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1085', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'169')
  7507. GO
  7508. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1086', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'170')
  7509. GO
  7510. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1087', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'171')
  7511. GO
  7512. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1088', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'172')
  7513. GO
  7514. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1089', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'173')
  7515. GO
  7516. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1090', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'174')
  7517. GO
  7518. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1091', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'175')
  7519. GO
  7520. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1092', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'176')
  7521. GO
  7522. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1237', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'177')
  7523. GO
  7524. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1238', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'178')
  7525. GO
  7526. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1239', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'179')
  7527. GO
  7528. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1240', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'180')
  7529. GO
  7530. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1241', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'181')
  7531. GO
  7532. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1242', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'182')
  7533. GO
  7534. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'1243', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'183')
  7535. GO
  7536. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'106', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'184')
  7537. GO
  7538. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'110', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'185')
  7539. GO
  7540. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'111', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'186')
  7541. GO
  7542. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'112', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'187')
  7543. GO
  7544. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'113', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'188')
  7545. GO
  7546. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'114', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'189')
  7547. GO
  7548. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'115', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'190')
  7549. GO
  7550. INSERT INTO [dbo].[system_role_menu] ([role_id], [menu_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted], [id]) VALUES (N'101', N'116', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'2022-04-01 22:21:37.0000000', N'1', N'0', N'191')
  7551. GO
  7552. SET IDENTITY_INSERT [dbo].[system_role_menu] OFF
  7553. GO
  7554. COMMIT
  7555. GO
  7556. -- ----------------------------
  7557. -- Table structure for system_sensitive_word
  7558. -- ----------------------------
  7559. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sensitive_word]') AND type IN ('U'))
  7560. DROP TABLE [dbo].[system_sensitive_word]
  7561. GO
  7562. CREATE TABLE [dbo].[system_sensitive_word] (
  7563. [id] bigint IDENTITY(1,1) NOT NULL,
  7564. [name] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7565. [description] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7566. [tags] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7567. [status] tinyint NOT NULL,
  7568. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7569. [create_time] datetime2(7) NOT NULL,
  7570. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7571. [update_time] datetime2(7) NOT NULL,
  7572. [deleted] bit DEFAULT 0 NOT NULL
  7573. )
  7574. GO
  7575. ALTER TABLE [dbo].[system_sensitive_word] SET (LOCK_ESCALATION = TABLE)
  7576. GO
  7577. EXEC sp_addextendedproperty
  7578. 'MS_Description', N'编号',
  7579. 'SCHEMA', N'dbo',
  7580. 'TABLE', N'system_sensitive_word',
  7581. 'COLUMN', N'id'
  7582. GO
  7583. EXEC sp_addextendedproperty
  7584. 'MS_Description', N'敏感词',
  7585. 'SCHEMA', N'dbo',
  7586. 'TABLE', N'system_sensitive_word',
  7587. 'COLUMN', N'name'
  7588. GO
  7589. EXEC sp_addextendedproperty
  7590. 'MS_Description', N'描述',
  7591. 'SCHEMA', N'dbo',
  7592. 'TABLE', N'system_sensitive_word',
  7593. 'COLUMN', N'description'
  7594. GO
  7595. EXEC sp_addextendedproperty
  7596. 'MS_Description', N'标签数组',
  7597. 'SCHEMA', N'dbo',
  7598. 'TABLE', N'system_sensitive_word',
  7599. 'COLUMN', N'tags'
  7600. GO
  7601. EXEC sp_addextendedproperty
  7602. 'MS_Description', N'状态',
  7603. 'SCHEMA', N'dbo',
  7604. 'TABLE', N'system_sensitive_word',
  7605. 'COLUMN', N'status'
  7606. GO
  7607. EXEC sp_addextendedproperty
  7608. 'MS_Description', N'创建者',
  7609. 'SCHEMA', N'dbo',
  7610. 'TABLE', N'system_sensitive_word',
  7611. 'COLUMN', N'creator'
  7612. GO
  7613. EXEC sp_addextendedproperty
  7614. 'MS_Description', N'创建时间',
  7615. 'SCHEMA', N'dbo',
  7616. 'TABLE', N'system_sensitive_word',
  7617. 'COLUMN', N'create_time'
  7618. GO
  7619. EXEC sp_addextendedproperty
  7620. 'MS_Description', N'更新者',
  7621. 'SCHEMA', N'dbo',
  7622. 'TABLE', N'system_sensitive_word',
  7623. 'COLUMN', N'updater'
  7624. GO
  7625. EXEC sp_addextendedproperty
  7626. 'MS_Description', N'更新时间',
  7627. 'SCHEMA', N'dbo',
  7628. 'TABLE', N'system_sensitive_word',
  7629. 'COLUMN', N'update_time'
  7630. GO
  7631. EXEC sp_addextendedproperty
  7632. 'MS_Description', N'是否删除',
  7633. 'SCHEMA', N'dbo',
  7634. 'TABLE', N'system_sensitive_word',
  7635. 'COLUMN', N'deleted'
  7636. GO
  7637. EXEC sp_addextendedproperty
  7638. 'MS_Description', N'敏感词',
  7639. 'SCHEMA', N'dbo',
  7640. 'TABLE', N'system_sensitive_word'
  7641. GO
  7642. -- ----------------------------
  7643. -- Records of system_sensitive_word
  7644. -- ----------------------------
  7645. BEGIN TRANSACTION
  7646. GO
  7647. SET IDENTITY_INSERT [dbo].[system_sensitive_word] ON
  7648. GO
  7649. INSERT INTO [dbo].[system_sensitive_word] ([id], [name], [description], [tags], [status], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'3', N'土豆', N'好呀', N'蔬菜,短信', N'0', N'1', N'2022-04-08 21:07:12.0000000', N'1', N'2022-04-09 10:28:14.0000000', N'0')
  7650. GO
  7651. INSERT INTO [dbo].[system_sensitive_word] ([id], [name], [description], [tags], [status], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'4', N'XXX', NULL, N'短信', N'0', N'1', N'2022-04-08 21:27:49.0000000', N'1', N'2022-04-08 21:27:49.0000000', N'0')
  7652. GO
  7653. SET IDENTITY_INSERT [dbo].[system_sensitive_word] OFF
  7654. GO
  7655. COMMIT
  7656. GO
  7657. -- ----------------------------
  7658. -- Table structure for system_sms_channel
  7659. -- ----------------------------
  7660. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_channel]') AND type IN ('U'))
  7661. DROP TABLE [dbo].[system_sms_channel]
  7662. GO
  7663. CREATE TABLE [dbo].[system_sms_channel] (
  7664. [id] bigint IDENTITY(1,1) NOT NULL,
  7665. [signature] nvarchar(12) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7666. [code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7667. [status] tinyint NOT NULL,
  7668. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7669. [api_key] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7670. [api_secret] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7671. [callback_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7672. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7673. [create_time] datetime2(7) NOT NULL,
  7674. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7675. [update_time] datetime2(7) NOT NULL,
  7676. [deleted] bit DEFAULT 0 NOT NULL
  7677. )
  7678. GO
  7679. ALTER TABLE [dbo].[system_sms_channel] SET (LOCK_ESCALATION = TABLE)
  7680. GO
  7681. EXEC sp_addextendedproperty
  7682. 'MS_Description', N'编号',
  7683. 'SCHEMA', N'dbo',
  7684. 'TABLE', N'system_sms_channel',
  7685. 'COLUMN', N'id'
  7686. GO
  7687. EXEC sp_addextendedproperty
  7688. 'MS_Description', N'短信签名',
  7689. 'SCHEMA', N'dbo',
  7690. 'TABLE', N'system_sms_channel',
  7691. 'COLUMN', N'signature'
  7692. GO
  7693. EXEC sp_addextendedproperty
  7694. 'MS_Description', N'渠道编码',
  7695. 'SCHEMA', N'dbo',
  7696. 'TABLE', N'system_sms_channel',
  7697. 'COLUMN', N'code'
  7698. GO
  7699. EXEC sp_addextendedproperty
  7700. 'MS_Description', N'开启状态',
  7701. 'SCHEMA', N'dbo',
  7702. 'TABLE', N'system_sms_channel',
  7703. 'COLUMN', N'status'
  7704. GO
  7705. EXEC sp_addextendedproperty
  7706. 'MS_Description', N'备注',
  7707. 'SCHEMA', N'dbo',
  7708. 'TABLE', N'system_sms_channel',
  7709. 'COLUMN', N'remark'
  7710. GO
  7711. EXEC sp_addextendedproperty
  7712. 'MS_Description', N'短信 API 的账号',
  7713. 'SCHEMA', N'dbo',
  7714. 'TABLE', N'system_sms_channel',
  7715. 'COLUMN', N'api_key'
  7716. GO
  7717. EXEC sp_addextendedproperty
  7718. 'MS_Description', N'短信 API 的秘钥',
  7719. 'SCHEMA', N'dbo',
  7720. 'TABLE', N'system_sms_channel',
  7721. 'COLUMN', N'api_secret'
  7722. GO
  7723. EXEC sp_addextendedproperty
  7724. 'MS_Description', N'短信发送回调 URL',
  7725. 'SCHEMA', N'dbo',
  7726. 'TABLE', N'system_sms_channel',
  7727. 'COLUMN', N'callback_url'
  7728. GO
  7729. EXEC sp_addextendedproperty
  7730. 'MS_Description', N'创建者',
  7731. 'SCHEMA', N'dbo',
  7732. 'TABLE', N'system_sms_channel',
  7733. 'COLUMN', N'creator'
  7734. GO
  7735. EXEC sp_addextendedproperty
  7736. 'MS_Description', N'创建时间',
  7737. 'SCHEMA', N'dbo',
  7738. 'TABLE', N'system_sms_channel',
  7739. 'COLUMN', N'create_time'
  7740. GO
  7741. EXEC sp_addextendedproperty
  7742. 'MS_Description', N'更新者',
  7743. 'SCHEMA', N'dbo',
  7744. 'TABLE', N'system_sms_channel',
  7745. 'COLUMN', N'updater'
  7746. GO
  7747. EXEC sp_addextendedproperty
  7748. 'MS_Description', N'更新时间',
  7749. 'SCHEMA', N'dbo',
  7750. 'TABLE', N'system_sms_channel',
  7751. 'COLUMN', N'update_time'
  7752. GO
  7753. EXEC sp_addextendedproperty
  7754. 'MS_Description', N'是否删除',
  7755. 'SCHEMA', N'dbo',
  7756. 'TABLE', N'system_sms_channel',
  7757. 'COLUMN', N'deleted'
  7758. GO
  7759. EXEC sp_addextendedproperty
  7760. 'MS_Description', N'短信渠道',
  7761. 'SCHEMA', N'dbo',
  7762. 'TABLE', N'system_sms_channel'
  7763. GO
  7764. -- ----------------------------
  7765. -- Records of system_sms_channel
  7766. -- ----------------------------
  7767. BEGIN TRANSACTION
  7768. GO
  7769. SET IDENTITY_INSERT [dbo].[system_sms_channel] ON
  7770. GO
  7771. INSERT INTO [dbo].[system_sms_channel] ([id], [signature], [code], [status], [remark], [api_key], [api_secret], [callback_url], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'2', N'Ballcat', N'ALIYUN', N'0', N'啦啦啦', N'LTAI5tCnKso2uG3kJ5gRav88', N'fGJ5SNXL7P1NHNRmJ7DJaMJGPyE55C', NULL, N'', N'2021-03-31 11:53:10.0000000', N'1', N'2021-04-14 00:08:37.0000000', N'0')
  7772. GO
  7773. INSERT INTO [dbo].[system_sms_channel] ([id], [signature], [code], [status], [remark], [api_key], [api_secret], [callback_url], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'4', N'测试渠道', N'DEBUG_DING_TALK', N'0', N'123', N'696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859', N'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, N'1', N'2021-04-13 00:23:14.0000000', N'1', N'2022-03-27 20:29:49.0000000', N'0')
  7774. GO
  7775. INSERT INTO [dbo].[system_sms_channel] ([id], [signature], [code], [status], [remark], [api_key], [api_secret], [callback_url], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'6', N'测试演示', N'DEBUG_DING_TALK', N'0', NULL, N'696b5d8ead48071237e4aa5861ff08dbadb2b4ded1c688a7b7c9afc615579859', N'SEC5c4e5ff888bc8a9923ae47f59e7ccd30af1f14d93c55b4e2c9cb094e35aeed67', NULL, N'1', N'2022-04-10 23:07:59.0000000', N'1', N'2022-04-10 23:07:59.0000000', N'0')
  7776. GO
  7777. SET IDENTITY_INSERT [dbo].[system_sms_channel] OFF
  7778. GO
  7779. COMMIT
  7780. GO
  7781. -- ----------------------------
  7782. -- Table structure for system_sms_code
  7783. -- ----------------------------
  7784. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_code]') AND type IN ('U'))
  7785. DROP TABLE [dbo].[system_sms_code]
  7786. GO
  7787. CREATE TABLE [dbo].[system_sms_code] (
  7788. [id] bigint IDENTITY(1,1) NOT NULL,
  7789. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7790. [code] nvarchar(6) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7791. [create_ip] nvarchar(15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7792. [scene] tinyint NOT NULL,
  7793. [today_index] tinyint NOT NULL,
  7794. [used] tinyint NOT NULL,
  7795. [used_time] datetime2(7) NULL,
  7796. [used_ip] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7797. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7798. [create_time] datetime2(7) NOT NULL,
  7799. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7800. [update_time] datetime2(7) NOT NULL,
  7801. [tenant_id] bigint NOT NULL,
  7802. [deleted] bit DEFAULT 0 NOT NULL
  7803. )
  7804. GO
  7805. ALTER TABLE [dbo].[system_sms_code] SET (LOCK_ESCALATION = TABLE)
  7806. GO
  7807. EXEC sp_addextendedproperty
  7808. 'MS_Description', N'编号',
  7809. 'SCHEMA', N'dbo',
  7810. 'TABLE', N'system_sms_code',
  7811. 'COLUMN', N'id'
  7812. GO
  7813. EXEC sp_addextendedproperty
  7814. 'MS_Description', N'手机号',
  7815. 'SCHEMA', N'dbo',
  7816. 'TABLE', N'system_sms_code',
  7817. 'COLUMN', N'mobile'
  7818. GO
  7819. EXEC sp_addextendedproperty
  7820. 'MS_Description', N'验证码',
  7821. 'SCHEMA', N'dbo',
  7822. 'TABLE', N'system_sms_code',
  7823. 'COLUMN', N'code'
  7824. GO
  7825. EXEC sp_addextendedproperty
  7826. 'MS_Description', N'创建 IP',
  7827. 'SCHEMA', N'dbo',
  7828. 'TABLE', N'system_sms_code',
  7829. 'COLUMN', N'create_ip'
  7830. GO
  7831. EXEC sp_addextendedproperty
  7832. 'MS_Description', N'发送场景',
  7833. 'SCHEMA', N'dbo',
  7834. 'TABLE', N'system_sms_code',
  7835. 'COLUMN', N'scene'
  7836. GO
  7837. EXEC sp_addextendedproperty
  7838. 'MS_Description', N'今日发送的第几条',
  7839. 'SCHEMA', N'dbo',
  7840. 'TABLE', N'system_sms_code',
  7841. 'COLUMN', N'today_index'
  7842. GO
  7843. EXEC sp_addextendedproperty
  7844. 'MS_Description', N'是否使用',
  7845. 'SCHEMA', N'dbo',
  7846. 'TABLE', N'system_sms_code',
  7847. 'COLUMN', N'used'
  7848. GO
  7849. EXEC sp_addextendedproperty
  7850. 'MS_Description', N'使用时间',
  7851. 'SCHEMA', N'dbo',
  7852. 'TABLE', N'system_sms_code',
  7853. 'COLUMN', N'used_time'
  7854. GO
  7855. EXEC sp_addextendedproperty
  7856. 'MS_Description', N'使用 IP',
  7857. 'SCHEMA', N'dbo',
  7858. 'TABLE', N'system_sms_code',
  7859. 'COLUMN', N'used_ip'
  7860. GO
  7861. EXEC sp_addextendedproperty
  7862. 'MS_Description', N'创建者',
  7863. 'SCHEMA', N'dbo',
  7864. 'TABLE', N'system_sms_code',
  7865. 'COLUMN', N'creator'
  7866. GO
  7867. EXEC sp_addextendedproperty
  7868. 'MS_Description', N'创建时间',
  7869. 'SCHEMA', N'dbo',
  7870. 'TABLE', N'system_sms_code',
  7871. 'COLUMN', N'create_time'
  7872. GO
  7873. EXEC sp_addextendedproperty
  7874. 'MS_Description', N'更新者',
  7875. 'SCHEMA', N'dbo',
  7876. 'TABLE', N'system_sms_code',
  7877. 'COLUMN', N'updater'
  7878. GO
  7879. EXEC sp_addextendedproperty
  7880. 'MS_Description', N'更新时间',
  7881. 'SCHEMA', N'dbo',
  7882. 'TABLE', N'system_sms_code',
  7883. 'COLUMN', N'update_time'
  7884. GO
  7885. EXEC sp_addextendedproperty
  7886. 'MS_Description', N'租户编号',
  7887. 'SCHEMA', N'dbo',
  7888. 'TABLE', N'system_sms_code',
  7889. 'COLUMN', N'tenant_id'
  7890. GO
  7891. EXEC sp_addextendedproperty
  7892. 'MS_Description', N'是否删除',
  7893. 'SCHEMA', N'dbo',
  7894. 'TABLE', N'system_sms_code',
  7895. 'COLUMN', N'deleted'
  7896. GO
  7897. EXEC sp_addextendedproperty
  7898. 'MS_Description', N'手机验证码',
  7899. 'SCHEMA', N'dbo',
  7900. 'TABLE', N'system_sms_code'
  7901. GO
  7902. -- ----------------------------
  7903. -- Records of system_sms_code
  7904. -- ----------------------------
  7905. BEGIN TRANSACTION
  7906. GO
  7907. SET IDENTITY_INSERT [dbo].[system_sms_code] ON
  7908. GO
  7909. SET IDENTITY_INSERT [dbo].[system_sms_code] OFF
  7910. GO
  7911. COMMIT
  7912. GO
  7913. -- ----------------------------
  7914. -- Table structure for system_sms_log
  7915. -- ----------------------------
  7916. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_log]') AND type IN ('U'))
  7917. DROP TABLE [dbo].[system_sms_log]
  7918. GO
  7919. CREATE TABLE [dbo].[system_sms_log] (
  7920. [id] bigint IDENTITY(1,1) NOT NULL,
  7921. [channel_id] bigint NOT NULL,
  7922. [channel_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7923. [template_id] bigint NOT NULL,
  7924. [template_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7925. [template_type] tinyint NOT NULL,
  7926. [template_content] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7927. [template_params] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7928. [api_template_id] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7929. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7930. [user_id] bigint NULL,
  7931. [user_type] tinyint NULL,
  7932. [send_status] tinyint NOT NULL,
  7933. [send_time] datetime2(7) NULL,
  7934. [send_code] int NULL,
  7935. [send_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7936. [api_send_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7937. [api_send_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7938. [api_request_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7939. [api_serial_no] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7940. [receive_status] tinyint NOT NULL,
  7941. [receive_time] datetime2(7) NULL,
  7942. [api_receive_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7943. [api_receive_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7944. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7945. [create_time] datetime2(7) NOT NULL,
  7946. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7947. [update_time] datetime2(7) NOT NULL,
  7948. [deleted] bit DEFAULT 0 NOT NULL
  7949. )
  7950. GO
  7951. ALTER TABLE [dbo].[system_sms_log] SET (LOCK_ESCALATION = TABLE)
  7952. GO
  7953. EXEC sp_addextendedproperty
  7954. 'MS_Description', N'编号',
  7955. 'SCHEMA', N'dbo',
  7956. 'TABLE', N'system_sms_log',
  7957. 'COLUMN', N'id'
  7958. GO
  7959. EXEC sp_addextendedproperty
  7960. 'MS_Description', N'短信渠道编号',
  7961. 'SCHEMA', N'dbo',
  7962. 'TABLE', N'system_sms_log',
  7963. 'COLUMN', N'channel_id'
  7964. GO
  7965. EXEC sp_addextendedproperty
  7966. 'MS_Description', N'短信渠道编码',
  7967. 'SCHEMA', N'dbo',
  7968. 'TABLE', N'system_sms_log',
  7969. 'COLUMN', N'channel_code'
  7970. GO
  7971. EXEC sp_addextendedproperty
  7972. 'MS_Description', N'模板编号',
  7973. 'SCHEMA', N'dbo',
  7974. 'TABLE', N'system_sms_log',
  7975. 'COLUMN', N'template_id'
  7976. GO
  7977. EXEC sp_addextendedproperty
  7978. 'MS_Description', N'模板编码',
  7979. 'SCHEMA', N'dbo',
  7980. 'TABLE', N'system_sms_log',
  7981. 'COLUMN', N'template_code'
  7982. GO
  7983. EXEC sp_addextendedproperty
  7984. 'MS_Description', N'短信类型',
  7985. 'SCHEMA', N'dbo',
  7986. 'TABLE', N'system_sms_log',
  7987. 'COLUMN', N'template_type'
  7988. GO
  7989. EXEC sp_addextendedproperty
  7990. 'MS_Description', N'短信内容',
  7991. 'SCHEMA', N'dbo',
  7992. 'TABLE', N'system_sms_log',
  7993. 'COLUMN', N'template_content'
  7994. GO
  7995. EXEC sp_addextendedproperty
  7996. 'MS_Description', N'短信参数',
  7997. 'SCHEMA', N'dbo',
  7998. 'TABLE', N'system_sms_log',
  7999. 'COLUMN', N'template_params'
  8000. GO
  8001. EXEC sp_addextendedproperty
  8002. 'MS_Description', N'短信 API 的模板编号',
  8003. 'SCHEMA', N'dbo',
  8004. 'TABLE', N'system_sms_log',
  8005. 'COLUMN', N'api_template_id'
  8006. GO
  8007. EXEC sp_addextendedproperty
  8008. 'MS_Description', N'手机号',
  8009. 'SCHEMA', N'dbo',
  8010. 'TABLE', N'system_sms_log',
  8011. 'COLUMN', N'mobile'
  8012. GO
  8013. EXEC sp_addextendedproperty
  8014. 'MS_Description', N'用户编号',
  8015. 'SCHEMA', N'dbo',
  8016. 'TABLE', N'system_sms_log',
  8017. 'COLUMN', N'user_id'
  8018. GO
  8019. EXEC sp_addextendedproperty
  8020. 'MS_Description', N'用户类型',
  8021. 'SCHEMA', N'dbo',
  8022. 'TABLE', N'system_sms_log',
  8023. 'COLUMN', N'user_type'
  8024. GO
  8025. EXEC sp_addextendedproperty
  8026. 'MS_Description', N'发送状态',
  8027. 'SCHEMA', N'dbo',
  8028. 'TABLE', N'system_sms_log',
  8029. 'COLUMN', N'send_status'
  8030. GO
  8031. EXEC sp_addextendedproperty
  8032. 'MS_Description', N'发送时间',
  8033. 'SCHEMA', N'dbo',
  8034. 'TABLE', N'system_sms_log',
  8035. 'COLUMN', N'send_time'
  8036. GO
  8037. EXEC sp_addextendedproperty
  8038. 'MS_Description', N'发送结果的编码',
  8039. 'SCHEMA', N'dbo',
  8040. 'TABLE', N'system_sms_log',
  8041. 'COLUMN', N'send_code'
  8042. GO
  8043. EXEC sp_addextendedproperty
  8044. 'MS_Description', N'发送结果的提示',
  8045. 'SCHEMA', N'dbo',
  8046. 'TABLE', N'system_sms_log',
  8047. 'COLUMN', N'send_msg'
  8048. GO
  8049. EXEC sp_addextendedproperty
  8050. 'MS_Description', N'短信 API 发送结果的编码',
  8051. 'SCHEMA', N'dbo',
  8052. 'TABLE', N'system_sms_log',
  8053. 'COLUMN', N'api_send_code'
  8054. GO
  8055. EXEC sp_addextendedproperty
  8056. 'MS_Description', N'短信 API 发送失败的提示',
  8057. 'SCHEMA', N'dbo',
  8058. 'TABLE', N'system_sms_log',
  8059. 'COLUMN', N'api_send_msg'
  8060. GO
  8061. EXEC sp_addextendedproperty
  8062. 'MS_Description', N'短信 API 发送返回的唯一请求 ID',
  8063. 'SCHEMA', N'dbo',
  8064. 'TABLE', N'system_sms_log',
  8065. 'COLUMN', N'api_request_id'
  8066. GO
  8067. EXEC sp_addextendedproperty
  8068. 'MS_Description', N'短信 API 发送返回的序号',
  8069. 'SCHEMA', N'dbo',
  8070. 'TABLE', N'system_sms_log',
  8071. 'COLUMN', N'api_serial_no'
  8072. GO
  8073. EXEC sp_addextendedproperty
  8074. 'MS_Description', N'接收状态',
  8075. 'SCHEMA', N'dbo',
  8076. 'TABLE', N'system_sms_log',
  8077. 'COLUMN', N'receive_status'
  8078. GO
  8079. EXEC sp_addextendedproperty
  8080. 'MS_Description', N'接收时间',
  8081. 'SCHEMA', N'dbo',
  8082. 'TABLE', N'system_sms_log',
  8083. 'COLUMN', N'receive_time'
  8084. GO
  8085. EXEC sp_addextendedproperty
  8086. 'MS_Description', N'API 接收结果的编码',
  8087. 'SCHEMA', N'dbo',
  8088. 'TABLE', N'system_sms_log',
  8089. 'COLUMN', N'api_receive_code'
  8090. GO
  8091. EXEC sp_addextendedproperty
  8092. 'MS_Description', N'API 接收结果的说明',
  8093. 'SCHEMA', N'dbo',
  8094. 'TABLE', N'system_sms_log',
  8095. 'COLUMN', N'api_receive_msg'
  8096. GO
  8097. EXEC sp_addextendedproperty
  8098. 'MS_Description', N'创建者',
  8099. 'SCHEMA', N'dbo',
  8100. 'TABLE', N'system_sms_log',
  8101. 'COLUMN', N'creator'
  8102. GO
  8103. EXEC sp_addextendedproperty
  8104. 'MS_Description', N'创建时间',
  8105. 'SCHEMA', N'dbo',
  8106. 'TABLE', N'system_sms_log',
  8107. 'COLUMN', N'create_time'
  8108. GO
  8109. EXEC sp_addextendedproperty
  8110. 'MS_Description', N'更新者',
  8111. 'SCHEMA', N'dbo',
  8112. 'TABLE', N'system_sms_log',
  8113. 'COLUMN', N'updater'
  8114. GO
  8115. EXEC sp_addextendedproperty
  8116. 'MS_Description', N'更新时间',
  8117. 'SCHEMA', N'dbo',
  8118. 'TABLE', N'system_sms_log',
  8119. 'COLUMN', N'update_time'
  8120. GO
  8121. EXEC sp_addextendedproperty
  8122. 'MS_Description', N'是否删除',
  8123. 'SCHEMA', N'dbo',
  8124. 'TABLE', N'system_sms_log',
  8125. 'COLUMN', N'deleted'
  8126. GO
  8127. EXEC sp_addextendedproperty
  8128. 'MS_Description', N'短信日志',
  8129. 'SCHEMA', N'dbo',
  8130. 'TABLE', N'system_sms_log'
  8131. GO
  8132. -- ----------------------------
  8133. -- Records of system_sms_log
  8134. -- ----------------------------
  8135. BEGIN TRANSACTION
  8136. GO
  8137. SET IDENTITY_INSERT [dbo].[system_sms_log] ON
  8138. GO
  8139. SET IDENTITY_INSERT [dbo].[system_sms_log] OFF
  8140. GO
  8141. COMMIT
  8142. GO
  8143. -- ----------------------------
  8144. -- Table structure for system_sms_template
  8145. -- ----------------------------
  8146. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_template]') AND type IN ('U'))
  8147. DROP TABLE [dbo].[system_sms_template]
  8148. GO
  8149. CREATE TABLE [dbo].[system_sms_template] (
  8150. [id] bigint IDENTITY(1,1) NOT NULL,
  8151. [type] tinyint NOT NULL,
  8152. [status] tinyint NOT NULL,
  8153. [code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8154. [name] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8155. [content] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8156. [params] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8157. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8158. [api_template_id] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8159. [channel_id] bigint NOT NULL,
  8160. [channel_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8161. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8162. [create_time] datetime2(7) NOT NULL,
  8163. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8164. [update_time] datetime2(7) NOT NULL,
  8165. [deleted] bit DEFAULT 0 NOT NULL
  8166. )
  8167. GO
  8168. ALTER TABLE [dbo].[system_sms_template] SET (LOCK_ESCALATION = TABLE)
  8169. GO
  8170. EXEC sp_addextendedproperty
  8171. 'MS_Description', N'编号',
  8172. 'SCHEMA', N'dbo',
  8173. 'TABLE', N'system_sms_template',
  8174. 'COLUMN', N'id'
  8175. GO
  8176. EXEC sp_addextendedproperty
  8177. 'MS_Description', N'短信签名',
  8178. 'SCHEMA', N'dbo',
  8179. 'TABLE', N'system_sms_template',
  8180. 'COLUMN', N'type'
  8181. GO
  8182. EXEC sp_addextendedproperty
  8183. 'MS_Description', N'开启状态',
  8184. 'SCHEMA', N'dbo',
  8185. 'TABLE', N'system_sms_template',
  8186. 'COLUMN', N'status'
  8187. GO
  8188. EXEC sp_addextendedproperty
  8189. 'MS_Description', N'模板编码',
  8190. 'SCHEMA', N'dbo',
  8191. 'TABLE', N'system_sms_template',
  8192. 'COLUMN', N'code'
  8193. GO
  8194. EXEC sp_addextendedproperty
  8195. 'MS_Description', N'模板名称',
  8196. 'SCHEMA', N'dbo',
  8197. 'TABLE', N'system_sms_template',
  8198. 'COLUMN', N'name'
  8199. GO
  8200. EXEC sp_addextendedproperty
  8201. 'MS_Description', N'模板内容',
  8202. 'SCHEMA', N'dbo',
  8203. 'TABLE', N'system_sms_template',
  8204. 'COLUMN', N'content'
  8205. GO
  8206. EXEC sp_addextendedproperty
  8207. 'MS_Description', N'参数数组',
  8208. 'SCHEMA', N'dbo',
  8209. 'TABLE', N'system_sms_template',
  8210. 'COLUMN', N'params'
  8211. GO
  8212. EXEC sp_addextendedproperty
  8213. 'MS_Description', N'备注',
  8214. 'SCHEMA', N'dbo',
  8215. 'TABLE', N'system_sms_template',
  8216. 'COLUMN', N'remark'
  8217. GO
  8218. EXEC sp_addextendedproperty
  8219. 'MS_Description', N'短信 API 的模板编号',
  8220. 'SCHEMA', N'dbo',
  8221. 'TABLE', N'system_sms_template',
  8222. 'COLUMN', N'api_template_id'
  8223. GO
  8224. EXEC sp_addextendedproperty
  8225. 'MS_Description', N'短信渠道编号',
  8226. 'SCHEMA', N'dbo',
  8227. 'TABLE', N'system_sms_template',
  8228. 'COLUMN', N'channel_id'
  8229. GO
  8230. EXEC sp_addextendedproperty
  8231. 'MS_Description', N'短信渠道编码',
  8232. 'SCHEMA', N'dbo',
  8233. 'TABLE', N'system_sms_template',
  8234. 'COLUMN', N'channel_code'
  8235. GO
  8236. EXEC sp_addextendedproperty
  8237. 'MS_Description', N'创建者',
  8238. 'SCHEMA', N'dbo',
  8239. 'TABLE', N'system_sms_template',
  8240. 'COLUMN', N'creator'
  8241. GO
  8242. EXEC sp_addextendedproperty
  8243. 'MS_Description', N'创建时间',
  8244. 'SCHEMA', N'dbo',
  8245. 'TABLE', N'system_sms_template',
  8246. 'COLUMN', N'create_time'
  8247. GO
  8248. EXEC sp_addextendedproperty
  8249. 'MS_Description', N'更新者',
  8250. 'SCHEMA', N'dbo',
  8251. 'TABLE', N'system_sms_template',
  8252. 'COLUMN', N'updater'
  8253. GO
  8254. EXEC sp_addextendedproperty
  8255. 'MS_Description', N'更新时间',
  8256. 'SCHEMA', N'dbo',
  8257. 'TABLE', N'system_sms_template',
  8258. 'COLUMN', N'update_time'
  8259. GO
  8260. EXEC sp_addextendedproperty
  8261. 'MS_Description', N'是否删除',
  8262. 'SCHEMA', N'dbo',
  8263. 'TABLE', N'system_sms_template',
  8264. 'COLUMN', N'deleted'
  8265. GO
  8266. EXEC sp_addextendedproperty
  8267. 'MS_Description', N'短信模板',
  8268. 'SCHEMA', N'dbo',
  8269. 'TABLE', N'system_sms_template'
  8270. GO
  8271. -- ----------------------------
  8272. -- Records of system_sms_template
  8273. -- ----------------------------
  8274. BEGIN TRANSACTION
  8275. GO
  8276. SET IDENTITY_INSERT [dbo].[system_sms_template] ON
  8277. GO
  8278. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'2', N'1', N'0', N'test_01', N'测试验证码短信', N'正在进行登录操作{operation},您的验证码是{code}', N'["operation","code"]', NULL, N'4383920', N'1', N'YUN_PIAN', N'', N'2021-03-31 10:49:38.0000000', N'1', N'2021-04-10 01:22:00.0000000', N'0')
  8279. GO
  8280. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'3', N'1', N'0', N'test_02', N'公告通知', N'您的验证码{code},该验证码5分钟内有效,请勿泄漏于他人!', N'["code"]', NULL, N'SMS_207945135', N'2', N'ALIYUN', N'', N'2021-03-31 11:56:30.0000000', N'1', N'2021-04-10 01:22:02.0000000', N'0')
  8281. GO
  8282. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'6', N'3', N'0', N'test-01', N'测试模板', N'哈哈哈 {name}', N'["name"]', N'f哈哈哈', N'4383920', N'1', N'YUN_PIAN', N'1', N'2021-04-10 01:07:21.0000000', N'1', N'2021-04-10 01:22:05.0000000', N'0')
  8283. GO
  8284. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'7', N'3', N'0', N'test-04', N'测试下', N'老鸡{name},牛逼{code}', N'["name","code"]', NULL, N'suibian', N'4', N'DEBUG_DING_TALK', N'1', N'2021-04-13 00:29:53.0000000', N'1', N'2021-04-14 00:30:38.0000000', N'0')
  8285. GO
  8286. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'8', N'1', N'0', N'user-sms-login', N'前台用户短信登录', N'您的验证码是{code}', N'["code"]', NULL, N'4372216', N'1', N'YUN_PIAN', N'1', N'2021-10-11 08:10:00.0000000', N'1', N'2021-10-11 08:10:00.0000000', N'0')
  8287. GO
  8288. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'9', N'2', N'0', N'bpm_task_assigned', N'【工作流】任务被分配', N'您收到了一条新的待办任务:{processInstanceName}-{taskName},申请人:{startUserNickname},处理链接:{detailUrl}', N'["processInstanceName","taskName","startUserNickname","detailUrl"]', NULL, N'suibian', N'4', N'DEBUG_DING_TALK', N'1', N'2022-01-21 22:31:19.0000000', N'1', N'2022-01-22 00:03:36.0000000', N'0')
  8289. GO
  8290. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'10', N'2', N'0', N'bpm_process_instance_reject', N'【工作流】流程被不通过', N'您的流程被审批不通过:{processInstanceName},原因:{reason},查看链接:{detailUrl}', N'["processInstanceName","reason","detailUrl"]', NULL, N'suibian', N'4', N'DEBUG_DING_TALK', N'1', N'2022-01-22 00:03:31.0000000', N'1', N'2022-05-01 12:33:14.0000000', N'0')
  8291. GO
  8292. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'11', N'2', N'0', N'bpm_process_instance_approve', N'【工作流】流程被通过', N'您的流程被审批通过:{processInstanceName},查看链接:{detailUrl}', N'["processInstanceName","detailUrl"]', NULL, N'suibian', N'4', N'DEBUG_DING_TALK', N'1', N'2022-01-22 00:04:31.0000000', N'1', N'2022-03-27 20:32:21.0000000', N'0')
  8293. GO
  8294. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'12', N'2', N'0', N'demo', N'演示模板', N'我就是测试一下下', N'[]', NULL, N'biubiubiu', N'6', N'DEBUG_DING_TALK', N'1', N'2022-04-10 23:22:49.0000000', N'1', N'2022-04-10 23:22:49.0000000', N'0')
  8295. GO
  8296. INSERT INTO [dbo].[system_sms_template] ([id], [type], [status], [code], [name], [content], [params], [remark], [api_template_id], [channel_id], [channel_code], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'13', N'1', N'0', N'admin-sms-login', N'后台用户短信登录', N'您的验证码是{code}', N'["code"]', N'', N'4372216', N'1', N'YUN_PIAN', N'1', N'2021-10-11 08:10:00.0000000', N'1', N'2021-10-11 08:10:00.0000000', N'0')
  8297. GO
  8298. SET IDENTITY_INSERT [dbo].[system_sms_template] OFF
  8299. GO
  8300. COMMIT
  8301. GO
  8302. -- ----------------------------
  8303. -- Table structure for system_social_user
  8304. -- ----------------------------
  8305. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_social_user]') AND type IN ('U'))
  8306. DROP TABLE [dbo].[system_social_user]
  8307. GO
  8308. CREATE TABLE [dbo].[system_social_user] (
  8309. [id] bigint IDENTITY(1,1) NOT NULL,
  8310. [type] tinyint NOT NULL,
  8311. [openid] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8312. [token] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8313. [raw_token_info] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8314. [nickname] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8315. [avatar] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8316. [raw_user_info] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8317. [code] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8318. [state] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8319. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8320. [create_time] datetime2(7) NOT NULL,
  8321. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8322. [update_time] datetime2(7) NOT NULL,
  8323. [tenant_id] bigint NOT NULL,
  8324. [deleted] bit DEFAULT 0 NOT NULL
  8325. )
  8326. GO
  8327. ALTER TABLE [dbo].[system_social_user] SET (LOCK_ESCALATION = TABLE)
  8328. GO
  8329. EXEC sp_addextendedproperty
  8330. 'MS_Description', N'主键(自增策略)',
  8331. 'SCHEMA', N'dbo',
  8332. 'TABLE', N'system_social_user',
  8333. 'COLUMN', N'id'
  8334. GO
  8335. EXEC sp_addextendedproperty
  8336. 'MS_Description', N'社交平台的类型',
  8337. 'SCHEMA', N'dbo',
  8338. 'TABLE', N'system_social_user',
  8339. 'COLUMN', N'type'
  8340. GO
  8341. EXEC sp_addextendedproperty
  8342. 'MS_Description', N'社交 openid',
  8343. 'SCHEMA', N'dbo',
  8344. 'TABLE', N'system_social_user',
  8345. 'COLUMN', N'openid'
  8346. GO
  8347. EXEC sp_addextendedproperty
  8348. 'MS_Description', N'社交 token',
  8349. 'SCHEMA', N'dbo',
  8350. 'TABLE', N'system_social_user',
  8351. 'COLUMN', N'token'
  8352. GO
  8353. EXEC sp_addextendedproperty
  8354. 'MS_Description', N'原始 Token 数据,一般是 JSON 格式',
  8355. 'SCHEMA', N'dbo',
  8356. 'TABLE', N'system_social_user',
  8357. 'COLUMN', N'raw_token_info'
  8358. GO
  8359. EXEC sp_addextendedproperty
  8360. 'MS_Description', N'用户昵称',
  8361. 'SCHEMA', N'dbo',
  8362. 'TABLE', N'system_social_user',
  8363. 'COLUMN', N'nickname'
  8364. GO
  8365. EXEC sp_addextendedproperty
  8366. 'MS_Description', N'用户头像',
  8367. 'SCHEMA', N'dbo',
  8368. 'TABLE', N'system_social_user',
  8369. 'COLUMN', N'avatar'
  8370. GO
  8371. EXEC sp_addextendedproperty
  8372. 'MS_Description', N'原始用户数据,一般是 JSON 格式',
  8373. 'SCHEMA', N'dbo',
  8374. 'TABLE', N'system_social_user',
  8375. 'COLUMN', N'raw_user_info'
  8376. GO
  8377. EXEC sp_addextendedproperty
  8378. 'MS_Description', N'最后一次的认证 code',
  8379. 'SCHEMA', N'dbo',
  8380. 'TABLE', N'system_social_user',
  8381. 'COLUMN', N'code'
  8382. GO
  8383. EXEC sp_addextendedproperty
  8384. 'MS_Description', N'最后一次的认证 state',
  8385. 'SCHEMA', N'dbo',
  8386. 'TABLE', N'system_social_user',
  8387. 'COLUMN', N'state'
  8388. GO
  8389. EXEC sp_addextendedproperty
  8390. 'MS_Description', N'创建者',
  8391. 'SCHEMA', N'dbo',
  8392. 'TABLE', N'system_social_user',
  8393. 'COLUMN', N'creator'
  8394. GO
  8395. EXEC sp_addextendedproperty
  8396. 'MS_Description', N'创建时间',
  8397. 'SCHEMA', N'dbo',
  8398. 'TABLE', N'system_social_user',
  8399. 'COLUMN', N'create_time'
  8400. GO
  8401. EXEC sp_addextendedproperty
  8402. 'MS_Description', N'更新者',
  8403. 'SCHEMA', N'dbo',
  8404. 'TABLE', N'system_social_user',
  8405. 'COLUMN', N'updater'
  8406. GO
  8407. EXEC sp_addextendedproperty
  8408. 'MS_Description', N'更新时间',
  8409. 'SCHEMA', N'dbo',
  8410. 'TABLE', N'system_social_user',
  8411. 'COLUMN', N'update_time'
  8412. GO
  8413. EXEC sp_addextendedproperty
  8414. 'MS_Description', N'租户编号',
  8415. 'SCHEMA', N'dbo',
  8416. 'TABLE', N'system_social_user',
  8417. 'COLUMN', N'tenant_id'
  8418. GO
  8419. EXEC sp_addextendedproperty
  8420. 'MS_Description', N'是否删除',
  8421. 'SCHEMA', N'dbo',
  8422. 'TABLE', N'system_social_user',
  8423. 'COLUMN', N'deleted'
  8424. GO
  8425. EXEC sp_addextendedproperty
  8426. 'MS_Description', N'社交用户表',
  8427. 'SCHEMA', N'dbo',
  8428. 'TABLE', N'system_social_user'
  8429. GO
  8430. -- ----------------------------
  8431. -- Records of system_social_user
  8432. -- ----------------------------
  8433. BEGIN TRANSACTION
  8434. GO
  8435. SET IDENTITY_INSERT [dbo].[system_social_user] ON
  8436. GO
  8437. SET IDENTITY_INSERT [dbo].[system_social_user] OFF
  8438. GO
  8439. COMMIT
  8440. GO
  8441. -- ----------------------------
  8442. -- Table structure for system_social_user_bind
  8443. -- ----------------------------
  8444. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_social_user_bind]') AND type IN ('U'))
  8445. DROP TABLE [dbo].[system_social_user_bind]
  8446. GO
  8447. CREATE TABLE [dbo].[system_social_user_bind] (
  8448. [id] bigint IDENTITY(1,1) NOT NULL,
  8449. [user_id] bigint NOT NULL,
  8450. [user_type] tinyint NOT NULL,
  8451. [social_type] tinyint NOT NULL,
  8452. [social_user_id] bigint NOT NULL,
  8453. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8454. [create_time] datetime2(7) NOT NULL,
  8455. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8456. [update_time] datetime2(7) NOT NULL,
  8457. [tenant_id] bigint NOT NULL,
  8458. [deleted] bit DEFAULT 0 NOT NULL
  8459. )
  8460. GO
  8461. ALTER TABLE [dbo].[system_social_user_bind] SET (LOCK_ESCALATION = TABLE)
  8462. GO
  8463. EXEC sp_addextendedproperty
  8464. 'MS_Description', N'主键(自增策略)',
  8465. 'SCHEMA', N'dbo',
  8466. 'TABLE', N'system_social_user_bind',
  8467. 'COLUMN', N'id'
  8468. GO
  8469. EXEC sp_addextendedproperty
  8470. 'MS_Description', N'用户编号',
  8471. 'SCHEMA', N'dbo',
  8472. 'TABLE', N'system_social_user_bind',
  8473. 'COLUMN', N'user_id'
  8474. GO
  8475. EXEC sp_addextendedproperty
  8476. 'MS_Description', N'用户类型',
  8477. 'SCHEMA', N'dbo',
  8478. 'TABLE', N'system_social_user_bind',
  8479. 'COLUMN', N'user_type'
  8480. GO
  8481. EXEC sp_addextendedproperty
  8482. 'MS_Description', N'社交平台的类型',
  8483. 'SCHEMA', N'dbo',
  8484. 'TABLE', N'system_social_user_bind',
  8485. 'COLUMN', N'social_type'
  8486. GO
  8487. EXEC sp_addextendedproperty
  8488. 'MS_Description', N'社交用户的编号',
  8489. 'SCHEMA', N'dbo',
  8490. 'TABLE', N'system_social_user_bind',
  8491. 'COLUMN', N'social_user_id'
  8492. GO
  8493. EXEC sp_addextendedproperty
  8494. 'MS_Description', N'创建者',
  8495. 'SCHEMA', N'dbo',
  8496. 'TABLE', N'system_social_user_bind',
  8497. 'COLUMN', N'creator'
  8498. GO
  8499. EXEC sp_addextendedproperty
  8500. 'MS_Description', N'创建时间',
  8501. 'SCHEMA', N'dbo',
  8502. 'TABLE', N'system_social_user_bind',
  8503. 'COLUMN', N'create_time'
  8504. GO
  8505. EXEC sp_addextendedproperty
  8506. 'MS_Description', N'更新者',
  8507. 'SCHEMA', N'dbo',
  8508. 'TABLE', N'system_social_user_bind',
  8509. 'COLUMN', N'updater'
  8510. GO
  8511. EXEC sp_addextendedproperty
  8512. 'MS_Description', N'更新时间',
  8513. 'SCHEMA', N'dbo',
  8514. 'TABLE', N'system_social_user_bind',
  8515. 'COLUMN', N'update_time'
  8516. GO
  8517. EXEC sp_addextendedproperty
  8518. 'MS_Description', N'租户编号',
  8519. 'SCHEMA', N'dbo',
  8520. 'TABLE', N'system_social_user_bind',
  8521. 'COLUMN', N'tenant_id'
  8522. GO
  8523. EXEC sp_addextendedproperty
  8524. 'MS_Description', N'是否删除',
  8525. 'SCHEMA', N'dbo',
  8526. 'TABLE', N'system_social_user_bind',
  8527. 'COLUMN', N'deleted'
  8528. GO
  8529. EXEC sp_addextendedproperty
  8530. 'MS_Description', N'社交绑定表',
  8531. 'SCHEMA', N'dbo',
  8532. 'TABLE', N'system_social_user_bind'
  8533. GO
  8534. -- ----------------------------
  8535. -- Records of system_social_user_bind
  8536. -- ----------------------------
  8537. BEGIN TRANSACTION
  8538. GO
  8539. SET IDENTITY_INSERT [dbo].[system_social_user_bind] ON
  8540. GO
  8541. SET IDENTITY_INSERT [dbo].[system_social_user_bind] OFF
  8542. GO
  8543. COMMIT
  8544. GO
  8545. -- ----------------------------
  8546. -- Table structure for system_tenant
  8547. -- ----------------------------
  8548. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_tenant]') AND type IN ('U'))
  8549. DROP TABLE [dbo].[system_tenant]
  8550. GO
  8551. CREATE TABLE [dbo].[system_tenant] (
  8552. [id] bigint IDENTITY(1,1) NOT NULL,
  8553. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8554. [contact_user_id] bigint NULL,
  8555. [contact_name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8556. [contact_mobile] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8557. [status] tinyint NOT NULL,
  8558. [website] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8559. [package_id] bigint NOT NULL,
  8560. [expire_time] datetime2(7) NOT NULL,
  8561. [account_count] int NOT NULL,
  8562. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8563. [create_time] datetime2(7) NOT NULL,
  8564. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8565. [update_time] datetime2(7) NOT NULL,
  8566. [deleted] bit DEFAULT 0 NOT NULL
  8567. )
  8568. GO
  8569. ALTER TABLE [dbo].[system_tenant] SET (LOCK_ESCALATION = TABLE)
  8570. GO
  8571. EXEC sp_addextendedproperty
  8572. 'MS_Description', N'租户编号',
  8573. 'SCHEMA', N'dbo',
  8574. 'TABLE', N'system_tenant',
  8575. 'COLUMN', N'id'
  8576. GO
  8577. EXEC sp_addextendedproperty
  8578. 'MS_Description', N'租户名',
  8579. 'SCHEMA', N'dbo',
  8580. 'TABLE', N'system_tenant',
  8581. 'COLUMN', N'name'
  8582. GO
  8583. EXEC sp_addextendedproperty
  8584. 'MS_Description', N'联系人的用户编号',
  8585. 'SCHEMA', N'dbo',
  8586. 'TABLE', N'system_tenant',
  8587. 'COLUMN', N'contact_user_id'
  8588. GO
  8589. EXEC sp_addextendedproperty
  8590. 'MS_Description', N'联系人',
  8591. 'SCHEMA', N'dbo',
  8592. 'TABLE', N'system_tenant',
  8593. 'COLUMN', N'contact_name'
  8594. GO
  8595. EXEC sp_addextendedproperty
  8596. 'MS_Description', N'联系手机',
  8597. 'SCHEMA', N'dbo',
  8598. 'TABLE', N'system_tenant',
  8599. 'COLUMN', N'contact_mobile'
  8600. GO
  8601. EXEC sp_addextendedproperty
  8602. 'MS_Description', N'租户状态(0正常 1停用)',
  8603. 'SCHEMA', N'dbo',
  8604. 'TABLE', N'system_tenant',
  8605. 'COLUMN', N'status'
  8606. GO
  8607. EXEC sp_addextendedproperty
  8608. 'MS_Description', N'绑定域名',
  8609. 'SCHEMA', N'dbo',
  8610. 'TABLE', N'system_tenant',
  8611. 'COLUMN', N'website'
  8612. GO
  8613. EXEC sp_addextendedproperty
  8614. 'MS_Description', N'租户套餐编号',
  8615. 'SCHEMA', N'dbo',
  8616. 'TABLE', N'system_tenant',
  8617. 'COLUMN', N'package_id'
  8618. GO
  8619. EXEC sp_addextendedproperty
  8620. 'MS_Description', N'过期时间',
  8621. 'SCHEMA', N'dbo',
  8622. 'TABLE', N'system_tenant',
  8623. 'COLUMN', N'expire_time'
  8624. GO
  8625. EXEC sp_addextendedproperty
  8626. 'MS_Description', N'账号数量',
  8627. 'SCHEMA', N'dbo',
  8628. 'TABLE', N'system_tenant',
  8629. 'COLUMN', N'account_count'
  8630. GO
  8631. EXEC sp_addextendedproperty
  8632. 'MS_Description', N'创建者',
  8633. 'SCHEMA', N'dbo',
  8634. 'TABLE', N'system_tenant',
  8635. 'COLUMN', N'creator'
  8636. GO
  8637. EXEC sp_addextendedproperty
  8638. 'MS_Description', N'创建时间',
  8639. 'SCHEMA', N'dbo',
  8640. 'TABLE', N'system_tenant',
  8641. 'COLUMN', N'create_time'
  8642. GO
  8643. EXEC sp_addextendedproperty
  8644. 'MS_Description', N'更新者',
  8645. 'SCHEMA', N'dbo',
  8646. 'TABLE', N'system_tenant',
  8647. 'COLUMN', N'updater'
  8648. GO
  8649. EXEC sp_addextendedproperty
  8650. 'MS_Description', N'更新时间',
  8651. 'SCHEMA', N'dbo',
  8652. 'TABLE', N'system_tenant',
  8653. 'COLUMN', N'update_time'
  8654. GO
  8655. EXEC sp_addextendedproperty
  8656. 'MS_Description', N'是否删除',
  8657. 'SCHEMA', N'dbo',
  8658. 'TABLE', N'system_tenant',
  8659. 'COLUMN', N'deleted'
  8660. GO
  8661. EXEC sp_addextendedproperty
  8662. 'MS_Description', N'租户表',
  8663. 'SCHEMA', N'dbo',
  8664. 'TABLE', N'system_tenant'
  8665. GO
  8666. -- ----------------------------
  8667. -- Records of system_tenant
  8668. -- ----------------------------
  8669. BEGIN TRANSACTION
  8670. GO
  8671. SET IDENTITY_INSERT [dbo].[system_tenant] ON
  8672. GO
  8673. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [website], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'非繁源码', NULL, N'非繁人', N'17321315478', N'0', N'https://www.zhongxing.cn', N'0', N'2099-02-19 17:14:16.0000000', N'9999', N'1', N'2021-01-05 17:03:47.0000000', N'1', N'2022-02-23 12:15:11.0000000', N'0')
  8674. GO
  8675. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [website], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'121', N'小租户', N'110', N'小王2', N'15601691300', N'0', N'http://www.zhongxing.cn', N'111', N'2024-03-11 00:00:00.0000000', N'20', N'1', N'2022-02-22 00:56:14.0000000', N'1', N'2022-03-19 18:37:20.0000000', N'0')
  8676. GO
  8677. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [website], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'122', N'测试租户', N'113', N'非繁', N'15601691300', N'0', N'https://www.zhongxing.cn', N'111', N'2022-04-30 00:00:00.0000000', N'50', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'0')
  8678. GO
  8679. SET IDENTITY_INSERT [dbo].[system_tenant] OFF
  8680. GO
  8681. COMMIT
  8682. GO
  8683. -- ----------------------------
  8684. -- Table structure for system_tenant_package
  8685. -- ----------------------------
  8686. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_tenant_package]') AND type IN ('U'))
  8687. DROP TABLE [dbo].[system_tenant_package]
  8688. GO
  8689. CREATE TABLE [dbo].[system_tenant_package] (
  8690. [id] bigint IDENTITY(1,1) NOT NULL,
  8691. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8692. [status] tinyint NOT NULL,
  8693. [remark] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8694. [menu_ids] nvarchar(2048) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8695. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8696. [create_time] datetime2(7) NOT NULL,
  8697. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8698. [update_time] datetime2(7) NOT NULL,
  8699. [deleted] bit DEFAULT 0 NOT NULL
  8700. )
  8701. GO
  8702. ALTER TABLE [dbo].[system_tenant_package] SET (LOCK_ESCALATION = TABLE)
  8703. GO
  8704. EXEC sp_addextendedproperty
  8705. 'MS_Description', N'套餐编号',
  8706. 'SCHEMA', N'dbo',
  8707. 'TABLE', N'system_tenant_package',
  8708. 'COLUMN', N'id'
  8709. GO
  8710. EXEC sp_addextendedproperty
  8711. 'MS_Description', N'套餐名',
  8712. 'SCHEMA', N'dbo',
  8713. 'TABLE', N'system_tenant_package',
  8714. 'COLUMN', N'name'
  8715. GO
  8716. EXEC sp_addextendedproperty
  8717. 'MS_Description', N'租户状态(0正常 1停用)',
  8718. 'SCHEMA', N'dbo',
  8719. 'TABLE', N'system_tenant_package',
  8720. 'COLUMN', N'status'
  8721. GO
  8722. EXEC sp_addextendedproperty
  8723. 'MS_Description', N'备注',
  8724. 'SCHEMA', N'dbo',
  8725. 'TABLE', N'system_tenant_package',
  8726. 'COLUMN', N'remark'
  8727. GO
  8728. EXEC sp_addextendedproperty
  8729. 'MS_Description', N'关联的菜单编号',
  8730. 'SCHEMA', N'dbo',
  8731. 'TABLE', N'system_tenant_package',
  8732. 'COLUMN', N'menu_ids'
  8733. GO
  8734. EXEC sp_addextendedproperty
  8735. 'MS_Description', N'创建者',
  8736. 'SCHEMA', N'dbo',
  8737. 'TABLE', N'system_tenant_package',
  8738. 'COLUMN', N'creator'
  8739. GO
  8740. EXEC sp_addextendedproperty
  8741. 'MS_Description', N'创建时间',
  8742. 'SCHEMA', N'dbo',
  8743. 'TABLE', N'system_tenant_package',
  8744. 'COLUMN', N'create_time'
  8745. GO
  8746. EXEC sp_addextendedproperty
  8747. 'MS_Description', N'更新者',
  8748. 'SCHEMA', N'dbo',
  8749. 'TABLE', N'system_tenant_package',
  8750. 'COLUMN', N'updater'
  8751. GO
  8752. EXEC sp_addextendedproperty
  8753. 'MS_Description', N'更新时间',
  8754. 'SCHEMA', N'dbo',
  8755. 'TABLE', N'system_tenant_package',
  8756. 'COLUMN', N'update_time'
  8757. GO
  8758. EXEC sp_addextendedproperty
  8759. 'MS_Description', N'是否删除',
  8760. 'SCHEMA', N'dbo',
  8761. 'TABLE', N'system_tenant_package',
  8762. 'COLUMN', N'deleted'
  8763. GO
  8764. EXEC sp_addextendedproperty
  8765. 'MS_Description', N'租户套餐表',
  8766. 'SCHEMA', N'dbo',
  8767. 'TABLE', N'system_tenant_package'
  8768. GO
  8769. -- ----------------------------
  8770. -- Records of system_tenant_package
  8771. -- ----------------------------
  8772. BEGIN TRANSACTION
  8773. GO
  8774. SET IDENTITY_INSERT [dbo].[system_tenant_package] ON
  8775. GO
  8776. INSERT INTO [dbo].[system_tenant_package] ([id], [name], [status], [remark], [menu_ids], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'111', N'普通套餐', N'0', N'小功能', N'[1024,1025,1,102,103,104,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023]', N'1', N'2022-02-22 00:54:00.0000000', N'1', N'2022-03-19 18:39:13.0000000', N'0')
  8777. GO
  8778. SET IDENTITY_INSERT [dbo].[system_tenant_package] OFF
  8779. GO
  8780. COMMIT
  8781. GO
  8782. -- ----------------------------
  8783. -- Table structure for system_user_post
  8784. -- ----------------------------
  8785. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_user_post]') AND type IN ('U'))
  8786. DROP TABLE [dbo].[system_user_post]
  8787. GO
  8788. CREATE TABLE [dbo].[system_user_post] (
  8789. [id] bigint IDENTITY(1,1) NOT NULL,
  8790. [user_id] bigint NOT NULL,
  8791. [post_id] bigint NOT NULL,
  8792. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8793. [create_time] datetime2(7) NOT NULL,
  8794. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8795. [update_time] datetime2(7) NOT NULL,
  8796. [deleted] bit DEFAULT 0 NOT NULL,
  8797. [tenant_id] bigint DEFAULT 0 NOT NULL
  8798. )
  8799. GO
  8800. ALTER TABLE [dbo].[system_user_post] SET (LOCK_ESCALATION = TABLE)
  8801. GO
  8802. EXEC sp_addextendedproperty
  8803. 'MS_Description', N'ID 主键',
  8804. 'SCHEMA', N'dbo',
  8805. 'TABLE', N'system_user_post',
  8806. 'COLUMN', N'id'
  8807. GO
  8808. EXEC sp_addextendedproperty
  8809. 'MS_Description', N'用户ID',
  8810. 'SCHEMA', N'dbo',
  8811. 'TABLE', N'system_user_post',
  8812. 'COLUMN', N'user_id'
  8813. GO
  8814. EXEC sp_addextendedproperty
  8815. 'MS_Description', N'岗位ID',
  8816. 'SCHEMA', N'dbo',
  8817. 'TABLE', N'system_user_post',
  8818. 'COLUMN', N'post_id'
  8819. GO
  8820. EXEC sp_addextendedproperty
  8821. 'MS_Description', N'创建者',
  8822. 'SCHEMA', N'dbo',
  8823. 'TABLE', N'system_user_post',
  8824. 'COLUMN', N'creator'
  8825. GO
  8826. EXEC sp_addextendedproperty
  8827. 'MS_Description', N'创建时间',
  8828. 'SCHEMA', N'dbo',
  8829. 'TABLE', N'system_user_post',
  8830. 'COLUMN', N'create_time'
  8831. GO
  8832. EXEC sp_addextendedproperty
  8833. 'MS_Description', N'更新者',
  8834. 'SCHEMA', N'dbo',
  8835. 'TABLE', N'system_user_post',
  8836. 'COLUMN', N'updater'
  8837. GO
  8838. EXEC sp_addextendedproperty
  8839. 'MS_Description', N'更新时间',
  8840. 'SCHEMA', N'dbo',
  8841. 'TABLE', N'system_user_post',
  8842. 'COLUMN', N'update_time'
  8843. GO
  8844. EXEC sp_addextendedproperty
  8845. 'MS_Description', N'是否删除',
  8846. 'SCHEMA', N'dbo',
  8847. 'TABLE', N'system_user_post',
  8848. 'COLUMN', N'deleted'
  8849. GO
  8850. EXEC sp_addextendedproperty
  8851. 'MS_Description', N'租户编号',
  8852. 'SCHEMA', N'dbo',
  8853. 'TABLE', N'system_user_post',
  8854. 'COLUMN', N'tenant_id'
  8855. GO
  8856. EXEC sp_addextendedproperty
  8857. 'MS_Description', N'用户岗位表',
  8858. 'SCHEMA', N'dbo',
  8859. 'TABLE', N'system_user_post'
  8860. GO
  8861. -- ----------------------------
  8862. -- Records of system_user_post
  8863. -- ----------------------------
  8864. BEGIN TRANSACTION
  8865. GO
  8866. SET IDENTITY_INSERT [dbo].[system_user_post] ON
  8867. GO
  8868. INSERT INTO [dbo].[system_user_post] ([id], [user_id], [post_id], [creator], [create_time], [updater], [update_time], [deleted], [tenant_id]) VALUES (N'112', N'1', N'1', N'admin', N'2022-05-02 07:25:24.0000000', N'admin', N'2022-05-02 07:25:24.0000000', N'0', N'1')
  8869. GO
  8870. INSERT INTO [dbo].[system_user_post] ([id], [user_id], [post_id], [creator], [create_time], [updater], [update_time], [deleted], [tenant_id]) VALUES (N'113', N'100', N'1', N'admin', N'2022-05-02 07:25:24.0000000', N'admin', N'2022-05-02 07:25:24.0000000', N'0', N'1')
  8871. GO
  8872. INSERT INTO [dbo].[system_user_post] ([id], [user_id], [post_id], [creator], [create_time], [updater], [update_time], [deleted], [tenant_id]) VALUES (N'114', N'114', N'3', N'admin', N'2022-05-02 07:25:24.0000000', N'admin', N'2022-05-02 07:25:24.0000000', N'0', N'1')
  8873. GO
  8874. SET IDENTITY_INSERT [dbo].[system_user_post] OFF
  8875. GO
  8876. COMMIT
  8877. GO
  8878. -- ----------------------------
  8879. -- Table structure for system_user_role
  8880. -- ----------------------------
  8881. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_user_role]') AND type IN ('U'))
  8882. DROP TABLE [dbo].[system_user_role]
  8883. GO
  8884. CREATE TABLE [dbo].[system_user_role] (
  8885. [id] bigint IDENTITY(1,1) NOT NULL,
  8886. [user_id] bigint NOT NULL,
  8887. [role_id] bigint NOT NULL,
  8888. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8889. [create_time] datetime2(7) NULL,
  8890. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8891. [update_time] datetime2(7) NULL,
  8892. [tenant_id] bigint NOT NULL,
  8893. [deleted] bit DEFAULT 0 NOT NULL
  8894. )
  8895. GO
  8896. ALTER TABLE [dbo].[system_user_role] SET (LOCK_ESCALATION = TABLE)
  8897. GO
  8898. EXEC sp_addextendedproperty
  8899. 'MS_Description', N'自增编号',
  8900. 'SCHEMA', N'dbo',
  8901. 'TABLE', N'system_user_role',
  8902. 'COLUMN', N'id'
  8903. GO
  8904. EXEC sp_addextendedproperty
  8905. 'MS_Description', N'用户ID',
  8906. 'SCHEMA', N'dbo',
  8907. 'TABLE', N'system_user_role',
  8908. 'COLUMN', N'user_id'
  8909. GO
  8910. EXEC sp_addextendedproperty
  8911. 'MS_Description', N'角色ID',
  8912. 'SCHEMA', N'dbo',
  8913. 'TABLE', N'system_user_role',
  8914. 'COLUMN', N'role_id'
  8915. GO
  8916. EXEC sp_addextendedproperty
  8917. 'MS_Description', N'创建者',
  8918. 'SCHEMA', N'dbo',
  8919. 'TABLE', N'system_user_role',
  8920. 'COLUMN', N'creator'
  8921. GO
  8922. EXEC sp_addextendedproperty
  8923. 'MS_Description', N'创建时间',
  8924. 'SCHEMA', N'dbo',
  8925. 'TABLE', N'system_user_role',
  8926. 'COLUMN', N'create_time'
  8927. GO
  8928. EXEC sp_addextendedproperty
  8929. 'MS_Description', N'更新者',
  8930. 'SCHEMA', N'dbo',
  8931. 'TABLE', N'system_user_role',
  8932. 'COLUMN', N'updater'
  8933. GO
  8934. EXEC sp_addextendedproperty
  8935. 'MS_Description', N'更新时间',
  8936. 'SCHEMA', N'dbo',
  8937. 'TABLE', N'system_user_role',
  8938. 'COLUMN', N'update_time'
  8939. GO
  8940. EXEC sp_addextendedproperty
  8941. 'MS_Description', N'租户编号',
  8942. 'SCHEMA', N'dbo',
  8943. 'TABLE', N'system_user_role',
  8944. 'COLUMN', N'tenant_id'
  8945. GO
  8946. EXEC sp_addextendedproperty
  8947. 'MS_Description', N'是否删除',
  8948. 'SCHEMA', N'dbo',
  8949. 'TABLE', N'system_user_role',
  8950. 'COLUMN', N'deleted'
  8951. GO
  8952. EXEC sp_addextendedproperty
  8953. 'MS_Description', N'用户和角色关联表',
  8954. 'SCHEMA', N'dbo',
  8955. 'TABLE', N'system_user_role'
  8956. GO
  8957. -- ----------------------------
  8958. -- Records of system_user_role
  8959. -- ----------------------------
  8960. BEGIN TRANSACTION
  8961. GO
  8962. SET IDENTITY_INSERT [dbo].[system_user_role] ON
  8963. GO
  8964. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'1', N'1', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8965. GO
  8966. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'2', N'2', N'2', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8967. GO
  8968. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'4', N'100', N'101', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8969. GO
  8970. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'5', N'100', N'1', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8971. GO
  8972. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'6', N'100', N'2', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8973. GO
  8974. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'7', N'104', N'101', N'', N'2022-01-11 13:19:45.0000000', N'', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8975. GO
  8976. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'10', N'103', N'1', N'1', N'2022-01-11 13:19:45.0000000', N'1', N'2022-01-11 13:19:45.0000000', N'1', N'0')
  8977. GO
  8978. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'11', N'107', N'106', N'1', N'2022-02-20 22:59:33.0000000', N'1', N'2022-02-20 22:59:33.0000000', N'118', N'0')
  8979. GO
  8980. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'12', N'108', N'107', N'1', N'2022-02-20 23:00:50.0000000', N'1', N'2022-02-20 23:00:50.0000000', N'119', N'0')
  8981. GO
  8982. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'13', N'109', N'108', N'1', N'2022-02-20 23:11:50.0000000', N'1', N'2022-02-20 23:11:50.0000000', N'120', N'0')
  8983. GO
  8984. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'14', N'110', N'109', N'1', N'2022-02-22 00:56:14.0000000', N'1', N'2022-02-22 00:56:14.0000000', N'121', N'0')
  8985. GO
  8986. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'15', N'111', N'110', N'110', N'2022-02-23 13:14:38.0000000', N'110', N'2022-02-23 13:14:38.0000000', N'121', N'0')
  8987. GO
  8988. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'16', N'113', N'111', N'1', N'2022-03-07 21:37:58.0000000', N'1', N'2022-03-07 21:37:58.0000000', N'122', N'0')
  8989. GO
  8990. INSERT INTO [dbo].[system_user_role] ([id], [user_id], [role_id], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'17', N'114', N'101', N'1', N'2022-03-19 21:51:13.0000000', N'1', N'2022-03-19 21:51:13.0000000', N'1', N'0')
  8991. GO
  8992. SET IDENTITY_INSERT [dbo].[system_user_role] OFF
  8993. GO
  8994. COMMIT
  8995. GO
  8996. -- ----------------------------
  8997. -- Table structure for system_users
  8998. -- ----------------------------
  8999. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_users]') AND type IN ('U'))
  9000. DROP TABLE [dbo].[system_users]
  9001. GO
  9002. CREATE TABLE [dbo].[system_users] (
  9003. [id] bigint IDENTITY(1,1) NOT NULL,
  9004. [username] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  9005. [password] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  9006. [nickname] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  9007. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9008. [dept_id] bigint NULL,
  9009. [post_ids] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9010. [email] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9011. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9012. [sex] tinyint NULL,
  9013. [avatar] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9014. [status] tinyint NOT NULL,
  9015. [login_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9016. [login_date] datetime2(7) NULL,
  9017. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9018. [create_time] datetime2(7) NOT NULL,
  9019. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  9020. [update_time] datetime2(7) NOT NULL,
  9021. [tenant_id] bigint NOT NULL,
  9022. [deleted] bit DEFAULT 0 NOT NULL
  9023. )
  9024. GO
  9025. ALTER TABLE [dbo].[system_users] SET (LOCK_ESCALATION = TABLE)
  9026. GO
  9027. EXEC sp_addextendedproperty
  9028. 'MS_Description', N'用户ID',
  9029. 'SCHEMA', N'dbo',
  9030. 'TABLE', N'system_users',
  9031. 'COLUMN', N'id'
  9032. GO
  9033. EXEC sp_addextendedproperty
  9034. 'MS_Description', N'用户账号',
  9035. 'SCHEMA', N'dbo',
  9036. 'TABLE', N'system_users',
  9037. 'COLUMN', N'username'
  9038. GO
  9039. EXEC sp_addextendedproperty
  9040. 'MS_Description', N'密码',
  9041. 'SCHEMA', N'dbo',
  9042. 'TABLE', N'system_users',
  9043. 'COLUMN', N'password'
  9044. GO
  9045. EXEC sp_addextendedproperty
  9046. 'MS_Description', N'用户昵称',
  9047. 'SCHEMA', N'dbo',
  9048. 'TABLE', N'system_users',
  9049. 'COLUMN', N'nickname'
  9050. GO
  9051. EXEC sp_addextendedproperty
  9052. 'MS_Description', N'备注',
  9053. 'SCHEMA', N'dbo',
  9054. 'TABLE', N'system_users',
  9055. 'COLUMN', N'remark'
  9056. GO
  9057. EXEC sp_addextendedproperty
  9058. 'MS_Description', N'部门ID',
  9059. 'SCHEMA', N'dbo',
  9060. 'TABLE', N'system_users',
  9061. 'COLUMN', N'dept_id'
  9062. GO
  9063. EXEC sp_addextendedproperty
  9064. 'MS_Description', N'岗位编号数组',
  9065. 'SCHEMA', N'dbo',
  9066. 'TABLE', N'system_users',
  9067. 'COLUMN', N'post_ids'
  9068. GO
  9069. EXEC sp_addextendedproperty
  9070. 'MS_Description', N'用户邮箱',
  9071. 'SCHEMA', N'dbo',
  9072. 'TABLE', N'system_users',
  9073. 'COLUMN', N'email'
  9074. GO
  9075. EXEC sp_addextendedproperty
  9076. 'MS_Description', N'手机号码',
  9077. 'SCHEMA', N'dbo',
  9078. 'TABLE', N'system_users',
  9079. 'COLUMN', N'mobile'
  9080. GO
  9081. EXEC sp_addextendedproperty
  9082. 'MS_Description', N'用户性别',
  9083. 'SCHEMA', N'dbo',
  9084. 'TABLE', N'system_users',
  9085. 'COLUMN', N'sex'
  9086. GO
  9087. EXEC sp_addextendedproperty
  9088. 'MS_Description', N'头像地址',
  9089. 'SCHEMA', N'dbo',
  9090. 'TABLE', N'system_users',
  9091. 'COLUMN', N'avatar'
  9092. GO
  9093. EXEC sp_addextendedproperty
  9094. 'MS_Description', N'帐号状态(0正常 1停用)',
  9095. 'SCHEMA', N'dbo',
  9096. 'TABLE', N'system_users',
  9097. 'COLUMN', N'status'
  9098. GO
  9099. EXEC sp_addextendedproperty
  9100. 'MS_Description', N'最后登录IP',
  9101. 'SCHEMA', N'dbo',
  9102. 'TABLE', N'system_users',
  9103. 'COLUMN', N'login_ip'
  9104. GO
  9105. EXEC sp_addextendedproperty
  9106. 'MS_Description', N'最后登录时间',
  9107. 'SCHEMA', N'dbo',
  9108. 'TABLE', N'system_users',
  9109. 'COLUMN', N'login_date'
  9110. GO
  9111. EXEC sp_addextendedproperty
  9112. 'MS_Description', N'创建者',
  9113. 'SCHEMA', N'dbo',
  9114. 'TABLE', N'system_users',
  9115. 'COLUMN', N'creator'
  9116. GO
  9117. EXEC sp_addextendedproperty
  9118. 'MS_Description', N'创建时间',
  9119. 'SCHEMA', N'dbo',
  9120. 'TABLE', N'system_users',
  9121. 'COLUMN', N'create_time'
  9122. GO
  9123. EXEC sp_addextendedproperty
  9124. 'MS_Description', N'更新者',
  9125. 'SCHEMA', N'dbo',
  9126. 'TABLE', N'system_users',
  9127. 'COLUMN', N'updater'
  9128. GO
  9129. EXEC sp_addextendedproperty
  9130. 'MS_Description', N'更新时间',
  9131. 'SCHEMA', N'dbo',
  9132. 'TABLE', N'system_users',
  9133. 'COLUMN', N'update_time'
  9134. GO
  9135. EXEC sp_addextendedproperty
  9136. 'MS_Description', N'租户编号',
  9137. 'SCHEMA', N'dbo',
  9138. 'TABLE', N'system_users',
  9139. 'COLUMN', N'tenant_id'
  9140. GO
  9141. EXEC sp_addextendedproperty
  9142. 'MS_Description', N'是否删除',
  9143. 'SCHEMA', N'dbo',
  9144. 'TABLE', N'system_users',
  9145. 'COLUMN', N'deleted'
  9146. GO
  9147. EXEC sp_addextendedproperty
  9148. 'MS_Description', N'用户信息表',
  9149. 'SCHEMA', N'dbo',
  9150. 'TABLE', N'system_users'
  9151. GO
  9152. -- ----------------------------
  9153. -- Records of system_users
  9154. -- ----------------------------
  9155. BEGIN TRANSACTION
  9156. GO
  9157. SET IDENTITY_INSERT [dbo].[system_users] ON
  9158. GO
  9159. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'1', N'admin', N'$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', N'非繁源码', N'管理员', N'103', N'[1]', N'aoteman@126.com', N'15612345678', N'1', N'http://test.feifan.iocoder.cn/48934f2f-92d4-4250-b917-d10d2b262c6a', N'0', N'127.0.0.1', N'2022-05-26 00:51:15.3820000', N'admin', N'2021-01-05 17:03:47.0000000', NULL, N'2022-05-26 00:51:15.3870000', N'1', N'0')
  9160. GO
  9161. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'100', N'feifan', N'$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', N'非繁', N'不要吓我', N'104', N'[1]', N'feifan@iocoder.cn', N'15601691300', N'1', N'', N'1', N'127.0.0.1', N'2022-05-03 16:49:24.6860000', N'', N'2021-01-07 09:07:17.0000000', NULL, N'2022-05-03 16:49:24.6860000', N'1', N'0')
  9162. GO
  9163. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'103', N'yuanma', N'$2a$10$wWoPT7sqriM2O1YXRL.je.GiL538OR6ZTN8aQZr9JAGdnpCH2tpYe', N'源码', NULL, N'106', NULL, N'yuanma@iocoder.cn', N'15601701300', N'0', N'', N'0', N'127.0.0.1', N'2022-01-18 00:33:40.0000000', N'', N'2021-01-13 23:50:35.0000000', NULL, N'2022-01-18 00:33:40.0000000', N'1', N'0')
  9164. GO
  9165. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'104', N'test', N'$2a$10$e5RpuDCC0GYSt0Hvd2.CjujIXwgGct4SnXi6dVGxdgFsnqgEryk5a', N'测试号', NULL, N'107', N'[]', N'111@qq.com', N'15601691200', N'1', N'', N'0', N'127.0.0.1', N'2022-03-19 21:46:19.0000000', N'', N'2021-01-21 02:13:53.0000000', NULL, N'2022-03-19 21:46:19.0000000', N'1', N'0')
  9166. GO
  9167. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'107', N'admin107', N'$2a$10$dYOOBKMO93v/.ReCqzyFg.o67Tqk.bbc2bhrpyBGkIw9aypCtr2pm', N'非繁人', NULL, NULL, NULL, N'', N'15601691300', N'0', N'', N'0', N'', NULL, N'1', N'2022-02-20 22:59:33.0000000', N'1', N'2022-02-27 08:26:51.0000000', N'118', N'0')
  9168. GO
  9169. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'108', N'admin108', N'$2a$10$y6mfvKoNYL1GXWak8nYwVOH.kCWqjactkzdoIDgiKl93WN3Ejg.Lu', N'非繁人', NULL, NULL, NULL, N'', N'15601691300', N'0', N'', N'0', N'', NULL, N'1', N'2022-02-20 23:00:50.0000000', N'1', N'2022-02-27 08:26:53.0000000', N'119', N'0')
  9170. GO
  9171. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'109', N'admin109', N'$2a$10$JAqvH0tEc0I7dfDVBI7zyuB4E3j.uH6daIjV53.vUS6PknFkDJkuK', N'非繁人', NULL, NULL, NULL, N'', N'15601691300', N'0', N'', N'0', N'', NULL, N'1', N'2022-02-20 23:11:50.0000000', N'1', N'2022-02-27 08:26:56.0000000', N'120', N'0')
  9172. GO
  9173. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'110', N'admin110', N'$2a$10$qYxoXs0ogPHgYllyEneYde9xcCW5hZgukrxeXZ9lmLhKse8TK6IwW', N'小王', NULL, NULL, NULL, N'', N'15601691300', N'0', N'', N'0', N'127.0.0.1', N'2022-02-23 19:36:28.0000000', N'1', N'2022-02-22 00:56:14.0000000', NULL, N'2022-02-27 08:26:59.0000000', N'121', N'0')
  9174. GO
  9175. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'111', N'test', N'$2a$10$mExveopHUx9Q4QiLtAzhDeH3n4/QlNLzEsM4AqgxKrU.ciUZDXZCy', N'测试用户', NULL, NULL, N'[]', N'', N'', N'0', N'', N'0', N'', NULL, N'110', N'2022-02-23 13:14:33.0000000', N'110', N'2022-02-23 13:14:33.0000000', N'121', N'0')
  9176. GO
  9177. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'112', N'newobject', N'$2a$10$jh5MsR.ud/gKe3mVeUp5t.nEXGDSmHyv5OYjWQwHO8wlGmMSI9Twy', N'新对象', NULL, NULL, N'[]', N'', N'', N'0', N'', N'0', N'', NULL, N'1', N'2022-02-23 19:08:03.0000000', N'1', N'2022-02-23 19:08:03.0000000', N'1', N'0')
  9178. GO
  9179. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'113', N'aoteman', N'$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', N'非繁', NULL, NULL, NULL, N'', N'15601691300', N'0', N'', N'0', N'127.0.0.1', N'2022-03-19 18:38:51.0000000', N'1', N'2022-03-07 21:37:58.0000000', NULL, N'2022-03-19 18:38:51.0000000', N'122', N'0')
  9180. GO
  9181. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'114', N'hrmgr', N'$2a$10$TR4eybBioGRhBmDBWkqWLO6NIh3mzYa8KBKDDB5woiGYFVlRAi.fu', N'hr 小姐姐', NULL, NULL, N'[3]', N'', N'', N'0', N'', N'0', N'127.0.0.1', N'2022-03-19 22:15:43.0000000', N'1', N'2022-03-19 21:50:58.0000000', NULL, N'2022-03-19 22:15:43.0000000', N'1', N'0')
  9182. GO
  9183. INSERT INTO [dbo].[system_users] ([id], [username], [password], [nickname], [remark], [dept_id], [post_ids], [email], [mobile], [sex], [avatar], [status], [login_ip], [login_date], [creator], [create_time], [updater], [update_time], [tenant_id], [deleted]) VALUES (N'115', N'aotemane', N'$2a$10$/WCwGHu1eq0wOVDd/u8HweJ0gJCHyLS6T7ndCqI8UXZAQom1etk2e', N'1', N'11', N'100', N'[]', N'', N'', N'0', N'', N'0', N'', NULL, N'1', N'2022-04-30 02:55:43.0000000', N'1', N'2022-04-30 02:55:43.0000000', N'1', N'0')
  9184. GO
  9185. SET IDENTITY_INSERT [dbo].[system_users] OFF
  9186. GO
  9187. COMMIT
  9188. GO
  9189. -- ----------------------------
  9190. -- Primary Key structure for table QRTZ_CALENDARS
  9191. -- ----------------------------
  9192. ALTER TABLE [dbo].[QRTZ_CALENDARS] ADD CONSTRAINT [PK_QRTZ_CALENDARS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [CALENDAR_NAME])
  9193. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9194. ON [PRIMARY]
  9195. GO
  9196. -- ----------------------------
  9197. -- Indexes structure for table QRTZ_CRON_TRIGGERS
  9198. -- ----------------------------
  9199. CREATE NONCLUSTERED INDEX [IX_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS]
  9200. ON [dbo].[QRTZ_CRON_TRIGGERS] (
  9201. [SCHED_NAME] ASC,
  9202. [TRIGGER_NAME] ASC,
  9203. [TRIGGER_GROUP] ASC
  9204. )
  9205. GO
  9206. -- ----------------------------
  9207. -- Primary Key structure for table QRTZ_CRON_TRIGGERS
  9208. -- ----------------------------
  9209. ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_CRON_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9210. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9211. ON [PRIMARY]
  9212. GO
  9213. -- ----------------------------
  9214. -- Primary Key structure for table QRTZ_FIRED_TRIGGERS
  9215. -- ----------------------------
  9216. ALTER TABLE [dbo].[QRTZ_FIRED_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_FIRED_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [ENTRY_ID])
  9217. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9218. ON [PRIMARY]
  9219. GO
  9220. -- ----------------------------
  9221. -- Primary Key structure for table QRTZ_JOB_DETAILS
  9222. -- ----------------------------
  9223. ALTER TABLE [dbo].[QRTZ_JOB_DETAILS] ADD CONSTRAINT [PK_QRTZ_JOB_DETAILS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [JOB_NAME], [JOB_GROUP])
  9224. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9225. ON [PRIMARY]
  9226. GO
  9227. -- ----------------------------
  9228. -- Primary Key structure for table QRTZ_LOCKS
  9229. -- ----------------------------
  9230. ALTER TABLE [dbo].[QRTZ_LOCKS] ADD CONSTRAINT [PK_QRTZ_LOCKS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [LOCK_NAME])
  9231. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9232. ON [PRIMARY]
  9233. GO
  9234. -- ----------------------------
  9235. -- Primary Key structure for table QRTZ_PAUSED_TRIGGER_GRPS
  9236. -- ----------------------------
  9237. ALTER TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] ADD CONSTRAINT [PK_QRTZ_PAUSED_TRIGGER_GRPS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_GROUP])
  9238. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9239. ON [PRIMARY]
  9240. GO
  9241. -- ----------------------------
  9242. -- Primary Key structure for table QRTZ_SCHEDULER_STATE
  9243. -- ----------------------------
  9244. ALTER TABLE [dbo].[QRTZ_SCHEDULER_STATE] ADD CONSTRAINT [PK_QRTZ_SCHEDULER_STATE] PRIMARY KEY CLUSTERED ([SCHED_NAME], [INSTANCE_NAME])
  9245. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9246. ON [PRIMARY]
  9247. GO
  9248. -- ----------------------------
  9249. -- Indexes structure for table QRTZ_SIMPLE_TRIGGERS
  9250. -- ----------------------------
  9251. CREATE NONCLUSTERED INDEX [IX_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS]
  9252. ON [dbo].[QRTZ_SIMPLE_TRIGGERS] (
  9253. [SCHED_NAME] ASC,
  9254. [TRIGGER_NAME] ASC,
  9255. [TRIGGER_GROUP] ASC
  9256. )
  9257. GO
  9258. -- ----------------------------
  9259. -- Primary Key structure for table QRTZ_SIMPLE_TRIGGERS
  9260. -- ----------------------------
  9261. ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_SIMPLE_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9262. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9263. ON [PRIMARY]
  9264. GO
  9265. -- ----------------------------
  9266. -- Indexes structure for table QRTZ_SIMPROP_TRIGGERS
  9267. -- ----------------------------
  9268. CREATE NONCLUSTERED INDEX [IX_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS]
  9269. ON [dbo].[QRTZ_SIMPROP_TRIGGERS] (
  9270. [SCHED_NAME] ASC,
  9271. [TRIGGER_NAME] ASC,
  9272. [TRIGGER_GROUP] ASC
  9273. )
  9274. GO
  9275. -- ----------------------------
  9276. -- Primary Key structure for table QRTZ_SIMPROP_TRIGGERS
  9277. -- ----------------------------
  9278. ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_SIMPROP_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9279. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9280. ON [PRIMARY]
  9281. GO
  9282. -- ----------------------------
  9283. -- Indexes structure for table QRTZ_TRIGGERS
  9284. -- ----------------------------
  9285. CREATE NONCLUSTERED INDEX [IX_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS]
  9286. ON [dbo].[QRTZ_TRIGGERS] (
  9287. [SCHED_NAME] ASC,
  9288. [TRIGGER_NAME] ASC,
  9289. [TRIGGER_GROUP] ASC
  9290. )
  9291. GO
  9292. -- ----------------------------
  9293. -- Primary Key structure for table QRTZ_TRIGGERS
  9294. -- ----------------------------
  9295. ALTER TABLE [dbo].[QRTZ_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9296. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9297. ON [PRIMARY]
  9298. GO
  9299. -- ----------------------------
  9300. -- Auto increment value for bpm_form
  9301. -- ----------------------------
  9302. DBCC CHECKIDENT ('[dbo].[bpm_form]', RESEED, 1)
  9303. GO
  9304. -- ----------------------------
  9305. -- Primary Key structure for table bpm_form
  9306. -- ----------------------------
  9307. ALTER TABLE [dbo].[bpm_form] ADD CONSTRAINT [PK__bpm_form__3213E83F86C2B27F] PRIMARY KEY CLUSTERED ([id])
  9308. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9309. ON [PRIMARY]
  9310. GO
  9311. -- ----------------------------
  9312. -- Auto increment value for bpm_oa_leave
  9313. -- ----------------------------
  9314. DBCC CHECKIDENT ('[dbo].[bpm_oa_leave]', RESEED, 1)
  9315. GO
  9316. -- ----------------------------
  9317. -- Primary Key structure for table bpm_oa_leave
  9318. -- ----------------------------
  9319. ALTER TABLE [dbo].[bpm_oa_leave] ADD CONSTRAINT [PK__bpm_oa_l__3213E83F3569F596] PRIMARY KEY CLUSTERED ([id])
  9320. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9321. ON [PRIMARY]
  9322. GO
  9323. -- ----------------------------
  9324. -- Auto increment value for bpm_process_definition_ext
  9325. -- ----------------------------
  9326. DBCC CHECKIDENT ('[dbo].[bpm_process_definition_ext]', RESEED, 1)
  9327. GO
  9328. -- ----------------------------
  9329. -- Primary Key structure for table bpm_process_definition_ext
  9330. -- ----------------------------
  9331. ALTER TABLE [dbo].[bpm_process_definition_ext] ADD CONSTRAINT [PK__bpm_proc__3213E83F0A8AB015] PRIMARY KEY CLUSTERED ([id])
  9332. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9333. ON [PRIMARY]
  9334. GO
  9335. -- ----------------------------
  9336. -- Auto increment value for bpm_process_instance_ext
  9337. -- ----------------------------
  9338. DBCC CHECKIDENT ('[dbo].[bpm_process_instance_ext]', RESEED, 1)
  9339. GO
  9340. -- ----------------------------
  9341. -- Primary Key structure for table bpm_process_instance_ext
  9342. -- ----------------------------
  9343. ALTER TABLE [dbo].[bpm_process_instance_ext] ADD CONSTRAINT [PK__bpm_proc__3213E83FFD88328F] PRIMARY KEY CLUSTERED ([id])
  9344. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9345. ON [PRIMARY]
  9346. GO
  9347. -- ----------------------------
  9348. -- Auto increment value for bpm_task_assign_rule
  9349. -- ----------------------------
  9350. DBCC CHECKIDENT ('[dbo].[bpm_task_assign_rule]', RESEED, 2)
  9351. GO
  9352. -- ----------------------------
  9353. -- Primary Key structure for table bpm_task_assign_rule
  9354. -- ----------------------------
  9355. ALTER TABLE [dbo].[bpm_task_assign_rule] ADD CONSTRAINT [PK__bpm_task__3213E83F474371C5] PRIMARY KEY CLUSTERED ([id])
  9356. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9357. ON [PRIMARY]
  9358. GO
  9359. -- ----------------------------
  9360. -- Auto increment value for bpm_task_ext
  9361. -- ----------------------------
  9362. DBCC CHECKIDENT ('[dbo].[bpm_task_ext]', RESEED, 1)
  9363. GO
  9364. -- ----------------------------
  9365. -- Primary Key structure for table bpm_task_ext
  9366. -- ----------------------------
  9367. ALTER TABLE [dbo].[bpm_task_ext] ADD CONSTRAINT [PK__bpm_task__3213E83FD8AFE1F9] PRIMARY KEY CLUSTERED ([id])
  9368. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9369. ON [PRIMARY]
  9370. GO
  9371. -- ----------------------------
  9372. -- Auto increment value for bpm_user_group
  9373. -- ----------------------------
  9374. DBCC CHECKIDENT ('[dbo].[bpm_user_group]', RESEED, 1)
  9375. GO
  9376. -- ----------------------------
  9377. -- Primary Key structure for table bpm_user_group
  9378. -- ----------------------------
  9379. ALTER TABLE [dbo].[bpm_user_group] ADD CONSTRAINT [PK__bpm_user__3213E83F25E4725B] PRIMARY KEY CLUSTERED ([id])
  9380. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9381. ON [PRIMARY]
  9382. GO
  9383. -- ----------------------------
  9384. -- Auto increment value for infra_api_access_log
  9385. -- ----------------------------
  9386. DBCC CHECKIDENT ('[dbo].[infra_api_access_log]', RESEED, 40615)
  9387. GO
  9388. -- ----------------------------
  9389. -- Primary Key structure for table infra_api_access_log
  9390. -- ----------------------------
  9391. ALTER TABLE [dbo].[infra_api_access_log] ADD CONSTRAINT [PK__infra_ap__3213E83F04F27A05] PRIMARY KEY CLUSTERED ([id])
  9392. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9393. ON [PRIMARY]
  9394. GO
  9395. -- ----------------------------
  9396. -- Auto increment value for infra_api_error_log
  9397. -- ----------------------------
  9398. DBCC CHECKIDENT ('[dbo].[infra_api_error_log]', RESEED, 2021)
  9399. GO
  9400. -- ----------------------------
  9401. -- Primary Key structure for table infra_api_error_log
  9402. -- ----------------------------
  9403. ALTER TABLE [dbo].[infra_api_error_log] ADD CONSTRAINT [PK__infra_ap__3213E83FCA2446D4] PRIMARY KEY CLUSTERED ([id])
  9404. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9405. ON [PRIMARY]
  9406. GO
  9407. -- ----------------------------
  9408. -- Auto increment value for infra_codegen_column
  9409. -- ----------------------------
  9410. DBCC CHECKIDENT ('[dbo].[infra_codegen_column]', RESEED, 1)
  9411. GO
  9412. -- ----------------------------
  9413. -- Primary Key structure for table infra_codegen_column
  9414. -- ----------------------------
  9415. ALTER TABLE [dbo].[infra_codegen_column] ADD CONSTRAINT [PK__infra_co__3213E83FA9EC5005] PRIMARY KEY CLUSTERED ([id])
  9416. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9417. ON [PRIMARY]
  9418. GO
  9419. -- ----------------------------
  9420. -- Auto increment value for infra_codegen_table
  9421. -- ----------------------------
  9422. DBCC CHECKIDENT ('[dbo].[infra_codegen_table]', RESEED, 1)
  9423. GO
  9424. -- ----------------------------
  9425. -- Primary Key structure for table infra_codegen_table
  9426. -- ----------------------------
  9427. ALTER TABLE [dbo].[infra_codegen_table] ADD CONSTRAINT [PK__infra_co__3213E83F555031D0] PRIMARY KEY CLUSTERED ([id])
  9428. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9429. ON [PRIMARY]
  9430. GO
  9431. -- ----------------------------
  9432. -- Primary Key structure for table infra_config
  9433. -- ----------------------------
  9434. ALTER TABLE [dbo].[infra_config] ADD CONSTRAINT [PK__infra_co__3213E83FF4C71E85] PRIMARY KEY CLUSTERED ([id])
  9435. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9436. ON [PRIMARY]
  9437. GO
  9438. -- ----------------------------
  9439. -- Auto increment value for infra_data_source_config
  9440. -- ----------------------------
  9441. DBCC CHECKIDENT ('[dbo].[infra_data_source_config]', RESEED, 9)
  9442. GO
  9443. -- ----------------------------
  9444. -- Primary Key structure for table infra_data_source_config
  9445. -- ----------------------------
  9446. ALTER TABLE [dbo].[infra_data_source_config] ADD CONSTRAINT [PK__infra_da__3213E83F02D21AEB] PRIMARY KEY CLUSTERED ([id])
  9447. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9448. ON [PRIMARY]
  9449. GO
  9450. -- ----------------------------
  9451. -- Auto increment value for infra_file
  9452. -- ----------------------------
  9453. DBCC CHECKIDENT ('[dbo].[infra_file]', RESEED, 1)
  9454. GO
  9455. -- ----------------------------
  9456. -- Auto increment value for infra_file_config
  9457. -- ----------------------------
  9458. DBCC CHECKIDENT ('[dbo].[infra_file_config]', RESEED, 11)
  9459. GO
  9460. -- ----------------------------
  9461. -- Primary Key structure for table infra_file_config
  9462. -- ----------------------------
  9463. ALTER TABLE [dbo].[infra_file_config] ADD CONSTRAINT [PK__infra_fi__3213E83F8A7903EA] PRIMARY KEY CLUSTERED ([id])
  9464. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9465. ON [PRIMARY]
  9466. GO
  9467. -- ----------------------------
  9468. -- Auto increment value for infra_file_content
  9469. -- ----------------------------
  9470. DBCC CHECKIDENT ('[dbo].[infra_file_content]', RESEED, 1)
  9471. GO
  9472. -- ----------------------------
  9473. -- Primary Key structure for table infra_file_content
  9474. -- ----------------------------
  9475. ALTER TABLE [dbo].[infra_file_content] ADD CONSTRAINT [PK__infra_fi__3213E83F033E6045] PRIMARY KEY CLUSTERED ([id])
  9476. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9477. ON [PRIMARY]
  9478. GO
  9479. -- ----------------------------
  9480. -- Auto increment value for infra_job
  9481. -- ----------------------------
  9482. DBCC CHECKIDENT ('[dbo].[infra_job]', RESEED, 16)
  9483. GO
  9484. -- ----------------------------
  9485. -- Primary Key structure for table infra_job
  9486. -- ----------------------------
  9487. ALTER TABLE [dbo].[infra_job] ADD CONSTRAINT [PK__infra_jo__3213E83F3C7DE10C] PRIMARY KEY CLUSTERED ([id])
  9488. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9489. ON [PRIMARY]
  9490. GO
  9491. -- ----------------------------
  9492. -- Auto increment value for infra_job_log
  9493. -- ----------------------------
  9494. DBCC CHECKIDENT ('[dbo].[infra_job_log]', RESEED, 16)
  9495. GO
  9496. -- ----------------------------
  9497. -- Primary Key structure for table infra_job_log
  9498. -- ----------------------------
  9499. ALTER TABLE [dbo].[infra_job_log] ADD CONSTRAINT [PK__infra_jo__3213E83F4CA8F353] PRIMARY KEY CLUSTERED ([id])
  9500. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9501. ON [PRIMARY]
  9502. GO
  9503. -- ----------------------------
  9504. -- Auto increment value for infra_test_demo
  9505. -- ----------------------------
  9506. DBCC CHECKIDENT ('[dbo].[infra_test_demo]', RESEED, 1)
  9507. GO
  9508. -- ----------------------------
  9509. -- Auto increment value for member_user
  9510. -- ----------------------------
  9511. DBCC CHECKIDENT ('[dbo].[member_user]', RESEED, 1)
  9512. GO
  9513. -- ----------------------------
  9514. -- Primary Key structure for table member_user
  9515. -- ----------------------------
  9516. ALTER TABLE [dbo].[member_user] ADD CONSTRAINT [PK__member_u__3213E83F0A9AEC0B] PRIMARY KEY CLUSTERED ([id])
  9517. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9518. ON [PRIMARY]
  9519. GO
  9520. -- ----------------------------
  9521. -- Auto increment value for pay_app
  9522. -- ----------------------------
  9523. DBCC CHECKIDENT ('[dbo].[pay_app]', RESEED, 6)
  9524. GO
  9525. -- ----------------------------
  9526. -- Primary Key structure for table pay_app
  9527. -- ----------------------------
  9528. ALTER TABLE [dbo].[pay_app] ADD CONSTRAINT [PK__pay_app__3213E83FB26E0A6B] PRIMARY KEY CLUSTERED ([id])
  9529. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9530. ON [PRIMARY]
  9531. GO
  9532. -- ----------------------------
  9533. -- Auto increment value for pay_channel
  9534. -- ----------------------------
  9535. DBCC CHECKIDENT ('[dbo].[pay_channel]', RESEED, 17)
  9536. GO
  9537. -- ----------------------------
  9538. -- Primary Key structure for table pay_channel
  9539. -- ----------------------------
  9540. ALTER TABLE [dbo].[pay_channel] ADD CONSTRAINT [PK__pay_chan__3213E83F2556A7FC] PRIMARY KEY CLUSTERED ([id])
  9541. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9542. ON [PRIMARY]
  9543. GO
  9544. -- ----------------------------
  9545. -- Auto increment value for pay_merchant
  9546. -- ----------------------------
  9547. DBCC CHECKIDENT ('[dbo].[pay_merchant]', RESEED, 1)
  9548. GO
  9549. -- ----------------------------
  9550. -- Primary Key structure for table pay_merchant
  9551. -- ----------------------------
  9552. ALTER TABLE [dbo].[pay_merchant] ADD CONSTRAINT [PK__pay_merc__3213E83F010D02B8] PRIMARY KEY CLUSTERED ([id])
  9553. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9554. ON [PRIMARY]
  9555. GO
  9556. -- ----------------------------
  9557. -- Auto increment value for pay_notify_log
  9558. -- ----------------------------
  9559. DBCC CHECKIDENT ('[dbo].[pay_notify_log]', RESEED, 1)
  9560. GO
  9561. -- ----------------------------
  9562. -- Primary Key structure for table pay_notify_log
  9563. -- ----------------------------
  9564. ALTER TABLE [dbo].[pay_notify_log] ADD CONSTRAINT [PK__pay_noti__3213E83F5F4B3447] PRIMARY KEY CLUSTERED ([id])
  9565. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9566. ON [PRIMARY]
  9567. GO
  9568. -- ----------------------------
  9569. -- Auto increment value for pay_notify_task
  9570. -- ----------------------------
  9571. DBCC CHECKIDENT ('[dbo].[pay_notify_task]', RESEED, 1)
  9572. GO
  9573. -- ----------------------------
  9574. -- Primary Key structure for table pay_notify_task
  9575. -- ----------------------------
  9576. ALTER TABLE [dbo].[pay_notify_task] ADD CONSTRAINT [PK__pay_noti__3213E83FB9215103] PRIMARY KEY CLUSTERED ([id])
  9577. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9578. ON [PRIMARY]
  9579. GO
  9580. -- ----------------------------
  9581. -- Auto increment value for pay_order
  9582. -- ----------------------------
  9583. DBCC CHECKIDENT ('[dbo].[pay_order]', RESEED, 124)
  9584. GO
  9585. -- ----------------------------
  9586. -- Primary Key structure for table pay_order
  9587. -- ----------------------------
  9588. ALTER TABLE [dbo].[pay_order] ADD CONSTRAINT [PK__pay_orde__3213E83F34C95271] PRIMARY KEY CLUSTERED ([id])
  9589. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9590. ON [PRIMARY]
  9591. GO
  9592. -- ----------------------------
  9593. -- Auto increment value for pay_order_extension
  9594. -- ----------------------------
  9595. DBCC CHECKIDENT ('[dbo].[pay_order_extension]', RESEED, 1)
  9596. GO
  9597. -- ----------------------------
  9598. -- Primary Key structure for table pay_order_extension
  9599. -- ----------------------------
  9600. ALTER TABLE [dbo].[pay_order_extension] ADD CONSTRAINT [PK__pay_orde__3213E83F5ACB776F] PRIMARY KEY CLUSTERED ([id])
  9601. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9602. ON [PRIMARY]
  9603. GO
  9604. -- ----------------------------
  9605. -- Auto increment value for pay_refund
  9606. -- ----------------------------
  9607. DBCC CHECKIDENT ('[dbo].[pay_refund]', RESEED, 1)
  9608. GO
  9609. -- ----------------------------
  9610. -- Primary Key structure for table pay_refund
  9611. -- ----------------------------
  9612. ALTER TABLE [dbo].[pay_refund] ADD CONSTRAINT [PK__pay_refu__3213E83FBE1B54AC] PRIMARY KEY CLUSTERED ([id])
  9613. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9614. ON [PRIMARY]
  9615. GO
  9616. -- ----------------------------
  9617. -- Auto increment value for system_dept
  9618. -- ----------------------------
  9619. DBCC CHECKIDENT ('[dbo].[system_dept]', RESEED, 111)
  9620. GO
  9621. -- ----------------------------
  9622. -- Primary Key structure for table system_dept
  9623. -- ----------------------------
  9624. ALTER TABLE [dbo].[system_dept] ADD CONSTRAINT [PK__system_d__3213E83FFA72847C] PRIMARY KEY CLUSTERED ([id])
  9625. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9626. ON [PRIMARY]
  9627. GO
  9628. -- ----------------------------
  9629. -- Auto increment value for system_dict_data
  9630. -- ----------------------------
  9631. DBCC CHECKIDENT ('[dbo].[system_dict_data]', RESEED, 1160)
  9632. GO
  9633. -- ----------------------------
  9634. -- Primary Key structure for table system_dict_data
  9635. -- ----------------------------
  9636. ALTER TABLE [dbo].[system_dict_data] ADD CONSTRAINT [PK__system_d__3213E83F20407597] PRIMARY KEY CLUSTERED ([id])
  9637. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9638. ON [PRIMARY]
  9639. GO
  9640. -- ----------------------------
  9641. -- Auto increment value for system_dict_type
  9642. -- ----------------------------
  9643. DBCC CHECKIDENT ('[dbo].[system_dict_type]', RESEED, 147)
  9644. GO
  9645. -- ----------------------------
  9646. -- Primary Key structure for table system_dict_type
  9647. -- ----------------------------
  9648. ALTER TABLE [dbo].[system_dict_type] ADD CONSTRAINT [PK__system_d__3213E83F7C36B1FD] PRIMARY KEY CLUSTERED ([id])
  9649. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9650. ON [PRIMARY]
  9651. GO
  9652. -- ----------------------------
  9653. -- Auto increment value for system_error_code
  9654. -- ----------------------------
  9655. DBCC CHECKIDENT ('[dbo].[system_error_code]', RESEED, 15466)
  9656. GO
  9657. -- ----------------------------
  9658. -- Primary Key structure for table system_error_code
  9659. -- ----------------------------
  9660. ALTER TABLE [dbo].[system_error_code] ADD CONSTRAINT [PK__system_e__3213E83F68B8DFD0] PRIMARY KEY CLUSTERED ([id])
  9661. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9662. ON [PRIMARY]
  9663. GO
  9664. -- ----------------------------
  9665. -- Auto increment value for system_login_log
  9666. -- ----------------------------
  9667. DBCC CHECKIDENT ('[dbo].[system_login_log]', RESEED, 24)
  9668. GO
  9669. -- ----------------------------
  9670. -- Primary Key structure for table system_login_log
  9671. -- ----------------------------
  9672. ALTER TABLE [dbo].[system_login_log] ADD CONSTRAINT [PK__system_l__3213E83F717953E9] PRIMARY KEY CLUSTERED ([id])
  9673. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9674. ON [PRIMARY]
  9675. GO
  9676. -- ----------------------------
  9677. -- Auto increment value for system_menu
  9678. -- ----------------------------
  9679. DBCC CHECKIDENT ('[dbo].[system_menu]', RESEED, 1267)
  9680. GO
  9681. -- ----------------------------
  9682. -- Primary Key structure for table system_menu
  9683. -- ----------------------------
  9684. ALTER TABLE [dbo].[system_menu] ADD CONSTRAINT [PK__system_m__3213E83F14175801] PRIMARY KEY CLUSTERED ([id])
  9685. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9686. ON [PRIMARY]
  9687. GO
  9688. -- ----------------------------
  9689. -- Auto increment value for system_notice
  9690. -- ----------------------------
  9691. DBCC CHECKIDENT ('[dbo].[system_notice]', RESEED, 4)
  9692. GO
  9693. -- ----------------------------
  9694. -- Primary Key structure for table system_notice
  9695. -- ----------------------------
  9696. ALTER TABLE [dbo].[system_notice] ADD CONSTRAINT [PK__system_n__3213E83FA158BA8D] PRIMARY KEY CLUSTERED ([id])
  9697. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9698. ON [PRIMARY]
  9699. GO
  9700. -- ----------------------------
  9701. -- Auto increment value for system_oauth2_access_token
  9702. -- ----------------------------
  9703. DBCC CHECKIDENT ('[dbo].[system_oauth2_access_token]', RESEED, 5)
  9704. GO
  9705. -- ----------------------------
  9706. -- Auto increment value for system_oauth2_approve
  9707. -- ----------------------------
  9708. DBCC CHECKIDENT ('[dbo].[system_oauth2_approve]', RESEED, 2)
  9709. GO
  9710. -- ----------------------------
  9711. -- Primary Key structure for table system_oauth2_approve
  9712. -- ----------------------------
  9713. ALTER TABLE [dbo].[system_oauth2_approve] ADD CONSTRAINT [PK__system_o__3213E83F7CC08ED6] PRIMARY KEY CLUSTERED ([id])
  9714. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9715. ON [PRIMARY]
  9716. GO
  9717. -- ----------------------------
  9718. -- Auto increment value for system_oauth2_client
  9719. -- ----------------------------
  9720. DBCC CHECKIDENT ('[dbo].[system_oauth2_client]', RESEED, 1)
  9721. GO
  9722. -- ----------------------------
  9723. -- Auto increment value for system_oauth2_code
  9724. -- ----------------------------
  9725. DBCC CHECKIDENT ('[dbo].[system_oauth2_code]', RESEED, 4)
  9726. GO
  9727. -- ----------------------------
  9728. -- Primary Key structure for table system_oauth2_code
  9729. -- ----------------------------
  9730. ALTER TABLE [dbo].[system_oauth2_code] ADD CONSTRAINT [PK__system_o__3213E83F38C13543] PRIMARY KEY CLUSTERED ([id])
  9731. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9732. ON [PRIMARY]
  9733. GO
  9734. -- ----------------------------
  9735. -- Auto increment value for system_oauth2_refresh_token
  9736. -- ----------------------------
  9737. DBCC CHECKIDENT ('[dbo].[system_oauth2_refresh_token]', RESEED, 3)
  9738. GO
  9739. -- ----------------------------
  9740. -- Primary Key structure for table system_oauth2_refresh_token
  9741. -- ----------------------------
  9742. ALTER TABLE [dbo].[system_oauth2_refresh_token] ADD CONSTRAINT [PK__system_o__3213E83FCFB541CC] PRIMARY KEY CLUSTERED ([id])
  9743. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9744. ON [PRIMARY]
  9745. GO
  9746. -- ----------------------------
  9747. -- Auto increment value for system_operate_log
  9748. -- ----------------------------
  9749. DBCC CHECKIDENT ('[dbo].[system_operate_log]', RESEED, 19)
  9750. GO
  9751. -- ----------------------------
  9752. -- Primary Key structure for table system_operate_log
  9753. -- ----------------------------
  9754. ALTER TABLE [dbo].[system_operate_log] ADD CONSTRAINT [PK__system_o__3213E83F85EC81FD] PRIMARY KEY CLUSTERED ([id])
  9755. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9756. ON [PRIMARY]
  9757. GO
  9758. -- ----------------------------
  9759. -- Auto increment value for system_post
  9760. -- ----------------------------
  9761. DBCC CHECKIDENT ('[dbo].[system_post]', RESEED, 4)
  9762. GO
  9763. -- ----------------------------
  9764. -- Primary Key structure for table system_post
  9765. -- ----------------------------
  9766. ALTER TABLE [dbo].[system_post] ADD CONSTRAINT [PK__system_p__3213E83FBC098F34] PRIMARY KEY CLUSTERED ([id])
  9767. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9768. ON [PRIMARY]
  9769. GO
  9770. -- ----------------------------
  9771. -- Auto increment value for system_role
  9772. -- ----------------------------
  9773. DBCC CHECKIDENT ('[dbo].[system_role]', RESEED, 111)
  9774. GO
  9775. -- ----------------------------
  9776. -- Primary Key structure for table system_role
  9777. -- ----------------------------
  9778. ALTER TABLE [dbo].[system_role] ADD CONSTRAINT [PK__system_r__3213E83F209B43F2] PRIMARY KEY CLUSTERED ([id])
  9779. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9780. ON [PRIMARY]
  9781. GO
  9782. -- ----------------------------
  9783. -- Auto increment value for system_role_menu
  9784. -- ----------------------------
  9785. DBCC CHECKIDENT ('[dbo].[system_role_menu]', RESEED, 191)
  9786. GO
  9787. -- ----------------------------
  9788. -- Primary Key structure for table system_role_menu
  9789. -- ----------------------------
  9790. ALTER TABLE [dbo].[system_role_menu] ADD CONSTRAINT [PK__system_r__3213E83F6F1E4A9B] PRIMARY KEY CLUSTERED ([id])
  9791. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9792. ON [PRIMARY]
  9793. GO
  9794. -- ----------------------------
  9795. -- Auto increment value for system_sensitive_word
  9796. -- ----------------------------
  9797. DBCC CHECKIDENT ('[dbo].[system_sensitive_word]', RESEED, 4)
  9798. GO
  9799. -- ----------------------------
  9800. -- Primary Key structure for table system_sensitive_word
  9801. -- ----------------------------
  9802. ALTER TABLE [dbo].[system_sensitive_word] ADD CONSTRAINT [PK__system_s__3213E83FFFD8E555] PRIMARY KEY CLUSTERED ([id])
  9803. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9804. ON [PRIMARY]
  9805. GO
  9806. -- ----------------------------
  9807. -- Auto increment value for system_sms_channel
  9808. -- ----------------------------
  9809. DBCC CHECKIDENT ('[dbo].[system_sms_channel]', RESEED, 6)
  9810. GO
  9811. -- ----------------------------
  9812. -- Primary Key structure for table system_sms_channel
  9813. -- ----------------------------
  9814. ALTER TABLE [dbo].[system_sms_channel] ADD CONSTRAINT [PK__system_s__3213E83FA96B966E] PRIMARY KEY CLUSTERED ([id])
  9815. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9816. ON [PRIMARY]
  9817. GO
  9818. -- ----------------------------
  9819. -- Auto increment value for system_sms_code
  9820. -- ----------------------------
  9821. DBCC CHECKIDENT ('[dbo].[system_sms_code]', RESEED, 470)
  9822. GO
  9823. -- ----------------------------
  9824. -- Primary Key structure for table system_sms_code
  9825. -- ----------------------------
  9826. ALTER TABLE [dbo].[system_sms_code] ADD CONSTRAINT [PK__system_s__3213E83F825CBCB9] PRIMARY KEY CLUSTERED ([id])
  9827. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9828. ON [PRIMARY]
  9829. GO
  9830. -- ----------------------------
  9831. -- Auto increment value for system_sms_log
  9832. -- ----------------------------
  9833. DBCC CHECKIDENT ('[dbo].[system_sms_log]', RESEED, 6)
  9834. GO
  9835. -- ----------------------------
  9836. -- Primary Key structure for table system_sms_log
  9837. -- ----------------------------
  9838. ALTER TABLE [dbo].[system_sms_log] ADD CONSTRAINT [PK__system_s__3213E83F5F1968A9] PRIMARY KEY CLUSTERED ([id])
  9839. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9840. ON [PRIMARY]
  9841. GO
  9842. -- ----------------------------
  9843. -- Auto increment value for system_sms_template
  9844. -- ----------------------------
  9845. DBCC CHECKIDENT ('[dbo].[system_sms_template]', RESEED, 13)
  9846. GO
  9847. -- ----------------------------
  9848. -- Primary Key structure for table system_sms_template
  9849. -- ----------------------------
  9850. ALTER TABLE [dbo].[system_sms_template] ADD CONSTRAINT [PK__system_s__3213E83F5C91CA37] PRIMARY KEY CLUSTERED ([id])
  9851. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9852. ON [PRIMARY]
  9853. GO
  9854. -- ----------------------------
  9855. -- Auto increment value for system_social_user
  9856. -- ----------------------------
  9857. DBCC CHECKIDENT ('[dbo].[system_social_user]', RESEED, 1)
  9858. GO
  9859. -- ----------------------------
  9860. -- Primary Key structure for table system_social_user
  9861. -- ----------------------------
  9862. ALTER TABLE [dbo].[system_social_user] ADD CONSTRAINT [PK__system_s__3213E83F6EF3863C] PRIMARY KEY CLUSTERED ([id])
  9863. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9864. ON [PRIMARY]
  9865. GO
  9866. -- ----------------------------
  9867. -- Auto increment value for system_social_user_bind
  9868. -- ----------------------------
  9869. DBCC CHECKIDENT ('[dbo].[system_social_user_bind]', RESEED, 1)
  9870. GO
  9871. -- ----------------------------
  9872. -- Primary Key structure for table system_social_user_bind
  9873. -- ----------------------------
  9874. ALTER TABLE [dbo].[system_social_user_bind] ADD CONSTRAINT [PK__system_s__3213E83F21F44049] PRIMARY KEY CLUSTERED ([id])
  9875. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9876. ON [PRIMARY]
  9877. GO
  9878. -- ----------------------------
  9879. -- Auto increment value for system_tenant
  9880. -- ----------------------------
  9881. DBCC CHECKIDENT ('[dbo].[system_tenant]', RESEED, 122)
  9882. GO
  9883. -- ----------------------------
  9884. -- Primary Key structure for table system_tenant
  9885. -- ----------------------------
  9886. ALTER TABLE [dbo].[system_tenant] ADD CONSTRAINT [PK__system_t__3213E83FAF444092] PRIMARY KEY CLUSTERED ([id])
  9887. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9888. ON [PRIMARY]
  9889. GO
  9890. -- ----------------------------
  9891. -- Auto increment value for system_tenant_package
  9892. -- ----------------------------
  9893. DBCC CHECKIDENT ('[dbo].[system_tenant_package]', RESEED, 111)
  9894. GO
  9895. -- ----------------------------
  9896. -- Primary Key structure for table system_tenant_package
  9897. -- ----------------------------
  9898. ALTER TABLE [dbo].[system_tenant_package] ADD CONSTRAINT [PK__system_t__3213E83FA2213DB5] PRIMARY KEY CLUSTERED ([id])
  9899. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9900. ON [PRIMARY]
  9901. GO
  9902. -- ----------------------------
  9903. -- Auto increment value for system_user_post
  9904. -- ----------------------------
  9905. DBCC CHECKIDENT ('[dbo].[system_user_post]', RESEED, 115)
  9906. GO
  9907. -- ----------------------------
  9908. -- Primary Key structure for table system_user_post
  9909. -- ----------------------------
  9910. ALTER TABLE [dbo].[system_user_post] ADD CONSTRAINT [PK__system_u__3213E83F56DD4107] PRIMARY KEY CLUSTERED ([id])
  9911. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9912. ON [PRIMARY]
  9913. GO
  9914. -- ----------------------------
  9915. -- Auto increment value for system_user_role
  9916. -- ----------------------------
  9917. DBCC CHECKIDENT ('[dbo].[system_user_role]', RESEED, 17)
  9918. GO
  9919. -- ----------------------------
  9920. -- Primary Key structure for table system_user_role
  9921. -- ----------------------------
  9922. ALTER TABLE [dbo].[system_user_role] ADD CONSTRAINT [PK__system_u__3213E83F3593F652] PRIMARY KEY CLUSTERED ([id])
  9923. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9924. ON [PRIMARY]
  9925. GO
  9926. -- ----------------------------
  9927. -- Auto increment value for system_users
  9928. -- ----------------------------
  9929. DBCC CHECKIDENT ('[dbo].[system_users]', RESEED, 115)
  9930. GO
  9931. -- ----------------------------
  9932. -- Primary Key structure for table system_users
  9933. -- ----------------------------
  9934. ALTER TABLE [dbo].[system_users] ADD CONSTRAINT [PK__system_u__3213E83F7CF2516E] PRIMARY KEY CLUSTERED ([id])
  9935. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9936. ON [PRIMARY]
  9937. GO
  9938. -- ----------------------------
  9939. -- Foreign Keys structure for table QRTZ_BLOB_TRIGGERS
  9940. -- ----------------------------
  9941. ALTER TABLE [dbo].[QRTZ_BLOB_TRIGGERS] ADD CONSTRAINT [FK_QRTZ_BLOB_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) REFERENCES [dbo].[QRTZ_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) ON DELETE CASCADE ON UPDATE NO ACTION
  9942. GO
  9943. -- ----------------------------
  9944. -- Foreign Keys structure for table QRTZ_CRON_TRIGGERS
  9945. -- ----------------------------
  9946. ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] ADD CONSTRAINT [FK_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) REFERENCES [dbo].[QRTZ_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) ON DELETE CASCADE ON UPDATE NO ACTION
  9947. GO
  9948. -- ----------------------------
  9949. -- Foreign Keys structure for table QRTZ_SIMPLE_TRIGGERS
  9950. -- ----------------------------
  9951. ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] ADD CONSTRAINT [FK_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) REFERENCES [dbo].[QRTZ_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) ON DELETE CASCADE ON UPDATE NO ACTION
  9952. GO
  9953. -- ----------------------------
  9954. -- Foreign Keys structure for table QRTZ_SIMPROP_TRIGGERS
  9955. -- ----------------------------
  9956. ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] ADD CONSTRAINT [FK_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) REFERENCES [dbo].[QRTZ_TRIGGERS] ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP]) ON DELETE CASCADE ON UPDATE NO ACTION
  9957. GO
  9958. -- ----------------------------
  9959. -- Foreign Keys structure for table QRTZ_TRIGGERS
  9960. -- ----------------------------
  9961. ALTER TABLE [dbo].[QRTZ_TRIGGERS] ADD CONSTRAINT [FK_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS] FOREIGN KEY ([SCHED_NAME], [JOB_NAME], [JOB_GROUP]) REFERENCES [dbo].[QRTZ_JOB_DETAILS] ([SCHED_NAME], [JOB_NAME], [JOB_GROUP]) ON DELETE NO ACTION ON UPDATE NO ACTION
  9962. GO