ruoyi-vue-pro.sql 524 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371
  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'com.zqt.gmwz.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'patrol.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.framework.file.core.client.s3.S3FileClientConfig","endpoint":"s3-cn-south-1.qiniucs.com","domain":"http://test.patrol.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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":"com.zqt.gmwz.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'64', N'2', N'已忽略', N'2', N'infra_api_error_log_process_status', N'0', N'danger', N'', NULL, N'', N'2021-02-26 07:07:34.0000000', N'1', N'2022-02-16 20:14:14.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'65', N'1', N'云片', N'YUN_PIAN', N'system_sms_channel_code', N'0', N'success', N'', NULL, N'1', N'2021-04-05 01:05:14.0000000', N'1', N'2022-02-16 10:09:55.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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  4773. GO
  4774. 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')
  4775. GO
  4776. 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')
  4777. GO
  4778. SET IDENTITY_INSERT [dbo].[system_dict_data] OFF
  4779. GO
  4780. COMMIT
  4781. GO
  4782. -- ----------------------------
  4783. -- Table structure for system_dict_type
  4784. -- ----------------------------
  4785. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_dict_type]') AND type IN ('U'))
  4786. DROP TABLE [dbo].[system_dict_type]
  4787. GO
  4788. CREATE TABLE [dbo].[system_dict_type] (
  4789. [id] bigint IDENTITY(1,1) NOT NULL,
  4790. [name] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4791. [type] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4792. [status] tinyint NOT NULL,
  4793. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4794. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4795. [create_time] datetime2(7) NOT NULL,
  4796. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4797. [update_time] datetime2(7) NOT NULL,
  4798. [deleted] bit DEFAULT 0 NOT NULL
  4799. )
  4800. GO
  4801. ALTER TABLE [dbo].[system_dict_type] SET (LOCK_ESCALATION = TABLE)
  4802. GO
  4803. EXEC sp_addextendedproperty
  4804. 'MS_Description', N'字典主键',
  4805. 'SCHEMA', N'dbo',
  4806. 'TABLE', N'system_dict_type',
  4807. 'COLUMN', N'id'
  4808. GO
  4809. EXEC sp_addextendedproperty
  4810. 'MS_Description', N'字典名称',
  4811. 'SCHEMA', N'dbo',
  4812. 'TABLE', N'system_dict_type',
  4813. 'COLUMN', N'name'
  4814. GO
  4815. EXEC sp_addextendedproperty
  4816. 'MS_Description', N'字典类型',
  4817. 'SCHEMA', N'dbo',
  4818. 'TABLE', N'system_dict_type',
  4819. 'COLUMN', N'type'
  4820. GO
  4821. EXEC sp_addextendedproperty
  4822. 'MS_Description', N'状态(0正常 1停用)',
  4823. 'SCHEMA', N'dbo',
  4824. 'TABLE', N'system_dict_type',
  4825. 'COLUMN', N'status'
  4826. GO
  4827. EXEC sp_addextendedproperty
  4828. 'MS_Description', N'备注',
  4829. 'SCHEMA', N'dbo',
  4830. 'TABLE', N'system_dict_type',
  4831. 'COLUMN', N'remark'
  4832. GO
  4833. EXEC sp_addextendedproperty
  4834. 'MS_Description', N'创建者',
  4835. 'SCHEMA', N'dbo',
  4836. 'TABLE', N'system_dict_type',
  4837. 'COLUMN', N'creator'
  4838. GO
  4839. EXEC sp_addextendedproperty
  4840. 'MS_Description', N'创建时间',
  4841. 'SCHEMA', N'dbo',
  4842. 'TABLE', N'system_dict_type',
  4843. 'COLUMN', N'create_time'
  4844. GO
  4845. EXEC sp_addextendedproperty
  4846. 'MS_Description', N'更新者',
  4847. 'SCHEMA', N'dbo',
  4848. 'TABLE', N'system_dict_type',
  4849. 'COLUMN', N'updater'
  4850. GO
  4851. EXEC sp_addextendedproperty
  4852. 'MS_Description', N'更新时间',
  4853. 'SCHEMA', N'dbo',
  4854. 'TABLE', N'system_dict_type',
  4855. 'COLUMN', N'update_time'
  4856. GO
  4857. EXEC sp_addextendedproperty
  4858. 'MS_Description', N'是否删除',
  4859. 'SCHEMA', N'dbo',
  4860. 'TABLE', N'system_dict_type',
  4861. 'COLUMN', N'deleted'
  4862. GO
  4863. EXEC sp_addextendedproperty
  4864. 'MS_Description', N'字典类型表',
  4865. 'SCHEMA', N'dbo',
  4866. 'TABLE', N'system_dict_type'
  4867. GO
  4868. -- ----------------------------
  4869. -- Records of system_dict_type
  4870. -- ----------------------------
  4871. BEGIN TRANSACTION
  4872. GO
  4873. SET IDENTITY_INSERT [dbo].[system_dict_type] ON
  4874. GO
  4875. 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')
  4876. GO
  4877. 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')
  4878. GO
  4879. 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')
  4880. GO
  4881. 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')
  4882. GO
  4883. 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')
  4884. GO
  4885. 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')
  4886. GO
  4887. 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')
  4888. GO
  4889. 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')
  4890. GO
  4891. 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')
  4892. GO
  4893. 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')
  4894. GO
  4895. 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')
  4896. GO
  4897. 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')
  4898. GO
  4899. 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')
  4900. GO
  4901. 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')
  4902. GO
  4903. 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')
  4904. GO
  4905. 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')
  4906. GO
  4907. 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')
  4908. GO
  4909. 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')
  4910. GO
  4911. 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')
  4912. GO
  4913. 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')
  4914. GO
  4915. 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')
  4916. GO
  4917. 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')
  4918. GO
  4919. 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')
  4920. GO
  4921. 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')
  4922. GO
  4923. 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')
  4924. GO
  4925. 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')
  4926. GO
  4927. 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')
  4928. GO
  4929. 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')
  4930. GO
  4931. 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')
  4932. GO
  4933. 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')
  4934. GO
  4935. 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')
  4936. GO
  4937. 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')
  4938. GO
  4939. 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')
  4940. GO
  4941. 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')
  4942. GO
  4943. 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')
  4944. GO
  4945. 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')
  4946. GO
  4947. 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')
  4948. GO
  4949. 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')
  4950. GO
  4951. 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')
  4952. GO
  4953. 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')
  4954. GO
  4955. SET IDENTITY_INSERT [dbo].[system_dict_type] OFF
  4956. GO
  4957. COMMIT
  4958. GO
  4959. -- ----------------------------
  4960. -- Table structure for system_error_code
  4961. -- ----------------------------
  4962. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_error_code]') AND type IN ('U'))
  4963. DROP TABLE [dbo].[system_error_code]
  4964. GO
  4965. CREATE TABLE [dbo].[system_error_code] (
  4966. [id] bigint IDENTITY(1,1) NOT NULL,
  4967. [type] tinyint NOT NULL,
  4968. [application_name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4969. [code] int NOT NULL,
  4970. [message] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  4971. [memo] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4972. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4973. [create_time] datetime2(7) NOT NULL,
  4974. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  4975. [update_time] datetime2(7) NOT NULL,
  4976. [deleted] bit DEFAULT 0 NOT NULL
  4977. )
  4978. GO
  4979. ALTER TABLE [dbo].[system_error_code] SET (LOCK_ESCALATION = TABLE)
  4980. GO
  4981. EXEC sp_addextendedproperty
  4982. 'MS_Description', N'错误码编号',
  4983. 'SCHEMA', N'dbo',
  4984. 'TABLE', N'system_error_code',
  4985. 'COLUMN', N'id'
  4986. GO
  4987. EXEC sp_addextendedproperty
  4988. 'MS_Description', N'错误码类型',
  4989. 'SCHEMA', N'dbo',
  4990. 'TABLE', N'system_error_code',
  4991. 'COLUMN', N'type'
  4992. GO
  4993. EXEC sp_addextendedproperty
  4994. 'MS_Description', N'应用名',
  4995. 'SCHEMA', N'dbo',
  4996. 'TABLE', N'system_error_code',
  4997. 'COLUMN', N'application_name'
  4998. GO
  4999. EXEC sp_addextendedproperty
  5000. 'MS_Description', N'错误码编码',
  5001. 'SCHEMA', N'dbo',
  5002. 'TABLE', N'system_error_code',
  5003. 'COLUMN', N'code'
  5004. GO
  5005. EXEC sp_addextendedproperty
  5006. 'MS_Description', N'错误码错误提示',
  5007. 'SCHEMA', N'dbo',
  5008. 'TABLE', N'system_error_code',
  5009. 'COLUMN', N'message'
  5010. GO
  5011. EXEC sp_addextendedproperty
  5012. 'MS_Description', N'备注',
  5013. 'SCHEMA', N'dbo',
  5014. 'TABLE', N'system_error_code',
  5015. 'COLUMN', N'memo'
  5016. GO
  5017. EXEC sp_addextendedproperty
  5018. 'MS_Description', N'创建者',
  5019. 'SCHEMA', N'dbo',
  5020. 'TABLE', N'system_error_code',
  5021. 'COLUMN', N'creator'
  5022. GO
  5023. EXEC sp_addextendedproperty
  5024. 'MS_Description', N'创建时间',
  5025. 'SCHEMA', N'dbo',
  5026. 'TABLE', N'system_error_code',
  5027. 'COLUMN', N'create_time'
  5028. GO
  5029. EXEC sp_addextendedproperty
  5030. 'MS_Description', N'更新者',
  5031. 'SCHEMA', N'dbo',
  5032. 'TABLE', N'system_error_code',
  5033. 'COLUMN', N'updater'
  5034. GO
  5035. EXEC sp_addextendedproperty
  5036. 'MS_Description', N'更新时间',
  5037. 'SCHEMA', N'dbo',
  5038. 'TABLE', N'system_error_code',
  5039. 'COLUMN', N'update_time'
  5040. GO
  5041. EXEC sp_addextendedproperty
  5042. 'MS_Description', N'是否删除',
  5043. 'SCHEMA', N'dbo',
  5044. 'TABLE', N'system_error_code',
  5045. 'COLUMN', N'deleted'
  5046. GO
  5047. EXEC sp_addextendedproperty
  5048. 'MS_Description', N'错误码表',
  5049. 'SCHEMA', N'dbo',
  5050. 'TABLE', N'system_error_code'
  5051. GO
  5052. -- ----------------------------
  5053. -- Records of system_error_code
  5054. -- ----------------------------
  5055. BEGIN TRANSACTION
  5056. GO
  5057. SET IDENTITY_INSERT [dbo].[system_error_code] ON
  5058. GO
  5059. SET IDENTITY_INSERT [dbo].[system_error_code] OFF
  5060. GO
  5061. COMMIT
  5062. GO
  5063. -- ----------------------------
  5064. -- Table structure for system_login_log
  5065. -- ----------------------------
  5066. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_login_log]') AND type IN ('U'))
  5067. DROP TABLE [dbo].[system_login_log]
  5068. GO
  5069. CREATE TABLE [dbo].[system_login_log] (
  5070. [id] bigint IDENTITY(1,1) NOT NULL,
  5071. [log_type] bigint NOT NULL,
  5072. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5073. [user_id] bigint NOT NULL,
  5074. [user_type] tinyint NOT NULL,
  5075. [username] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5076. [result] tinyint NOT NULL,
  5077. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5078. [user_agent] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5079. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5080. [create_time] datetime2(7) NOT NULL,
  5081. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5082. [update_time] datetime2(7) NOT NULL,
  5083. [tenant_id] bigint NOT NULL,
  5084. [deleted] bit DEFAULT 0 NOT NULL
  5085. )
  5086. GO
  5087. ALTER TABLE [dbo].[system_login_log] SET (LOCK_ESCALATION = TABLE)
  5088. GO
  5089. EXEC sp_addextendedproperty
  5090. 'MS_Description', N'访问ID',
  5091. 'SCHEMA', N'dbo',
  5092. 'TABLE', N'system_login_log',
  5093. 'COLUMN', N'id'
  5094. GO
  5095. EXEC sp_addextendedproperty
  5096. 'MS_Description', N'日志类型',
  5097. 'SCHEMA', N'dbo',
  5098. 'TABLE', N'system_login_log',
  5099. 'COLUMN', N'log_type'
  5100. GO
  5101. EXEC sp_addextendedproperty
  5102. 'MS_Description', N'链路追踪编号',
  5103. 'SCHEMA', N'dbo',
  5104. 'TABLE', N'system_login_log',
  5105. 'COLUMN', N'trace_id'
  5106. GO
  5107. EXEC sp_addextendedproperty
  5108. 'MS_Description', N'用户编号',
  5109. 'SCHEMA', N'dbo',
  5110. 'TABLE', N'system_login_log',
  5111. 'COLUMN', N'user_id'
  5112. GO
  5113. EXEC sp_addextendedproperty
  5114. 'MS_Description', N'用户类型',
  5115. 'SCHEMA', N'dbo',
  5116. 'TABLE', N'system_login_log',
  5117. 'COLUMN', N'user_type'
  5118. GO
  5119. EXEC sp_addextendedproperty
  5120. 'MS_Description', N'用户账号',
  5121. 'SCHEMA', N'dbo',
  5122. 'TABLE', N'system_login_log',
  5123. 'COLUMN', N'username'
  5124. GO
  5125. EXEC sp_addextendedproperty
  5126. 'MS_Description', N'登陆结果',
  5127. 'SCHEMA', N'dbo',
  5128. 'TABLE', N'system_login_log',
  5129. 'COLUMN', N'result'
  5130. GO
  5131. EXEC sp_addextendedproperty
  5132. 'MS_Description', N'用户 IP',
  5133. 'SCHEMA', N'dbo',
  5134. 'TABLE', N'system_login_log',
  5135. 'COLUMN', N'user_ip'
  5136. GO
  5137. EXEC sp_addextendedproperty
  5138. 'MS_Description', N'浏览器 UA',
  5139. 'SCHEMA', N'dbo',
  5140. 'TABLE', N'system_login_log',
  5141. 'COLUMN', N'user_agent'
  5142. GO
  5143. EXEC sp_addextendedproperty
  5144. 'MS_Description', N'创建者',
  5145. 'SCHEMA', N'dbo',
  5146. 'TABLE', N'system_login_log',
  5147. 'COLUMN', N'creator'
  5148. GO
  5149. EXEC sp_addextendedproperty
  5150. 'MS_Description', N'创建时间',
  5151. 'SCHEMA', N'dbo',
  5152. 'TABLE', N'system_login_log',
  5153. 'COLUMN', N'create_time'
  5154. GO
  5155. EXEC sp_addextendedproperty
  5156. 'MS_Description', N'更新者',
  5157. 'SCHEMA', N'dbo',
  5158. 'TABLE', N'system_login_log',
  5159. 'COLUMN', N'updater'
  5160. GO
  5161. EXEC sp_addextendedproperty
  5162. 'MS_Description', N'更新时间',
  5163. 'SCHEMA', N'dbo',
  5164. 'TABLE', N'system_login_log',
  5165. 'COLUMN', N'update_time'
  5166. GO
  5167. EXEC sp_addextendedproperty
  5168. 'MS_Description', N'租户编号',
  5169. 'SCHEMA', N'dbo',
  5170. 'TABLE', N'system_login_log',
  5171. 'COLUMN', N'tenant_id'
  5172. GO
  5173. EXEC sp_addextendedproperty
  5174. 'MS_Description', N'是否删除',
  5175. 'SCHEMA', N'dbo',
  5176. 'TABLE', N'system_login_log',
  5177. 'COLUMN', N'deleted'
  5178. GO
  5179. EXEC sp_addextendedproperty
  5180. 'MS_Description', N'系统访问记录',
  5181. 'SCHEMA', N'dbo',
  5182. 'TABLE', N'system_login_log'
  5183. GO
  5184. -- ----------------------------
  5185. -- Records of system_login_log
  5186. -- ----------------------------
  5187. BEGIN TRANSACTION
  5188. GO
  5189. SET IDENTITY_INSERT [dbo].[system_login_log] ON
  5190. GO
  5191. SET IDENTITY_INSERT [dbo].[system_login_log] OFF
  5192. GO
  5193. COMMIT
  5194. GO
  5195. -- ----------------------------
  5196. -- Table structure for system_menu
  5197. -- ----------------------------
  5198. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_menu]') AND type IN ('U'))
  5199. DROP TABLE [dbo].[system_menu]
  5200. GO
  5201. CREATE TABLE [dbo].[system_menu] (
  5202. [id] bigint IDENTITY(1,1) NOT NULL,
  5203. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5204. [permission] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5205. [type] tinyint NOT NULL,
  5206. [sort] int NOT NULL,
  5207. [parent_id] bigint NOT NULL,
  5208. [path] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5209. [icon] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5210. [component] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5211. [status] tinyint NOT NULL,
  5212. [visible] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5213. [keep_alive] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5214. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5215. [create_time] datetime2(7) NOT NULL,
  5216. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5217. [update_time] datetime2(7) NOT NULL,
  5218. [deleted] bit DEFAULT 0 NOT NULL
  5219. )
  5220. GO
  5221. ALTER TABLE [dbo].[system_menu] SET (LOCK_ESCALATION = TABLE)
  5222. GO
  5223. EXEC sp_addextendedproperty
  5224. 'MS_Description', N'菜单ID',
  5225. 'SCHEMA', N'dbo',
  5226. 'TABLE', N'system_menu',
  5227. 'COLUMN', N'id'
  5228. GO
  5229. EXEC sp_addextendedproperty
  5230. 'MS_Description', N'菜单名称',
  5231. 'SCHEMA', N'dbo',
  5232. 'TABLE', N'system_menu',
  5233. 'COLUMN', N'name'
  5234. GO
  5235. EXEC sp_addextendedproperty
  5236. 'MS_Description', N'权限标识',
  5237. 'SCHEMA', N'dbo',
  5238. 'TABLE', N'system_menu',
  5239. 'COLUMN', N'permission'
  5240. GO
  5241. EXEC sp_addextendedproperty
  5242. 'MS_Description', N'菜单类型',
  5243. 'SCHEMA', N'dbo',
  5244. 'TABLE', N'system_menu',
  5245. 'COLUMN', N'type'
  5246. GO
  5247. EXEC sp_addextendedproperty
  5248. 'MS_Description', N'显示顺序',
  5249. 'SCHEMA', N'dbo',
  5250. 'TABLE', N'system_menu',
  5251. 'COLUMN', N'sort'
  5252. GO
  5253. EXEC sp_addextendedproperty
  5254. 'MS_Description', N'父菜单ID',
  5255. 'SCHEMA', N'dbo',
  5256. 'TABLE', N'system_menu',
  5257. 'COLUMN', N'parent_id'
  5258. GO
  5259. EXEC sp_addextendedproperty
  5260. 'MS_Description', N'路由地址',
  5261. 'SCHEMA', N'dbo',
  5262. 'TABLE', N'system_menu',
  5263. 'COLUMN', N'path'
  5264. GO
  5265. EXEC sp_addextendedproperty
  5266. 'MS_Description', N'菜单图标',
  5267. 'SCHEMA', N'dbo',
  5268. 'TABLE', N'system_menu',
  5269. 'COLUMN', N'icon'
  5270. GO
  5271. EXEC sp_addextendedproperty
  5272. 'MS_Description', N'组件路径',
  5273. 'SCHEMA', N'dbo',
  5274. 'TABLE', N'system_menu',
  5275. 'COLUMN', N'component'
  5276. GO
  5277. EXEC sp_addextendedproperty
  5278. 'MS_Description', N'菜单状态',
  5279. 'SCHEMA', N'dbo',
  5280. 'TABLE', N'system_menu',
  5281. 'COLUMN', N'status'
  5282. GO
  5283. EXEC sp_addextendedproperty
  5284. 'MS_Description', N'是否可见',
  5285. 'SCHEMA', N'dbo',
  5286. 'TABLE', N'system_menu',
  5287. 'COLUMN', N'visible'
  5288. GO
  5289. EXEC sp_addextendedproperty
  5290. 'MS_Description', N'是否缓存',
  5291. 'SCHEMA', N'dbo',
  5292. 'TABLE', N'system_menu',
  5293. 'COLUMN', N'keep_alive'
  5294. GO
  5295. EXEC sp_addextendedproperty
  5296. 'MS_Description', N'创建者',
  5297. 'SCHEMA', N'dbo',
  5298. 'TABLE', N'system_menu',
  5299. 'COLUMN', N'creator'
  5300. GO
  5301. EXEC sp_addextendedproperty
  5302. 'MS_Description', N'创建时间',
  5303. 'SCHEMA', N'dbo',
  5304. 'TABLE', N'system_menu',
  5305. 'COLUMN', N'create_time'
  5306. GO
  5307. EXEC sp_addextendedproperty
  5308. 'MS_Description', N'更新者',
  5309. 'SCHEMA', N'dbo',
  5310. 'TABLE', N'system_menu',
  5311. 'COLUMN', N'updater'
  5312. GO
  5313. EXEC sp_addextendedproperty
  5314. 'MS_Description', N'更新时间',
  5315. 'SCHEMA', N'dbo',
  5316. 'TABLE', N'system_menu',
  5317. 'COLUMN', N'update_time'
  5318. GO
  5319. EXEC sp_addextendedproperty
  5320. 'MS_Description', N'是否删除',
  5321. 'SCHEMA', N'dbo',
  5322. 'TABLE', N'system_menu',
  5323. 'COLUMN', N'deleted'
  5324. GO
  5325. EXEC sp_addextendedproperty
  5326. 'MS_Description', N'菜单权限表',
  5327. 'SCHEMA', N'dbo',
  5328. 'TABLE', N'system_menu'
  5329. GO
  5330. -- ----------------------------
  5331. -- Records of system_menu
  5332. -- ----------------------------
  5333. BEGIN TRANSACTION
  5334. GO
  5335. SET IDENTITY_INSERT [dbo].[system_menu] ON
  5336. GO
  5337. 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')
  5338. GO
  5339. 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')
  5340. GO
  5341. 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')
  5342. GO
  5343. 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')
  5344. GO
  5345. 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')
  5346. GO
  5347. 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')
  5348. GO
  5349. 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')
  5350. GO
  5351. 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')
  5352. GO
  5353. 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')
  5354. GO
  5355. 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')
  5356. GO
  5357. 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')
  5358. GO
  5359. 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')
  5360. GO
  5361. 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')
  5362. GO
  5363. 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')
  5364. GO
  5365. 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')
  5366. GO
  5367. 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')
  5368. GO
  5369. 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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'1254', N'作者动态', N'', N'1', N'0', N'0', N'https://www.iocoder.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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  5796. GO
  5797. SET IDENTITY_INSERT [dbo].[system_menu] OFF
  5798. GO
  5799. COMMIT
  5800. GO
  5801. -- ----------------------------
  5802. -- Table structure for system_notice
  5803. -- ----------------------------
  5804. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_notice]') AND type IN ('U'))
  5805. DROP TABLE [dbo].[system_notice]
  5806. GO
  5807. CREATE TABLE [dbo].[system_notice] (
  5808. [id] bigint IDENTITY(1,1) NOT NULL,
  5809. [title] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5810. [content] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5811. [type] tinyint NOT NULL,
  5812. [status] tinyint NOT NULL,
  5813. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5814. [create_time] datetime2(7) NOT NULL,
  5815. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5816. [update_time] datetime2(7) NOT NULL,
  5817. [tenant_id] bigint NOT NULL,
  5818. [deleted] bit DEFAULT 0 NOT NULL
  5819. )
  5820. GO
  5821. ALTER TABLE [dbo].[system_notice] SET (LOCK_ESCALATION = TABLE)
  5822. GO
  5823. EXEC sp_addextendedproperty
  5824. 'MS_Description', N'公告ID',
  5825. 'SCHEMA', N'dbo',
  5826. 'TABLE', N'system_notice',
  5827. 'COLUMN', N'id'
  5828. GO
  5829. EXEC sp_addextendedproperty
  5830. 'MS_Description', N'公告标题',
  5831. 'SCHEMA', N'dbo',
  5832. 'TABLE', N'system_notice',
  5833. 'COLUMN', N'title'
  5834. GO
  5835. EXEC sp_addextendedproperty
  5836. 'MS_Description', N'公告内容',
  5837. 'SCHEMA', N'dbo',
  5838. 'TABLE', N'system_notice',
  5839. 'COLUMN', N'content'
  5840. GO
  5841. EXEC sp_addextendedproperty
  5842. 'MS_Description', N'公告类型(1通知 2公告)',
  5843. 'SCHEMA', N'dbo',
  5844. 'TABLE', N'system_notice',
  5845. 'COLUMN', N'type'
  5846. GO
  5847. EXEC sp_addextendedproperty
  5848. 'MS_Description', N'公告状态(0正常 1关闭)',
  5849. 'SCHEMA', N'dbo',
  5850. 'TABLE', N'system_notice',
  5851. 'COLUMN', N'status'
  5852. GO
  5853. EXEC sp_addextendedproperty
  5854. 'MS_Description', N'创建者',
  5855. 'SCHEMA', N'dbo',
  5856. 'TABLE', N'system_notice',
  5857. 'COLUMN', N'creator'
  5858. GO
  5859. EXEC sp_addextendedproperty
  5860. 'MS_Description', N'创建时间',
  5861. 'SCHEMA', N'dbo',
  5862. 'TABLE', N'system_notice',
  5863. 'COLUMN', N'create_time'
  5864. GO
  5865. EXEC sp_addextendedproperty
  5866. 'MS_Description', N'更新者',
  5867. 'SCHEMA', N'dbo',
  5868. 'TABLE', N'system_notice',
  5869. 'COLUMN', N'updater'
  5870. GO
  5871. EXEC sp_addextendedproperty
  5872. 'MS_Description', N'更新时间',
  5873. 'SCHEMA', N'dbo',
  5874. 'TABLE', N'system_notice',
  5875. 'COLUMN', N'update_time'
  5876. GO
  5877. EXEC sp_addextendedproperty
  5878. 'MS_Description', N'租户编号',
  5879. 'SCHEMA', N'dbo',
  5880. 'TABLE', N'system_notice',
  5881. 'COLUMN', N'tenant_id'
  5882. GO
  5883. EXEC sp_addextendedproperty
  5884. 'MS_Description', N'是否删除',
  5885. 'SCHEMA', N'dbo',
  5886. 'TABLE', N'system_notice',
  5887. 'COLUMN', N'deleted'
  5888. GO
  5889. EXEC sp_addextendedproperty
  5890. 'MS_Description', N'通知公告表',
  5891. 'SCHEMA', N'dbo',
  5892. 'TABLE', N'system_notice'
  5893. GO
  5894. -- ----------------------------
  5895. -- Records of system_notice
  5896. -- ----------------------------
  5897. BEGIN TRANSACTION
  5898. GO
  5899. SET IDENTITY_INSERT [dbo].[system_notice] ON
  5900. GO
  5901. 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')
  5902. GO
  5903. 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')
  5904. GO
  5905. 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')
  5906. GO
  5907. SET IDENTITY_INSERT [dbo].[system_notice] OFF
  5908. GO
  5909. COMMIT
  5910. GO
  5911. -- ----------------------------
  5912. -- Table structure for system_oauth2_access_token
  5913. -- ----------------------------
  5914. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_access_token]') AND type IN ('U'))
  5915. DROP TABLE [dbo].[system_oauth2_access_token]
  5916. GO
  5917. CREATE TABLE [dbo].[system_oauth2_access_token] (
  5918. [id] bigint IDENTITY(1,1) NOT NULL,
  5919. [user_id] bigint NOT NULL,
  5920. [access_token] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5921. [refresh_token] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5922. [user_type] tinyint NOT NULL,
  5923. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  5924. [expires_time] datetime2(7) NOT NULL,
  5925. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5926. [create_time] datetime2(7) NOT NULL,
  5927. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  5928. [update_time] datetime2(7) NOT NULL,
  5929. [deleted] bit DEFAULT 0 NOT NULL,
  5930. [tenant_id] bigint DEFAULT 0 NOT NULL,
  5931. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL
  5932. )
  5933. GO
  5934. ALTER TABLE [dbo].[system_oauth2_access_token] SET (LOCK_ESCALATION = TABLE)
  5935. GO
  5936. EXEC sp_addextendedproperty
  5937. 'MS_Description', N'编号',
  5938. 'SCHEMA', N'dbo',
  5939. 'TABLE', N'system_oauth2_access_token',
  5940. 'COLUMN', N'id'
  5941. GO
  5942. EXEC sp_addextendedproperty
  5943. 'MS_Description', N'用户编号',
  5944. 'SCHEMA', N'dbo',
  5945. 'TABLE', N'system_oauth2_access_token',
  5946. 'COLUMN', N'user_id'
  5947. GO
  5948. EXEC sp_addextendedproperty
  5949. 'MS_Description', N'访问令牌',
  5950. 'SCHEMA', N'dbo',
  5951. 'TABLE', N'system_oauth2_access_token',
  5952. 'COLUMN', N'access_token'
  5953. GO
  5954. EXEC sp_addextendedproperty
  5955. 'MS_Description', N'刷新令牌',
  5956. 'SCHEMA', N'dbo',
  5957. 'TABLE', N'system_oauth2_access_token',
  5958. 'COLUMN', N'refresh_token'
  5959. GO
  5960. EXEC sp_addextendedproperty
  5961. 'MS_Description', N'用户类型',
  5962. 'SCHEMA', N'dbo',
  5963. 'TABLE', N'system_oauth2_access_token',
  5964. 'COLUMN', N'user_type'
  5965. GO
  5966. EXEC sp_addextendedproperty
  5967. 'MS_Description', N'客户端编号',
  5968. 'SCHEMA', N'dbo',
  5969. 'TABLE', N'system_oauth2_access_token',
  5970. 'COLUMN', N'client_id'
  5971. GO
  5972. EXEC sp_addextendedproperty
  5973. 'MS_Description', N'过期时间',
  5974. 'SCHEMA', N'dbo',
  5975. 'TABLE', N'system_oauth2_access_token',
  5976. 'COLUMN', N'expires_time'
  5977. GO
  5978. EXEC sp_addextendedproperty
  5979. 'MS_Description', N'创建者',
  5980. 'SCHEMA', N'dbo',
  5981. 'TABLE', N'system_oauth2_access_token',
  5982. 'COLUMN', N'creator'
  5983. GO
  5984. EXEC sp_addextendedproperty
  5985. 'MS_Description', N'创建时间',
  5986. 'SCHEMA', N'dbo',
  5987. 'TABLE', N'system_oauth2_access_token',
  5988. 'COLUMN', N'create_time'
  5989. GO
  5990. EXEC sp_addextendedproperty
  5991. 'MS_Description', N'更新者',
  5992. 'SCHEMA', N'dbo',
  5993. 'TABLE', N'system_oauth2_access_token',
  5994. 'COLUMN', N'updater'
  5995. GO
  5996. EXEC sp_addextendedproperty
  5997. 'MS_Description', N'更新时间',
  5998. 'SCHEMA', N'dbo',
  5999. 'TABLE', N'system_oauth2_access_token',
  6000. 'COLUMN', N'update_time'
  6001. GO
  6002. EXEC sp_addextendedproperty
  6003. 'MS_Description', N'是否删除',
  6004. 'SCHEMA', N'dbo',
  6005. 'TABLE', N'system_oauth2_access_token',
  6006. 'COLUMN', N'deleted'
  6007. GO
  6008. EXEC sp_addextendedproperty
  6009. 'MS_Description', N'租户编号',
  6010. 'SCHEMA', N'dbo',
  6011. 'TABLE', N'system_oauth2_access_token',
  6012. 'COLUMN', N'tenant_id'
  6013. GO
  6014. EXEC sp_addextendedproperty
  6015. 'MS_Description', N'授权范围',
  6016. 'SCHEMA', N'dbo',
  6017. 'TABLE', N'system_oauth2_access_token',
  6018. 'COLUMN', N'scopes'
  6019. GO
  6020. EXEC sp_addextendedproperty
  6021. 'MS_Description', N'刷新令牌',
  6022. 'SCHEMA', N'dbo',
  6023. 'TABLE', N'system_oauth2_access_token'
  6024. GO
  6025. -- ----------------------------
  6026. -- Records of system_oauth2_access_token
  6027. -- ----------------------------
  6028. BEGIN TRANSACTION
  6029. GO
  6030. SET IDENTITY_INSERT [dbo].[system_oauth2_access_token] ON
  6031. GO
  6032. SET IDENTITY_INSERT [dbo].[system_oauth2_access_token] OFF
  6033. GO
  6034. COMMIT
  6035. GO
  6036. -- ----------------------------
  6037. -- Table structure for system_oauth2_approve
  6038. -- ----------------------------
  6039. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_approve]') AND type IN ('U'))
  6040. DROP TABLE [dbo].[system_oauth2_approve]
  6041. GO
  6042. CREATE TABLE [dbo].[system_oauth2_approve] (
  6043. [id] bigint IDENTITY(1,1) NOT NULL,
  6044. [user_id] bigint NOT NULL,
  6045. [user_type] tinyint NOT NULL,
  6046. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6047. [scope] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6048. [approved] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6049. [expires_time] datetime2(7) NOT NULL,
  6050. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6051. [create_time] datetime2(7) NOT NULL,
  6052. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6053. [update_time] datetime2(7) NOT NULL,
  6054. [deleted] bit DEFAULT 0 NOT NULL,
  6055. [tenant_id] bigint NOT NULL
  6056. )
  6057. GO
  6058. ALTER TABLE [dbo].[system_oauth2_approve] SET (LOCK_ESCALATION = TABLE)
  6059. GO
  6060. EXEC sp_addextendedproperty
  6061. 'MS_Description', N'编号',
  6062. 'SCHEMA', N'dbo',
  6063. 'TABLE', N'system_oauth2_approve',
  6064. 'COLUMN', N'id'
  6065. GO
  6066. EXEC sp_addextendedproperty
  6067. 'MS_Description', N'用户编号',
  6068. 'SCHEMA', N'dbo',
  6069. 'TABLE', N'system_oauth2_approve',
  6070. 'COLUMN', N'user_id'
  6071. GO
  6072. EXEC sp_addextendedproperty
  6073. 'MS_Description', N'用户类型',
  6074. 'SCHEMA', N'dbo',
  6075. 'TABLE', N'system_oauth2_approve',
  6076. 'COLUMN', N'user_type'
  6077. GO
  6078. EXEC sp_addextendedproperty
  6079. 'MS_Description', N'客户端编号',
  6080. 'SCHEMA', N'dbo',
  6081. 'TABLE', N'system_oauth2_approve',
  6082. 'COLUMN', N'client_id'
  6083. GO
  6084. EXEC sp_addextendedproperty
  6085. 'MS_Description', N'授权范围',
  6086. 'SCHEMA', N'dbo',
  6087. 'TABLE', N'system_oauth2_approve',
  6088. 'COLUMN', N'scope'
  6089. GO
  6090. EXEC sp_addextendedproperty
  6091. 'MS_Description', N'是否接受',
  6092. 'SCHEMA', N'dbo',
  6093. 'TABLE', N'system_oauth2_approve',
  6094. 'COLUMN', N'approved'
  6095. GO
  6096. EXEC sp_addextendedproperty
  6097. 'MS_Description', N'过期时间',
  6098. 'SCHEMA', N'dbo',
  6099. 'TABLE', N'system_oauth2_approve',
  6100. 'COLUMN', N'expires_time'
  6101. GO
  6102. EXEC sp_addextendedproperty
  6103. 'MS_Description', N'创建者',
  6104. 'SCHEMA', N'dbo',
  6105. 'TABLE', N'system_oauth2_approve',
  6106. 'COLUMN', N'creator'
  6107. GO
  6108. EXEC sp_addextendedproperty
  6109. 'MS_Description', N'创建时间',
  6110. 'SCHEMA', N'dbo',
  6111. 'TABLE', N'system_oauth2_approve',
  6112. 'COLUMN', N'create_time'
  6113. GO
  6114. EXEC sp_addextendedproperty
  6115. 'MS_Description', N'更新者',
  6116. 'SCHEMA', N'dbo',
  6117. 'TABLE', N'system_oauth2_approve',
  6118. 'COLUMN', N'updater'
  6119. GO
  6120. EXEC sp_addextendedproperty
  6121. 'MS_Description', N'更新时间',
  6122. 'SCHEMA', N'dbo',
  6123. 'TABLE', N'system_oauth2_approve',
  6124. 'COLUMN', N'update_time'
  6125. GO
  6126. EXEC sp_addextendedproperty
  6127. 'MS_Description', N'是否删除',
  6128. 'SCHEMA', N'dbo',
  6129. 'TABLE', N'system_oauth2_approve',
  6130. 'COLUMN', N'deleted'
  6131. GO
  6132. EXEC sp_addextendedproperty
  6133. 'MS_Description', N'租户编号',
  6134. 'SCHEMA', N'dbo',
  6135. 'TABLE', N'system_oauth2_approve',
  6136. 'COLUMN', N'tenant_id'
  6137. GO
  6138. EXEC sp_addextendedproperty
  6139. 'MS_Description', N'OAuth2 批准表',
  6140. 'SCHEMA', N'dbo',
  6141. 'TABLE', N'system_oauth2_approve'
  6142. GO
  6143. -- ----------------------------
  6144. -- Records of system_oauth2_approve
  6145. -- ----------------------------
  6146. BEGIN TRANSACTION
  6147. GO
  6148. SET IDENTITY_INSERT [dbo].[system_oauth2_approve] ON
  6149. GO
  6150. SET IDENTITY_INSERT [dbo].[system_oauth2_approve] OFF
  6151. GO
  6152. COMMIT
  6153. GO
  6154. -- ----------------------------
  6155. -- Table structure for system_oauth2_client
  6156. -- ----------------------------
  6157. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_client]') AND type IN ('U'))
  6158. DROP TABLE [dbo].[system_oauth2_client]
  6159. GO
  6160. CREATE TABLE [dbo].[system_oauth2_client] (
  6161. [id] bigint IDENTITY(1,1) NOT NULL,
  6162. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6163. [secret] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6164. [name] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6165. [logo] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6166. [description] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6167. [status] tinyint NOT NULL,
  6168. [access_token_validity_seconds] int NOT NULL,
  6169. [refresh_token_validity_seconds] int NOT NULL,
  6170. [redirect_uris] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6171. [auto_approve_scopes] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6172. [authorized_grant_types] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6173. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL,
  6174. [authorities] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6175. [resource_ids] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6176. [additional_information] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6177. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6178. [create_time] datetime2(7) NOT NULL,
  6179. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6180. [update_time] datetime2(7) NOT NULL,
  6181. [deleted] bit DEFAULT 0 NOT NULL
  6182. )
  6183. GO
  6184. ALTER TABLE [dbo].[system_oauth2_client] SET (LOCK_ESCALATION = TABLE)
  6185. GO
  6186. EXEC sp_addextendedproperty
  6187. 'MS_Description', N'编号',
  6188. 'SCHEMA', N'dbo',
  6189. 'TABLE', N'system_oauth2_client',
  6190. 'COLUMN', N'id'
  6191. GO
  6192. EXEC sp_addextendedproperty
  6193. 'MS_Description', N'客户端编号',
  6194. 'SCHEMA', N'dbo',
  6195. 'TABLE', N'system_oauth2_client',
  6196. 'COLUMN', N'client_id'
  6197. GO
  6198. EXEC sp_addextendedproperty
  6199. 'MS_Description', N'客户端密钥',
  6200. 'SCHEMA', N'dbo',
  6201. 'TABLE', N'system_oauth2_client',
  6202. 'COLUMN', N'secret'
  6203. GO
  6204. EXEC sp_addextendedproperty
  6205. 'MS_Description', N'应用名',
  6206. 'SCHEMA', N'dbo',
  6207. 'TABLE', N'system_oauth2_client',
  6208. 'COLUMN', N'name'
  6209. GO
  6210. EXEC sp_addextendedproperty
  6211. 'MS_Description', N'应用图标',
  6212. 'SCHEMA', N'dbo',
  6213. 'TABLE', N'system_oauth2_client',
  6214. 'COLUMN', N'logo'
  6215. GO
  6216. EXEC sp_addextendedproperty
  6217. 'MS_Description', N'应用描述',
  6218. 'SCHEMA', N'dbo',
  6219. 'TABLE', N'system_oauth2_client',
  6220. 'COLUMN', N'description'
  6221. GO
  6222. EXEC sp_addextendedproperty
  6223. 'MS_Description', N'状态',
  6224. 'SCHEMA', N'dbo',
  6225. 'TABLE', N'system_oauth2_client',
  6226. 'COLUMN', N'status'
  6227. GO
  6228. EXEC sp_addextendedproperty
  6229. 'MS_Description', N'访问令牌的有效期',
  6230. 'SCHEMA', N'dbo',
  6231. 'TABLE', N'system_oauth2_client',
  6232. 'COLUMN', N'access_token_validity_seconds'
  6233. GO
  6234. EXEC sp_addextendedproperty
  6235. 'MS_Description', N'刷新令牌的有效期',
  6236. 'SCHEMA', N'dbo',
  6237. 'TABLE', N'system_oauth2_client',
  6238. 'COLUMN', N'refresh_token_validity_seconds'
  6239. GO
  6240. EXEC sp_addextendedproperty
  6241. 'MS_Description', N'可重定向的 URI 地址',
  6242. 'SCHEMA', N'dbo',
  6243. 'TABLE', N'system_oauth2_client',
  6244. 'COLUMN', N'redirect_uris'
  6245. GO
  6246. EXEC sp_addextendedproperty
  6247. 'MS_Description', N'自动通过的授权范围',
  6248. 'SCHEMA', N'dbo',
  6249. 'TABLE', N'system_oauth2_client',
  6250. 'COLUMN', N'auto_approve_scopes'
  6251. GO
  6252. EXEC sp_addextendedproperty
  6253. 'MS_Description', N'授权类型',
  6254. 'SCHEMA', N'dbo',
  6255. 'TABLE', N'system_oauth2_client',
  6256. 'COLUMN', N'authorized_grant_types'
  6257. GO
  6258. EXEC sp_addextendedproperty
  6259. 'MS_Description', N'授权范围',
  6260. 'SCHEMA', N'dbo',
  6261. 'TABLE', N'system_oauth2_client',
  6262. 'COLUMN', N'scopes'
  6263. GO
  6264. EXEC sp_addextendedproperty
  6265. 'MS_Description', N'权限',
  6266. 'SCHEMA', N'dbo',
  6267. 'TABLE', N'system_oauth2_client',
  6268. 'COLUMN', N'authorities'
  6269. GO
  6270. EXEC sp_addextendedproperty
  6271. 'MS_Description', N'资源',
  6272. 'SCHEMA', N'dbo',
  6273. 'TABLE', N'system_oauth2_client',
  6274. 'COLUMN', N'resource_ids'
  6275. GO
  6276. EXEC sp_addextendedproperty
  6277. 'MS_Description', N'附加信息',
  6278. 'SCHEMA', N'dbo',
  6279. 'TABLE', N'system_oauth2_client',
  6280. 'COLUMN', N'additional_information'
  6281. GO
  6282. EXEC sp_addextendedproperty
  6283. 'MS_Description', N'创建者',
  6284. 'SCHEMA', N'dbo',
  6285. 'TABLE', N'system_oauth2_client',
  6286. 'COLUMN', N'creator'
  6287. GO
  6288. EXEC sp_addextendedproperty
  6289. 'MS_Description', N'创建时间',
  6290. 'SCHEMA', N'dbo',
  6291. 'TABLE', N'system_oauth2_client',
  6292. 'COLUMN', N'create_time'
  6293. GO
  6294. EXEC sp_addextendedproperty
  6295. 'MS_Description', N'更新者',
  6296. 'SCHEMA', N'dbo',
  6297. 'TABLE', N'system_oauth2_client',
  6298. 'COLUMN', N'updater'
  6299. GO
  6300. EXEC sp_addextendedproperty
  6301. 'MS_Description', N'更新时间',
  6302. 'SCHEMA', N'dbo',
  6303. 'TABLE', N'system_oauth2_client',
  6304. 'COLUMN', N'update_time'
  6305. GO
  6306. EXEC sp_addextendedproperty
  6307. 'MS_Description', N'是否删除',
  6308. 'SCHEMA', N'dbo',
  6309. 'TABLE', N'system_oauth2_client',
  6310. 'COLUMN', N'deleted'
  6311. GO
  6312. EXEC sp_addextendedproperty
  6313. 'MS_Description', N'OAuth2 客户端表',
  6314. 'SCHEMA', N'dbo',
  6315. 'TABLE', N'system_oauth2_client'
  6316. GO
  6317. -- ----------------------------
  6318. -- Records of system_oauth2_client
  6319. -- ----------------------------
  6320. BEGIN TRANSACTION
  6321. GO
  6322. SET IDENTITY_INSERT [dbo].[system_oauth2_client] ON
  6323. GO
  6324. 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.patrol.iocoder.cn/a5e2e244368878a366b516805a4aabf1.png', N'我是描述', N'0', N'180', N'8640', N'["https://www.iocoder.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')
  6325. GO
  6326. SET IDENTITY_INSERT [dbo].[system_oauth2_client] OFF
  6327. GO
  6328. COMMIT
  6329. GO
  6330. -- ----------------------------
  6331. -- Table structure for system_oauth2_code
  6332. -- ----------------------------
  6333. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_code]') AND type IN ('U'))
  6334. DROP TABLE [dbo].[system_oauth2_code]
  6335. GO
  6336. CREATE TABLE [dbo].[system_oauth2_code] (
  6337. [id] bigint IDENTITY(1,1) NOT NULL,
  6338. [user_id] bigint NOT NULL,
  6339. [user_type] tinyint NOT NULL,
  6340. [code] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6341. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6342. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6343. [expires_time] datetime2(7) NOT NULL,
  6344. [redirect_uri] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6345. [state] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6346. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6347. [create_time] datetime2(7) NOT NULL,
  6348. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6349. [update_time] datetime2(7) NOT NULL,
  6350. [deleted] bit DEFAULT 0 NOT NULL,
  6351. [tenant_id] bigint NOT NULL
  6352. )
  6353. GO
  6354. ALTER TABLE [dbo].[system_oauth2_code] SET (LOCK_ESCALATION = TABLE)
  6355. GO
  6356. EXEC sp_addextendedproperty
  6357. 'MS_Description', N'编号',
  6358. 'SCHEMA', N'dbo',
  6359. 'TABLE', N'system_oauth2_code',
  6360. 'COLUMN', N'id'
  6361. GO
  6362. EXEC sp_addextendedproperty
  6363. 'MS_Description', N'用户编号',
  6364. 'SCHEMA', N'dbo',
  6365. 'TABLE', N'system_oauth2_code',
  6366. 'COLUMN', N'user_id'
  6367. GO
  6368. EXEC sp_addextendedproperty
  6369. 'MS_Description', N'用户类型',
  6370. 'SCHEMA', N'dbo',
  6371. 'TABLE', N'system_oauth2_code',
  6372. 'COLUMN', N'user_type'
  6373. GO
  6374. EXEC sp_addextendedproperty
  6375. 'MS_Description', N'授权码',
  6376. 'SCHEMA', N'dbo',
  6377. 'TABLE', N'system_oauth2_code',
  6378. 'COLUMN', N'code'
  6379. GO
  6380. EXEC sp_addextendedproperty
  6381. 'MS_Description', N'客户端编号',
  6382. 'SCHEMA', N'dbo',
  6383. 'TABLE', N'system_oauth2_code',
  6384. 'COLUMN', N'client_id'
  6385. GO
  6386. EXEC sp_addextendedproperty
  6387. 'MS_Description', N'授权范围',
  6388. 'SCHEMA', N'dbo',
  6389. 'TABLE', N'system_oauth2_code',
  6390. 'COLUMN', N'scopes'
  6391. GO
  6392. EXEC sp_addextendedproperty
  6393. 'MS_Description', N'过期时间',
  6394. 'SCHEMA', N'dbo',
  6395. 'TABLE', N'system_oauth2_code',
  6396. 'COLUMN', N'expires_time'
  6397. GO
  6398. EXEC sp_addextendedproperty
  6399. 'MS_Description', N'可重定向的 URI 地址',
  6400. 'SCHEMA', N'dbo',
  6401. 'TABLE', N'system_oauth2_code',
  6402. 'COLUMN', N'redirect_uri'
  6403. GO
  6404. EXEC sp_addextendedproperty
  6405. 'MS_Description', N'状态',
  6406. 'SCHEMA', N'dbo',
  6407. 'TABLE', N'system_oauth2_code',
  6408. 'COLUMN', N'state'
  6409. GO
  6410. EXEC sp_addextendedproperty
  6411. 'MS_Description', N'创建者',
  6412. 'SCHEMA', N'dbo',
  6413. 'TABLE', N'system_oauth2_code',
  6414. 'COLUMN', N'creator'
  6415. GO
  6416. EXEC sp_addextendedproperty
  6417. 'MS_Description', N'创建时间',
  6418. 'SCHEMA', N'dbo',
  6419. 'TABLE', N'system_oauth2_code',
  6420. 'COLUMN', N'create_time'
  6421. GO
  6422. EXEC sp_addextendedproperty
  6423. 'MS_Description', N'更新者',
  6424. 'SCHEMA', N'dbo',
  6425. 'TABLE', N'system_oauth2_code',
  6426. 'COLUMN', N'updater'
  6427. GO
  6428. EXEC sp_addextendedproperty
  6429. 'MS_Description', N'更新时间',
  6430. 'SCHEMA', N'dbo',
  6431. 'TABLE', N'system_oauth2_code',
  6432. 'COLUMN', N'update_time'
  6433. GO
  6434. EXEC sp_addextendedproperty
  6435. 'MS_Description', N'是否删除',
  6436. 'SCHEMA', N'dbo',
  6437. 'TABLE', N'system_oauth2_code',
  6438. 'COLUMN', N'deleted'
  6439. GO
  6440. EXEC sp_addextendedproperty
  6441. 'MS_Description', N'租户编号',
  6442. 'SCHEMA', N'dbo',
  6443. 'TABLE', N'system_oauth2_code',
  6444. 'COLUMN', N'tenant_id'
  6445. GO
  6446. EXEC sp_addextendedproperty
  6447. 'MS_Description', N'OAuth2 授权码表',
  6448. 'SCHEMA', N'dbo',
  6449. 'TABLE', N'system_oauth2_code'
  6450. GO
  6451. -- ----------------------------
  6452. -- Records of system_oauth2_code
  6453. -- ----------------------------
  6454. BEGIN TRANSACTION
  6455. GO
  6456. SET IDENTITY_INSERT [dbo].[system_oauth2_code] ON
  6457. GO
  6458. SET IDENTITY_INSERT [dbo].[system_oauth2_code] OFF
  6459. GO
  6460. COMMIT
  6461. GO
  6462. -- ----------------------------
  6463. -- Table structure for system_oauth2_refresh_token
  6464. -- ----------------------------
  6465. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_oauth2_refresh_token]') AND type IN ('U'))
  6466. DROP TABLE [dbo].[system_oauth2_refresh_token]
  6467. GO
  6468. CREATE TABLE [dbo].[system_oauth2_refresh_token] (
  6469. [id] bigint IDENTITY(1,1) NOT NULL,
  6470. [user_id] bigint NOT NULL,
  6471. [refresh_token] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6472. [user_type] tinyint NOT NULL,
  6473. [client_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6474. [expires_time] datetime2(7) NOT NULL,
  6475. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6476. [create_time] datetime2(7) NOT NULL,
  6477. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6478. [update_time] datetime2(7) NOT NULL,
  6479. [deleted] bit DEFAULT 0 NOT NULL,
  6480. [tenant_id] bigint NOT NULL,
  6481. [scopes] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NULL
  6482. )
  6483. GO
  6484. ALTER TABLE [dbo].[system_oauth2_refresh_token] SET (LOCK_ESCALATION = TABLE)
  6485. GO
  6486. EXEC sp_addextendedproperty
  6487. 'MS_Description', N'编号',
  6488. 'SCHEMA', N'dbo',
  6489. 'TABLE', N'system_oauth2_refresh_token',
  6490. 'COLUMN', N'id'
  6491. GO
  6492. EXEC sp_addextendedproperty
  6493. 'MS_Description', N'用户编号',
  6494. 'SCHEMA', N'dbo',
  6495. 'TABLE', N'system_oauth2_refresh_token',
  6496. 'COLUMN', N'user_id'
  6497. GO
  6498. EXEC sp_addextendedproperty
  6499. 'MS_Description', N'刷新令牌',
  6500. 'SCHEMA', N'dbo',
  6501. 'TABLE', N'system_oauth2_refresh_token',
  6502. 'COLUMN', N'refresh_token'
  6503. GO
  6504. EXEC sp_addextendedproperty
  6505. 'MS_Description', N'用户类型',
  6506. 'SCHEMA', N'dbo',
  6507. 'TABLE', N'system_oauth2_refresh_token',
  6508. 'COLUMN', N'user_type'
  6509. GO
  6510. EXEC sp_addextendedproperty
  6511. 'MS_Description', N'客户端编号',
  6512. 'SCHEMA', N'dbo',
  6513. 'TABLE', N'system_oauth2_refresh_token',
  6514. 'COLUMN', N'client_id'
  6515. GO
  6516. EXEC sp_addextendedproperty
  6517. 'MS_Description', N'过期时间',
  6518. 'SCHEMA', N'dbo',
  6519. 'TABLE', N'system_oauth2_refresh_token',
  6520. 'COLUMN', N'expires_time'
  6521. GO
  6522. EXEC sp_addextendedproperty
  6523. 'MS_Description', N'创建者',
  6524. 'SCHEMA', N'dbo',
  6525. 'TABLE', N'system_oauth2_refresh_token',
  6526. 'COLUMN', N'creator'
  6527. GO
  6528. EXEC sp_addextendedproperty
  6529. 'MS_Description', N'创建时间',
  6530. 'SCHEMA', N'dbo',
  6531. 'TABLE', N'system_oauth2_refresh_token',
  6532. 'COLUMN', N'create_time'
  6533. GO
  6534. EXEC sp_addextendedproperty
  6535. 'MS_Description', N'更新者',
  6536. 'SCHEMA', N'dbo',
  6537. 'TABLE', N'system_oauth2_refresh_token',
  6538. 'COLUMN', N'updater'
  6539. GO
  6540. EXEC sp_addextendedproperty
  6541. 'MS_Description', N'更新时间',
  6542. 'SCHEMA', N'dbo',
  6543. 'TABLE', N'system_oauth2_refresh_token',
  6544. 'COLUMN', N'update_time'
  6545. GO
  6546. EXEC sp_addextendedproperty
  6547. 'MS_Description', N'是否删除',
  6548. 'SCHEMA', N'dbo',
  6549. 'TABLE', N'system_oauth2_refresh_token',
  6550. 'COLUMN', N'deleted'
  6551. GO
  6552. EXEC sp_addextendedproperty
  6553. 'MS_Description', N'租户编号',
  6554. 'SCHEMA', N'dbo',
  6555. 'TABLE', N'system_oauth2_refresh_token',
  6556. 'COLUMN', N'tenant_id'
  6557. GO
  6558. EXEC sp_addextendedproperty
  6559. 'MS_Description', N'授权范围',
  6560. 'SCHEMA', N'dbo',
  6561. 'TABLE', N'system_oauth2_refresh_token',
  6562. 'COLUMN', N'scopes'
  6563. GO
  6564. EXEC sp_addextendedproperty
  6565. 'MS_Description', N'刷新令牌',
  6566. 'SCHEMA', N'dbo',
  6567. 'TABLE', N'system_oauth2_refresh_token'
  6568. GO
  6569. -- ----------------------------
  6570. -- Records of system_oauth2_refresh_token
  6571. -- ----------------------------
  6572. BEGIN TRANSACTION
  6573. GO
  6574. SET IDENTITY_INSERT [dbo].[system_oauth2_refresh_token] ON
  6575. GO
  6576. SET IDENTITY_INSERT [dbo].[system_oauth2_refresh_token] OFF
  6577. GO
  6578. COMMIT
  6579. GO
  6580. -- ----------------------------
  6581. -- Table structure for system_operate_log
  6582. -- ----------------------------
  6583. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_operate_log]') AND type IN ('U'))
  6584. DROP TABLE [dbo].[system_operate_log]
  6585. GO
  6586. CREATE TABLE [dbo].[system_operate_log] (
  6587. [id] bigint IDENTITY(1,1) NOT NULL,
  6588. [trace_id] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6589. [user_id] bigint NOT NULL,
  6590. [user_type] tinyint NOT NULL,
  6591. [module] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6592. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6593. [type] bigint NOT NULL,
  6594. [content] nvarchar(2000) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6595. [exts] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS DEFAULT '' NOT NULL,
  6596. [request_method] nvarchar(16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6597. [request_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6598. [user_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6599. [user_agent] nvarchar(200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6600. [java_method] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6601. [java_method_args] nvarchar(max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6602. [start_time] datetime2(7) NOT NULL,
  6603. [duration] int NOT NULL,
  6604. [result_code] int NOT NULL,
  6605. [result_msg] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6606. [result_data] nvarchar(4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6607. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6608. [create_time] datetime2(7) NOT NULL,
  6609. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6610. [update_time] datetime2(7) NOT NULL,
  6611. [tenant_id] bigint NOT NULL,
  6612. [deleted] bit DEFAULT 0 NOT NULL
  6613. )
  6614. GO
  6615. ALTER TABLE [dbo].[system_operate_log] SET (LOCK_ESCALATION = TABLE)
  6616. GO
  6617. EXEC sp_addextendedproperty
  6618. 'MS_Description', N'日志主键',
  6619. 'SCHEMA', N'dbo',
  6620. 'TABLE', N'system_operate_log',
  6621. 'COLUMN', N'id'
  6622. GO
  6623. EXEC sp_addextendedproperty
  6624. 'MS_Description', N'链路追踪编号',
  6625. 'SCHEMA', N'dbo',
  6626. 'TABLE', N'system_operate_log',
  6627. 'COLUMN', N'trace_id'
  6628. GO
  6629. EXEC sp_addextendedproperty
  6630. 'MS_Description', N'用户编号',
  6631. 'SCHEMA', N'dbo',
  6632. 'TABLE', N'system_operate_log',
  6633. 'COLUMN', N'user_id'
  6634. GO
  6635. EXEC sp_addextendedproperty
  6636. 'MS_Description', N'用户类型',
  6637. 'SCHEMA', N'dbo',
  6638. 'TABLE', N'system_operate_log',
  6639. 'COLUMN', N'user_type'
  6640. GO
  6641. EXEC sp_addextendedproperty
  6642. 'MS_Description', N'模块标题',
  6643. 'SCHEMA', N'dbo',
  6644. 'TABLE', N'system_operate_log',
  6645. 'COLUMN', N'module'
  6646. GO
  6647. EXEC sp_addextendedproperty
  6648. 'MS_Description', N'操作名',
  6649. 'SCHEMA', N'dbo',
  6650. 'TABLE', N'system_operate_log',
  6651. 'COLUMN', N'name'
  6652. GO
  6653. EXEC sp_addextendedproperty
  6654. 'MS_Description', N'操作分类',
  6655. 'SCHEMA', N'dbo',
  6656. 'TABLE', N'system_operate_log',
  6657. 'COLUMN', N'type'
  6658. GO
  6659. EXEC sp_addextendedproperty
  6660. 'MS_Description', N'操作内容',
  6661. 'SCHEMA', N'dbo',
  6662. 'TABLE', N'system_operate_log',
  6663. 'COLUMN', N'content'
  6664. GO
  6665. EXEC sp_addextendedproperty
  6666. 'MS_Description', N'拓展字段',
  6667. 'SCHEMA', N'dbo',
  6668. 'TABLE', N'system_operate_log',
  6669. 'COLUMN', N'exts'
  6670. GO
  6671. EXEC sp_addextendedproperty
  6672. 'MS_Description', N'请求方法名',
  6673. 'SCHEMA', N'dbo',
  6674. 'TABLE', N'system_operate_log',
  6675. 'COLUMN', N'request_method'
  6676. GO
  6677. EXEC sp_addextendedproperty
  6678. 'MS_Description', N'请求地址',
  6679. 'SCHEMA', N'dbo',
  6680. 'TABLE', N'system_operate_log',
  6681. 'COLUMN', N'request_url'
  6682. GO
  6683. EXEC sp_addextendedproperty
  6684. 'MS_Description', N'用户 IP',
  6685. 'SCHEMA', N'dbo',
  6686. 'TABLE', N'system_operate_log',
  6687. 'COLUMN', N'user_ip'
  6688. GO
  6689. EXEC sp_addextendedproperty
  6690. 'MS_Description', N'浏览器 UA',
  6691. 'SCHEMA', N'dbo',
  6692. 'TABLE', N'system_operate_log',
  6693. 'COLUMN', N'user_agent'
  6694. GO
  6695. EXEC sp_addextendedproperty
  6696. 'MS_Description', N'Java 方法名',
  6697. 'SCHEMA', N'dbo',
  6698. 'TABLE', N'system_operate_log',
  6699. 'COLUMN', N'java_method'
  6700. GO
  6701. EXEC sp_addextendedproperty
  6702. 'MS_Description', N'Java 方法的参数',
  6703. 'SCHEMA', N'dbo',
  6704. 'TABLE', N'system_operate_log',
  6705. 'COLUMN', N'java_method_args'
  6706. GO
  6707. EXEC sp_addextendedproperty
  6708. 'MS_Description', N'操作时间',
  6709. 'SCHEMA', N'dbo',
  6710. 'TABLE', N'system_operate_log',
  6711. 'COLUMN', N'start_time'
  6712. GO
  6713. EXEC sp_addextendedproperty
  6714. 'MS_Description', N'执行时长',
  6715. 'SCHEMA', N'dbo',
  6716. 'TABLE', N'system_operate_log',
  6717. 'COLUMN', N'duration'
  6718. GO
  6719. EXEC sp_addextendedproperty
  6720. 'MS_Description', N'结果码',
  6721. 'SCHEMA', N'dbo',
  6722. 'TABLE', N'system_operate_log',
  6723. 'COLUMN', N'result_code'
  6724. GO
  6725. EXEC sp_addextendedproperty
  6726. 'MS_Description', N'结果提示',
  6727. 'SCHEMA', N'dbo',
  6728. 'TABLE', N'system_operate_log',
  6729. 'COLUMN', N'result_msg'
  6730. GO
  6731. EXEC sp_addextendedproperty
  6732. 'MS_Description', N'结果数据',
  6733. 'SCHEMA', N'dbo',
  6734. 'TABLE', N'system_operate_log',
  6735. 'COLUMN', N'result_data'
  6736. GO
  6737. EXEC sp_addextendedproperty
  6738. 'MS_Description', N'创建者',
  6739. 'SCHEMA', N'dbo',
  6740. 'TABLE', N'system_operate_log',
  6741. 'COLUMN', N'creator'
  6742. GO
  6743. EXEC sp_addextendedproperty
  6744. 'MS_Description', N'创建时间',
  6745. 'SCHEMA', N'dbo',
  6746. 'TABLE', N'system_operate_log',
  6747. 'COLUMN', N'create_time'
  6748. GO
  6749. EXEC sp_addextendedproperty
  6750. 'MS_Description', N'更新者',
  6751. 'SCHEMA', N'dbo',
  6752. 'TABLE', N'system_operate_log',
  6753. 'COLUMN', N'updater'
  6754. GO
  6755. EXEC sp_addextendedproperty
  6756. 'MS_Description', N'更新时间',
  6757. 'SCHEMA', N'dbo',
  6758. 'TABLE', N'system_operate_log',
  6759. 'COLUMN', N'update_time'
  6760. GO
  6761. EXEC sp_addextendedproperty
  6762. 'MS_Description', N'租户编号',
  6763. 'SCHEMA', N'dbo',
  6764. 'TABLE', N'system_operate_log',
  6765. 'COLUMN', N'tenant_id'
  6766. GO
  6767. EXEC sp_addextendedproperty
  6768. 'MS_Description', N'是否删除',
  6769. 'SCHEMA', N'dbo',
  6770. 'TABLE', N'system_operate_log',
  6771. 'COLUMN', N'deleted'
  6772. GO
  6773. EXEC sp_addextendedproperty
  6774. 'MS_Description', N'操作日志记录',
  6775. 'SCHEMA', N'dbo',
  6776. 'TABLE', N'system_operate_log'
  6777. GO
  6778. -- ----------------------------
  6779. -- Records of system_operate_log
  6780. -- ----------------------------
  6781. BEGIN TRANSACTION
  6782. GO
  6783. SET IDENTITY_INSERT [dbo].[system_operate_log] ON
  6784. GO
  6785. SET IDENTITY_INSERT [dbo].[system_operate_log] OFF
  6786. GO
  6787. COMMIT
  6788. GO
  6789. -- ----------------------------
  6790. -- Table structure for system_post
  6791. -- ----------------------------
  6792. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_post]') AND type IN ('U'))
  6793. DROP TABLE [dbo].[system_post]
  6794. GO
  6795. CREATE TABLE [dbo].[system_post] (
  6796. [id] bigint IDENTITY(1,1) NOT NULL,
  6797. [code] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6798. [name] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6799. [sort] int NOT NULL,
  6800. [status] tinyint NOT NULL,
  6801. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6802. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6803. [create_time] datetime2(7) NOT NULL,
  6804. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6805. [update_time] datetime2(7) NOT NULL,
  6806. [tenant_id] bigint NOT NULL,
  6807. [deleted] bit DEFAULT 0 NOT NULL
  6808. )
  6809. GO
  6810. ALTER TABLE [dbo].[system_post] SET (LOCK_ESCALATION = TABLE)
  6811. GO
  6812. EXEC sp_addextendedproperty
  6813. 'MS_Description', N'岗位ID',
  6814. 'SCHEMA', N'dbo',
  6815. 'TABLE', N'system_post',
  6816. 'COLUMN', N'id'
  6817. GO
  6818. EXEC sp_addextendedproperty
  6819. 'MS_Description', N'岗位编码',
  6820. 'SCHEMA', N'dbo',
  6821. 'TABLE', N'system_post',
  6822. 'COLUMN', N'code'
  6823. GO
  6824. EXEC sp_addextendedproperty
  6825. 'MS_Description', N'岗位名称',
  6826. 'SCHEMA', N'dbo',
  6827. 'TABLE', N'system_post',
  6828. 'COLUMN', N'name'
  6829. GO
  6830. EXEC sp_addextendedproperty
  6831. 'MS_Description', N'显示顺序',
  6832. 'SCHEMA', N'dbo',
  6833. 'TABLE', N'system_post',
  6834. 'COLUMN', N'sort'
  6835. GO
  6836. EXEC sp_addextendedproperty
  6837. 'MS_Description', N'状态(0正常 1停用)',
  6838. 'SCHEMA', N'dbo',
  6839. 'TABLE', N'system_post',
  6840. 'COLUMN', N'status'
  6841. GO
  6842. EXEC sp_addextendedproperty
  6843. 'MS_Description', N'备注',
  6844. 'SCHEMA', N'dbo',
  6845. 'TABLE', N'system_post',
  6846. 'COLUMN', N'remark'
  6847. GO
  6848. EXEC sp_addextendedproperty
  6849. 'MS_Description', N'创建者',
  6850. 'SCHEMA', N'dbo',
  6851. 'TABLE', N'system_post',
  6852. 'COLUMN', N'creator'
  6853. GO
  6854. EXEC sp_addextendedproperty
  6855. 'MS_Description', N'创建时间',
  6856. 'SCHEMA', N'dbo',
  6857. 'TABLE', N'system_post',
  6858. 'COLUMN', N'create_time'
  6859. GO
  6860. EXEC sp_addextendedproperty
  6861. 'MS_Description', N'更新者',
  6862. 'SCHEMA', N'dbo',
  6863. 'TABLE', N'system_post',
  6864. 'COLUMN', N'updater'
  6865. GO
  6866. EXEC sp_addextendedproperty
  6867. 'MS_Description', N'更新时间',
  6868. 'SCHEMA', N'dbo',
  6869. 'TABLE', N'system_post',
  6870. 'COLUMN', N'update_time'
  6871. GO
  6872. EXEC sp_addextendedproperty
  6873. 'MS_Description', N'租户编号',
  6874. 'SCHEMA', N'dbo',
  6875. 'TABLE', N'system_post',
  6876. 'COLUMN', N'tenant_id'
  6877. GO
  6878. EXEC sp_addextendedproperty
  6879. 'MS_Description', N'是否删除',
  6880. 'SCHEMA', N'dbo',
  6881. 'TABLE', N'system_post',
  6882. 'COLUMN', N'deleted'
  6883. GO
  6884. EXEC sp_addextendedproperty
  6885. 'MS_Description', N'岗位信息表',
  6886. 'SCHEMA', N'dbo',
  6887. 'TABLE', N'system_post'
  6888. GO
  6889. -- ----------------------------
  6890. -- Records of system_post
  6891. -- ----------------------------
  6892. BEGIN TRANSACTION
  6893. GO
  6894. SET IDENTITY_INSERT [dbo].[system_post] ON
  6895. GO
  6896. 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')
  6897. GO
  6898. 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')
  6899. GO
  6900. 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')
  6901. GO
  6902. SET IDENTITY_INSERT [dbo].[system_post] OFF
  6903. GO
  6904. COMMIT
  6905. GO
  6906. -- ----------------------------
  6907. -- Table structure for system_role
  6908. -- ----------------------------
  6909. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_role]') AND type IN ('U'))
  6910. DROP TABLE [dbo].[system_role]
  6911. GO
  6912. CREATE TABLE [dbo].[system_role] (
  6913. [id] bigint IDENTITY(1,1) NOT NULL,
  6914. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6915. [code] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6916. [sort] int NOT NULL,
  6917. [data_scope] tinyint NOT NULL,
  6918. [data_scope_dept_ids] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  6919. [status] tinyint NOT NULL,
  6920. [type] tinyint NOT NULL,
  6921. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6922. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6923. [create_time] datetime2(7) NOT NULL,
  6924. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  6925. [update_time] datetime2(7) NOT NULL,
  6926. [tenant_id] bigint NOT NULL,
  6927. [deleted] bit DEFAULT 0 NOT NULL
  6928. )
  6929. GO
  6930. ALTER TABLE [dbo].[system_role] SET (LOCK_ESCALATION = TABLE)
  6931. GO
  6932. EXEC sp_addextendedproperty
  6933. 'MS_Description', N'角色ID',
  6934. 'SCHEMA', N'dbo',
  6935. 'TABLE', N'system_role',
  6936. 'COLUMN', N'id'
  6937. GO
  6938. EXEC sp_addextendedproperty
  6939. 'MS_Description', N'角色名称',
  6940. 'SCHEMA', N'dbo',
  6941. 'TABLE', N'system_role',
  6942. 'COLUMN', N'name'
  6943. GO
  6944. EXEC sp_addextendedproperty
  6945. 'MS_Description', N'角色权限字符串',
  6946. 'SCHEMA', N'dbo',
  6947. 'TABLE', N'system_role',
  6948. 'COLUMN', N'code'
  6949. GO
  6950. EXEC sp_addextendedproperty
  6951. 'MS_Description', N'显示顺序',
  6952. 'SCHEMA', N'dbo',
  6953. 'TABLE', N'system_role',
  6954. 'COLUMN', N'sort'
  6955. GO
  6956. EXEC sp_addextendedproperty
  6957. 'MS_Description', N'数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
  6958. 'SCHEMA', N'dbo',
  6959. 'TABLE', N'system_role',
  6960. 'COLUMN', N'data_scope'
  6961. GO
  6962. EXEC sp_addextendedproperty
  6963. 'MS_Description', N'数据范围(指定部门数组)',
  6964. 'SCHEMA', N'dbo',
  6965. 'TABLE', N'system_role',
  6966. 'COLUMN', N'data_scope_dept_ids'
  6967. GO
  6968. EXEC sp_addextendedproperty
  6969. 'MS_Description', N'角色状态(0正常 1停用)',
  6970. 'SCHEMA', N'dbo',
  6971. 'TABLE', N'system_role',
  6972. 'COLUMN', N'status'
  6973. GO
  6974. EXEC sp_addextendedproperty
  6975. 'MS_Description', N'角色类型',
  6976. 'SCHEMA', N'dbo',
  6977. 'TABLE', N'system_role',
  6978. 'COLUMN', N'type'
  6979. GO
  6980. EXEC sp_addextendedproperty
  6981. 'MS_Description', N'备注',
  6982. 'SCHEMA', N'dbo',
  6983. 'TABLE', N'system_role',
  6984. 'COLUMN', N'remark'
  6985. GO
  6986. EXEC sp_addextendedproperty
  6987. 'MS_Description', N'创建者',
  6988. 'SCHEMA', N'dbo',
  6989. 'TABLE', N'system_role',
  6990. 'COLUMN', N'creator'
  6991. GO
  6992. EXEC sp_addextendedproperty
  6993. 'MS_Description', N'创建时间',
  6994. 'SCHEMA', N'dbo',
  6995. 'TABLE', N'system_role',
  6996. 'COLUMN', N'create_time'
  6997. GO
  6998. EXEC sp_addextendedproperty
  6999. 'MS_Description', N'更新者',
  7000. 'SCHEMA', N'dbo',
  7001. 'TABLE', N'system_role',
  7002. 'COLUMN', N'updater'
  7003. GO
  7004. EXEC sp_addextendedproperty
  7005. 'MS_Description', N'更新时间',
  7006. 'SCHEMA', N'dbo',
  7007. 'TABLE', N'system_role',
  7008. 'COLUMN', N'update_time'
  7009. GO
  7010. EXEC sp_addextendedproperty
  7011. 'MS_Description', N'租户编号',
  7012. 'SCHEMA', N'dbo',
  7013. 'TABLE', N'system_role',
  7014. 'COLUMN', N'tenant_id'
  7015. GO
  7016. EXEC sp_addextendedproperty
  7017. 'MS_Description', N'是否删除',
  7018. 'SCHEMA', N'dbo',
  7019. 'TABLE', N'system_role',
  7020. 'COLUMN', N'deleted'
  7021. GO
  7022. EXEC sp_addextendedproperty
  7023. 'MS_Description', N'角色信息表',
  7024. 'SCHEMA', N'dbo',
  7025. 'TABLE', N'system_role'
  7026. GO
  7027. -- ----------------------------
  7028. -- Records of system_role
  7029. -- ----------------------------
  7030. BEGIN TRANSACTION
  7031. GO
  7032. SET IDENTITY_INSERT [dbo].[system_role] ON
  7033. GO
  7034. 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')
  7035. GO
  7036. 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')
  7037. GO
  7038. 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')
  7039. GO
  7040. 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')
  7041. GO
  7042. 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')
  7043. GO
  7044. 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')
  7045. GO
  7046. SET IDENTITY_INSERT [dbo].[system_role] OFF
  7047. GO
  7048. COMMIT
  7049. GO
  7050. -- ----------------------------
  7051. -- Table structure for system_role_menu
  7052. -- ----------------------------
  7053. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_role_menu]') AND type IN ('U'))
  7054. DROP TABLE [dbo].[system_role_menu]
  7055. GO
  7056. CREATE TABLE [dbo].[system_role_menu] (
  7057. [role_id] bigint NOT NULL,
  7058. [menu_id] bigint NOT NULL,
  7059. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7060. [create_time] datetime2(7) NOT NULL,
  7061. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7062. [update_time] datetime2(7) NOT NULL,
  7063. [tenant_id] bigint DEFAULT 0 NOT NULL,
  7064. [deleted] bit DEFAULT 0 NOT NULL,
  7065. [id] bigint IDENTITY(1,1) NOT NULL
  7066. )
  7067. GO
  7068. ALTER TABLE [dbo].[system_role_menu] SET (LOCK_ESCALATION = TABLE)
  7069. GO
  7070. EXEC sp_addextendedproperty
  7071. 'MS_Description', N'角色ID',
  7072. 'SCHEMA', N'dbo',
  7073. 'TABLE', N'system_role_menu',
  7074. 'COLUMN', N'role_id'
  7075. GO
  7076. EXEC sp_addextendedproperty
  7077. 'MS_Description', N'菜单ID',
  7078. 'SCHEMA', N'dbo',
  7079. 'TABLE', N'system_role_menu',
  7080. 'COLUMN', N'menu_id'
  7081. GO
  7082. EXEC sp_addextendedproperty
  7083. 'MS_Description', N'创建者',
  7084. 'SCHEMA', N'dbo',
  7085. 'TABLE', N'system_role_menu',
  7086. 'COLUMN', N'creator'
  7087. GO
  7088. EXEC sp_addextendedproperty
  7089. 'MS_Description', N'创建时间',
  7090. 'SCHEMA', N'dbo',
  7091. 'TABLE', N'system_role_menu',
  7092. 'COLUMN', N'create_time'
  7093. GO
  7094. EXEC sp_addextendedproperty
  7095. 'MS_Description', N'更新者',
  7096. 'SCHEMA', N'dbo',
  7097. 'TABLE', N'system_role_menu',
  7098. 'COLUMN', N'updater'
  7099. GO
  7100. EXEC sp_addextendedproperty
  7101. 'MS_Description', N'更新时间',
  7102. 'SCHEMA', N'dbo',
  7103. 'TABLE', N'system_role_menu',
  7104. 'COLUMN', N'update_time'
  7105. GO
  7106. EXEC sp_addextendedproperty
  7107. 'MS_Description', N'租户编号',
  7108. 'SCHEMA', N'dbo',
  7109. 'TABLE', N'system_role_menu',
  7110. 'COLUMN', N'tenant_id'
  7111. GO
  7112. EXEC sp_addextendedproperty
  7113. 'MS_Description', N'是否删除',
  7114. 'SCHEMA', N'dbo',
  7115. 'TABLE', N'system_role_menu',
  7116. 'COLUMN', N'deleted'
  7117. GO
  7118. EXEC sp_addextendedproperty
  7119. 'MS_Description', N'自增编号',
  7120. 'SCHEMA', N'dbo',
  7121. 'TABLE', N'system_role_menu',
  7122. 'COLUMN', N'id'
  7123. GO
  7124. EXEC sp_addextendedproperty
  7125. 'MS_Description', N'角色和菜单关联表',
  7126. 'SCHEMA', N'dbo',
  7127. 'TABLE', N'system_role_menu'
  7128. GO
  7129. -- ----------------------------
  7130. -- Records of system_role_menu
  7131. -- ----------------------------
  7132. BEGIN TRANSACTION
  7133. GO
  7134. SET IDENTITY_INSERT [dbo].[system_role_menu] ON
  7135. GO
  7136. 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')
  7137. GO
  7138. 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')
  7139. GO
  7140. 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')
  7141. GO
  7142. 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')
  7143. GO
  7144. 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')
  7145. GO
  7146. 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')
  7147. GO
  7148. 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')
  7149. GO
  7150. 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')
  7151. GO
  7152. 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')
  7153. GO
  7154. 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')
  7155. GO
  7156. 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')
  7157. GO
  7158. 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')
  7159. GO
  7160. 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')
  7161. GO
  7162. 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')
  7163. GO
  7164. 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')
  7165. GO
  7166. 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')
  7167. GO
  7168. 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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  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'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')
  7517. GO
  7518. SET IDENTITY_INSERT [dbo].[system_role_menu] OFF
  7519. GO
  7520. COMMIT
  7521. GO
  7522. -- ----------------------------
  7523. -- Table structure for system_sensitive_word
  7524. -- ----------------------------
  7525. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sensitive_word]') AND type IN ('U'))
  7526. DROP TABLE [dbo].[system_sensitive_word]
  7527. GO
  7528. CREATE TABLE [dbo].[system_sensitive_word] (
  7529. [id] bigint IDENTITY(1,1) NOT NULL,
  7530. [name] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7531. [description] nvarchar(512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7532. [tags] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7533. [status] tinyint NOT NULL,
  7534. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7535. [create_time] datetime2(7) NOT NULL,
  7536. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7537. [update_time] datetime2(7) NOT NULL,
  7538. [deleted] bit DEFAULT 0 NOT NULL
  7539. )
  7540. GO
  7541. ALTER TABLE [dbo].[system_sensitive_word] SET (LOCK_ESCALATION = TABLE)
  7542. GO
  7543. EXEC sp_addextendedproperty
  7544. 'MS_Description', N'编号',
  7545. 'SCHEMA', N'dbo',
  7546. 'TABLE', N'system_sensitive_word',
  7547. 'COLUMN', N'id'
  7548. GO
  7549. EXEC sp_addextendedproperty
  7550. 'MS_Description', N'敏感词',
  7551. 'SCHEMA', N'dbo',
  7552. 'TABLE', N'system_sensitive_word',
  7553. 'COLUMN', N'name'
  7554. GO
  7555. EXEC sp_addextendedproperty
  7556. 'MS_Description', N'描述',
  7557. 'SCHEMA', N'dbo',
  7558. 'TABLE', N'system_sensitive_word',
  7559. 'COLUMN', N'description'
  7560. GO
  7561. EXEC sp_addextendedproperty
  7562. 'MS_Description', N'标签数组',
  7563. 'SCHEMA', N'dbo',
  7564. 'TABLE', N'system_sensitive_word',
  7565. 'COLUMN', N'tags'
  7566. GO
  7567. EXEC sp_addextendedproperty
  7568. 'MS_Description', N'状态',
  7569. 'SCHEMA', N'dbo',
  7570. 'TABLE', N'system_sensitive_word',
  7571. 'COLUMN', N'status'
  7572. GO
  7573. EXEC sp_addextendedproperty
  7574. 'MS_Description', N'创建者',
  7575. 'SCHEMA', N'dbo',
  7576. 'TABLE', N'system_sensitive_word',
  7577. 'COLUMN', N'creator'
  7578. GO
  7579. EXEC sp_addextendedproperty
  7580. 'MS_Description', N'创建时间',
  7581. 'SCHEMA', N'dbo',
  7582. 'TABLE', N'system_sensitive_word',
  7583. 'COLUMN', N'create_time'
  7584. GO
  7585. EXEC sp_addextendedproperty
  7586. 'MS_Description', N'更新者',
  7587. 'SCHEMA', N'dbo',
  7588. 'TABLE', N'system_sensitive_word',
  7589. 'COLUMN', N'updater'
  7590. GO
  7591. EXEC sp_addextendedproperty
  7592. 'MS_Description', N'更新时间',
  7593. 'SCHEMA', N'dbo',
  7594. 'TABLE', N'system_sensitive_word',
  7595. 'COLUMN', N'update_time'
  7596. GO
  7597. EXEC sp_addextendedproperty
  7598. 'MS_Description', N'是否删除',
  7599. 'SCHEMA', N'dbo',
  7600. 'TABLE', N'system_sensitive_word',
  7601. 'COLUMN', N'deleted'
  7602. GO
  7603. EXEC sp_addextendedproperty
  7604. 'MS_Description', N'敏感词',
  7605. 'SCHEMA', N'dbo',
  7606. 'TABLE', N'system_sensitive_word'
  7607. GO
  7608. -- ----------------------------
  7609. -- Records of system_sensitive_word
  7610. -- ----------------------------
  7611. BEGIN TRANSACTION
  7612. GO
  7613. SET IDENTITY_INSERT [dbo].[system_sensitive_word] ON
  7614. GO
  7615. 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')
  7616. GO
  7617. 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')
  7618. GO
  7619. SET IDENTITY_INSERT [dbo].[system_sensitive_word] OFF
  7620. GO
  7621. COMMIT
  7622. GO
  7623. -- ----------------------------
  7624. -- Table structure for system_sms_channel
  7625. -- ----------------------------
  7626. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_channel]') AND type IN ('U'))
  7627. DROP TABLE [dbo].[system_sms_channel]
  7628. GO
  7629. CREATE TABLE [dbo].[system_sms_channel] (
  7630. [id] bigint IDENTITY(1,1) NOT NULL,
  7631. [signature] nvarchar(12) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7632. [code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7633. [status] tinyint NOT NULL,
  7634. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7635. [api_key] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7636. [api_secret] nvarchar(128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7637. [callback_url] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7638. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7639. [create_time] datetime2(7) NOT NULL,
  7640. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7641. [update_time] datetime2(7) NOT NULL,
  7642. [deleted] bit DEFAULT 0 NOT NULL
  7643. )
  7644. GO
  7645. ALTER TABLE [dbo].[system_sms_channel] SET (LOCK_ESCALATION = TABLE)
  7646. GO
  7647. EXEC sp_addextendedproperty
  7648. 'MS_Description', N'编号',
  7649. 'SCHEMA', N'dbo',
  7650. 'TABLE', N'system_sms_channel',
  7651. 'COLUMN', N'id'
  7652. GO
  7653. EXEC sp_addextendedproperty
  7654. 'MS_Description', N'短信签名',
  7655. 'SCHEMA', N'dbo',
  7656. 'TABLE', N'system_sms_channel',
  7657. 'COLUMN', N'signature'
  7658. GO
  7659. EXEC sp_addextendedproperty
  7660. 'MS_Description', N'渠道编码',
  7661. 'SCHEMA', N'dbo',
  7662. 'TABLE', N'system_sms_channel',
  7663. 'COLUMN', N'code'
  7664. GO
  7665. EXEC sp_addextendedproperty
  7666. 'MS_Description', N'开启状态',
  7667. 'SCHEMA', N'dbo',
  7668. 'TABLE', N'system_sms_channel',
  7669. 'COLUMN', N'status'
  7670. GO
  7671. EXEC sp_addextendedproperty
  7672. 'MS_Description', N'备注',
  7673. 'SCHEMA', N'dbo',
  7674. 'TABLE', N'system_sms_channel',
  7675. 'COLUMN', N'remark'
  7676. GO
  7677. EXEC sp_addextendedproperty
  7678. 'MS_Description', N'短信 API 的账号',
  7679. 'SCHEMA', N'dbo',
  7680. 'TABLE', N'system_sms_channel',
  7681. 'COLUMN', N'api_key'
  7682. GO
  7683. EXEC sp_addextendedproperty
  7684. 'MS_Description', N'短信 API 的秘钥',
  7685. 'SCHEMA', N'dbo',
  7686. 'TABLE', N'system_sms_channel',
  7687. 'COLUMN', N'api_secret'
  7688. GO
  7689. EXEC sp_addextendedproperty
  7690. 'MS_Description', N'短信发送回调 URL',
  7691. 'SCHEMA', N'dbo',
  7692. 'TABLE', N'system_sms_channel',
  7693. 'COLUMN', N'callback_url'
  7694. GO
  7695. EXEC sp_addextendedproperty
  7696. 'MS_Description', N'创建者',
  7697. 'SCHEMA', N'dbo',
  7698. 'TABLE', N'system_sms_channel',
  7699. 'COLUMN', N'creator'
  7700. GO
  7701. EXEC sp_addextendedproperty
  7702. 'MS_Description', N'创建时间',
  7703. 'SCHEMA', N'dbo',
  7704. 'TABLE', N'system_sms_channel',
  7705. 'COLUMN', N'create_time'
  7706. GO
  7707. EXEC sp_addextendedproperty
  7708. 'MS_Description', N'更新者',
  7709. 'SCHEMA', N'dbo',
  7710. 'TABLE', N'system_sms_channel',
  7711. 'COLUMN', N'updater'
  7712. GO
  7713. EXEC sp_addextendedproperty
  7714. 'MS_Description', N'更新时间',
  7715. 'SCHEMA', N'dbo',
  7716. 'TABLE', N'system_sms_channel',
  7717. 'COLUMN', N'update_time'
  7718. GO
  7719. EXEC sp_addextendedproperty
  7720. 'MS_Description', N'是否删除',
  7721. 'SCHEMA', N'dbo',
  7722. 'TABLE', N'system_sms_channel',
  7723. 'COLUMN', N'deleted'
  7724. GO
  7725. EXEC sp_addextendedproperty
  7726. 'MS_Description', N'短信渠道',
  7727. 'SCHEMA', N'dbo',
  7728. 'TABLE', N'system_sms_channel'
  7729. GO
  7730. -- ----------------------------
  7731. -- Records of system_sms_channel
  7732. -- ----------------------------
  7733. BEGIN TRANSACTION
  7734. GO
  7735. SET IDENTITY_INSERT [dbo].[system_sms_channel] ON
  7736. GO
  7737. 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'1', N'芋道', N'YUN_PIAN', N'0', N'呵呵呵哒', N'1555a14277cb8a608cf45a9e6a80d510', NULL, N'http://vdwapu.natappfree.cc/admin-api/system/sms/callback/yunpian', N'', N'2021-03-31 06:12:20.0000000', N'1', N'2022-02-23 16:48:44.0000000', N'0')
  7738. GO
  7739. 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')
  7740. GO
  7741. 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')
  7742. GO
  7743. 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')
  7744. GO
  7745. SET IDENTITY_INSERT [dbo].[system_sms_channel] OFF
  7746. GO
  7747. COMMIT
  7748. GO
  7749. -- ----------------------------
  7750. -- Table structure for system_sms_code
  7751. -- ----------------------------
  7752. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_code]') AND type IN ('U'))
  7753. DROP TABLE [dbo].[system_sms_code]
  7754. GO
  7755. CREATE TABLE [dbo].[system_sms_code] (
  7756. [id] bigint IDENTITY(1,1) NOT NULL,
  7757. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7758. [code] nvarchar(6) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7759. [create_ip] nvarchar(15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7760. [scene] tinyint NOT NULL,
  7761. [today_index] tinyint NOT NULL,
  7762. [used] tinyint NOT NULL,
  7763. [used_time] datetime2(7) NULL,
  7764. [used_ip] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7765. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7766. [create_time] datetime2(7) NOT NULL,
  7767. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7768. [update_time] datetime2(7) NOT NULL,
  7769. [tenant_id] bigint NOT NULL,
  7770. [deleted] bit DEFAULT 0 NOT NULL
  7771. )
  7772. GO
  7773. ALTER TABLE [dbo].[system_sms_code] SET (LOCK_ESCALATION = TABLE)
  7774. GO
  7775. EXEC sp_addextendedproperty
  7776. 'MS_Description', N'编号',
  7777. 'SCHEMA', N'dbo',
  7778. 'TABLE', N'system_sms_code',
  7779. 'COLUMN', N'id'
  7780. GO
  7781. EXEC sp_addextendedproperty
  7782. 'MS_Description', N'手机号',
  7783. 'SCHEMA', N'dbo',
  7784. 'TABLE', N'system_sms_code',
  7785. 'COLUMN', N'mobile'
  7786. GO
  7787. EXEC sp_addextendedproperty
  7788. 'MS_Description', N'验证码',
  7789. 'SCHEMA', N'dbo',
  7790. 'TABLE', N'system_sms_code',
  7791. 'COLUMN', N'code'
  7792. GO
  7793. EXEC sp_addextendedproperty
  7794. 'MS_Description', N'创建 IP',
  7795. 'SCHEMA', N'dbo',
  7796. 'TABLE', N'system_sms_code',
  7797. 'COLUMN', N'create_ip'
  7798. GO
  7799. EXEC sp_addextendedproperty
  7800. 'MS_Description', N'发送场景',
  7801. 'SCHEMA', N'dbo',
  7802. 'TABLE', N'system_sms_code',
  7803. 'COLUMN', N'scene'
  7804. GO
  7805. EXEC sp_addextendedproperty
  7806. 'MS_Description', N'今日发送的第几条',
  7807. 'SCHEMA', N'dbo',
  7808. 'TABLE', N'system_sms_code',
  7809. 'COLUMN', N'today_index'
  7810. GO
  7811. EXEC sp_addextendedproperty
  7812. 'MS_Description', N'是否使用',
  7813. 'SCHEMA', N'dbo',
  7814. 'TABLE', N'system_sms_code',
  7815. 'COLUMN', N'used'
  7816. GO
  7817. EXEC sp_addextendedproperty
  7818. 'MS_Description', N'使用时间',
  7819. 'SCHEMA', N'dbo',
  7820. 'TABLE', N'system_sms_code',
  7821. 'COLUMN', N'used_time'
  7822. GO
  7823. EXEC sp_addextendedproperty
  7824. 'MS_Description', N'使用 IP',
  7825. 'SCHEMA', N'dbo',
  7826. 'TABLE', N'system_sms_code',
  7827. 'COLUMN', N'used_ip'
  7828. GO
  7829. EXEC sp_addextendedproperty
  7830. 'MS_Description', N'创建者',
  7831. 'SCHEMA', N'dbo',
  7832. 'TABLE', N'system_sms_code',
  7833. 'COLUMN', N'creator'
  7834. GO
  7835. EXEC sp_addextendedproperty
  7836. 'MS_Description', N'创建时间',
  7837. 'SCHEMA', N'dbo',
  7838. 'TABLE', N'system_sms_code',
  7839. 'COLUMN', N'create_time'
  7840. GO
  7841. EXEC sp_addextendedproperty
  7842. 'MS_Description', N'更新者',
  7843. 'SCHEMA', N'dbo',
  7844. 'TABLE', N'system_sms_code',
  7845. 'COLUMN', N'updater'
  7846. GO
  7847. EXEC sp_addextendedproperty
  7848. 'MS_Description', N'更新时间',
  7849. 'SCHEMA', N'dbo',
  7850. 'TABLE', N'system_sms_code',
  7851. 'COLUMN', N'update_time'
  7852. GO
  7853. EXEC sp_addextendedproperty
  7854. 'MS_Description', N'租户编号',
  7855. 'SCHEMA', N'dbo',
  7856. 'TABLE', N'system_sms_code',
  7857. 'COLUMN', N'tenant_id'
  7858. GO
  7859. EXEC sp_addextendedproperty
  7860. 'MS_Description', N'是否删除',
  7861. 'SCHEMA', N'dbo',
  7862. 'TABLE', N'system_sms_code',
  7863. 'COLUMN', N'deleted'
  7864. GO
  7865. EXEC sp_addextendedproperty
  7866. 'MS_Description', N'手机验证码',
  7867. 'SCHEMA', N'dbo',
  7868. 'TABLE', N'system_sms_code'
  7869. GO
  7870. -- ----------------------------
  7871. -- Records of system_sms_code
  7872. -- ----------------------------
  7873. BEGIN TRANSACTION
  7874. GO
  7875. SET IDENTITY_INSERT [dbo].[system_sms_code] ON
  7876. GO
  7877. SET IDENTITY_INSERT [dbo].[system_sms_code] OFF
  7878. GO
  7879. COMMIT
  7880. GO
  7881. -- ----------------------------
  7882. -- Table structure for system_sms_log
  7883. -- ----------------------------
  7884. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_log]') AND type IN ('U'))
  7885. DROP TABLE [dbo].[system_sms_log]
  7886. GO
  7887. CREATE TABLE [dbo].[system_sms_log] (
  7888. [id] bigint IDENTITY(1,1) NOT NULL,
  7889. [channel_id] bigint NOT NULL,
  7890. [channel_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7891. [template_id] bigint NOT NULL,
  7892. [template_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7893. [template_type] tinyint NOT NULL,
  7894. [template_content] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7895. [template_params] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7896. [api_template_id] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7897. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  7898. [user_id] bigint NULL,
  7899. [user_type] tinyint NULL,
  7900. [send_status] tinyint NOT NULL,
  7901. [send_time] datetime2(7) NULL,
  7902. [send_code] int NULL,
  7903. [send_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7904. [api_send_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7905. [api_send_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7906. [api_request_id] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7907. [api_serial_no] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7908. [receive_status] tinyint NOT NULL,
  7909. [receive_time] datetime2(7) NULL,
  7910. [api_receive_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7911. [api_receive_msg] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7912. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7913. [create_time] datetime2(7) NOT NULL,
  7914. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  7915. [update_time] datetime2(7) NOT NULL,
  7916. [deleted] bit DEFAULT 0 NOT NULL
  7917. )
  7918. GO
  7919. ALTER TABLE [dbo].[system_sms_log] SET (LOCK_ESCALATION = TABLE)
  7920. GO
  7921. EXEC sp_addextendedproperty
  7922. 'MS_Description', N'编号',
  7923. 'SCHEMA', N'dbo',
  7924. 'TABLE', N'system_sms_log',
  7925. 'COLUMN', N'id'
  7926. GO
  7927. EXEC sp_addextendedproperty
  7928. 'MS_Description', N'短信渠道编号',
  7929. 'SCHEMA', N'dbo',
  7930. 'TABLE', N'system_sms_log',
  7931. 'COLUMN', N'channel_id'
  7932. GO
  7933. EXEC sp_addextendedproperty
  7934. 'MS_Description', N'短信渠道编码',
  7935. 'SCHEMA', N'dbo',
  7936. 'TABLE', N'system_sms_log',
  7937. 'COLUMN', N'channel_code'
  7938. GO
  7939. EXEC sp_addextendedproperty
  7940. 'MS_Description', N'模板编号',
  7941. 'SCHEMA', N'dbo',
  7942. 'TABLE', N'system_sms_log',
  7943. 'COLUMN', N'template_id'
  7944. GO
  7945. EXEC sp_addextendedproperty
  7946. 'MS_Description', N'模板编码',
  7947. 'SCHEMA', N'dbo',
  7948. 'TABLE', N'system_sms_log',
  7949. 'COLUMN', N'template_code'
  7950. GO
  7951. EXEC sp_addextendedproperty
  7952. 'MS_Description', N'短信类型',
  7953. 'SCHEMA', N'dbo',
  7954. 'TABLE', N'system_sms_log',
  7955. 'COLUMN', N'template_type'
  7956. GO
  7957. EXEC sp_addextendedproperty
  7958. 'MS_Description', N'短信内容',
  7959. 'SCHEMA', N'dbo',
  7960. 'TABLE', N'system_sms_log',
  7961. 'COLUMN', N'template_content'
  7962. GO
  7963. EXEC sp_addextendedproperty
  7964. 'MS_Description', N'短信参数',
  7965. 'SCHEMA', N'dbo',
  7966. 'TABLE', N'system_sms_log',
  7967. 'COLUMN', N'template_params'
  7968. GO
  7969. EXEC sp_addextendedproperty
  7970. 'MS_Description', N'短信 API 的模板编号',
  7971. 'SCHEMA', N'dbo',
  7972. 'TABLE', N'system_sms_log',
  7973. 'COLUMN', N'api_template_id'
  7974. GO
  7975. EXEC sp_addextendedproperty
  7976. 'MS_Description', N'手机号',
  7977. 'SCHEMA', N'dbo',
  7978. 'TABLE', N'system_sms_log',
  7979. 'COLUMN', N'mobile'
  7980. GO
  7981. EXEC sp_addextendedproperty
  7982. 'MS_Description', N'用户编号',
  7983. 'SCHEMA', N'dbo',
  7984. 'TABLE', N'system_sms_log',
  7985. 'COLUMN', N'user_id'
  7986. GO
  7987. EXEC sp_addextendedproperty
  7988. 'MS_Description', N'用户类型',
  7989. 'SCHEMA', N'dbo',
  7990. 'TABLE', N'system_sms_log',
  7991. 'COLUMN', N'user_type'
  7992. GO
  7993. EXEC sp_addextendedproperty
  7994. 'MS_Description', N'发送状态',
  7995. 'SCHEMA', N'dbo',
  7996. 'TABLE', N'system_sms_log',
  7997. 'COLUMN', N'send_status'
  7998. GO
  7999. EXEC sp_addextendedproperty
  8000. 'MS_Description', N'发送时间',
  8001. 'SCHEMA', N'dbo',
  8002. 'TABLE', N'system_sms_log',
  8003. 'COLUMN', N'send_time'
  8004. GO
  8005. EXEC sp_addextendedproperty
  8006. 'MS_Description', N'发送结果的编码',
  8007. 'SCHEMA', N'dbo',
  8008. 'TABLE', N'system_sms_log',
  8009. 'COLUMN', N'send_code'
  8010. GO
  8011. EXEC sp_addextendedproperty
  8012. 'MS_Description', N'发送结果的提示',
  8013. 'SCHEMA', N'dbo',
  8014. 'TABLE', N'system_sms_log',
  8015. 'COLUMN', N'send_msg'
  8016. GO
  8017. EXEC sp_addextendedproperty
  8018. 'MS_Description', N'短信 API 发送结果的编码',
  8019. 'SCHEMA', N'dbo',
  8020. 'TABLE', N'system_sms_log',
  8021. 'COLUMN', N'api_send_code'
  8022. GO
  8023. EXEC sp_addextendedproperty
  8024. 'MS_Description', N'短信 API 发送失败的提示',
  8025. 'SCHEMA', N'dbo',
  8026. 'TABLE', N'system_sms_log',
  8027. 'COLUMN', N'api_send_msg'
  8028. GO
  8029. EXEC sp_addextendedproperty
  8030. 'MS_Description', N'短信 API 发送返回的唯一请求 ID',
  8031. 'SCHEMA', N'dbo',
  8032. 'TABLE', N'system_sms_log',
  8033. 'COLUMN', N'api_request_id'
  8034. GO
  8035. EXEC sp_addextendedproperty
  8036. 'MS_Description', N'短信 API 发送返回的序号',
  8037. 'SCHEMA', N'dbo',
  8038. 'TABLE', N'system_sms_log',
  8039. 'COLUMN', N'api_serial_no'
  8040. GO
  8041. EXEC sp_addextendedproperty
  8042. 'MS_Description', N'接收状态',
  8043. 'SCHEMA', N'dbo',
  8044. 'TABLE', N'system_sms_log',
  8045. 'COLUMN', N'receive_status'
  8046. GO
  8047. EXEC sp_addextendedproperty
  8048. 'MS_Description', N'接收时间',
  8049. 'SCHEMA', N'dbo',
  8050. 'TABLE', N'system_sms_log',
  8051. 'COLUMN', N'receive_time'
  8052. GO
  8053. EXEC sp_addextendedproperty
  8054. 'MS_Description', N'API 接收结果的编码',
  8055. 'SCHEMA', N'dbo',
  8056. 'TABLE', N'system_sms_log',
  8057. 'COLUMN', N'api_receive_code'
  8058. GO
  8059. EXEC sp_addextendedproperty
  8060. 'MS_Description', N'API 接收结果的说明',
  8061. 'SCHEMA', N'dbo',
  8062. 'TABLE', N'system_sms_log',
  8063. 'COLUMN', N'api_receive_msg'
  8064. GO
  8065. EXEC sp_addextendedproperty
  8066. 'MS_Description', N'创建者',
  8067. 'SCHEMA', N'dbo',
  8068. 'TABLE', N'system_sms_log',
  8069. 'COLUMN', N'creator'
  8070. GO
  8071. EXEC sp_addextendedproperty
  8072. 'MS_Description', N'创建时间',
  8073. 'SCHEMA', N'dbo',
  8074. 'TABLE', N'system_sms_log',
  8075. 'COLUMN', N'create_time'
  8076. GO
  8077. EXEC sp_addextendedproperty
  8078. 'MS_Description', N'更新者',
  8079. 'SCHEMA', N'dbo',
  8080. 'TABLE', N'system_sms_log',
  8081. 'COLUMN', N'updater'
  8082. GO
  8083. EXEC sp_addextendedproperty
  8084. 'MS_Description', N'更新时间',
  8085. 'SCHEMA', N'dbo',
  8086. 'TABLE', N'system_sms_log',
  8087. 'COLUMN', N'update_time'
  8088. GO
  8089. EXEC sp_addextendedproperty
  8090. 'MS_Description', N'是否删除',
  8091. 'SCHEMA', N'dbo',
  8092. 'TABLE', N'system_sms_log',
  8093. 'COLUMN', N'deleted'
  8094. GO
  8095. EXEC sp_addextendedproperty
  8096. 'MS_Description', N'短信日志',
  8097. 'SCHEMA', N'dbo',
  8098. 'TABLE', N'system_sms_log'
  8099. GO
  8100. -- ----------------------------
  8101. -- Records of system_sms_log
  8102. -- ----------------------------
  8103. BEGIN TRANSACTION
  8104. GO
  8105. SET IDENTITY_INSERT [dbo].[system_sms_log] ON
  8106. GO
  8107. SET IDENTITY_INSERT [dbo].[system_sms_log] OFF
  8108. GO
  8109. COMMIT
  8110. GO
  8111. -- ----------------------------
  8112. -- Table structure for system_sms_template
  8113. -- ----------------------------
  8114. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_sms_template]') AND type IN ('U'))
  8115. DROP TABLE [dbo].[system_sms_template]
  8116. GO
  8117. CREATE TABLE [dbo].[system_sms_template] (
  8118. [id] bigint IDENTITY(1,1) NOT NULL,
  8119. [type] tinyint NOT NULL,
  8120. [status] tinyint NOT NULL,
  8121. [code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8122. [name] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8123. [content] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8124. [params] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8125. [remark] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8126. [api_template_id] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8127. [channel_id] bigint NOT NULL,
  8128. [channel_code] nvarchar(63) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8129. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8130. [create_time] datetime2(7) NOT NULL,
  8131. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8132. [update_time] datetime2(7) NOT NULL,
  8133. [deleted] bit DEFAULT 0 NOT NULL
  8134. )
  8135. GO
  8136. ALTER TABLE [dbo].[system_sms_template] SET (LOCK_ESCALATION = TABLE)
  8137. GO
  8138. EXEC sp_addextendedproperty
  8139. 'MS_Description', N'编号',
  8140. 'SCHEMA', N'dbo',
  8141. 'TABLE', N'system_sms_template',
  8142. 'COLUMN', N'id'
  8143. GO
  8144. EXEC sp_addextendedproperty
  8145. 'MS_Description', N'短信签名',
  8146. 'SCHEMA', N'dbo',
  8147. 'TABLE', N'system_sms_template',
  8148. 'COLUMN', N'type'
  8149. GO
  8150. EXEC sp_addextendedproperty
  8151. 'MS_Description', N'开启状态',
  8152. 'SCHEMA', N'dbo',
  8153. 'TABLE', N'system_sms_template',
  8154. 'COLUMN', N'status'
  8155. GO
  8156. EXEC sp_addextendedproperty
  8157. 'MS_Description', N'模板编码',
  8158. 'SCHEMA', N'dbo',
  8159. 'TABLE', N'system_sms_template',
  8160. 'COLUMN', N'code'
  8161. GO
  8162. EXEC sp_addextendedproperty
  8163. 'MS_Description', N'模板名称',
  8164. 'SCHEMA', N'dbo',
  8165. 'TABLE', N'system_sms_template',
  8166. 'COLUMN', N'name'
  8167. GO
  8168. EXEC sp_addextendedproperty
  8169. 'MS_Description', N'模板内容',
  8170. 'SCHEMA', N'dbo',
  8171. 'TABLE', N'system_sms_template',
  8172. 'COLUMN', N'content'
  8173. GO
  8174. EXEC sp_addextendedproperty
  8175. 'MS_Description', N'参数数组',
  8176. 'SCHEMA', N'dbo',
  8177. 'TABLE', N'system_sms_template',
  8178. 'COLUMN', N'params'
  8179. GO
  8180. EXEC sp_addextendedproperty
  8181. 'MS_Description', N'备注',
  8182. 'SCHEMA', N'dbo',
  8183. 'TABLE', N'system_sms_template',
  8184. 'COLUMN', N'remark'
  8185. GO
  8186. EXEC sp_addextendedproperty
  8187. 'MS_Description', N'短信 API 的模板编号',
  8188. 'SCHEMA', N'dbo',
  8189. 'TABLE', N'system_sms_template',
  8190. 'COLUMN', N'api_template_id'
  8191. GO
  8192. EXEC sp_addextendedproperty
  8193. 'MS_Description', N'短信渠道编号',
  8194. 'SCHEMA', N'dbo',
  8195. 'TABLE', N'system_sms_template',
  8196. 'COLUMN', N'channel_id'
  8197. GO
  8198. EXEC sp_addextendedproperty
  8199. 'MS_Description', N'短信渠道编码',
  8200. 'SCHEMA', N'dbo',
  8201. 'TABLE', N'system_sms_template',
  8202. 'COLUMN', N'channel_code'
  8203. GO
  8204. EXEC sp_addextendedproperty
  8205. 'MS_Description', N'创建者',
  8206. 'SCHEMA', N'dbo',
  8207. 'TABLE', N'system_sms_template',
  8208. 'COLUMN', N'creator'
  8209. GO
  8210. EXEC sp_addextendedproperty
  8211. 'MS_Description', N'创建时间',
  8212. 'SCHEMA', N'dbo',
  8213. 'TABLE', N'system_sms_template',
  8214. 'COLUMN', N'create_time'
  8215. GO
  8216. EXEC sp_addextendedproperty
  8217. 'MS_Description', N'更新者',
  8218. 'SCHEMA', N'dbo',
  8219. 'TABLE', N'system_sms_template',
  8220. 'COLUMN', N'updater'
  8221. GO
  8222. EXEC sp_addextendedproperty
  8223. 'MS_Description', N'更新时间',
  8224. 'SCHEMA', N'dbo',
  8225. 'TABLE', N'system_sms_template',
  8226. 'COLUMN', N'update_time'
  8227. GO
  8228. EXEC sp_addextendedproperty
  8229. 'MS_Description', N'是否删除',
  8230. 'SCHEMA', N'dbo',
  8231. 'TABLE', N'system_sms_template',
  8232. 'COLUMN', N'deleted'
  8233. GO
  8234. EXEC sp_addextendedproperty
  8235. 'MS_Description', N'短信模板',
  8236. 'SCHEMA', N'dbo',
  8237. 'TABLE', N'system_sms_template'
  8238. GO
  8239. -- ----------------------------
  8240. -- Records of system_sms_template
  8241. -- ----------------------------
  8242. BEGIN TRANSACTION
  8243. GO
  8244. SET IDENTITY_INSERT [dbo].[system_sms_template] ON
  8245. GO
  8246. 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')
  8247. GO
  8248. 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')
  8249. GO
  8250. 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')
  8251. GO
  8252. 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')
  8253. GO
  8254. 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')
  8255. GO
  8256. 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')
  8257. GO
  8258. 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')
  8259. GO
  8260. 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')
  8261. GO
  8262. 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')
  8263. GO
  8264. 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')
  8265. GO
  8266. SET IDENTITY_INSERT [dbo].[system_sms_template] OFF
  8267. GO
  8268. COMMIT
  8269. GO
  8270. -- ----------------------------
  8271. -- Table structure for system_social_user
  8272. -- ----------------------------
  8273. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_social_user]') AND type IN ('U'))
  8274. DROP TABLE [dbo].[system_social_user]
  8275. GO
  8276. CREATE TABLE [dbo].[system_social_user] (
  8277. [id] bigint IDENTITY(1,1) NOT NULL,
  8278. [type] tinyint NOT NULL,
  8279. [openid] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8280. [token] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8281. [raw_token_info] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8282. [nickname] nvarchar(32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8283. [avatar] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8284. [raw_user_info] nvarchar(1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8285. [code] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8286. [state] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8287. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8288. [create_time] datetime2(7) NOT NULL,
  8289. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8290. [update_time] datetime2(7) NOT NULL,
  8291. [tenant_id] bigint NOT NULL,
  8292. [deleted] bit DEFAULT 0 NOT NULL
  8293. )
  8294. GO
  8295. ALTER TABLE [dbo].[system_social_user] SET (LOCK_ESCALATION = TABLE)
  8296. GO
  8297. EXEC sp_addextendedproperty
  8298. 'MS_Description', N'主键(自增策略)',
  8299. 'SCHEMA', N'dbo',
  8300. 'TABLE', N'system_social_user',
  8301. 'COLUMN', N'id'
  8302. GO
  8303. EXEC sp_addextendedproperty
  8304. 'MS_Description', N'社交平台的类型',
  8305. 'SCHEMA', N'dbo',
  8306. 'TABLE', N'system_social_user',
  8307. 'COLUMN', N'type'
  8308. GO
  8309. EXEC sp_addextendedproperty
  8310. 'MS_Description', N'社交 openid',
  8311. 'SCHEMA', N'dbo',
  8312. 'TABLE', N'system_social_user',
  8313. 'COLUMN', N'openid'
  8314. GO
  8315. EXEC sp_addextendedproperty
  8316. 'MS_Description', N'社交 token',
  8317. 'SCHEMA', N'dbo',
  8318. 'TABLE', N'system_social_user',
  8319. 'COLUMN', N'token'
  8320. GO
  8321. EXEC sp_addextendedproperty
  8322. 'MS_Description', N'原始 Token 数据,一般是 JSON 格式',
  8323. 'SCHEMA', N'dbo',
  8324. 'TABLE', N'system_social_user',
  8325. 'COLUMN', N'raw_token_info'
  8326. GO
  8327. EXEC sp_addextendedproperty
  8328. 'MS_Description', N'用户昵称',
  8329. 'SCHEMA', N'dbo',
  8330. 'TABLE', N'system_social_user',
  8331. 'COLUMN', N'nickname'
  8332. GO
  8333. EXEC sp_addextendedproperty
  8334. 'MS_Description', N'用户头像',
  8335. 'SCHEMA', N'dbo',
  8336. 'TABLE', N'system_social_user',
  8337. 'COLUMN', N'avatar'
  8338. GO
  8339. EXEC sp_addextendedproperty
  8340. 'MS_Description', N'原始用户数据,一般是 JSON 格式',
  8341. 'SCHEMA', N'dbo',
  8342. 'TABLE', N'system_social_user',
  8343. 'COLUMN', N'raw_user_info'
  8344. GO
  8345. EXEC sp_addextendedproperty
  8346. 'MS_Description', N'最后一次的认证 code',
  8347. 'SCHEMA', N'dbo',
  8348. 'TABLE', N'system_social_user',
  8349. 'COLUMN', N'code'
  8350. GO
  8351. EXEC sp_addextendedproperty
  8352. 'MS_Description', N'最后一次的认证 state',
  8353. 'SCHEMA', N'dbo',
  8354. 'TABLE', N'system_social_user',
  8355. 'COLUMN', N'state'
  8356. GO
  8357. EXEC sp_addextendedproperty
  8358. 'MS_Description', N'创建者',
  8359. 'SCHEMA', N'dbo',
  8360. 'TABLE', N'system_social_user',
  8361. 'COLUMN', N'creator'
  8362. GO
  8363. EXEC sp_addextendedproperty
  8364. 'MS_Description', N'创建时间',
  8365. 'SCHEMA', N'dbo',
  8366. 'TABLE', N'system_social_user',
  8367. 'COLUMN', N'create_time'
  8368. GO
  8369. EXEC sp_addextendedproperty
  8370. 'MS_Description', N'更新者',
  8371. 'SCHEMA', N'dbo',
  8372. 'TABLE', N'system_social_user',
  8373. 'COLUMN', N'updater'
  8374. GO
  8375. EXEC sp_addextendedproperty
  8376. 'MS_Description', N'更新时间',
  8377. 'SCHEMA', N'dbo',
  8378. 'TABLE', N'system_social_user',
  8379. 'COLUMN', N'update_time'
  8380. GO
  8381. EXEC sp_addextendedproperty
  8382. 'MS_Description', N'租户编号',
  8383. 'SCHEMA', N'dbo',
  8384. 'TABLE', N'system_social_user',
  8385. 'COLUMN', N'tenant_id'
  8386. GO
  8387. EXEC sp_addextendedproperty
  8388. 'MS_Description', N'是否删除',
  8389. 'SCHEMA', N'dbo',
  8390. 'TABLE', N'system_social_user',
  8391. 'COLUMN', N'deleted'
  8392. GO
  8393. EXEC sp_addextendedproperty
  8394. 'MS_Description', N'社交用户表',
  8395. 'SCHEMA', N'dbo',
  8396. 'TABLE', N'system_social_user'
  8397. GO
  8398. -- ----------------------------
  8399. -- Records of system_social_user
  8400. -- ----------------------------
  8401. BEGIN TRANSACTION
  8402. GO
  8403. SET IDENTITY_INSERT [dbo].[system_social_user] ON
  8404. GO
  8405. SET IDENTITY_INSERT [dbo].[system_social_user] OFF
  8406. GO
  8407. COMMIT
  8408. GO
  8409. -- ----------------------------
  8410. -- Table structure for system_social_user_bind
  8411. -- ----------------------------
  8412. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_social_user_bind]') AND type IN ('U'))
  8413. DROP TABLE [dbo].[system_social_user_bind]
  8414. GO
  8415. CREATE TABLE [dbo].[system_social_user_bind] (
  8416. [id] bigint IDENTITY(1,1) NOT NULL,
  8417. [user_id] bigint NOT NULL,
  8418. [user_type] tinyint NOT NULL,
  8419. [social_type] tinyint NOT NULL,
  8420. [social_user_id] bigint NOT NULL,
  8421. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8422. [create_time] datetime2(7) NOT NULL,
  8423. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8424. [update_time] datetime2(7) NOT NULL,
  8425. [tenant_id] bigint NOT NULL,
  8426. [deleted] bit DEFAULT 0 NOT NULL
  8427. )
  8428. GO
  8429. ALTER TABLE [dbo].[system_social_user_bind] SET (LOCK_ESCALATION = TABLE)
  8430. GO
  8431. EXEC sp_addextendedproperty
  8432. 'MS_Description', N'主键(自增策略)',
  8433. 'SCHEMA', N'dbo',
  8434. 'TABLE', N'system_social_user_bind',
  8435. 'COLUMN', N'id'
  8436. GO
  8437. EXEC sp_addextendedproperty
  8438. 'MS_Description', N'用户编号',
  8439. 'SCHEMA', N'dbo',
  8440. 'TABLE', N'system_social_user_bind',
  8441. 'COLUMN', N'user_id'
  8442. GO
  8443. EXEC sp_addextendedproperty
  8444. 'MS_Description', N'用户类型',
  8445. 'SCHEMA', N'dbo',
  8446. 'TABLE', N'system_social_user_bind',
  8447. 'COLUMN', N'user_type'
  8448. GO
  8449. EXEC sp_addextendedproperty
  8450. 'MS_Description', N'社交平台的类型',
  8451. 'SCHEMA', N'dbo',
  8452. 'TABLE', N'system_social_user_bind',
  8453. 'COLUMN', N'social_type'
  8454. GO
  8455. EXEC sp_addextendedproperty
  8456. 'MS_Description', N'社交用户的编号',
  8457. 'SCHEMA', N'dbo',
  8458. 'TABLE', N'system_social_user_bind',
  8459. 'COLUMN', N'social_user_id'
  8460. GO
  8461. EXEC sp_addextendedproperty
  8462. 'MS_Description', N'创建者',
  8463. 'SCHEMA', N'dbo',
  8464. 'TABLE', N'system_social_user_bind',
  8465. 'COLUMN', N'creator'
  8466. GO
  8467. EXEC sp_addextendedproperty
  8468. 'MS_Description', N'创建时间',
  8469. 'SCHEMA', N'dbo',
  8470. 'TABLE', N'system_social_user_bind',
  8471. 'COLUMN', N'create_time'
  8472. GO
  8473. EXEC sp_addextendedproperty
  8474. 'MS_Description', N'更新者',
  8475. 'SCHEMA', N'dbo',
  8476. 'TABLE', N'system_social_user_bind',
  8477. 'COLUMN', N'updater'
  8478. GO
  8479. EXEC sp_addextendedproperty
  8480. 'MS_Description', N'更新时间',
  8481. 'SCHEMA', N'dbo',
  8482. 'TABLE', N'system_social_user_bind',
  8483. 'COLUMN', N'update_time'
  8484. GO
  8485. EXEC sp_addextendedproperty
  8486. 'MS_Description', N'租户编号',
  8487. 'SCHEMA', N'dbo',
  8488. 'TABLE', N'system_social_user_bind',
  8489. 'COLUMN', N'tenant_id'
  8490. GO
  8491. EXEC sp_addextendedproperty
  8492. 'MS_Description', N'是否删除',
  8493. 'SCHEMA', N'dbo',
  8494. 'TABLE', N'system_social_user_bind',
  8495. 'COLUMN', N'deleted'
  8496. GO
  8497. EXEC sp_addextendedproperty
  8498. 'MS_Description', N'社交绑定表',
  8499. 'SCHEMA', N'dbo',
  8500. 'TABLE', N'system_social_user_bind'
  8501. GO
  8502. -- ----------------------------
  8503. -- Records of system_social_user_bind
  8504. -- ----------------------------
  8505. BEGIN TRANSACTION
  8506. GO
  8507. SET IDENTITY_INSERT [dbo].[system_social_user_bind] ON
  8508. GO
  8509. SET IDENTITY_INSERT [dbo].[system_social_user_bind] OFF
  8510. GO
  8511. COMMIT
  8512. GO
  8513. -- ----------------------------
  8514. -- Table structure for system_tenant
  8515. -- ----------------------------
  8516. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_tenant]') AND type IN ('U'))
  8517. DROP TABLE [dbo].[system_tenant]
  8518. GO
  8519. CREATE TABLE [dbo].[system_tenant] (
  8520. [id] bigint IDENTITY(1,1) NOT NULL,
  8521. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8522. [contact_user_id] bigint NULL,
  8523. [contact_name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8524. [contact_mobile] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8525. [status] tinyint NOT NULL,
  8526. [domain] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8527. [package_id] bigint NOT NULL,
  8528. [expire_time] datetime2(7) NOT NULL,
  8529. [account_count] int NOT NULL,
  8530. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8531. [create_time] datetime2(7) NOT NULL,
  8532. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8533. [update_time] datetime2(7) NOT NULL,
  8534. [deleted] bit DEFAULT 0 NOT NULL
  8535. )
  8536. GO
  8537. ALTER TABLE [dbo].[system_tenant] SET (LOCK_ESCALATION = TABLE)
  8538. GO
  8539. EXEC sp_addextendedproperty
  8540. 'MS_Description', N'租户编号',
  8541. 'SCHEMA', N'dbo',
  8542. 'TABLE', N'system_tenant',
  8543. 'COLUMN', N'id'
  8544. GO
  8545. EXEC sp_addextendedproperty
  8546. 'MS_Description', N'租户名',
  8547. 'SCHEMA', N'dbo',
  8548. 'TABLE', N'system_tenant',
  8549. 'COLUMN', N'name'
  8550. GO
  8551. EXEC sp_addextendedproperty
  8552. 'MS_Description', N'联系人的用户编号',
  8553. 'SCHEMA', N'dbo',
  8554. 'TABLE', N'system_tenant',
  8555. 'COLUMN', N'contact_user_id'
  8556. GO
  8557. EXEC sp_addextendedproperty
  8558. 'MS_Description', N'联系人',
  8559. 'SCHEMA', N'dbo',
  8560. 'TABLE', N'system_tenant',
  8561. 'COLUMN', N'contact_name'
  8562. GO
  8563. EXEC sp_addextendedproperty
  8564. 'MS_Description', N'联系手机',
  8565. 'SCHEMA', N'dbo',
  8566. 'TABLE', N'system_tenant',
  8567. 'COLUMN', N'contact_mobile'
  8568. GO
  8569. EXEC sp_addextendedproperty
  8570. 'MS_Description', N'租户状态(0正常 1停用)',
  8571. 'SCHEMA', N'dbo',
  8572. 'TABLE', N'system_tenant',
  8573. 'COLUMN', N'status'
  8574. GO
  8575. EXEC sp_addextendedproperty
  8576. 'MS_Description', N'绑定域名',
  8577. 'SCHEMA', N'dbo',
  8578. 'TABLE', N'system_tenant',
  8579. 'COLUMN', N'domain'
  8580. GO
  8581. EXEC sp_addextendedproperty
  8582. 'MS_Description', N'租户套餐编号',
  8583. 'SCHEMA', N'dbo',
  8584. 'TABLE', N'system_tenant',
  8585. 'COLUMN', N'package_id'
  8586. GO
  8587. EXEC sp_addextendedproperty
  8588. 'MS_Description', N'过期时间',
  8589. 'SCHEMA', N'dbo',
  8590. 'TABLE', N'system_tenant',
  8591. 'COLUMN', N'expire_time'
  8592. GO
  8593. EXEC sp_addextendedproperty
  8594. 'MS_Description', N'账号数量',
  8595. 'SCHEMA', N'dbo',
  8596. 'TABLE', N'system_tenant',
  8597. 'COLUMN', N'account_count'
  8598. GO
  8599. EXEC sp_addextendedproperty
  8600. 'MS_Description', N'创建者',
  8601. 'SCHEMA', N'dbo',
  8602. 'TABLE', N'system_tenant',
  8603. 'COLUMN', N'creator'
  8604. GO
  8605. EXEC sp_addextendedproperty
  8606. 'MS_Description', N'创建时间',
  8607. 'SCHEMA', N'dbo',
  8608. 'TABLE', N'system_tenant',
  8609. 'COLUMN', N'create_time'
  8610. GO
  8611. EXEC sp_addextendedproperty
  8612. 'MS_Description', N'更新者',
  8613. 'SCHEMA', N'dbo',
  8614. 'TABLE', N'system_tenant',
  8615. 'COLUMN', N'updater'
  8616. GO
  8617. EXEC sp_addextendedproperty
  8618. 'MS_Description', N'更新时间',
  8619. 'SCHEMA', N'dbo',
  8620. 'TABLE', N'system_tenant',
  8621. 'COLUMN', N'update_time'
  8622. GO
  8623. EXEC sp_addextendedproperty
  8624. 'MS_Description', N'是否删除',
  8625. 'SCHEMA', N'dbo',
  8626. 'TABLE', N'system_tenant',
  8627. 'COLUMN', N'deleted'
  8628. GO
  8629. EXEC sp_addextendedproperty
  8630. 'MS_Description', N'租户表',
  8631. 'SCHEMA', N'dbo',
  8632. 'TABLE', N'system_tenant'
  8633. GO
  8634. -- ----------------------------
  8635. -- Records of system_tenant
  8636. -- ----------------------------
  8637. BEGIN TRANSACTION
  8638. GO
  8639. SET IDENTITY_INSERT [dbo].[system_tenant] ON
  8640. GO
  8641. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [domain], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'1', N'芋道源码', NULL, N'芋艿', N'17321315478', N'0', N'https://www.iocoder.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')
  8642. GO
  8643. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [domain], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'121', N'小租户', N'110', N'小王2', N'15601691300', N'0', N'http://www.iocoder.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')
  8644. GO
  8645. INSERT INTO [dbo].[system_tenant] ([id], [name], [contact_user_id], [contact_name], [contact_mobile], [status], [domain], [package_id], [expire_time], [account_count], [creator], [create_time], [updater], [update_time], [deleted]) VALUES (N'122', N'测试租户', N'113', N'芋道', N'15601691300', N'0', N'https://www.iocoder.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')
  8646. GO
  8647. SET IDENTITY_INSERT [dbo].[system_tenant] OFF
  8648. GO
  8649. COMMIT
  8650. GO
  8651. -- ----------------------------
  8652. -- Table structure for system_tenant_package
  8653. -- ----------------------------
  8654. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_tenant_package]') AND type IN ('U'))
  8655. DROP TABLE [dbo].[system_tenant_package]
  8656. GO
  8657. CREATE TABLE [dbo].[system_tenant_package] (
  8658. [id] bigint IDENTITY(1,1) NOT NULL,
  8659. [name] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8660. [status] tinyint NOT NULL,
  8661. [remark] nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8662. [menu_ids] nvarchar(2048) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8663. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8664. [create_time] datetime2(7) NOT NULL,
  8665. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8666. [update_time] datetime2(7) NOT NULL,
  8667. [deleted] bit DEFAULT 0 NOT NULL
  8668. )
  8669. GO
  8670. ALTER TABLE [dbo].[system_tenant_package] SET (LOCK_ESCALATION = TABLE)
  8671. GO
  8672. EXEC sp_addextendedproperty
  8673. 'MS_Description', N'套餐编号',
  8674. 'SCHEMA', N'dbo',
  8675. 'TABLE', N'system_tenant_package',
  8676. 'COLUMN', N'id'
  8677. GO
  8678. EXEC sp_addextendedproperty
  8679. 'MS_Description', N'套餐名',
  8680. 'SCHEMA', N'dbo',
  8681. 'TABLE', N'system_tenant_package',
  8682. 'COLUMN', N'name'
  8683. GO
  8684. EXEC sp_addextendedproperty
  8685. 'MS_Description', N'租户状态(0正常 1停用)',
  8686. 'SCHEMA', N'dbo',
  8687. 'TABLE', N'system_tenant_package',
  8688. 'COLUMN', N'status'
  8689. GO
  8690. EXEC sp_addextendedproperty
  8691. 'MS_Description', N'备注',
  8692. 'SCHEMA', N'dbo',
  8693. 'TABLE', N'system_tenant_package',
  8694. 'COLUMN', N'remark'
  8695. GO
  8696. EXEC sp_addextendedproperty
  8697. 'MS_Description', N'关联的菜单编号',
  8698. 'SCHEMA', N'dbo',
  8699. 'TABLE', N'system_tenant_package',
  8700. 'COLUMN', N'menu_ids'
  8701. GO
  8702. EXEC sp_addextendedproperty
  8703. 'MS_Description', N'创建者',
  8704. 'SCHEMA', N'dbo',
  8705. 'TABLE', N'system_tenant_package',
  8706. 'COLUMN', N'creator'
  8707. GO
  8708. EXEC sp_addextendedproperty
  8709. 'MS_Description', N'创建时间',
  8710. 'SCHEMA', N'dbo',
  8711. 'TABLE', N'system_tenant_package',
  8712. 'COLUMN', N'create_time'
  8713. GO
  8714. EXEC sp_addextendedproperty
  8715. 'MS_Description', N'更新者',
  8716. 'SCHEMA', N'dbo',
  8717. 'TABLE', N'system_tenant_package',
  8718. 'COLUMN', N'updater'
  8719. GO
  8720. EXEC sp_addextendedproperty
  8721. 'MS_Description', N'更新时间',
  8722. 'SCHEMA', N'dbo',
  8723. 'TABLE', N'system_tenant_package',
  8724. 'COLUMN', N'update_time'
  8725. GO
  8726. EXEC sp_addextendedproperty
  8727. 'MS_Description', N'是否删除',
  8728. 'SCHEMA', N'dbo',
  8729. 'TABLE', N'system_tenant_package',
  8730. 'COLUMN', N'deleted'
  8731. GO
  8732. EXEC sp_addextendedproperty
  8733. 'MS_Description', N'租户套餐表',
  8734. 'SCHEMA', N'dbo',
  8735. 'TABLE', N'system_tenant_package'
  8736. GO
  8737. -- ----------------------------
  8738. -- Records of system_tenant_package
  8739. -- ----------------------------
  8740. BEGIN TRANSACTION
  8741. GO
  8742. SET IDENTITY_INSERT [dbo].[system_tenant_package] ON
  8743. GO
  8744. 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')
  8745. GO
  8746. SET IDENTITY_INSERT [dbo].[system_tenant_package] OFF
  8747. GO
  8748. COMMIT
  8749. GO
  8750. -- ----------------------------
  8751. -- Table structure for system_user_post
  8752. -- ----------------------------
  8753. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_user_post]') AND type IN ('U'))
  8754. DROP TABLE [dbo].[system_user_post]
  8755. GO
  8756. CREATE TABLE [dbo].[system_user_post] (
  8757. [id] bigint IDENTITY(1,1) NOT NULL,
  8758. [user_id] bigint NOT NULL,
  8759. [post_id] bigint NOT NULL,
  8760. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8761. [create_time] datetime2(7) NOT NULL,
  8762. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8763. [update_time] datetime2(7) NOT NULL,
  8764. [deleted] bit DEFAULT 0 NOT NULL,
  8765. [tenant_id] bigint DEFAULT 0 NOT NULL
  8766. )
  8767. GO
  8768. ALTER TABLE [dbo].[system_user_post] SET (LOCK_ESCALATION = TABLE)
  8769. GO
  8770. EXEC sp_addextendedproperty
  8771. 'MS_Description', N'ID 主键',
  8772. 'SCHEMA', N'dbo',
  8773. 'TABLE', N'system_user_post',
  8774. 'COLUMN', N'id'
  8775. GO
  8776. EXEC sp_addextendedproperty
  8777. 'MS_Description', N'用户ID',
  8778. 'SCHEMA', N'dbo',
  8779. 'TABLE', N'system_user_post',
  8780. 'COLUMN', N'user_id'
  8781. GO
  8782. EXEC sp_addextendedproperty
  8783. 'MS_Description', N'岗位ID',
  8784. 'SCHEMA', N'dbo',
  8785. 'TABLE', N'system_user_post',
  8786. 'COLUMN', N'post_id'
  8787. GO
  8788. EXEC sp_addextendedproperty
  8789. 'MS_Description', N'创建者',
  8790. 'SCHEMA', N'dbo',
  8791. 'TABLE', N'system_user_post',
  8792. 'COLUMN', N'creator'
  8793. GO
  8794. EXEC sp_addextendedproperty
  8795. 'MS_Description', N'创建时间',
  8796. 'SCHEMA', N'dbo',
  8797. 'TABLE', N'system_user_post',
  8798. 'COLUMN', N'create_time'
  8799. GO
  8800. EXEC sp_addextendedproperty
  8801. 'MS_Description', N'更新者',
  8802. 'SCHEMA', N'dbo',
  8803. 'TABLE', N'system_user_post',
  8804. 'COLUMN', N'updater'
  8805. GO
  8806. EXEC sp_addextendedproperty
  8807. 'MS_Description', N'更新时间',
  8808. 'SCHEMA', N'dbo',
  8809. 'TABLE', N'system_user_post',
  8810. 'COLUMN', N'update_time'
  8811. GO
  8812. EXEC sp_addextendedproperty
  8813. 'MS_Description', N'是否删除',
  8814. 'SCHEMA', N'dbo',
  8815. 'TABLE', N'system_user_post',
  8816. 'COLUMN', N'deleted'
  8817. GO
  8818. EXEC sp_addextendedproperty
  8819. 'MS_Description', N'租户编号',
  8820. 'SCHEMA', N'dbo',
  8821. 'TABLE', N'system_user_post',
  8822. 'COLUMN', N'tenant_id'
  8823. GO
  8824. EXEC sp_addextendedproperty
  8825. 'MS_Description', N'用户岗位表',
  8826. 'SCHEMA', N'dbo',
  8827. 'TABLE', N'system_user_post'
  8828. GO
  8829. -- ----------------------------
  8830. -- Records of system_user_post
  8831. -- ----------------------------
  8832. BEGIN TRANSACTION
  8833. GO
  8834. SET IDENTITY_INSERT [dbo].[system_user_post] ON
  8835. GO
  8836. 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')
  8837. GO
  8838. 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')
  8839. GO
  8840. 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')
  8841. GO
  8842. SET IDENTITY_INSERT [dbo].[system_user_post] OFF
  8843. GO
  8844. COMMIT
  8845. GO
  8846. -- ----------------------------
  8847. -- Table structure for system_user_role
  8848. -- ----------------------------
  8849. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_user_role]') AND type IN ('U'))
  8850. DROP TABLE [dbo].[system_user_role]
  8851. GO
  8852. CREATE TABLE [dbo].[system_user_role] (
  8853. [id] bigint IDENTITY(1,1) NOT NULL,
  8854. [user_id] bigint NOT NULL,
  8855. [role_id] bigint NOT NULL,
  8856. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8857. [create_time] datetime2(7) NULL,
  8858. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8859. [update_time] datetime2(7) NULL,
  8860. [tenant_id] bigint NOT NULL,
  8861. [deleted] bit DEFAULT 0 NOT NULL
  8862. )
  8863. GO
  8864. ALTER TABLE [dbo].[system_user_role] SET (LOCK_ESCALATION = TABLE)
  8865. GO
  8866. EXEC sp_addextendedproperty
  8867. 'MS_Description', N'自增编号',
  8868. 'SCHEMA', N'dbo',
  8869. 'TABLE', N'system_user_role',
  8870. 'COLUMN', N'id'
  8871. GO
  8872. EXEC sp_addextendedproperty
  8873. 'MS_Description', N'用户ID',
  8874. 'SCHEMA', N'dbo',
  8875. 'TABLE', N'system_user_role',
  8876. 'COLUMN', N'user_id'
  8877. GO
  8878. EXEC sp_addextendedproperty
  8879. 'MS_Description', N'角色ID',
  8880. 'SCHEMA', N'dbo',
  8881. 'TABLE', N'system_user_role',
  8882. 'COLUMN', N'role_id'
  8883. GO
  8884. EXEC sp_addextendedproperty
  8885. 'MS_Description', N'创建者',
  8886. 'SCHEMA', N'dbo',
  8887. 'TABLE', N'system_user_role',
  8888. 'COLUMN', N'creator'
  8889. GO
  8890. EXEC sp_addextendedproperty
  8891. 'MS_Description', N'创建时间',
  8892. 'SCHEMA', N'dbo',
  8893. 'TABLE', N'system_user_role',
  8894. 'COLUMN', N'create_time'
  8895. GO
  8896. EXEC sp_addextendedproperty
  8897. 'MS_Description', N'更新者',
  8898. 'SCHEMA', N'dbo',
  8899. 'TABLE', N'system_user_role',
  8900. 'COLUMN', N'updater'
  8901. GO
  8902. EXEC sp_addextendedproperty
  8903. 'MS_Description', N'更新时间',
  8904. 'SCHEMA', N'dbo',
  8905. 'TABLE', N'system_user_role',
  8906. 'COLUMN', N'update_time'
  8907. GO
  8908. EXEC sp_addextendedproperty
  8909. 'MS_Description', N'租户编号',
  8910. 'SCHEMA', N'dbo',
  8911. 'TABLE', N'system_user_role',
  8912. 'COLUMN', N'tenant_id'
  8913. GO
  8914. EXEC sp_addextendedproperty
  8915. 'MS_Description', N'是否删除',
  8916. 'SCHEMA', N'dbo',
  8917. 'TABLE', N'system_user_role',
  8918. 'COLUMN', N'deleted'
  8919. GO
  8920. EXEC sp_addextendedproperty
  8921. 'MS_Description', N'用户和角色关联表',
  8922. 'SCHEMA', N'dbo',
  8923. 'TABLE', N'system_user_role'
  8924. GO
  8925. -- ----------------------------
  8926. -- Records of system_user_role
  8927. -- ----------------------------
  8928. BEGIN TRANSACTION
  8929. GO
  8930. SET IDENTITY_INSERT [dbo].[system_user_role] ON
  8931. GO
  8932. 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')
  8933. GO
  8934. 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')
  8935. GO
  8936. 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')
  8937. GO
  8938. 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')
  8939. GO
  8940. 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')
  8941. GO
  8942. 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')
  8943. GO
  8944. 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')
  8945. GO
  8946. 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')
  8947. GO
  8948. 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')
  8949. GO
  8950. 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')
  8951. GO
  8952. 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')
  8953. GO
  8954. 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')
  8955. GO
  8956. 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')
  8957. GO
  8958. 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')
  8959. GO
  8960. SET IDENTITY_INSERT [dbo].[system_user_role] OFF
  8961. GO
  8962. COMMIT
  8963. GO
  8964. -- ----------------------------
  8965. -- Table structure for system_users
  8966. -- ----------------------------
  8967. IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[system_users]') AND type IN ('U'))
  8968. DROP TABLE [dbo].[system_users]
  8969. GO
  8970. CREATE TABLE [dbo].[system_users] (
  8971. [id] bigint IDENTITY(1,1) NOT NULL,
  8972. [username] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8973. [password] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8974. [nickname] nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
  8975. [remark] nvarchar(500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8976. [dept_id] bigint NULL,
  8977. [post_ids] nvarchar(255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8978. [email] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8979. [mobile] nvarchar(11) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8980. [sex] tinyint NULL,
  8981. [avatar] nvarchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8982. [status] tinyint NOT NULL,
  8983. [login_ip] nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8984. [login_date] datetime2(7) NULL,
  8985. [creator] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8986. [create_time] datetime2(7) NOT NULL,
  8987. [updater] nvarchar(64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
  8988. [update_time] datetime2(7) NOT NULL,
  8989. [tenant_id] bigint NOT NULL,
  8990. [deleted] bit DEFAULT 0 NOT NULL
  8991. )
  8992. GO
  8993. ALTER TABLE [dbo].[system_users] SET (LOCK_ESCALATION = TABLE)
  8994. GO
  8995. EXEC sp_addextendedproperty
  8996. 'MS_Description', N'用户ID',
  8997. 'SCHEMA', N'dbo',
  8998. 'TABLE', N'system_users',
  8999. 'COLUMN', N'id'
  9000. GO
  9001. EXEC sp_addextendedproperty
  9002. 'MS_Description', N'用户账号',
  9003. 'SCHEMA', N'dbo',
  9004. 'TABLE', N'system_users',
  9005. 'COLUMN', N'username'
  9006. GO
  9007. EXEC sp_addextendedproperty
  9008. 'MS_Description', N'密码',
  9009. 'SCHEMA', N'dbo',
  9010. 'TABLE', N'system_users',
  9011. 'COLUMN', N'password'
  9012. GO
  9013. EXEC sp_addextendedproperty
  9014. 'MS_Description', N'用户昵称',
  9015. 'SCHEMA', N'dbo',
  9016. 'TABLE', N'system_users',
  9017. 'COLUMN', N'nickname'
  9018. GO
  9019. EXEC sp_addextendedproperty
  9020. 'MS_Description', N'备注',
  9021. 'SCHEMA', N'dbo',
  9022. 'TABLE', N'system_users',
  9023. 'COLUMN', N'remark'
  9024. GO
  9025. EXEC sp_addextendedproperty
  9026. 'MS_Description', N'部门ID',
  9027. 'SCHEMA', N'dbo',
  9028. 'TABLE', N'system_users',
  9029. 'COLUMN', N'dept_id'
  9030. GO
  9031. EXEC sp_addextendedproperty
  9032. 'MS_Description', N'岗位编号数组',
  9033. 'SCHEMA', N'dbo',
  9034. 'TABLE', N'system_users',
  9035. 'COLUMN', N'post_ids'
  9036. GO
  9037. EXEC sp_addextendedproperty
  9038. 'MS_Description', N'用户邮箱',
  9039. 'SCHEMA', N'dbo',
  9040. 'TABLE', N'system_users',
  9041. 'COLUMN', N'email'
  9042. GO
  9043. EXEC sp_addextendedproperty
  9044. 'MS_Description', N'手机号码',
  9045. 'SCHEMA', N'dbo',
  9046. 'TABLE', N'system_users',
  9047. 'COLUMN', N'mobile'
  9048. GO
  9049. EXEC sp_addextendedproperty
  9050. 'MS_Description', N'用户性别',
  9051. 'SCHEMA', N'dbo',
  9052. 'TABLE', N'system_users',
  9053. 'COLUMN', N'sex'
  9054. GO
  9055. EXEC sp_addextendedproperty
  9056. 'MS_Description', N'头像地址',
  9057. 'SCHEMA', N'dbo',
  9058. 'TABLE', N'system_users',
  9059. 'COLUMN', N'avatar'
  9060. GO
  9061. EXEC sp_addextendedproperty
  9062. 'MS_Description', N'帐号状态(0正常 1停用)',
  9063. 'SCHEMA', N'dbo',
  9064. 'TABLE', N'system_users',
  9065. 'COLUMN', N'status'
  9066. GO
  9067. EXEC sp_addextendedproperty
  9068. 'MS_Description', N'最后登录IP',
  9069. 'SCHEMA', N'dbo',
  9070. 'TABLE', N'system_users',
  9071. 'COLUMN', N'login_ip'
  9072. GO
  9073. EXEC sp_addextendedproperty
  9074. 'MS_Description', N'最后登录时间',
  9075. 'SCHEMA', N'dbo',
  9076. 'TABLE', N'system_users',
  9077. 'COLUMN', N'login_date'
  9078. GO
  9079. EXEC sp_addextendedproperty
  9080. 'MS_Description', N'创建者',
  9081. 'SCHEMA', N'dbo',
  9082. 'TABLE', N'system_users',
  9083. 'COLUMN', N'creator'
  9084. GO
  9085. EXEC sp_addextendedproperty
  9086. 'MS_Description', N'创建时间',
  9087. 'SCHEMA', N'dbo',
  9088. 'TABLE', N'system_users',
  9089. 'COLUMN', N'create_time'
  9090. GO
  9091. EXEC sp_addextendedproperty
  9092. 'MS_Description', N'更新者',
  9093. 'SCHEMA', N'dbo',
  9094. 'TABLE', N'system_users',
  9095. 'COLUMN', N'updater'
  9096. GO
  9097. EXEC sp_addextendedproperty
  9098. 'MS_Description', N'更新时间',
  9099. 'SCHEMA', N'dbo',
  9100. 'TABLE', N'system_users',
  9101. 'COLUMN', N'update_time'
  9102. GO
  9103. EXEC sp_addextendedproperty
  9104. 'MS_Description', N'租户编号',
  9105. 'SCHEMA', N'dbo',
  9106. 'TABLE', N'system_users',
  9107. 'COLUMN', N'tenant_id'
  9108. GO
  9109. EXEC sp_addextendedproperty
  9110. 'MS_Description', N'是否删除',
  9111. 'SCHEMA', N'dbo',
  9112. 'TABLE', N'system_users',
  9113. 'COLUMN', N'deleted'
  9114. GO
  9115. EXEC sp_addextendedproperty
  9116. 'MS_Description', N'用户信息表',
  9117. 'SCHEMA', N'dbo',
  9118. 'TABLE', N'system_users'
  9119. GO
  9120. -- ----------------------------
  9121. -- Records of system_users
  9122. -- ----------------------------
  9123. BEGIN TRANSACTION
  9124. GO
  9125. SET IDENTITY_INSERT [dbo].[system_users] ON
  9126. GO
  9127. 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.patrol.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')
  9128. GO
  9129. 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'patrol', N'$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', N'芋道', N'不要吓我', N'104', N'[1]', N'patrol@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')
  9130. GO
  9131. 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')
  9132. GO
  9133. 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')
  9134. GO
  9135. 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')
  9136. GO
  9137. 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')
  9138. GO
  9139. 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')
  9140. GO
  9141. 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')
  9142. GO
  9143. 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')
  9144. GO
  9145. 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')
  9146. GO
  9147. 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')
  9148. GO
  9149. 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')
  9150. GO
  9151. 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')
  9152. GO
  9153. SET IDENTITY_INSERT [dbo].[system_users] OFF
  9154. GO
  9155. COMMIT
  9156. GO
  9157. -- ----------------------------
  9158. -- Primary Key structure for table QRTZ_CALENDARS
  9159. -- ----------------------------
  9160. ALTER TABLE [dbo].[QRTZ_CALENDARS] ADD CONSTRAINT [PK_QRTZ_CALENDARS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [CALENDAR_NAME])
  9161. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9162. ON [PRIMARY]
  9163. GO
  9164. -- ----------------------------
  9165. -- Indexes structure for table QRTZ_CRON_TRIGGERS
  9166. -- ----------------------------
  9167. CREATE NONCLUSTERED INDEX [IX_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS]
  9168. ON [dbo].[QRTZ_CRON_TRIGGERS] (
  9169. [SCHED_NAME] ASC,
  9170. [TRIGGER_NAME] ASC,
  9171. [TRIGGER_GROUP] ASC
  9172. )
  9173. GO
  9174. -- ----------------------------
  9175. -- Primary Key structure for table QRTZ_CRON_TRIGGERS
  9176. -- ----------------------------
  9177. ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_CRON_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9178. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9179. ON [PRIMARY]
  9180. GO
  9181. -- ----------------------------
  9182. -- Primary Key structure for table QRTZ_FIRED_TRIGGERS
  9183. -- ----------------------------
  9184. ALTER TABLE [dbo].[QRTZ_FIRED_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_FIRED_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [ENTRY_ID])
  9185. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9186. ON [PRIMARY]
  9187. GO
  9188. -- ----------------------------
  9189. -- Primary Key structure for table QRTZ_JOB_DETAILS
  9190. -- ----------------------------
  9191. ALTER TABLE [dbo].[QRTZ_JOB_DETAILS] ADD CONSTRAINT [PK_QRTZ_JOB_DETAILS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [JOB_NAME], [JOB_GROUP])
  9192. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9193. ON [PRIMARY]
  9194. GO
  9195. -- ----------------------------
  9196. -- Primary Key structure for table QRTZ_LOCKS
  9197. -- ----------------------------
  9198. ALTER TABLE [dbo].[QRTZ_LOCKS] ADD CONSTRAINT [PK_QRTZ_LOCKS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [LOCK_NAME])
  9199. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9200. ON [PRIMARY]
  9201. GO
  9202. -- ----------------------------
  9203. -- Primary Key structure for table QRTZ_PAUSED_TRIGGER_GRPS
  9204. -- ----------------------------
  9205. ALTER TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] ADD CONSTRAINT [PK_QRTZ_PAUSED_TRIGGER_GRPS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_GROUP])
  9206. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9207. ON [PRIMARY]
  9208. GO
  9209. -- ----------------------------
  9210. -- Primary Key structure for table QRTZ_SCHEDULER_STATE
  9211. -- ----------------------------
  9212. ALTER TABLE [dbo].[QRTZ_SCHEDULER_STATE] ADD CONSTRAINT [PK_QRTZ_SCHEDULER_STATE] PRIMARY KEY CLUSTERED ([SCHED_NAME], [INSTANCE_NAME])
  9213. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9214. ON [PRIMARY]
  9215. GO
  9216. -- ----------------------------
  9217. -- Indexes structure for table QRTZ_SIMPLE_TRIGGERS
  9218. -- ----------------------------
  9219. CREATE NONCLUSTERED INDEX [IX_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS]
  9220. ON [dbo].[QRTZ_SIMPLE_TRIGGERS] (
  9221. [SCHED_NAME] ASC,
  9222. [TRIGGER_NAME] ASC,
  9223. [TRIGGER_GROUP] ASC
  9224. )
  9225. GO
  9226. -- ----------------------------
  9227. -- Primary Key structure for table QRTZ_SIMPLE_TRIGGERS
  9228. -- ----------------------------
  9229. ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_SIMPLE_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9230. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9231. ON [PRIMARY]
  9232. GO
  9233. -- ----------------------------
  9234. -- Indexes structure for table QRTZ_SIMPROP_TRIGGERS
  9235. -- ----------------------------
  9236. CREATE NONCLUSTERED INDEX [IX_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS]
  9237. ON [dbo].[QRTZ_SIMPROP_TRIGGERS] (
  9238. [SCHED_NAME] ASC,
  9239. [TRIGGER_NAME] ASC,
  9240. [TRIGGER_GROUP] ASC
  9241. )
  9242. GO
  9243. -- ----------------------------
  9244. -- Primary Key structure for table QRTZ_SIMPROP_TRIGGERS
  9245. -- ----------------------------
  9246. ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_SIMPROP_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9247. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9248. ON [PRIMARY]
  9249. GO
  9250. -- ----------------------------
  9251. -- Indexes structure for table QRTZ_TRIGGERS
  9252. -- ----------------------------
  9253. CREATE NONCLUSTERED INDEX [IX_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS]
  9254. ON [dbo].[QRTZ_TRIGGERS] (
  9255. [SCHED_NAME] ASC,
  9256. [TRIGGER_NAME] ASC,
  9257. [TRIGGER_GROUP] ASC
  9258. )
  9259. GO
  9260. -- ----------------------------
  9261. -- Primary Key structure for table QRTZ_TRIGGERS
  9262. -- ----------------------------
  9263. ALTER TABLE [dbo].[QRTZ_TRIGGERS] ADD CONSTRAINT [PK_QRTZ_TRIGGERS] PRIMARY KEY CLUSTERED ([SCHED_NAME], [TRIGGER_NAME], [TRIGGER_GROUP])
  9264. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9265. ON [PRIMARY]
  9266. GO
  9267. -- ----------------------------
  9268. -- Auto increment value for bpm_form
  9269. -- ----------------------------
  9270. DBCC CHECKIDENT ('[dbo].[bpm_form]', RESEED, 1)
  9271. GO
  9272. -- ----------------------------
  9273. -- Primary Key structure for table bpm_form
  9274. -- ----------------------------
  9275. ALTER TABLE [dbo].[bpm_form] ADD CONSTRAINT [PK__bpm_form__3213E83F86C2B27F] PRIMARY KEY CLUSTERED ([id])
  9276. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9277. ON [PRIMARY]
  9278. GO
  9279. -- ----------------------------
  9280. -- Auto increment value for bpm_oa_leave
  9281. -- ----------------------------
  9282. DBCC CHECKIDENT ('[dbo].[bpm_oa_leave]', RESEED, 1)
  9283. GO
  9284. -- ----------------------------
  9285. -- Primary Key structure for table bpm_oa_leave
  9286. -- ----------------------------
  9287. ALTER TABLE [dbo].[bpm_oa_leave] ADD CONSTRAINT [PK__bpm_oa_l__3213E83F3569F596] PRIMARY KEY CLUSTERED ([id])
  9288. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9289. ON [PRIMARY]
  9290. GO
  9291. -- ----------------------------
  9292. -- Auto increment value for bpm_process_definition_ext
  9293. -- ----------------------------
  9294. DBCC CHECKIDENT ('[dbo].[bpm_process_definition_ext]', RESEED, 1)
  9295. GO
  9296. -- ----------------------------
  9297. -- Primary Key structure for table bpm_process_definition_ext
  9298. -- ----------------------------
  9299. ALTER TABLE [dbo].[bpm_process_definition_ext] ADD CONSTRAINT [PK__bpm_proc__3213E83F0A8AB015] PRIMARY KEY CLUSTERED ([id])
  9300. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9301. ON [PRIMARY]
  9302. GO
  9303. -- ----------------------------
  9304. -- Auto increment value for bpm_process_instance_ext
  9305. -- ----------------------------
  9306. DBCC CHECKIDENT ('[dbo].[bpm_process_instance_ext]', RESEED, 1)
  9307. GO
  9308. -- ----------------------------
  9309. -- Primary Key structure for table bpm_process_instance_ext
  9310. -- ----------------------------
  9311. ALTER TABLE [dbo].[bpm_process_instance_ext] ADD CONSTRAINT [PK__bpm_proc__3213E83FFD88328F] PRIMARY KEY CLUSTERED ([id])
  9312. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9313. ON [PRIMARY]
  9314. GO
  9315. -- ----------------------------
  9316. -- Auto increment value for bpm_task_assign_rule
  9317. -- ----------------------------
  9318. DBCC CHECKIDENT ('[dbo].[bpm_task_assign_rule]', RESEED, 2)
  9319. GO
  9320. -- ----------------------------
  9321. -- Primary Key structure for table bpm_task_assign_rule
  9322. -- ----------------------------
  9323. ALTER TABLE [dbo].[bpm_task_assign_rule] ADD CONSTRAINT [PK__bpm_task__3213E83F474371C5] PRIMARY KEY CLUSTERED ([id])
  9324. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9325. ON [PRIMARY]
  9326. GO
  9327. -- ----------------------------
  9328. -- Auto increment value for bpm_task_ext
  9329. -- ----------------------------
  9330. DBCC CHECKIDENT ('[dbo].[bpm_task_ext]', RESEED, 1)
  9331. GO
  9332. -- ----------------------------
  9333. -- Primary Key structure for table bpm_task_ext
  9334. -- ----------------------------
  9335. ALTER TABLE [dbo].[bpm_task_ext] ADD CONSTRAINT [PK__bpm_task__3213E83FD8AFE1F9] PRIMARY KEY CLUSTERED ([id])
  9336. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9337. ON [PRIMARY]
  9338. GO
  9339. -- ----------------------------
  9340. -- Auto increment value for bpm_user_group
  9341. -- ----------------------------
  9342. DBCC CHECKIDENT ('[dbo].[bpm_user_group]', RESEED, 1)
  9343. GO
  9344. -- ----------------------------
  9345. -- Primary Key structure for table bpm_user_group
  9346. -- ----------------------------
  9347. ALTER TABLE [dbo].[bpm_user_group] ADD CONSTRAINT [PK__bpm_user__3213E83F25E4725B] PRIMARY KEY CLUSTERED ([id])
  9348. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9349. ON [PRIMARY]
  9350. GO
  9351. -- ----------------------------
  9352. -- Auto increment value for infra_api_access_log
  9353. -- ----------------------------
  9354. DBCC CHECKIDENT ('[dbo].[infra_api_access_log]', RESEED, 40615)
  9355. GO
  9356. -- ----------------------------
  9357. -- Primary Key structure for table infra_api_access_log
  9358. -- ----------------------------
  9359. ALTER TABLE [dbo].[infra_api_access_log] ADD CONSTRAINT [PK__infra_ap__3213E83F04F27A05] PRIMARY KEY CLUSTERED ([id])
  9360. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9361. ON [PRIMARY]
  9362. GO
  9363. -- ----------------------------
  9364. -- Auto increment value for infra_api_error_log
  9365. -- ----------------------------
  9366. DBCC CHECKIDENT ('[dbo].[infra_api_error_log]', RESEED, 2021)
  9367. GO
  9368. -- ----------------------------
  9369. -- Primary Key structure for table infra_api_error_log
  9370. -- ----------------------------
  9371. ALTER TABLE [dbo].[infra_api_error_log] ADD CONSTRAINT [PK__infra_ap__3213E83FCA2446D4] PRIMARY KEY CLUSTERED ([id])
  9372. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9373. ON [PRIMARY]
  9374. GO
  9375. -- ----------------------------
  9376. -- Auto increment value for infra_codegen_column
  9377. -- ----------------------------
  9378. DBCC CHECKIDENT ('[dbo].[infra_codegen_column]', RESEED, 1)
  9379. GO
  9380. -- ----------------------------
  9381. -- Primary Key structure for table infra_codegen_column
  9382. -- ----------------------------
  9383. ALTER TABLE [dbo].[infra_codegen_column] ADD CONSTRAINT [PK__infra_co__3213E83FA9EC5005] PRIMARY KEY CLUSTERED ([id])
  9384. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9385. ON [PRIMARY]
  9386. GO
  9387. -- ----------------------------
  9388. -- Auto increment value for infra_codegen_table
  9389. -- ----------------------------
  9390. DBCC CHECKIDENT ('[dbo].[infra_codegen_table]', RESEED, 1)
  9391. GO
  9392. -- ----------------------------
  9393. -- Primary Key structure for table infra_codegen_table
  9394. -- ----------------------------
  9395. ALTER TABLE [dbo].[infra_codegen_table] ADD CONSTRAINT [PK__infra_co__3213E83F555031D0] PRIMARY KEY CLUSTERED ([id])
  9396. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9397. ON [PRIMARY]
  9398. GO
  9399. -- ----------------------------
  9400. -- Primary Key structure for table infra_config
  9401. -- ----------------------------
  9402. ALTER TABLE [dbo].[infra_config] ADD CONSTRAINT [PK__infra_co__3213E83FF4C71E85] PRIMARY KEY CLUSTERED ([id])
  9403. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9404. ON [PRIMARY]
  9405. GO
  9406. -- ----------------------------
  9407. -- Auto increment value for infra_data_source_config
  9408. -- ----------------------------
  9409. DBCC CHECKIDENT ('[dbo].[infra_data_source_config]', RESEED, 9)
  9410. GO
  9411. -- ----------------------------
  9412. -- Primary Key structure for table infra_data_source_config
  9413. -- ----------------------------
  9414. ALTER TABLE [dbo].[infra_data_source_config] ADD CONSTRAINT [PK__infra_da__3213E83F02D21AEB] PRIMARY KEY CLUSTERED ([id])
  9415. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9416. ON [PRIMARY]
  9417. GO
  9418. -- ----------------------------
  9419. -- Auto increment value for infra_file
  9420. -- ----------------------------
  9421. DBCC CHECKIDENT ('[dbo].[infra_file]', RESEED, 1)
  9422. GO
  9423. -- ----------------------------
  9424. -- Auto increment value for infra_file_config
  9425. -- ----------------------------
  9426. DBCC CHECKIDENT ('[dbo].[infra_file_config]', RESEED, 11)
  9427. GO
  9428. -- ----------------------------
  9429. -- Primary Key structure for table infra_file_config
  9430. -- ----------------------------
  9431. ALTER TABLE [dbo].[infra_file_config] ADD CONSTRAINT [PK__infra_fi__3213E83F8A7903EA] PRIMARY KEY CLUSTERED ([id])
  9432. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9433. ON [PRIMARY]
  9434. GO
  9435. -- ----------------------------
  9436. -- Auto increment value for infra_file_content
  9437. -- ----------------------------
  9438. DBCC CHECKIDENT ('[dbo].[infra_file_content]', RESEED, 1)
  9439. GO
  9440. -- ----------------------------
  9441. -- Primary Key structure for table infra_file_content
  9442. -- ----------------------------
  9443. ALTER TABLE [dbo].[infra_file_content] ADD CONSTRAINT [PK__infra_fi__3213E83F033E6045] PRIMARY KEY CLUSTERED ([id])
  9444. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9445. ON [PRIMARY]
  9446. GO
  9447. -- ----------------------------
  9448. -- Auto increment value for infra_job
  9449. -- ----------------------------
  9450. DBCC CHECKIDENT ('[dbo].[infra_job]', RESEED, 16)
  9451. GO
  9452. -- ----------------------------
  9453. -- Primary Key structure for table infra_job
  9454. -- ----------------------------
  9455. ALTER TABLE [dbo].[infra_job] ADD CONSTRAINT [PK__infra_jo__3213E83F3C7DE10C] PRIMARY KEY CLUSTERED ([id])
  9456. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9457. ON [PRIMARY]
  9458. GO
  9459. -- ----------------------------
  9460. -- Auto increment value for infra_job_log
  9461. -- ----------------------------
  9462. DBCC CHECKIDENT ('[dbo].[infra_job_log]', RESEED, 16)
  9463. GO
  9464. -- ----------------------------
  9465. -- Primary Key structure for table infra_job_log
  9466. -- ----------------------------
  9467. ALTER TABLE [dbo].[infra_job_log] ADD CONSTRAINT [PK__infra_jo__3213E83F4CA8F353] PRIMARY KEY CLUSTERED ([id])
  9468. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9469. ON [PRIMARY]
  9470. GO
  9471. -- ----------------------------
  9472. -- Auto increment value for infra_test_demo
  9473. -- ----------------------------
  9474. DBCC CHECKIDENT ('[dbo].[infra_test_demo]', RESEED, 1)
  9475. GO
  9476. -- ----------------------------
  9477. -- Auto increment value for member_user
  9478. -- ----------------------------
  9479. DBCC CHECKIDENT ('[dbo].[member_user]', RESEED, 1)
  9480. GO
  9481. -- ----------------------------
  9482. -- Primary Key structure for table member_user
  9483. -- ----------------------------
  9484. ALTER TABLE [dbo].[member_user] ADD CONSTRAINT [PK__member_u__3213E83F0A9AEC0B] PRIMARY KEY CLUSTERED ([id])
  9485. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9486. ON [PRIMARY]
  9487. GO
  9488. -- ----------------------------
  9489. -- Auto increment value for pay_app
  9490. -- ----------------------------
  9491. DBCC CHECKIDENT ('[dbo].[pay_app]', RESEED, 6)
  9492. GO
  9493. -- ----------------------------
  9494. -- Primary Key structure for table pay_app
  9495. -- ----------------------------
  9496. ALTER TABLE [dbo].[pay_app] ADD CONSTRAINT [PK__pay_app__3213E83FB26E0A6B] PRIMARY KEY CLUSTERED ([id])
  9497. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9498. ON [PRIMARY]
  9499. GO
  9500. -- ----------------------------
  9501. -- Auto increment value for pay_channel
  9502. -- ----------------------------
  9503. DBCC CHECKIDENT ('[dbo].[pay_channel]', RESEED, 17)
  9504. GO
  9505. -- ----------------------------
  9506. -- Primary Key structure for table pay_channel
  9507. -- ----------------------------
  9508. ALTER TABLE [dbo].[pay_channel] ADD CONSTRAINT [PK__pay_chan__3213E83F2556A7FC] PRIMARY KEY CLUSTERED ([id])
  9509. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9510. ON [PRIMARY]
  9511. GO
  9512. -- ----------------------------
  9513. -- Auto increment value for pay_merchant
  9514. -- ----------------------------
  9515. DBCC CHECKIDENT ('[dbo].[pay_merchant]', RESEED, 1)
  9516. GO
  9517. -- ----------------------------
  9518. -- Primary Key structure for table pay_merchant
  9519. -- ----------------------------
  9520. ALTER TABLE [dbo].[pay_merchant] ADD CONSTRAINT [PK__pay_merc__3213E83F010D02B8] PRIMARY KEY CLUSTERED ([id])
  9521. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9522. ON [PRIMARY]
  9523. GO
  9524. -- ----------------------------
  9525. -- Auto increment value for pay_notify_log
  9526. -- ----------------------------
  9527. DBCC CHECKIDENT ('[dbo].[pay_notify_log]', RESEED, 1)
  9528. GO
  9529. -- ----------------------------
  9530. -- Primary Key structure for table pay_notify_log
  9531. -- ----------------------------
  9532. ALTER TABLE [dbo].[pay_notify_log] ADD CONSTRAINT [PK__pay_noti__3213E83F5F4B3447] PRIMARY KEY CLUSTERED ([id])
  9533. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9534. ON [PRIMARY]
  9535. GO
  9536. -- ----------------------------
  9537. -- Auto increment value for pay_notify_task
  9538. -- ----------------------------
  9539. DBCC CHECKIDENT ('[dbo].[pay_notify_task]', RESEED, 1)
  9540. GO
  9541. -- ----------------------------
  9542. -- Primary Key structure for table pay_notify_task
  9543. -- ----------------------------
  9544. ALTER TABLE [dbo].[pay_notify_task] ADD CONSTRAINT [PK__pay_noti__3213E83FB9215103] PRIMARY KEY CLUSTERED ([id])
  9545. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9546. ON [PRIMARY]
  9547. GO
  9548. -- ----------------------------
  9549. -- Auto increment value for pay_order
  9550. -- ----------------------------
  9551. DBCC CHECKIDENT ('[dbo].[pay_order]', RESEED, 124)
  9552. GO
  9553. -- ----------------------------
  9554. -- Primary Key structure for table pay_order
  9555. -- ----------------------------
  9556. ALTER TABLE [dbo].[pay_order] ADD CONSTRAINT [PK__pay_orde__3213E83F34C95271] PRIMARY KEY CLUSTERED ([id])
  9557. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9558. ON [PRIMARY]
  9559. GO
  9560. -- ----------------------------
  9561. -- Auto increment value for pay_order_extension
  9562. -- ----------------------------
  9563. DBCC CHECKIDENT ('[dbo].[pay_order_extension]', RESEED, 1)
  9564. GO
  9565. -- ----------------------------
  9566. -- Primary Key structure for table pay_order_extension
  9567. -- ----------------------------
  9568. ALTER TABLE [dbo].[pay_order_extension] ADD CONSTRAINT [PK__pay_orde__3213E83F5ACB776F] PRIMARY KEY CLUSTERED ([id])
  9569. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9570. ON [PRIMARY]
  9571. GO
  9572. -- ----------------------------
  9573. -- Auto increment value for pay_refund
  9574. -- ----------------------------
  9575. DBCC CHECKIDENT ('[dbo].[pay_refund]', RESEED, 1)
  9576. GO
  9577. -- ----------------------------
  9578. -- Primary Key structure for table pay_refund
  9579. -- ----------------------------
  9580. ALTER TABLE [dbo].[pay_refund] ADD CONSTRAINT [PK__pay_refu__3213E83FBE1B54AC] PRIMARY KEY CLUSTERED ([id])
  9581. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9582. ON [PRIMARY]
  9583. GO
  9584. -- ----------------------------
  9585. -- Auto increment value for system_dept
  9586. -- ----------------------------
  9587. DBCC CHECKIDENT ('[dbo].[system_dept]', RESEED, 111)
  9588. GO
  9589. -- ----------------------------
  9590. -- Primary Key structure for table system_dept
  9591. -- ----------------------------
  9592. ALTER TABLE [dbo].[system_dept] ADD CONSTRAINT [PK__system_d__3213E83FFA72847C] PRIMARY KEY CLUSTERED ([id])
  9593. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9594. ON [PRIMARY]
  9595. GO
  9596. -- ----------------------------
  9597. -- Auto increment value for system_dict_data
  9598. -- ----------------------------
  9599. DBCC CHECKIDENT ('[dbo].[system_dict_data]', RESEED, 1160)
  9600. GO
  9601. -- ----------------------------
  9602. -- Primary Key structure for table system_dict_data
  9603. -- ----------------------------
  9604. ALTER TABLE [dbo].[system_dict_data] ADD CONSTRAINT [PK__system_d__3213E83F20407597] PRIMARY KEY CLUSTERED ([id])
  9605. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9606. ON [PRIMARY]
  9607. GO
  9608. -- ----------------------------
  9609. -- Auto increment value for system_dict_type
  9610. -- ----------------------------
  9611. DBCC CHECKIDENT ('[dbo].[system_dict_type]', RESEED, 147)
  9612. GO
  9613. -- ----------------------------
  9614. -- Primary Key structure for table system_dict_type
  9615. -- ----------------------------
  9616. ALTER TABLE [dbo].[system_dict_type] ADD CONSTRAINT [PK__system_d__3213E83F7C36B1FD] PRIMARY KEY CLUSTERED ([id])
  9617. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9618. ON [PRIMARY]
  9619. GO
  9620. -- ----------------------------
  9621. -- Auto increment value for system_error_code
  9622. -- ----------------------------
  9623. DBCC CHECKIDENT ('[dbo].[system_error_code]', RESEED, 15466)
  9624. GO
  9625. -- ----------------------------
  9626. -- Primary Key structure for table system_error_code
  9627. -- ----------------------------
  9628. ALTER TABLE [dbo].[system_error_code] ADD CONSTRAINT [PK__system_e__3213E83F68B8DFD0] PRIMARY KEY CLUSTERED ([id])
  9629. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9630. ON [PRIMARY]
  9631. GO
  9632. -- ----------------------------
  9633. -- Auto increment value for system_login_log
  9634. -- ----------------------------
  9635. DBCC CHECKIDENT ('[dbo].[system_login_log]', RESEED, 24)
  9636. GO
  9637. -- ----------------------------
  9638. -- Primary Key structure for table system_login_log
  9639. -- ----------------------------
  9640. ALTER TABLE [dbo].[system_login_log] ADD CONSTRAINT [PK__system_l__3213E83F717953E9] PRIMARY KEY CLUSTERED ([id])
  9641. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9642. ON [PRIMARY]
  9643. GO
  9644. -- ----------------------------
  9645. -- Auto increment value for system_menu
  9646. -- ----------------------------
  9647. DBCC CHECKIDENT ('[dbo].[system_menu]', RESEED, 1267)
  9648. GO
  9649. -- ----------------------------
  9650. -- Primary Key structure for table system_menu
  9651. -- ----------------------------
  9652. ALTER TABLE [dbo].[system_menu] ADD CONSTRAINT [PK__system_m__3213E83F14175801] PRIMARY KEY CLUSTERED ([id])
  9653. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9654. ON [PRIMARY]
  9655. GO
  9656. -- ----------------------------
  9657. -- Auto increment value for system_notice
  9658. -- ----------------------------
  9659. DBCC CHECKIDENT ('[dbo].[system_notice]', RESEED, 4)
  9660. GO
  9661. -- ----------------------------
  9662. -- Primary Key structure for table system_notice
  9663. -- ----------------------------
  9664. ALTER TABLE [dbo].[system_notice] ADD CONSTRAINT [PK__system_n__3213E83FA158BA8D] PRIMARY KEY CLUSTERED ([id])
  9665. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9666. ON [PRIMARY]
  9667. GO
  9668. -- ----------------------------
  9669. -- Auto increment value for system_oauth2_access_token
  9670. -- ----------------------------
  9671. DBCC CHECKIDENT ('[dbo].[system_oauth2_access_token]', RESEED, 5)
  9672. GO
  9673. -- ----------------------------
  9674. -- Auto increment value for system_oauth2_approve
  9675. -- ----------------------------
  9676. DBCC CHECKIDENT ('[dbo].[system_oauth2_approve]', RESEED, 2)
  9677. GO
  9678. -- ----------------------------
  9679. -- Primary Key structure for table system_oauth2_approve
  9680. -- ----------------------------
  9681. ALTER TABLE [dbo].[system_oauth2_approve] ADD CONSTRAINT [PK__system_o__3213E83F7CC08ED6] PRIMARY KEY CLUSTERED ([id])
  9682. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9683. ON [PRIMARY]
  9684. GO
  9685. -- ----------------------------
  9686. -- Auto increment value for system_oauth2_client
  9687. -- ----------------------------
  9688. DBCC CHECKIDENT ('[dbo].[system_oauth2_client]', RESEED, 1)
  9689. GO
  9690. -- ----------------------------
  9691. -- Auto increment value for system_oauth2_code
  9692. -- ----------------------------
  9693. DBCC CHECKIDENT ('[dbo].[system_oauth2_code]', RESEED, 4)
  9694. GO
  9695. -- ----------------------------
  9696. -- Primary Key structure for table system_oauth2_code
  9697. -- ----------------------------
  9698. ALTER TABLE [dbo].[system_oauth2_code] ADD CONSTRAINT [PK__system_o__3213E83F38C13543] PRIMARY KEY CLUSTERED ([id])
  9699. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9700. ON [PRIMARY]
  9701. GO
  9702. -- ----------------------------
  9703. -- Auto increment value for system_oauth2_refresh_token
  9704. -- ----------------------------
  9705. DBCC CHECKIDENT ('[dbo].[system_oauth2_refresh_token]', RESEED, 3)
  9706. GO
  9707. -- ----------------------------
  9708. -- Primary Key structure for table system_oauth2_refresh_token
  9709. -- ----------------------------
  9710. ALTER TABLE [dbo].[system_oauth2_refresh_token] ADD CONSTRAINT [PK__system_o__3213E83FCFB541CC] PRIMARY KEY CLUSTERED ([id])
  9711. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9712. ON [PRIMARY]
  9713. GO
  9714. -- ----------------------------
  9715. -- Auto increment value for system_operate_log
  9716. -- ----------------------------
  9717. DBCC CHECKIDENT ('[dbo].[system_operate_log]', RESEED, 19)
  9718. GO
  9719. -- ----------------------------
  9720. -- Primary Key structure for table system_operate_log
  9721. -- ----------------------------
  9722. ALTER TABLE [dbo].[system_operate_log] ADD CONSTRAINT [PK__system_o__3213E83F85EC81FD] PRIMARY KEY CLUSTERED ([id])
  9723. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9724. ON [PRIMARY]
  9725. GO
  9726. -- ----------------------------
  9727. -- Auto increment value for system_post
  9728. -- ----------------------------
  9729. DBCC CHECKIDENT ('[dbo].[system_post]', RESEED, 4)
  9730. GO
  9731. -- ----------------------------
  9732. -- Primary Key structure for table system_post
  9733. -- ----------------------------
  9734. ALTER TABLE [dbo].[system_post] ADD CONSTRAINT [PK__system_p__3213E83FBC098F34] PRIMARY KEY CLUSTERED ([id])
  9735. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9736. ON [PRIMARY]
  9737. GO
  9738. -- ----------------------------
  9739. -- Auto increment value for system_role
  9740. -- ----------------------------
  9741. DBCC CHECKIDENT ('[dbo].[system_role]', RESEED, 111)
  9742. GO
  9743. -- ----------------------------
  9744. -- Primary Key structure for table system_role
  9745. -- ----------------------------
  9746. ALTER TABLE [dbo].[system_role] ADD CONSTRAINT [PK__system_r__3213E83F209B43F2] PRIMARY KEY CLUSTERED ([id])
  9747. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9748. ON [PRIMARY]
  9749. GO
  9750. -- ----------------------------
  9751. -- Auto increment value for system_role_menu
  9752. -- ----------------------------
  9753. DBCC CHECKIDENT ('[dbo].[system_role_menu]', RESEED, 191)
  9754. GO
  9755. -- ----------------------------
  9756. -- Primary Key structure for table system_role_menu
  9757. -- ----------------------------
  9758. ALTER TABLE [dbo].[system_role_menu] ADD CONSTRAINT [PK__system_r__3213E83F6F1E4A9B] PRIMARY KEY CLUSTERED ([id])
  9759. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9760. ON [PRIMARY]
  9761. GO
  9762. -- ----------------------------
  9763. -- Auto increment value for system_sensitive_word
  9764. -- ----------------------------
  9765. DBCC CHECKIDENT ('[dbo].[system_sensitive_word]', RESEED, 4)
  9766. GO
  9767. -- ----------------------------
  9768. -- Primary Key structure for table system_sensitive_word
  9769. -- ----------------------------
  9770. ALTER TABLE [dbo].[system_sensitive_word] ADD CONSTRAINT [PK__system_s__3213E83FFFD8E555] PRIMARY KEY CLUSTERED ([id])
  9771. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9772. ON [PRIMARY]
  9773. GO
  9774. -- ----------------------------
  9775. -- Auto increment value for system_sms_channel
  9776. -- ----------------------------
  9777. DBCC CHECKIDENT ('[dbo].[system_sms_channel]', RESEED, 6)
  9778. GO
  9779. -- ----------------------------
  9780. -- Primary Key structure for table system_sms_channel
  9781. -- ----------------------------
  9782. ALTER TABLE [dbo].[system_sms_channel] ADD CONSTRAINT [PK__system_s__3213E83FA96B966E] PRIMARY KEY CLUSTERED ([id])
  9783. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9784. ON [PRIMARY]
  9785. GO
  9786. -- ----------------------------
  9787. -- Auto increment value for system_sms_code
  9788. -- ----------------------------
  9789. DBCC CHECKIDENT ('[dbo].[system_sms_code]', RESEED, 470)
  9790. GO
  9791. -- ----------------------------
  9792. -- Primary Key structure for table system_sms_code
  9793. -- ----------------------------
  9794. ALTER TABLE [dbo].[system_sms_code] ADD CONSTRAINT [PK__system_s__3213E83F825CBCB9] PRIMARY KEY CLUSTERED ([id])
  9795. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9796. ON [PRIMARY]
  9797. GO
  9798. -- ----------------------------
  9799. -- Auto increment value for system_sms_log
  9800. -- ----------------------------
  9801. DBCC CHECKIDENT ('[dbo].[system_sms_log]', RESEED, 6)
  9802. GO
  9803. -- ----------------------------
  9804. -- Primary Key structure for table system_sms_log
  9805. -- ----------------------------
  9806. ALTER TABLE [dbo].[system_sms_log] ADD CONSTRAINT [PK__system_s__3213E83F5F1968A9] PRIMARY KEY CLUSTERED ([id])
  9807. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9808. ON [PRIMARY]
  9809. GO
  9810. -- ----------------------------
  9811. -- Auto increment value for system_sms_template
  9812. -- ----------------------------
  9813. DBCC CHECKIDENT ('[dbo].[system_sms_template]', RESEED, 13)
  9814. GO
  9815. -- ----------------------------
  9816. -- Primary Key structure for table system_sms_template
  9817. -- ----------------------------
  9818. ALTER TABLE [dbo].[system_sms_template] ADD CONSTRAINT [PK__system_s__3213E83F5C91CA37] PRIMARY KEY CLUSTERED ([id])
  9819. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9820. ON [PRIMARY]
  9821. GO
  9822. -- ----------------------------
  9823. -- Auto increment value for system_social_user
  9824. -- ----------------------------
  9825. DBCC CHECKIDENT ('[dbo].[system_social_user]', RESEED, 1)
  9826. GO
  9827. -- ----------------------------
  9828. -- Primary Key structure for table system_social_user
  9829. -- ----------------------------
  9830. ALTER TABLE [dbo].[system_social_user] ADD CONSTRAINT [PK__system_s__3213E83F6EF3863C] PRIMARY KEY CLUSTERED ([id])
  9831. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9832. ON [PRIMARY]
  9833. GO
  9834. -- ----------------------------
  9835. -- Auto increment value for system_social_user_bind
  9836. -- ----------------------------
  9837. DBCC CHECKIDENT ('[dbo].[system_social_user_bind]', RESEED, 1)
  9838. GO
  9839. -- ----------------------------
  9840. -- Primary Key structure for table system_social_user_bind
  9841. -- ----------------------------
  9842. ALTER TABLE [dbo].[system_social_user_bind] ADD CONSTRAINT [PK__system_s__3213E83F21F44049] PRIMARY KEY CLUSTERED ([id])
  9843. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9844. ON [PRIMARY]
  9845. GO
  9846. -- ----------------------------
  9847. -- Auto increment value for system_tenant
  9848. -- ----------------------------
  9849. DBCC CHECKIDENT ('[dbo].[system_tenant]', RESEED, 122)
  9850. GO
  9851. -- ----------------------------
  9852. -- Primary Key structure for table system_tenant
  9853. -- ----------------------------
  9854. ALTER TABLE [dbo].[system_tenant] ADD CONSTRAINT [PK__system_t__3213E83FAF444092] PRIMARY KEY CLUSTERED ([id])
  9855. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9856. ON [PRIMARY]
  9857. GO
  9858. -- ----------------------------
  9859. -- Auto increment value for system_tenant_package
  9860. -- ----------------------------
  9861. DBCC CHECKIDENT ('[dbo].[system_tenant_package]', RESEED, 111)
  9862. GO
  9863. -- ----------------------------
  9864. -- Primary Key structure for table system_tenant_package
  9865. -- ----------------------------
  9866. ALTER TABLE [dbo].[system_tenant_package] ADD CONSTRAINT [PK__system_t__3213E83FA2213DB5] PRIMARY KEY CLUSTERED ([id])
  9867. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9868. ON [PRIMARY]
  9869. GO
  9870. -- ----------------------------
  9871. -- Auto increment value for system_user_post
  9872. -- ----------------------------
  9873. DBCC CHECKIDENT ('[dbo].[system_user_post]', RESEED, 115)
  9874. GO
  9875. -- ----------------------------
  9876. -- Primary Key structure for table system_user_post
  9877. -- ----------------------------
  9878. ALTER TABLE [dbo].[system_user_post] ADD CONSTRAINT [PK__system_u__3213E83F56DD4107] PRIMARY KEY CLUSTERED ([id])
  9879. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9880. ON [PRIMARY]
  9881. GO
  9882. -- ----------------------------
  9883. -- Auto increment value for system_user_role
  9884. -- ----------------------------
  9885. DBCC CHECKIDENT ('[dbo].[system_user_role]', RESEED, 17)
  9886. GO
  9887. -- ----------------------------
  9888. -- Primary Key structure for table system_user_role
  9889. -- ----------------------------
  9890. ALTER TABLE [dbo].[system_user_role] ADD CONSTRAINT [PK__system_u__3213E83F3593F652] PRIMARY KEY CLUSTERED ([id])
  9891. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9892. ON [PRIMARY]
  9893. GO
  9894. -- ----------------------------
  9895. -- Auto increment value for system_users
  9896. -- ----------------------------
  9897. DBCC CHECKIDENT ('[dbo].[system_users]', RESEED, 115)
  9898. GO
  9899. -- ----------------------------
  9900. -- Primary Key structure for table system_users
  9901. -- ----------------------------
  9902. ALTER TABLE [dbo].[system_users] ADD CONSTRAINT [PK__system_u__3213E83F7CF2516E] PRIMARY KEY CLUSTERED ([id])
  9903. WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
  9904. ON [PRIMARY]
  9905. GO
  9906. -- ----------------------------
  9907. -- Foreign Keys structure for table QRTZ_BLOB_TRIGGERS
  9908. -- ----------------------------
  9909. 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
  9910. GO
  9911. -- ----------------------------
  9912. -- Foreign Keys structure for table QRTZ_CRON_TRIGGERS
  9913. -- ----------------------------
  9914. 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
  9915. GO
  9916. -- ----------------------------
  9917. -- Foreign Keys structure for table QRTZ_SIMPLE_TRIGGERS
  9918. -- ----------------------------
  9919. 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
  9920. GO
  9921. -- ----------------------------
  9922. -- Foreign Keys structure for table QRTZ_SIMPROP_TRIGGERS
  9923. -- ----------------------------
  9924. 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
  9925. GO
  9926. -- ----------------------------
  9927. -- Foreign Keys structure for table QRTZ_TRIGGERS
  9928. -- ----------------------------
  9929. 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
  9930. GO