12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849 |
- --
- -- PostgreSQL database dump
- --
- -- Dumped from database version 16.1 (Debian 16.1-1.pgdg120+1)
- -- Dumped by pg_dump version 16.0
- SET statement_timeout = 0;
- SET lock_timeout = 0;
- SET idle_in_transaction_session_timeout = 0;
- SET client_encoding = 'UTF8';
- SET standard_conforming_strings = on;
- SELECT pg_catalog.set_config('search_path', '', false);
- SET check_function_bodies = false;
- SET xmloption = content;
- SET client_min_messages = warning;
- SET row_security = off;
- DROP DATABASE IF EXISTS taais;
- --
- -- Name: taais; Type: DATABASE; Schema: -; Owner: postgres
- --
- CREATE DATABASE taais WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PROVIDER = libc LOCALE = 'en_US.utf8';
- ALTER DATABASE taais OWNER TO postgres;
- \connect taais
- SET statement_timeout = 0;
- SET lock_timeout = 0;
- SET idle_in_transaction_session_timeout = 0;
- SET client_encoding = 'UTF8';
- SET standard_conforming_strings = on;
- SELECT pg_catalog.set_config('search_path', '', false);
- SET check_function_bodies = false;
- SET xmloption = content;
- SET client_min_messages = warning;
- SET row_security = off;
- --
- -- Name: cast_varchar_to_timestamp(character varying); Type: FUNCTION; Schema: public; Owner: postgres
- --
- CREATE FUNCTION public.cast_varchar_to_timestamp(character varying) RETURNS timestamp with time zone
- LANGUAGE sql
- STRICT
- AS
- $_$
- select to_timestamp($1, 'yyyy-mm-dd hh24:mi:ss');
- $_$;
- ALTER FUNCTION public.cast_varchar_to_timestamp(character varying) OWNER TO postgres;
- --
- -- Name: CAST (character varying AS timestamp with time zone); Type: CAST; Schema: -; Owner: -
- --
- CREATE CAST (character varying AS timestamp with time zone) WITH FUNCTION public.cast_varchar_to_timestamp(character varying) AS IMPLICIT;
- --
- -- Name: find_in_set(anyelement, text); Type: FUNCTION; Schema: public; Owner: postgres
- --
- CREATE FUNCTION public.find_in_set(value anyelement, string_list text) RETURNS integer
- LANGUAGE plpgsql
- AS
- $$
- DECLARE
- position INTEGER;
- BEGIN
- IF string_list = '' THEN
- RETURN 0;
- ELSE
- position := array_position(string_to_array(string_list, ','), value::TEXT);
- RETURN position;
- END IF;
- END;
- $$;
- ALTER FUNCTION public.find_in_set(value anyelement, string_list text) OWNER TO postgres;
- SET default_tablespace = '';
- SET default_table_access_method = heap;
- --
- -- Name: demo_customer; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.demo_customer
- (
- customer_id bigint NOT NULL,
- customer_name character varying(30) DEFAULT ''::character varying NOT NULL,
- phonenumber character varying(11) DEFAULT NULL::character varying,
- sex character(1) DEFAULT NULL::bpchar,
- birthday timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.demo_customer
- OWNER TO postgres;
- --
- -- Name: TABLE demo_customer; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.demo_customer IS '客户主表(mb)';
- --
- -- Name: COLUMN demo_customer.customer_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.customer_id IS '客户id';
- --
- -- Name: COLUMN demo_customer.customer_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.customer_name IS '客户姓名';
- --
- -- Name: COLUMN demo_customer.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.phonenumber IS '手机号码';
- --
- -- Name: COLUMN demo_customer.sex; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.sex IS '客户性别';
- --
- -- Name: COLUMN demo_customer.birthday; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.birthday IS '客户生日';
- --
- -- Name: COLUMN demo_customer.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_customer.remark IS '客户描述';
- --
- -- Name: demo_customer_customer_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
- --
- CREATE SEQUENCE public.demo_customer_customer_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
- ALTER SEQUENCE public.demo_customer_customer_id_seq OWNER TO postgres;
- --
- -- Name: demo_customer_customer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
- --
- ALTER SEQUENCE public.demo_customer_customer_id_seq OWNED BY public.demo_customer.customer_id;
- --
- -- Name: demo_goods; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.demo_goods
- (
- goods_id bigint NOT NULL,
- customer_id bigint NOT NULL,
- name character varying(30) DEFAULT NULL::character varying,
- weight integer DEFAULT 0,
- price numeric(6, 2) DEFAULT NULL::numeric,
- date timestamp without time zone,
- type character(1) DEFAULT NULL::bpchar
- );
- ALTER TABLE public.demo_goods
- OWNER TO postgres;
- --
- -- Name: TABLE demo_goods; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.demo_goods IS '商品子表(mb)';
- --
- -- Name: COLUMN demo_goods.goods_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.goods_id IS '商品id';
- --
- -- Name: COLUMN demo_goods.customer_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.customer_id IS '客户id';
- --
- -- Name: COLUMN demo_goods.name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.name IS '商品名称';
- --
- -- Name: COLUMN demo_goods.weight; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.weight IS '商品重量';
- --
- -- Name: COLUMN demo_goods.price; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.price IS '商品价格';
- --
- -- Name: COLUMN demo_goods.date; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.date IS '商品时间';
- --
- -- Name: COLUMN demo_goods.type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_goods.type IS '商品种类';
- --
- -- Name: demo_goods_goods_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
- --
- CREATE SEQUENCE public.demo_goods_goods_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
- ALTER SEQUENCE public.demo_goods_goods_id_seq OWNER TO postgres;
- --
- -- Name: demo_goods_goods_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
- --
- ALTER SEQUENCE public.demo_goods_goods_id_seq OWNED BY public.demo_goods.goods_id;
- --
- -- Name: demo_product; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.demo_product
- (
- product_id bigint NOT NULL,
- parent_id bigint DEFAULT 0,
- product_name character varying(30) NOT NULL,
- order_num integer DEFAULT 0,
- status character(1) DEFAULT '0'::bpchar
- );
- ALTER TABLE public.demo_product
- OWNER TO postgres;
- --
- -- Name: TABLE demo_product; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.demo_product IS '产品树表(mb)';
- --
- -- Name: COLUMN demo_product.product_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_product.product_id IS '产品id';
- --
- -- Name: COLUMN demo_product.parent_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_product.parent_id IS '父产品id';
- --
- -- Name: COLUMN demo_product.product_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_product.product_name IS '产品名称';
- --
- -- Name: COLUMN demo_product.order_num; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_product.order_num IS '显示顺序';
- --
- -- Name: COLUMN demo_product.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_product.status IS '产品状态(0正常 1停用)';
- --
- -- Name: demo_product_product_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
- --
- CREATE SEQUENCE public.demo_product_product_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
- ALTER SEQUENCE public.demo_product_product_id_seq OWNER TO postgres;
- --
- -- Name: demo_product_product_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
- --
- ALTER SEQUENCE public.demo_product_product_id_seq OWNED BY public.demo_product.product_id;
- --
- -- Name: demo_student; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.demo_student
- (
- student_id bigint NOT NULL,
- student_name character varying(30) NOT NULL,
- student_age integer,
- student_hobby character varying(30) NOT NULL,
- student_sex character(1) NOT NULL,
- student_status character(1) DEFAULT '0'::bpchar,
- student_birthday timestamp without time zone
- );
- ALTER TABLE public.demo_student
- OWNER TO postgres;
- --
- -- Name: TABLE demo_student; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.demo_student IS '学生信息单表(mb)';
- --
- -- Name: COLUMN demo_student.student_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_id IS '编号';
- --
- -- Name: COLUMN demo_student.student_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_name IS '学生名称';
- --
- -- Name: COLUMN demo_student.student_age; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_age IS '年龄';
- --
- -- Name: COLUMN demo_student.student_hobby; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_hobby IS '爱好(0代码 1音乐 2电影)';
- --
- -- Name: COLUMN demo_student.student_sex; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_sex IS '性别(1男 2女 3未知)';
- --
- -- Name: COLUMN demo_student.student_status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_status IS '状态(0正常 1停用)';
- --
- -- Name: COLUMN demo_student.student_birthday; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.demo_student.student_birthday IS '生日';
- --
- -- Name: demo_student_student_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
- --
- CREATE SEQUENCE public.demo_student_student_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
- ALTER SEQUENCE public.demo_student_student_id_seq OWNER TO postgres;
- --
- -- Name: demo_student_student_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
- --
- ALTER SEQUENCE public.demo_student_student_id_seq OWNED BY public.demo_student.student_id;
- --
- -- Name: gen_table; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.gen_table
- (
- table_id bigint NOT NULL,
- table_name character varying(200) DEFAULT ''::character varying,
- table_comment character varying(500) DEFAULT ''::character varying,
- sub_table_name character varying(64) DEFAULT ''::character varying,
- sub_table_fk_name character varying(64) DEFAULT ''::character varying,
- class_name character varying(100) DEFAULT ''::character varying,
- tpl_category character varying(200) DEFAULT 'crud'::character varying,
- package_name character varying(100) DEFAULT NULL::character varying,
- module_name character varying(30) DEFAULT NULL::character varying,
- business_name character varying(30) DEFAULT NULL::character varying,
- function_name character varying(50) DEFAULT NULL::character varying,
- function_author character varying(50) DEFAULT NULL::character varying,
- gen_type character(1) DEFAULT '0'::bpchar NOT NULL,
- gen_path character varying(200) DEFAULT '/'::character varying,
- options character varying(1000) DEFAULT NULL::character varying,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.gen_table
- OWNER TO postgres;
- --
- -- Name: TABLE gen_table; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.gen_table IS '代码生成业务表';
- --
- -- Name: COLUMN gen_table.table_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.table_id IS '编号';
- --
- -- Name: COLUMN gen_table.table_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.table_name IS '表名称';
- --
- -- Name: COLUMN gen_table.table_comment; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.table_comment IS '表描述';
- --
- -- Name: COLUMN gen_table.sub_table_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.sub_table_name IS '关联子表的表名';
- --
- -- Name: COLUMN gen_table.sub_table_fk_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.sub_table_fk_name IS '子表关联的外键名';
- --
- -- Name: COLUMN gen_table.class_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.class_name IS '实体类名称';
- --
- -- Name: COLUMN gen_table.tpl_category; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.tpl_category IS '使用的模板(CRUD单表操作 TREE树表操作)';
- --
- -- Name: COLUMN gen_table.package_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.package_name IS '生成包路径';
- --
- -- Name: COLUMN gen_table.module_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.module_name IS '生成模块名';
- --
- -- Name: COLUMN gen_table.business_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.business_name IS '生成业务名';
- --
- -- Name: COLUMN gen_table.function_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.function_name IS '生成功能名';
- --
- -- Name: COLUMN gen_table.function_author; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.function_author IS '生成功能作者';
- --
- -- Name: COLUMN gen_table.gen_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.gen_type IS '生成代码方式(0zip压缩包 1自定义路径)';
- --
- -- Name: COLUMN gen_table.gen_path; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.gen_path IS '生成路径(不填默认项目路径)';
- --
- -- Name: COLUMN gen_table.options; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.options IS '其它生成选项';
- --
- -- Name: COLUMN gen_table.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.version IS '乐观锁';
- --
- -- Name: COLUMN gen_table.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.create_by IS '创建者';
- --
- -- Name: COLUMN gen_table.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.create_time IS '创建时间';
- --
- -- Name: COLUMN gen_table.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.update_by IS '更新者';
- --
- -- Name: COLUMN gen_table.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.update_time IS '更新时间';
- --
- -- Name: COLUMN gen_table.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table.remark IS '备注';
- --
- -- Name: gen_table_column; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.gen_table_column
- (
- column_id bigint NOT NULL,
- table_id bigint,
- column_name character varying(200) DEFAULT NULL::character varying,
- column_comment character varying(500) DEFAULT NULL::character varying,
- column_type character varying(100) DEFAULT NULL::character varying,
- java_type character varying(500) DEFAULT NULL::character varying,
- java_field character varying(200) DEFAULT NULL::character varying,
- is_pk character(1) DEFAULT NULL::bpchar,
- is_increment character(1) DEFAULT NULL::bpchar,
- is_required character(1) DEFAULT NULL::bpchar,
- is_insert character(1) DEFAULT NULL::bpchar,
- is_edit character(1) DEFAULT NULL::bpchar,
- is_list character(1) DEFAULT NULL::bpchar,
- is_query character(1) DEFAULT NULL::bpchar,
- query_type character varying(200) DEFAULT 'EQ'::character varying,
- html_type character varying(200) DEFAULT NULL::character varying,
- dict_type character varying(200) DEFAULT ''::character varying,
- sort integer,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.gen_table_column
- OWNER TO postgres;
- --
- -- Name: TABLE gen_table_column; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.gen_table_column IS '代码生成业务表字段';
- --
- -- Name: COLUMN gen_table_column.column_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.column_id IS '编号';
- --
- -- Name: COLUMN gen_table_column.table_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.table_id IS '归属表编号';
- --
- -- Name: COLUMN gen_table_column.column_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.column_name IS '列名称';
- --
- -- Name: COLUMN gen_table_column.column_comment; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.column_comment IS '列描述';
- --
- -- Name: COLUMN gen_table_column.column_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.column_type IS '列类型';
- --
- -- Name: COLUMN gen_table_column.java_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.java_type IS 'JAVA类型';
- --
- -- Name: COLUMN gen_table_column.java_field; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.java_field IS 'JAVA字段名';
- --
- -- Name: COLUMN gen_table_column.is_pk; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_pk IS '是否主键(1是)';
- --
- -- Name: COLUMN gen_table_column.is_increment; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_increment IS '是否自增(1是)';
- --
- -- Name: COLUMN gen_table_column.is_required; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_required IS '是否必填(1是)';
- --
- -- Name: COLUMN gen_table_column.is_insert; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_insert IS '是否为插入字段(1是)';
- --
- -- Name: COLUMN gen_table_column.is_edit; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_edit IS '是否编辑字段(1是)';
- --
- -- Name: COLUMN gen_table_column.is_list; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_list IS '是否列表字段(1是)';
- --
- -- Name: COLUMN gen_table_column.is_query; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.is_query IS '是否查询字段(1是)';
- --
- -- Name: COLUMN gen_table_column.query_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.query_type IS '查询方式(等于、不等于、大于、小于、范围)';
- --
- -- Name: COLUMN gen_table_column.html_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.html_type IS '显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)';
- --
- -- Name: COLUMN gen_table_column.dict_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.dict_type IS '字典类型';
- --
- -- Name: COLUMN gen_table_column.sort; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.sort IS '排序';
- --
- -- Name: COLUMN gen_table_column.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.version IS '乐观锁';
- --
- -- Name: COLUMN gen_table_column.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.create_by IS '创建者';
- --
- -- Name: COLUMN gen_table_column.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.create_time IS '创建时间';
- --
- -- Name: COLUMN gen_table_column.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.update_by IS '更新者';
- --
- -- Name: COLUMN gen_table_column.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.gen_table_column.update_time IS '更新时间';
- --
- -- Name: mf_customer; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.mf_customer
- (
- customer_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- customer_name character varying(30) DEFAULT ''::character varying NOT NULL,
- phonenumber character varying(11) DEFAULT NULL::character varying,
- gender character(1) DEFAULT NULL::bpchar,
- birthday timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying,
- version integer DEFAULT 0 NOT NULL,
- del_flag smallint DEFAULT '0'::smallint NOT NULL,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.mf_customer
- OWNER TO postgres;
- --
- -- Name: TABLE mf_customer; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.mf_customer IS '客户主表';
- --
- -- Name: COLUMN mf_customer.customer_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.customer_id IS '客户id';
- --
- -- Name: COLUMN mf_customer.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.tenant_id IS '租户编码';
- --
- -- Name: COLUMN mf_customer.customer_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.customer_name IS '客户姓名';
- --
- -- Name: COLUMN mf_customer.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.phonenumber IS '手机号码';
- --
- -- Name: COLUMN mf_customer.gender; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.gender IS '客户性别';
- --
- -- Name: COLUMN mf_customer.birthday; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.birthday IS '客户生日';
- --
- -- Name: COLUMN mf_customer.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.remark IS '客户描述';
- --
- -- Name: COLUMN mf_customer.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.version IS '乐观锁';
- --
- -- Name: COLUMN mf_customer.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN mf_customer.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.create_by IS '创建者';
- --
- -- Name: COLUMN mf_customer.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.create_time IS '创建时间';
- --
- -- Name: COLUMN mf_customer.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.update_by IS '更新者';
- --
- -- Name: COLUMN mf_customer.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_customer.update_time IS '更新时间';
- --
- -- Name: mf_goods; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.mf_goods
- (
- goods_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- customer_id bigint NOT NULL,
- name character varying(30) DEFAULT NULL::character varying,
- weight integer DEFAULT 0,
- price numeric(6, 2) DEFAULT NULL::numeric,
- date timestamp without time zone,
- type character(1) DEFAULT NULL::bpchar,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.mf_goods
- OWNER TO postgres;
- --
- -- Name: TABLE mf_goods; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.mf_goods IS '商品子表';
- --
- -- Name: COLUMN mf_goods.goods_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.goods_id IS '商品id';
- --
- -- Name: COLUMN mf_goods.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.tenant_id IS '租户编码';
- --
- -- Name: COLUMN mf_goods.customer_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.customer_id IS '客户id';
- --
- -- Name: COLUMN mf_goods.name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.name IS '商品名称';
- --
- -- Name: COLUMN mf_goods.weight; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.weight IS '商品重量';
- --
- -- Name: COLUMN mf_goods.price; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.price IS '商品价格';
- --
- -- Name: COLUMN mf_goods.date; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.date IS '商品时间';
- --
- -- Name: COLUMN mf_goods.type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.type IS '商品种类';
- --
- -- Name: COLUMN mf_goods.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.create_by IS '创建者';
- --
- -- Name: COLUMN mf_goods.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.create_time IS '创建时间';
- --
- -- Name: COLUMN mf_goods.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.update_by IS '更新者';
- --
- -- Name: COLUMN mf_goods.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_goods.update_time IS '更新时间';
- --
- -- Name: mf_product; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.mf_product
- (
- product_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- parent_id bigint DEFAULT 0,
- product_name character varying(30) NOT NULL,
- order_num integer DEFAULT 0,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0 NOT NULL,
- del_flag smallint DEFAULT '0'::smallint NOT NULL,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.mf_product
- OWNER TO postgres;
- --
- -- Name: TABLE mf_product; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.mf_product IS '产品树表';
- --
- -- Name: COLUMN mf_product.product_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.product_id IS '产品id';
- --
- -- Name: COLUMN mf_product.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.tenant_id IS '租户编码';
- --
- -- Name: COLUMN mf_product.parent_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.parent_id IS '父产品id';
- --
- -- Name: COLUMN mf_product.product_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.product_name IS '产品名称';
- --
- -- Name: COLUMN mf_product.order_num; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.order_num IS '显示顺序';
- --
- -- Name: COLUMN mf_product.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.status IS '产品状态(0正常 1停用)';
- --
- -- Name: COLUMN mf_product.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.version IS '乐观锁';
- --
- -- Name: COLUMN mf_product.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN mf_product.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.create_by IS '创建者';
- --
- -- Name: COLUMN mf_product.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.create_time IS '创建时间';
- --
- -- Name: COLUMN mf_product.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.update_by IS '更新者';
- --
- -- Name: COLUMN mf_product.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_product.update_time IS '更新时间';
- --
- -- Name: mf_student; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.mf_student
- (
- student_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- student_name character varying(30) NOT NULL,
- student_age integer,
- student_hobby character varying(30) NOT NULL,
- student_gender character(1) NOT NULL,
- student_status character(1) DEFAULT '0'::bpchar,
- student_birthday timestamp without time zone,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT '0'::smallint,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.mf_student
- OWNER TO postgres;
- --
- -- Name: TABLE mf_student; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.mf_student IS '学生信息单表';
- --
- -- Name: COLUMN mf_student.student_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_id IS '编号';
- --
- -- Name: COLUMN mf_student.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.tenant_id IS '租户编码';
- --
- -- Name: COLUMN mf_student.student_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_name IS '学生名称';
- --
- -- Name: COLUMN mf_student.student_age; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_age IS '年龄';
- --
- -- Name: COLUMN mf_student.student_hobby; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_hobby IS '爱好(0代码 1音乐 2电影)';
- --
- -- Name: COLUMN mf_student.student_gender; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_gender IS '性别(1男 2女 3未知)';
- --
- -- Name: COLUMN mf_student.student_status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_status IS '状态(0正常 1停用)';
- --
- -- Name: COLUMN mf_student.student_birthday; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.student_birthday IS '生日';
- --
- -- Name: COLUMN mf_student.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.version IS '乐观锁';
- --
- -- Name: COLUMN mf_student.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN mf_student.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.create_by IS '创建者';
- --
- -- Name: COLUMN mf_student.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.create_time IS '创建时间';
- --
- -- Name: COLUMN mf_student.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.update_by IS '更新者';
- --
- -- Name: COLUMN mf_student.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.mf_student.update_time IS '更新时间';
- --
- -- Name: pj_app_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_app_info
- (
- id bigint NOT NULL,
- app_name character varying(255) DEFAULT NULL::character varying,
- current_server character varying(255) DEFAULT NULL::character varying,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- password character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_app_info
- OWNER TO postgres;
- --
- -- Name: pj_container_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_container_info
- (
- id bigint NOT NULL,
- app_id bigint,
- container_name character varying(255) DEFAULT NULL::character varying,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- last_deploy_time timestamp without time zone,
- source_info character varying(255) DEFAULT NULL::character varying,
- source_type integer,
- status integer,
- version character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_container_info
- OWNER TO postgres;
- --
- -- Name: pj_instance_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_instance_info
- (
- id bigint NOT NULL,
- actual_trigger_time bigint,
- app_id bigint,
- expected_trigger_time bigint,
- finished_time bigint,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- instance_id bigint,
- instance_params text,
- job_id bigint,
- job_params text,
- last_report_time bigint,
- result text,
- running_times bigint,
- status integer,
- task_tracker_address character varying(255) DEFAULT NULL::character varying,
- type integer,
- wf_instance_id bigint
- );
- ALTER TABLE public.pj_instance_info
- OWNER TO postgres;
- --
- -- Name: pj_job_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_job_info
- (
- id bigint NOT NULL,
- alarm_config character varying(255) DEFAULT NULL::character varying,
- app_id bigint,
- concurrency integer,
- designated_workers character varying(255) DEFAULT NULL::character varying,
- dispatch_strategy integer,
- execute_type integer,
- extra character varying(255) DEFAULT NULL::character varying,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- instance_retry_num integer,
- instance_time_limit bigint,
- job_description character varying(255) DEFAULT NULL::character varying,
- job_name character varying(255) DEFAULT NULL::character varying,
- job_params text,
- lifecycle character varying(255) DEFAULT NULL::character varying,
- log_config character varying(255) DEFAULT NULL::character varying,
- max_instance_num integer,
- max_worker_count integer,
- min_cpu_cores double precision NOT NULL,
- min_disk_space double precision NOT NULL,
- min_memory_space double precision NOT NULL,
- next_trigger_time bigint,
- notify_user_ids character varying(255) DEFAULT NULL::character varying,
- processor_info character varying(255) DEFAULT NULL::character varying,
- processor_type integer,
- status integer,
- tag character varying(255) DEFAULT NULL::character varying,
- task_retry_num integer,
- time_expression character varying(255) DEFAULT NULL::character varying,
- time_expression_type integer
- );
- ALTER TABLE public.pj_job_info
- OWNER TO postgres;
- --
- -- Name: pj_oms_lock; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_oms_lock
- (
- id bigint NOT NULL,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- lock_name character varying(255) DEFAULT NULL::character varying,
- max_lock_time bigint,
- ownerip character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_oms_lock
- OWNER TO postgres;
- --
- -- Name: pj_server_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_server_info
- (
- id bigint NOT NULL,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- ip character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_server_info
- OWNER TO postgres;
- --
- -- Name: pj_user_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_user_info
- (
- id bigint NOT NULL,
- email character varying(255) DEFAULT NULL::character varying,
- extra character varying(255) DEFAULT NULL::character varying,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- password character varying(255) DEFAULT NULL::character varying,
- phone character varying(255) DEFAULT NULL::character varying,
- username character varying(255) DEFAULT NULL::character varying,
- web_hook character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_user_info
- OWNER TO postgres;
- --
- -- Name: pj_workflow_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_workflow_info
- (
- id bigint NOT NULL,
- app_id bigint,
- extra character varying(255) DEFAULT NULL::character varying,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- lifecycle character varying(255) DEFAULT NULL::character varying,
- max_wf_instance_num integer,
- next_trigger_time bigint,
- notify_user_ids character varying(255) DEFAULT NULL::character varying,
- pedag text,
- status integer,
- time_expression character varying(255) DEFAULT NULL::character varying,
- time_expression_type integer,
- wf_description character varying(255) DEFAULT NULL::character varying,
- wf_name character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.pj_workflow_info
- OWNER TO postgres;
- --
- -- Name: pj_workflow_instance_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_workflow_instance_info
- (
- id bigint NOT NULL,
- actual_trigger_time bigint,
- app_id bigint,
- dag text,
- expected_trigger_time bigint,
- finished_time bigint,
- gmt_create timestamp without time zone,
- gmt_modified timestamp without time zone,
- parent_wf_instance_id bigint,
- result text,
- status integer,
- wf_context text,
- wf_init_params text,
- wf_instance_id bigint,
- workflow_id bigint
- );
- ALTER TABLE public.pj_workflow_instance_info
- OWNER TO postgres;
- --
- -- Name: pj_workflow_node_info; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.pj_workflow_node_info
- (
- id bigint NOT NULL,
- app_id bigint NOT NULL,
- enable boolean NOT NULL,
- extra text,
- gmt_create timestamp without time zone NOT NULL,
- gmt_modified timestamp without time zone NOT NULL,
- job_id bigint,
- node_name character varying(255) DEFAULT NULL::character varying,
- node_params text,
- skip_when_failed boolean NOT NULL,
- type integer,
- workflow_id bigint
- );
- ALTER TABLE public.pj_workflow_node_info
- OWNER TO postgres;
- --
- -- Name: sys_client; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_client
- (
- id bigint NOT NULL,
- client_id character varying(64) DEFAULT ''::character varying,
- client_key character varying(32) DEFAULT ''::character varying,
- client_secret character varying(255) DEFAULT ''::character varying,
- grant_type character varying(255) DEFAULT ''::character varying,
- device_type character varying(32) DEFAULT ''::character varying,
- active_timeout integer DEFAULT 1800,
- timeout integer DEFAULT 604800,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.sys_client
- OWNER TO postgres;
- --
- -- Name: TABLE sys_client; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_client IS '系统授权表';
- --
- -- Name: COLUMN sys_client.id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.id IS '主建';
- --
- -- Name: COLUMN sys_client.client_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.client_id IS '客户端id';
- --
- -- Name: COLUMN sys_client.client_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.client_key IS '客户端key';
- --
- -- Name: COLUMN sys_client.client_secret; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.client_secret IS '客户端秘钥';
- --
- -- Name: COLUMN sys_client.grant_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.grant_type IS '授权类型';
- --
- -- Name: COLUMN sys_client.device_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.device_type IS '设备类型';
- --
- -- Name: COLUMN sys_client.active_timeout; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.active_timeout IS 'token活跃超时时间';
- --
- -- Name: COLUMN sys_client.timeout; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.timeout IS 'token固定超时';
- --
- -- Name: COLUMN sys_client.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.status IS '状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_client.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.version IS '乐观锁';
- --
- -- Name: COLUMN sys_client.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_client.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.create_by IS '创建者';
- --
- -- Name: COLUMN sys_client.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_client.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.update_by IS '更新者';
- --
- -- Name: COLUMN sys_client.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_client.update_time IS '更新时间';
- --
- -- Name: sys_config; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_config
- (
- config_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- config_name character varying(100) DEFAULT ''::character varying,
- config_key character varying(100) DEFAULT ''::character varying,
- config_value character varying(500) DEFAULT ''::character varying,
- config_type character(1) DEFAULT 'N'::bpchar,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_config
- OWNER TO postgres;
- --
- -- Name: TABLE sys_config; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_config IS '参数配置表';
- --
- -- Name: COLUMN sys_config.config_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.config_id IS '参数主键';
- --
- -- Name: COLUMN sys_config.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_config.config_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.config_name IS '参数名称';
- --
- -- Name: COLUMN sys_config.config_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.config_key IS '参数键名';
- --
- -- Name: COLUMN sys_config.config_value; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.config_value IS '参数键值';
- --
- -- Name: COLUMN sys_config.config_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.config_type IS '系统内置(Y是 N否)';
- --
- -- Name: COLUMN sys_config.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.version IS '乐观锁';
- --
- -- Name: COLUMN sys_config.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.create_by IS '创建者';
- --
- -- Name: COLUMN sys_config.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_config.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.update_by IS '更新者';
- --
- -- Name: COLUMN sys_config.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_config.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_config.remark IS '备注';
- --
- -- Name: sys_dept; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_dept
- (
- dept_id bigint NOT NULL,
- tenant_id bigint DEFAULT 0,
- parent_id bigint DEFAULT 0,
- ancestors character varying(760) DEFAULT ''::character varying,
- dept_name character varying(30) DEFAULT ''::character varying,
- order_num integer DEFAULT 0,
- leader character varying(20) DEFAULT ''::character varying,
- phone character varying(11) DEFAULT NULL::character varying,
- email character varying(50) DEFAULT NULL::character varying,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.sys_dept
- OWNER TO postgres;
- --
- -- Name: TABLE sys_dept; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_dept IS '部门表';
- --
- -- Name: COLUMN sys_dept.dept_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.dept_id IS '部门ID';
- --
- -- Name: COLUMN sys_dept.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_dept.parent_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.parent_id IS '父部门ID';
- --
- -- Name: COLUMN sys_dept.ancestors; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.ancestors IS '祖级列表';
- --
- -- Name: COLUMN sys_dept.dept_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.dept_name IS '部门名称';
- --
- -- Name: COLUMN sys_dept.order_num; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.order_num IS '显示顺序';
- --
- -- Name: COLUMN sys_dept.leader; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.leader IS '负责人';
- --
- -- Name: COLUMN sys_dept.phone; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.phone IS '联系电话';
- --
- -- Name: COLUMN sys_dept.email; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.email IS '邮箱';
- --
- -- Name: COLUMN sys_dept.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.status IS '部门状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_dept.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.version IS '乐观锁';
- --
- -- Name: COLUMN sys_dept.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_dept.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.create_by IS '创建者';
- --
- -- Name: COLUMN sys_dept.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_dept.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.update_by IS '更新者';
- --
- -- Name: COLUMN sys_dept.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dept.update_time IS '更新时间';
- --
- -- Name: sys_dict_data; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_dict_data
- (
- dict_code bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- dict_sort integer DEFAULT 0,
- dict_label character varying(100) DEFAULT ''::character varying,
- dict_value character varying(100) DEFAULT ''::character varying,
- dict_type character varying(100) DEFAULT ''::character varying,
- css_class character varying(100) DEFAULT NULL::character varying,
- list_class character varying(100) DEFAULT NULL::character varying,
- is_default character(1) DEFAULT 'N'::bpchar,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(2000) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_dict_data
- OWNER TO postgres;
- --
- -- Name: TABLE sys_dict_data; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_dict_data IS '字典数据表';
- --
- -- Name: COLUMN sys_dict_data.dict_code; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.dict_code IS '字典编码';
- --
- -- Name: COLUMN sys_dict_data.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_dict_data.dict_sort; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.dict_sort IS '字典排序';
- --
- -- Name: COLUMN sys_dict_data.dict_label; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.dict_label IS '字典标签';
- --
- -- Name: COLUMN sys_dict_data.dict_value; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.dict_value IS '字典键值';
- --
- -- Name: COLUMN sys_dict_data.dict_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.dict_type IS '字典类型';
- --
- -- Name: COLUMN sys_dict_data.css_class; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.css_class IS '样式属性(其他样式扩展)';
- --
- -- Name: COLUMN sys_dict_data.list_class; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.list_class IS '表格回显样式';
- --
- -- Name: COLUMN sys_dict_data.is_default; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.is_default IS '是否默认(Y是 N否)';
- --
- -- Name: COLUMN sys_dict_data.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.version IS '乐观锁';
- --
- -- Name: COLUMN sys_dict_data.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.create_by IS '创建者';
- --
- -- Name: COLUMN sys_dict_data.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_dict_data.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.update_by IS '更新者';
- --
- -- Name: COLUMN sys_dict_data.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_dict_data.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_data.remark IS '备注';
- --
- -- Name: sys_dict_type; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_dict_type
- (
- dict_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- dict_name character varying(100) DEFAULT ''::character varying,
- dict_type character varying(100) DEFAULT ''::character varying,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_dict_type
- OWNER TO postgres;
- --
- -- Name: TABLE sys_dict_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_dict_type IS '字典类型表';
- --
- -- Name: COLUMN sys_dict_type.dict_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.dict_id IS '字典主键';
- --
- -- Name: COLUMN sys_dict_type.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_dict_type.dict_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.dict_name IS '字典名称';
- --
- -- Name: COLUMN sys_dict_type.dict_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.dict_type IS '字典类型';
- --
- -- Name: COLUMN sys_dict_type.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.version IS '乐观锁';
- --
- -- Name: COLUMN sys_dict_type.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.create_by IS '创建者';
- --
- -- Name: COLUMN sys_dict_type.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_dict_type.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.update_by IS '更新者';
- --
- -- Name: COLUMN sys_dict_type.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_dict_type.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_dict_type.remark IS '备注';
- --
- -- Name: sys_logininfor; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_logininfor
- (
- info_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- user_name character varying(50) DEFAULT ''::character varying,
- client_key character varying(32) DEFAULT ''::character varying,
- device_type character varying(32) DEFAULT ''::character varying,
- ipaddr character varying(128) DEFAULT ''::character varying,
- login_location character varying(255) DEFAULT ''::character varying,
- browser character varying(50) DEFAULT ''::character varying,
- os character varying(50) DEFAULT ''::character varying,
- status character(1) DEFAULT '0'::bpchar,
- msg character varying(255) DEFAULT ''::character varying,
- login_time timestamp without time zone
- );
- ALTER TABLE public.sys_logininfor
- OWNER TO postgres;
- --
- -- Name: TABLE sys_logininfor; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_logininfor IS '系统访问记录';
- --
- -- Name: COLUMN sys_logininfor.info_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.info_id IS '访问ID';
- --
- -- Name: COLUMN sys_logininfor.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_logininfor.user_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.user_name IS '用户账号';
- --
- -- Name: COLUMN sys_logininfor.client_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.client_key IS '客户端';
- --
- -- Name: COLUMN sys_logininfor.device_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.device_type IS '设备类型';
- --
- -- Name: COLUMN sys_logininfor.ipaddr; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.ipaddr IS '登录IP地址';
- --
- -- Name: COLUMN sys_logininfor.login_location; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.login_location IS '登录地点';
- --
- -- Name: COLUMN sys_logininfor.browser; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.browser IS '浏览器类型';
- --
- -- Name: COLUMN sys_logininfor.os; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.os IS '操作系统';
- --
- -- Name: COLUMN sys_logininfor.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.status IS '登录状态(0成功 1失败)';
- --
- -- Name: COLUMN sys_logininfor.msg; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.msg IS '提示消息';
- --
- -- Name: COLUMN sys_logininfor.login_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_logininfor.login_time IS '访问时间';
- --
- -- Name: sys_menu; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_menu
- (
- menu_id bigint NOT NULL,
- menu_name character varying(50) NOT NULL,
- parent_id bigint DEFAULT 0,
- order_num integer DEFAULT 0,
- path character varying(200) DEFAULT ''::character varying,
- component character varying(255) DEFAULT NULL::character varying,
- component_name character varying(255) DEFAULT NULL::character varying,
- query_param character varying(255) DEFAULT NULL::character varying,
- is_frame character(1) DEFAULT '1'::bpchar,
- is_cache character(1) DEFAULT '0'::bpchar,
- menu_type character(1) DEFAULT ''::bpchar,
- visible character(1) DEFAULT '0'::bpchar,
- status character(1) DEFAULT '0'::bpchar,
- perms character varying(100) DEFAULT NULL::character varying,
- icon character varying(100) DEFAULT '#'::character varying,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT ''::character varying
- );
- ALTER TABLE public.sys_menu
- OWNER TO postgres;
- --
- -- Name: TABLE sys_menu; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_menu IS '菜单权限表';
- --
- -- Name: COLUMN sys_menu.menu_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.menu_id IS '菜单ID';
- --
- -- Name: COLUMN sys_menu.menu_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.menu_name IS '菜单名称';
- --
- -- Name: COLUMN sys_menu.parent_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.parent_id IS '父菜单ID';
- --
- -- Name: COLUMN sys_menu.order_num; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.order_num IS '显示顺序';
- --
- -- Name: COLUMN sys_menu.path; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.path IS '路由地址';
- --
- -- Name: COLUMN sys_menu.component; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.component IS '组件路径';
- --
- -- Name: COLUMN sys_menu.component_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.component_name IS '组件名称';
- --
- -- Name: COLUMN sys_menu.query_param; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.query_param IS '路由参数';
- --
- -- Name: COLUMN sys_menu.is_frame; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.is_frame IS '是否为外链(0是 1否)';
- --
- -- Name: COLUMN sys_menu.is_cache; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.is_cache IS '是否缓存(0缓存 1不缓存)';
- --
- -- Name: COLUMN sys_menu.menu_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.menu_type IS '菜单类型(M目录 C菜单 F按钮)';
- --
- -- Name: COLUMN sys_menu.visible; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.visible IS '显示状态(0显示 1隐藏)';
- --
- -- Name: COLUMN sys_menu.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.status IS '菜单状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_menu.perms; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.perms IS '权限标识';
- --
- -- Name: COLUMN sys_menu.icon; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.icon IS '菜单图标';
- --
- -- Name: COLUMN sys_menu.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.version IS '乐观锁';
- --
- -- Name: COLUMN sys_menu.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.create_by IS '创建者';
- --
- -- Name: COLUMN sys_menu.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_menu.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.update_by IS '更新者';
- --
- -- Name: COLUMN sys_menu.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_menu.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_menu.remark IS '备注';
- --
- -- Name: sys_notice; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_notice
- (
- notice_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- notice_title character varying(50) NOT NULL,
- notice_type character(1) NOT NULL,
- notice_content text,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(255) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_notice
- OWNER TO postgres;
- --
- -- Name: TABLE sys_notice; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_notice IS '通知公告表';
- --
- -- Name: COLUMN sys_notice.notice_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.notice_id IS '公告ID';
- --
- -- Name: COLUMN sys_notice.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_notice.notice_title; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.notice_title IS '公告标题';
- --
- -- Name: COLUMN sys_notice.notice_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.notice_type IS '公告类型(1通知 2公告)';
- --
- -- Name: COLUMN sys_notice.notice_content; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.notice_content IS '公告内容';
- --
- -- Name: COLUMN sys_notice.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.status IS '公告状态(0正常 1关闭)';
- --
- -- Name: COLUMN sys_notice.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.version IS '乐观锁';
- --
- -- Name: COLUMN sys_notice.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.create_by IS '创建者';
- --
- -- Name: COLUMN sys_notice.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_notice.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.update_by IS '更新者';
- --
- -- Name: COLUMN sys_notice.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_notice.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_notice.remark IS '备注';
- --
- -- Name: sys_oper_log; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_oper_log
- (
- oper_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- title character varying(50) DEFAULT ''::character varying,
- business_type integer DEFAULT 0,
- method character varying(100) DEFAULT ''::character varying,
- request_method character varying(10) DEFAULT ''::character varying,
- operator_type integer DEFAULT 0,
- oper_name character varying(50) DEFAULT ''::character varying,
- dept_name character varying(50) DEFAULT ''::character varying,
- oper_url character varying(255) DEFAULT ''::character varying,
- oper_ip character varying(128) DEFAULT ''::character varying,
- oper_location character varying(255) DEFAULT ''::character varying,
- oper_param character varying(2000) DEFAULT ''::character varying,
- json_result character varying(2000) DEFAULT ''::character varying,
- status integer DEFAULT 0,
- error_msg character varying(2000) DEFAULT ''::character varying,
- oper_time timestamp without time zone,
- cost_time bigint DEFAULT 0
- );
- ALTER TABLE public.sys_oper_log
- OWNER TO postgres;
- --
- -- Name: TABLE sys_oper_log; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_oper_log IS '操作日志记录';
- --
- -- Name: COLUMN sys_oper_log.oper_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_id IS '日志主键';
- --
- -- Name: COLUMN sys_oper_log.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_oper_log.title; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.title IS '模块标题';
- --
- -- Name: COLUMN sys_oper_log.business_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.business_type IS '业务类型(0其它 1新增 2修改 3删除)';
- --
- -- Name: COLUMN sys_oper_log.method; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.method IS '方法名称';
- --
- -- Name: COLUMN sys_oper_log.request_method; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.request_method IS '请求方式';
- --
- -- Name: COLUMN sys_oper_log.operator_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.operator_type IS '操作类别(0其它 1后台用户 2手机端用户)';
- --
- -- Name: COLUMN sys_oper_log.oper_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_name IS '操作人员';
- --
- -- Name: COLUMN sys_oper_log.dept_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.dept_name IS '部门名称';
- --
- -- Name: COLUMN sys_oper_log.oper_url; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_url IS '请求URL';
- --
- -- Name: COLUMN sys_oper_log.oper_ip; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_ip IS '主机地址';
- --
- -- Name: COLUMN sys_oper_log.oper_location; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_location IS '操作地点';
- --
- -- Name: COLUMN sys_oper_log.oper_param; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_param IS '请求参数';
- --
- -- Name: COLUMN sys_oper_log.json_result; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.json_result IS '返回参数';
- --
- -- Name: COLUMN sys_oper_log.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.status IS '操作状态(0正常 1异常)';
- --
- -- Name: COLUMN sys_oper_log.error_msg; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.error_msg IS '错误消息';
- --
- -- Name: COLUMN sys_oper_log.oper_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.oper_time IS '操作时间';
- --
- -- Name: COLUMN sys_oper_log.cost_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oper_log.cost_time IS '消耗时间';
- --
- -- Name: sys_oss; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_oss
- (
- oss_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- file_name character varying(255) DEFAULT ''::character varying NOT NULL,
- original_name character varying(255) DEFAULT ''::character varying NOT NULL,
- file_suffix character varying(10) DEFAULT ''::character varying NOT NULL,
- url character varying(500) DEFAULT ''::character varying NOT NULL,
- service character varying(20) DEFAULT 'minio'::character varying,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.sys_oss
- OWNER TO postgres;
- --
- -- Name: TABLE sys_oss; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_oss IS 'OSS对象存储表';
- --
- -- Name: COLUMN sys_oss.oss_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.oss_id IS '对象存储主键';
- --
- -- Name: COLUMN sys_oss.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.tenant_id IS '租户编码';
- --
- -- Name: COLUMN sys_oss.file_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.file_name IS '文件名';
- --
- -- Name: COLUMN sys_oss.original_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.original_name IS '原名';
- --
- -- Name: COLUMN sys_oss.file_suffix; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.file_suffix IS '文件后缀名';
- --
- -- Name: COLUMN sys_oss.url; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.url IS 'URL地址';
- --
- -- Name: COLUMN sys_oss.service; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.service IS '服务商';
- --
- -- Name: COLUMN sys_oss.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.version IS '乐观锁';
- --
- -- Name: COLUMN sys_oss.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.create_by IS '上传人';
- --
- -- Name: COLUMN sys_oss.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_oss.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.update_by IS '更新者';
- --
- -- Name: COLUMN sys_oss.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss.update_time IS '更新时间';
- --
- -- Name: sys_oss_config; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_oss_config
- (
- oss_config_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- config_key character varying(20) DEFAULT ''::character varying NOT NULL,
- access_key character varying(255) DEFAULT ''::character varying,
- secret_key character varying(255) DEFAULT ''::character varying,
- bucket_name character varying(255) DEFAULT ''::character varying,
- prefix character varying(255) DEFAULT ''::character varying,
- endpoint character varying(255) DEFAULT ''::character varying,
- domain character varying(255) DEFAULT ''::character varying,
- is_https character(1) DEFAULT 'N'::bpchar,
- region character varying(255) DEFAULT ''::character varying,
- access_policy character(1) DEFAULT '1'::bpchar NOT NULL,
- status character(1) DEFAULT '1'::bpchar,
- ext1 character varying(255) DEFAULT ''::character varying,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT ''::character varying
- );
- ALTER TABLE public.sys_oss_config
- OWNER TO postgres;
- --
- -- Name: TABLE sys_oss_config; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_oss_config IS '对象存储配置表';
- --
- -- Name: COLUMN sys_oss_config.oss_config_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.oss_config_id IS '主建';
- --
- -- Name: COLUMN sys_oss_config.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.tenant_id IS '租户编码';
- --
- -- Name: COLUMN sys_oss_config.config_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.config_key IS '配置key';
- --
- -- Name: COLUMN sys_oss_config.access_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.access_key IS 'accessKey';
- --
- -- Name: COLUMN sys_oss_config.secret_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.secret_key IS '秘钥';
- --
- -- Name: COLUMN sys_oss_config.bucket_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.bucket_name IS '桶名称';
- --
- -- Name: COLUMN sys_oss_config.prefix; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.prefix IS '前缀';
- --
- -- Name: COLUMN sys_oss_config.endpoint; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.endpoint IS '访问站点';
- --
- -- Name: COLUMN sys_oss_config.domain; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.domain IS '自定义域名';
- --
- -- Name: COLUMN sys_oss_config.is_https; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.is_https IS '是否https(Y=是,N=否)';
- --
- -- Name: COLUMN sys_oss_config.region; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.region IS '域';
- --
- -- Name: COLUMN sys_oss_config.access_policy; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.access_policy IS '桶权限类型(0=private 1=public 2=custom)';
- --
- -- Name: COLUMN sys_oss_config.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.status IS '是否默认(0=是,1=否)';
- --
- -- Name: COLUMN sys_oss_config.ext1; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.ext1 IS '扩展字段';
- --
- -- Name: COLUMN sys_oss_config.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.version IS '乐观锁';
- --
- -- Name: COLUMN sys_oss_config.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.create_by IS '创建者';
- --
- -- Name: COLUMN sys_oss_config.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_oss_config.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.update_by IS '更新者';
- --
- -- Name: COLUMN sys_oss_config.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_oss_config.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_oss_config.remark IS '备注';
- --
- -- Name: sys_post; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_post
- (
- post_id bigint NOT NULL,
- tenant_id bigint DEFAULT '0'::bigint NOT NULL,
- post_code character varying(64) NOT NULL,
- post_name character varying(50) NOT NULL,
- post_sort integer NOT NULL,
- status character(1) NOT NULL,
- version integer DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_post
- OWNER TO postgres;
- --
- -- Name: TABLE sys_post; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_post IS '岗位信息表';
- --
- -- Name: COLUMN sys_post.post_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.post_id IS '岗位ID';
- --
- -- Name: COLUMN sys_post.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_post.post_code; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.post_code IS '岗位编码';
- --
- -- Name: COLUMN sys_post.post_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.post_name IS '岗位名称';
- --
- -- Name: COLUMN sys_post.post_sort; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.post_sort IS '显示顺序';
- --
- -- Name: COLUMN sys_post.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.status IS '状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_post.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.version IS '乐观锁';
- --
- -- Name: COLUMN sys_post.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.create_by IS '创建者';
- --
- -- Name: COLUMN sys_post.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_post.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.update_by IS '更新者';
- --
- -- Name: COLUMN sys_post.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_post.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_post.remark IS '备注';
- --
- -- Name: sys_role; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_role
- (
- role_id bigint NOT NULL,
- tenant_id bigint DEFAULT 0,
- role_name character varying(30) NOT NULL,
- role_key character varying(100) NOT NULL,
- role_sort integer NOT NULL,
- data_scope character(1) DEFAULT '1'::bpchar,
- menu_check_strictly boolean DEFAULT true,
- dept_check_strictly boolean DEFAULT true,
- status character(1) NOT NULL,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_role
- OWNER TO postgres;
- --
- -- Name: TABLE sys_role; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_role IS '角色信息表';
- --
- -- Name: COLUMN sys_role.role_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.role_id IS '角色ID';
- --
- -- Name: COLUMN sys_role.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_role.role_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.role_name IS '角色名称';
- --
- -- Name: COLUMN sys_role.role_key; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.role_key IS '角色权限字符串';
- --
- -- Name: COLUMN sys_role.role_sort; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.role_sort IS '显示顺序';
- --
- -- Name: COLUMN sys_role.data_scope; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.data_scope IS '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)';
- --
- -- Name: COLUMN sys_role.menu_check_strictly; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.menu_check_strictly IS '菜单树选择项是否关联显示';
- --
- -- Name: COLUMN sys_role.dept_check_strictly; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.dept_check_strictly IS '部门树选择项是否关联显示';
- --
- -- Name: COLUMN sys_role.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.status IS '角色状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_role.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.version IS '乐观锁';
- --
- -- Name: COLUMN sys_role.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_role.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.create_by IS '创建者';
- --
- -- Name: COLUMN sys_role.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_role.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.update_by IS '更新者';
- --
- -- Name: COLUMN sys_role.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_role.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role.remark IS '备注';
- --
- -- Name: sys_role_dept; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_role_dept
- (
- role_id bigint NOT NULL,
- dept_id bigint NOT NULL
- );
- ALTER TABLE public.sys_role_dept
- OWNER TO postgres;
- --
- -- Name: TABLE sys_role_dept; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_role_dept IS '角色和部门关联表';
- --
- -- Name: COLUMN sys_role_dept.role_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role_dept.role_id IS '角色ID';
- --
- -- Name: COLUMN sys_role_dept.dept_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role_dept.dept_id IS '部门ID';
- --
- -- Name: sys_role_menu; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_role_menu
- (
- role_id bigint NOT NULL,
- menu_id bigint NOT NULL
- );
- ALTER TABLE public.sys_role_menu
- OWNER TO postgres;
- --
- -- Name: TABLE sys_role_menu; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_role_menu IS '角色和菜单关联表';
- --
- -- Name: COLUMN sys_role_menu.role_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role_menu.role_id IS '角色ID';
- --
- -- Name: COLUMN sys_role_menu.menu_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_role_menu.menu_id IS '菜单ID';
- --
- -- Name: sys_tenant; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_tenant
- (
- tenant_id bigint NOT NULL,
- contact_user_name character varying(20) DEFAULT NULL::character varying,
- contact_phone character varying(20) DEFAULT NULL::character varying,
- company_name character varying(50) DEFAULT NULL::character varying,
- license_number character varying(30) DEFAULT NULL::character varying,
- address character varying(200) DEFAULT NULL::character varying,
- intro character varying(200) DEFAULT NULL::character varying,
- domain character varying(200) DEFAULT NULL::character varying,
- remark character varying(200) DEFAULT NULL::character varying,
- package_id bigint,
- expire_time timestamp without time zone,
- account_count integer DEFAULT '-1'::integer,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.sys_tenant
- OWNER TO postgres;
- --
- -- Name: TABLE sys_tenant; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_tenant IS '租户表';
- --
- -- Name: COLUMN sys_tenant.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_tenant.contact_user_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.contact_user_name IS '联系人';
- --
- -- Name: COLUMN sys_tenant.contact_phone; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.contact_phone IS '联系电话';
- --
- -- Name: COLUMN sys_tenant.company_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.company_name IS '企业名称';
- --
- -- Name: COLUMN sys_tenant.license_number; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.license_number IS '统一社会信用代码';
- --
- -- Name: COLUMN sys_tenant.address; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.address IS '地址';
- --
- -- Name: COLUMN sys_tenant.intro; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.intro IS '企业简介';
- --
- -- Name: COLUMN sys_tenant.domain; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.domain IS '域名';
- --
- -- Name: COLUMN sys_tenant.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.remark IS '备注';
- --
- -- Name: COLUMN sys_tenant.package_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.package_id IS '租户套餐编号';
- --
- -- Name: COLUMN sys_tenant.expire_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.expire_time IS '过期时间';
- --
- -- Name: COLUMN sys_tenant.account_count; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.account_count IS '用户数量(-1不限制)';
- --
- -- Name: COLUMN sys_tenant.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.status IS '租户状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_tenant.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.version IS '乐观锁';
- --
- -- Name: COLUMN sys_tenant.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_tenant.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.create_by IS '创建者';
- --
- -- Name: COLUMN sys_tenant.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_tenant.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.update_by IS '更新者';
- --
- -- Name: COLUMN sys_tenant.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant.update_time IS '更新时间';
- --
- -- Name: sys_tenant_package; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_tenant_package
- (
- package_id bigint NOT NULL,
- package_name character varying(20) DEFAULT ''::character varying,
- menu_ids character varying(3000) DEFAULT ''::character varying,
- remark character varying(200) DEFAULT ''::character varying,
- menu_check_strictly boolean DEFAULT true,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone
- );
- ALTER TABLE public.sys_tenant_package
- OWNER TO postgres;
- --
- -- Name: TABLE sys_tenant_package; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_tenant_package IS '租户套餐表';
- --
- -- Name: COLUMN sys_tenant_package.package_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.package_id IS '租户套餐id';
- --
- -- Name: COLUMN sys_tenant_package.package_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.package_name IS '套餐名称';
- --
- -- Name: COLUMN sys_tenant_package.menu_ids; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.menu_ids IS '关联菜单id';
- --
- -- Name: COLUMN sys_tenant_package.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.remark IS '备注';
- --
- -- Name: COLUMN sys_tenant_package.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.status IS '状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_tenant_package.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.version IS '乐观锁';
- --
- -- Name: COLUMN sys_tenant_package.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_tenant_package.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.create_by IS '创建者';
- --
- -- Name: COLUMN sys_tenant_package.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_tenant_package.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.update_by IS '更新者';
- --
- -- Name: COLUMN sys_tenant_package.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_tenant_package.update_time IS '更新时间';
- --
- -- Name: sys_user; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_user
- (
- user_id bigint NOT NULL,
- tenant_id bigint,
- dept_id bigint,
- user_name character varying(30) NOT NULL,
- nick_name character varying(30) NOT NULL,
- user_type character varying(10) DEFAULT 'sys_user'::character varying,
- email character varying(50) DEFAULT ''::character varying NOT NULL,
- phonenumber character varying(11) DEFAULT ''::character varying,
- gender character(1) DEFAULT '0'::bpchar,
- avatar bigint,
- password character varying(100) DEFAULT ''::character varying,
- status character(1) DEFAULT '0'::bpchar,
- version integer DEFAULT 0,
- del_flag smallint DEFAULT 0,
- login_ip character varying(128) DEFAULT ''::character varying,
- login_date timestamp without time zone,
- create_by bigint,
- create_time timestamp without time zone,
- update_by bigint,
- update_time timestamp without time zone,
- remark character varying(500) DEFAULT NULL::character varying
- );
- ALTER TABLE public.sys_user
- OWNER TO postgres;
- --
- -- Name: TABLE sys_user; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_user IS '用户信息表';
- --
- -- Name: COLUMN sys_user.user_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.user_id IS '用户ID';
- --
- -- Name: COLUMN sys_user.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.tenant_id IS '租户编号';
- --
- -- Name: COLUMN sys_user.dept_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.dept_id IS '部门ID';
- --
- -- Name: COLUMN sys_user.user_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.user_name IS '用户账号';
- --
- -- Name: COLUMN sys_user.nick_name; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.nick_name IS '用户昵称';
- --
- -- Name: COLUMN sys_user.user_type; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.user_type IS '用户类型(sys_user系统用户)';
- --
- -- Name: COLUMN sys_user.email; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.email IS '用户邮箱';
- --
- -- Name: COLUMN sys_user.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.phonenumber IS '手机号码';
- --
- -- Name: COLUMN sys_user.gender; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.gender IS '用户性别(0男 1女 2未知)';
- --
- -- Name: COLUMN sys_user.avatar; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.avatar IS '头像地址';
- --
- -- Name: COLUMN sys_user.password; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.password IS '密码';
- --
- -- Name: COLUMN sys_user.status; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.status IS '帐号状态(0正常 1停用)';
- --
- -- Name: COLUMN sys_user.version; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.version IS '乐观锁';
- --
- -- Name: COLUMN sys_user.del_flag; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.del_flag IS '删除标志(0代表存在 1代表删除)';
- --
- -- Name: COLUMN sys_user.login_ip; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.login_ip IS '最后登陆IP';
- --
- -- Name: COLUMN sys_user.login_date; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.login_date IS '最后登陆时间';
- --
- -- Name: COLUMN sys_user.create_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.create_by IS '创建者';
- --
- -- Name: COLUMN sys_user.create_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.create_time IS '创建时间';
- --
- -- Name: COLUMN sys_user.update_by; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.update_by IS '更新者';
- --
- -- Name: COLUMN sys_user.update_time; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.update_time IS '更新时间';
- --
- -- Name: COLUMN sys_user.remark; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user.remark IS '备注';
- --
- -- Name: sys_user_post; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_user_post
- (
- user_id bigint NOT NULL,
- post_id bigint NOT NULL
- );
- ALTER TABLE public.sys_user_post
- OWNER TO postgres;
- --
- -- Name: TABLE sys_user_post; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_user_post IS '用户与岗位关联表';
- --
- -- Name: COLUMN sys_user_post.user_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user_post.user_id IS '用户ID';
- --
- -- Name: COLUMN sys_user_post.post_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user_post.post_id IS '岗位ID';
- --
- -- Name: sys_user_role; Type: TABLE; Schema: public; Owner: postgres
- --
- CREATE TABLE public.sys_user_role
- (
- user_id bigint NOT NULL,
- role_id bigint NOT NULL
- );
- ALTER TABLE public.sys_user_role
- OWNER TO postgres;
- --
- -- Name: TABLE sys_user_role; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON TABLE public.sys_user_role IS '用户和角色关联表';
- --
- -- Name: COLUMN sys_user_role.user_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user_role.user_id IS '用户ID';
- --
- -- Name: COLUMN sys_user_role.role_id; Type: COMMENT; Schema: public; Owner: postgres
- --
- COMMENT ON COLUMN public.sys_user_role.role_id IS '角色ID';
- --
- -- Name: demo_customer customer_id; Type: DEFAULT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_customer
- ALTER COLUMN customer_id SET DEFAULT nextval('public.demo_customer_customer_id_seq'::regclass);
- --
- -- Name: demo_goods goods_id; Type: DEFAULT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_goods
- ALTER COLUMN goods_id SET DEFAULT nextval('public.demo_goods_goods_id_seq'::regclass);
- --
- -- Name: demo_product product_id; Type: DEFAULT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_product
- ALTER COLUMN product_id SET DEFAULT nextval('public.demo_product_product_id_seq'::regclass);
- --
- -- Name: demo_student student_id; Type: DEFAULT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_student
- ALTER COLUMN student_id SET DEFAULT nextval('public.demo_student_student_id_seq'::regclass);
- --
- -- Data for Name: demo_customer; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: demo_goods; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: demo_product; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: demo_student; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: gen_table; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
- tpl_category, package_name, module_name, business_name, function_name, function_author,
- gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (109840202632585216, 'mf_student', '学生信息单表', '', '', 'MfStudent', 'crud', 'com.taais.demo', 'demo', 'student',
- '学生信息单', 'km', '0', '/', '{}', 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278', NULL);
- INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
- tpl_category, package_name, module_name, business_name, function_name, function_author,
- gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (111209285756723200, 'sys_config', '参数配置表', '', '', 'SysConfig', 'crud', 'com.taais.demo', 'demo', 'config',
- '参数配置', 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336', NULL);
- INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
- tpl_category, package_name, module_name, business_name, function_name, function_author,
- gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (111213300984913920, 'demo_product', '产品树表(mb)', '', '', 'DemoProduct', 'crud', 'com.taais.demo', 'demo',
- 'product', '产品树(mb)', 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067', NULL);
- INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
- tpl_category, package_name, module_name, business_name, function_name, function_author,
- gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (111213943543898112, 'sys_dept', '部门表', '', '', 'SysDept', 'crud', 'com.taais.demo', 'demo', 'dept', '部门',
- 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3', NULL);
- INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
- tpl_category, package_name, module_name, business_name, function_name, function_author,
- gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (111291159158001664, 'sys_user', '用户信息表', '', '', 'SysUser', 'crud', 'com.taais.demo', 'demo', 'user',
- '用户信息', 'km', '0', '/', '{}', 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773', NULL);
- --
- -- Data for Name: gen_table_column; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285861580800, 111209285756723200, 'config_id', '参数主键', 'bigint', 'Long', 'configId', '1', '0', '1',
- NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285899329536, 111209285756723200, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '1',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285928689664, 111209285756723200, 'config_name', '参数名称', 'character varying', 'String', 'configName',
- '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285932883968, 111209285756723200, 'config_key', '参数键名', 'character varying', 'String', 'configKey',
- '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285949661184, 111209285756723200, 'config_value', '参数键值', 'character varying', 'String',
- 'configValue', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209285962244096, 111209285756723200, 'config_type', '系统内置(Y是 N否)', 'character', 'String', 'configType',
- '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286004187136, 111209285756723200, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
- NULL, '1', NULL, NULL, 'EQ', 'input', '', 7, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286008381440, 111209285756723200, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213301018468352, 111213300984913920, 'product_id', '产品id', 'bigint', 'Long', 'productId', '1', '1', '1',
- NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213301026856960, 111213300984913920, 'parent_id', '父产品id', 'bigint', 'Long', 'parentId', '0', '0', '1',
- '1', '1', '1', '1', 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213301035245568, 111213300984913920, 'product_name', '产品名称', 'character varying', 'String',
- 'productName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-02-03 10:22:57', 1,
- '2024-02-03 15:30:37.067');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213301039439872, 111213300984913920, 'order_num', '显示顺序', 'integer', 'Integer', 'orderNum', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213301043634176, 111213300984913920, 'status', '产品状态(0正常 1停用)', 'character', 'String', 'status', '0',
- '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 5, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943560675328, 111213943543898112, 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '1', '0', '1', NULL,
- '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943564869632, 111213943543898112, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943569063936, 111213943543898112, 'parent_id', '父部门ID', 'bigint', 'Long', 'parentId', '0', '0', '1',
- '1', '1', '1', '1', 'EQ', 'input', '', 3, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943573258240, 111213943543898112, 'ancestors', '祖级列表', 'character varying', 'String', 'ancestors',
- '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:25:30', 1,
- '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943577452544, 111213943543898112, 'dept_name', '部门名称', 'character varying', 'String', 'deptName', '0',
- '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943581646848, 111213943543898112, 'order_num', '显示顺序', 'integer', 'Integer', 'orderNum', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943590035456, 111213943543898112, 'leader', '负责人', 'character varying', 'String', 'leader', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943594229760, 111213943543898112, 'phone', '联系电话', 'character varying', 'String', 'phone', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943598424064, 111213943543898112, 'email', '邮箱', 'character varying', 'String', 'email', '0', '0', '1',
- '1', '1', '1', '1', 'EQ', 'input', '', 9, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943602618368, 111213943543898112, 'status', '部门状态(0正常 1停用)', 'character', 'String', 'status', '0',
- '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 10, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943606812672, 111213943543898112, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
- NULL, '1', NULL, NULL, 'EQ', 'input', '', 11, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943606812673, 111213943543898112, 'del_flag', '删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
- 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 1, 1, '2024-02-03 10:25:30', 1,
- '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202657751040, 109840202632585216, 'student_id', '编号', 'bigint', 'Long', 'studentId', '1', '0', '1',
- NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202666139648, 109840202632585216, 'tenant_id', '租户编码', 'bigint', 'Long', 'tenantId', '0', '0', '1',
- NULL, NULL, NULL, '1', 'EQ', 'input', '', 2, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202670333952, 109840202632585216, 'student_name', '学生名称', 'character varying', 'String',
- 'studentName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202691305472, 109840202632585216, 'student_age', '年龄', 'integer', 'Integer', 'studentAge', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202699694080, 109840202632585216, 'student_hobby', '爱好(0代码 1音乐 2电影)', 'character varying',
- 'String', 'studentHobby', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 1, 1, '2024-01-30 15:26:45',
- 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202703888384, 109840202632585216, 'student_gender', '性别(1男 2女 3未知)', 'character', 'String',
- 'studentGender', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202712276992, 109840202632585216, 'student_status', '状态(0正常 1停用)', 'character', 'String',
- 'studentStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 7, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202720665600, 109840202632585216, 'student_birthday', '生日', 'timestamp without time zone', 'Date',
- 'studentBirthday', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'datetime', '', 8, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202729054208, 109840202632585216, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
- NULL, '1', NULL, NULL, 'EQ', 'input', '', 9, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202737442816, 109840202632585216, 'del_flag', '逻辑删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
- 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202741637120, 109840202632585216, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202745831424, 109840202632585216, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
- 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202754220032, 109840202632585216, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (109840202762608640, 109840202632585216, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
- 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 14, 1, 1, '2024-01-30 15:26:45', 1,
- '2024-02-03 15:04:59.278');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286012575744, 111209285756723200, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
- 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286016770048, 111209285756723200, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286020964352, 111209285756723200, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
- 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 11, 1, 1, '2024-02-03 10:06:59', 1,
- '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111209286029352960, 111209285756723200, 'remark', '备注', 'character varying', 'String', 'remark', '0', '0',
- '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943611006976, 111213943543898112, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943623589888, 111213943543898112, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
- 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 14, 1, 1, '2024-02-03 10:25:30', 1,
- '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943627784192, 111213943543898112, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111213943631978496, 111213943543898112, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
- 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 16, 1, 1, '2024-02-03 10:25:30', 1,
- '2024-02-03 15:30:42.3');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159359328256, 111291159158001664, 'user_id', '用户ID', 'bigint', 'Long', 'userId', '1', '0', '1', NULL,
- '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159367716864, 111291159158001664, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159376105472, 111291159158001664, 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '0', '0', '1', '1',
- '1', '1', '1', 'EQ', 'input', '', 3, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159384494080, 111291159158001664, 'user_name', '用户账号', 'character varying', 'String', 'userName', '0',
- '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 4, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159388688384, 111291159158001664, 'nick_name', '用户昵称', 'character varying', 'String', 'nickName', '0',
- '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159397076992, 111291159158001664, 'user_type', '用户类型(sys_user系统用户)', 'character varying',
- 'String', 'userType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159401271296, 111291159158001664, 'email', '用户邮箱', 'character varying', 'String', 'email', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159413854208, 111291159158001664, 'phonenumber', '手机号码', 'character varying', 'String', 'phonenumber',
- '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159418048512, 111291159158001664, 'gender', '用户性别(0男 1女 2未知)', 'character', 'String', 'gender',
- '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'sys_user_gender', 9, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159426437120, 111291159158001664, 'avatar', '头像地址', 'bigint', 'Long', 'avatar', '0', '0', '1', '1',
- '1', '1', '1', 'EQ', 'input', '', 10, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159434825728, 111291159158001664, 'password', '密码', 'character varying', 'String', 'password', '0', '0',
- '1', '1', '1', '1', '1', 'EQ', 'input', '', 11, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159443214336, 111291159158001664, 'status', '帐号状态(0正常 1停用)', 'character', 'String', 'status', '0',
- '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 12, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159451602944, 111291159158001664, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
- NULL, '1', NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159455797248, 111291159158001664, 'del_flag', '删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
- 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159464185856, 111291159158001664, 'login_ip', '最后登陆IP', 'character varying', 'String', 'loginIp', '0',
- '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 15, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159472574464, 111291159158001664, 'login_date', '最后登陆时间', 'timestamp without time zone', 'Date',
- 'loginDate', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'datetime', '', 16, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159476768768, 111291159158001664, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 17, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159480963072, 111291159158001664, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
- 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 18, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159489351680, 111291159158001664, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
- NULL, NULL, NULL, NULL, 'EQ', 'input', '', 19, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159493545984, 111291159158001664, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
- 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 20, 1, 1, '2024-02-03 15:32:20', 1,
- '2024-02-03 15:32:34.773');
- INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
- java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
- is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
- update_by, update_time)
- VALUES (111291159506128896, 111291159158001664, 'remark', '备注', 'character varying', 'String', 'remark', '0', '0',
- '1', '1', '1', '1', NULL, 'EQ', 'input', '', 21, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
- --
- -- Data for Name: mf_customer; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: mf_goods; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: mf_product; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: mf_student; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_app_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.pj_app_info (id, app_name, current_server, gmt_create, gmt_modified, password)
- VALUES (1, 'taais-worker', '127.0.0.1:10010', '2023-06-13 16:32:59.263', '2023-12-04 17:25:49.798', '123456');
- --
- -- Data for Name: pj_container_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_instance_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_job_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
- execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
- job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
- max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
- notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
- time_expression, time_expression_type)
- VALUES (1, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 2, 1, NULL,
- '2023-06-02 15:01:27.717', '2023-07-04 17:22:12.374', 1, 0, '', '单机处理器执行测试', NULL, '{}', '{"type":1}',
- 0, 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.StandaloneProcessorDemo', 1, 2, NULL, 1, '30000', 3);
- INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
- execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
- job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
- max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
- notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
- time_expression, time_expression_type)
- VALUES (2, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 2, NULL,
- '2023-06-02 15:04:45.342', '2023-07-04 17:22:12.816', 0, 0, NULL, '广播处理器测试', NULL, '{}', '{"type":1}', 0,
- 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.BroadcastProcessorDemo', 1, 2, NULL, 1, '30000', 3);
- INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
- execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
- job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
- max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
- notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
- time_expression, time_expression_type)
- VALUES (3, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 4, NULL,
- '2023-06-02 15:13:23.519', '2023-06-02 16:03:22.421', 0, 0, NULL, 'Map处理器测试', NULL, '{}', '{"type":1}', 0,
- 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.MapProcessorDemo', 1, 2, NULL, 1, '1000', 3);
- INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
- execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
- job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
- max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
- notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
- time_expression, time_expression_type)
- VALUES (4, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 3, NULL,
- '2023-06-02 15:45:25.896', '2023-06-02 16:03:23.125', 0, 0, NULL, 'MapReduce处理器测试', NULL, '{}',
- '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.MapReduceProcessorDemo', 1, 2, NULL, 1,
- '1000', 3);
- --
- -- Data for Name: pj_oms_lock; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_server_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_user_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_workflow_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_workflow_instance_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: pj_workflow_node_info; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: sys_client; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout,
- timeout, status, version, del_flag, create_by, create_time, update_by, update_time)
- VALUES (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', 0, 0, 1,
- '2024-01-22 11:09:12.997334', 1, '2024-01-22 11:09:12.997334');
- INSERT INTO public.sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout,
- timeout, status, version, del_flag, create_by, create_time, update_by, update_time)
- VALUES (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', 0,
- 0, 1, '2024-01-22 11:09:12.997334', 1, '2024-01-22 11:09:12.997334');
- --
- -- Data for Name: sys_config; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
- create_by, create_time, update_by, update_time, remark)
- VALUES (1, 0, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 0, 1, '2024-01-22 11:09:12.997334',
- NULL, NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
- INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
- create_by, create_time, update_by, update_time, remark)
- VALUES (2, 0, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 0, 1, '2024-01-22 11:09:12.997334', NULL,
- NULL, '初始化密码 123456');
- INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
- create_by, create_time, update_by, update_time, remark)
- VALUES (3, 0, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 0, 1, '2024-01-22 11:09:12.997334', NULL,
- NULL, '深色主题theme-dark,浅色主题theme-light');
- INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
- create_by, create_time, update_by, update_time, remark)
- VALUES (5, 0, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 0, 1,
- '2024-01-22 11:09:12.997334', NULL, NULL, '是否开启注册用户功能(true开启,false关闭)');
- INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
- create_by, create_time, update_by, update_time, remark)
- VALUES (6, 0, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 0, 1, '2024-01-22 11:09:12.997334',
- NULL, NULL, 'true:开启, false:关闭');
- --
- -- Data for Name: sys_dept; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_dept (dept_id, tenant_id, parent_id, ancestors, dept_name, order_num, leader, phone, email,
- status, version, del_flag, create_by, create_time, update_by, update_time)
- VALUES (108150551736287232, 0, 1, '0,1', 'test2', 22, 'asd', '', NULL, '0', 1, 0, 1, '2024-01-25 23:32:40', 1,
- '2024-01-30 15:27:49.969');
- INSERT INTO public.sys_dept (dept_id, tenant_id, parent_id, ancestors, dept_name, order_num, leader, phone, email,
- status, version, del_flag, create_by, create_time, update_by, update_time)
- VALUES (1, 0, 0, '0', 'KM', 0, 'km', '18888888888', '1234@foxmail.com', '0', 1, 0, 1,
- '2023-06-03 21:32:28', 1, '2024-01-30 15:27:50.035');
- --
- -- Data for Name: sys_dict_data; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (1, 0, 1, '男', '0', 'sys_user_gender', '', '', 'Y', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
- '性别男');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (2, 0, 2, '女', '1', 'sys_user_gender', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
- '性别女');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (3, 0, 3, '未知', '2', 'sys_user_gender', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
- '性别未知');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (4, 0, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '显示菜单');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (5, 0, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '隐藏菜单');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (6, 0, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '正常状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (7, 0, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '停用状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (8, 0, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '正常状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (9, 0, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '停用状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (10, 0, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '默认分组');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (11, 0, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统分组');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (12, 0, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统默认是');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (13, 0, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统默认否');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (14, 0, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (15, 0, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '公告');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (16, 0, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '正常状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (17, 0, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '关闭状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (18, 0, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '其他操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (19, 0, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '新增操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (20, 0, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '修改操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (21, 0, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '删除操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (22, 0, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '授权操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (23, 0, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '导出操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (24, 0, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '导入操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (25, 0, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '强退操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (26, 0, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '生成操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (27, 0, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '清空操作');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (28, 0, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '正常状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (29, 0, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
- '停用状态');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (30, 0, 1, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51',
- 1, '2023-10-21 11:10:51', '密码认证');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (31, 0, 2, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
- '2023-10-21 11:10:51', '短信认证');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (32, 0, 3, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
- '2023-10-21 11:10:51', '邮件认证');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (33, 0, 4, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
- '2023-10-21 11:10:51', '小程序认证');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (34, 0, 5, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1,
- '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '三方登录认证');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (35, 0, 1, 'PC', 'pc', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
- '2023-10-21 11:41:10', 'PC');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (36, 0, 2, '安卓', 'android', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
- '2023-10-21 11:41:10', '安卓');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (37, 0, 3, 'iOS', 'ios', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
- '2023-10-21 11:41:10', 'iOS');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (38, 0, 4, '小程序', 'xcx', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
- '2023-10-21 11:41:10', '小程序');
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (100, 0, 0, '正常', '0', 'sys_student_status', NULL, 'primary', 'N', 0, 1, '2023-06-03 21:53:50', 1,
- '2023-06-03 21:55:24', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (101, 0, 0, '停用', '1', 'sys_student_status', NULL, 'danger', 'N', 0, 1, '2023-06-03 21:54:11', 1,
- '2023-06-03 21:55:31', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (102, 0, 0, '代码', '0', 'sys_student_hobby', NULL, 'primary', 'N', 0, 1, '2023-06-04 16:40:02', 1, NULL, NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (103, 0, 0, '音乐', '1', 'sys_student_hobby', NULL, 'success', 'N', 0, 1, '2023-06-04 16:40:24', 1, NULL, NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (104, 0, 0, '电影', '2', 'sys_student_hobby', NULL, 'warning', 'N', 0, 1, '2023-06-04 16:40:40', 1,
- '2023-06-04 16:40:49', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (105, 0, 0, '计算机', '1', 'sys_goods_type', NULL, 'primary', 'N', 0, 1, '2023-06-05 07:23:48', 1, NULL, NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (106, 0, 0, '打印设备', '2', 'sys_goods_type', NULL, 'success', 'N', 0, 1, '2023-06-05 07:24:14', 1, NULL, NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (107, 0, 3, '衣服', '3', 'sys_goods_type', NULL, 'info', 'N', 0, 1, '2023-06-05 07:24:35', 1, NULL, NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (111, 0, 4, '网络设备', '4', 'sys_goods_type', NULL, 'default', NULL, 0, 1, '2023-09-19 17:31:46', 1,
- '2023-09-19 17:31:46', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (65923231885905920, 0, 1, '桌面微机', 'PC', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:56:23', 1,
- '2023-10-01 10:56:23', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (65923379802230784, 0, 2, '平板', 'pad', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:56:59', 1,
- '2023-10-01 10:56:59', NULL);
- INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
- list_class, is_default, version, create_by, create_time, update_by, update_time,
- remark)
- VALUES (65923470604718080, 0, 3, '手机', 'phone', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:57:20', 1,
- '2023-10-01 10:57:20', NULL);
- --
- -- Data for Name: sys_dict_type; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (1, 0, '用户性别', 'sys_user_gender', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '用户性别列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (2, 0, '菜单状态', 'sys_show_hide', 0, 1, '2023-06-03 21:32:30', 1, NULL, '菜单状态列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (3, 0, '系统开关', 'sys_normal_disable', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统开关列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (4, 0, '任务状态', 'sys_job_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '任务状态列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (5, 0, '任务分组', 'sys_job_group', 0, 1, '2023-06-03 21:32:30', 1, NULL, '任务分组列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (6, 0, '系统是否', 'sys_yes_no', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统是否列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (7, 0, '通知类型', 'sys_notice_type', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知类型列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (8, 0, '通知状态', 'sys_notice_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知状态列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (9, 0, '操作类型', 'sys_oper_type', 0, 1, '2023-06-03 21:32:30', 1, NULL, '操作类型列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (10, 0, '系统状态', 'sys_common_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '登录状态列表');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (11, 0, '授权类型', 'sys_grant_type', 0, 1, '2023-10-21 11:06:33', 1, '2023-10-21 11:06:33', '认证授权类型');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (12, 0, '设备类型', 'sys_device_type', 0, 1, '2023-10-21 11:38:41', 1, '2023-10-21 11:38:41', '客户端设备类型');
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (100, 0, '学生状态', 'sys_student_status', 0, 1, '2023-06-03 21:52:47', 1, '2023-06-03 21:53:09', NULL);
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (101, 0, '爱好', 'sys_student_hobby', 0, 1, '2023-06-04 16:39:16', 1, NULL, NULL);
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (102, 0, '商品种类', 'sys_goods_type', 0, 1, '2023-06-05 07:23:20', 1, NULL, NULL);
- INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
- update_time, remark)
- VALUES (65922863223361536, 0, '系统类型', 'sys_app_type', 0, 1, '2023-10-01 10:54:55', 1, '2023-10-01 10:54:55',
- '系统类型列表');
- --
- -- Data for Name: sys_menu; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (501, '登录日志', 108, 2, '/monitor/logininfor', 'monitor/logininfor/index', NULL, '', '1', '0', 'C', '0', '0',
- 'monitor:logininfor:list', 'logininfor', 0, 1, '2023-06-03 21:32:29', 1, NULL, '登录日志菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (102, '菜单管理', 1, 3, '/system/menu', 'system/menu/index', NULL, '', '1', '0', 'C', '0', '0',
- 'system:menu:list', 'tree-table', 0, 1, '2023-06-03 21:32:28', 1, NULL, '菜单管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1011, '角色导出', 101, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (118, '文件管理', 1, 10, '/system/oss', 'system/oss/index', NULL, '', '1', '0', 'C', '0', '0', 'system:oss:list',
- 'upload', 0, 1, '2023-12-03 08:46:11', 1, '2023-12-03 08:46:11', '文件管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1022, '岗位修改', 104, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1016, '部门查询', 103, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1018, '部门修改', 103, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1020, '岗位查询', 104, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1010, '角色删除', 101, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (105, '字典管理', 1, 6, '/system/dict', 'system/dict/index', NULL, '', '1', '0', 'C', '0', '0',
- 'system:dict:list', 'dict', 0, 1, '2023-06-03 21:32:28', 1, NULL, '字典管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1007, '角色查询', 101, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1029, '字典导出', 105, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1015, '菜单删除', 102, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1014, '菜单修改', 102, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1013, '菜单新增', 102, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1023, '岗位删除', 104, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1012, '菜单查询', 102, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (108, '日志管理', 1, 9, 'log', '', NULL, '', '1', '0', 'M', '0', '0', '', 'log', 0, 1, '2023-06-03 21:32:28', 1,
- NULL, '日志管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1, '系统管理', 0, 1, 'system', NULL, NULL, '', '1', '0', 'M', '0', '0', '', 'system', 0, 1,
- '2023-06-03 21:32:28', 1, NULL, '系统管理目录');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (101, '角色管理', 1, 2, '/system/role', 'system/role/index', NULL, '', '1', '0', 'C', '0', '0',
- 'system:role:list', 'peoples', 0, 1, '2023-06-03 21:32:28', 1, NULL, '角色管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (500, '操作日志', 108, 1, '/monitor/operlog', 'monitor/operlog/index', NULL, '', '1', '0', 'C', '0', '0',
- 'monitor:operlog:list', 'form', 0, 1, '2023-06-03 21:32:29', 1, NULL, '操作日志菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (116, '代码生成', 3, 2, '/tool/gen', 'tool/gen/index', NULL, '', '1', '0', 'C', '0', '0', 'tool:gen:list',
- 'code', 0, 1, '2023-06-03 21:32:28', 1, NULL, '代码生成菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (104, '岗位管理', 1, 5, '/system/post', 'system/post/index', NULL, '', '1', '0', 'C', '0', '0',
- 'system:post:list', 'post', 0, 1, '2023-06-03 21:32:28', 1, NULL, '岗位管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1024, '岗位导出', 104, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (103, '部门管理', 1, 4, '/system/dept', 'system/dept/index', NULL, '', '1', '0', 'C', '0', '0',
- 'system:dept:list', 'tree', 0, 1, '2023-06-03 21:32:28', 1, NULL, '部门管理菜单');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1017, '部门新增', 103, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1021, '岗位新增', 104, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1019, '部门删除', 103, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1009, '角色修改', 101, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1025, '字典查询', 105, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1026, '字典新增', 105, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1027, '字典修改', 105, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1028, '字典删除', 105, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1039, '操作查询', 500, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (3, '系统工具', 0, 4, 'tool', NULL, NULL, '', '1', '0', 'M', '0', '0', '', 'tool', 0, 1, '2023-06-03 21:32:28',
- 1, '2023-12-27 21:27:08.258', '系统工具目录');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1040, '操作删除', 500, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1041, '日志导出', 500, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1042, '登录查询', 501, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1043, '登录删除', 501, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1044, '日志导出', 501, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1045, '账户解锁', 501, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:unlock', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1000, '用户查询', 100, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1055, '生成查询', 116, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:query', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1056, '生成修改', 116, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1057, '生成删除', 116, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1001, '用户新增', 100, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1002, '用户修改', 100, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:edit', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1003, '用户删除', 100, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:remove', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1004, '用户导出', 100, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:export', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1005, '用户导入', 100, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:import', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1006, '重置密码', 100, 7, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:resetPwd', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1058, '导入代码', 116, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:import', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1059, '预览代码', 116, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:preview', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1060, '生成代码', 116, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:code', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1008, '角色新增', 101, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:add', '', 0, 1,
- '2023-06-03 21:32:29', 1, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1600, '文件查询', 118, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:query', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1601, '文件上传', 118, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:upload', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1602, '文件下载', 118, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:download', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1603, '文件删除', 118, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:remove', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1620, '配置列表', 118, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:list', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1621, '配置添加', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:add', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1622, '配置编辑', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:edit', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1623, '配置删除', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:remove', '', 0, 1,
- '2023-12-25 15:09:14.342224', NULL, NULL, '');
- INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
- is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (100, '用户管理', 1, 1, '/system/user', 'system/user/index', 'User', '', '1', '0', 'C', '0', '0',
- 'system:user:list', 'Aim', 6, 1, '2023-06-03 21:32:28', 1, '2024-02-03 17:54:57.296', '用户管理菜单');
- --
- -- Data for Name: sys_post; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (1, 0, 'ceo', '董事长', 1, '0', 0, 1, '2023-06-03 21:32:28', 1, '2023-09-02 15:43:55', '');
- INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (2, 0, 'se', '项目经理', 2, '0', 0, 1, '2023-06-03 21:32:28', 1, NULL, '');
- INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (3, 0, 'hr', '人力资源', 3, '0', 0, 1, '2023-06-03 21:32:28', 1, NULL, '');
- INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (4, 0, 'users', '普通员工', 4, '0', 0, 1, '2023-06-03 21:32:28', 1, '2023-07-13 21:30:24', '');
- INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
- create_time, update_by, update_time, remark)
- VALUES (5, 0, 'deptLeader', '部门管理岗', 5, '0', 0, 1, '2023-10-01 10:33:39', 1, '2023-10-01 10:33:39',
- '部门负责人岗位');
- --
- -- Data for Name: sys_role; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_role (role_id, tenant_id, role_name, role_key, role_sort, data_scope, menu_check_strictly,
- dept_check_strictly, status, version, del_flag, create_by, create_time, update_by,
- update_time, remark)
- VALUES (1, 0, '超级管理员角色', 'admin', 1, '1', true, true, '0', 0, 0, 1, '2023-06-03 21:32:28', 1, NULL,
- '超级管理员');
- --
- -- Data for Name: sys_role_dept; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: sys_role_menu; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: sys_tenant; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_tenant (tenant_id, contact_user_name, contact_phone, company_name, license_number, address,
- intro, domain, remark, package_id, expire_time, account_count, status, version, del_flag,
- create_by, create_time, update_by, update_time)
- VALUES (0, '联系人', '18888888888', 'KM', NULL, NULL, '多租户通用后台管理管理系统', NULL, NULL,
- NULL, NULL, -1, '0', 0, 0, 1, '2023-08-13 08:08:08', NULL, NULL);
- --
- -- Data for Name: sys_tenant_package; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: sys_user; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- INSERT INTO public.sys_user (user_id, tenant_id, dept_id, user_name, nick_name, user_type, email, phonenumber, gender,
- avatar, password, status, version, del_flag, login_ip, login_date, create_by, create_time,
- update_by, update_time, remark)
- VALUES (1, 0, 1, 'superadmin', '超级管理员', 'sys_user', 'ry@163.com', '15888888888', '1', NULL,
- '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', 58, 0, '127.0.0.1',
- '2024-02-22 11:25:19.464', 1, '2023-06-03 21:32:28', 1, '2024-02-22 11:25:19.467', '管理员');
- --
- -- Data for Name: sys_user_post; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Data for Name: sys_user_role; Type: TABLE DATA; Schema: public; Owner: postgres
- --
- --
- -- Name: demo_customer_customer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
- --
- SELECT pg_catalog.setval('public.demo_customer_customer_id_seq', 1, false);
- --
- -- Name: demo_goods_goods_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
- --
- SELECT pg_catalog.setval('public.demo_goods_goods_id_seq', 1, false);
- --
- -- Name: demo_product_product_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
- --
- SELECT pg_catalog.setval('public.demo_product_product_id_seq', 1, false);
- --
- -- Name: demo_student_student_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
- --
- SELECT pg_catalog.setval('public.demo_student_student_id_seq', 1, false);
- --
- -- Name: demo_customer demo_customer_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_customer
- ADD CONSTRAINT demo_customer_pk PRIMARY KEY (customer_id);
- --
- -- Name: demo_goods demo_goods_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_goods
- ADD CONSTRAINT demo_goods_pk PRIMARY KEY (goods_id);
- --
- -- Name: demo_product demo_product_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_product
- ADD CONSTRAINT demo_product_pk PRIMARY KEY (product_id);
- --
- -- Name: demo_student demo_student_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.demo_student
- ADD CONSTRAINT demo_student_pk PRIMARY KEY (student_id);
- --
- -- Name: gen_table_column gen_table_column_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.gen_table_column
- ADD CONSTRAINT gen_table_column_pk PRIMARY KEY (column_id);
- --
- -- Name: gen_table gen_table_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.gen_table
- ADD CONSTRAINT gen_table_pk PRIMARY KEY (table_id);
- --
- -- Name: mf_customer mf_customer_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.mf_customer
- ADD CONSTRAINT mf_customer_pk PRIMARY KEY (customer_id);
- --
- -- Name: mf_goods mf_goods_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.mf_goods
- ADD CONSTRAINT mf_goods_pk PRIMARY KEY (goods_id);
- --
- -- Name: mf_product mf_product_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.mf_product
- ADD CONSTRAINT mf_product_pk PRIMARY KEY (product_id);
- --
- -- Name: mf_student mf_student_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.mf_student
- ADD CONSTRAINT mf_student_pk PRIMARY KEY (student_id);
- --
- -- Name: pj_app_info pj_app_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_app_info
- ADD CONSTRAINT pj_app_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_container_info pj_container_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_container_info
- ADD CONSTRAINT pj_container_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_instance_info pj_instance_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_instance_info
- ADD CONSTRAINT pj_instance_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_job_info pj_job_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_job_info
- ADD CONSTRAINT pj_job_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_oms_lock pj_oms_lock_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_oms_lock
- ADD CONSTRAINT pj_oms_lock_pkey PRIMARY KEY (id);
- --
- -- Name: pj_server_info pj_server_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_server_info
- ADD CONSTRAINT pj_server_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_user_info pj_user_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_user_info
- ADD CONSTRAINT pj_user_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_workflow_info pj_workflow_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_workflow_info
- ADD CONSTRAINT pj_workflow_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_workflow_instance_info pj_workflow_instance_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_workflow_instance_info
- ADD CONSTRAINT pj_workflow_instance_info_pkey PRIMARY KEY (id);
- --
- -- Name: pj_workflow_node_info pj_workflow_node_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_workflow_node_info
- ADD CONSTRAINT pj_workflow_node_info_pkey PRIMARY KEY (id);
- --
- -- Name: sys_tenant pk_sys_tenant; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_tenant
- ADD CONSTRAINT pk_sys_tenant PRIMARY KEY (tenant_id);
- --
- -- Name: sys_client sys_client_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_client
- ADD CONSTRAINT sys_client_pk PRIMARY KEY (id);
- --
- -- Name: sys_config sys_config_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_config
- ADD CONSTRAINT sys_config_pk PRIMARY KEY (config_id);
- --
- -- Name: sys_dept sys_dept_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_dept
- ADD CONSTRAINT sys_dept_pk PRIMARY KEY (dept_id);
- --
- -- Name: sys_dict_data sys_dict_data_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_dict_data
- ADD CONSTRAINT sys_dict_data_pk PRIMARY KEY (dict_code);
- --
- -- Name: sys_dict_type sys_dict_type_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_dict_type
- ADD CONSTRAINT sys_dict_type_pk PRIMARY KEY (dict_id);
- --
- -- Name: sys_logininfor sys_logininfor_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_logininfor
- ADD CONSTRAINT sys_logininfor_pk PRIMARY KEY (info_id);
- --
- -- Name: sys_menu sys_menu_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_menu
- ADD CONSTRAINT sys_menu_pk PRIMARY KEY (menu_id);
- --
- -- Name: sys_notice sys_notice_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_notice
- ADD CONSTRAINT sys_notice_pk PRIMARY KEY (notice_id);
- --
- -- Name: sys_oper_log sys_oper_log_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_oper_log
- ADD CONSTRAINT sys_oper_log_pk PRIMARY KEY (oper_id);
- --
- -- Name: sys_oss_config sys_oss_config_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_oss_config
- ADD CONSTRAINT sys_oss_config_pk PRIMARY KEY (oss_config_id);
- --
- -- Name: sys_oss sys_oss_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_oss
- ADD CONSTRAINT sys_oss_pk PRIMARY KEY (oss_id);
- --
- -- Name: sys_post sys_post_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_post
- ADD CONSTRAINT sys_post_pk PRIMARY KEY (post_id);
- --
- -- Name: sys_role_dept sys_role_dept_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_role_dept
- ADD CONSTRAINT sys_role_dept_pk PRIMARY KEY (role_id, dept_id);
- --
- -- Name: sys_role_menu sys_role_menu_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_role_menu
- ADD CONSTRAINT sys_role_menu_pk PRIMARY KEY (role_id, menu_id);
- --
- -- Name: sys_role sys_role_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_role
- ADD CONSTRAINT sys_role_pk PRIMARY KEY (role_id);
- --
- -- Name: sys_tenant_package sys_tenant_package_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_tenant_package
- ADD CONSTRAINT sys_tenant_package_pkey PRIMARY KEY (package_id);
- --
- -- Name: sys_user sys_user_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_user
- ADD CONSTRAINT sys_user_pk PRIMARY KEY (user_id);
- --
- -- Name: sys_user_post sys_user_post_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_user_post
- ADD CONSTRAINT sys_user_post_pk PRIMARY KEY (user_id, post_id);
- --
- -- Name: sys_user_role sys_user_role_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.sys_user_role
- ADD CONSTRAINT sys_user_role_pk PRIMARY KEY (user_id, role_id);
- --
- -- Name: pj_app_info uidx01_app_info; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_app_info
- ADD CONSTRAINT uidx01_app_info UNIQUE (app_name);
- --
- -- Name: pj_oms_lock uidx01_oms_lock; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_oms_lock
- ADD CONSTRAINT uidx01_oms_lock UNIQUE (lock_name);
- --
- -- Name: pj_server_info uidx01_server_info; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_server_info
- ADD CONSTRAINT uidx01_server_info UNIQUE (ip);
- --
- -- Name: pj_workflow_instance_info uidx01_wf_instance; Type: CONSTRAINT; Schema: public; Owner: postgres
- --
- ALTER TABLE ONLY public.pj_workflow_instance_info
- ADD CONSTRAINT uidx01_wf_instance UNIQUE (wf_instance_id);
- --
- -- Name: idx01_container_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_container_info ON public.pj_container_info USING btree (app_id);
- --
- -- Name: idx01_instance_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_instance_info ON public.pj_instance_info USING btree (job_id, status);
- --
- -- Name: idx01_job_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_job_info ON public.pj_job_info USING btree (app_id, status, time_expression_type, next_trigger_time);
- --
- -- Name: idx01_server_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_server_info ON public.pj_server_info USING btree (gmt_modified);
- --
- -- Name: idx01_wf_instance; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_wf_instance ON public.pj_workflow_instance_info USING btree (workflow_id, status, app_id, expected_trigger_time);
- --
- -- Name: idx01_workflow_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_workflow_info ON public.pj_workflow_info USING btree (app_id, status, time_expression_type, next_trigger_time);
- --
- -- Name: idx01_workflow_node_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx01_workflow_node_info ON public.pj_workflow_node_info USING btree (workflow_id, gmt_create);
- --
- -- Name: idx02_instance_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx02_instance_info ON public.pj_instance_info USING btree (app_id, status);
- --
- -- Name: idx03_instance_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx03_instance_info ON public.pj_instance_info USING btree (instance_id, status);
- --
- -- Name: idx_sys_logininfor_lt; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx_sys_logininfor_lt ON public.sys_logininfor USING btree (login_time);
- --
- -- Name: idx_sys_logininfor_s; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx_sys_logininfor_s ON public.sys_logininfor USING btree (status);
- --
- -- Name: idx_sys_oper_log_bt; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx_sys_oper_log_bt ON public.sys_oper_log USING btree (business_type);
- --
- -- Name: idx_sys_oper_log_ot; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx_sys_oper_log_ot ON public.sys_oper_log USING btree (oper_time);
- --
- -- Name: idx_sys_oper_log_s; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX idx_sys_oper_log_s ON public.sys_oper_log USING btree (status);
- --
- -- Name: sys_dict_type_index1; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE UNIQUE INDEX sys_dict_type_index1 ON public.sys_dict_type USING btree (tenant_id, dict_type);
- --
- -- Name: sys_user_unqindex_tenant_username; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE UNIQUE INDEX sys_user_unqindex_tenant_username ON public.sys_user USING btree (tenant_id, user_name);
- --
- -- Name: uidx01_user_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX uidx01_user_info ON public.pj_user_info USING btree (username);
- --
- -- Name: uidx02_user_info; Type: INDEX; Schema: public; Owner: postgres
- --
- CREATE INDEX uidx02_user_info ON public.pj_user_info USING btree (email);
- --
- -- PostgreSQL database dump complete
- --
|