T20240607160901.pdma.json 561KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623
  1. {
  2. "name": "成本管理二期",
  3. "describe": "成本管理",
  4. "avatar": "",
  5. "version": "4.9.2",
  6. "createdTime": "2024-5-23 16:36:04",
  7. "updatedTime": "2024-6-12 16:19:31",
  8. "dbConns": [],
  9. "profile": {
  10. "default": {
  11. "db": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
  12. "dbConn": "AB260C61-FBEB-4832-ADBD-E03CCFE82D96",
  13. "entityInitFields": [
  14. {
  15. "defKey": "TENANT_ID",
  16. "defName": "租户号",
  17. "comment": "",
  18. "type": "",
  19. "len": 32,
  20. "scale": "",
  21. "primaryKey": false,
  22. "notNull": false,
  23. "autoIncrement": false,
  24. "defaultValue": "",
  25. "hideInGraph": true,
  26. "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
  27. "refDict": "",
  28. "uiHint": "",
  29. "id": "ADB3AD14-6603-43E2-8261-114E32442B5B",
  30. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  31. },
  32. {
  33. "defKey": "REVISION",
  34. "defName": "乐观锁",
  35. "comment": "",
  36. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  37. "type": "",
  38. "len": "",
  39. "scale": "",
  40. "primaryKey": false,
  41. "notNull": false,
  42. "autoIncrement": false,
  43. "defaultValue": "",
  44. "hideInGraph": true,
  45. "refDict": "",
  46. "uiHint": "",
  47. "id": "92BF430E-01FA-4AEF-944F-25A142632654",
  48. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
  49. },
  50. {
  51. "defKey": "CREATED_BY",
  52. "defName": "创建人",
  53. "comment": "",
  54. "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
  55. "type": "",
  56. "len": 32,
  57. "scale": "",
  58. "primaryKey": false,
  59. "notNull": false,
  60. "autoIncrement": false,
  61. "defaultValue": "",
  62. "hideInGraph": true,
  63. "refDict": "",
  64. "uiHint": "",
  65. "id": "C8BE2C7A-8251-4ADD-BB4F-411C5754DA62",
  66. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  67. },
  68. {
  69. "defKey": "CREATED_TIME",
  70. "defName": "创建时间",
  71. "comment": "",
  72. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  73. "type": "",
  74. "len": "",
  75. "scale": "",
  76. "primaryKey": false,
  77. "notNull": false,
  78. "autoIncrement": false,
  79. "defaultValue": "",
  80. "hideInGraph": true,
  81. "refDict": "",
  82. "uiHint": "",
  83. "id": "4E471FD6-3E73-4A90-B660-51598A482409",
  84. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
  85. },
  86. {
  87. "defKey": "UPDATED_BY",
  88. "defName": "更新人",
  89. "comment": "",
  90. "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
  91. "type": "",
  92. "len": 32,
  93. "scale": "",
  94. "primaryKey": false,
  95. "notNull": false,
  96. "autoIncrement": false,
  97. "defaultValue": "",
  98. "hideInGraph": true,
  99. "refDict": "",
  100. "uiHint": "",
  101. "id": "0DC24AA9-4CD0-45D8-95CF-FA546BE343AB",
  102. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  103. },
  104. {
  105. "defKey": "UPDATED_TIME",
  106. "defName": "更新时间",
  107. "comment": "",
  108. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  109. "type": "",
  110. "len": "",
  111. "scale": "",
  112. "primaryKey": false,
  113. "notNull": false,
  114. "autoIncrement": false,
  115. "defaultValue": "",
  116. "hideInGraph": true,
  117. "refDict": "",
  118. "uiHint": "",
  119. "id": "09F64AC4-4DEE-428F-AF64-4C103884E1AC",
  120. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
  121. }
  122. ],
  123. "entityInitProperties": {
  124. "partitioned by": "(date string)",
  125. "row format delimited": "",
  126. "fields terminated by ','": "",
  127. "collection items terminated by '-'": "",
  128. "map keys terminated by ':'": "",
  129. "store as textfile;": ""
  130. }
  131. },
  132. "javaHome": "",
  133. "sql": {
  134. "delimiter": ""
  135. },
  136. "dataTypeSupports": [
  137. {
  138. "defKey": "MYSQL",
  139. "id": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E"
  140. },
  141. {
  142. "defKey": "ORACLE",
  143. "id": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542"
  144. },
  145. {
  146. "defKey": "SQLServer",
  147. "id": "BFC87171-C74F-494A-B7C2-76B9C55FACC9"
  148. },
  149. {
  150. "defKey": "PostgreSQL",
  151. "id": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022"
  152. },
  153. {
  154. "defKey": "DB2",
  155. "id": "89504F5D-94BF-4C9E-8B2E-44F37305FED5"
  156. },
  157. {
  158. "defKey": "DM",
  159. "id": "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307"
  160. },
  161. {
  162. "defKey": "GaussDB",
  163. "id": "592C7013-143D-4E7B-AF64-0D7BF1E28230"
  164. },
  165. {
  166. "defKey": "Kingbase",
  167. "id": "77BD85E5-9D0D-4096-8427-CBA306FC9C6A"
  168. },
  169. {
  170. "defKey": "GBase",
  171. "id": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A"
  172. },
  173. {
  174. "defKey": "MaxCompute",
  175. "id": "11D1FB71-A587-4217-89BA-611B8A1F83E0"
  176. },
  177. {
  178. "defKey": "SQLite",
  179. "id": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1"
  180. },
  181. {
  182. "defKey": "Hive",
  183. "id": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2"
  184. },
  185. {
  186. "defKey": "JAVA",
  187. "id": "797A1496-D649-4261-89B4-544132EC3F36"
  188. },
  189. {
  190. "defKey": "JavaMybatis",
  191. "id": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B"
  192. },
  193. {
  194. "defKey": "JavaMybatisPlus",
  195. "id": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073"
  196. },
  197. {
  198. "defKey": "C#",
  199. "id": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30"
  200. },
  201. {
  202. "defKey": "Golang",
  203. "id": "B91D99E0-9B7C-416C-8737-B760957DAF09"
  204. },
  205. {
  206. "defKey": "Rust",
  207. "id": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB"
  208. },
  209. {
  210. "defKey": "Doris",
  211. "id": "483F9346-C99E-4014-A1D2-A554606BD8A3"
  212. },
  213. {
  214. "defKey": "HighGo",
  215. "id": "ABF5836C-0B7C-4007-A41C-F869325E5842"
  216. }
  217. ],
  218. "codeTemplates": [
  219. {
  220. "type": "appCode",
  221. "applyFor": "797A1496-D649-4261-89B4-544132EC3F36",
  222. " JpaBean": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@Table(name=\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n {{? field.primaryKey }}\n @Id\n @GeneratedValue\n {{?}}\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
  223. },
  224. {
  225. "type": "appCode",
  226. "applyFor": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30",
  227. "Default": "using System;\nusing System.Collections.Generic;\n\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n}}\n/*\n * @author : http://www.chiner.com.cn\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace PDManer.Application\n{\n public partial class {{=it.func.camel(it.entity.defKey,true) }}\n {\n \n {{~it.entity.fields:field:index}}\n /// <summary>\n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// </summary>\n public {{=field.type}} {{=it.func.camel(field.defKey,true)}} { get; set; }\n $blankline\n {{~}}\n \n }\n}",
  228. "SqlSugar": "using System;\nusing System.Collections.Generic;\nusing SqlSugar;\n\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n var sqlSugartable='[SugarTable(\"{{=it.entity.defKey}}\", TableDescription = \"{{=it.func.join(it.entity.defName,it.entity.comment,';')}}\")]';\n}}\n/*\n * @author : xkdong@163.com\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace Model.DBModel\n{\n /// <summary>\n /// {{=it.func.join(it.entity.defName,it.entity.comment,';')}}\n /// </summary>\n {{=sqlSugartable}}\n public class {{=it.entity.defKey}}\n {\n {{~it.entity.fields:field:index}}\n /// <summary>\n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// </summary>\n {{? field.primaryKey }}\n [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]\n {{?}}\n public {{=field.type}} {{=it.func.camel(field.defKey,true)}}{ get; set; }\n $blankline\n {{~}}\n }\n}"
  229. },
  230. {
  231. "applyFor": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B",
  232. "type": "appCode",
  233. "Controller": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.controller;\n$blankline\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n @Autowired\n private {{=serviceClass}} {{=serviceVarName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n @ApiOperation(\"通过ID查询单条数据\")\n @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n @ApiOperation(\"分页查询\")\n @GetMapping\n public ResponseEntity<Page<{{=beanClass}}>> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n return ResponseEntity.ok({{=serviceVarName}}.paginQuery({{=beanVarName}}, pageRequest));\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"新增数据\")\n @PostMapping\n public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"更新数据\")\n @PutMapping\n public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n @ApiOperation(\"通过主键删除数据\")\n @DeleteMapping\n public ResponseEntity<Boolean> deleteById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n }\n}",
  234. "Service": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.service;\n$blankline\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n \n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest);\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
  235. "ServiceImpl": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkVarNameU = \"UndefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkVarNameU = it.func.camel(field.defKey,true);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n var mapperName = beanVarName+'Mapper';\n \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n @Autowired\n private {{=beanClass}}Mapper {{=mapperName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n return {{=mapperName}}.queryById({{=pkVarName}});\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n long total = {{=mapperName}}.count({{=beanVarName}});\n return new PageImpl<>({{=mapperName}}.queryAllByLimit({{=beanVarName}}, pageRequest), pageRequest, total);\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.insert({{=beanVarName}});\n return {{=beanVarName}};\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.update({{=beanVarName}});\n return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n int total = {{=mapperName}}.deleteById({{=pkVarName}});\n return total > 0;\n }\n}",
  236. "Mapper": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.mapper;\n$blankline\nimport java.util.List;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.data.domain.Pageable;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper{\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n \n /** \n * 分页查询指定行数据\n *\n * @param {{=beanVarName}} 查询条件\n * @param pageable 分页对象\n * @return 对象列表\n */\n List<{{=beanClass}}> queryAllByLimit({{=beanClass}} {{=beanVarName}}, @Param(\"pageable\") Pageable pageable);\n\n /** \n * 统计总行数\n *\n * @param {{=beanVarName}} 查询条件\n * @return 总行数\n */\n long count({{=beanClass}} {{=beanVarName}});\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 影响行数\n */\n int insert({{=beanClass}} {{=beanVarName}});\n\n /** \n * 批量新增数据\n *\n * @param entities List<{{=beanClass}}> 实例对象列表\n * @return 影响行数\n */\n int insertBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n \n /** \n * 批量新增或按主键更新数据\n *\n * @param entities List<{{=beanClass}}> 实例对象列表\n * @return 影响行数\n */\n int insertOrUpdateBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 影响行数\n */\n int update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 影响行数\n */\n int deleteById({{=pkDataType}} {{=pkVarName}});\n}",
  237. "Mapper.xml": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n var pkField = \"UNDEFINED_ID\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkField = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n <resultMap type=\"{{=pkgName}}.entity.{{=beanClass}}\" id=\"{{=beanClass}}Map\">\n {{~it.entity.fields:field:index}}\n <result property=\"{{=it.func.camel(field.defKey,false)}}\" column=\"{{=field.defKey}}\" jdbcType=\"{{=field.type}}\"/>\n {{~}}\n </resultMap>\n $blankline\n <!-- 通过ID查询单条数据 -->\n <select id=\"queryById\" resultMap=\"{{=beanClass}}Map\">\n select\n {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n from {{=it.entity.defKey}}\n where {{=pkField}} = #{{{=pkVarName}}}\n </select>\n $blankline\n <!--分页查询指定行数据-->\n <select id=\"queryAllByLimit\" resultMap=\"{{=beanClass}}Map\">\n select\n {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n from {{=it.entity.defKey}}\n <where>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n </if>\n {{~}}\n </where>\n limit #{pageable.offset}, #{pageable.pageSize}\n </select>\n $blankline\n <!--统计总行数-->\n <select id=\"count\" resultType=\"java.lang.Long\">\n select count(1)\n from {{=it.entity.defKey}}\n <where>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n </if>\n {{~}}\n </where>\n </select>\n $blankline\n <!--新增数据-->\n <insert id=\"insert\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values ({{=it.entity.fields.map(function(e,i){return '#{'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n </insert>\n $blankline\n <!-- 批量新增数据 -->\n <insert id=\"insertBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n </foreach>\n </insert>\n $blankline\n <!-- 批量新增或按主键更新数据 -->\n <insert id=\"insertOrUpdateBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n </foreach>\n on duplicate key update\n {{=it.entity.fields.map(function(e,i){return e.defKey + '=values('+e.defKey+')'}).join(',\\n\\t\\t')}}\n </insert>\n $blankline\n <!-- 更新数据 -->\n <update id=\"update\">\n update {{=it.entity.defKey}}\n <set>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}},\n </if>\n {{~}}\n </set>\n where {{=pkField}} = #{{{=pkVarName}}}\n </update>\n $blankline\n <!--通过主键删除-->\n <delete id=\"deleteById\">\n delete from {{=it.entity.defKey}} where {{=pkField}} = #{{{=pkVarName}}}\n </delete>\n</mapper>\n\n",
  238. "Entity": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
  239. },
  240. {
  241. "applyFor": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073",
  242. "type": "appCode",
  243. "Controller": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.controller;\n$blankline\nimport java.util.List;\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n @Autowired\n private {{=serviceClass}} {{=serviceVarName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n @ApiOperation(\"通过ID查询单条数据\")\n @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n @ApiOperation(\"分页查询\")\n @GetMapping\n public ResponseEntity<PageImpl<{{=beanClass}}>> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n //1.分页参数\n long current = pageRequest.getPageNumber();\n long size = pageRequest.getPageSize();\n\n //2.分页查询\n /*把Mybatis的分页对象做封装转换,MP的分页对象上有一些SQL敏感信息,还是通过spring的分页模型来封装数据吧*/\n com.baomidou.mybatisplus.extension.plugins.pagination.Page<{{=beanClass}}> pageResult = {{=serviceVarName}}.paginQuery({{=beanVarName}}, current,size);\n\n //3. 分页结果组装\n List<{{=beanClass}}> dataList = pageResult.getRecords();\n long total = pageResult.getTotal();\n PageImpl<{{=beanClass}}> retPage = new PageImpl<{{=beanClass}}>(dataList,pageRequest,total);\n return ResponseEntity.ok(retPage);\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"新增数据\")\n @PostMapping\n public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"更新数据\")\n @PutMapping\n public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n @ApiOperation(\"通过主键删除数据\")\n @DeleteMapping\n public ResponseEntity<Boolean> deleteById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n }\n}",
  244. "Service": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.service;\n$blankline\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n $blankline\n /**\n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param current 当前页码\n * @param size 每页大小\n * @return\n */\n Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size);\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
  245. "ServiceImpl": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkVarNameU = \"UndefinedId\";\n var pkFieldKey = \"UNDEFINED\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkFieldKey = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkVarNameU = it.func.camel(field.defKey,true);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n var mapperName = beanVarName+'Mapper';\n \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport cn.hutool.core.util.StrUtil;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;\nimport com.baomidou.mybatisplus.extension.conditions.update.LambdaUpdateChainWrapper;\n\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n @Autowired\n private {{=beanClass}}Mapper {{=mapperName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n return {{=mapperName}}.selectById({{=pkVarName}});\n }\n $blankline\n /**\n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param current 当前页码\n * @param size 每页大小\n * @return\n */\n public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size){\n //1. 构建动态查询条件\n LambdaQueryWrapper<{{=beanClass}}> queryWrapper = new LambdaQueryWrapper<>();\n {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n queryWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n }\n {{~}}\n\n //2. 执行分页查询\n Page<{{=beanClass}}> pagin = new Page<>(current , size , true);\n IPage<{{=beanClass}}> selectResult = {{=mapperName}}.selectByPage(pagin , queryWrapper);\n pagin.setPages(selectResult.getPages());\n pagin.setTotal(selectResult.getTotal());\n pagin.setRecords(selectResult.getRecords());\n\n //3. 返回结果\n return pagin;\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.insert({{=beanVarName}});\n return {{=beanVarName}};\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n //1. 根据条件动态更新\n LambdaUpdateChainWrapper<{{=beanClass}}> chainWrapper = new LambdaUpdateChainWrapper<{{=beanClass}}>({{=mapperName}});\n {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n chainWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n }\n {{~}}\n //2. 设置主键,并更新\n chainWrapper.set({{=beanClass}}::get{{=pkVarNameU}}, {{=beanVarName}}.get{{=pkVarNameU}}());\n boolean ret = chainWrapper.update();\n //3. 更新成功了,查询最最对象返回\n if(ret){\n return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n }else{\n return {{=beanVarName}};\n }\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n int total = {{=mapperName}}.deleteById({{=pkVarName}});\n return total > 0;\n }\n}",
  246. "Mapper": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.mapper;\n$blankline\n\nimport com.baomidou.mybatisplus.core.conditions.Wrapper;\nimport com.baomidou.mybatisplus.core.mapper.BaseMapper;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.core.toolkit.Constants;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper extends BaseMapper<{{=beanClass}}>{\n /** \n * 分页查询指定行数据\n *\n * @param page 分页参数\n * @param wrapper 动态查询条件\n * @return 分页对象列表\n */\n IPage<{{=beanClass}}> selectByPage(IPage<{{=beanClass}}> page , @Param(Constants.WRAPPER) Wrapper<{{=beanClass}}> wrapper);\n}",
  247. "Mapper.xml": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n var pkField = \"UNDEFINED_ID\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkField = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n$blankline\n\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n <select id=\"selectByPage\" resultType=\"{{=pkgName}}.entity.{{=beanClass}}\">\n select * from user ${ew.customSqlSegment}\n </select>\n</mapper>\n\n",
  248. "Entity": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport com.baomidou.mybatisplus.annotation.TableName;\nimport com.baomidou.mybatisplus.annotation.TableId;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@TableName(\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n {{? field.primaryKey }}\n @TableId\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
  249. },
  250. {
  251. "applyFor": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
  252. "type": "dbDDL",
  253. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n `{{=field.defKey}}` {{?field.autoIncrement}}INT AUTO_INCREMENT{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{?}} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
  254. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  255. "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
  256. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  257. "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX IF EXISTS {{=index.defKey}} ;\n{{~}}",
  258. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}\n",
  259. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('ALTER TABLE '+before.defKey+' RENAME TO '+after.defKey);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldAdded) { \n let ddlItem = 'ADD COLUMN `'+field.defKey+'` '+field.dbType;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n if(field.autoIncrement){\n ddlItem += ' AUTO_INCREMENT';\n }\n if(field.defaultValue){\n ddlItem += (' DEFAULT ' + field.defaultValue);\n }\n ddlItem += (' COMMENT \\''+field.defName+';'+field.comment+'\\'');\n \n if(field.index>0 && field.afterFieldKey){\n ddlItem += (' AFTER '+field.afterFieldKey);\n }\n ret.push(ddlItem);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldRemoved) { \n ret.push('DROP '+field.defKey);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' MODIFY COLUMN `'+after.defKey+'`');\n }else{\n changeDDL += (' CHANGE COLUMN `'+before.defKey+'` `'+after.defKey+'`');\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n let defaultValue = '';\n if(after.defaultValue != null && after.defaultValue.length>0){\n defaultValue = (after.defaultValue);\n }else{\n defaultValue = 'NULL';\n }\n if(defaultValue != 'NULL'){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n\n let comment = after.defName;\n if(after.comment){\n comment = comment + ';' + (after.comment||'');\n }\n if(comment){\n changeDDL += (' COMMENT \\''+comment+'\\';');\n }\n \n ret.push(firstDDL+' '+changeDDL);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  260. },
  261. {
  262. "applyFor": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542",
  263. "type": "dbDDL",
  264. "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}NUMBER(11) generated by default as IDENTITY, {{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  265. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  266. "deleteTable": "DROP TABLE {{=it.entity.defKey}};",
  267. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  268. "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
  269. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* -------------------------------------------------- */\n创建表:\n{{~ createEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* -------------------------------------------------- */\n删除表:\n{{~ dropEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* -------------------------------------------------- */\n修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n {{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n {{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}\n {{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('\\n\\t建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('\\n\\t解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}\n{{=indexChanged?'\\n\\t更改了索引':''}}\n{{=changed?'\\n\\t更改了属性':''}}\n{{=relaArray.length>0?relaArray.join(''):''}}\n{{~}}\n{{?}}",
  270. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD (${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ddlItem += ')';\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n changeDDL += ('MODIFY ('+after.defKey+'');\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n changeDDL += ')';\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  271. },
  272. {
  273. "applyFor": "BFC87171-C74F-494A-B7C2-76B9C55FACC9",
  274. "type": "dbDDL",
  275. "createTable": "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[{{=it.entity.defKey}}]') AND type in (N'U')) DROP TABLE [dbo].[{{=it.entity.defKey}}];\n\nCREATE TABLE [dbo].[{{=it.entity.defKey}}](\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}INT IDENTITY(1,1) {{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}EXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, null, null;{{?}}\n{{~it.entity.fields:field:index}}\nEXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(field.defName,field.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, 'column', {{=field.defKey}};\n{{~}}\n",
  276. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  277. "deleteTable": "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[{{=it.entity.defKey}}]') AND type in (N'U')) DROP TABLE [dbo].[{{=it.entity.defKey}}];",
  278. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  279. "deleteIndex": "",
  280. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
  281. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`EXEC sp_rename '${before.defKey}','${after.defKey}'`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `IF ((SELECT COUNT(*) FROM ::fn_listextendedproperty('MS_Description','SCHEMA', 'dbo','TABLE', '${after.defKey}', NULL, NULL)) > 0)\n \\n\\tEXEC sp_updateextendedproperty 'MS_Description', '${commentText}','SCHEMA', 'dbo','TABLE', '${after.defKey}'\n \\nELSE\n \\n\\tEXEC sp_addextendedproperty 'MS_Description', '${commentText}', 'SCHEMA', 'dbo','TABLE', '${after.defKey}'\n `;\n ret.push(myText);\n /*ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');*/\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD [${field.defKey}] ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `EXEC sp_addextendedproperty 'MS_Description', N'${commentText}','SCHEMA', N'dbo','TABLE', N'${entity.data.baseInfo.defKey}','COLUMN', N'${field.defKey}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN [${field.defKey}]`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' ALTER COLUMN ['+after.defKey+']');\n }else{\n let renameText = `EXEC sp_rename '[dbo].[${entity.data.baseInfo.defKey}].[${before.defKey}]','${after.defKey}','COLUMN';`;\n ret.push(renameText);\n continue;\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  282. },
  283. {
  284. "applyFor": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022",
  285. "type": "dbDDL",
  286. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{? field.autoIncrement}}SERIAL{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  287. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  288. "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
  289. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  290. "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
  291. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
  292. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD COLUMN ${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n } \n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n if(before.dbType !== after.dbType || before.len !== after.len || before.scale !== after.scale){\n let dbTypeDDL = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${after.defKey} TYPE ${before.dbType}`;\n if(after.len>0){\n dbTypeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n dbTypeDDL += (','+after.scale);\n }\n dbTypeDDL += ')';\n }\n ret.push(dbTypeDDL+';');\n }\n \n if(before.defaultValue !== after.defaultValue){\n let defaultDDL = '';\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"NULL\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n defaultDDL += ('SET DEFAULT ' + defaultValue);\n }\n let defaultTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${defaultDDL};`;\n ret.push(defaultTpl);\n }\n \n if(before.notNull !== after.notNull){\n let notNullDDL= 'SET NULL';\n if(after.notNull){\n let notNullDDL= 'SET NOT NULL';\n }\n let notNullTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${notNullDDL};`;\n ret.push(notNullTpl);\n }\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n-- 索引重建\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  293. },
  294. {
  295. "type": "dbDDL",
  296. "applyFor": "89504F5D-94BF-4C9E-8B2E-44F37305FED5",
  297. "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}DECIMAL(17) GENERATED ALWAYS AS IDENTITY(START WITH 1 INCREMENT BY 1),{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  298. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  299. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
  300. },
  301. {
  302. "applyFor": "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307",
  303. "type": "dbDDL",
  304. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}INT IDENTITY(1,1) {{??}}{{=field.dbType}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  305. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  306. "deleteTable": "",
  307. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  308. "deleteIndex": "",
  309. "message": "",
  310. "update": ""
  311. },
  312. {
  313. "type": "dbDDL",
  314. "applyFor": "592C7013-143D-4E7B-AF64-0D7BF1E28230",
  315. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  316. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  317. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
  318. },
  319. {
  320. "type": "dbDDL",
  321. "applyFor": "77BD85E5-9D0D-4096-8427-CBA306FC9C6A",
  322. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  323. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  324. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
  325. },
  326. {
  327. "applyFor": "11D1FB71-A587-4217-89BA-611B8A1F83E0",
  328. "type": "dbDDL",
  329. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
  330. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
  331. "deleteTable": "",
  332. "createIndex": "",
  333. "deleteIndex": "",
  334. "message": "",
  335. "update": ""
  336. },
  337. {
  338. "applyFor": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1",
  339. "type": "dbDDL",
  340. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTOINCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }} --{{=it.func.join(field.defName,field.comment,';')}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) ; --{{=it.func.join(it.entity.defName,it.entity.comment,';') }}\n$blankline\n",
  341. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  342. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
  343. },
  344. {
  345. "type": "dbDDL",
  346. "applyFor": "dictSQLTemplate",
  347. "content": "/* 插入字典总表[{{=it.dict.defKey}}-{{=it.dict.defName}}] */\nINSERT INTO SYS_DICT(KEY_,LABEL,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=it.dict.defName}}','{{=it.dict.intro}}',1);\n/* 插入字典明细表 */\n{{~it.dict.items:item:index}}\nINSERT INTO SYS_DICT_ITEM(DICT_KEY,KEY_,LABEL,SORT_,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=item.defKey}}','{{=item.defName}}','{{=item.sort}}','{{=item.intro}}',1);\n{{~}}"
  348. },
  349. {
  350. "applyFor": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2",
  351. "type": "dbDDL",
  352. "createTable": "/**字段名,关键字等全部用的小写*/\ndrop table if exists {{=it.entity.defKey}};\n/**补充上库名,external关键字根据建表规范看是否添加*/\ncreate [external] table if not exists {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n/**这里把varchar,char,text,date,datetime字段全部映射为string类型.tinyint unsigned,bit,Integer,tinyint,smallint,mediumint映射为int类型,int unsigned映射为bigint.其它自定义映射规则根据自己情况修改*/\n/**当长度>0只有为decimal类型或double类型时才保留长度和小数的位数*/\n{{~it.entity.fields:field:index}}\n {{=it.func.lowerCase(field.defKey)}} {{=it.func.lowerCase(field.type)=='varchar'||it.func.lowerCase(field.type)=='char'||it.func.lowerCase(field.type)=='text'||it.func.lowerCase(field.type)=='date'||it.func.lowerCase(field.type)=='datetime' ? 'string':it.func.lowerCase(field.type)=='tinyint unsigned'||it.func.lowerCase(field.type)=='bit'||it.func.lowerCase(field.type)=='integer'||it.func.lowerCase(field.type)=='tinyint'||it.func.lowerCase(field.type)=='smallint'||it.func.lowerCase(field.type)=='mediumint' ? 'int':it.func.lowerCase(field.type)=='int unsigned' ? 'bigint':it.func.lowerCase(field.type)}}{{?field.len>0&&(it.func.lowerCase(field.type)=='decimal'||it.func.lowerCase(field.type)=='double')}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{=')'}}{{?}}{{?}} comment '{{=it.func.join(field.defName,field.comment,'')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n{{?}}\n)\n{{\n let partitionedBy = it.entity.properties['partitioned by'];\n partitionedBy = partitionedBy?partitionedBy:'请在扩展属性中配置[partitioned by]属性';\n}}\ncomment '{{=it.func.join(it.entity.defName,';') }}'\n/**是否分区表,分区字段名和字段注释自定义*/\n[partitioned by {{=partitionedBy}}]\n/**文件存储格式自定义*/\n[stored as orc]\n/**hdfs上的地址自定义*/\n[location xxx]\n;",
  353. "createView": "",
  354. "deleteTable": "",
  355. "createIndex": "",
  356. "deleteIndex": "",
  357. "message": "",
  358. "update": ""
  359. },
  360. {
  361. "applyFor": "B91D99E0-9B7C-416C-8737-B760957DAF09",
  362. "type": "appCode",
  363. "content": "{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1<10?\"0\"+today.getMonth():today.getMonth();\n var days=today.getDate()<10?\"0\"+today.getDate():today.getDate();\n var hours = today.getHours()<10?\"0\"+today.getHours():today.getHours(); \n\tvar minutes = today.getMinutes()<10?\"0\"+today.getMinutes():today.getMinutes(); \n\tvar seconds = today.getSeconds()<10?\"0\"+today.getSeconds():today.getSeconds(); \n}}\n// Package models {{=it.func.join(it.entity.defName,it.entity.comment,',')}}\n// author : http://www.liyang.love\n// date : {{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n// desc : {{=it.func.join(it.entity.defName,it.entity.comment,',')}}\npackage models\n\n$blankline\n\n// {{=it.func.camel(it.entity.defKey,true) }} {{=it.func.join(it.entity.defName,it.entity.comment,',')}}。\n// 说明:{{=it.entity.comment}}\n// 表名:{{=it.entity.defKey}}\n// group: {{=it.func.camel(it.entity.defKey,true) }}\n// obsolete:\n// appliesto:go 1.8+;\n// namespace:hongmouer.his.models.{{=it.func.camel(it.entity.defKey,true) }}\n// assembly: hongmouer.his.models.go\n// class:HongMouer.HIS.Models.{{=it.func.camel(it.entity.defKey,true) }}\n// version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\ntype {{=it.func.camel(it.entity.defKey,true) }} struct {\n {{~it.entity.fields:field:index}}\n {{=formatGoLang(it.func.camel(field.defKey,true),null,field,it.entity.fields,null,1)}} {{=formatGoLang(field.type,\"type\",field,it.entity.fields,10,3)}} `gorm:\"column:{{=field.primaryKey?\"primaryKey;\":\"\"}}{{=field.defKey}}\" json:\"{{=it.func.camel(field.defKey,true)}}\"` {{=formatGoLang(\"gorm:column:\"+field.defKey+\" json:\"+it.func.camel(field.defKey,true),null,field,it.entity.fields,null,2)}} //type:{{=formatGoLang(field.type,\"type\",field,it.entity.fields,null,3)}} comment:{{=formatGoLang(it.func.join(field.defName,field.comment,';'),\"defName\",field,it.entity.fields,null,4)}} version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n {{~}}\n}\n\n\n$blankline\n// TableName 表名:{{=it.entity.defKey}},{{=it.entity.defName}}。\n// 说明:{{=it.entity.comment}}\nfunc (ZentaoUserInfo) TableName() string {\n\treturn \"{{=it.entity.defKey}}\"\n}\n\n{{\n\nfunction formatGoLang(str, fieldName, field, fileds, emptLength, isFiled) {\n var maxLength = 0;\n\n if (isFiled == 1) {\n for (var i = 0; i < fileds.length; i++) {\n if (getBlength(it.func.camel(fileds[i].defKey, true)) > maxLength) {\n maxLength = getBlength(it.func.camel(fileds[i].defKey, true)) + 2;\n }\n }\n } else if (isFiled == 2) {\n for (var i = 0; i < fileds.length; i++) {\n var newStr = \"gorm:column:\" + fileds[i].defKey + \" json:\" + it.func.camel(fileds[i].defKey, true);\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 2;\n }\n }\n var empt = \"\";\n var strLength = getBlength(str);\n if (field.primaryKey) {\n strLength += getBlength(\"primaryKey;\");\n }\n for (var j = 0; j < maxLength - strLength; j++) {\n empt += ' ';\n }\n return empt;\n } else if (isFiled == 3) {\n /*获取某个字段的最大长度*/\n for (var i = 0; i < fileds.length; i++) {\n var newStr = eval(\"fileds[\" + i + \"].\" + fieldName);\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 1;\n }\n }\n } else if (isFiled == 4) {\n /*获取某个字段的最大长度*/\n for (var i = 0; i < fileds.length; i++) {\n var newStr = fileds[i].comment + \";\" + fileds[i].defName;\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 1;\n }\n }\n }\n else {\n maxLength = emptLength;\n }\n\n var strLength = getBlength(str);\n for (var j = 0; j < maxLength - strLength; j++) {\n str += ' ';\n }\n return str;\n}\n\nfunction getBlength(str) {\n var n = 0;\n for (var i = str.length; i--;) {\n n += str.charCodeAt(i) > 255 ? 2 : 1;\n }\n return n;\n} \n\n}}"
  364. },
  365. {
  366. "applyFor": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB",
  367. "type": "appCode",
  368. "struct": "use chrono::{DateTime, Local};\nuse serde::{Deserialize, Serialize};\n$blankline\n/// {{=it.entity.defName}}\n#[derive(Serialize, Deserialize, Debug, Clone)]\n{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n \n}}\npub struct {{=beanClass}} {\n {{~it.entity.fields:field:index}}\n {{\n let fieldDateType = field.type;\n if(!field.notNull){\n fieldDateType = 'Option<'+fieldDateType+'>';\n }\n }}/// {{=field.defName}}\n pub {{=it.func.camel(field.defKey,false)}}: {{=fieldDateType}},\n {{~}}\n}\n"
  369. },
  370. {
  371. "applyFor": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A",
  372. "type": "dbDDL",
  373. "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  374. "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline",
  375. "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
  376. "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
  377. "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
  378. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* -------------------------------------------------- */\n创建表:\n{{~ createEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* -------------------------------------------------- */\n删除表:\n{{~ dropEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* -------------------------------------------------- */\n修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n {{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n {{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}\n {{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('\\n\\t建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('\\n\\t解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}\n{{=indexChanged?'\\n\\t更改了索引':''}}\n{{=changed?'\\n\\t更改了属性':''}}\n{{=relaArray.length>0?relaArray.join(''):''}}\n{{~}}\n{{?}}",
  379. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD (${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ddlItem += ')';\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n changeDDL += ('MODIFY ('+after.defKey+'');\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n changeDDL += ')';\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  380. },
  381. {
  382. "applyFor": "483F9346-C99E-4014-A1D2-A554606BD8A3",
  383. "type": "dbDDL",
  384. "createTable": "{{let dorisDistributedBy = it.entity.properties['dorisDistributedBy'];\n dorisDistributedBy = dorisDistributedBy?dorisDistributedBy:'请在表的扩展属性中配置[dorisDistributedBy]属性';\n}}CREATE TABLE IF NOT EXISTS {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n `{{=field.defKey}}` {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : '' }}\n{{~}}\n) COMMENT '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}'\n{{=dorisDistributedBy}} ;\n$blankline\n",
  385. "createView": "",
  386. "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
  387. "createIndex": "",
  388. "deleteIndex": "",
  389. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}\n",
  390. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('ALTER TABLE '+before.defKey+' RENAME TO '+after.defKey);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldAdded) { \n let ddlItem = 'ADD COLUMN `'+field.defKey+'` '+field.dbType;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n if(field.autoIncrement){\n ddlItem += ' AUTO_INCREMENT';\n }\n if(field.defaultValue){\n ddlItem += (' DEFAULT ' + field.defaultValue);\n }\n ddlItem += (' COMMENT \\''+field.defName+';'+field.comment+'\\'');\n \n if(field.index>0 && field.afterFieldKey){\n ddlItem += (' AFTER '+field.afterFieldKey);\n }\n ret.push(ddlItem);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldRemoved) { \n ret.push('DROP '+field.defKey);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' MODIFY COLUMN `'+after.defKey+'`');\n }else{\n changeDDL += (' CHANGE COLUMN `'+before.defKey+'` `'+after.defKey+'`');\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n let defaultValue = '';\n if(after.defaultValue != null && after.defaultValue.length>0){\n defaultValue = (after.defaultValue);\n }else{\n defaultValue = 'NULL';\n }\n if(defaultValue != 'NULL'){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n\n let comment = after.defName;\n if(after.comment){\n comment = comment + ';' + (after.comment||'');\n }\n if(comment){\n changeDDL += (' COMMENT \\''+comment+'\\';');\n }\n \n ret.push(firstDDL+' '+changeDDL);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  391. },
  392. {
  393. "applyFor": "ABF5836C-0B7C-4007-A41C-F869325E5842",
  394. "type": "dbDDL",
  395. "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{? field.autoIncrement}}SERIAL{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
  396. "createView": "",
  397. "deleteTable": "",
  398. "createIndex": "",
  399. "deleteIndex": "",
  400. "message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
  401. "update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD COLUMN ${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n } \n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n if(before.dbType !== after.dbType || before.len !== after.len || before.scale !== after.scale){\n let dbTypeDDL = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${after.defKey} TYPE ${before.dbType}`;\n if(after.len>0){\n dbTypeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n dbTypeDDL += (','+after.scale);\n }\n dbTypeDDL += ')';\n }\n ret.push(dbTypeDDL+';');\n }\n \n if(before.defaultValue !== after.defaultValue){\n let defaultDDL = '';\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"NULL\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n defaultDDL += ('SET DEFAULT ' + defaultValue);\n }\n let defaultTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${defaultDDL};`;\n ret.push(defaultTpl);\n }\n \n if(before.notNull !== after.notNull){\n let notNullDDL= 'SET NULL';\n if(after.notNull){\n let notNullDDL= 'SET NOT NULL';\n }\n let notNullTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${notNullDDL};`;\n ret.push(notNullTpl);\n }\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n-- 索引重建\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
  402. }
  403. ],
  404. "generatorDoc": {
  405. "docTemplate": ""
  406. },
  407. "relationFieldSize": "15",
  408. "uiHint": [
  409. {
  410. "defKey": "Input",
  411. "defName": "普通输入框",
  412. "id": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  413. },
  414. {
  415. "defKey": "Select",
  416. "defName": "下拉输入框",
  417. "id": "FB111359-2B73-4443-926C-08A98E446448"
  418. },
  419. {
  420. "defKey": "CheckBox",
  421. "defName": "复选框",
  422. "id": "0CB8A6C9-1115-4FC0-B51E-5C028065082F"
  423. },
  424. {
  425. "defKey": "RadioBox",
  426. "defName": "单选框",
  427. "id": "5C04987A-260F-4B7C-A5D5-22A181AAE9CA"
  428. },
  429. {
  430. "defKey": "Double",
  431. "defName": "小数输入",
  432. "id": "8D5BAFE4-E15C-4707-A047-8EE59C58E70F"
  433. },
  434. {
  435. "defKey": "Integer",
  436. "defName": "整数输入",
  437. "id": "9999AF2A-A44E-415C-A2DC-D7C613BD0073"
  438. },
  439. {
  440. "defKey": "Money",
  441. "defName": "金额输入",
  442. "id": "2B0C3D0C-7BAF-4B36-81AD-9362B5E5DC2E"
  443. },
  444. {
  445. "defKey": "Date",
  446. "defName": "日期输入",
  447. "id": "E4D94E14-F695-487F-AFC2-4D888009B7DA"
  448. },
  449. {
  450. "defKey": "DataYearMonth",
  451. "defName": "年月输入",
  452. "id": "936927E3-DD2D-4096-87FD-074CDE278D59"
  453. },
  454. {
  455. "defKey": "Text",
  456. "defName": "长文本输入",
  457. "id": "D89DD4F1-ADAC-4469-BF8D-B3FF41AE7963"
  458. },
  459. {
  460. "defKey": "RichText",
  461. "defName": "富文本输入",
  462. "id": "C134EB1F-4CFF-49E0-882F-2C6FB275CB20"
  463. }
  464. ],
  465. "headers": [
  466. {
  467. "refKey": "defKey",
  468. "hideInGraph": false,
  469. "value": "字段代码",
  470. "freeze": false
  471. },
  472. {
  473. "refKey": "defName",
  474. "hideInGraph": false,
  475. "value": "显示名称",
  476. "freeze": false
  477. },
  478. {
  479. "refKey": "primaryKey",
  480. "hideInGraph": false,
  481. "value": "主键",
  482. "freeze": false
  483. },
  484. {
  485. "refKey": "notNull",
  486. "hideInGraph": true,
  487. "value": "不为空",
  488. "freeze": false
  489. },
  490. {
  491. "refKey": "autoIncrement",
  492. "hideInGraph": true,
  493. "value": "自增",
  494. "freeze": false
  495. },
  496. {
  497. "refKey": "domain",
  498. "hideInGraph": true,
  499. "value": "数据域",
  500. "freeze": false
  501. },
  502. {
  503. "refKey": "type",
  504. "hideInGraph": false,
  505. "value": "数据类型",
  506. "freeze": false
  507. },
  508. {
  509. "refKey": "len",
  510. "hideInGraph": false,
  511. "value": "长度",
  512. "freeze": false
  513. },
  514. {
  515. "refKey": "scale",
  516. "hideInGraph": false,
  517. "value": "小数位数",
  518. "freeze": false
  519. },
  520. {
  521. "refKey": "comment",
  522. "hideInGraph": true,
  523. "value": "说明",
  524. "freeze": false
  525. },
  526. {
  527. "refKey": "refDict",
  528. "hideInGraph": true,
  529. "value": "数据字典",
  530. "freeze": false
  531. },
  532. {
  533. "refKey": "defaultValue",
  534. "hideInGraph": true,
  535. "value": "默认值",
  536. "freeze": false
  537. },
  538. {
  539. "refKey": "isStandard",
  540. "hideInGraph": false,
  541. "value": "标准字段",
  542. "enable": false,
  543. "freeze": false
  544. },
  545. {
  546. "refKey": "uiHint",
  547. "hideInGraph": true,
  548. "value": "UI建议",
  549. "enable": true,
  550. "freeze": false
  551. },
  552. {
  553. "refKey": "extProps",
  554. "hideInGraph": true,
  555. "value": "拓展属性",
  556. "enable": false,
  557. "freeze": false
  558. },
  559. {
  560. "refKey": "attr1",
  561. "value": "属性1",
  562. "hideInGraph": true,
  563. "enable": true,
  564. "freeze": false
  565. },
  566. {
  567. "refKey": "attr2",
  568. "value": "属性2",
  569. "hideInGraph": true,
  570. "enable": false,
  571. "freeze": false
  572. },
  573. {
  574. "refKey": "attr3",
  575. "value": "属性3",
  576. "hideInGraph": true,
  577. "enable": false,
  578. "freeze": false
  579. },
  580. {
  581. "refKey": "attr4",
  582. "value": "属性4",
  583. "hideInGraph": true,
  584. "enable": false,
  585. "freeze": false
  586. },
  587. {
  588. "refKey": "attr5",
  589. "value": "属性5",
  590. "hideInGraph": true,
  591. "enable": false,
  592. "freeze": false
  593. },
  594. {
  595. "refKey": "attr6",
  596. "value": "属性6",
  597. "hideInGraph": true,
  598. "enable": false,
  599. "freeze": false
  600. },
  601. {
  602. "refKey": "attr7",
  603. "value": "属性7",
  604. "hideInGraph": true,
  605. "enable": false,
  606. "freeze": false
  607. },
  608. {
  609. "refKey": "attr8",
  610. "value": "属性8",
  611. "hideInGraph": true,
  612. "enable": false,
  613. "freeze": false
  614. },
  615. {
  616. "refKey": "attr9",
  617. "value": "属性9",
  618. "hideInGraph": true,
  619. "enable": false,
  620. "freeze": false
  621. }
  622. ],
  623. "modelType": "modalAll",
  624. "recentColors": [
  625. "#d148d1",
  626. "#ce4bce",
  627. "#831b83",
  628. "#dd31dd",
  629. "#da2fda",
  630. "#e988e9",
  631. "#000000",
  632. "#DDE5FF"
  633. ],
  634. "DDLToggleCase": "L",
  635. "extAttrProps": {
  636. "attr1": {
  637. "editType": "",
  638. "optionsData": "",
  639. "optionsFetcher": ""
  640. },
  641. "attr2": {
  642. "editType": "",
  643. "optionsData": "",
  644. "optionsFetcher": ""
  645. },
  646. "attr3": {
  647. "editType": "",
  648. "optionsData": "",
  649. "optionsFetcher": ""
  650. },
  651. "attr4": {
  652. "editType": "",
  653. "optionsData": "",
  654. "optionsFetcher": ""
  655. },
  656. "attr5": {
  657. "editType": "",
  658. "optionsData": "",
  659. "optionsFetcher": ""
  660. },
  661. "attr6": {
  662. "editType": "",
  663. "optionsData": "",
  664. "optionsFetcher": ""
  665. },
  666. "attr7": {
  667. "editType": "",
  668. "optionsData": "",
  669. "optionsFetcher": ""
  670. },
  671. "attr8": {
  672. "editType": "",
  673. "optionsData": "",
  674. "optionsFetcher": ""
  675. },
  676. "attr9": {
  677. "editType": "",
  678. "optionsData": "",
  679. "optionsFetcher": ""
  680. }
  681. },
  682. "menuWidth": "241px"
  683. },
  684. "entities": [
  685. {
  686. "id": "15372773-A008-4A5F-B23E-75E100F99B47",
  687. "defKey": "cost_center",
  688. "defName": "成本中心表",
  689. "comment": "",
  690. "properties": {},
  691. "fields": [
  692. {
  693. "defKey": "company_code",
  694. "defName": "公司代码",
  695. "comment": "",
  696. "domain": "",
  697. "type": "VARCHAR",
  698. "len": 20,
  699. "scale": "",
  700. "primaryKey": false,
  701. "notNull": false,
  702. "autoIncrement": false,
  703. "defaultValue": "",
  704. "hideInGraph": false,
  705. "refDict": "",
  706. "attr1": "",
  707. "attr2": "",
  708. "attr3": "",
  709. "attr4": "",
  710. "attr5": "",
  711. "attr6": "",
  712. "attr7": "",
  713. "attr8": "",
  714. "attr9": "",
  715. "id": "E49448AA-E299-4E2A-B4DD-E2A5A4DC2965",
  716. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  717. "extProps": {},
  718. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  719. },
  720. {
  721. "defKey": "cost_center_code",
  722. "defName": "成本中心代码",
  723. "comment": "",
  724. "domain": "",
  725. "type": "VARCHAR",
  726. "len": 50,
  727. "scale": "",
  728. "primaryKey": true,
  729. "notNull": true,
  730. "autoIncrement": false,
  731. "defaultValue": "",
  732. "hideInGraph": false,
  733. "refDict": "",
  734. "attr1": "",
  735. "attr2": "",
  736. "attr3": "",
  737. "attr4": "",
  738. "attr5": "",
  739. "attr6": "",
  740. "attr7": "",
  741. "attr8": "",
  742. "attr9": "",
  743. "id": "1AD66764-F41C-4547-B1FA-20A935807D71",
  744. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  745. "extProps": {},
  746. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  747. },
  748. {
  749. "defKey": "cost_center_name",
  750. "defName": "成本中心名称",
  751. "comment": "",
  752. "domain": "",
  753. "type": "VARCHAR",
  754. "len": 100,
  755. "scale": "",
  756. "primaryKey": false,
  757. "notNull": false,
  758. "autoIncrement": false,
  759. "defaultValue": "",
  760. "hideInGraph": false,
  761. "refDict": "",
  762. "attr1": "",
  763. "attr2": "",
  764. "attr3": "",
  765. "attr4": "",
  766. "attr5": "",
  767. "attr6": "",
  768. "attr7": "",
  769. "attr8": "",
  770. "attr9": "",
  771. "id": "2D8FEB6B-498E-47A7-AA36-B48F60A08A26",
  772. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  773. "extProps": {},
  774. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  775. },
  776. {
  777. "defKey": "cost_category",
  778. "defName": "成本类型",
  779. "comment": "",
  780. "domain": "",
  781. "type": "VARCHAR",
  782. "len": 10,
  783. "scale": "",
  784. "primaryKey": false,
  785. "notNull": false,
  786. "autoIncrement": false,
  787. "defaultValue": "",
  788. "hideInGraph": false,
  789. "refDict": "",
  790. "attr1": "",
  791. "attr2": "",
  792. "attr3": "",
  793. "attr4": "",
  794. "attr5": "",
  795. "attr6": "",
  796. "attr7": "",
  797. "attr8": "",
  798. "attr9": "",
  799. "id": "0170012C-B492-4B0D-8DFC-A846C2432623",
  800. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  801. "extProps": {},
  802. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  803. },
  804. {
  805. "defKey": "status",
  806. "defName": "状态",
  807. "comment": "",
  808. "domain": "",
  809. "type": "VARCHAR",
  810. "len": 10,
  811. "scale": "",
  812. "primaryKey": false,
  813. "notNull": true,
  814. "autoIncrement": false,
  815. "defaultValue": "",
  816. "hideInGraph": false,
  817. "refDict": "",
  818. "attr1": "",
  819. "attr2": "",
  820. "attr3": "",
  821. "attr4": "",
  822. "attr5": "",
  823. "attr6": "",
  824. "attr7": "",
  825. "attr8": "",
  826. "attr9": "",
  827. "id": "F8C747B6-4A23-4DD2-8548-7450C794D881",
  828. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  829. "extProps": {},
  830. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  831. }
  832. ],
  833. "indexes": [],
  834. "sysProps": {
  835. "nameTemplate": "{defKey}[{defName}]"
  836. },
  837. "headers": [
  838. {
  839. "freeze": false,
  840. "refKey": "hideInGraph",
  841. "hideInGraph": true
  842. },
  843. {
  844. "freeze": true,
  845. "refKey": "defKey",
  846. "hideInGraph": false
  847. },
  848. {
  849. "freeze": true,
  850. "refKey": "defName",
  851. "hideInGraph": false
  852. },
  853. {
  854. "freeze": false,
  855. "refKey": "primaryKey",
  856. "hideInGraph": false
  857. },
  858. {
  859. "freeze": false,
  860. "refKey": "notNull",
  861. "hideInGraph": true
  862. },
  863. {
  864. "freeze": false,
  865. "refKey": "autoIncrement",
  866. "hideInGraph": true
  867. },
  868. {
  869. "freeze": false,
  870. "refKey": "domain",
  871. "hideInGraph": true
  872. },
  873. {
  874. "freeze": false,
  875. "refKey": "type",
  876. "hideInGraph": false
  877. },
  878. {
  879. "freeze": false,
  880. "refKey": "len",
  881. "hideInGraph": false
  882. },
  883. {
  884. "freeze": false,
  885. "refKey": "scale",
  886. "hideInGraph": false
  887. },
  888. {
  889. "freeze": false,
  890. "refKey": "comment",
  891. "hideInGraph": true
  892. },
  893. {
  894. "freeze": false,
  895. "refKey": "refDict",
  896. "hideInGraph": true
  897. },
  898. {
  899. "freeze": false,
  900. "refKey": "defaultValue",
  901. "hideInGraph": true
  902. },
  903. {
  904. "freeze": false,
  905. "refKey": "isStandard",
  906. "hideInGraph": false
  907. },
  908. {
  909. "freeze": false,
  910. "refKey": "uiHint",
  911. "hideInGraph": true
  912. },
  913. {
  914. "freeze": false,
  915. "refKey": "extProps",
  916. "hideInGraph": true
  917. }
  918. ],
  919. "correlations": []
  920. },
  921. {
  922. "id": "65E2E950-34BE-49A8-98A3-9EB13E974B8F",
  923. "defKey": "hour_rate",
  924. "defName": "小时费率表",
  925. "comment": "",
  926. "properties": {},
  927. "fields": [
  928. {
  929. "defKey": "year",
  930. "defName": "年度",
  931. "comment": "",
  932. "domain": "",
  933. "type": "VARCHAR",
  934. "len": 4,
  935. "scale": "",
  936. "primaryKey": true,
  937. "notNull": true,
  938. "autoIncrement": false,
  939. "defaultValue": "",
  940. "hideInGraph": false,
  941. "refDict": "",
  942. "attr1": "",
  943. "attr2": "",
  944. "attr3": "",
  945. "attr4": "",
  946. "attr5": "",
  947. "attr6": "",
  948. "attr7": "",
  949. "attr8": "",
  950. "attr9": "",
  951. "id": "B7294178-FFFD-44E1-9096-43DA30382968",
  952. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  953. "extProps": {},
  954. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  955. },
  956. {
  957. "defKey": "cost_center_code",
  958. "defName": "成本中心代码",
  959. "comment": "",
  960. "domain": "",
  961. "type": "VARCHAR",
  962. "len": 20,
  963. "scale": "",
  964. "primaryKey": true,
  965. "notNull": true,
  966. "autoIncrement": false,
  967. "defaultValue": "",
  968. "hideInGraph": false,
  969. "refDict": "",
  970. "attr1": "",
  971. "attr2": "",
  972. "attr3": "",
  973. "attr4": "",
  974. "attr5": "",
  975. "attr6": "",
  976. "attr7": "",
  977. "attr8": "",
  978. "attr9": "",
  979. "id": "67E63272-228B-4A7B-A9ED-562B24F20D0A",
  980. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  981. "extProps": {},
  982. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  983. },
  984. {
  985. "defKey": "factory",
  986. "defName": "工厂代码",
  987. "comment": "",
  988. "domain": "",
  989. "type": "VARCHAR",
  990. "len": 20,
  991. "scale": "",
  992. "primaryKey": true,
  993. "notNull": true,
  994. "autoIncrement": false,
  995. "defaultValue": "",
  996. "hideInGraph": false,
  997. "refDict": "",
  998. "attr1": "",
  999. "attr2": "",
  1000. "attr3": "",
  1001. "attr4": "",
  1002. "attr5": "",
  1003. "attr6": "",
  1004. "attr7": "",
  1005. "attr8": "",
  1006. "attr9": "",
  1007. "id": "3A505DE2-B4D2-4203-AAC0-FA6D90EDC1A6",
  1008. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1009. "extProps": {},
  1010. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1011. },
  1012. {
  1013. "defKey": "labor_hour_rate",
  1014. "defName": "人工小时费率",
  1015. "comment": "",
  1016. "domain": "",
  1017. "type": "DECIMAL",
  1018. "len": 13,
  1019. "scale": 3,
  1020. "primaryKey": false,
  1021. "notNull": false,
  1022. "autoIncrement": false,
  1023. "defaultValue": "",
  1024. "hideInGraph": false,
  1025. "refDict": "",
  1026. "attr1": "",
  1027. "attr2": "",
  1028. "attr3": "",
  1029. "attr4": "",
  1030. "attr5": "",
  1031. "attr6": "",
  1032. "attr7": "",
  1033. "attr8": "",
  1034. "attr9": "",
  1035. "id": "0621221F-577F-410E-9099-AD251DAEC448",
  1036. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1037. "extProps": {},
  1038. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1039. },
  1040. {
  1041. "defKey": "equip_hour_rate",
  1042. "defName": "设备小时费率",
  1043. "comment": "",
  1044. "domain": "",
  1045. "type": "DECIMAL",
  1046. "len": 13,
  1047. "scale": 3,
  1048. "primaryKey": false,
  1049. "notNull": false,
  1050. "autoIncrement": false,
  1051. "defaultValue": "",
  1052. "hideInGraph": false,
  1053. "refDict": "",
  1054. "attr1": "",
  1055. "attr2": "",
  1056. "attr3": "",
  1057. "attr4": "",
  1058. "attr5": "",
  1059. "attr6": "",
  1060. "attr7": "",
  1061. "attr8": "",
  1062. "attr9": "",
  1063. "id": "8D540C7B-955B-45E2-8F7A-8D2F09ADBCEA",
  1064. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1065. "extProps": {},
  1066. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1067. },
  1068. {
  1069. "defKey": "fuel_hour_rate",
  1070. "defName": "燃动小时费率",
  1071. "comment": "",
  1072. "domain": "",
  1073. "type": "DECIMAL",
  1074. "len": 13,
  1075. "scale": 3,
  1076. "primaryKey": false,
  1077. "notNull": false,
  1078. "autoIncrement": false,
  1079. "defaultValue": "",
  1080. "hideInGraph": false,
  1081. "refDict": "",
  1082. "attr1": "",
  1083. "attr2": "",
  1084. "attr3": "",
  1085. "attr4": "",
  1086. "attr5": "",
  1087. "attr6": "",
  1088. "attr7": "",
  1089. "attr8": "",
  1090. "attr9": "",
  1091. "id": "350088D8-058E-484B-9D64-828870A3E635",
  1092. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1093. "extProps": {},
  1094. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1095. },
  1096. {
  1097. "defKey": "auxiliary_hour_rate",
  1098. "defName": "辅料小时费率",
  1099. "comment": "",
  1100. "domain": "",
  1101. "type": "DECIMAL",
  1102. "len": 13,
  1103. "scale": 3,
  1104. "primaryKey": false,
  1105. "notNull": false,
  1106. "autoIncrement": false,
  1107. "defaultValue": "",
  1108. "hideInGraph": false,
  1109. "refDict": "",
  1110. "attr1": "",
  1111. "attr2": "",
  1112. "attr3": "",
  1113. "attr4": "",
  1114. "attr5": "",
  1115. "attr6": "",
  1116. "attr7": "",
  1117. "attr8": "",
  1118. "attr9": "",
  1119. "id": "061734C8-8B5B-442D-8009-F7CFC44D3480",
  1120. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1121. "extProps": {},
  1122. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1123. },
  1124. {
  1125. "defKey": "other_hour_rate",
  1126. "defName": "其他小时费率",
  1127. "comment": "",
  1128. "domain": "",
  1129. "type": "DECIMAL",
  1130. "len": 13,
  1131. "scale": 3,
  1132. "primaryKey": false,
  1133. "notNull": false,
  1134. "autoIncrement": false,
  1135. "defaultValue": "",
  1136. "hideInGraph": false,
  1137. "refDict": "",
  1138. "attr1": "",
  1139. "attr2": "",
  1140. "attr3": "",
  1141. "attr4": "",
  1142. "attr5": "",
  1143. "attr6": "",
  1144. "attr7": "",
  1145. "attr8": "",
  1146. "attr9": "",
  1147. "id": "2A092CB8-230B-411D-9926-9006108D302F",
  1148. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1149. "extProps": {},
  1150. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1151. },
  1152. {
  1153. "defKey": "effective_date",
  1154. "defName": "生效日期",
  1155. "comment": "",
  1156. "domain": "",
  1157. "type": "DATE",
  1158. "len": "",
  1159. "scale": "",
  1160. "primaryKey": false,
  1161. "notNull": false,
  1162. "autoIncrement": false,
  1163. "defaultValue": "",
  1164. "hideInGraph": false,
  1165. "refDict": "",
  1166. "attr1": "",
  1167. "attr2": "",
  1168. "attr3": "",
  1169. "attr4": "",
  1170. "attr5": "",
  1171. "attr6": "",
  1172. "attr7": "",
  1173. "attr8": "",
  1174. "attr9": "",
  1175. "id": "4D1F80F6-B100-46BD-AB14-46E781970172",
  1176. "baseType": "",
  1177. "extProps": {},
  1178. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1179. },
  1180. {
  1181. "defKey": "expiration_date",
  1182. "defName": "失效日期",
  1183. "comment": "",
  1184. "domain": "",
  1185. "type": "DATE",
  1186. "len": "",
  1187. "scale": "",
  1188. "primaryKey": false,
  1189. "notNull": false,
  1190. "autoIncrement": false,
  1191. "defaultValue": "",
  1192. "hideInGraph": false,
  1193. "refDict": "",
  1194. "attr1": "",
  1195. "attr2": "",
  1196. "attr3": "",
  1197. "attr4": "",
  1198. "attr5": "",
  1199. "attr6": "",
  1200. "attr7": "",
  1201. "attr8": "",
  1202. "attr9": "",
  1203. "id": "629B4427-C314-46B4-A5EF-9F9BCC72CE44",
  1204. "baseType": "",
  1205. "extProps": {},
  1206. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1207. },
  1208. {
  1209. "defKey": "guardian",
  1210. "defName": "维护人员",
  1211. "comment": "",
  1212. "domain": "",
  1213. "type": "VARCHAR",
  1214. "len": 30,
  1215. "scale": "",
  1216. "primaryKey": false,
  1217. "notNull": false,
  1218. "autoIncrement": false,
  1219. "defaultValue": "",
  1220. "hideInGraph": false,
  1221. "refDict": "",
  1222. "attr1": "",
  1223. "attr2": "",
  1224. "attr3": "",
  1225. "attr4": "",
  1226. "attr5": "",
  1227. "attr6": "",
  1228. "attr7": "",
  1229. "attr8": "",
  1230. "attr9": "",
  1231. "id": "B22F9668-187E-4910-B315-93BD87BC904E",
  1232. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1233. "extProps": {},
  1234. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1235. },
  1236. {
  1237. "defKey": "maintenance_time",
  1238. "defName": "维护时间",
  1239. "comment": "",
  1240. "domain": "",
  1241. "type": "VARCHAR",
  1242. "len": 20,
  1243. "scale": "",
  1244. "primaryKey": false,
  1245. "notNull": false,
  1246. "autoIncrement": false,
  1247. "defaultValue": "",
  1248. "hideInGraph": false,
  1249. "refDict": "",
  1250. "attr1": "",
  1251. "attr2": "",
  1252. "attr3": "",
  1253. "attr4": "",
  1254. "attr5": "",
  1255. "attr6": "",
  1256. "attr7": "",
  1257. "attr8": "",
  1258. "attr9": "",
  1259. "id": "799A2E1C-891C-4C1A-B831-2488ED50F4BC",
  1260. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1261. "extProps": {},
  1262. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1263. },
  1264. {
  1265. "defKey": "reserve_1",
  1266. "defName": "预留字段1",
  1267. "comment": "",
  1268. "domain": "",
  1269. "type": "VARCHAR",
  1270. "len": 20,
  1271. "scale": "",
  1272. "primaryKey": false,
  1273. "notNull": false,
  1274. "autoIncrement": false,
  1275. "defaultValue": "",
  1276. "hideInGraph": false,
  1277. "refDict": "",
  1278. "attr1": "",
  1279. "attr2": "",
  1280. "attr3": "",
  1281. "attr4": "",
  1282. "attr5": "",
  1283. "attr6": "",
  1284. "attr7": "",
  1285. "attr8": "",
  1286. "attr9": "",
  1287. "id": "924EB0A3-3B36-49EF-B6E1-3175E207CD22",
  1288. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1289. "extProps": {},
  1290. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1291. },
  1292. {
  1293. "defKey": "reserve_2",
  1294. "defName": "预留字段2",
  1295. "comment": "",
  1296. "domain": "",
  1297. "type": "DECIMAL",
  1298. "len": 6,
  1299. "scale": 3,
  1300. "primaryKey": false,
  1301. "notNull": false,
  1302. "autoIncrement": false,
  1303. "defaultValue": "",
  1304. "hideInGraph": false,
  1305. "refDict": "",
  1306. "attr1": "",
  1307. "attr2": "",
  1308. "attr3": "",
  1309. "attr4": "",
  1310. "attr5": "",
  1311. "attr6": "",
  1312. "attr7": "",
  1313. "attr8": "",
  1314. "attr9": "",
  1315. "id": "11EF41CC-1975-421B-A3CC-C703DCA1BE9F",
  1316. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  1317. "extProps": {},
  1318. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1319. },
  1320. {
  1321. "defKey": "id",
  1322. "defName": "主键",
  1323. "comment": "",
  1324. "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
  1325. "type": "",
  1326. "len": "",
  1327. "scale": "",
  1328. "primaryKey": true,
  1329. "notNull": true,
  1330. "autoIncrement": false,
  1331. "defaultValue": "",
  1332. "hideInGraph": false,
  1333. "refDict": "",
  1334. "attr1": "",
  1335. "attr2": "",
  1336. "attr3": "",
  1337. "attr4": "",
  1338. "attr5": "",
  1339. "attr6": "",
  1340. "attr7": "",
  1341. "attr8": "",
  1342. "attr9": "",
  1343. "id": "91AC3D31-CB32-454B-B563-C05155DFBC7F",
  1344. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1345. "extProps": {},
  1346. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1347. }
  1348. ],
  1349. "indexes": [],
  1350. "sysProps": {
  1351. "nameTemplate": "{defKey}[{defName}]"
  1352. },
  1353. "headers": [
  1354. {
  1355. "freeze": false,
  1356. "refKey": "hideInGraph",
  1357. "hideInGraph": true
  1358. },
  1359. {
  1360. "freeze": true,
  1361. "refKey": "defKey",
  1362. "hideInGraph": false
  1363. },
  1364. {
  1365. "freeze": true,
  1366. "refKey": "defName",
  1367. "hideInGraph": false
  1368. },
  1369. {
  1370. "freeze": false,
  1371. "refKey": "primaryKey",
  1372. "hideInGraph": false
  1373. },
  1374. {
  1375. "freeze": false,
  1376. "refKey": "notNull",
  1377. "hideInGraph": true
  1378. },
  1379. {
  1380. "freeze": false,
  1381. "refKey": "autoIncrement",
  1382. "hideInGraph": true
  1383. },
  1384. {
  1385. "freeze": false,
  1386. "refKey": "domain",
  1387. "hideInGraph": true
  1388. },
  1389. {
  1390. "freeze": false,
  1391. "refKey": "type",
  1392. "hideInGraph": false
  1393. },
  1394. {
  1395. "freeze": false,
  1396. "refKey": "len",
  1397. "hideInGraph": false
  1398. },
  1399. {
  1400. "freeze": false,
  1401. "refKey": "scale",
  1402. "hideInGraph": false
  1403. },
  1404. {
  1405. "freeze": false,
  1406. "refKey": "comment",
  1407. "hideInGraph": true
  1408. },
  1409. {
  1410. "freeze": false,
  1411. "refKey": "refDict",
  1412. "hideInGraph": true
  1413. },
  1414. {
  1415. "freeze": false,
  1416. "refKey": "defaultValue",
  1417. "hideInGraph": true
  1418. },
  1419. {
  1420. "freeze": false,
  1421. "refKey": "isStandard",
  1422. "hideInGraph": false
  1423. },
  1424. {
  1425. "freeze": false,
  1426. "refKey": "uiHint",
  1427. "hideInGraph": true
  1428. },
  1429. {
  1430. "freeze": false,
  1431. "refKey": "extProps",
  1432. "hideInGraph": true
  1433. }
  1434. ],
  1435. "correlations": []
  1436. },
  1437. {
  1438. "id": "0C137DAC-F352-41FC-83D4-852123619E5C",
  1439. "defKey": "sap_subfactory",
  1440. "defName": "同步SAP工厂信息",
  1441. "comment": "",
  1442. "properties": {},
  1443. "fields": [
  1444. {
  1445. "defKey": "id",
  1446. "defName": "主键",
  1447. "comment": "",
  1448. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  1449. "type": "",
  1450. "len": "",
  1451. "scale": "",
  1452. "primaryKey": true,
  1453. "notNull": true,
  1454. "autoIncrement": true,
  1455. "defaultValue": "",
  1456. "hideInGraph": false,
  1457. "refDict": "",
  1458. "attr1": "",
  1459. "attr2": "",
  1460. "attr3": "",
  1461. "attr4": "",
  1462. "attr5": "",
  1463. "attr6": "",
  1464. "attr7": "",
  1465. "attr8": "",
  1466. "attr9": "",
  1467. "id": "894B4818-0F6B-4ABC-80C3-EDEC93A699F0",
  1468. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  1469. "extProps": {},
  1470. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1471. },
  1472. {
  1473. "defKey": "company_code",
  1474. "defName": "公司代码",
  1475. "comment": "",
  1476. "domain": "",
  1477. "type": "VARCHAR",
  1478. "len": 20,
  1479. "scale": "",
  1480. "primaryKey": false,
  1481. "notNull": false,
  1482. "autoIncrement": false,
  1483. "defaultValue": "",
  1484. "hideInGraph": false,
  1485. "refDict": "",
  1486. "attr1": "",
  1487. "attr2": "",
  1488. "attr3": "",
  1489. "attr4": "",
  1490. "attr5": "",
  1491. "attr6": "",
  1492. "attr7": "",
  1493. "attr8": "",
  1494. "attr9": "",
  1495. "id": "6B3D866D-6236-44F2-A78C-F60CD70D1971",
  1496. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1497. "extProps": {},
  1498. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1499. },
  1500. {
  1501. "defKey": "factory",
  1502. "defName": "工厂代码",
  1503. "comment": "",
  1504. "domain": "",
  1505. "type": "VARCHAR",
  1506. "len": 20,
  1507. "scale": "",
  1508. "primaryKey": false,
  1509. "notNull": false,
  1510. "autoIncrement": false,
  1511. "defaultValue": "",
  1512. "hideInGraph": false,
  1513. "refDict": "",
  1514. "attr1": "",
  1515. "attr2": "",
  1516. "attr3": "",
  1517. "attr4": "",
  1518. "attr5": "",
  1519. "attr6": "",
  1520. "attr7": "",
  1521. "attr8": "",
  1522. "attr9": "",
  1523. "id": "92D955D7-1331-428E-B725-66F8203F9225",
  1524. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1525. "extProps": {},
  1526. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1527. }
  1528. ],
  1529. "indexes": [],
  1530. "sysProps": {
  1531. "nameTemplate": "{defKey}[{defName}]"
  1532. },
  1533. "headers": [
  1534. {
  1535. "freeze": false,
  1536. "refKey": "hideInGraph",
  1537. "hideInGraph": true
  1538. },
  1539. {
  1540. "freeze": true,
  1541. "refKey": "defKey",
  1542. "hideInGraph": false
  1543. },
  1544. {
  1545. "freeze": true,
  1546. "refKey": "defName",
  1547. "hideInGraph": false
  1548. },
  1549. {
  1550. "freeze": false,
  1551. "refKey": "primaryKey",
  1552. "hideInGraph": false
  1553. },
  1554. {
  1555. "freeze": false,
  1556. "refKey": "notNull",
  1557. "hideInGraph": true
  1558. },
  1559. {
  1560. "freeze": false,
  1561. "refKey": "autoIncrement",
  1562. "hideInGraph": true
  1563. },
  1564. {
  1565. "freeze": false,
  1566. "refKey": "domain",
  1567. "hideInGraph": true
  1568. },
  1569. {
  1570. "freeze": false,
  1571. "refKey": "type",
  1572. "hideInGraph": false
  1573. },
  1574. {
  1575. "freeze": false,
  1576. "refKey": "len",
  1577. "hideInGraph": false
  1578. },
  1579. {
  1580. "freeze": false,
  1581. "refKey": "scale",
  1582. "hideInGraph": false
  1583. },
  1584. {
  1585. "freeze": false,
  1586. "refKey": "comment",
  1587. "hideInGraph": true
  1588. },
  1589. {
  1590. "freeze": false,
  1591. "refKey": "refDict",
  1592. "hideInGraph": true
  1593. },
  1594. {
  1595. "freeze": false,
  1596. "refKey": "defaultValue",
  1597. "hideInGraph": true
  1598. },
  1599. {
  1600. "freeze": false,
  1601. "refKey": "isStandard",
  1602. "hideInGraph": false
  1603. },
  1604. {
  1605. "freeze": false,
  1606. "refKey": "uiHint",
  1607. "hideInGraph": true
  1608. },
  1609. {
  1610. "freeze": false,
  1611. "refKey": "extProps",
  1612. "hideInGraph": true
  1613. }
  1614. ],
  1615. "correlations": []
  1616. },
  1617. {
  1618. "id": "1271309E-2310-435D-B129-DC3F72BBA013",
  1619. "defKey": "diy_version_new",
  1620. "defName": "物料号最新的版本号",
  1621. "comment": "",
  1622. "properties": {},
  1623. "fields": [
  1624. {
  1625. "defKey": "id",
  1626. "defName": "主键",
  1627. "comment": "",
  1628. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  1629. "type": "",
  1630. "len": "",
  1631. "scale": "",
  1632. "primaryKey": true,
  1633. "notNull": true,
  1634. "autoIncrement": true,
  1635. "defaultValue": "",
  1636. "hideInGraph": false,
  1637. "refDict": "",
  1638. "attr1": "",
  1639. "attr2": "",
  1640. "attr3": "",
  1641. "attr4": "",
  1642. "attr5": "",
  1643. "attr6": "",
  1644. "attr7": "",
  1645. "attr8": "",
  1646. "attr9": "",
  1647. "id": "2244E62A-31B7-4046-9B5A-04D57AA6234D",
  1648. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  1649. "extProps": {},
  1650. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1651. },
  1652. {
  1653. "defKey": "projectName",
  1654. "defName": "项目名称",
  1655. "comment": "",
  1656. "domain": "",
  1657. "type": "VARCHAR",
  1658. "len": 100,
  1659. "scale": "",
  1660. "primaryKey": false,
  1661. "notNull": true,
  1662. "autoIncrement": false,
  1663. "defaultValue": "",
  1664. "hideInGraph": false,
  1665. "refDict": "",
  1666. "attr1": "",
  1667. "attr2": "",
  1668. "attr3": "",
  1669. "attr4": "",
  1670. "attr5": "",
  1671. "attr6": "",
  1672. "attr7": "",
  1673. "attr8": "",
  1674. "attr9": "",
  1675. "id": "44F69E4B-9E02-40CE-A66D-690B5F3D8E57",
  1676. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1677. "extProps": {},
  1678. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1679. },
  1680. {
  1681. "defKey": "stage",
  1682. "defName": "阶段",
  1683. "comment": "",
  1684. "domain": "",
  1685. "type": "VARCHAR",
  1686. "len": 10,
  1687. "scale": "",
  1688. "primaryKey": false,
  1689. "notNull": true,
  1690. "autoIncrement": false,
  1691. "defaultValue": "",
  1692. "hideInGraph": false,
  1693. "refDict": "",
  1694. "attr1": "",
  1695. "attr2": "",
  1696. "attr3": "",
  1697. "attr4": "",
  1698. "attr5": "",
  1699. "attr6": "",
  1700. "attr7": "",
  1701. "attr8": "",
  1702. "attr9": "",
  1703. "id": "3E8FAD6B-B69F-4F76-889D-DC491B3C779C",
  1704. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1705. "extProps": {},
  1706. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1707. },
  1708. {
  1709. "defKey": "date",
  1710. "defName": "日期",
  1711. "comment": "",
  1712. "domain": "",
  1713. "type": "VARCHAR",
  1714. "len": 30,
  1715. "scale": "",
  1716. "primaryKey": false,
  1717. "notNull": true,
  1718. "autoIncrement": false,
  1719. "defaultValue": "",
  1720. "hideInGraph": false,
  1721. "refDict": "",
  1722. "attr1": "",
  1723. "attr2": "",
  1724. "attr3": "",
  1725. "attr4": "",
  1726. "attr5": "",
  1727. "attr6": "",
  1728. "attr7": "",
  1729. "attr8": "",
  1730. "attr9": "",
  1731. "id": "B62BC5EC-DE88-4D1A-B2AD-C2A6C7015CE7",
  1732. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1733. "extProps": {},
  1734. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1735. },
  1736. {
  1737. "defKey": "version",
  1738. "defName": "版本号",
  1739. "comment": "",
  1740. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  1741. "type": "",
  1742. "len": "",
  1743. "scale": "",
  1744. "primaryKey": false,
  1745. "notNull": true,
  1746. "autoIncrement": false,
  1747. "defaultValue": "",
  1748. "hideInGraph": false,
  1749. "refDict": "",
  1750. "attr1": "",
  1751. "attr2": "",
  1752. "attr3": "",
  1753. "attr4": "",
  1754. "attr5": "",
  1755. "attr6": "",
  1756. "attr7": "",
  1757. "attr8": "",
  1758. "attr9": "",
  1759. "id": "EEBE305F-AB80-43B1-A620-33BD97232162",
  1760. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1761. "extProps": {},
  1762. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1763. },
  1764. {
  1765. "defKey": "werks",
  1766. "defName": "工厂",
  1767. "comment": "",
  1768. "domain": "",
  1769. "type": "VARCHAR",
  1770. "len": 10,
  1771. "scale": "",
  1772. "primaryKey": false,
  1773. "notNull": false,
  1774. "autoIncrement": false,
  1775. "defaultValue": "",
  1776. "hideInGraph": false,
  1777. "refDict": "",
  1778. "attr1": "",
  1779. "attr2": "",
  1780. "attr3": "",
  1781. "attr4": "",
  1782. "attr5": "",
  1783. "attr6": "",
  1784. "attr7": "",
  1785. "attr8": "",
  1786. "attr9": "",
  1787. "id": "F0B74C38-D122-426E-9967-A019E9C3FC0C",
  1788. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1789. "extProps": {},
  1790. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1791. },
  1792. {
  1793. "defKey": "matnr",
  1794. "defName": "物料号",
  1795. "comment": "",
  1796. "domain": "",
  1797. "type": "VARCHAR",
  1798. "len": 100,
  1799. "scale": "",
  1800. "primaryKey": false,
  1801. "notNull": true,
  1802. "autoIncrement": false,
  1803. "defaultValue": "",
  1804. "hideInGraph": false,
  1805. "refDict": "",
  1806. "attr1": "",
  1807. "attr2": "",
  1808. "attr3": "",
  1809. "attr4": "",
  1810. "attr5": "",
  1811. "attr6": "",
  1812. "attr7": "",
  1813. "attr8": "",
  1814. "attr9": "",
  1815. "id": "73E27B7A-9823-411B-A52E-18428B09C45C",
  1816. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1817. "extProps": {},
  1818. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1819. },
  1820. {
  1821. "defKey": "status",
  1822. "defName": "状态",
  1823. "comment": "",
  1824. "domain": "",
  1825. "type": "VARCHAR",
  1826. "len": 100,
  1827. "scale": "",
  1828. "primaryKey": false,
  1829. "notNull": false,
  1830. "autoIncrement": false,
  1831. "defaultValue": "",
  1832. "hideInGraph": false,
  1833. "refDict": "",
  1834. "attr1": "",
  1835. "attr2": "",
  1836. "attr3": "",
  1837. "attr4": "",
  1838. "attr5": "",
  1839. "attr6": "",
  1840. "attr7": "",
  1841. "attr8": "",
  1842. "attr9": "",
  1843. "id": "83603E78-9A0D-43EF-A75B-A11B3809060D",
  1844. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1845. "extProps": {},
  1846. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1847. },
  1848. {
  1849. "defKey": "createdTime",
  1850. "defName": "创建时间",
  1851. "comment": "",
  1852. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  1853. "type": "",
  1854. "len": "",
  1855. "scale": "",
  1856. "primaryKey": false,
  1857. "notNull": false,
  1858. "autoIncrement": false,
  1859. "defaultValue": "",
  1860. "hideInGraph": false,
  1861. "refDict": "",
  1862. "attr1": "",
  1863. "attr2": "",
  1864. "attr3": "",
  1865. "attr4": "",
  1866. "attr5": "",
  1867. "attr6": "",
  1868. "attr7": "",
  1869. "attr8": "",
  1870. "attr9": "",
  1871. "id": "CCAAB7F6-3A10-407E-948E-04C9E691C23D",
  1872. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  1873. "extProps": {},
  1874. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1875. },
  1876. {
  1877. "defKey": "finishTime",
  1878. "defName": "完成时间",
  1879. "comment": "",
  1880. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  1881. "type": "",
  1882. "len": "",
  1883. "scale": "",
  1884. "primaryKey": false,
  1885. "notNull": false,
  1886. "autoIncrement": false,
  1887. "defaultValue": "",
  1888. "hideInGraph": false,
  1889. "refDict": "",
  1890. "attr1": "",
  1891. "attr2": "",
  1892. "attr3": "",
  1893. "attr4": "",
  1894. "attr5": "",
  1895. "attr6": "",
  1896. "attr7": "",
  1897. "attr8": "",
  1898. "attr9": "",
  1899. "id": "6C3F517D-46A7-43CC-80D1-2C9DEC854725",
  1900. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  1901. "extProps": {},
  1902. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1903. },
  1904. {
  1905. "defKey": "batchname",
  1906. "defName": "批次",
  1907. "comment": "",
  1908. "domain": "",
  1909. "type": "VARCHAR",
  1910. "len": 50,
  1911. "scale": "",
  1912. "primaryKey": false,
  1913. "notNull": false,
  1914. "autoIncrement": false,
  1915. "defaultValue": "",
  1916. "hideInGraph": false,
  1917. "refDict": "",
  1918. "attr1": "",
  1919. "attr2": "",
  1920. "attr3": "",
  1921. "attr4": "",
  1922. "attr5": "",
  1923. "attr6": "",
  1924. "attr7": "",
  1925. "attr8": "",
  1926. "attr9": "",
  1927. "id": "2D3DA37F-EDC1-4DE4-AC02-8FF542EB49C7",
  1928. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1929. "extProps": {},
  1930. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1931. },
  1932. {
  1933. "defKey": "userid",
  1934. "defName": "用户id",
  1935. "comment": "",
  1936. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  1937. "type": "",
  1938. "len": "",
  1939. "scale": "",
  1940. "primaryKey": false,
  1941. "notNull": false,
  1942. "autoIncrement": false,
  1943. "defaultValue": "",
  1944. "hideInGraph": false,
  1945. "refDict": "",
  1946. "attr1": "",
  1947. "attr2": "",
  1948. "attr3": "",
  1949. "attr4": "",
  1950. "attr5": "",
  1951. "attr6": "",
  1952. "attr7": "",
  1953. "attr8": "",
  1954. "attr9": "",
  1955. "id": "A071A8A1-1840-4D15-A38B-245895B95FA2",
  1956. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  1957. "extProps": {},
  1958. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1959. },
  1960. {
  1961. "defKey": "graphicnumber",
  1962. "defName": "图号",
  1963. "comment": "",
  1964. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  1965. "type": "",
  1966. "len": "",
  1967. "scale": "",
  1968. "primaryKey": false,
  1969. "notNull": false,
  1970. "autoIncrement": false,
  1971. "defaultValue": "",
  1972. "hideInGraph": false,
  1973. "refDict": "",
  1974. "attr1": "",
  1975. "attr2": "",
  1976. "attr3": "",
  1977. "attr4": "",
  1978. "attr5": "",
  1979. "attr6": "",
  1980. "attr7": "",
  1981. "attr8": "",
  1982. "attr9": "",
  1983. "id": "1038828B-161A-4DFF-ADE4-DCAEFDD60D1C",
  1984. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  1985. "extProps": {},
  1986. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  1987. },
  1988. {
  1989. "defKey": "projectPspid",
  1990. "defName": "",
  1991. "comment": "",
  1992. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  1993. "type": "",
  1994. "len": "",
  1995. "scale": "",
  1996. "primaryKey": false,
  1997. "notNull": false,
  1998. "autoIncrement": false,
  1999. "defaultValue": "",
  2000. "hideInGraph": false,
  2001. "refDict": "",
  2002. "attr1": "",
  2003. "attr2": "",
  2004. "attr3": "",
  2005. "attr4": "",
  2006. "attr5": "",
  2007. "attr6": "",
  2008. "attr7": "",
  2009. "attr8": "",
  2010. "attr9": "",
  2011. "id": "8C4F8BA2-1D57-4A3F-B750-DBF1D32D4450",
  2012. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2013. "extProps": {},
  2014. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2015. },
  2016. {
  2017. "defKey": "projectCate",
  2018. "defName": "",
  2019. "comment": "",
  2020. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  2021. "type": "",
  2022. "len": "",
  2023. "scale": "",
  2024. "primaryKey": false,
  2025. "notNull": false,
  2026. "autoIncrement": false,
  2027. "defaultValue": "",
  2028. "hideInGraph": false,
  2029. "refDict": "",
  2030. "attr1": "",
  2031. "attr2": "",
  2032. "attr3": "",
  2033. "attr4": "",
  2034. "attr5": "",
  2035. "attr6": "",
  2036. "attr7": "",
  2037. "attr8": "",
  2038. "attr9": "",
  2039. "id": "3A20DC52-B11A-4270-BF81-302A75F86334",
  2040. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2041. "extProps": {},
  2042. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2043. },
  2044. {
  2045. "defKey": "keylost",
  2046. "defName": "",
  2047. "comment": "",
  2048. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  2049. "type": "",
  2050. "len": "",
  2051. "scale": "",
  2052. "primaryKey": false,
  2053. "notNull": false,
  2054. "autoIncrement": false,
  2055. "defaultValue": "",
  2056. "hideInGraph": false,
  2057. "refDict": "",
  2058. "attr1": "",
  2059. "attr2": "",
  2060. "attr3": "",
  2061. "attr4": "",
  2062. "attr5": "",
  2063. "attr6": "",
  2064. "attr7": "",
  2065. "attr8": "",
  2066. "attr9": "",
  2067. "id": "8E90BC94-31A1-426B-9932-8F6390B8FD21",
  2068. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  2069. "extProps": {},
  2070. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2071. },
  2072. {
  2073. "defKey": "mknum",
  2074. "defName": "",
  2075. "comment": "",
  2076. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  2077. "type": "",
  2078. "len": "",
  2079. "scale": "",
  2080. "primaryKey": false,
  2081. "notNull": false,
  2082. "autoIncrement": false,
  2083. "defaultValue": "",
  2084. "hideInGraph": false,
  2085. "refDict": "",
  2086. "attr1": "",
  2087. "attr2": "",
  2088. "attr3": "",
  2089. "attr4": "",
  2090. "attr5": "",
  2091. "attr6": "",
  2092. "attr7": "",
  2093. "attr8": "",
  2094. "attr9": "",
  2095. "id": "ADC8DB96-7D3D-45B2-8330-88CAD4766C88",
  2096. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  2097. "extProps": {},
  2098. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2099. }
  2100. ],
  2101. "indexes": [
  2102. {
  2103. "defKey": "matnr",
  2104. "unique": false,
  2105. "defName": null,
  2106. "comment": "",
  2107. "fields": [
  2108. {
  2109. "ascOrDesc": "A",
  2110. "id": "B61421F5-E4B2-41B8-8A69-6388C765522C",
  2111. "fieldDefKey": "73E27B7A-9823-411B-A52E-18428B09C45C"
  2112. }
  2113. ],
  2114. "id": "68BA8FC5-24D4-43EC-A8BD-246FD00E6CDF"
  2115. },
  2116. {
  2117. "defKey": "projectName",
  2118. "unique": false,
  2119. "defName": null,
  2120. "comment": "",
  2121. "fields": [
  2122. {
  2123. "ascOrDesc": "A",
  2124. "id": "68B13AA4-882A-419A-9700-7F374F53CCA8",
  2125. "fieldDefKey": "44F69E4B-9E02-40CE-A66D-690B5F3D8E57"
  2126. }
  2127. ],
  2128. "id": "FE00E4C5-C452-47AF-89C4-0EC4B3C38FEC"
  2129. },
  2130. {
  2131. "defKey": "stage",
  2132. "unique": false,
  2133. "defName": null,
  2134. "comment": "",
  2135. "fields": [
  2136. {
  2137. "ascOrDesc": "A",
  2138. "id": "A742D85E-6452-49B8-B7A1-3830E1AF3D7B",
  2139. "fieldDefKey": "3E8FAD6B-B69F-4F76-889D-DC491B3C779C"
  2140. }
  2141. ],
  2142. "id": "067B888B-EC47-4035-B2B1-18F3116AD387"
  2143. },
  2144. {
  2145. "defKey": "version",
  2146. "unique": false,
  2147. "defName": null,
  2148. "comment": "",
  2149. "fields": [
  2150. {
  2151. "ascOrDesc": "A",
  2152. "id": "356E024E-D277-42E0-B754-3C27DFE73C18",
  2153. "fieldDefKey": "EEBE305F-AB80-43B1-A620-33BD97232162"
  2154. }
  2155. ],
  2156. "id": "5E5131A7-531C-497A-88CB-E93AFABCAC10"
  2157. },
  2158. {
  2159. "defKey": "werks",
  2160. "unique": false,
  2161. "defName": null,
  2162. "comment": "",
  2163. "fields": [
  2164. {
  2165. "ascOrDesc": "A",
  2166. "id": "BE36E2BE-9FFD-4BD4-A687-D9A992A3B889",
  2167. "fieldDefKey": "F0B74C38-D122-426E-9967-A019E9C3FC0C"
  2168. }
  2169. ],
  2170. "id": "63D92237-2877-4AE3-A01E-64F5F51CAAFE"
  2171. }
  2172. ],
  2173. "sysProps": {
  2174. "nameTemplate": "{defKey}[{defName}]"
  2175. },
  2176. "headers": [
  2177. {
  2178. "freeze": false,
  2179. "refKey": "hideInGraph",
  2180. "hideInGraph": true
  2181. },
  2182. {
  2183. "freeze": true,
  2184. "refKey": "defKey",
  2185. "hideInGraph": false
  2186. },
  2187. {
  2188. "freeze": true,
  2189. "refKey": "defName",
  2190. "hideInGraph": false
  2191. },
  2192. {
  2193. "freeze": false,
  2194. "refKey": "primaryKey",
  2195. "hideInGraph": false
  2196. },
  2197. {
  2198. "freeze": false,
  2199. "refKey": "notNull",
  2200. "hideInGraph": true
  2201. },
  2202. {
  2203. "freeze": false,
  2204. "refKey": "autoIncrement",
  2205. "hideInGraph": true
  2206. },
  2207. {
  2208. "freeze": false,
  2209. "refKey": "domain",
  2210. "hideInGraph": true
  2211. },
  2212. {
  2213. "freeze": false,
  2214. "refKey": "type",
  2215. "hideInGraph": false
  2216. },
  2217. {
  2218. "freeze": false,
  2219. "refKey": "len",
  2220. "hideInGraph": false
  2221. },
  2222. {
  2223. "freeze": false,
  2224. "refKey": "scale",
  2225. "hideInGraph": false
  2226. },
  2227. {
  2228. "freeze": false,
  2229. "refKey": "comment",
  2230. "hideInGraph": true
  2231. },
  2232. {
  2233. "freeze": false,
  2234. "refKey": "refDict",
  2235. "hideInGraph": true
  2236. },
  2237. {
  2238. "freeze": false,
  2239. "refKey": "defaultValue",
  2240. "hideInGraph": true
  2241. },
  2242. {
  2243. "freeze": false,
  2244. "refKey": "isStandard",
  2245. "hideInGraph": false
  2246. },
  2247. {
  2248. "freeze": false,
  2249. "refKey": "uiHint",
  2250. "hideInGraph": true
  2251. },
  2252. {
  2253. "freeze": false,
  2254. "refKey": "extProps",
  2255. "hideInGraph": true
  2256. }
  2257. ],
  2258. "correlations": []
  2259. },
  2260. {
  2261. "id": "FDB6475C-445C-40D7-A2E7-AE1392BD75D7",
  2262. "defKey": "sys_dict_data",
  2263. "defName": "字典数据表",
  2264. "comment": "",
  2265. "properties": {},
  2266. "fields": [
  2267. {
  2268. "defKey": "dict_code",
  2269. "defName": "字典编码",
  2270. "comment": "",
  2271. "domain": "",
  2272. "type": "BIGINT",
  2273. "len": "",
  2274. "scale": "",
  2275. "primaryKey": true,
  2276. "notNull": true,
  2277. "autoIncrement": true,
  2278. "defaultValue": "",
  2279. "hideInGraph": false,
  2280. "refDict": "",
  2281. "attr1": "",
  2282. "attr2": "",
  2283. "attr3": "",
  2284. "attr4": "",
  2285. "attr5": "",
  2286. "attr6": "",
  2287. "attr7": "",
  2288. "attr8": "",
  2289. "attr9": "",
  2290. "id": "FEED7E2A-5221-452A-A815-5EA98492BEDB",
  2291. "baseType": "",
  2292. "extProps": {},
  2293. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2294. },
  2295. {
  2296. "defKey": "dict_sort",
  2297. "defName": "字典排序",
  2298. "comment": "",
  2299. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  2300. "type": "",
  2301. "len": "",
  2302. "scale": "",
  2303. "primaryKey": false,
  2304. "notNull": false,
  2305. "autoIncrement": false,
  2306. "defaultValue": "0",
  2307. "hideInGraph": false,
  2308. "refDict": "",
  2309. "attr1": "",
  2310. "attr2": "",
  2311. "attr3": "",
  2312. "attr4": "",
  2313. "attr5": "",
  2314. "attr6": "",
  2315. "attr7": "",
  2316. "attr8": "",
  2317. "attr9": "",
  2318. "id": "D4745119-96BC-41A3-9BAA-5D3104B5483C",
  2319. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  2320. "extProps": {},
  2321. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2322. },
  2323. {
  2324. "defKey": "dict_label",
  2325. "defName": "字典标签",
  2326. "comment": "",
  2327. "domain": "",
  2328. "type": "VARCHAR",
  2329. "len": 100,
  2330. "scale": "",
  2331. "primaryKey": false,
  2332. "notNull": false,
  2333. "autoIncrement": false,
  2334. "defaultValue": "",
  2335. "hideInGraph": false,
  2336. "refDict": "",
  2337. "attr1": "",
  2338. "attr2": "",
  2339. "attr3": "",
  2340. "attr4": "",
  2341. "attr5": "",
  2342. "attr6": "",
  2343. "attr7": "",
  2344. "attr8": "",
  2345. "attr9": "",
  2346. "id": "73FE5FBD-9454-4B5B-AE16-85C93BE1013F",
  2347. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2348. "extProps": {},
  2349. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2350. },
  2351. {
  2352. "defKey": "dict_value",
  2353. "defName": "字典键值",
  2354. "comment": "",
  2355. "domain": "",
  2356. "type": "VARCHAR",
  2357. "len": 100,
  2358. "scale": "",
  2359. "primaryKey": false,
  2360. "notNull": false,
  2361. "autoIncrement": false,
  2362. "defaultValue": "",
  2363. "hideInGraph": false,
  2364. "refDict": "",
  2365. "attr1": "",
  2366. "attr2": "",
  2367. "attr3": "",
  2368. "attr4": "",
  2369. "attr5": "",
  2370. "attr6": "",
  2371. "attr7": "",
  2372. "attr8": "",
  2373. "attr9": "",
  2374. "id": "13CF3B5E-575F-4E4B-902E-6627AC12410F",
  2375. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2376. "extProps": {},
  2377. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2378. },
  2379. {
  2380. "defKey": "dict_type",
  2381. "defName": "字典类型",
  2382. "comment": "",
  2383. "domain": "",
  2384. "type": "VARCHAR",
  2385. "len": 100,
  2386. "scale": "",
  2387. "primaryKey": false,
  2388. "notNull": false,
  2389. "autoIncrement": false,
  2390. "defaultValue": "",
  2391. "hideInGraph": false,
  2392. "refDict": "",
  2393. "attr1": "",
  2394. "attr2": "",
  2395. "attr3": "",
  2396. "attr4": "",
  2397. "attr5": "",
  2398. "attr6": "",
  2399. "attr7": "",
  2400. "attr8": "",
  2401. "attr9": "",
  2402. "id": "DDC8F344-BE93-4676-A40C-C76EFB7D8F9D",
  2403. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2404. "extProps": {},
  2405. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2406. },
  2407. {
  2408. "defKey": "css_class",
  2409. "defName": "样式属性(其他样式扩展)",
  2410. "comment": "",
  2411. "domain": "",
  2412. "type": "VARCHAR",
  2413. "len": 100,
  2414. "scale": "",
  2415. "primaryKey": false,
  2416. "notNull": false,
  2417. "autoIncrement": false,
  2418. "defaultValue": "",
  2419. "hideInGraph": false,
  2420. "refDict": "",
  2421. "attr1": "",
  2422. "attr2": "",
  2423. "attr3": "",
  2424. "attr4": "",
  2425. "attr5": "",
  2426. "attr6": "",
  2427. "attr7": "",
  2428. "attr8": "",
  2429. "attr9": "",
  2430. "id": "C4989163-0CF7-4BE5-88A6-A70310EA6992",
  2431. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2432. "extProps": {},
  2433. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2434. },
  2435. {
  2436. "defKey": "list_class",
  2437. "defName": "表格回显样式",
  2438. "comment": "",
  2439. "domain": "",
  2440. "type": "VARCHAR",
  2441. "len": 100,
  2442. "scale": "",
  2443. "primaryKey": false,
  2444. "notNull": false,
  2445. "autoIncrement": false,
  2446. "defaultValue": "",
  2447. "hideInGraph": false,
  2448. "refDict": "",
  2449. "attr1": "",
  2450. "attr2": "",
  2451. "attr3": "",
  2452. "attr4": "",
  2453. "attr5": "",
  2454. "attr6": "",
  2455. "attr7": "",
  2456. "attr8": "",
  2457. "attr9": "",
  2458. "id": "E7A2B940-FA0F-43D3-A360-524A0D860A1D",
  2459. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2460. "extProps": {},
  2461. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2462. },
  2463. {
  2464. "defKey": "is_default",
  2465. "defName": "是否默认(Y是 N否)",
  2466. "comment": "",
  2467. "domain": "",
  2468. "type": "CHAR",
  2469. "len": 1,
  2470. "scale": "",
  2471. "primaryKey": false,
  2472. "notNull": false,
  2473. "autoIncrement": false,
  2474. "defaultValue": "'N'",
  2475. "hideInGraph": false,
  2476. "refDict": "",
  2477. "attr1": "",
  2478. "attr2": "",
  2479. "attr3": "",
  2480. "attr4": "",
  2481. "attr5": "",
  2482. "attr6": "",
  2483. "attr7": "",
  2484. "attr8": "",
  2485. "attr9": "",
  2486. "id": "CFD012FA-79C9-4053-BED2-D5F756601572",
  2487. "baseType": "",
  2488. "extProps": {},
  2489. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2490. },
  2491. {
  2492. "defKey": "status",
  2493. "defName": "状态(0正常 1停用)",
  2494. "comment": "",
  2495. "domain": "",
  2496. "type": "CHAR",
  2497. "len": 1,
  2498. "scale": "",
  2499. "primaryKey": false,
  2500. "notNull": false,
  2501. "autoIncrement": false,
  2502. "defaultValue": "'0'",
  2503. "hideInGraph": false,
  2504. "refDict": "",
  2505. "attr1": "",
  2506. "attr2": "",
  2507. "attr3": "",
  2508. "attr4": "",
  2509. "attr5": "",
  2510. "attr6": "",
  2511. "attr7": "",
  2512. "attr8": "",
  2513. "attr9": "",
  2514. "id": "CB0752C8-CEC3-4F0A-89B1-1AE20B8F4968",
  2515. "baseType": "",
  2516. "extProps": {},
  2517. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2518. },
  2519. {
  2520. "defKey": "create_by",
  2521. "defName": "创建者",
  2522. "comment": "",
  2523. "domain": "",
  2524. "type": "VARCHAR",
  2525. "len": 64,
  2526. "scale": "",
  2527. "primaryKey": false,
  2528. "notNull": false,
  2529. "autoIncrement": false,
  2530. "defaultValue": "",
  2531. "hideInGraph": false,
  2532. "refDict": "",
  2533. "attr1": "",
  2534. "attr2": "",
  2535. "attr3": "",
  2536. "attr4": "",
  2537. "attr5": "",
  2538. "attr6": "",
  2539. "attr7": "",
  2540. "attr8": "",
  2541. "attr9": "",
  2542. "id": "EE91C7C2-98D5-4A94-86FD-D1B969AE6EF8",
  2543. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2544. "extProps": {},
  2545. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2546. },
  2547. {
  2548. "defKey": "create_time",
  2549. "defName": "创建时间",
  2550. "comment": "",
  2551. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  2552. "type": "",
  2553. "len": "",
  2554. "scale": "",
  2555. "primaryKey": false,
  2556. "notNull": false,
  2557. "autoIncrement": false,
  2558. "defaultValue": "",
  2559. "hideInGraph": false,
  2560. "refDict": "",
  2561. "attr1": "",
  2562. "attr2": "",
  2563. "attr3": "",
  2564. "attr4": "",
  2565. "attr5": "",
  2566. "attr6": "",
  2567. "attr7": "",
  2568. "attr8": "",
  2569. "attr9": "",
  2570. "id": "20FAA003-BC26-4D1A-9BCF-A2615C8FFB5C",
  2571. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  2572. "extProps": {},
  2573. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2574. },
  2575. {
  2576. "defKey": "update_by",
  2577. "defName": "更新者",
  2578. "comment": "",
  2579. "domain": "",
  2580. "type": "VARCHAR",
  2581. "len": 64,
  2582. "scale": "",
  2583. "primaryKey": false,
  2584. "notNull": false,
  2585. "autoIncrement": false,
  2586. "defaultValue": "",
  2587. "hideInGraph": false,
  2588. "refDict": "",
  2589. "attr1": "",
  2590. "attr2": "",
  2591. "attr3": "",
  2592. "attr4": "",
  2593. "attr5": "",
  2594. "attr6": "",
  2595. "attr7": "",
  2596. "attr8": "",
  2597. "attr9": "",
  2598. "id": "E7777E3B-52A8-4D8E-83A4-EE30FD9E7A47",
  2599. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2600. "extProps": {},
  2601. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2602. },
  2603. {
  2604. "defKey": "update_time",
  2605. "defName": "更新时间",
  2606. "comment": "",
  2607. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  2608. "type": "",
  2609. "len": "",
  2610. "scale": "",
  2611. "primaryKey": false,
  2612. "notNull": false,
  2613. "autoIncrement": false,
  2614. "defaultValue": "",
  2615. "hideInGraph": false,
  2616. "refDict": "",
  2617. "attr1": "",
  2618. "attr2": "",
  2619. "attr3": "",
  2620. "attr4": "",
  2621. "attr5": "",
  2622. "attr6": "",
  2623. "attr7": "",
  2624. "attr8": "",
  2625. "attr9": "",
  2626. "id": "6D27918B-2ED7-4DF5-AFD8-6EC92D5E4053",
  2627. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  2628. "extProps": {},
  2629. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2630. },
  2631. {
  2632. "defKey": "remark",
  2633. "defName": "备注",
  2634. "comment": "",
  2635. "domain": "",
  2636. "type": "VARCHAR",
  2637. "len": 500,
  2638. "scale": "",
  2639. "primaryKey": false,
  2640. "notNull": false,
  2641. "autoIncrement": false,
  2642. "defaultValue": "",
  2643. "hideInGraph": false,
  2644. "refDict": "",
  2645. "attr1": "",
  2646. "attr2": "",
  2647. "attr3": "",
  2648. "attr4": "",
  2649. "attr5": "",
  2650. "attr6": "",
  2651. "attr7": "",
  2652. "attr8": "",
  2653. "attr9": "",
  2654. "id": "A644FBD0-A87B-4059-9147-8A65EE5535B2",
  2655. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2656. "extProps": {},
  2657. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2658. }
  2659. ],
  2660. "indexes": [],
  2661. "sysProps": {
  2662. "nameTemplate": "{defKey}[{defName}]"
  2663. },
  2664. "headers": [
  2665. {
  2666. "freeze": false,
  2667. "refKey": "hideInGraph",
  2668. "hideInGraph": true
  2669. },
  2670. {
  2671. "freeze": true,
  2672. "refKey": "defKey",
  2673. "hideInGraph": false
  2674. },
  2675. {
  2676. "freeze": true,
  2677. "refKey": "defName",
  2678. "hideInGraph": false
  2679. },
  2680. {
  2681. "freeze": false,
  2682. "refKey": "primaryKey",
  2683. "hideInGraph": false
  2684. },
  2685. {
  2686. "freeze": false,
  2687. "refKey": "notNull",
  2688. "hideInGraph": true
  2689. },
  2690. {
  2691. "freeze": false,
  2692. "refKey": "autoIncrement",
  2693. "hideInGraph": true
  2694. },
  2695. {
  2696. "freeze": false,
  2697. "refKey": "domain",
  2698. "hideInGraph": true
  2699. },
  2700. {
  2701. "freeze": false,
  2702. "refKey": "type",
  2703. "hideInGraph": false
  2704. },
  2705. {
  2706. "freeze": false,
  2707. "refKey": "len",
  2708. "hideInGraph": false
  2709. },
  2710. {
  2711. "freeze": false,
  2712. "refKey": "scale",
  2713. "hideInGraph": false
  2714. },
  2715. {
  2716. "freeze": false,
  2717. "refKey": "comment",
  2718. "hideInGraph": true
  2719. },
  2720. {
  2721. "freeze": false,
  2722. "refKey": "refDict",
  2723. "hideInGraph": true
  2724. },
  2725. {
  2726. "freeze": false,
  2727. "refKey": "defaultValue",
  2728. "hideInGraph": true
  2729. },
  2730. {
  2731. "freeze": false,
  2732. "refKey": "isStandard",
  2733. "hideInGraph": false
  2734. },
  2735. {
  2736. "freeze": false,
  2737. "refKey": "uiHint",
  2738. "hideInGraph": true
  2739. },
  2740. {
  2741. "freeze": false,
  2742. "refKey": "extProps",
  2743. "hideInGraph": true
  2744. }
  2745. ],
  2746. "correlations": []
  2747. },
  2748. {
  2749. "id": "7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49",
  2750. "defKey": "sys_dict_type",
  2751. "defName": "字典类型表",
  2752. "comment": "",
  2753. "properties": {},
  2754. "fields": [
  2755. {
  2756. "defKey": "dict_id",
  2757. "defName": "字典主键",
  2758. "comment": "",
  2759. "domain": "",
  2760. "type": "BIGINT",
  2761. "len": "",
  2762. "scale": "",
  2763. "primaryKey": true,
  2764. "notNull": true,
  2765. "autoIncrement": true,
  2766. "defaultValue": "",
  2767. "hideInGraph": false,
  2768. "refDict": "",
  2769. "attr1": "",
  2770. "attr2": "",
  2771. "attr3": "",
  2772. "attr4": "",
  2773. "attr5": "",
  2774. "attr6": "",
  2775. "attr7": "",
  2776. "attr8": "",
  2777. "attr9": "",
  2778. "id": "2864CC80-6949-4C21-809A-53003E91BDF8",
  2779. "baseType": "",
  2780. "extProps": {},
  2781. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2782. },
  2783. {
  2784. "defKey": "dict_name",
  2785. "defName": "字典名称",
  2786. "comment": "",
  2787. "domain": "",
  2788. "type": "VARCHAR",
  2789. "len": 100,
  2790. "scale": "",
  2791. "primaryKey": false,
  2792. "notNull": false,
  2793. "autoIncrement": false,
  2794. "defaultValue": "",
  2795. "hideInGraph": false,
  2796. "refDict": "",
  2797. "attr1": "",
  2798. "attr2": "",
  2799. "attr3": "",
  2800. "attr4": "",
  2801. "attr5": "",
  2802. "attr6": "",
  2803. "attr7": "",
  2804. "attr8": "",
  2805. "attr9": "",
  2806. "id": "71A78792-B4DD-432F-B636-E1376EFC2C86",
  2807. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2808. "extProps": {},
  2809. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2810. },
  2811. {
  2812. "defKey": "dict_type",
  2813. "defName": "字典类型",
  2814. "comment": "",
  2815. "domain": "",
  2816. "type": "VARCHAR",
  2817. "len": 100,
  2818. "scale": "",
  2819. "primaryKey": false,
  2820. "notNull": false,
  2821. "autoIncrement": false,
  2822. "defaultValue": "",
  2823. "hideInGraph": false,
  2824. "refDict": "",
  2825. "attr1": "",
  2826. "attr2": "",
  2827. "attr3": "",
  2828. "attr4": "",
  2829. "attr5": "",
  2830. "attr6": "",
  2831. "attr7": "",
  2832. "attr8": "",
  2833. "attr9": "",
  2834. "id": "6E210E32-73F7-470D-880B-CE5D4A959652",
  2835. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2836. "extProps": {},
  2837. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2838. },
  2839. {
  2840. "defKey": "status",
  2841. "defName": "状态(0正常 1停用)",
  2842. "comment": "",
  2843. "domain": "",
  2844. "type": "CHAR",
  2845. "len": 1,
  2846. "scale": "",
  2847. "primaryKey": false,
  2848. "notNull": false,
  2849. "autoIncrement": false,
  2850. "defaultValue": "'0'",
  2851. "hideInGraph": false,
  2852. "refDict": "",
  2853. "attr1": "",
  2854. "attr2": "",
  2855. "attr3": "",
  2856. "attr4": "",
  2857. "attr5": "",
  2858. "attr6": "",
  2859. "attr7": "",
  2860. "attr8": "",
  2861. "attr9": "",
  2862. "id": "F0CBB590-1BBA-4E38-9850-3BB064F008C2",
  2863. "baseType": "",
  2864. "extProps": {},
  2865. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2866. },
  2867. {
  2868. "defKey": "create_by",
  2869. "defName": "创建者",
  2870. "comment": "",
  2871. "domain": "",
  2872. "type": "VARCHAR",
  2873. "len": 64,
  2874. "scale": "",
  2875. "primaryKey": false,
  2876. "notNull": false,
  2877. "autoIncrement": false,
  2878. "defaultValue": "",
  2879. "hideInGraph": false,
  2880. "refDict": "",
  2881. "attr1": "",
  2882. "attr2": "",
  2883. "attr3": "",
  2884. "attr4": "",
  2885. "attr5": "",
  2886. "attr6": "",
  2887. "attr7": "",
  2888. "attr8": "",
  2889. "attr9": "",
  2890. "id": "34DB7AEC-5048-47A7-9F8F-AAFB15D387C5",
  2891. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2892. "extProps": {},
  2893. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2894. },
  2895. {
  2896. "defKey": "create_time",
  2897. "defName": "创建时间",
  2898. "comment": "",
  2899. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  2900. "type": "",
  2901. "len": "",
  2902. "scale": "",
  2903. "primaryKey": false,
  2904. "notNull": false,
  2905. "autoIncrement": false,
  2906. "defaultValue": "",
  2907. "hideInGraph": false,
  2908. "refDict": "",
  2909. "attr1": "",
  2910. "attr2": "",
  2911. "attr3": "",
  2912. "attr4": "",
  2913. "attr5": "",
  2914. "attr6": "",
  2915. "attr7": "",
  2916. "attr8": "",
  2917. "attr9": "",
  2918. "id": "7436C7CA-53F7-4D54-88CF-E30135945EF1",
  2919. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  2920. "extProps": {},
  2921. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2922. },
  2923. {
  2924. "defKey": "update_by",
  2925. "defName": "更新者",
  2926. "comment": "",
  2927. "domain": "",
  2928. "type": "VARCHAR",
  2929. "len": 64,
  2930. "scale": "",
  2931. "primaryKey": false,
  2932. "notNull": false,
  2933. "autoIncrement": false,
  2934. "defaultValue": "",
  2935. "hideInGraph": false,
  2936. "refDict": "",
  2937. "attr1": "",
  2938. "attr2": "",
  2939. "attr3": "",
  2940. "attr4": "",
  2941. "attr5": "",
  2942. "attr6": "",
  2943. "attr7": "",
  2944. "attr8": "",
  2945. "attr9": "",
  2946. "id": "DEDD8E11-31EA-4D18-A272-D8126090DD04",
  2947. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  2948. "extProps": {},
  2949. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2950. },
  2951. {
  2952. "defKey": "update_time",
  2953. "defName": "更新时间",
  2954. "comment": "",
  2955. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  2956. "type": "",
  2957. "len": "",
  2958. "scale": "",
  2959. "primaryKey": false,
  2960. "notNull": false,
  2961. "autoIncrement": false,
  2962. "defaultValue": "",
  2963. "hideInGraph": false,
  2964. "refDict": "",
  2965. "attr1": "",
  2966. "attr2": "",
  2967. "attr3": "",
  2968. "attr4": "",
  2969. "attr5": "",
  2970. "attr6": "",
  2971. "attr7": "",
  2972. "attr8": "",
  2973. "attr9": "",
  2974. "id": "35339139-B2AD-4E26-BE49-FD973FA944FB",
  2975. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  2976. "extProps": {},
  2977. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  2978. },
  2979. {
  2980. "defKey": "remark",
  2981. "defName": "备注",
  2982. "comment": "",
  2983. "domain": "",
  2984. "type": "VARCHAR",
  2985. "len": 500,
  2986. "scale": "",
  2987. "primaryKey": false,
  2988. "notNull": false,
  2989. "autoIncrement": false,
  2990. "defaultValue": "",
  2991. "hideInGraph": false,
  2992. "refDict": "",
  2993. "attr1": "",
  2994. "attr2": "",
  2995. "attr3": "",
  2996. "attr4": "",
  2997. "attr5": "",
  2998. "attr6": "",
  2999. "attr7": "",
  3000. "attr8": "",
  3001. "attr9": "",
  3002. "id": "7E6A9ABC-F1B5-434E-8A88-AFA76836F474",
  3003. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3004. "extProps": {},
  3005. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3006. }
  3007. ],
  3008. "indexes": [
  3009. {
  3010. "defKey": "dict_type",
  3011. "unique": true,
  3012. "defName": null,
  3013. "comment": "",
  3014. "fields": [
  3015. {
  3016. "ascOrDesc": "A",
  3017. "id": "5780595B-CF9F-45BC-B2ED-671B7930E9EF",
  3018. "fieldDefKey": "6E210E32-73F7-470D-880B-CE5D4A959652"
  3019. }
  3020. ],
  3021. "id": "D5C9FC5C-3A0C-4B51-A325-B0BC5E0C1CE8"
  3022. }
  3023. ],
  3024. "sysProps": {
  3025. "nameTemplate": "{defKey}[{defName}]"
  3026. },
  3027. "headers": [
  3028. {
  3029. "freeze": false,
  3030. "refKey": "hideInGraph",
  3031. "hideInGraph": true
  3032. },
  3033. {
  3034. "freeze": true,
  3035. "refKey": "defKey",
  3036. "hideInGraph": false
  3037. },
  3038. {
  3039. "freeze": true,
  3040. "refKey": "defName",
  3041. "hideInGraph": false
  3042. },
  3043. {
  3044. "freeze": false,
  3045. "refKey": "primaryKey",
  3046. "hideInGraph": false
  3047. },
  3048. {
  3049. "freeze": false,
  3050. "refKey": "notNull",
  3051. "hideInGraph": true
  3052. },
  3053. {
  3054. "freeze": false,
  3055. "refKey": "autoIncrement",
  3056. "hideInGraph": true
  3057. },
  3058. {
  3059. "freeze": false,
  3060. "refKey": "domain",
  3061. "hideInGraph": true
  3062. },
  3063. {
  3064. "freeze": false,
  3065. "refKey": "type",
  3066. "hideInGraph": false
  3067. },
  3068. {
  3069. "freeze": false,
  3070. "refKey": "len",
  3071. "hideInGraph": false
  3072. },
  3073. {
  3074. "freeze": false,
  3075. "refKey": "scale",
  3076. "hideInGraph": false
  3077. },
  3078. {
  3079. "freeze": false,
  3080. "refKey": "comment",
  3081. "hideInGraph": true
  3082. },
  3083. {
  3084. "freeze": false,
  3085. "refKey": "refDict",
  3086. "hideInGraph": true
  3087. },
  3088. {
  3089. "freeze": false,
  3090. "refKey": "defaultValue",
  3091. "hideInGraph": true
  3092. },
  3093. {
  3094. "freeze": false,
  3095. "refKey": "isStandard",
  3096. "hideInGraph": false
  3097. },
  3098. {
  3099. "freeze": false,
  3100. "refKey": "uiHint",
  3101. "hideInGraph": true
  3102. },
  3103. {
  3104. "freeze": false,
  3105. "refKey": "extProps",
  3106. "hideInGraph": true
  3107. }
  3108. ],
  3109. "correlations": []
  3110. },
  3111. {
  3112. "id": "7D1DEA8A-7373-4659-B1A7-B0E72416EDA7",
  3113. "defKey": "material",
  3114. "defName": "物料表,该表内容从sap里抓取获得",
  3115. "comment": "",
  3116. "properties": {},
  3117. "fields": [
  3118. {
  3119. "defKey": "factory",
  3120. "defName": "工厂代号(工厂id)",
  3121. "comment": "",
  3122. "domain": "",
  3123. "type": "VARCHAR",
  3124. "len": 20,
  3125. "scale": "",
  3126. "primaryKey": false,
  3127. "notNull": true,
  3128. "autoIncrement": false,
  3129. "defaultValue": "",
  3130. "hideInGraph": false,
  3131. "refDict": "",
  3132. "attr1": "",
  3133. "attr2": "",
  3134. "attr3": "",
  3135. "attr4": "",
  3136. "attr5": "",
  3137. "attr6": "",
  3138. "attr7": "",
  3139. "attr8": "",
  3140. "attr9": "",
  3141. "id": "F2B3E4D0-1A13-44E0-AD48-10D4AF232781",
  3142. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3143. "extProps": {},
  3144. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3145. },
  3146. {
  3147. "defKey": "material_number",
  3148. "defName": "物料号",
  3149. "comment": "",
  3150. "domain": "",
  3151. "type": "VARCHAR",
  3152. "len": 54,
  3153. "scale": "",
  3154. "primaryKey": false,
  3155. "notNull": true,
  3156. "autoIncrement": false,
  3157. "defaultValue": "",
  3158. "hideInGraph": false,
  3159. "refDict": "",
  3160. "attr1": "",
  3161. "attr2": "",
  3162. "attr3": "",
  3163. "attr4": "",
  3164. "attr5": "",
  3165. "attr6": "",
  3166. "attr7": "",
  3167. "attr8": "",
  3168. "attr9": "",
  3169. "id": "BADBBE3C-453A-47BD-A255-3A2DE31ADDE5",
  3170. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3171. "extProps": {},
  3172. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3173. },
  3174. {
  3175. "defKey": "material_type",
  3176. "defName": "物料类型",
  3177. "comment": "",
  3178. "domain": "",
  3179. "type": "VARCHAR",
  3180. "len": 15,
  3181. "scale": "",
  3182. "primaryKey": false,
  3183. "notNull": false,
  3184. "autoIncrement": false,
  3185. "defaultValue": "",
  3186. "hideInGraph": false,
  3187. "refDict": "",
  3188. "attr1": "",
  3189. "attr2": "",
  3190. "attr3": "",
  3191. "attr4": "",
  3192. "attr5": "",
  3193. "attr6": "",
  3194. "attr7": "",
  3195. "attr8": "",
  3196. "attr9": "",
  3197. "id": "485350D5-E666-46F8-B466-C83BDF026B36",
  3198. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3199. "extProps": {},
  3200. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3201. },
  3202. {
  3203. "defKey": "product_category",
  3204. "defName": "产品类型",
  3205. "comment": "",
  3206. "domain": "",
  3207. "type": "VARCHAR",
  3208. "len": 30,
  3209. "scale": "",
  3210. "primaryKey": false,
  3211. "notNull": false,
  3212. "autoIncrement": false,
  3213. "defaultValue": "",
  3214. "hideInGraph": false,
  3215. "refDict": "",
  3216. "attr1": "",
  3217. "attr2": "",
  3218. "attr3": "",
  3219. "attr4": "",
  3220. "attr5": "",
  3221. "attr6": "",
  3222. "attr7": "",
  3223. "attr8": "",
  3224. "attr9": "",
  3225. "id": "4C4B6C92-49BE-4E9B-88AD-D7793AD854D2",
  3226. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3227. "extProps": {},
  3228. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3229. },
  3230. {
  3231. "defKey": "product_name",
  3232. "defName": "物料名称",
  3233. "comment": "",
  3234. "domain": "",
  3235. "type": "VARCHAR",
  3236. "len": 120,
  3237. "scale": "",
  3238. "primaryKey": false,
  3239. "notNull": false,
  3240. "autoIncrement": false,
  3241. "defaultValue": "",
  3242. "hideInGraph": false,
  3243. "refDict": "",
  3244. "attr1": "",
  3245. "attr2": "",
  3246. "attr3": "",
  3247. "attr4": "",
  3248. "attr5": "",
  3249. "attr6": "",
  3250. "attr7": "",
  3251. "attr8": "",
  3252. "attr9": "",
  3253. "id": "3251CEF5-A600-4CA4-9E41-A523F9B93D49",
  3254. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3255. "extProps": {},
  3256. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3257. },
  3258. {
  3259. "defKey": "norms",
  3260. "defName": "",
  3261. "comment": "",
  3262. "domain": "",
  3263. "type": "VARCHAR",
  3264. "len": 210,
  3265. "scale": "",
  3266. "primaryKey": false,
  3267. "notNull": false,
  3268. "autoIncrement": false,
  3269. "defaultValue": "",
  3270. "hideInGraph": false,
  3271. "refDict": "",
  3272. "attr1": "",
  3273. "attr2": "",
  3274. "attr3": "",
  3275. "attr4": "",
  3276. "attr5": "",
  3277. "attr6": "",
  3278. "attr7": "",
  3279. "attr8": "",
  3280. "attr9": "",
  3281. "id": "9E52044E-B5F5-485C-AAD7-C1599C1E230A",
  3282. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3283. "extProps": {},
  3284. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3285. },
  3286. {
  3287. "defKey": "manufacturing_type",
  3288. "defName": "制造类型",
  3289. "comment": "",
  3290. "domain": "",
  3291. "type": "VARCHAR",
  3292. "len": 30,
  3293. "scale": "",
  3294. "primaryKey": false,
  3295. "notNull": false,
  3296. "autoIncrement": false,
  3297. "defaultValue": "",
  3298. "hideInGraph": false,
  3299. "refDict": "",
  3300. "attr1": "",
  3301. "attr2": "",
  3302. "attr3": "",
  3303. "attr4": "",
  3304. "attr5": "",
  3305. "attr6": "",
  3306. "attr7": "",
  3307. "attr8": "",
  3308. "attr9": "",
  3309. "id": "F4309FEF-1AB9-4D28-A84B-7C007AD1614C",
  3310. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3311. "extProps": {},
  3312. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3313. },
  3314. {
  3315. "defKey": "inventory_unit",
  3316. "defName": "库存单位",
  3317. "comment": "",
  3318. "domain": "",
  3319. "type": "VARCHAR",
  3320. "len": 10,
  3321. "scale": "",
  3322. "primaryKey": false,
  3323. "notNull": false,
  3324. "autoIncrement": false,
  3325. "defaultValue": "",
  3326. "hideInGraph": false,
  3327. "refDict": "",
  3328. "attr1": "",
  3329. "attr2": "",
  3330. "attr3": "",
  3331. "attr4": "",
  3332. "attr5": "",
  3333. "attr6": "",
  3334. "attr7": "",
  3335. "attr8": "",
  3336. "attr9": "",
  3337. "id": "175E90FD-3C70-4CBB-AF86-76824E14D07E",
  3338. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3339. "extProps": {},
  3340. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3341. },
  3342. {
  3343. "defKey": "purchasing_unit",
  3344. "defName": "购买单价",
  3345. "comment": "",
  3346. "domain": "",
  3347. "type": "VARCHAR",
  3348. "len": 60,
  3349. "scale": "",
  3350. "primaryKey": false,
  3351. "notNull": false,
  3352. "autoIncrement": false,
  3353. "defaultValue": "",
  3354. "hideInGraph": false,
  3355. "refDict": "",
  3356. "attr1": "",
  3357. "attr2": "",
  3358. "attr3": "",
  3359. "attr4": "",
  3360. "attr5": "",
  3361. "attr6": "",
  3362. "attr7": "",
  3363. "attr8": "",
  3364. "attr9": "",
  3365. "id": "9A5908FE-AF1E-447A-B3AF-8572BD5F95AB",
  3366. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3367. "extProps": {},
  3368. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3369. },
  3370. {
  3371. "defKey": "old_material_group",
  3372. "defName": "所属旧物料组",
  3373. "comment": "",
  3374. "domain": "",
  3375. "type": "VARCHAR",
  3376. "len": 30,
  3377. "scale": "",
  3378. "primaryKey": false,
  3379. "notNull": false,
  3380. "autoIncrement": false,
  3381. "defaultValue": "",
  3382. "hideInGraph": false,
  3383. "refDict": "",
  3384. "attr1": "",
  3385. "attr2": "",
  3386. "attr3": "",
  3387. "attr4": "",
  3388. "attr5": "",
  3389. "attr6": "",
  3390. "attr7": "",
  3391. "attr8": "",
  3392. "attr9": "",
  3393. "id": "DD057882-55E4-483E-8341-E410EADE15F9",
  3394. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3395. "extProps": {},
  3396. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3397. },
  3398. {
  3399. "defKey": "standard_cost",
  3400. "defName": "标准成本",
  3401. "comment": "",
  3402. "domain": "",
  3403. "type": "VARCHAR",
  3404. "len": 20,
  3405. "scale": "",
  3406. "primaryKey": false,
  3407. "notNull": false,
  3408. "autoIncrement": false,
  3409. "defaultValue": "",
  3410. "hideInGraph": false,
  3411. "refDict": "",
  3412. "attr1": "",
  3413. "attr2": "",
  3414. "attr3": "",
  3415. "attr4": "",
  3416. "attr5": "",
  3417. "attr6": "",
  3418. "attr7": "",
  3419. "attr8": "",
  3420. "attr9": "",
  3421. "id": "16A0AAF5-C15D-4BC3-A963-0122A49AEDA0",
  3422. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3423. "extProps": {},
  3424. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3425. },
  3426. {
  3427. "defKey": "abc_level",
  3428. "defName": "",
  3429. "comment": "",
  3430. "domain": "",
  3431. "type": "VARCHAR",
  3432. "len": 10,
  3433. "scale": "",
  3434. "primaryKey": false,
  3435. "notNull": false,
  3436. "autoIncrement": false,
  3437. "defaultValue": "",
  3438. "hideInGraph": false,
  3439. "refDict": "",
  3440. "attr1": "",
  3441. "attr2": "",
  3442. "attr3": "",
  3443. "attr4": "",
  3444. "attr5": "",
  3445. "attr6": "",
  3446. "attr7": "",
  3447. "attr8": "",
  3448. "attr9": "",
  3449. "id": "56133029-8ADA-4AF0-9B6B-54FD99817269",
  3450. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3451. "extProps": {},
  3452. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3453. },
  3454. {
  3455. "defKey": "effective_state",
  3456. "defName": "",
  3457. "comment": "",
  3458. "domain": "",
  3459. "type": "VARCHAR",
  3460. "len": 10,
  3461. "scale": "",
  3462. "primaryKey": false,
  3463. "notNull": false,
  3464. "autoIncrement": false,
  3465. "defaultValue": "",
  3466. "hideInGraph": false,
  3467. "refDict": "",
  3468. "attr1": "",
  3469. "attr2": "",
  3470. "attr3": "",
  3471. "attr4": "",
  3472. "attr5": "",
  3473. "attr6": "",
  3474. "attr7": "",
  3475. "attr8": "",
  3476. "attr9": "",
  3477. "id": "7A70E0A5-37EB-4B82-ABD4-735B45F27441",
  3478. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3479. "extProps": {},
  3480. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3481. },
  3482. {
  3483. "defKey": "profit_center",
  3484. "defName": "",
  3485. "comment": "",
  3486. "domain": "",
  3487. "type": "VARCHAR",
  3488. "len": 50,
  3489. "scale": "",
  3490. "primaryKey": false,
  3491. "notNull": false,
  3492. "autoIncrement": false,
  3493. "defaultValue": "",
  3494. "hideInGraph": false,
  3495. "refDict": "",
  3496. "attr1": "",
  3497. "attr2": "",
  3498. "attr3": "",
  3499. "attr4": "",
  3500. "attr5": "",
  3501. "attr6": "",
  3502. "attr7": "",
  3503. "attr8": "",
  3504. "attr9": "",
  3505. "id": "38041E3A-1584-4559-926E-4CA0CE5EC744",
  3506. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3507. "extProps": {},
  3508. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3509. },
  3510. {
  3511. "defKey": "iswbs",
  3512. "defName": "",
  3513. "comment": "",
  3514. "domain": "",
  3515. "type": "VARCHAR",
  3516. "len": 10,
  3517. "scale": "",
  3518. "primaryKey": false,
  3519. "notNull": false,
  3520. "autoIncrement": false,
  3521. "defaultValue": "",
  3522. "hideInGraph": false,
  3523. "refDict": "",
  3524. "attr1": "",
  3525. "attr2": "",
  3526. "attr3": "",
  3527. "attr4": "",
  3528. "attr5": "",
  3529. "attr6": "",
  3530. "attr7": "",
  3531. "attr8": "",
  3532. "attr9": "",
  3533. "id": "AB65B9E4-26FE-4826-A59C-6E7D606EEC95",
  3534. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3535. "extProps": {},
  3536. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3537. },
  3538. {
  3539. "defKey": "graph_number",
  3540. "defName": "图号",
  3541. "comment": "",
  3542. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3543. "type": "",
  3544. "len": "",
  3545. "scale": "",
  3546. "primaryKey": false,
  3547. "notNull": false,
  3548. "autoIncrement": false,
  3549. "defaultValue": "",
  3550. "hideInGraph": false,
  3551. "refDict": "",
  3552. "attr1": "",
  3553. "attr2": "",
  3554. "attr3": "",
  3555. "attr4": "",
  3556. "attr5": "",
  3557. "attr6": "",
  3558. "attr7": "",
  3559. "attr8": "",
  3560. "attr9": "",
  3561. "id": "E6B036D1-0DC2-48AA-B679-C11312FEFE21",
  3562. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3563. "extProps": {},
  3564. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3565. },
  3566. {
  3567. "defKey": "mtbez",
  3568. "defName": "",
  3569. "comment": "",
  3570. "domain": "",
  3571. "type": "VARCHAR",
  3572. "len": 80,
  3573. "scale": "",
  3574. "primaryKey": false,
  3575. "notNull": false,
  3576. "autoIncrement": false,
  3577. "defaultValue": "",
  3578. "hideInGraph": false,
  3579. "refDict": "",
  3580. "attr1": "",
  3581. "attr2": "",
  3582. "attr3": "",
  3583. "attr4": "",
  3584. "attr5": "",
  3585. "attr6": "",
  3586. "attr7": "",
  3587. "attr8": "",
  3588. "attr9": "",
  3589. "id": "98F2AC12-1185-4AFE-97D2-FDF6D6D7A5B1",
  3590. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3591. "extProps": {},
  3592. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3593. },
  3594. {
  3595. "defKey": "wgbez",
  3596. "defName": "",
  3597. "comment": "",
  3598. "domain": "",
  3599. "type": "VARCHAR",
  3600. "len": 80,
  3601. "scale": "",
  3602. "primaryKey": false,
  3603. "notNull": false,
  3604. "autoIncrement": false,
  3605. "defaultValue": "",
  3606. "hideInGraph": false,
  3607. "refDict": "",
  3608. "attr1": "",
  3609. "attr2": "",
  3610. "attr3": "",
  3611. "attr4": "",
  3612. "attr5": "",
  3613. "attr6": "",
  3614. "attr7": "",
  3615. "attr8": "",
  3616. "attr9": "",
  3617. "id": "7615D684-08BE-460C-9D4A-3C1AABEF2A9E",
  3618. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3619. "extProps": {},
  3620. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3621. },
  3622. {
  3623. "defKey": "sobsl",
  3624. "defName": "",
  3625. "comment": "",
  3626. "domain": "",
  3627. "type": "VARCHAR",
  3628. "len": 10,
  3629. "scale": "",
  3630. "primaryKey": false,
  3631. "notNull": false,
  3632. "autoIncrement": false,
  3633. "defaultValue": "",
  3634. "hideInGraph": false,
  3635. "refDict": "",
  3636. "attr1": "",
  3637. "attr2": "",
  3638. "attr3": "",
  3639. "attr4": "",
  3640. "attr5": "",
  3641. "attr6": "",
  3642. "attr7": "",
  3643. "attr8": "",
  3644. "attr9": "",
  3645. "id": "BC35E308-2D86-4CC5-8AC4-A3FF1759F97E",
  3646. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3647. "extProps": {},
  3648. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3649. }
  3650. ],
  3651. "indexes": [
  3652. {
  3653. "defKey": "factory",
  3654. "unique": false,
  3655. "defName": null,
  3656. "comment": "",
  3657. "fields": [
  3658. {
  3659. "ascOrDesc": "A",
  3660. "id": "F710200A-3C28-4D7A-9D40-53081AD9B4CE",
  3661. "fieldDefKey": "F2B3E4D0-1A13-44E0-AD48-10D4AF232781"
  3662. }
  3663. ],
  3664. "id": "EC09805C-86B4-415B-921D-E173A8E7F11D"
  3665. },
  3666. {
  3667. "defKey": "materialNumber",
  3668. "unique": false,
  3669. "defName": null,
  3670. "comment": "",
  3671. "fields": [
  3672. {
  3673. "ascOrDesc": "A",
  3674. "id": "6241323A-7DA4-4229-BD76-6D2D2F9CCB52",
  3675. "fieldDefKey": "BADBBE3C-453A-47BD-A255-3A2DE31ADDE5"
  3676. }
  3677. ],
  3678. "id": "A8CC9685-8808-48A7-95D7-60CEDA5848F8"
  3679. }
  3680. ],
  3681. "sysProps": {
  3682. "nameTemplate": "{defKey}[{defName}]"
  3683. },
  3684. "headers": [
  3685. {
  3686. "freeze": false,
  3687. "refKey": "hideInGraph",
  3688. "hideInGraph": true
  3689. },
  3690. {
  3691. "freeze": true,
  3692. "refKey": "defKey",
  3693. "hideInGraph": false
  3694. },
  3695. {
  3696. "freeze": true,
  3697. "refKey": "defName",
  3698. "hideInGraph": false
  3699. },
  3700. {
  3701. "freeze": false,
  3702. "refKey": "primaryKey",
  3703. "hideInGraph": false
  3704. },
  3705. {
  3706. "freeze": false,
  3707. "refKey": "notNull",
  3708. "hideInGraph": true
  3709. },
  3710. {
  3711. "freeze": false,
  3712. "refKey": "autoIncrement",
  3713. "hideInGraph": true
  3714. },
  3715. {
  3716. "freeze": false,
  3717. "refKey": "domain",
  3718. "hideInGraph": true
  3719. },
  3720. {
  3721. "freeze": false,
  3722. "refKey": "type",
  3723. "hideInGraph": false
  3724. },
  3725. {
  3726. "freeze": false,
  3727. "refKey": "len",
  3728. "hideInGraph": false
  3729. },
  3730. {
  3731. "freeze": false,
  3732. "refKey": "scale",
  3733. "hideInGraph": false
  3734. },
  3735. {
  3736. "freeze": false,
  3737. "refKey": "comment",
  3738. "hideInGraph": true
  3739. },
  3740. {
  3741. "freeze": false,
  3742. "refKey": "refDict",
  3743. "hideInGraph": true
  3744. },
  3745. {
  3746. "freeze": false,
  3747. "refKey": "defaultValue",
  3748. "hideInGraph": true
  3749. },
  3750. {
  3751. "freeze": false,
  3752. "refKey": "isStandard",
  3753. "hideInGraph": false
  3754. },
  3755. {
  3756. "freeze": false,
  3757. "refKey": "uiHint",
  3758. "hideInGraph": true
  3759. },
  3760. {
  3761. "freeze": false,
  3762. "refKey": "extProps",
  3763. "hideInGraph": true
  3764. }
  3765. ],
  3766. "correlations": []
  3767. },
  3768. {
  3769. "id": "236F8414-6100-429D-8DEC-A223B0BDA052",
  3770. "defKey": "avl_project",
  3771. "defName": "AVL项目",
  3772. "comment": "",
  3773. "properties": {},
  3774. "fields": [
  3775. {
  3776. "defKey": "mpvalue",
  3777. "defName": "",
  3778. "comment": "",
  3779. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3780. "type": "",
  3781. "len": "",
  3782. "scale": "",
  3783. "primaryKey": false,
  3784. "notNull": false,
  3785. "autoIncrement": false,
  3786. "defaultValue": "",
  3787. "hideInGraph": false,
  3788. "refDict": "",
  3789. "attr1": "",
  3790. "attr2": "",
  3791. "attr3": "",
  3792. "attr4": "",
  3793. "attr5": "",
  3794. "attr6": "",
  3795. "attr7": "",
  3796. "attr8": "",
  3797. "attr9": "",
  3798. "id": "CE881FE8-29DB-4676-ACAB-525BCEC8F1DC",
  3799. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3800. "extProps": {},
  3801. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3802. },
  3803. {
  3804. "defKey": "code",
  3805. "defName": "",
  3806. "comment": "",
  3807. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3808. "type": "",
  3809. "len": "",
  3810. "scale": "",
  3811. "primaryKey": false,
  3812. "notNull": false,
  3813. "autoIncrement": false,
  3814. "defaultValue": "",
  3815. "hideInGraph": false,
  3816. "refDict": "",
  3817. "attr1": "",
  3818. "attr2": "",
  3819. "attr3": "",
  3820. "attr4": "",
  3821. "attr5": "",
  3822. "attr6": "",
  3823. "attr7": "",
  3824. "attr8": "",
  3825. "attr9": "",
  3826. "id": "E1714B7E-289C-45CC-9286-58482060DD1A",
  3827. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3828. "extProps": {},
  3829. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3830. },
  3831. {
  3832. "defKey": "prps_posid",
  3833. "defName": "",
  3834. "comment": "",
  3835. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3836. "type": "",
  3837. "len": "",
  3838. "scale": "",
  3839. "primaryKey": false,
  3840. "notNull": false,
  3841. "autoIncrement": false,
  3842. "defaultValue": "",
  3843. "hideInGraph": false,
  3844. "refDict": "",
  3845. "attr1": "",
  3846. "attr2": "",
  3847. "attr3": "",
  3848. "attr4": "",
  3849. "attr5": "",
  3850. "attr6": "",
  3851. "attr7": "",
  3852. "attr8": "",
  3853. "attr9": "",
  3854. "id": "7E953CFE-3A5F-4E83-B9F0-79914766D827",
  3855. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3856. "extProps": {},
  3857. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3858. },
  3859. {
  3860. "defKey": "factory",
  3861. "defName": "",
  3862. "comment": "",
  3863. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3864. "type": "",
  3865. "len": "",
  3866. "scale": "",
  3867. "primaryKey": false,
  3868. "notNull": false,
  3869. "autoIncrement": false,
  3870. "defaultValue": "",
  3871. "hideInGraph": false,
  3872. "refDict": "",
  3873. "attr1": "",
  3874. "attr2": "",
  3875. "attr3": "",
  3876. "attr4": "",
  3877. "attr5": "",
  3878. "attr6": "",
  3879. "attr7": "",
  3880. "attr8": "",
  3881. "attr9": "",
  3882. "id": "531CCF0B-0723-485D-B0BD-EE75AABA552D",
  3883. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3884. "extProps": {},
  3885. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3886. },
  3887. {
  3888. "defKey": "material_number",
  3889. "defName": "",
  3890. "comment": "",
  3891. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3892. "type": "",
  3893. "len": "",
  3894. "scale": "",
  3895. "primaryKey": false,
  3896. "notNull": false,
  3897. "autoIncrement": false,
  3898. "defaultValue": "",
  3899. "hideInGraph": false,
  3900. "refDict": "",
  3901. "attr1": "",
  3902. "attr2": "",
  3903. "attr3": "",
  3904. "attr4": "",
  3905. "attr5": "",
  3906. "attr6": "",
  3907. "attr7": "",
  3908. "attr8": "",
  3909. "attr9": "",
  3910. "id": "13EC0E8D-4C11-499A-8185-8CAC56C318E3",
  3911. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3912. "extProps": {},
  3913. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3914. },
  3915. {
  3916. "defKey": "mnvalue",
  3917. "defName": "",
  3918. "comment": "",
  3919. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3920. "type": "",
  3921. "len": "",
  3922. "scale": "",
  3923. "primaryKey": false,
  3924. "notNull": false,
  3925. "autoIncrement": false,
  3926. "defaultValue": "",
  3927. "hideInGraph": false,
  3928. "refDict": "",
  3929. "attr1": "",
  3930. "attr2": "",
  3931. "attr3": "",
  3932. "attr4": "",
  3933. "attr5": "",
  3934. "attr6": "",
  3935. "attr7": "",
  3936. "attr8": "",
  3937. "attr9": "",
  3938. "id": "BF6CF3EE-81FD-4F7C-A801-BC17C44904F4",
  3939. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3940. "extProps": {},
  3941. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3942. },
  3943. {
  3944. "defKey": "ptname",
  3945. "defName": "",
  3946. "comment": "",
  3947. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3948. "type": "",
  3949. "len": "",
  3950. "scale": "",
  3951. "primaryKey": false,
  3952. "notNull": false,
  3953. "autoIncrement": false,
  3954. "defaultValue": "",
  3955. "hideInGraph": false,
  3956. "refDict": "",
  3957. "attr1": "",
  3958. "attr2": "",
  3959. "attr3": "",
  3960. "attr4": "",
  3961. "attr5": "",
  3962. "attr6": "",
  3963. "attr7": "",
  3964. "attr8": "",
  3965. "attr9": "",
  3966. "id": "754E892C-06A1-4074-B9DD-1634AD3B29D2",
  3967. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3968. "extProps": {},
  3969. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3970. },
  3971. {
  3972. "defKey": "snvalue",
  3973. "defName": "",
  3974. "comment": "",
  3975. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  3976. "type": "",
  3977. "len": "",
  3978. "scale": "",
  3979. "primaryKey": false,
  3980. "notNull": false,
  3981. "autoIncrement": false,
  3982. "defaultValue": "",
  3983. "hideInGraph": false,
  3984. "refDict": "",
  3985. "attr1": "",
  3986. "attr2": "",
  3987. "attr3": "",
  3988. "attr4": "",
  3989. "attr5": "",
  3990. "attr6": "",
  3991. "attr7": "",
  3992. "attr8": "",
  3993. "attr9": "",
  3994. "id": "6CA5ED47-41A0-4A5D-A4F1-B6895C7BC3E6",
  3995. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  3996. "extProps": {},
  3997. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  3998. },
  3999. {
  4000. "defKey": "resb_bdmng",
  4001. "defName": "",
  4002. "comment": "",
  4003. "domain": "",
  4004. "type": "DOUBLE",
  4005. "len": 255,
  4006. "scale": "",
  4007. "primaryKey": false,
  4008. "notNull": false,
  4009. "autoIncrement": false,
  4010. "defaultValue": "",
  4011. "hideInGraph": false,
  4012. "refDict": "",
  4013. "attr1": "",
  4014. "attr2": "",
  4015. "attr3": "",
  4016. "attr4": "",
  4017. "attr5": "",
  4018. "attr6": "",
  4019. "attr7": "",
  4020. "attr8": "",
  4021. "attr9": "",
  4022. "id": "B18DD194-6A50-4AF1-B3E6-C859C0889653",
  4023. "baseType": "",
  4024. "extProps": {},
  4025. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4026. },
  4027. {
  4028. "defKey": "prps_pspnr",
  4029. "defName": "",
  4030. "comment": "",
  4031. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4032. "type": "",
  4033. "len": "",
  4034. "scale": "",
  4035. "primaryKey": false,
  4036. "notNull": false,
  4037. "autoIncrement": false,
  4038. "defaultValue": "",
  4039. "hideInGraph": false,
  4040. "refDict": "",
  4041. "attr1": "",
  4042. "attr2": "",
  4043. "attr3": "",
  4044. "attr4": "",
  4045. "attr5": "",
  4046. "attr6": "",
  4047. "attr7": "",
  4048. "attr8": "",
  4049. "attr9": "",
  4050. "id": "81113555-896B-4020-8355-869AF729C071",
  4051. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4052. "extProps": {},
  4053. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4054. },
  4055. {
  4056. "defKey": "product_name",
  4057. "defName": "",
  4058. "comment": "",
  4059. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4060. "type": "",
  4061. "len": "",
  4062. "scale": "",
  4063. "primaryKey": false,
  4064. "notNull": false,
  4065. "autoIncrement": false,
  4066. "defaultValue": "",
  4067. "hideInGraph": false,
  4068. "refDict": "",
  4069. "attr1": "",
  4070. "attr2": "",
  4071. "attr3": "",
  4072. "attr4": "",
  4073. "attr5": "",
  4074. "attr6": "",
  4075. "attr7": "",
  4076. "attr8": "",
  4077. "attr9": "",
  4078. "id": "8E58B44F-C0A9-43EA-B506-725768AB1CAB",
  4079. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4080. "extProps": {},
  4081. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4082. },
  4083. {
  4084. "defKey": "graph_number",
  4085. "defName": "",
  4086. "comment": "",
  4087. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4088. "type": "",
  4089. "len": "",
  4090. "scale": "",
  4091. "primaryKey": false,
  4092. "notNull": false,
  4093. "autoIncrement": false,
  4094. "defaultValue": "",
  4095. "hideInGraph": false,
  4096. "refDict": "",
  4097. "attr1": "",
  4098. "attr2": "",
  4099. "attr3": "",
  4100. "attr4": "",
  4101. "attr5": "",
  4102. "attr6": "",
  4103. "attr7": "",
  4104. "attr8": "",
  4105. "attr9": "",
  4106. "id": "6092E10E-002C-4FDD-8262-21BA22E58A16",
  4107. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4108. "extProps": {},
  4109. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4110. },
  4111. {
  4112. "defKey": "A_version_number",
  4113. "defName": "",
  4114. "comment": "",
  4115. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4116. "type": "",
  4117. "len": "",
  4118. "scale": "",
  4119. "primaryKey": false,
  4120. "notNull": false,
  4121. "autoIncrement": false,
  4122. "defaultValue": "",
  4123. "hideInGraph": false,
  4124. "refDict": "",
  4125. "attr1": "",
  4126. "attr2": "",
  4127. "attr3": "",
  4128. "attr4": "",
  4129. "attr5": "",
  4130. "attr6": "",
  4131. "attr7": "",
  4132. "attr8": "",
  4133. "attr9": "",
  4134. "id": "71E444DB-7EEB-41E2-968C-31CBA26E425D",
  4135. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4136. "extProps": {},
  4137. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4138. },
  4139. {
  4140. "defKey": "A_material_cost_total",
  4141. "defName": "",
  4142. "comment": "",
  4143. "domain": "",
  4144. "type": "DECIMAL",
  4145. "len": 15,
  4146. "scale": 4,
  4147. "primaryKey": false,
  4148. "notNull": false,
  4149. "autoIncrement": false,
  4150. "defaultValue": "",
  4151. "hideInGraph": false,
  4152. "refDict": "",
  4153. "attr1": "",
  4154. "attr2": "",
  4155. "attr3": "",
  4156. "attr4": "",
  4157. "attr5": "",
  4158. "attr6": "",
  4159. "attr7": "",
  4160. "attr8": "",
  4161. "attr9": "",
  4162. "id": "E0E36FBE-EF12-4576-B11F-027B4CC448B4",
  4163. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4164. "extProps": {},
  4165. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4166. },
  4167. {
  4168. "defKey": "A_material_cost_accumulated_em",
  4169. "defName": "",
  4170. "comment": "",
  4171. "domain": "",
  4172. "type": "DECIMAL",
  4173. "len": 15,
  4174. "scale": 4,
  4175. "primaryKey": false,
  4176. "notNull": false,
  4177. "autoIncrement": false,
  4178. "defaultValue": "",
  4179. "hideInGraph": false,
  4180. "refDict": "",
  4181. "attr1": "",
  4182. "attr2": "",
  4183. "attr3": "",
  4184. "attr4": "",
  4185. "attr5": "",
  4186. "attr6": "",
  4187. "attr7": "",
  4188. "attr8": "",
  4189. "attr9": "",
  4190. "id": "D8D63239-9252-44DF-9A6B-220087D98760",
  4191. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4192. "extProps": {},
  4193. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4194. },
  4195. {
  4196. "defKey": "A_total_standard_cost",
  4197. "defName": "",
  4198. "comment": "",
  4199. "domain": "",
  4200. "type": "DECIMAL",
  4201. "len": 15,
  4202. "scale": 4,
  4203. "primaryKey": false,
  4204. "notNull": false,
  4205. "autoIncrement": false,
  4206. "defaultValue": "",
  4207. "hideInGraph": false,
  4208. "refDict": "",
  4209. "attr1": "",
  4210. "attr2": "",
  4211. "attr3": "",
  4212. "attr4": "",
  4213. "attr5": "",
  4214. "attr6": "",
  4215. "attr7": "",
  4216. "attr8": "",
  4217. "attr9": "",
  4218. "id": "1946D1E3-1944-48AF-9884-2954BB5BA627",
  4219. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4220. "extProps": {},
  4221. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4222. },
  4223. {
  4224. "defKey": "A_labor_cost_total_unit_product_cost",
  4225. "defName": "",
  4226. "comment": "",
  4227. "domain": "",
  4228. "type": "DECIMAL",
  4229. "len": 16,
  4230. "scale": 4,
  4231. "primaryKey": false,
  4232. "notNull": false,
  4233. "autoIncrement": false,
  4234. "defaultValue": "",
  4235. "hideInGraph": false,
  4236. "refDict": "",
  4237. "attr1": "",
  4238. "attr2": "",
  4239. "attr3": "",
  4240. "attr4": "",
  4241. "attr5": "",
  4242. "attr6": "",
  4243. "attr7": "",
  4244. "attr8": "",
  4245. "attr9": "",
  4246. "id": "3EA74F84-2EEF-41AF-AB7B-A18D6AD4576B",
  4247. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4248. "extProps": {},
  4249. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4250. },
  4251. {
  4252. "defKey": "A_material_cost_total_em",
  4253. "defName": "",
  4254. "comment": "",
  4255. "domain": "",
  4256. "type": "DECIMAL",
  4257. "len": 16,
  4258. "scale": 4,
  4259. "primaryKey": false,
  4260. "notNull": false,
  4261. "autoIncrement": false,
  4262. "defaultValue": "",
  4263. "hideInGraph": false,
  4264. "refDict": "",
  4265. "attr1": "",
  4266. "attr2": "",
  4267. "attr3": "",
  4268. "attr4": "",
  4269. "attr5": "",
  4270. "attr6": "",
  4271. "attr7": "",
  4272. "attr8": "",
  4273. "attr9": "",
  4274. "id": "83705511-37D9-4345-A9C4-43F8909C8F81",
  4275. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4276. "extProps": {},
  4277. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4278. },
  4279. {
  4280. "defKey": "A_material_cost_total_edcu",
  4281. "defName": "",
  4282. "comment": "",
  4283. "domain": "",
  4284. "type": "DECIMAL",
  4285. "len": 16,
  4286. "scale": 4,
  4287. "primaryKey": false,
  4288. "notNull": false,
  4289. "autoIncrement": false,
  4290. "defaultValue": "",
  4291. "hideInGraph": false,
  4292. "refDict": "",
  4293. "attr1": "",
  4294. "attr2": "",
  4295. "attr3": "",
  4296. "attr4": "",
  4297. "attr5": "",
  4298. "attr6": "",
  4299. "attr7": "",
  4300. "attr8": "",
  4301. "attr9": "",
  4302. "id": "88EA6551-4EEF-465F-9C2C-5115928C2E5B",
  4303. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4304. "extProps": {},
  4305. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4306. },
  4307. {
  4308. "defKey": "A_total_standard_cost_lie",
  4309. "defName": "",
  4310. "comment": "",
  4311. "domain": "",
  4312. "type": "DOUBLE",
  4313. "len": 22,
  4314. "scale": "",
  4315. "primaryKey": false,
  4316. "notNull": false,
  4317. "autoIncrement": false,
  4318. "defaultValue": "",
  4319. "hideInGraph": false,
  4320. "refDict": "",
  4321. "attr1": "",
  4322. "attr2": "",
  4323. "attr3": "",
  4324. "attr4": "",
  4325. "attr5": "",
  4326. "attr6": "",
  4327. "attr7": "",
  4328. "attr8": "",
  4329. "attr9": "",
  4330. "id": "8A709E17-C9C9-44AE-B494-7E878A810F1E",
  4331. "baseType": "",
  4332. "extProps": {},
  4333. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4334. },
  4335. {
  4336. "defKey": "B_version_number",
  4337. "defName": "",
  4338. "comment": "",
  4339. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4340. "type": "",
  4341. "len": "",
  4342. "scale": "",
  4343. "primaryKey": false,
  4344. "notNull": false,
  4345. "autoIncrement": false,
  4346. "defaultValue": "",
  4347. "hideInGraph": false,
  4348. "refDict": "",
  4349. "attr1": "",
  4350. "attr2": "",
  4351. "attr3": "",
  4352. "attr4": "",
  4353. "attr5": "",
  4354. "attr6": "",
  4355. "attr7": "",
  4356. "attr8": "",
  4357. "attr9": "",
  4358. "id": "4F0E4D8C-1D1C-4743-86E6-E4896006396D",
  4359. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4360. "extProps": {},
  4361. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4362. },
  4363. {
  4364. "defKey": "B_material_cost_total",
  4365. "defName": "",
  4366. "comment": "",
  4367. "domain": "",
  4368. "type": "DECIMAL",
  4369. "len": 15,
  4370. "scale": 4,
  4371. "primaryKey": false,
  4372. "notNull": false,
  4373. "autoIncrement": false,
  4374. "defaultValue": "",
  4375. "hideInGraph": false,
  4376. "refDict": "",
  4377. "attr1": "",
  4378. "attr2": "",
  4379. "attr3": "",
  4380. "attr4": "",
  4381. "attr5": "",
  4382. "attr6": "",
  4383. "attr7": "",
  4384. "attr8": "",
  4385. "attr9": "",
  4386. "id": "D67C50FA-D192-4112-A907-346274D908BC",
  4387. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4388. "extProps": {},
  4389. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4390. },
  4391. {
  4392. "defKey": "B_material_cost_accumulated_em",
  4393. "defName": "",
  4394. "comment": "",
  4395. "domain": "",
  4396. "type": "DECIMAL",
  4397. "len": 15,
  4398. "scale": 4,
  4399. "primaryKey": false,
  4400. "notNull": false,
  4401. "autoIncrement": false,
  4402. "defaultValue": "",
  4403. "hideInGraph": false,
  4404. "refDict": "",
  4405. "attr1": "",
  4406. "attr2": "",
  4407. "attr3": "",
  4408. "attr4": "",
  4409. "attr5": "",
  4410. "attr6": "",
  4411. "attr7": "",
  4412. "attr8": "",
  4413. "attr9": "",
  4414. "id": "1BC655B5-FCC9-44FB-A6EE-654F78584F8D",
  4415. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4416. "extProps": {},
  4417. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4418. },
  4419. {
  4420. "defKey": "B_total_standard_cost",
  4421. "defName": "",
  4422. "comment": "",
  4423. "domain": "",
  4424. "type": "DECIMAL",
  4425. "len": 15,
  4426. "scale": 4,
  4427. "primaryKey": false,
  4428. "notNull": false,
  4429. "autoIncrement": false,
  4430. "defaultValue": "",
  4431. "hideInGraph": false,
  4432. "refDict": "",
  4433. "attr1": "",
  4434. "attr2": "",
  4435. "attr3": "",
  4436. "attr4": "",
  4437. "attr5": "",
  4438. "attr6": "",
  4439. "attr7": "",
  4440. "attr8": "",
  4441. "attr9": "",
  4442. "id": "ADEFB32A-829E-47DD-BF5A-8EFC1DCFA46F",
  4443. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4444. "extProps": {},
  4445. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4446. },
  4447. {
  4448. "defKey": "B_labor_cost_total_unit_product_cost",
  4449. "defName": "",
  4450. "comment": "",
  4451. "domain": "",
  4452. "type": "DECIMAL",
  4453. "len": 16,
  4454. "scale": 4,
  4455. "primaryKey": false,
  4456. "notNull": false,
  4457. "autoIncrement": false,
  4458. "defaultValue": "",
  4459. "hideInGraph": false,
  4460. "refDict": "",
  4461. "attr1": "",
  4462. "attr2": "",
  4463. "attr3": "",
  4464. "attr4": "",
  4465. "attr5": "",
  4466. "attr6": "",
  4467. "attr7": "",
  4468. "attr8": "",
  4469. "attr9": "",
  4470. "id": "16FEA032-1D87-480B-8AFF-F523C3D1E8F0",
  4471. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4472. "extProps": {},
  4473. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4474. },
  4475. {
  4476. "defKey": "B_material_cost_total_em",
  4477. "defName": "",
  4478. "comment": "",
  4479. "domain": "",
  4480. "type": "DECIMAL",
  4481. "len": 16,
  4482. "scale": 4,
  4483. "primaryKey": false,
  4484. "notNull": false,
  4485. "autoIncrement": false,
  4486. "defaultValue": "",
  4487. "hideInGraph": false,
  4488. "refDict": "",
  4489. "attr1": "",
  4490. "attr2": "",
  4491. "attr3": "",
  4492. "attr4": "",
  4493. "attr5": "",
  4494. "attr6": "",
  4495. "attr7": "",
  4496. "attr8": "",
  4497. "attr9": "",
  4498. "id": "1816C315-27F2-4512-9650-AE7765B25FE3",
  4499. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4500. "extProps": {},
  4501. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4502. },
  4503. {
  4504. "defKey": "B_material_cost_total_edcu",
  4505. "defName": "",
  4506. "comment": "",
  4507. "domain": "",
  4508. "type": "DECIMAL",
  4509. "len": 16,
  4510. "scale": 4,
  4511. "primaryKey": false,
  4512. "notNull": false,
  4513. "autoIncrement": false,
  4514. "defaultValue": "",
  4515. "hideInGraph": false,
  4516. "refDict": "",
  4517. "attr1": "",
  4518. "attr2": "",
  4519. "attr3": "",
  4520. "attr4": "",
  4521. "attr5": "",
  4522. "attr6": "",
  4523. "attr7": "",
  4524. "attr8": "",
  4525. "attr9": "",
  4526. "id": "C79DCDF4-37BD-4D46-A975-21984C945D77",
  4527. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4528. "extProps": {},
  4529. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4530. },
  4531. {
  4532. "defKey": "B_total_standard_cost_lie",
  4533. "defName": "",
  4534. "comment": "",
  4535. "domain": "",
  4536. "type": "DOUBLE",
  4537. "len": 22,
  4538. "scale": "",
  4539. "primaryKey": false,
  4540. "notNull": false,
  4541. "autoIncrement": false,
  4542. "defaultValue": "",
  4543. "hideInGraph": false,
  4544. "refDict": "",
  4545. "attr1": "",
  4546. "attr2": "",
  4547. "attr3": "",
  4548. "attr4": "",
  4549. "attr5": "",
  4550. "attr6": "",
  4551. "attr7": "",
  4552. "attr8": "",
  4553. "attr9": "",
  4554. "id": "432611A9-249D-49CE-84E3-6E717444E743",
  4555. "baseType": "",
  4556. "extProps": {},
  4557. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4558. },
  4559. {
  4560. "defKey": "C_version_number",
  4561. "defName": "",
  4562. "comment": "",
  4563. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4564. "type": "",
  4565. "len": "",
  4566. "scale": "",
  4567. "primaryKey": false,
  4568. "notNull": false,
  4569. "autoIncrement": false,
  4570. "defaultValue": "",
  4571. "hideInGraph": false,
  4572. "refDict": "",
  4573. "attr1": "",
  4574. "attr2": "",
  4575. "attr3": "",
  4576. "attr4": "",
  4577. "attr5": "",
  4578. "attr6": "",
  4579. "attr7": "",
  4580. "attr8": "",
  4581. "attr9": "",
  4582. "id": "A05AE17F-2A86-426B-97A3-BCE3F87FC1E0",
  4583. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4584. "extProps": {},
  4585. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4586. },
  4587. {
  4588. "defKey": "C_material_cost_total",
  4589. "defName": "",
  4590. "comment": "",
  4591. "domain": "",
  4592. "type": "DECIMAL",
  4593. "len": 15,
  4594. "scale": 4,
  4595. "primaryKey": false,
  4596. "notNull": false,
  4597. "autoIncrement": false,
  4598. "defaultValue": "",
  4599. "hideInGraph": false,
  4600. "refDict": "",
  4601. "attr1": "",
  4602. "attr2": "",
  4603. "attr3": "",
  4604. "attr4": "",
  4605. "attr5": "",
  4606. "attr6": "",
  4607. "attr7": "",
  4608. "attr8": "",
  4609. "attr9": "",
  4610. "id": "44753482-08A5-4647-8231-DD694135DF19",
  4611. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4612. "extProps": {},
  4613. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4614. },
  4615. {
  4616. "defKey": "C_material_cost_accumulated_em",
  4617. "defName": "",
  4618. "comment": "",
  4619. "domain": "",
  4620. "type": "DECIMAL",
  4621. "len": 15,
  4622. "scale": 4,
  4623. "primaryKey": false,
  4624. "notNull": false,
  4625. "autoIncrement": false,
  4626. "defaultValue": "",
  4627. "hideInGraph": false,
  4628. "refDict": "",
  4629. "attr1": "",
  4630. "attr2": "",
  4631. "attr3": "",
  4632. "attr4": "",
  4633. "attr5": "",
  4634. "attr6": "",
  4635. "attr7": "",
  4636. "attr8": "",
  4637. "attr9": "",
  4638. "id": "5FF9B3F7-1B73-400A-8409-B2B69EB4B168",
  4639. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4640. "extProps": {},
  4641. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4642. },
  4643. {
  4644. "defKey": "C_total_standard_cost",
  4645. "defName": "",
  4646. "comment": "",
  4647. "domain": "",
  4648. "type": "DECIMAL",
  4649. "len": 15,
  4650. "scale": 4,
  4651. "primaryKey": false,
  4652. "notNull": false,
  4653. "autoIncrement": false,
  4654. "defaultValue": "",
  4655. "hideInGraph": false,
  4656. "refDict": "",
  4657. "attr1": "",
  4658. "attr2": "",
  4659. "attr3": "",
  4660. "attr4": "",
  4661. "attr5": "",
  4662. "attr6": "",
  4663. "attr7": "",
  4664. "attr8": "",
  4665. "attr9": "",
  4666. "id": "C00999A5-FA00-48E7-AC49-438BE151BD6F",
  4667. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4668. "extProps": {},
  4669. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4670. },
  4671. {
  4672. "defKey": "C_labor_cost_total_unit_product_cost",
  4673. "defName": "",
  4674. "comment": "",
  4675. "domain": "",
  4676. "type": "DECIMAL",
  4677. "len": 16,
  4678. "scale": 4,
  4679. "primaryKey": false,
  4680. "notNull": false,
  4681. "autoIncrement": false,
  4682. "defaultValue": "",
  4683. "hideInGraph": false,
  4684. "refDict": "",
  4685. "attr1": "",
  4686. "attr2": "",
  4687. "attr3": "",
  4688. "attr4": "",
  4689. "attr5": "",
  4690. "attr6": "",
  4691. "attr7": "",
  4692. "attr8": "",
  4693. "attr9": "",
  4694. "id": "B0C0D1FF-F4C5-4B42-AE0F-9A8C6F5D0884",
  4695. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4696. "extProps": {},
  4697. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4698. },
  4699. {
  4700. "defKey": "C_material_cost_total_em",
  4701. "defName": "",
  4702. "comment": "",
  4703. "domain": "",
  4704. "type": "DECIMAL",
  4705. "len": 16,
  4706. "scale": 4,
  4707. "primaryKey": false,
  4708. "notNull": false,
  4709. "autoIncrement": false,
  4710. "defaultValue": "",
  4711. "hideInGraph": false,
  4712. "refDict": "",
  4713. "attr1": "",
  4714. "attr2": "",
  4715. "attr3": "",
  4716. "attr4": "",
  4717. "attr5": "",
  4718. "attr6": "",
  4719. "attr7": "",
  4720. "attr8": "",
  4721. "attr9": "",
  4722. "id": "EE7A6FFC-2382-4FBA-9542-93F2AD2C22C9",
  4723. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4724. "extProps": {},
  4725. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4726. },
  4727. {
  4728. "defKey": "C_material_cost_total_edcu",
  4729. "defName": "",
  4730. "comment": "",
  4731. "domain": "",
  4732. "type": "DECIMAL",
  4733. "len": 16,
  4734. "scale": 4,
  4735. "primaryKey": false,
  4736. "notNull": false,
  4737. "autoIncrement": false,
  4738. "defaultValue": "",
  4739. "hideInGraph": false,
  4740. "refDict": "",
  4741. "attr1": "",
  4742. "attr2": "",
  4743. "attr3": "",
  4744. "attr4": "",
  4745. "attr5": "",
  4746. "attr6": "",
  4747. "attr7": "",
  4748. "attr8": "",
  4749. "attr9": "",
  4750. "id": "1B62BA2D-CCEE-4683-900B-988689AF4283",
  4751. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  4752. "extProps": {},
  4753. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4754. },
  4755. {
  4756. "defKey": "C_total_standard_cost_lie",
  4757. "defName": "",
  4758. "comment": "",
  4759. "domain": "",
  4760. "type": "DOUBLE",
  4761. "len": 22,
  4762. "scale": "",
  4763. "primaryKey": false,
  4764. "notNull": false,
  4765. "autoIncrement": false,
  4766. "defaultValue": "",
  4767. "hideInGraph": false,
  4768. "refDict": "",
  4769. "attr1": "",
  4770. "attr2": "",
  4771. "attr3": "",
  4772. "attr4": "",
  4773. "attr5": "",
  4774. "attr6": "",
  4775. "attr7": "",
  4776. "attr8": "",
  4777. "attr9": "",
  4778. "id": "CDAD5BF3-CCA3-40A5-9446-8007FA4D5BF2",
  4779. "baseType": "",
  4780. "extProps": {},
  4781. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4782. },
  4783. {
  4784. "defKey": "crm_proj_scmingxi_num",
  4785. "defName": "",
  4786. "comment": "",
  4787. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4788. "type": "",
  4789. "len": "",
  4790. "scale": "",
  4791. "primaryKey": false,
  4792. "notNull": false,
  4793. "autoIncrement": false,
  4794. "defaultValue": "",
  4795. "hideInGraph": false,
  4796. "refDict": "",
  4797. "attr1": "",
  4798. "attr2": "",
  4799. "attr3": "",
  4800. "attr4": "",
  4801. "attr5": "",
  4802. "attr6": "",
  4803. "attr7": "",
  4804. "attr8": "",
  4805. "attr9": "",
  4806. "id": "DA9DAF78-F236-4245-A1E0-587D1EEE3D70",
  4807. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4808. "extProps": {},
  4809. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4810. },
  4811. {
  4812. "defKey": "crm_proj_zz3_stitle",
  4813. "defName": "",
  4814. "comment": "",
  4815. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4816. "type": "",
  4817. "len": "",
  4818. "scale": "",
  4819. "primaryKey": false,
  4820. "notNull": false,
  4821. "autoIncrement": false,
  4822. "defaultValue": "",
  4823. "hideInGraph": false,
  4824. "refDict": "",
  4825. "attr1": "",
  4826. "attr2": "",
  4827. "attr3": "",
  4828. "attr4": "",
  4829. "attr5": "",
  4830. "attr6": "",
  4831. "attr7": "",
  4832. "attr8": "",
  4833. "attr9": "",
  4834. "id": "A3F98CDA-B948-4C04-B522-8544053F7F5C",
  4835. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4836. "extProps": {},
  4837. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4838. },
  4839. {
  4840. "defKey": "crm_proj_Shichangyuce_jiaoriqi",
  4841. "defName": "",
  4842. "comment": "",
  4843. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4844. "type": "",
  4845. "len": "",
  4846. "scale": "",
  4847. "primaryKey": false,
  4848. "notNull": false,
  4849. "autoIncrement": false,
  4850. "defaultValue": "",
  4851. "hideInGraph": false,
  4852. "refDict": "",
  4853. "attr1": "",
  4854. "attr2": "",
  4855. "attr3": "",
  4856. "attr4": "",
  4857. "attr5": "",
  4858. "attr6": "",
  4859. "attr7": "",
  4860. "attr8": "",
  4861. "attr9": "",
  4862. "id": "5229E8E1-07A7-4FB3-BAA8-CB610541D7EA",
  4863. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4864. "extProps": {},
  4865. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4866. },
  4867. {
  4868. "defKey": "sap_sale_VBPA_PERNR",
  4869. "defName": "",
  4870. "comment": "",
  4871. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4872. "type": "",
  4873. "len": "",
  4874. "scale": "",
  4875. "primaryKey": false,
  4876. "notNull": false,
  4877. "autoIncrement": false,
  4878. "defaultValue": "",
  4879. "hideInGraph": false,
  4880. "refDict": "",
  4881. "attr1": "",
  4882. "attr2": "",
  4883. "attr3": "",
  4884. "attr4": "",
  4885. "attr5": "",
  4886. "attr6": "",
  4887. "attr7": "",
  4888. "attr8": "",
  4889. "attr9": "",
  4890. "id": "4EE717A5-1A2D-4D90-9BD3-96AA4D299B34",
  4891. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4892. "extProps": {},
  4893. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4894. },
  4895. {
  4896. "defKey": "crm_proj_org_employee_sname",
  4897. "defName": "",
  4898. "comment": "",
  4899. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4900. "type": "",
  4901. "len": "",
  4902. "scale": "",
  4903. "primaryKey": false,
  4904. "notNull": false,
  4905. "autoIncrement": false,
  4906. "defaultValue": "",
  4907. "hideInGraph": false,
  4908. "refDict": "",
  4909. "attr1": "",
  4910. "attr2": "",
  4911. "attr3": "",
  4912. "attr4": "",
  4913. "attr5": "",
  4914. "attr6": "",
  4915. "attr7": "",
  4916. "attr8": "",
  4917. "attr9": "",
  4918. "id": "077F3240-3952-4EC8-9EE6-A53DB8FE38E7",
  4919. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4920. "extProps": {},
  4921. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4922. },
  4923. {
  4924. "defKey": "sap_log_shipped_qty",
  4925. "defName": "",
  4926. "comment": "",
  4927. "domain": "",
  4928. "type": "DOUBLE",
  4929. "len": 22,
  4930. "scale": "",
  4931. "primaryKey": false,
  4932. "notNull": false,
  4933. "autoIncrement": false,
  4934. "defaultValue": "",
  4935. "hideInGraph": false,
  4936. "refDict": "",
  4937. "attr1": "",
  4938. "attr2": "",
  4939. "attr3": "",
  4940. "attr4": "",
  4941. "attr5": "",
  4942. "attr6": "",
  4943. "attr7": "",
  4944. "attr8": "",
  4945. "attr9": "",
  4946. "id": "52A0BC33-E49F-4818-ACC1-E84B9CF5A596",
  4947. "baseType": "",
  4948. "extProps": {},
  4949. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4950. },
  4951. {
  4952. "defKey": "crm_proj_account_sname",
  4953. "defName": "",
  4954. "comment": "",
  4955. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4956. "type": "",
  4957. "len": "",
  4958. "scale": "",
  4959. "primaryKey": false,
  4960. "notNull": false,
  4961. "autoIncrement": false,
  4962. "defaultValue": "",
  4963. "hideInGraph": false,
  4964. "refDict": "",
  4965. "attr1": "",
  4966. "attr2": "",
  4967. "attr3": "",
  4968. "attr4": "",
  4969. "attr5": "",
  4970. "attr6": "",
  4971. "attr7": "",
  4972. "attr8": "",
  4973. "attr9": "",
  4974. "id": "BE132171-DAFB-4683-997C-DB7405873920",
  4975. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  4976. "extProps": {},
  4977. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  4978. },
  4979. {
  4980. "defKey": "sap_log_ship_to_name",
  4981. "defName": "",
  4982. "comment": "",
  4983. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  4984. "type": "",
  4985. "len": "",
  4986. "scale": "",
  4987. "primaryKey": false,
  4988. "notNull": false,
  4989. "autoIncrement": false,
  4990. "defaultValue": "",
  4991. "hideInGraph": false,
  4992. "refDict": "",
  4993. "attr1": "",
  4994. "attr2": "",
  4995. "attr3": "",
  4996. "attr4": "",
  4997. "attr5": "",
  4998. "attr6": "",
  4999. "attr7": "",
  5000. "attr8": "",
  5001. "attr9": "",
  5002. "id": "F33F68D4-9402-4A96-BE2D-E5C55474E9C2",
  5003. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5004. "extProps": {},
  5005. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5006. },
  5007. {
  5008. "defKey": "id",
  5009. "defName": "",
  5010. "comment": "",
  5011. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  5012. "type": "",
  5013. "len": "",
  5014. "scale": "",
  5015. "primaryKey": true,
  5016. "notNull": true,
  5017. "autoIncrement": true,
  5018. "defaultValue": "",
  5019. "hideInGraph": false,
  5020. "refDict": "",
  5021. "attr1": "",
  5022. "attr2": "",
  5023. "attr3": "",
  5024. "attr4": "",
  5025. "attr5": "",
  5026. "attr6": "",
  5027. "attr7": "",
  5028. "attr8": "",
  5029. "attr9": "",
  5030. "id": "12E787AD-1EF6-4547-80C1-9D626D6CEE8E",
  5031. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  5032. "extProps": {},
  5033. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5034. },
  5035. {
  5036. "defKey": "qiname",
  5037. "defName": "",
  5038. "comment": "",
  5039. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5040. "type": "",
  5041. "len": "",
  5042. "scale": "",
  5043. "primaryKey": false,
  5044. "notNull": false,
  5045. "autoIncrement": false,
  5046. "defaultValue": "",
  5047. "hideInGraph": false,
  5048. "refDict": "",
  5049. "attr1": "",
  5050. "attr2": "",
  5051. "attr3": "",
  5052. "attr4": "",
  5053. "attr5": "",
  5054. "attr6": "",
  5055. "attr7": "",
  5056. "attr8": "",
  5057. "attr9": "",
  5058. "id": "384DEDA1-EF05-4B5C-831B-7A8F12854CB9",
  5059. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5060. "extProps": {},
  5061. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5062. },
  5063. {
  5064. "defKey": "proj_zzls",
  5065. "defName": "",
  5066. "comment": "",
  5067. "domain": "",
  5068. "type": "VARCHAR",
  5069. "len": 50,
  5070. "scale": "",
  5071. "primaryKey": false,
  5072. "notNull": false,
  5073. "autoIncrement": false,
  5074. "defaultValue": "",
  5075. "hideInGraph": false,
  5076. "refDict": "",
  5077. "attr1": "",
  5078. "attr2": "",
  5079. "attr3": "",
  5080. "attr4": "",
  5081. "attr5": "",
  5082. "attr6": "",
  5083. "attr7": "",
  5084. "attr8": "",
  5085. "attr9": "",
  5086. "id": "FBCAA72E-FAB0-4198-A044-007887E9AFC8",
  5087. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5088. "extProps": {},
  5089. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5090. },
  5091. {
  5092. "defKey": "prps_post1",
  5093. "defName": "",
  5094. "comment": "",
  5095. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5096. "type": "",
  5097. "len": "",
  5098. "scale": "",
  5099. "primaryKey": false,
  5100. "notNull": false,
  5101. "autoIncrement": false,
  5102. "defaultValue": "",
  5103. "hideInGraph": false,
  5104. "refDict": "",
  5105. "attr1": "",
  5106. "attr2": "",
  5107. "attr3": "",
  5108. "attr4": "",
  5109. "attr5": "",
  5110. "attr6": "",
  5111. "attr7": "",
  5112. "attr8": "",
  5113. "attr9": "",
  5114. "id": "CB8FE5D9-4C2A-4CBC-BAE2-3A7AFBC3B5D0",
  5115. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5116. "extProps": {},
  5117. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5118. },
  5119. {
  5120. "defKey": "proj_verna",
  5121. "defName": "",
  5122. "comment": "",
  5123. "domain": "",
  5124. "type": "VARCHAR",
  5125. "len": 50,
  5126. "scale": "",
  5127. "primaryKey": false,
  5128. "notNull": false,
  5129. "autoIncrement": false,
  5130. "defaultValue": "",
  5131. "hideInGraph": false,
  5132. "refDict": "",
  5133. "attr1": "",
  5134. "attr2": "",
  5135. "attr3": "",
  5136. "attr4": "",
  5137. "attr5": "",
  5138. "attr6": "",
  5139. "attr7": "",
  5140. "attr8": "",
  5141. "attr9": "",
  5142. "id": "3D29AE55-DF54-4835-865A-019302F16503",
  5143. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5144. "extProps": {},
  5145. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5146. },
  5147. {
  5148. "defKey": "A_total_lie",
  5149. "defName": "",
  5150. "comment": "",
  5151. "domain": "",
  5152. "type": "DECIMAL",
  5153. "len": 16,
  5154. "scale": 4,
  5155. "primaryKey": false,
  5156. "notNull": false,
  5157. "autoIncrement": false,
  5158. "defaultValue": "",
  5159. "hideInGraph": false,
  5160. "refDict": "",
  5161. "attr1": "",
  5162. "attr2": "",
  5163. "attr3": "",
  5164. "attr4": "",
  5165. "attr5": "",
  5166. "attr6": "",
  5167. "attr7": "",
  5168. "attr8": "",
  5169. "attr9": "",
  5170. "id": "1A857BF2-0C7A-43C7-8BF7-08A16F177CE0",
  5171. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5172. "extProps": {},
  5173. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5174. },
  5175. {
  5176. "defKey": "A_unit_cost",
  5177. "defName": "",
  5178. "comment": "",
  5179. "domain": "",
  5180. "type": "DECIMAL",
  5181. "len": 16,
  5182. "scale": 4,
  5183. "primaryKey": false,
  5184. "notNull": false,
  5185. "autoIncrement": false,
  5186. "defaultValue": "",
  5187. "hideInGraph": false,
  5188. "refDict": "",
  5189. "attr1": "",
  5190. "attr2": "",
  5191. "attr3": "",
  5192. "attr4": "",
  5193. "attr5": "",
  5194. "attr6": "",
  5195. "attr7": "",
  5196. "attr8": "",
  5197. "attr9": "",
  5198. "id": "6A6FA6DE-CC5F-4C9E-8193-C9067D4A5452",
  5199. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5200. "extProps": {},
  5201. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5202. },
  5203. {
  5204. "defKey": "B_total_lie",
  5205. "defName": "",
  5206. "comment": "",
  5207. "domain": "",
  5208. "type": "DECIMAL",
  5209. "len": 16,
  5210. "scale": 4,
  5211. "primaryKey": false,
  5212. "notNull": false,
  5213. "autoIncrement": false,
  5214. "defaultValue": "",
  5215. "hideInGraph": false,
  5216. "refDict": "",
  5217. "attr1": "",
  5218. "attr2": "",
  5219. "attr3": "",
  5220. "attr4": "",
  5221. "attr5": "",
  5222. "attr6": "",
  5223. "attr7": "",
  5224. "attr8": "",
  5225. "attr9": "",
  5226. "id": "B5A8DDB8-796D-4C78-B71F-5D0376D85ACC",
  5227. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5228. "extProps": {},
  5229. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5230. },
  5231. {
  5232. "defKey": "B_unit_cost",
  5233. "defName": "",
  5234. "comment": "",
  5235. "domain": "",
  5236. "type": "DECIMAL",
  5237. "len": 16,
  5238. "scale": 4,
  5239. "primaryKey": false,
  5240. "notNull": false,
  5241. "autoIncrement": false,
  5242. "defaultValue": "",
  5243. "hideInGraph": false,
  5244. "refDict": "",
  5245. "attr1": "",
  5246. "attr2": "",
  5247. "attr3": "",
  5248. "attr4": "",
  5249. "attr5": "",
  5250. "attr6": "",
  5251. "attr7": "",
  5252. "attr8": "",
  5253. "attr9": "",
  5254. "id": "19463F68-54C7-44AB-A242-AE4372E99719",
  5255. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5256. "extProps": {},
  5257. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5258. },
  5259. {
  5260. "defKey": "C_total_lie",
  5261. "defName": "",
  5262. "comment": "",
  5263. "domain": "",
  5264. "type": "DECIMAL",
  5265. "len": 16,
  5266. "scale": 4,
  5267. "primaryKey": false,
  5268. "notNull": false,
  5269. "autoIncrement": false,
  5270. "defaultValue": "",
  5271. "hideInGraph": false,
  5272. "refDict": "",
  5273. "attr1": "",
  5274. "attr2": "",
  5275. "attr3": "",
  5276. "attr4": "",
  5277. "attr5": "",
  5278. "attr6": "",
  5279. "attr7": "",
  5280. "attr8": "",
  5281. "attr9": "",
  5282. "id": "3E9F8AE9-F6C4-4DF1-9D2B-79691B6D61F9",
  5283. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5284. "extProps": {},
  5285. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5286. },
  5287. {
  5288. "defKey": "C_unit_cost",
  5289. "defName": "",
  5290. "comment": "",
  5291. "domain": "",
  5292. "type": "DECIMAL",
  5293. "len": 16,
  5294. "scale": 4,
  5295. "primaryKey": false,
  5296. "notNull": false,
  5297. "autoIncrement": false,
  5298. "defaultValue": "",
  5299. "hideInGraph": false,
  5300. "refDict": "",
  5301. "attr1": "",
  5302. "attr2": "",
  5303. "attr3": "",
  5304. "attr4": "",
  5305. "attr5": "",
  5306. "attr6": "",
  5307. "attr7": "",
  5308. "attr8": "",
  5309. "attr9": "",
  5310. "id": "158FD5D2-0527-4382-9CBA-9778D48E48B2",
  5311. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  5312. "extProps": {},
  5313. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5314. }
  5315. ],
  5316. "indexes": [
  5317. {
  5318. "defKey": "code",
  5319. "unique": false,
  5320. "defName": null,
  5321. "comment": "",
  5322. "fields": [
  5323. {
  5324. "ascOrDesc": "A",
  5325. "id": "8E038BB9-DFAB-4043-82A3-55BC2A43DFD9",
  5326. "fieldDefKey": "E1714B7E-289C-45CC-9286-58482060DD1A"
  5327. }
  5328. ],
  5329. "id": "5C7355F1-FFE0-4FF6-B6FD-7A8D262DBDD5"
  5330. }
  5331. ],
  5332. "sysProps": {
  5333. "nameTemplate": "{defKey}[{defName}]"
  5334. },
  5335. "headers": [
  5336. {
  5337. "freeze": false,
  5338. "refKey": "hideInGraph",
  5339. "hideInGraph": true
  5340. },
  5341. {
  5342. "freeze": true,
  5343. "refKey": "defKey",
  5344. "hideInGraph": false
  5345. },
  5346. {
  5347. "freeze": true,
  5348. "refKey": "defName",
  5349. "hideInGraph": false
  5350. },
  5351. {
  5352. "freeze": false,
  5353. "refKey": "primaryKey",
  5354. "hideInGraph": false
  5355. },
  5356. {
  5357. "freeze": false,
  5358. "refKey": "notNull",
  5359. "hideInGraph": true
  5360. },
  5361. {
  5362. "freeze": false,
  5363. "refKey": "autoIncrement",
  5364. "hideInGraph": true
  5365. },
  5366. {
  5367. "freeze": false,
  5368. "refKey": "domain",
  5369. "hideInGraph": true
  5370. },
  5371. {
  5372. "freeze": false,
  5373. "refKey": "type",
  5374. "hideInGraph": false
  5375. },
  5376. {
  5377. "freeze": false,
  5378. "refKey": "len",
  5379. "hideInGraph": false
  5380. },
  5381. {
  5382. "freeze": false,
  5383. "refKey": "scale",
  5384. "hideInGraph": false
  5385. },
  5386. {
  5387. "freeze": false,
  5388. "refKey": "comment",
  5389. "hideInGraph": true
  5390. },
  5391. {
  5392. "freeze": false,
  5393. "refKey": "refDict",
  5394. "hideInGraph": true
  5395. },
  5396. {
  5397. "freeze": false,
  5398. "refKey": "defaultValue",
  5399. "hideInGraph": true
  5400. },
  5401. {
  5402. "freeze": false,
  5403. "refKey": "isStandard",
  5404. "hideInGraph": false
  5405. },
  5406. {
  5407. "freeze": false,
  5408. "refKey": "uiHint",
  5409. "hideInGraph": true
  5410. },
  5411. {
  5412. "freeze": false,
  5413. "refKey": "extProps",
  5414. "hideInGraph": true
  5415. }
  5416. ],
  5417. "correlations": []
  5418. },
  5419. {
  5420. "id": "BC5A6F14-212E-45C2-9D41-DC1F439AC619",
  5421. "defKey": "mdm_project",
  5422. "defName": "MDM项目",
  5423. "comment": "",
  5424. "properties": {},
  5425. "fields": [
  5426. {
  5427. "defKey": "code",
  5428. "defName": "",
  5429. "comment": "",
  5430. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5431. "type": "",
  5432. "len": "",
  5433. "scale": "",
  5434. "primaryKey": true,
  5435. "notNull": true,
  5436. "autoIncrement": false,
  5437. "defaultValue": "",
  5438. "hideInGraph": false,
  5439. "refDict": "",
  5440. "attr1": "",
  5441. "attr2": "",
  5442. "attr3": "",
  5443. "attr4": "",
  5444. "attr5": "",
  5445. "attr6": "",
  5446. "attr7": "",
  5447. "attr8": "",
  5448. "attr9": "",
  5449. "id": "27CF4B08-8915-4A63-AFAD-2E8731206725",
  5450. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5451. "extProps": {},
  5452. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5453. },
  5454. {
  5455. "defKey": "ptvalue",
  5456. "defName": "",
  5457. "comment": "",
  5458. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5459. "type": "",
  5460. "len": "",
  5461. "scale": "",
  5462. "primaryKey": false,
  5463. "notNull": false,
  5464. "autoIncrement": false,
  5465. "defaultValue": "",
  5466. "hideInGraph": false,
  5467. "refDict": "",
  5468. "attr1": "",
  5469. "attr2": "",
  5470. "attr3": "",
  5471. "attr4": "",
  5472. "attr5": "",
  5473. "attr6": "",
  5474. "attr7": "",
  5475. "attr8": "",
  5476. "attr9": "",
  5477. "id": "AFD8FC89-6141-4341-A284-1EB7FD555F94",
  5478. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5479. "extProps": {},
  5480. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5481. },
  5482. {
  5483. "defKey": "ptname",
  5484. "defName": "",
  5485. "comment": "",
  5486. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5487. "type": "",
  5488. "len": "",
  5489. "scale": "",
  5490. "primaryKey": false,
  5491. "notNull": false,
  5492. "autoIncrement": false,
  5493. "defaultValue": "",
  5494. "hideInGraph": false,
  5495. "refDict": "",
  5496. "attr1": "",
  5497. "attr2": "",
  5498. "attr3": "",
  5499. "attr4": "",
  5500. "attr5": "",
  5501. "attr6": "",
  5502. "attr7": "",
  5503. "attr8": "",
  5504. "attr9": "",
  5505. "id": "B5987D38-9752-444D-95DC-27F97EA91D9F",
  5506. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5507. "extProps": {},
  5508. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5509. },
  5510. {
  5511. "defKey": "mpvalue",
  5512. "defName": "",
  5513. "comment": "",
  5514. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5515. "type": "",
  5516. "len": "",
  5517. "scale": "",
  5518. "primaryKey": false,
  5519. "notNull": false,
  5520. "autoIncrement": false,
  5521. "defaultValue": "",
  5522. "hideInGraph": false,
  5523. "refDict": "",
  5524. "attr1": "",
  5525. "attr2": "",
  5526. "attr3": "",
  5527. "attr4": "",
  5528. "attr5": "",
  5529. "attr6": "",
  5530. "attr7": "",
  5531. "attr8": "",
  5532. "attr9": "",
  5533. "id": "9C8CDEF3-2896-40BC-A143-BF034A8C5D8A",
  5534. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5535. "extProps": {},
  5536. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5537. },
  5538. {
  5539. "defKey": "mnvalue",
  5540. "defName": "",
  5541. "comment": "",
  5542. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5543. "type": "",
  5544. "len": "",
  5545. "scale": "",
  5546. "primaryKey": false,
  5547. "notNull": false,
  5548. "autoIncrement": false,
  5549. "defaultValue": "",
  5550. "hideInGraph": false,
  5551. "refDict": "",
  5552. "attr1": "",
  5553. "attr2": "",
  5554. "attr3": "",
  5555. "attr4": "",
  5556. "attr5": "",
  5557. "attr6": "",
  5558. "attr7": "",
  5559. "attr8": "",
  5560. "attr9": "",
  5561. "id": "9D356679-CFFB-4EEF-A077-0CCBDB361836",
  5562. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5563. "extProps": {},
  5564. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5565. },
  5566. {
  5567. "defKey": "snvalue",
  5568. "defName": "",
  5569. "comment": "",
  5570. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5571. "type": "",
  5572. "len": "",
  5573. "scale": "",
  5574. "primaryKey": false,
  5575. "notNull": false,
  5576. "autoIncrement": false,
  5577. "defaultValue": "",
  5578. "hideInGraph": false,
  5579. "refDict": "",
  5580. "attr1": "",
  5581. "attr2": "",
  5582. "attr3": "",
  5583. "attr4": "",
  5584. "attr5": "",
  5585. "attr6": "",
  5586. "attr7": "",
  5587. "attr8": "",
  5588. "attr9": "",
  5589. "id": "135538D2-344C-4187-AFBE-81EB16817278",
  5590. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5591. "extProps": {},
  5592. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5593. },
  5594. {
  5595. "defKey": "ccvalue",
  5596. "defName": "",
  5597. "comment": "",
  5598. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5599. "type": "",
  5600. "len": "",
  5601. "scale": "",
  5602. "primaryKey": false,
  5603. "notNull": false,
  5604. "autoIncrement": false,
  5605. "defaultValue": "",
  5606. "hideInGraph": false,
  5607. "refDict": "",
  5608. "attr1": "",
  5609. "attr2": "",
  5610. "attr3": "",
  5611. "attr4": "",
  5612. "attr5": "",
  5613. "attr6": "",
  5614. "attr7": "",
  5615. "attr8": "",
  5616. "attr9": "",
  5617. "id": "6508D50D-6E68-427D-BBF5-3DACCACA4744",
  5618. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5619. "extProps": {},
  5620. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5621. },
  5622. {
  5623. "defKey": "nvalue",
  5624. "defName": "",
  5625. "comment": "",
  5626. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5627. "type": "",
  5628. "len": "",
  5629. "scale": "",
  5630. "primaryKey": false,
  5631. "notNull": false,
  5632. "autoIncrement": false,
  5633. "defaultValue": "",
  5634. "hideInGraph": false,
  5635. "refDict": "",
  5636. "attr1": "",
  5637. "attr2": "",
  5638. "attr3": "",
  5639. "attr4": "",
  5640. "attr5": "",
  5641. "attr6": "",
  5642. "attr7": "",
  5643. "attr8": "",
  5644. "attr9": "",
  5645. "id": "1FBBF001-F985-4D18-ACDE-52FE5611092C",
  5646. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5647. "extProps": {},
  5648. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5649. },
  5650. {
  5651. "defKey": "buvalue",
  5652. "defName": "",
  5653. "comment": "",
  5654. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5655. "type": "",
  5656. "len": "",
  5657. "scale": "",
  5658. "primaryKey": false,
  5659. "notNull": false,
  5660. "autoIncrement": false,
  5661. "defaultValue": "",
  5662. "hideInGraph": false,
  5663. "refDict": "",
  5664. "attr1": "",
  5665. "attr2": "",
  5666. "attr3": "",
  5667. "attr4": "",
  5668. "attr5": "",
  5669. "attr6": "",
  5670. "attr7": "",
  5671. "attr8": "",
  5672. "attr9": "",
  5673. "id": "1DB0DA93-2900-4649-BC95-67D62AA6AD1C",
  5674. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5675. "extProps": {},
  5676. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5677. },
  5678. {
  5679. "defKey": "buname",
  5680. "defName": "",
  5681. "comment": "",
  5682. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5683. "type": "",
  5684. "len": "",
  5685. "scale": "",
  5686. "primaryKey": false,
  5687. "notNull": false,
  5688. "autoIncrement": false,
  5689. "defaultValue": "",
  5690. "hideInGraph": false,
  5691. "refDict": "",
  5692. "attr1": "",
  5693. "attr2": "",
  5694. "attr3": "",
  5695. "attr4": "",
  5696. "attr5": "",
  5697. "attr6": "",
  5698. "attr7": "",
  5699. "attr8": "",
  5700. "attr9": "",
  5701. "id": "65E76D0F-6D21-4BE1-B340-F14466EC82B0",
  5702. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5703. "extProps": {},
  5704. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5705. },
  5706. {
  5707. "defKey": "divalue",
  5708. "defName": "",
  5709. "comment": "",
  5710. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5711. "type": "",
  5712. "len": "",
  5713. "scale": "",
  5714. "primaryKey": false,
  5715. "notNull": false,
  5716. "autoIncrement": false,
  5717. "defaultValue": "",
  5718. "hideInGraph": false,
  5719. "refDict": "",
  5720. "attr1": "",
  5721. "attr2": "",
  5722. "attr3": "",
  5723. "attr4": "",
  5724. "attr5": "",
  5725. "attr6": "",
  5726. "attr7": "",
  5727. "attr8": "",
  5728. "attr9": "",
  5729. "id": "FB8C8AC6-6633-475A-AE49-98E11C7C1930",
  5730. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5731. "extProps": {},
  5732. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5733. },
  5734. {
  5735. "defKey": "qivalue",
  5736. "defName": "",
  5737. "comment": "",
  5738. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5739. "type": "",
  5740. "len": "",
  5741. "scale": "",
  5742. "primaryKey": false,
  5743. "notNull": false,
  5744. "autoIncrement": false,
  5745. "defaultValue": "",
  5746. "hideInGraph": false,
  5747. "refDict": "",
  5748. "attr1": "",
  5749. "attr2": "",
  5750. "attr3": "",
  5751. "attr4": "",
  5752. "attr5": "",
  5753. "attr6": "",
  5754. "attr7": "",
  5755. "attr8": "",
  5756. "attr9": "",
  5757. "id": "A3FA0C86-AF0E-4B05-8A10-E520AEC3EFAC",
  5758. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5759. "extProps": {},
  5760. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5761. },
  5762. {
  5763. "defKey": "qiname",
  5764. "defName": "",
  5765. "comment": "",
  5766. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5767. "type": "",
  5768. "len": "",
  5769. "scale": "",
  5770. "primaryKey": false,
  5771. "notNull": false,
  5772. "autoIncrement": false,
  5773. "defaultValue": "",
  5774. "hideInGraph": false,
  5775. "refDict": "",
  5776. "attr1": "",
  5777. "attr2": "",
  5778. "attr3": "",
  5779. "attr4": "",
  5780. "attr5": "",
  5781. "attr6": "",
  5782. "attr7": "",
  5783. "attr8": "",
  5784. "attr9": "",
  5785. "id": "F2E40A12-F242-4B10-9FDA-DA73ABD06179",
  5786. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5787. "extProps": {},
  5788. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5789. },
  5790. {
  5791. "defKey": "dqvalue",
  5792. "defName": "",
  5793. "comment": "",
  5794. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5795. "type": "",
  5796. "len": "",
  5797. "scale": "",
  5798. "primaryKey": false,
  5799. "notNull": false,
  5800. "autoIncrement": false,
  5801. "defaultValue": "",
  5802. "hideInGraph": false,
  5803. "refDict": "",
  5804. "attr1": "",
  5805. "attr2": "",
  5806. "attr3": "",
  5807. "attr4": "",
  5808. "attr5": "",
  5809. "attr6": "",
  5810. "attr7": "",
  5811. "attr8": "",
  5812. "attr9": "",
  5813. "id": "B000D214-9D5D-4916-901D-709D9B6B2E3A",
  5814. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5815. "extProps": {},
  5816. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5817. },
  5818. {
  5819. "defKey": "dqname",
  5820. "defName": "",
  5821. "comment": "",
  5822. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5823. "type": "",
  5824. "len": "",
  5825. "scale": "",
  5826. "primaryKey": false,
  5827. "notNull": false,
  5828. "autoIncrement": false,
  5829. "defaultValue": "",
  5830. "hideInGraph": false,
  5831. "refDict": "",
  5832. "attr1": "",
  5833. "attr2": "",
  5834. "attr3": "",
  5835. "attr4": "",
  5836. "attr5": "",
  5837. "attr6": "",
  5838. "attr7": "",
  5839. "attr8": "",
  5840. "attr9": "",
  5841. "id": "730770B3-36F0-4848-ADDC-AB0182744CF3",
  5842. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5843. "extProps": {},
  5844. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5845. },
  5846. {
  5847. "defKey": "billname",
  5848. "defName": "",
  5849. "comment": "",
  5850. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  5851. "type": "",
  5852. "len": "",
  5853. "scale": "",
  5854. "primaryKey": false,
  5855. "notNull": false,
  5856. "autoIncrement": false,
  5857. "defaultValue": "",
  5858. "hideInGraph": false,
  5859. "refDict": "",
  5860. "attr1": "",
  5861. "attr2": "",
  5862. "attr3": "",
  5863. "attr4": "",
  5864. "attr5": "",
  5865. "attr6": "",
  5866. "attr7": "",
  5867. "attr8": "",
  5868. "attr9": "",
  5869. "id": "E058648B-D1C4-4F10-B264-9C6759F423BF",
  5870. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5871. "extProps": {},
  5872. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5873. },
  5874. {
  5875. "defKey": "starttime",
  5876. "defName": "",
  5877. "comment": "",
  5878. "domain": "",
  5879. "type": "VARCHAR",
  5880. "len": 50,
  5881. "scale": "",
  5882. "primaryKey": false,
  5883. "notNull": false,
  5884. "autoIncrement": false,
  5885. "defaultValue": "",
  5886. "hideInGraph": false,
  5887. "refDict": "",
  5888. "attr1": "",
  5889. "attr2": "",
  5890. "attr3": "",
  5891. "attr4": "",
  5892. "attr5": "",
  5893. "attr6": "",
  5894. "attr7": "",
  5895. "attr8": "",
  5896. "attr9": "",
  5897. "id": "93581770-00F3-428A-BD56-0124F07699F0",
  5898. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  5899. "extProps": {},
  5900. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  5901. }
  5902. ],
  5903. "indexes": [],
  5904. "sysProps": {
  5905. "nameTemplate": "{defKey}[{defName}]"
  5906. },
  5907. "headers": [
  5908. {
  5909. "freeze": false,
  5910. "refKey": "hideInGraph",
  5911. "hideInGraph": true
  5912. },
  5913. {
  5914. "freeze": true,
  5915. "refKey": "defKey",
  5916. "hideInGraph": false
  5917. },
  5918. {
  5919. "freeze": true,
  5920. "refKey": "defName",
  5921. "hideInGraph": false
  5922. },
  5923. {
  5924. "freeze": false,
  5925. "refKey": "primaryKey",
  5926. "hideInGraph": false
  5927. },
  5928. {
  5929. "freeze": false,
  5930. "refKey": "notNull",
  5931. "hideInGraph": true
  5932. },
  5933. {
  5934. "freeze": false,
  5935. "refKey": "autoIncrement",
  5936. "hideInGraph": true
  5937. },
  5938. {
  5939. "freeze": false,
  5940. "refKey": "domain",
  5941. "hideInGraph": true
  5942. },
  5943. {
  5944. "freeze": false,
  5945. "refKey": "type",
  5946. "hideInGraph": false
  5947. },
  5948. {
  5949. "freeze": false,
  5950. "refKey": "len",
  5951. "hideInGraph": false
  5952. },
  5953. {
  5954. "freeze": false,
  5955. "refKey": "scale",
  5956. "hideInGraph": false
  5957. },
  5958. {
  5959. "freeze": false,
  5960. "refKey": "comment",
  5961. "hideInGraph": true
  5962. },
  5963. {
  5964. "freeze": false,
  5965. "refKey": "refDict",
  5966. "hideInGraph": true
  5967. },
  5968. {
  5969. "freeze": false,
  5970. "refKey": "defaultValue",
  5971. "hideInGraph": true
  5972. },
  5973. {
  5974. "freeze": false,
  5975. "refKey": "isStandard",
  5976. "hideInGraph": false
  5977. },
  5978. {
  5979. "freeze": false,
  5980. "refKey": "uiHint",
  5981. "hideInGraph": true
  5982. },
  5983. {
  5984. "freeze": false,
  5985. "refKey": "extProps",
  5986. "hideInGraph": true
  5987. }
  5988. ],
  5989. "correlations": []
  5990. },
  5991. {
  5992. "id": "4438394B-60D7-4566-91D1-4A14E2E16314",
  5993. "defKey": "c7525cost",
  5994. "defName": "7525价格表",
  5995. "comment": "",
  5996. "properties": {},
  5997. "fields": [
  5998. {
  5999. "defKey": "year",
  6000. "defName": "年份",
  6001. "comment": "",
  6002. "domain": "",
  6003. "type": "VARCHAR",
  6004. "len": 4,
  6005. "scale": "",
  6006. "primaryKey": true,
  6007. "notNull": true,
  6008. "autoIncrement": false,
  6009. "defaultValue": "",
  6010. "hideInGraph": false,
  6011. "refDict": "",
  6012. "attr1": "",
  6013. "attr2": "",
  6014. "attr3": "",
  6015. "attr4": "",
  6016. "attr5": "",
  6017. "attr6": "",
  6018. "attr7": "",
  6019. "attr8": "",
  6020. "attr9": "",
  6021. "id": "3A22605A-0317-44DD-8710-50A0E296C320",
  6022. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6023. "extProps": {},
  6024. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6025. },
  6026. {
  6027. "defKey": "material_number",
  6028. "defName": "门控料号(物料id)",
  6029. "comment": "",
  6030. "domain": "",
  6031. "type": "VARCHAR",
  6032. "len": 18,
  6033. "scale": "",
  6034. "primaryKey": true,
  6035. "notNull": true,
  6036. "autoIncrement": false,
  6037. "defaultValue": "",
  6038. "hideInGraph": false,
  6039. "refDict": "",
  6040. "attr1": "",
  6041. "attr2": "",
  6042. "attr3": "",
  6043. "attr4": "",
  6044. "attr5": "",
  6045. "attr6": "",
  6046. "attr7": "",
  6047. "attr8": "",
  6048. "attr9": "",
  6049. "id": "D5BC39FE-0C18-4F6B-B44A-14FA3DCE3BB6",
  6050. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6051. "extProps": {},
  6052. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6053. },
  6054. {
  6055. "defKey": "zzggxh",
  6056. "defName": "物料规格信息",
  6057. "comment": "",
  6058. "domain": "",
  6059. "type": "VARCHAR",
  6060. "len": 100,
  6061. "scale": "",
  6062. "primaryKey": false,
  6063. "notNull": false,
  6064. "autoIncrement": false,
  6065. "defaultValue": "",
  6066. "hideInGraph": false,
  6067. "refDict": "",
  6068. "attr1": "",
  6069. "attr2": "",
  6070. "attr3": "",
  6071. "attr4": "",
  6072. "attr5": "",
  6073. "attr6": "",
  6074. "attr7": "",
  6075. "attr8": "",
  6076. "attr9": "",
  6077. "id": "3905485A-E2F7-4B8F-9B8D-13ADC9CD2B27",
  6078. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6079. "extProps": {},
  6080. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6081. },
  6082. {
  6083. "defKey": "price_7525",
  6084. "defName": "价格",
  6085. "comment": "",
  6086. "domain": "",
  6087. "type": "DECIMAL",
  6088. "len": 15,
  6089. "scale": 2,
  6090. "primaryKey": false,
  6091. "notNull": false,
  6092. "autoIncrement": false,
  6093. "defaultValue": "0.00",
  6094. "hideInGraph": false,
  6095. "refDict": "",
  6096. "attr1": "",
  6097. "attr2": "",
  6098. "attr3": "",
  6099. "attr4": "",
  6100. "attr5": "",
  6101. "attr6": "",
  6102. "attr7": "",
  6103. "attr8": "",
  6104. "attr9": "",
  6105. "id": "8A94BFD6-1F9A-4376-809C-4668AC043364",
  6106. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  6107. "extProps": {},
  6108. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6109. },
  6110. {
  6111. "defKey": "id",
  6112. "defName": "id",
  6113. "comment": "",
  6114. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  6115. "type": "",
  6116. "len": "",
  6117. "scale": "",
  6118. "primaryKey": false,
  6119. "notNull": true,
  6120. "autoIncrement": true,
  6121. "defaultValue": "",
  6122. "hideInGraph": false,
  6123. "refDict": "",
  6124. "attr1": "",
  6125. "attr2": "",
  6126. "attr3": "",
  6127. "attr4": "",
  6128. "attr5": "",
  6129. "attr6": "",
  6130. "attr7": "",
  6131. "attr8": "",
  6132. "attr9": "",
  6133. "id": "9F4F7CF7-861E-41AB-94F0-AE30EDAF0446",
  6134. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  6135. "extProps": {},
  6136. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6137. }
  6138. ],
  6139. "indexes": [
  6140. {
  6141. "defKey": "id",
  6142. "unique": false,
  6143. "defName": null,
  6144. "comment": "",
  6145. "fields": [
  6146. {
  6147. "ascOrDesc": "A",
  6148. "id": "2AFF0351-3C7C-444F-929B-ADD47665DA7C",
  6149. "fieldDefKey": "9F4F7CF7-861E-41AB-94F0-AE30EDAF0446"
  6150. }
  6151. ],
  6152. "id": "DEE61AE2-C71B-4077-9E4D-6577E025CA0E"
  6153. }
  6154. ],
  6155. "sysProps": {
  6156. "nameTemplate": "{defKey}[{defName}]"
  6157. },
  6158. "headers": [
  6159. {
  6160. "freeze": false,
  6161. "refKey": "hideInGraph",
  6162. "hideInGraph": true
  6163. },
  6164. {
  6165. "freeze": true,
  6166. "refKey": "defKey",
  6167. "hideInGraph": false
  6168. },
  6169. {
  6170. "freeze": true,
  6171. "refKey": "defName",
  6172. "hideInGraph": false
  6173. },
  6174. {
  6175. "freeze": false,
  6176. "refKey": "primaryKey",
  6177. "hideInGraph": false
  6178. },
  6179. {
  6180. "freeze": false,
  6181. "refKey": "notNull",
  6182. "hideInGraph": true
  6183. },
  6184. {
  6185. "freeze": false,
  6186. "refKey": "autoIncrement",
  6187. "hideInGraph": true
  6188. },
  6189. {
  6190. "freeze": false,
  6191. "refKey": "domain",
  6192. "hideInGraph": true
  6193. },
  6194. {
  6195. "freeze": false,
  6196. "refKey": "type",
  6197. "hideInGraph": false
  6198. },
  6199. {
  6200. "freeze": false,
  6201. "refKey": "len",
  6202. "hideInGraph": false
  6203. },
  6204. {
  6205. "freeze": false,
  6206. "refKey": "scale",
  6207. "hideInGraph": false
  6208. },
  6209. {
  6210. "freeze": false,
  6211. "refKey": "comment",
  6212. "hideInGraph": true
  6213. },
  6214. {
  6215. "freeze": false,
  6216. "refKey": "refDict",
  6217. "hideInGraph": true
  6218. },
  6219. {
  6220. "freeze": false,
  6221. "refKey": "defaultValue",
  6222. "hideInGraph": true
  6223. },
  6224. {
  6225. "freeze": false,
  6226. "refKey": "isStandard",
  6227. "hideInGraph": false
  6228. },
  6229. {
  6230. "freeze": false,
  6231. "refKey": "uiHint",
  6232. "hideInGraph": true
  6233. },
  6234. {
  6235. "freeze": false,
  6236. "refKey": "extProps",
  6237. "hideInGraph": true
  6238. }
  6239. ],
  6240. "correlations": []
  6241. },
  6242. {
  6243. "id": "9D89F846-66FC-42B0-B655-7083874263E1",
  6244. "defKey": "latest_purchase_price",
  6245. "defName": "最近采购价格表",
  6246. "comment": "",
  6247. "properties": {},
  6248. "fields": [
  6249. {
  6250. "defKey": "material_number",
  6251. "defName": "门控料号(物料id)",
  6252. "comment": "",
  6253. "domain": "",
  6254. "type": "VARCHAR",
  6255. "len": 20,
  6256. "scale": "",
  6257. "primaryKey": true,
  6258. "notNull": true,
  6259. "autoIncrement": false,
  6260. "defaultValue": "",
  6261. "hideInGraph": false,
  6262. "refDict": "",
  6263. "attr1": "",
  6264. "attr2": "",
  6265. "attr3": "",
  6266. "attr4": "",
  6267. "attr5": "",
  6268. "attr6": "",
  6269. "attr7": "",
  6270. "attr8": "",
  6271. "attr9": "",
  6272. "id": "52FFA4F5-50D7-4CFF-B51B-AC692AE44215",
  6273. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6274. "extProps": {},
  6275. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6276. },
  6277. {
  6278. "defKey": "name",
  6279. "defName": "产品名称",
  6280. "comment": "",
  6281. "domain": "",
  6282. "type": "VARCHAR",
  6283. "len": 15,
  6284. "scale": "",
  6285. "primaryKey": false,
  6286. "notNull": false,
  6287. "autoIncrement": false,
  6288. "defaultValue": "",
  6289. "hideInGraph": false,
  6290. "refDict": "",
  6291. "attr1": "",
  6292. "attr2": "",
  6293. "attr3": "",
  6294. "attr4": "",
  6295. "attr5": "",
  6296. "attr6": "",
  6297. "attr7": "",
  6298. "attr8": "",
  6299. "attr9": "",
  6300. "id": "E15CCC39-CBE4-4E7A-B775-E977F3A93F6F",
  6301. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6302. "extProps": {},
  6303. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6304. },
  6305. {
  6306. "defKey": "norms",
  6307. "defName": "规格",
  6308. "comment": "",
  6309. "domain": "",
  6310. "type": "VARCHAR",
  6311. "len": 15,
  6312. "scale": "",
  6313. "primaryKey": false,
  6314. "notNull": false,
  6315. "autoIncrement": false,
  6316. "defaultValue": "",
  6317. "hideInGraph": false,
  6318. "refDict": "",
  6319. "attr1": "",
  6320. "attr2": "",
  6321. "attr3": "",
  6322. "attr4": "",
  6323. "attr5": "",
  6324. "attr6": "",
  6325. "attr7": "",
  6326. "attr8": "",
  6327. "attr9": "",
  6328. "id": "74CABA30-81CC-41CC-89EF-A168641912AE",
  6329. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6330. "extProps": {},
  6331. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6332. },
  6333. {
  6334. "defKey": "unit",
  6335. "defName": "单位",
  6336. "comment": "",
  6337. "domain": "",
  6338. "type": "VARCHAR",
  6339. "len": 10,
  6340. "scale": "",
  6341. "primaryKey": false,
  6342. "notNull": false,
  6343. "autoIncrement": false,
  6344. "defaultValue": "",
  6345. "hideInGraph": false,
  6346. "refDict": "",
  6347. "attr1": "",
  6348. "attr2": "",
  6349. "attr3": "",
  6350. "attr4": "",
  6351. "attr5": "",
  6352. "attr6": "",
  6353. "attr7": "",
  6354. "attr8": "",
  6355. "attr9": "",
  6356. "id": "14ABF3E1-E0E5-4928-AF72-044C6EF217E9",
  6357. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6358. "extProps": {},
  6359. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6360. },
  6361. {
  6362. "defKey": "latest_Invoice_no",
  6363. "defName": "",
  6364. "comment": "",
  6365. "domain": "",
  6366. "type": "VARCHAR",
  6367. "len": 20,
  6368. "scale": "",
  6369. "primaryKey": false,
  6370. "notNull": false,
  6371. "autoIncrement": false,
  6372. "defaultValue": "",
  6373. "hideInGraph": false,
  6374. "refDict": "",
  6375. "attr1": "",
  6376. "attr2": "",
  6377. "attr3": "",
  6378. "attr4": "",
  6379. "attr5": "",
  6380. "attr6": "",
  6381. "attr7": "",
  6382. "attr8": "",
  6383. "attr9": "",
  6384. "id": "ADCDC3F3-32CC-442B-9ADD-45D65EDC9CFF",
  6385. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6386. "extProps": {},
  6387. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6388. },
  6389. {
  6390. "defKey": "latest_invoice_date",
  6391. "defName": "估算日期",
  6392. "comment": "",
  6393. "domain": "",
  6394. "type": "DATE",
  6395. "len": "",
  6396. "scale": "",
  6397. "primaryKey": false,
  6398. "notNull": false,
  6399. "autoIncrement": false,
  6400. "defaultValue": "",
  6401. "hideInGraph": false,
  6402. "refDict": "",
  6403. "attr1": "",
  6404. "attr2": "",
  6405. "attr3": "",
  6406. "attr4": "",
  6407. "attr5": "",
  6408. "attr6": "",
  6409. "attr7": "",
  6410. "attr8": "",
  6411. "attr9": "",
  6412. "id": "9AC219B4-85A0-4D3C-8C78-14D562BF5166",
  6413. "baseType": "",
  6414. "extProps": {},
  6415. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6416. },
  6417. {
  6418. "defKey": "latest_invoice_supplier",
  6419. "defName": "",
  6420. "comment": "",
  6421. "domain": "",
  6422. "type": "VARCHAR",
  6423. "len": 30,
  6424. "scale": "",
  6425. "primaryKey": false,
  6426. "notNull": false,
  6427. "autoIncrement": false,
  6428. "defaultValue": "",
  6429. "hideInGraph": false,
  6430. "refDict": "",
  6431. "attr1": "",
  6432. "attr2": "",
  6433. "attr3": "",
  6434. "attr4": "",
  6435. "attr5": "",
  6436. "attr6": "",
  6437. "attr7": "",
  6438. "attr8": "",
  6439. "attr9": "",
  6440. "id": "E0DD3EB2-E94E-4D91-AC09-0EA67C39FEED",
  6441. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6442. "extProps": {},
  6443. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6444. },
  6445. {
  6446. "defKey": "latest_invoice_price",
  6447. "defName": "",
  6448. "comment": "",
  6449. "domain": "",
  6450. "type": "DECIMAL",
  6451. "len": 10,
  6452. "scale": 3,
  6453. "primaryKey": false,
  6454. "notNull": false,
  6455. "autoIncrement": false,
  6456. "defaultValue": "",
  6457. "hideInGraph": false,
  6458. "refDict": "",
  6459. "attr1": "",
  6460. "attr2": "",
  6461. "attr3": "",
  6462. "attr4": "",
  6463. "attr5": "",
  6464. "attr6": "",
  6465. "attr7": "",
  6466. "attr8": "",
  6467. "attr9": "",
  6468. "id": "84585C2D-C31B-423B-A33A-BF2F7EE9E21F",
  6469. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  6470. "extProps": {},
  6471. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6472. },
  6473. {
  6474. "defKey": "unit_price_without_tax",
  6475. "defName": "不含税价格",
  6476. "comment": "",
  6477. "domain": "",
  6478. "type": "DECIMAL",
  6479. "len": 10,
  6480. "scale": 3,
  6481. "primaryKey": false,
  6482. "notNull": false,
  6483. "autoIncrement": false,
  6484. "defaultValue": "",
  6485. "hideInGraph": false,
  6486. "refDict": "",
  6487. "attr1": "",
  6488. "attr2": "",
  6489. "attr3": "",
  6490. "attr4": "",
  6491. "attr5": "",
  6492. "attr6": "",
  6493. "attr7": "",
  6494. "attr8": "",
  6495. "attr9": "",
  6496. "id": "CDF2E069-6D95-40D0-87B5-46DBDB9FB1B3",
  6497. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  6498. "extProps": {},
  6499. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6500. },
  6501. {
  6502. "defKey": "inter_exam_cost",
  6503. "defName": "",
  6504. "comment": "",
  6505. "domain": "",
  6506. "type": "DECIMAL",
  6507. "len": 10,
  6508. "scale": 3,
  6509. "primaryKey": false,
  6510. "notNull": false,
  6511. "autoIncrement": false,
  6512. "defaultValue": "",
  6513. "hideInGraph": false,
  6514. "refDict": "",
  6515. "attr1": "",
  6516. "attr2": "",
  6517. "attr3": "",
  6518. "attr4": "",
  6519. "attr5": "",
  6520. "attr6": "",
  6521. "attr7": "",
  6522. "attr8": "",
  6523. "attr9": "",
  6524. "id": "FA344283-0FC8-4643-AAD7-939A18F0B9A6",
  6525. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  6526. "extProps": {},
  6527. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6528. },
  6529. {
  6530. "defKey": "factory",
  6531. "defName": "工厂代号(工厂id)",
  6532. "comment": "",
  6533. "domain": "",
  6534. "type": "VARCHAR",
  6535. "len": 20,
  6536. "scale": "",
  6537. "primaryKey": true,
  6538. "notNull": true,
  6539. "autoIncrement": false,
  6540. "defaultValue": "",
  6541. "hideInGraph": false,
  6542. "refDict": "",
  6543. "attr1": "",
  6544. "attr2": "",
  6545. "attr3": "",
  6546. "attr4": "",
  6547. "attr5": "",
  6548. "attr6": "",
  6549. "attr7": "",
  6550. "attr8": "",
  6551. "attr9": "",
  6552. "id": "96289761-97D9-4D2A-AAD0-1DF1DA955E57",
  6553. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6554. "extProps": {},
  6555. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6556. },
  6557. {
  6558. "defKey": "guardian",
  6559. "defName": "维护人",
  6560. "comment": "",
  6561. "domain": "",
  6562. "type": "VARCHAR",
  6563. "len": 50,
  6564. "scale": "",
  6565. "primaryKey": false,
  6566. "notNull": false,
  6567. "autoIncrement": false,
  6568. "defaultValue": "",
  6569. "hideInGraph": false,
  6570. "refDict": "",
  6571. "attr1": "",
  6572. "attr2": "",
  6573. "attr3": "",
  6574. "attr4": "",
  6575. "attr5": "",
  6576. "attr6": "",
  6577. "attr7": "",
  6578. "attr8": "",
  6579. "attr9": "",
  6580. "id": "3BF0A59D-D45A-4872-91AA-6E02AE83A590",
  6581. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6582. "extProps": {},
  6583. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6584. },
  6585. {
  6586. "defKey": "maintenance_time",
  6587. "defName": "维护时间",
  6588. "comment": "",
  6589. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  6590. "type": "",
  6591. "len": "",
  6592. "scale": "",
  6593. "primaryKey": false,
  6594. "notNull": false,
  6595. "autoIncrement": false,
  6596. "defaultValue": "",
  6597. "hideInGraph": false,
  6598. "refDict": "",
  6599. "attr1": "",
  6600. "attr2": "",
  6601. "attr3": "",
  6602. "attr4": "",
  6603. "attr5": "",
  6604. "attr6": "",
  6605. "attr7": "",
  6606. "attr8": "",
  6607. "attr9": "",
  6608. "id": "8532E9C1-4603-40AD-BB00-31DE4BBD7D5A",
  6609. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  6610. "extProps": {},
  6611. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6612. },
  6613. {
  6614. "defKey": "isadd",
  6615. "defName": "",
  6616. "comment": "",
  6617. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  6618. "type": "",
  6619. "len": "",
  6620. "scale": "",
  6621. "primaryKey": true,
  6622. "notNull": true,
  6623. "autoIncrement": false,
  6624. "defaultValue": "0",
  6625. "hideInGraph": false,
  6626. "refDict": "",
  6627. "attr1": "",
  6628. "attr2": "",
  6629. "attr3": "",
  6630. "attr4": "",
  6631. "attr5": "",
  6632. "attr6": "",
  6633. "attr7": "",
  6634. "attr8": "",
  6635. "attr9": "",
  6636. "id": "65A6114C-4EC5-4E80-BE3F-F35DF10E8F5F",
  6637. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  6638. "extProps": {},
  6639. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6640. },
  6641. {
  6642. "defKey": "purchase_type",
  6643. "defName": "采购类型",
  6644. "comment": "",
  6645. "domain": "",
  6646. "type": "VARCHAR",
  6647. "len": 10,
  6648. "scale": "",
  6649. "primaryKey": true,
  6650. "notNull": true,
  6651. "autoIncrement": false,
  6652. "defaultValue": "",
  6653. "hideInGraph": false,
  6654. "refDict": "",
  6655. "attr1": "",
  6656. "attr2": "",
  6657. "attr3": "",
  6658. "attr4": "",
  6659. "attr5": "",
  6660. "attr6": "",
  6661. "attr7": "",
  6662. "attr8": "",
  6663. "attr9": "",
  6664. "id": "A6FB5AB3-D128-48E2-99B4-8285422362F1",
  6665. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6666. "extProps": {},
  6667. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6668. },
  6669. {
  6670. "defKey": "isinvalid",
  6671. "defName": "是否启用",
  6672. "comment": "",
  6673. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  6674. "type": "",
  6675. "len": "",
  6676. "scale": "",
  6677. "primaryKey": false,
  6678. "notNull": false,
  6679. "autoIncrement": false,
  6680. "defaultValue": "0",
  6681. "hideInGraph": false,
  6682. "refDict": "",
  6683. "attr1": "",
  6684. "attr2": "",
  6685. "attr3": "",
  6686. "attr4": "",
  6687. "attr5": "",
  6688. "attr6": "",
  6689. "attr7": "",
  6690. "attr8": "",
  6691. "attr9": "",
  6692. "id": "83DE4E95-B02E-4AC0-BEA9-E5405F9A1D24",
  6693. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  6694. "extProps": {},
  6695. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6696. }
  6697. ],
  6698. "indexes": [
  6699. {
  6700. "defKey": "factory2",
  6701. "unique": false,
  6702. "defName": null,
  6703. "comment": "",
  6704. "fields": [
  6705. {
  6706. "ascOrDesc": "A",
  6707. "id": "391B736A-5711-4A6C-B4BF-B8328CEC2D1E",
  6708. "fieldDefKey": "96289761-97D9-4D2A-AAD0-1DF1DA955E57"
  6709. }
  6710. ],
  6711. "id": "F4CA52D8-5FC0-4514-AE34-557DB4C96154"
  6712. },
  6713. {
  6714. "defKey": "key_vaild",
  6715. "unique": false,
  6716. "defName": null,
  6717. "comment": "",
  6718. "fields": [
  6719. {
  6720. "ascOrDesc": "A",
  6721. "id": "34A90113-5035-4CC0-A0FA-56738E435BEC",
  6722. "fieldDefKey": "83DE4E95-B02E-4AC0-BEA9-E5405F9A1D24"
  6723. }
  6724. ],
  6725. "id": "F6C1E683-7991-47F7-BA4D-D63E11371D5A"
  6726. },
  6727. {
  6728. "defKey": "materialNumber2",
  6729. "unique": false,
  6730. "defName": null,
  6731. "comment": "",
  6732. "fields": [
  6733. {
  6734. "ascOrDesc": "A",
  6735. "id": "63FAFD76-0001-4EFC-8F51-032084749F0D",
  6736. "fieldDefKey": "52FFA4F5-50D7-4CFF-B51B-AC692AE44215"
  6737. }
  6738. ],
  6739. "id": "8F771AC7-C324-4DAD-8C24-654C5E7B56DE"
  6740. }
  6741. ],
  6742. "sysProps": {
  6743. "nameTemplate": "{defKey}[{defName}]"
  6744. },
  6745. "headers": [
  6746. {
  6747. "freeze": false,
  6748. "refKey": "hideInGraph",
  6749. "hideInGraph": true
  6750. },
  6751. {
  6752. "freeze": true,
  6753. "refKey": "defKey",
  6754. "hideInGraph": false
  6755. },
  6756. {
  6757. "freeze": true,
  6758. "refKey": "defName",
  6759. "hideInGraph": false
  6760. },
  6761. {
  6762. "freeze": false,
  6763. "refKey": "primaryKey",
  6764. "hideInGraph": false
  6765. },
  6766. {
  6767. "freeze": false,
  6768. "refKey": "notNull",
  6769. "hideInGraph": true
  6770. },
  6771. {
  6772. "freeze": false,
  6773. "refKey": "autoIncrement",
  6774. "hideInGraph": true
  6775. },
  6776. {
  6777. "freeze": false,
  6778. "refKey": "domain",
  6779. "hideInGraph": true
  6780. },
  6781. {
  6782. "freeze": false,
  6783. "refKey": "type",
  6784. "hideInGraph": false
  6785. },
  6786. {
  6787. "freeze": false,
  6788. "refKey": "len",
  6789. "hideInGraph": false
  6790. },
  6791. {
  6792. "freeze": false,
  6793. "refKey": "scale",
  6794. "hideInGraph": false
  6795. },
  6796. {
  6797. "freeze": false,
  6798. "refKey": "comment",
  6799. "hideInGraph": true
  6800. },
  6801. {
  6802. "freeze": false,
  6803. "refKey": "refDict",
  6804. "hideInGraph": true
  6805. },
  6806. {
  6807. "freeze": false,
  6808. "refKey": "defaultValue",
  6809. "hideInGraph": true
  6810. },
  6811. {
  6812. "freeze": false,
  6813. "refKey": "isStandard",
  6814. "hideInGraph": false
  6815. },
  6816. {
  6817. "freeze": false,
  6818. "refKey": "uiHint",
  6819. "hideInGraph": true
  6820. },
  6821. {
  6822. "freeze": false,
  6823. "refKey": "extProps",
  6824. "hideInGraph": true
  6825. }
  6826. ],
  6827. "correlations": []
  6828. },
  6829. {
  6830. "id": "38DC4808-C376-4C0A-9E1D-9BE756B68A7D",
  6831. "defKey": "produce_batch",
  6832. "defName": "生产批量设置表",
  6833. "comment": "",
  6834. "properties": {},
  6835. "fields": [
  6836. {
  6837. "defKey": "material_number",
  6838. "defName": "门控料号(物料id)",
  6839. "comment": "",
  6840. "domain": "",
  6841. "type": "VARCHAR",
  6842. "len": 20,
  6843. "scale": "",
  6844. "primaryKey": true,
  6845. "notNull": true,
  6846. "autoIncrement": false,
  6847. "defaultValue": "",
  6848. "hideInGraph": false,
  6849. "refDict": "",
  6850. "attr1": "",
  6851. "attr2": "",
  6852. "attr3": "",
  6853. "attr4": "",
  6854. "attr5": "",
  6855. "attr6": "",
  6856. "attr7": "",
  6857. "attr8": "",
  6858. "attr9": "",
  6859. "id": "167E3EE8-5483-4DF5-B45D-E6E3EC795B6D",
  6860. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6861. "extProps": {},
  6862. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6863. },
  6864. {
  6865. "defKey": "factory",
  6866. "defName": "工厂代号(工厂id)",
  6867. "comment": "",
  6868. "domain": "",
  6869. "type": "VARCHAR",
  6870. "len": 20,
  6871. "scale": "",
  6872. "primaryKey": true,
  6873. "notNull": true,
  6874. "autoIncrement": false,
  6875. "defaultValue": "",
  6876. "hideInGraph": false,
  6877. "refDict": "",
  6878. "attr1": "",
  6879. "attr2": "",
  6880. "attr3": "",
  6881. "attr4": "",
  6882. "attr5": "",
  6883. "attr6": "",
  6884. "attr7": "",
  6885. "attr8": "",
  6886. "attr9": "",
  6887. "id": "D917286B-79A8-48DF-A60D-9E9DE4089C2F",
  6888. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6889. "extProps": {},
  6890. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6891. },
  6892. {
  6893. "defKey": "batch",
  6894. "defName": "生产批量",
  6895. "comment": "",
  6896. "domain": "",
  6897. "type": "DECIMAL",
  6898. "len": 20,
  6899. "scale": 3,
  6900. "primaryKey": false,
  6901. "notNull": false,
  6902. "autoIncrement": false,
  6903. "defaultValue": "0.000",
  6904. "hideInGraph": false,
  6905. "refDict": "",
  6906. "attr1": "",
  6907. "attr2": "",
  6908. "attr3": "",
  6909. "attr4": "",
  6910. "attr5": "",
  6911. "attr6": "",
  6912. "attr7": "",
  6913. "attr8": "",
  6914. "attr9": "",
  6915. "id": "9182E958-FC7A-4F42-981E-02B4B7ED65A2",
  6916. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  6917. "extProps": {},
  6918. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6919. },
  6920. {
  6921. "defKey": "guardian",
  6922. "defName": "维护人(用户id)",
  6923. "comment": "",
  6924. "domain": "",
  6925. "type": "VARCHAR",
  6926. "len": 30,
  6927. "scale": "",
  6928. "primaryKey": false,
  6929. "notNull": false,
  6930. "autoIncrement": false,
  6931. "defaultValue": "",
  6932. "hideInGraph": false,
  6933. "refDict": "",
  6934. "attr1": "",
  6935. "attr2": "",
  6936. "attr3": "",
  6937. "attr4": "",
  6938. "attr5": "",
  6939. "attr6": "",
  6940. "attr7": "",
  6941. "attr8": "",
  6942. "attr9": "",
  6943. "id": "419A387E-769A-42FC-8805-73E19549DA2E",
  6944. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  6945. "extProps": {},
  6946. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6947. },
  6948. {
  6949. "defKey": "maintenance_time",
  6950. "defName": "维护时间",
  6951. "comment": "",
  6952. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  6953. "type": "",
  6954. "len": "",
  6955. "scale": "",
  6956. "primaryKey": true,
  6957. "notNull": true,
  6958. "autoIncrement": false,
  6959. "defaultValue": "",
  6960. "hideInGraph": false,
  6961. "refDict": "",
  6962. "attr1": "",
  6963. "attr2": "",
  6964. "attr3": "",
  6965. "attr4": "",
  6966. "attr5": "",
  6967. "attr6": "",
  6968. "attr7": "",
  6969. "attr8": "",
  6970. "attr9": "",
  6971. "id": "A0DE46AE-072D-4CEE-97D4-E7ADFE699401",
  6972. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  6973. "extProps": {},
  6974. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  6975. },
  6976. {
  6977. "defKey": "aufnr",
  6978. "defName": "",
  6979. "comment": "",
  6980. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  6981. "type": "",
  6982. "len": "",
  6983. "scale": "",
  6984. "primaryKey": false,
  6985. "notNull": false,
  6986. "autoIncrement": false,
  6987. "defaultValue": "",
  6988. "hideInGraph": false,
  6989. "refDict": "",
  6990. "attr1": "",
  6991. "attr2": "",
  6992. "attr3": "",
  6993. "attr4": "",
  6994. "attr5": "",
  6995. "attr6": "",
  6996. "attr7": "",
  6997. "attr8": "",
  6998. "attr9": "",
  6999. "id": "F5B8C8BC-66CC-40E4-9A71-EA97CAF45FF6",
  7000. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7001. "extProps": {},
  7002. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7003. }
  7004. ],
  7005. "indexes": [],
  7006. "sysProps": {
  7007. "nameTemplate": "{defKey}[{defName}]"
  7008. },
  7009. "headers": [
  7010. {
  7011. "freeze": false,
  7012. "refKey": "hideInGraph",
  7013. "hideInGraph": true
  7014. },
  7015. {
  7016. "freeze": true,
  7017. "refKey": "defKey",
  7018. "hideInGraph": false
  7019. },
  7020. {
  7021. "freeze": true,
  7022. "refKey": "defName",
  7023. "hideInGraph": false
  7024. },
  7025. {
  7026. "freeze": false,
  7027. "refKey": "primaryKey",
  7028. "hideInGraph": false
  7029. },
  7030. {
  7031. "freeze": false,
  7032. "refKey": "notNull",
  7033. "hideInGraph": true
  7034. },
  7035. {
  7036. "freeze": false,
  7037. "refKey": "autoIncrement",
  7038. "hideInGraph": true
  7039. },
  7040. {
  7041. "freeze": false,
  7042. "refKey": "domain",
  7043. "hideInGraph": true
  7044. },
  7045. {
  7046. "freeze": false,
  7047. "refKey": "type",
  7048. "hideInGraph": false
  7049. },
  7050. {
  7051. "freeze": false,
  7052. "refKey": "len",
  7053. "hideInGraph": false
  7054. },
  7055. {
  7056. "freeze": false,
  7057. "refKey": "scale",
  7058. "hideInGraph": false
  7059. },
  7060. {
  7061. "freeze": false,
  7062. "refKey": "comment",
  7063. "hideInGraph": true
  7064. },
  7065. {
  7066. "freeze": false,
  7067. "refKey": "refDict",
  7068. "hideInGraph": true
  7069. },
  7070. {
  7071. "freeze": false,
  7072. "refKey": "defaultValue",
  7073. "hideInGraph": true
  7074. },
  7075. {
  7076. "freeze": false,
  7077. "refKey": "isStandard",
  7078. "hideInGraph": false
  7079. },
  7080. {
  7081. "freeze": false,
  7082. "refKey": "uiHint",
  7083. "hideInGraph": true
  7084. },
  7085. {
  7086. "freeze": false,
  7087. "refKey": "extProps",
  7088. "hideInGraph": true
  7089. }
  7090. ],
  7091. "correlations": []
  7092. },
  7093. {
  7094. "id": "7891EB10-2F25-42A4-AC94-980756D9F709",
  7095. "defKey": "product_process_maintenance",
  7096. "defName": "标准成本模型-产品工序",
  7097. "comment": "",
  7098. "properties": {},
  7099. "fields": [
  7100. {
  7101. "defKey": "factory",
  7102. "defName": "维护人",
  7103. "comment": "",
  7104. "domain": "",
  7105. "type": "VARCHAR",
  7106. "len": 20,
  7107. "scale": "",
  7108. "primaryKey": true,
  7109. "notNull": true,
  7110. "autoIncrement": false,
  7111. "defaultValue": "",
  7112. "hideInGraph": false,
  7113. "refDict": "",
  7114. "attr1": "",
  7115. "attr2": "",
  7116. "attr3": "",
  7117. "attr4": "",
  7118. "attr5": "",
  7119. "attr6": "",
  7120. "attr7": "",
  7121. "attr8": "",
  7122. "attr9": "",
  7123. "id": "820E9FDC-AE16-4B76-8C51-EC8A2B71A051",
  7124. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7125. "extProps": {},
  7126. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7127. },
  7128. {
  7129. "defKey": "main_part_number",
  7130. "defName": "",
  7131. "comment": "",
  7132. "domain": "",
  7133. "type": "VARCHAR",
  7134. "len": 20,
  7135. "scale": "",
  7136. "primaryKey": true,
  7137. "notNull": true,
  7138. "autoIncrement": false,
  7139. "defaultValue": "",
  7140. "hideInGraph": false,
  7141. "refDict": "",
  7142. "attr1": "",
  7143. "attr2": "",
  7144. "attr3": "",
  7145. "attr4": "",
  7146. "attr5": "",
  7147. "attr6": "",
  7148. "attr7": "",
  7149. "attr8": "",
  7150. "attr9": "",
  7151. "id": "D479F4A5-B62D-43D1-9166-9CC0BCAFEE4E",
  7152. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7153. "extProps": {},
  7154. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7155. },
  7156. {
  7157. "defKey": "process_route_number",
  7158. "defName": "工艺路线号",
  7159. "comment": "",
  7160. "domain": "",
  7161. "type": "VARCHAR",
  7162. "len": 20,
  7163. "scale": "",
  7164. "primaryKey": true,
  7165. "notNull": true,
  7166. "autoIncrement": false,
  7167. "defaultValue": "",
  7168. "hideInGraph": false,
  7169. "refDict": "",
  7170. "attr1": "",
  7171. "attr2": "",
  7172. "attr3": "",
  7173. "attr4": "",
  7174. "attr5": "",
  7175. "attr6": "",
  7176. "attr7": "",
  7177. "attr8": "",
  7178. "attr9": "",
  7179. "id": "11445EE1-9840-4D63-8D2E-72BB4D84344F",
  7180. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7181. "extProps": {},
  7182. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7183. },
  7184. {
  7185. "defKey": "serial_number",
  7186. "defName": "序号",
  7187. "comment": "",
  7188. "domain": "",
  7189. "type": "VARCHAR",
  7190. "len": 20,
  7191. "scale": "",
  7192. "primaryKey": true,
  7193. "notNull": true,
  7194. "autoIncrement": false,
  7195. "defaultValue": "",
  7196. "hideInGraph": false,
  7197. "refDict": "",
  7198. "attr1": "",
  7199. "attr2": "",
  7200. "attr3": "",
  7201. "attr4": "",
  7202. "attr5": "",
  7203. "attr6": "",
  7204. "attr7": "",
  7205. "attr8": "",
  7206. "attr9": "",
  7207. "id": "0F010A63-F7EE-4282-AB72-24527A7B8333",
  7208. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7209. "extProps": {},
  7210. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7211. },
  7212. {
  7213. "defKey": "process_name",
  7214. "defName": "工序名称",
  7215. "comment": "",
  7216. "domain": "",
  7217. "type": "VARCHAR",
  7218. "len": 80,
  7219. "scale": "",
  7220. "primaryKey": false,
  7221. "notNull": false,
  7222. "autoIncrement": false,
  7223. "defaultValue": "",
  7224. "hideInGraph": false,
  7225. "refDict": "",
  7226. "attr1": "",
  7227. "attr2": "",
  7228. "attr3": "",
  7229. "attr4": "",
  7230. "attr5": "",
  7231. "attr6": "",
  7232. "attr7": "",
  7233. "attr8": "",
  7234. "attr9": "",
  7235. "id": "60227289-4099-4B31-907E-630014FDF1C8",
  7236. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7237. "extProps": {},
  7238. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7239. },
  7240. {
  7241. "defKey": "cost_center_code",
  7242. "defName": "成本中心代码",
  7243. "comment": "",
  7244. "domain": "",
  7245. "type": "VARCHAR",
  7246. "len": 20,
  7247. "scale": "",
  7248. "primaryKey": false,
  7249. "notNull": false,
  7250. "autoIncrement": false,
  7251. "defaultValue": "",
  7252. "hideInGraph": false,
  7253. "refDict": "",
  7254. "attr1": "",
  7255. "attr2": "",
  7256. "attr3": "",
  7257. "attr4": "",
  7258. "attr5": "",
  7259. "attr6": "",
  7260. "attr7": "",
  7261. "attr8": "",
  7262. "attr9": "",
  7263. "id": "A43A43A3-CA8F-4FD5-895E-8892D1192C10",
  7264. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7265. "extProps": {},
  7266. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7267. },
  7268. {
  7269. "defKey": "prepare_hour",
  7270. "defName": "",
  7271. "comment": "",
  7272. "domain": "",
  7273. "type": "DECIMAL",
  7274. "len": 10,
  7275. "scale": 3,
  7276. "primaryKey": false,
  7277. "notNull": false,
  7278. "autoIncrement": false,
  7279. "defaultValue": "",
  7280. "hideInGraph": false,
  7281. "refDict": "",
  7282. "attr1": "",
  7283. "attr2": "",
  7284. "attr3": "",
  7285. "attr4": "",
  7286. "attr5": "",
  7287. "attr6": "",
  7288. "attr7": "",
  7289. "attr8": "",
  7290. "attr9": "",
  7291. "id": "C3A3FF08-2489-43F8-AA41-B6D208D4B041",
  7292. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7293. "extProps": {},
  7294. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7295. },
  7296. {
  7297. "defKey": "labor_hour",
  7298. "defName": "人工工时",
  7299. "comment": "",
  7300. "domain": "",
  7301. "type": "DECIMAL",
  7302. "len": 10,
  7303. "scale": 3,
  7304. "primaryKey": false,
  7305. "notNull": false,
  7306. "autoIncrement": false,
  7307. "defaultValue": "",
  7308. "hideInGraph": false,
  7309. "refDict": "",
  7310. "attr1": "",
  7311. "attr2": "",
  7312. "attr3": "",
  7313. "attr4": "",
  7314. "attr5": "",
  7315. "attr6": "",
  7316. "attr7": "",
  7317. "attr8": "",
  7318. "attr9": "",
  7319. "id": "4FA3644E-7239-4699-ADFF-37E2F10AB255",
  7320. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7321. "extProps": {},
  7322. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7323. },
  7324. {
  7325. "defKey": "machine_hour",
  7326. "defName": "设备工时",
  7327. "comment": "",
  7328. "domain": "",
  7329. "type": "DECIMAL",
  7330. "len": 10,
  7331. "scale": 3,
  7332. "primaryKey": false,
  7333. "notNull": false,
  7334. "autoIncrement": false,
  7335. "defaultValue": "",
  7336. "hideInGraph": false,
  7337. "refDict": "",
  7338. "attr1": "",
  7339. "attr2": "",
  7340. "attr3": "",
  7341. "attr4": "",
  7342. "attr5": "",
  7343. "attr6": "",
  7344. "attr7": "",
  7345. "attr8": "",
  7346. "attr9": "",
  7347. "id": "AE6379E1-C229-4051-90E7-E82BD29253D8",
  7348. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7349. "extProps": {},
  7350. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7351. },
  7352. {
  7353. "defKey": "burning_hour",
  7354. "defName": "燃动工时",
  7355. "comment": "",
  7356. "domain": "",
  7357. "type": "DECIMAL",
  7358. "len": 10,
  7359. "scale": 3,
  7360. "primaryKey": false,
  7361. "notNull": false,
  7362. "autoIncrement": false,
  7363. "defaultValue": "",
  7364. "hideInGraph": false,
  7365. "refDict": "",
  7366. "attr1": "",
  7367. "attr2": "",
  7368. "attr3": "",
  7369. "attr4": "",
  7370. "attr5": "",
  7371. "attr6": "",
  7372. "attr7": "",
  7373. "attr8": "",
  7374. "attr9": "",
  7375. "id": "A6FC4B23-A4EE-466D-BADC-BE196E0AE49B",
  7376. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7377. "extProps": {},
  7378. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7379. },
  7380. {
  7381. "defKey": "auxiliary_hour",
  7382. "defName": "辅料工时",
  7383. "comment": "",
  7384. "domain": "",
  7385. "type": "DECIMAL",
  7386. "len": 10,
  7387. "scale": 3,
  7388. "primaryKey": false,
  7389. "notNull": false,
  7390. "autoIncrement": false,
  7391. "defaultValue": "",
  7392. "hideInGraph": false,
  7393. "refDict": "",
  7394. "attr1": "",
  7395. "attr2": "",
  7396. "attr3": "",
  7397. "attr4": "",
  7398. "attr5": "",
  7399. "attr6": "",
  7400. "attr7": "",
  7401. "attr8": "",
  7402. "attr9": "",
  7403. "id": "CD6F866D-5E43-4C90-BE93-B77B33BEA643",
  7404. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7405. "extProps": {},
  7406. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7407. },
  7408. {
  7409. "defKey": "other_hour",
  7410. "defName": "其他工时",
  7411. "comment": "",
  7412. "domain": "",
  7413. "type": "DECIMAL",
  7414. "len": 10,
  7415. "scale": 3,
  7416. "primaryKey": false,
  7417. "notNull": false,
  7418. "autoIncrement": false,
  7419. "defaultValue": "",
  7420. "hideInGraph": false,
  7421. "refDict": "",
  7422. "attr1": "",
  7423. "attr2": "",
  7424. "attr3": "",
  7425. "attr4": "",
  7426. "attr5": "",
  7427. "attr6": "",
  7428. "attr7": "",
  7429. "attr8": "",
  7430. "attr9": "",
  7431. "id": "0E208726-ACA6-47B3-A18A-2662CF8EA899",
  7432. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7433. "extProps": {},
  7434. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7435. },
  7436. {
  7437. "defKey": "hour_type",
  7438. "defName": "",
  7439. "comment": "",
  7440. "domain": "",
  7441. "type": "VARCHAR",
  7442. "len": 6,
  7443. "scale": "",
  7444. "primaryKey": false,
  7445. "notNull": false,
  7446. "autoIncrement": false,
  7447. "defaultValue": "",
  7448. "hideInGraph": false,
  7449. "refDict": "",
  7450. "attr1": "",
  7451. "attr2": "",
  7452. "attr3": "",
  7453. "attr4": "",
  7454. "attr5": "",
  7455. "attr6": "",
  7456. "attr7": "",
  7457. "attr8": "",
  7458. "attr9": "",
  7459. "id": "3EA597FD-B184-4D7F-9ABE-3DAA1F3C04FB",
  7460. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7461. "extProps": {},
  7462. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7463. },
  7464. {
  7465. "defKey": "version_number",
  7466. "defName": "版本",
  7467. "comment": "",
  7468. "domain": "",
  7469. "type": "VARCHAR",
  7470. "len": 100,
  7471. "scale": "",
  7472. "primaryKey": true,
  7473. "notNull": true,
  7474. "autoIncrement": false,
  7475. "defaultValue": "",
  7476. "hideInGraph": false,
  7477. "refDict": "",
  7478. "attr1": "",
  7479. "attr2": "",
  7480. "attr3": "",
  7481. "attr4": "",
  7482. "attr5": "",
  7483. "attr6": "",
  7484. "attr7": "",
  7485. "attr8": "",
  7486. "attr9": "",
  7487. "id": "E4D67C7F-83A1-445A-8099-50953B0DE6A3",
  7488. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7489. "extProps": {},
  7490. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7491. },
  7492. {
  7493. "defKey": "guardian",
  7494. "defName": "维护人",
  7495. "comment": "",
  7496. "domain": "",
  7497. "type": "VARCHAR",
  7498. "len": 10,
  7499. "scale": "",
  7500. "primaryKey": false,
  7501. "notNull": false,
  7502. "autoIncrement": false,
  7503. "defaultValue": "",
  7504. "hideInGraph": false,
  7505. "refDict": "",
  7506. "attr1": "",
  7507. "attr2": "",
  7508. "attr3": "",
  7509. "attr4": "",
  7510. "attr5": "",
  7511. "attr6": "",
  7512. "attr7": "",
  7513. "attr8": "",
  7514. "attr9": "",
  7515. "id": "681B88F7-9E47-48A5-B920-582008B12826",
  7516. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7517. "extProps": {},
  7518. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7519. },
  7520. {
  7521. "defKey": "maintenance_time",
  7522. "defName": "维护时间",
  7523. "comment": "",
  7524. "domain": "",
  7525. "type": "VARCHAR",
  7526. "len": 20,
  7527. "scale": "",
  7528. "primaryKey": false,
  7529. "notNull": false,
  7530. "autoIncrement": false,
  7531. "defaultValue": "",
  7532. "hideInGraph": false,
  7533. "refDict": "",
  7534. "attr1": "",
  7535. "attr2": "",
  7536. "attr3": "",
  7537. "attr4": "",
  7538. "attr5": "",
  7539. "attr6": "",
  7540. "attr7": "",
  7541. "attr8": "",
  7542. "attr9": "",
  7543. "id": "6DFCBEE0-02B1-4728-9D4C-710BC594BBE3",
  7544. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7545. "extProps": {},
  7546. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7547. },
  7548. {
  7549. "defKey": "reserve_1",
  7550. "defName": "",
  7551. "comment": "",
  7552. "domain": "",
  7553. "type": "VARCHAR",
  7554. "len": 20,
  7555. "scale": "",
  7556. "primaryKey": false,
  7557. "notNull": false,
  7558. "autoIncrement": false,
  7559. "defaultValue": "",
  7560. "hideInGraph": false,
  7561. "refDict": "",
  7562. "attr1": "",
  7563. "attr2": "",
  7564. "attr3": "",
  7565. "attr4": "",
  7566. "attr5": "",
  7567. "attr6": "",
  7568. "attr7": "",
  7569. "attr8": "",
  7570. "attr9": "",
  7571. "id": "071B3010-70EA-4EAC-9A8C-074DA2861DEA",
  7572. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7573. "extProps": {},
  7574. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7575. },
  7576. {
  7577. "defKey": "reserve_2",
  7578. "defName": "",
  7579. "comment": "",
  7580. "domain": "",
  7581. "type": "DECIMAL",
  7582. "len": 10,
  7583. "scale": 3,
  7584. "primaryKey": false,
  7585. "notNull": false,
  7586. "autoIncrement": false,
  7587. "defaultValue": "",
  7588. "hideInGraph": false,
  7589. "refDict": "",
  7590. "attr1": "",
  7591. "attr2": "",
  7592. "attr3": "",
  7593. "attr4": "",
  7594. "attr5": "",
  7595. "attr6": "",
  7596. "attr7": "",
  7597. "attr8": "",
  7598. "attr9": "",
  7599. "id": "B06A30C0-3ECB-4D3D-B672-3048C31A3989",
  7600. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7601. "extProps": {},
  7602. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7603. },
  7604. {
  7605. "defKey": "job_code",
  7606. "defName": "",
  7607. "comment": "",
  7608. "domain": "",
  7609. "type": "VARCHAR",
  7610. "len": 40,
  7611. "scale": "",
  7612. "primaryKey": true,
  7613. "notNull": true,
  7614. "autoIncrement": false,
  7615. "defaultValue": "",
  7616. "hideInGraph": false,
  7617. "refDict": "",
  7618. "attr1": "",
  7619. "attr2": "",
  7620. "attr3": "",
  7621. "attr4": "",
  7622. "attr5": "",
  7623. "attr6": "",
  7624. "attr7": "",
  7625. "attr8": "",
  7626. "attr9": "",
  7627. "id": "E578A939-FE75-4B59-AB84-9D499C9FD1C8",
  7628. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7629. "extProps": {},
  7630. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7631. }
  7632. ],
  7633. "indexes": [],
  7634. "sysProps": {
  7635. "nameTemplate": "{defKey}[{defName}]"
  7636. },
  7637. "headers": [
  7638. {
  7639. "freeze": false,
  7640. "refKey": "hideInGraph",
  7641. "hideInGraph": true
  7642. },
  7643. {
  7644. "freeze": true,
  7645. "refKey": "defKey",
  7646. "hideInGraph": false
  7647. },
  7648. {
  7649. "freeze": true,
  7650. "refKey": "defName",
  7651. "hideInGraph": false
  7652. },
  7653. {
  7654. "freeze": false,
  7655. "refKey": "primaryKey",
  7656. "hideInGraph": false
  7657. },
  7658. {
  7659. "freeze": false,
  7660. "refKey": "notNull",
  7661. "hideInGraph": true
  7662. },
  7663. {
  7664. "freeze": false,
  7665. "refKey": "autoIncrement",
  7666. "hideInGraph": true
  7667. },
  7668. {
  7669. "freeze": false,
  7670. "refKey": "domain",
  7671. "hideInGraph": true
  7672. },
  7673. {
  7674. "freeze": false,
  7675. "refKey": "type",
  7676. "hideInGraph": false
  7677. },
  7678. {
  7679. "freeze": false,
  7680. "refKey": "len",
  7681. "hideInGraph": false
  7682. },
  7683. {
  7684. "freeze": false,
  7685. "refKey": "scale",
  7686. "hideInGraph": false
  7687. },
  7688. {
  7689. "freeze": false,
  7690. "refKey": "comment",
  7691. "hideInGraph": true
  7692. },
  7693. {
  7694. "freeze": false,
  7695. "refKey": "refDict",
  7696. "hideInGraph": true
  7697. },
  7698. {
  7699. "freeze": false,
  7700. "refKey": "defaultValue",
  7701. "hideInGraph": true
  7702. },
  7703. {
  7704. "freeze": false,
  7705. "refKey": "isStandard",
  7706. "hideInGraph": false
  7707. },
  7708. {
  7709. "freeze": false,
  7710. "refKey": "uiHint",
  7711. "hideInGraph": true
  7712. },
  7713. {
  7714. "freeze": false,
  7715. "refKey": "extProps",
  7716. "hideInGraph": true
  7717. }
  7718. ],
  7719. "correlations": []
  7720. },
  7721. {
  7722. "id": "323C2CE9-EC06-4BD2-B0FB-A2CD69461990",
  7723. "defKey": "budget_price",
  7724. "defName": "预算价格",
  7725. "comment": "",
  7726. "properties": {},
  7727. "fields": [
  7728. {
  7729. "defKey": "id",
  7730. "defName": "主键",
  7731. "comment": "",
  7732. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  7733. "type": "",
  7734. "len": "",
  7735. "scale": "",
  7736. "primaryKey": true,
  7737. "notNull": true,
  7738. "autoIncrement": true,
  7739. "defaultValue": "",
  7740. "hideInGraph": false,
  7741. "refDict": "",
  7742. "attr1": "",
  7743. "attr2": "",
  7744. "attr3": "",
  7745. "attr4": "",
  7746. "attr5": "",
  7747. "attr6": "",
  7748. "attr7": "",
  7749. "attr8": "",
  7750. "attr9": "",
  7751. "id": "5E5BF2CD-20B9-400E-A63A-814CB1F0241A",
  7752. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  7753. "extProps": {},
  7754. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7755. },
  7756. {
  7757. "defKey": "year",
  7758. "defName": "年份",
  7759. "comment": "",
  7760. "domain": "",
  7761. "type": "VARCHAR",
  7762. "len": 10,
  7763. "scale": "",
  7764. "primaryKey": true,
  7765. "notNull": true,
  7766. "autoIncrement": false,
  7767. "defaultValue": "",
  7768. "hideInGraph": false,
  7769. "refDict": "",
  7770. "attr1": "",
  7771. "attr2": "",
  7772. "attr3": "",
  7773. "attr4": "",
  7774. "attr5": "",
  7775. "attr6": "",
  7776. "attr7": "",
  7777. "attr8": "",
  7778. "attr9": "",
  7779. "id": "AB182AB8-DA55-4F0E-B960-9F7CA376C83D",
  7780. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7781. "extProps": {},
  7782. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7783. },
  7784. {
  7785. "defKey": "material_number",
  7786. "defName": "物料编码",
  7787. "comment": "",
  7788. "domain": "",
  7789. "type": "VARCHAR",
  7790. "len": 50,
  7791. "scale": "",
  7792. "primaryKey": true,
  7793. "notNull": true,
  7794. "autoIncrement": false,
  7795. "defaultValue": "",
  7796. "hideInGraph": false,
  7797. "refDict": "",
  7798. "attr1": "",
  7799. "attr2": "",
  7800. "attr3": "",
  7801. "attr4": "",
  7802. "attr5": "",
  7803. "attr6": "",
  7804. "attr7": "",
  7805. "attr8": "",
  7806. "attr9": "",
  7807. "id": "E1B8B6B0-029B-419E-9295-B34910327A54",
  7808. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7809. "extProps": {},
  7810. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7811. },
  7812. {
  7813. "defKey": "material_name",
  7814. "defName": "物料名称",
  7815. "comment": "",
  7816. "domain": "",
  7817. "type": "VARCHAR",
  7818. "len": 100,
  7819. "scale": "",
  7820. "primaryKey": false,
  7821. "notNull": false,
  7822. "autoIncrement": false,
  7823. "defaultValue": "",
  7824. "hideInGraph": false,
  7825. "refDict": "",
  7826. "attr1": "",
  7827. "attr2": "",
  7828. "attr3": "",
  7829. "attr4": "",
  7830. "attr5": "",
  7831. "attr6": "",
  7832. "attr7": "",
  7833. "attr8": "",
  7834. "attr9": "",
  7835. "id": "BD8BC0F2-D63D-4A73-A7A5-140AB1DCE269",
  7836. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7837. "extProps": {},
  7838. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7839. },
  7840. {
  7841. "defKey": "project_number",
  7842. "defName": "项目编号",
  7843. "comment": "",
  7844. "domain": "",
  7845. "type": "VARCHAR",
  7846. "len": 50,
  7847. "scale": "",
  7848. "primaryKey": true,
  7849. "notNull": true,
  7850. "autoIncrement": false,
  7851. "defaultValue": "",
  7852. "hideInGraph": false,
  7853. "refDict": "",
  7854. "attr1": "",
  7855. "attr2": "",
  7856. "attr3": "",
  7857. "attr4": "",
  7858. "attr5": "",
  7859. "attr6": "",
  7860. "attr7": "",
  7861. "attr8": "",
  7862. "attr9": "",
  7863. "id": "7C48BCED-216B-4E2C-9342-561BD0E1CE24",
  7864. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7865. "extProps": {},
  7866. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7867. },
  7868. {
  7869. "defKey": "price",
  7870. "defName": "预算价格",
  7871. "comment": "",
  7872. "domain": "",
  7873. "type": "DECIMAL",
  7874. "len": 10,
  7875. "scale": 2,
  7876. "primaryKey": false,
  7877. "notNull": false,
  7878. "autoIncrement": false,
  7879. "defaultValue": "",
  7880. "hideInGraph": false,
  7881. "refDict": "",
  7882. "attr1": "",
  7883. "attr2": "",
  7884. "attr3": "",
  7885. "attr4": "",
  7886. "attr5": "",
  7887. "attr6": "",
  7888. "attr7": "",
  7889. "attr8": "",
  7890. "attr9": "",
  7891. "id": "A48EEAA7-2DF6-434D-BC3E-FE2CBD0B497C",
  7892. "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  7893. "extProps": {},
  7894. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7895. },
  7896. {
  7897. "defKey": "dwerk",
  7898. "defName": "",
  7899. "comment": "",
  7900. "domain": "",
  7901. "type": "VARCHAR",
  7902. "len": 50,
  7903. "scale": "",
  7904. "primaryKey": false,
  7905. "notNull": false,
  7906. "autoIncrement": false,
  7907. "defaultValue": "",
  7908. "hideInGraph": false,
  7909. "refDict": "",
  7910. "attr1": "",
  7911. "attr2": "",
  7912. "attr3": "",
  7913. "attr4": "",
  7914. "attr5": "",
  7915. "attr6": "",
  7916. "attr7": "",
  7917. "attr8": "",
  7918. "attr9": "",
  7919. "id": "CACFDE10-1CC4-4CF3-B0D3-1EB5DF7FA1CD",
  7920. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7921. "extProps": {},
  7922. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7923. },
  7924. {
  7925. "defKey": "posid",
  7926. "defName": "",
  7927. "comment": "",
  7928. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  7929. "type": "",
  7930. "len": "",
  7931. "scale": "",
  7932. "primaryKey": false,
  7933. "notNull": false,
  7934. "autoIncrement": false,
  7935. "defaultValue": "",
  7936. "hideInGraph": false,
  7937. "refDict": "",
  7938. "attr1": "",
  7939. "attr2": "",
  7940. "attr3": "",
  7941. "attr4": "",
  7942. "attr5": "",
  7943. "attr6": "",
  7944. "attr7": "",
  7945. "attr8": "",
  7946. "attr9": "",
  7947. "id": "5E78CCC6-5443-444F-8C0F-CD7493897B6A",
  7948. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  7949. "extProps": {},
  7950. "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
  7951. }
  7952. ],
  7953. "indexes": [],
  7954. "sysProps": {
  7955. "nameTemplate": "{defKey}[{defName}]"
  7956. },
  7957. "headers": [
  7958. {
  7959. "freeze": false,
  7960. "refKey": "hideInGraph",
  7961. "hideInGraph": true
  7962. },
  7963. {
  7964. "freeze": true,
  7965. "refKey": "defKey",
  7966. "hideInGraph": false
  7967. },
  7968. {
  7969. "freeze": true,
  7970. "refKey": "defName",
  7971. "hideInGraph": false
  7972. },
  7973. {
  7974. "freeze": false,
  7975. "refKey": "primaryKey",
  7976. "hideInGraph": false
  7977. },
  7978. {
  7979. "freeze": false,
  7980. "refKey": "notNull",
  7981. "hideInGraph": true
  7982. },
  7983. {
  7984. "freeze": false,
  7985. "refKey": "autoIncrement",
  7986. "hideInGraph": true
  7987. },
  7988. {
  7989. "freeze": false,
  7990. "refKey": "domain",
  7991. "hideInGraph": true
  7992. },
  7993. {
  7994. "freeze": false,
  7995. "refKey": "type",
  7996. "hideInGraph": false
  7997. },
  7998. {
  7999. "freeze": false,
  8000. "refKey": "len",
  8001. "hideInGraph": false
  8002. },
  8003. {
  8004. "freeze": false,
  8005. "refKey": "scale",
  8006. "hideInGraph": false
  8007. },
  8008. {
  8009. "freeze": false,
  8010. "refKey": "comment",
  8011. "hideInGraph": true
  8012. },
  8013. {
  8014. "freeze": false,
  8015. "refKey": "refDict",
  8016. "hideInGraph": true
  8017. },
  8018. {
  8019. "freeze": false,
  8020. "refKey": "defaultValue",
  8021. "hideInGraph": true
  8022. },
  8023. {
  8024. "freeze": false,
  8025. "refKey": "isStandard",
  8026. "hideInGraph": false
  8027. },
  8028. {
  8029. "freeze": false,
  8030. "refKey": "uiHint",
  8031. "hideInGraph": true
  8032. },
  8033. {
  8034. "freeze": false,
  8035. "refKey": "extProps",
  8036. "hideInGraph": true
  8037. }
  8038. ],
  8039. "correlations": []
  8040. }
  8041. ],
  8042. "views": [],
  8043. "dicts": [
  8044. {
  8045. "defKey": "Gender",
  8046. "defName": "性别",
  8047. "intro": "",
  8048. "items": [
  8049. {
  8050. "defKey": "M",
  8051. "defName": "男",
  8052. "intro": "",
  8053. "parentKey": "",
  8054. "enabled": true,
  8055. "attr1": "",
  8056. "attr2": "",
  8057. "attr3": "",
  8058. "sort": "1",
  8059. "id": "3622D417-DA1A-408F-BEE1-11D328D534A0"
  8060. },
  8061. {
  8062. "defKey": "F",
  8063. "defName": "女",
  8064. "intro": "",
  8065. "parentKey": "",
  8066. "enabled": true,
  8067. "attr1": "",
  8068. "attr2": "",
  8069. "attr3": "",
  8070. "sort": "2",
  8071. "id": "380A0790-64A7-481E-831C-32F7BEE1502B"
  8072. },
  8073. {
  8074. "defKey": "U",
  8075. "defName": "未知",
  8076. "intro": "",
  8077. "parentKey": "",
  8078. "enabled": true,
  8079. "attr1": "",
  8080. "attr2": "",
  8081. "attr3": "",
  8082. "sort": "3",
  8083. "id": "FA239F4D-1276-40D9-B230-F66BD35C3C27"
  8084. }
  8085. ],
  8086. "id": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D"
  8087. },
  8088. {
  8089. "defKey": "Political",
  8090. "defName": "政治面貌",
  8091. "intro": "",
  8092. "items": [
  8093. {
  8094. "defKey": "10",
  8095. "defName": "共青团员",
  8096. "intro": "",
  8097. "parentKey": "",
  8098. "enabled": true,
  8099. "attr1": "",
  8100. "attr2": "",
  8101. "attr3": "",
  8102. "id": "61F3145A-7599-4CCB-B298-D5EE788107BE"
  8103. },
  8104. {
  8105. "defKey": "20",
  8106. "defName": "中共党员",
  8107. "intro": "",
  8108. "parentKey": "",
  8109. "enabled": true,
  8110. "attr1": "",
  8111. "attr2": "",
  8112. "attr3": "",
  8113. "id": "ED16D25A-AB2F-4FA0-BB48-2B9031FA28C4"
  8114. },
  8115. {
  8116. "defKey": "30",
  8117. "defName": "民主党派",
  8118. "intro": "",
  8119. "parentKey": "",
  8120. "enabled": true,
  8121. "attr1": "",
  8122. "attr2": "",
  8123. "attr3": "",
  8124. "id": "0FB7974A-AE11-438F-86E0-B163316F9272"
  8125. },
  8126. {
  8127. "defKey": "40",
  8128. "defName": "群众",
  8129. "intro": "",
  8130. "parentKey": "",
  8131. "enabled": true,
  8132. "attr1": "",
  8133. "attr2": "",
  8134. "attr3": "",
  8135. "id": "7D247234-7E97-45B1-8C56-4A17A370854A"
  8136. },
  8137. {
  8138. "defKey": "90",
  8139. "defName": "未知",
  8140. "intro": "",
  8141. "parentKey": "",
  8142. "enabled": true,
  8143. "attr1": "",
  8144. "attr2": "",
  8145. "attr3": "",
  8146. "id": "DA65D752-AF04-4A11-81D8-14A38692A64A"
  8147. }
  8148. ],
  8149. "id": "06EED564-BBA9-4747-8D73-AF809A330CB8"
  8150. },
  8151. {
  8152. "defKey": "Marital",
  8153. "defName": "婚姻状况",
  8154. "intro": "婚姻状况的码表",
  8155. "items": [
  8156. {
  8157. "defKey": "UNMARRIED",
  8158. "defName": "未婚",
  8159. "intro": "",
  8160. "parentKey": "",
  8161. "enabled": true,
  8162. "attr1": "",
  8163. "attr2": "",
  8164. "attr3": "",
  8165. "sort": "1",
  8166. "id": "20EE81BC-74EE-47DA-A56F-9663B23F44BD"
  8167. },
  8168. {
  8169. "defKey": "MARRIED",
  8170. "defName": "已婚",
  8171. "intro": "",
  8172. "parentKey": "",
  8173. "enabled": true,
  8174. "attr1": "",
  8175. "attr2": "",
  8176. "attr3": "",
  8177. "sort": "2",
  8178. "id": "4DCA10A8-417E-4A8D-BDF6-0A278C060ADC"
  8179. },
  8180. {
  8181. "defKey": "WIDOWED",
  8182. "defName": "丧偶",
  8183. "intro": "",
  8184. "parentKey": "",
  8185. "enabled": true,
  8186. "attr1": "",
  8187. "attr2": "",
  8188. "attr3": "",
  8189. "sort": "3",
  8190. "id": "826062A7-057C-4892-B338-06459F5B808D"
  8191. },
  8192. {
  8193. "defKey": "DIVORCE",
  8194. "defName": "离婚",
  8195. "intro": "",
  8196. "parentKey": "",
  8197. "enabled": true,
  8198. "attr1": "",
  8199. "attr2": "",
  8200. "attr3": "",
  8201. "sort": "4",
  8202. "id": "B23200B4-5E59-4F5E-A779-D981A040FA32"
  8203. },
  8204. {
  8205. "defKey": "UNSPECIFIED",
  8206. "defName": "未说明",
  8207. "intro": "",
  8208. "parentKey": "",
  8209. "enabled": true,
  8210. "attr1": "",
  8211. "attr2": "",
  8212. "attr3": "",
  8213. "sort": "5",
  8214. "id": "A7928FE2-349A-4702-9682-2EF7205E077B"
  8215. }
  8216. ],
  8217. "id": "EA1587B7-3954-437A-BFE0-FCB0453BCABA"
  8218. },
  8219. {
  8220. "defKey": "StudentStatus",
  8221. "defName": "学生状态",
  8222. "intro": "",
  8223. "items": [
  8224. {
  8225. "defKey": "Normal",
  8226. "defName": "正常",
  8227. "intro": "",
  8228. "parentKey": "",
  8229. "enabled": true,
  8230. "attr1": "",
  8231. "attr2": "",
  8232. "attr3": "",
  8233. "sort": "1",
  8234. "id": "E9CA1CC9-8851-4F6B-86BA-B9CF0E44EB73"
  8235. },
  8236. {
  8237. "defKey": "Graduated",
  8238. "defName": "毕业",
  8239. "intro": "",
  8240. "parentKey": "",
  8241. "enabled": true,
  8242. "attr1": "",
  8243. "attr2": "",
  8244. "attr3": "",
  8245. "sort": "2",
  8246. "id": "DEC51D7C-99DF-430C-817D-0499862D3CCC"
  8247. },
  8248. {
  8249. "defKey": "Studied",
  8250. "defName": "肄业",
  8251. "intro": "",
  8252. "parentKey": "",
  8253. "enabled": true,
  8254. "attr1": "",
  8255. "attr2": "",
  8256. "attr3": "",
  8257. "sort": "3",
  8258. "id": "8853D6B6-75D3-4479-9006-FC731CD85B20"
  8259. },
  8260. {
  8261. "defKey": "Stop",
  8262. "defName": "休学",
  8263. "intro": "",
  8264. "parentKey": "",
  8265. "enabled": true,
  8266. "attr1": "",
  8267. "attr2": "",
  8268. "attr3": "",
  8269. "sort": "4",
  8270. "id": "C74BA8CF-1DC6-4C79-BAAC-F11EB9C6AF01"
  8271. }
  8272. ],
  8273. "id": "4642BC5F-02EE-4E17-A60C-CF22F86A0282"
  8274. },
  8275. {
  8276. "defKey": "GBNation",
  8277. "defName": "民族",
  8278. "intro": "",
  8279. "items": [
  8280. {
  8281. "defKey": "01",
  8282. "defName": "汉族",
  8283. "intro": "",
  8284. "parentKey": "",
  8285. "enabled": true,
  8286. "attr1": "",
  8287. "attr2": "",
  8288. "attr3": "",
  8289. "id": "9224DF53-F7C0-447D-B8ED-0A39F799EE19"
  8290. },
  8291. {
  8292. "defKey": "02",
  8293. "defName": "蒙古族",
  8294. "intro": "",
  8295. "parentKey": "",
  8296. "enabled": true,
  8297. "attr1": "",
  8298. "attr2": "",
  8299. "attr3": "",
  8300. "id": "D57818E3-9206-45BB-AE79-27C64A4AB80F"
  8301. },
  8302. {
  8303. "defKey": "03",
  8304. "defName": "回族",
  8305. "intro": "",
  8306. "parentKey": "",
  8307. "enabled": true,
  8308. "attr1": "",
  8309. "attr2": "",
  8310. "attr3": "",
  8311. "id": "0A1A3CA9-6D68-4E15-8BD0-9A2FF428D804"
  8312. },
  8313. {
  8314. "defKey": "04",
  8315. "defName": "藏族",
  8316. "intro": "",
  8317. "parentKey": "",
  8318. "enabled": true,
  8319. "attr1": "",
  8320. "attr2": "",
  8321. "attr3": "",
  8322. "id": "7CC6B6BE-47EA-460E-ACFA-C377468DEA11"
  8323. },
  8324. {
  8325. "defKey": "05",
  8326. "defName": "维吾尔族",
  8327. "intro": "",
  8328. "parentKey": "",
  8329. "enabled": true,
  8330. "attr1": "",
  8331. "attr2": "",
  8332. "attr3": "",
  8333. "id": "A666D51F-D249-4FAC-B1F3-78C371836CB3"
  8334. },
  8335. {
  8336. "defKey": "06",
  8337. "defName": "苗族",
  8338. "intro": "",
  8339. "parentKey": "",
  8340. "enabled": true,
  8341. "attr1": "",
  8342. "attr2": "",
  8343. "attr3": "",
  8344. "id": "A0C9E1BA-D87B-4695-ADFA-287FDA32BB5A"
  8345. },
  8346. {
  8347. "defKey": "07",
  8348. "defName": "彝族",
  8349. "intro": "",
  8350. "parentKey": "",
  8351. "enabled": true,
  8352. "attr1": "",
  8353. "attr2": "",
  8354. "attr3": "",
  8355. "id": "149B5B9E-C1D1-4790-8CCF-0ED5F4B25172"
  8356. },
  8357. {
  8358. "defKey": "08",
  8359. "defName": "壮族",
  8360. "intro": "",
  8361. "parentKey": "",
  8362. "enabled": true,
  8363. "attr1": "",
  8364. "attr2": "",
  8365. "attr3": "",
  8366. "id": "F9A3E65C-BF4D-4C6B-ADB7-8C9CF0487360"
  8367. },
  8368. {
  8369. "defKey": "09",
  8370. "defName": "布依族",
  8371. "intro": "",
  8372. "parentKey": "",
  8373. "enabled": true,
  8374. "attr1": "",
  8375. "attr2": "",
  8376. "attr3": "",
  8377. "id": "14F17DE4-E96A-460B-98A6-F84EC8CF9885"
  8378. },
  8379. {
  8380. "defKey": "10",
  8381. "defName": "朝鲜族",
  8382. "intro": "",
  8383. "parentKey": "",
  8384. "enabled": true,
  8385. "attr1": "",
  8386. "attr2": "",
  8387. "attr3": "",
  8388. "id": "8A81AB18-B1BF-4797-A6E5-DEDB2C6566B0"
  8389. },
  8390. {
  8391. "defKey": "11",
  8392. "defName": "满族",
  8393. "intro": "",
  8394. "parentKey": "",
  8395. "enabled": true,
  8396. "attr1": "",
  8397. "attr2": "",
  8398. "attr3": "",
  8399. "id": "7D460947-FBD2-4E4D-8366-3B38DCAF09D1"
  8400. }
  8401. ],
  8402. "id": "115EDEFC-0323-410E-81AB-CCAB8879837A"
  8403. },
  8404. {
  8405. "defKey": "GradeLevel",
  8406. "defName": "受教育程度",
  8407. "sort": "",
  8408. "intro": "",
  8409. "items": [],
  8410. "id": "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
  8411. }
  8412. ],
  8413. "viewGroups": [
  8414. {
  8415. "defKey": "base",
  8416. "defName": "基础数据维护",
  8417. "refEntities": [
  8418. "65E2E950-34BE-49A8-98A3-9EB13E974B8F",
  8419. "FDB6475C-445C-40D7-A2E7-AE1392BD75D7",
  8420. "7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49",
  8421. "236F8414-6100-429D-8DEC-A223B0BDA052",
  8422. "BC5A6F14-212E-45C2-9D41-DC1F439AC619",
  8423. "4438394B-60D7-4566-91D1-4A14E2E16314",
  8424. "9D89F846-66FC-42B0-B655-7083874263E1",
  8425. "38DC4808-C376-4C0A-9E1D-9BE756B68A7D",
  8426. "323C2CE9-EC06-4BD2-B0FB-A2CD69461990",
  8427. "15372773-A008-4A5F-B23E-75E100F99B47"
  8428. ],
  8429. "refViews": [],
  8430. "refDiagrams": [],
  8431. "refDicts": [
  8432. "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
  8433. "06EED564-BBA9-4747-8D73-AF809A330CB8",
  8434. "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
  8435. "4642BC5F-02EE-4E17-A60C-CF22F86A0282",
  8436. "115EDEFC-0323-410E-81AB-CCAB8879837A",
  8437. "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
  8438. ],
  8439. "id": "2DA923AD-EB8E-4D32-BBCE-E3781E01B9F0",
  8440. "refLogicEntities": []
  8441. },
  8442. {
  8443. "defKey": "sap",
  8444. "defName": "SAP导出数据",
  8445. "refEntities": [
  8446. "0C137DAC-F352-41FC-83D4-852123619E5C",
  8447. "1271309E-2310-435D-B129-DC3F72BBA013",
  8448. "7D1DEA8A-7373-4659-B1A7-B0E72416EDA7",
  8449. "7891EB10-2F25-42A4-AC94-980756D9F709"
  8450. ],
  8451. "refViews": [],
  8452. "refDiagrams": [],
  8453. "refDicts": [],
  8454. "id": "65FC6BC3-1799-4797-BFFD-24BAAFBABC21",
  8455. "refLogicEntities": []
  8456. },
  8457. {
  8458. "defKey": "cost",
  8459. "defName": "卷积",
  8460. "refEntities": [],
  8461. "refViews": [],
  8462. "refDiagrams": [],
  8463. "refDicts": [],
  8464. "id": "401851EF-F256-40D3-87FD-420C871DEFFF",
  8465. "refLogicEntities": []
  8466. },
  8467. {
  8468. "defKey": "cost-compare",
  8469. "defName": "成本对比",
  8470. "refEntities": [],
  8471. "refViews": [],
  8472. "refDiagrams": [],
  8473. "refDicts": [],
  8474. "id": "78EA1BE7-E8DA-4B0C-8EA3-6930F9D08558",
  8475. "refLogicEntities": []
  8476. },
  8477. {
  8478. "defKey": "excavate",
  8479. "defName": "成本挖掘",
  8480. "refEntities": [],
  8481. "refViews": [],
  8482. "refDiagrams": [],
  8483. "refDicts": [],
  8484. "id": "8C87C2BA-BBDF-43A2-A8D6-0E35AE171A35",
  8485. "refLogicEntities": []
  8486. }
  8487. ],
  8488. "dataTypeMapping": {
  8489. "referURL": "",
  8490. "mappings": [
  8491. {
  8492. "defKey": "string",
  8493. "id": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8494. "defName": "字串",
  8495. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "VARCHAR",
  8496. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "VARCHAR2",
  8497. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARCHAR",
  8498. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "VARCHAR",
  8499. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "VARCHAR",
  8500. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "VARCHAR2",
  8501. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "VARCHAR",
  8502. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "VARCHAR",
  8503. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
  8504. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
  8505. "797A1496-D649-4261-89B4-544132EC3F36": "String",
  8506. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
  8507. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
  8508. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
  8509. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
  8510. "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
  8511. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
  8512. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "VARCHAR",
  8513. "483F9346-C99E-4014-A1D2-A554606BD8A3": "VARCHAR",
  8514. "ABF5836C-0B7C-4007-A41C-F869325E5842": "VARCHAR"
  8515. },
  8516. {
  8517. "defKey": "double",
  8518. "id": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8519. "defName": "小数",
  8520. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DECIMAL",
  8521. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DECIMAL",
  8522. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DECIMAL",
  8523. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "NUMERIC",
  8524. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DECIMAL",
  8525. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DECIMAL",
  8526. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "NUMERIC",
  8527. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "NUMERIC",
  8528. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DOUBLE",
  8529. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "REAL",
  8530. "797A1496-D649-4261-89B4-544132EC3F36": "Double",
  8531. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Double",
  8532. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Double",
  8533. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "decimal",
  8534. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "double",
  8535. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*float64",
  8536. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "f64",
  8537. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DECIMAL",
  8538. "483F9346-C99E-4014-A1D2-A554606BD8A3": "DECIMAL",
  8539. "ABF5836C-0B7C-4007-A41C-F869325E5842": "NUMERIC"
  8540. },
  8541. {
  8542. "defKey": "int",
  8543. "id": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  8544. "defName": "整数",
  8545. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "INT",
  8546. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "INT",
  8547. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "INT",
  8548. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "INTEGER",
  8549. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "INT",
  8550. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "INTEGER",
  8551. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "INTEGER",
  8552. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "INT4",
  8553. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "INT",
  8554. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "INTEGER",
  8555. "797A1496-D649-4261-89B4-544132EC3F36": "Integer",
  8556. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Integer",
  8557. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Integer",
  8558. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "float",
  8559. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "int",
  8560. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*int",
  8561. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "i32",
  8562. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "INTEGER",
  8563. "483F9346-C99E-4014-A1D2-A554606BD8A3": "INT",
  8564. "ABF5836C-0B7C-4007-A41C-F869325E5842": "INTEGER"
  8565. },
  8566. {
  8567. "defKey": "date",
  8568. "id": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  8569. "defName": "日期",
  8570. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DATETIME",
  8571. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DATE",
  8572. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DATETIME",
  8573. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TIMESTAMP",
  8574. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DATE",
  8575. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DATE",
  8576. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "DATE",
  8577. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "DATE",
  8578. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DATETIME",
  8579. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NUMERIC",
  8580. "797A1496-D649-4261-89B4-544132EC3F36": "Date",
  8581. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Date",
  8582. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Date",
  8583. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "DateTime",
  8584. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "timestamp",
  8585. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*time.Time",
  8586. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "DateTime<Local>",
  8587. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DATE",
  8588. "483F9346-C99E-4014-A1D2-A554606BD8A3": "DATETIME",
  8589. "ABF5836C-0B7C-4007-A41C-F869325E5842": "DATE"
  8590. },
  8591. {
  8592. "defKey": "bytes",
  8593. "id": "D516E75B-90F5-4741-B9B3-A186A263F04C",
  8594. "defName": "二进制",
  8595. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "BLOB",
  8596. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "BLOB",
  8597. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARBINARY",
  8598. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "BYTEA",
  8599. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "BLOB",
  8600. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "BLOB",
  8601. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "BYTEA",
  8602. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "BYTEA",
  8603. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "BINARY",
  8604. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NONE",
  8605. "797A1496-D649-4261-89B4-544132EC3F36": "byte[]",
  8606. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "byte[]",
  8607. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "byte[]",
  8608. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "binary",
  8609. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "binary",
  8610. "B91D99E0-9B7C-416C-8737-B760957DAF09": "[]byte",
  8611. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "BYTE",
  8612. "ABF5836C-0B7C-4007-A41C-F869325E5842": "BYTEA"
  8613. },
  8614. {
  8615. "defKey": "largeText",
  8616. "id": "B17BDED3-085F-40E1-9019-3B79CF2BF075",
  8617. "defName": "大文本",
  8618. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "TEXT",
  8619. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "CLOB",
  8620. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "TEXT",
  8621. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TEXT",
  8622. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "CLOB",
  8623. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "CLOB",
  8624. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "TEXT",
  8625. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "TEXT",
  8626. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
  8627. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
  8628. "797A1496-D649-4261-89B4-544132EC3F36": "String",
  8629. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
  8630. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
  8631. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
  8632. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
  8633. "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
  8634. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
  8635. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "TEXT",
  8636. "483F9346-C99E-4014-A1D2-A554606BD8A3": "STRING",
  8637. "ABF5836C-0B7C-4007-A41C-F869325E5842": "TEXT"
  8638. }
  8639. ]
  8640. },
  8641. "domains": [
  8642. {
  8643. "defKey": "DefaultString",
  8644. "defName": "默认字串",
  8645. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8646. "len": 255,
  8647. "scale": "",
  8648. "uiHint": "",
  8649. "id": "9092C4E0-1A54-4859-ABBB-5B62DBC27573"
  8650. },
  8651. {
  8652. "defKey": "IdOrKey",
  8653. "defName": "主键标识",
  8654. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8655. "len": 32,
  8656. "scale": "",
  8657. "uiHint": "",
  8658. "id": "16120F75-6AA7-4483-868D-F07F511BB081"
  8659. },
  8660. {
  8661. "defKey": "Name",
  8662. "defName": "名称",
  8663. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8664. "len": 90,
  8665. "scale": "",
  8666. "uiHint": "",
  8667. "id": "54611CCC-CA4B-42E1-9F32-4944C85B85A6"
  8668. },
  8669. {
  8670. "defKey": "Int",
  8671. "defName": "整数",
  8672. "applyFor": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  8673. "len": "",
  8674. "scale": "",
  8675. "uiHint": "",
  8676. "id": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E"
  8677. },
  8678. {
  8679. "defKey": "Double",
  8680. "defName": "小数",
  8681. "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8682. "len": 24,
  8683. "scale": 6,
  8684. "uiHint": "",
  8685. "id": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4"
  8686. },
  8687. {
  8688. "defKey": "Money",
  8689. "defName": "金额",
  8690. "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8691. "len": 24,
  8692. "scale": 6,
  8693. "uiHint": "",
  8694. "id": "C3B1681B-99F9-4818-9E80-DE1652A51D85"
  8695. },
  8696. {
  8697. "defKey": "DateTime",
  8698. "defName": "日期时间",
  8699. "applyFor": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  8700. "len": "",
  8701. "scale": "",
  8702. "uiHint": "",
  8703. "id": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC"
  8704. },
  8705. {
  8706. "defKey": "YesNo",
  8707. "defName": "是否",
  8708. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8709. "len": "1",
  8710. "scale": "",
  8711. "uiHint": "",
  8712. "id": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF"
  8713. },
  8714. {
  8715. "defKey": "Dict",
  8716. "defName": "数据字典",
  8717. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8718. "len": "32",
  8719. "scale": "",
  8720. "uiHint": "",
  8721. "id": "73FD2BAD-2358-4336-B96D-45DC897BD792"
  8722. },
  8723. {
  8724. "defKey": "DescText",
  8725. "defName": "描述文本",
  8726. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8727. "len": "900",
  8728. "scale": "",
  8729. "uiHint": "",
  8730. "id": "3E948CEC-3070-472C-AF92-F3CA11EC9D15"
  8731. }
  8732. ],
  8733. "diagrams": [
  8734. {
  8735. "defKey": "1逻辑模型",
  8736. "defName": "",
  8737. "relationType": "field",
  8738. "canvasData": {
  8739. "cells": [
  8740. {
  8741. "id": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  8742. "shape": "group",
  8743. "position": {
  8744. "x": -320,
  8745. "y": 460
  8746. },
  8747. "label": "### 界面与表关系图",
  8748. "size": {
  8749. "width": 2790,
  8750. "height": 2370
  8751. },
  8752. "children": [
  8753. "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  8754. "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  8755. "50255b65-de6e-4032-b606-58482a662442",
  8756. "71e702a2-681a-453f-a15e-30ff10e3b439",
  8757. "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  8758. "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  8759. "ff5515d5-21a9-4272-86b2-c984273febc1",
  8760. "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  8761. "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  8762. "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  8763. "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  8764. "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
  8765. "d97d6f07-8365-40ab-bde8-34511452e62f",
  8766. "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  8767. "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  8768. "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  8769. "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  8770. "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  8771. "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
  8772. "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
  8773. "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  8774. "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  8775. "764cbe48-4a33-4752-94a9-67bda1226718",
  8776. "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  8777. "06ca758c-3187-47bd-8136-ca10dd94640b",
  8778. "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
  8779. "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
  8780. "06ca758c-3187-47bd-8136-ca10dd94640b",
  8781. "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  8782. "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  8783. "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  8784. "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  8785. "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  8786. "7b27855a-7467-439b-b846-fb7a369f80ae",
  8787. "f2344237-4b72-4042-a531-097f8f467b64",
  8788. "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  8789. "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  8790. "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  8791. "ff5515d5-21a9-4272-86b2-c984273febc1",
  8792. "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  8793. "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  8794. "50255b65-de6e-4032-b606-58482a662442",
  8795. "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  8796. "54f3478c-85b5-4b98-8c68-332a9a037140",
  8797. "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  8798. "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  8799. "bd3bbe46-89e6-43dc-a1a0-59968252238d",
  8800. "14913b43-5f56-45c0-8a8b-128685ae8831",
  8801. "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  8802. "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  8803. "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
  8804. "b27fbbab-850d-4577-bd84-dfec38412d43",
  8805. "b82b944c-8659-4720-b69e-e6e066b53882",
  8806. "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  8807. "9a99fd26-86c6-42b3-9fe1-5380d3314003",
  8808. "4e142b26-fa22-4806-aee3-7b598f1eaede",
  8809. "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
  8810. "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  8811. "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  8812. "35690dd6-bb9b-44bd-95cb-60ba826eb886",
  8813. "7450b679-24ae-438a-94d9-3619edf7d17b",
  8814. "26caad8d-227c-4985-a343-e647e69c682e",
  8815. "f5f60922-9d66-4f92-9a70-11c6cce0e702",
  8816. "339ae80b-97a9-47d5-a701-742796f5143e",
  8817. "3623f1fd-62e0-4004-a07c-61e6c35c15fc",
  8818. "36e0a409-a617-465a-bd82-435826d7af9b",
  8819. "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
  8820. "11267869-dc5a-411d-b763-fc0ad08db8a6",
  8821. "5278e0a2-f809-4023-b439-b35ae083a325",
  8822. "80e84e01-fbda-4caf-a016-eae9c69aea5f"
  8823. ]
  8824. },
  8825. {
  8826. "id": "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
  8827. "link": "{\"type\":\"internally\",\"value\":\"7891EB10-2F25-42A4-AC94-980756D9F709\"}",
  8828. "shape": "edit-node",
  8829. "position": {
  8830. "x": 615.0000000000198,
  8831. "y": 1759.9999999999955
  8832. },
  8833. "label": "### 产品工序\n---\n工厂代码\n自制料号(?)\n工艺路线号\n序号\n工序名称\n成本中心代码\n成本中心名称\n人工工时\n人工费率\n设备工时\n设备费率\n燃动工时\n燃动费率\n辅料工时\n辅料费率\n其他工时\n其他费率\n版本(?)",
  8834. "fillColor": "rgb(117, 190, 250)",
  8835. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  8836. "size": {
  8837. "width": 200,
  8838. "height": 360
  8839. },
  8840. "ports": {
  8841. "groups": {
  8842. "in": {
  8843. "attrs": {
  8844. "fo": {
  8845. "width": 8,
  8846. "height": 8,
  8847. "x": -4,
  8848. "y": -4,
  8849. "magnet": "true",
  8850. "style": {
  8851. "visibility": "hidden"
  8852. }
  8853. }
  8854. },
  8855. "zIndex": 3,
  8856. "position": {
  8857. "name": "left"
  8858. }
  8859. },
  8860. "out": {
  8861. "attrs": {
  8862. "fo": {
  8863. "width": 8,
  8864. "height": 8,
  8865. "x": -4,
  8866. "y": -4,
  8867. "magnet": "true",
  8868. "style": {
  8869. "visibility": "hidden"
  8870. }
  8871. }
  8872. },
  8873. "zIndex": 3,
  8874. "position": {
  8875. "name": "right"
  8876. }
  8877. },
  8878. "top": {
  8879. "attrs": {
  8880. "fo": {
  8881. "width": 8,
  8882. "height": 8,
  8883. "x": -4,
  8884. "y": -4,
  8885. "magnet": "true",
  8886. "style": {
  8887. "visibility": "hidden"
  8888. }
  8889. }
  8890. },
  8891. "zIndex": 3,
  8892. "position": {
  8893. "name": "top"
  8894. }
  8895. },
  8896. "bottom": {
  8897. "attrs": {
  8898. "fo": {
  8899. "width": 8,
  8900. "height": 8,
  8901. "x": -4,
  8902. "y": -4,
  8903. "magnet": "true",
  8904. "style": {
  8905. "visibility": "hidden"
  8906. }
  8907. }
  8908. },
  8909. "zIndex": 3,
  8910. "position": {
  8911. "name": "bottom"
  8912. }
  8913. }
  8914. },
  8915. "items": [
  8916. {
  8917. "group": "in",
  8918. "id": "in"
  8919. },
  8920. {
  8921. "group": "in",
  8922. "id": "in2"
  8923. },
  8924. {
  8925. "group": "in",
  8926. "id": "in3"
  8927. },
  8928. {
  8929. "group": "out",
  8930. "id": "out"
  8931. },
  8932. {
  8933. "group": "out",
  8934. "id": "out2"
  8935. },
  8936. {
  8937. "group": "out",
  8938. "id": "out3"
  8939. },
  8940. {
  8941. "group": "top",
  8942. "id": "top"
  8943. },
  8944. {
  8945. "group": "top",
  8946. "id": "top2"
  8947. },
  8948. {
  8949. "group": "top",
  8950. "id": "top3"
  8951. },
  8952. {
  8953. "group": "bottom",
  8954. "id": "bottom"
  8955. },
  8956. {
  8957. "group": "bottom",
  8958. "id": "bottom2"
  8959. },
  8960. {
  8961. "group": "bottom",
  8962. "id": "bottom3"
  8963. },
  8964. {
  8965. "id": "in4",
  8966. "group": "in"
  8967. },
  8968. {
  8969. "id": "bottom4",
  8970. "group": "bottom"
  8971. }
  8972. ]
  8973. }
  8974. },
  8975. {
  8976. "id": "d97d6f07-8365-40ab-bde8-34511452e62f",
  8977. "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
  8978. "shape": "edit-node",
  8979. "position": {
  8980. "x": 390.00000000001955,
  8981. "y": 1759.9999999999955
  8982. },
  8983. "label": "### 最近采购价\n---\nid\n工厂代号(工厂id)\n门控料号(?物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用\n维护人\n维护时间",
  8984. "fontColor": "#000000",
  8985. "fillColor": "rgb(117, 190, 250)",
  8986. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  8987. "size": {
  8988. "width": 180,
  8989. "height": 270
  8990. },
  8991. "ports": {
  8992. "groups": {
  8993. "in": {
  8994. "attrs": {
  8995. "fo": {
  8996. "width": 8,
  8997. "height": 8,
  8998. "x": -4,
  8999. "y": -4,
  9000. "magnet": "true",
  9001. "style": {
  9002. "visibility": "hidden"
  9003. }
  9004. }
  9005. },
  9006. "zIndex": 3,
  9007. "position": {
  9008. "name": "left"
  9009. }
  9010. },
  9011. "out": {
  9012. "attrs": {
  9013. "fo": {
  9014. "width": 8,
  9015. "height": 8,
  9016. "x": -4,
  9017. "y": -4,
  9018. "magnet": "true",
  9019. "style": {
  9020. "visibility": "hidden"
  9021. }
  9022. }
  9023. },
  9024. "zIndex": 3,
  9025. "position": {
  9026. "name": "right"
  9027. }
  9028. },
  9029. "top": {
  9030. "attrs": {
  9031. "fo": {
  9032. "width": 8,
  9033. "height": 8,
  9034. "x": -4,
  9035. "y": -4,
  9036. "magnet": "true",
  9037. "style": {
  9038. "visibility": "hidden"
  9039. }
  9040. }
  9041. },
  9042. "zIndex": 3,
  9043. "position": {
  9044. "name": "top"
  9045. }
  9046. },
  9047. "bottom": {
  9048. "attrs": {
  9049. "fo": {
  9050. "width": 8,
  9051. "height": 8,
  9052. "x": -4,
  9053. "y": -4,
  9054. "magnet": "true",
  9055. "style": {
  9056. "visibility": "hidden"
  9057. }
  9058. }
  9059. },
  9060. "zIndex": 3,
  9061. "position": {
  9062. "name": "bottom"
  9063. }
  9064. }
  9065. },
  9066. "items": [
  9067. {
  9068. "group": "in",
  9069. "id": "in"
  9070. },
  9071. {
  9072. "group": "in",
  9073. "id": "in2"
  9074. },
  9075. {
  9076. "group": "in",
  9077. "id": "in3"
  9078. },
  9079. {
  9080. "group": "out",
  9081. "id": "out"
  9082. },
  9083. {
  9084. "group": "out",
  9085. "id": "out2"
  9086. },
  9087. {
  9088. "group": "out",
  9089. "id": "out3"
  9090. },
  9091. {
  9092. "group": "top",
  9093. "id": "top"
  9094. },
  9095. {
  9096. "group": "top",
  9097. "id": "top2"
  9098. },
  9099. {
  9100. "group": "top",
  9101. "id": "top3"
  9102. },
  9103. {
  9104. "group": "bottom",
  9105. "id": "bottom"
  9106. },
  9107. {
  9108. "group": "bottom",
  9109. "id": "bottom2"
  9110. },
  9111. {
  9112. "group": "bottom",
  9113. "id": "bottom3"
  9114. },
  9115. {
  9116. "id": "in4",
  9117. "group": "in"
  9118. },
  9119. {
  9120. "id": "bottom4",
  9121. "group": "bottom"
  9122. }
  9123. ]
  9124. }
  9125. },
  9126. {
  9127. "id": "764cbe48-4a33-4752-94a9-67bda1226718",
  9128. "shape": "edit-node",
  9129. "position": {
  9130. "x": 370.0000000000198,
  9131. "y": 1190.0000000000061
  9132. },
  9133. "label": "### 成本挖掘任务结果\n---\nid\n任务id\n实际总成本\n标准总成本\n总差额\n差额比\n是否有传输过账\n报告状态\n",
  9134. "fillColor": "rgb(247, 151, 128)",
  9135. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9136. "size": {
  9137. "width": 130,
  9138. "height": 190
  9139. },
  9140. "ports": {
  9141. "groups": {
  9142. "in": {
  9143. "attrs": {
  9144. "fo": {
  9145. "width": 8,
  9146. "height": 8,
  9147. "x": -4,
  9148. "y": -4,
  9149. "magnet": "true",
  9150. "style": {
  9151. "visibility": "hidden"
  9152. }
  9153. }
  9154. },
  9155. "zIndex": 3,
  9156. "position": {
  9157. "name": "left"
  9158. }
  9159. },
  9160. "out": {
  9161. "attrs": {
  9162. "fo": {
  9163. "width": 8,
  9164. "height": 8,
  9165. "x": -4,
  9166. "y": -4,
  9167. "magnet": "true",
  9168. "style": {
  9169. "visibility": "hidden"
  9170. }
  9171. }
  9172. },
  9173. "zIndex": 3,
  9174. "position": {
  9175. "name": "right"
  9176. }
  9177. },
  9178. "top": {
  9179. "attrs": {
  9180. "fo": {
  9181. "width": 8,
  9182. "height": 8,
  9183. "x": -4,
  9184. "y": -4,
  9185. "magnet": "true",
  9186. "style": {
  9187. "visibility": "hidden"
  9188. }
  9189. }
  9190. },
  9191. "zIndex": 3,
  9192. "position": {
  9193. "name": "top"
  9194. }
  9195. },
  9196. "bottom": {
  9197. "attrs": {
  9198. "fo": {
  9199. "width": 8,
  9200. "height": 8,
  9201. "x": -4,
  9202. "y": -4,
  9203. "magnet": "true",
  9204. "style": {
  9205. "visibility": "hidden"
  9206. }
  9207. }
  9208. },
  9209. "zIndex": 3,
  9210. "position": {
  9211. "name": "bottom"
  9212. }
  9213. }
  9214. },
  9215. "items": [
  9216. {
  9217. "group": "in",
  9218. "id": "in"
  9219. },
  9220. {
  9221. "group": "in",
  9222. "id": "in2"
  9223. },
  9224. {
  9225. "group": "in",
  9226. "id": "in3"
  9227. },
  9228. {
  9229. "group": "out",
  9230. "id": "out"
  9231. },
  9232. {
  9233. "group": "out",
  9234. "id": "out2"
  9235. },
  9236. {
  9237. "group": "out",
  9238. "id": "out3"
  9239. },
  9240. {
  9241. "group": "top",
  9242. "id": "top"
  9243. },
  9244. {
  9245. "group": "top",
  9246. "id": "top2"
  9247. },
  9248. {
  9249. "group": "top",
  9250. "id": "top3"
  9251. },
  9252. {
  9253. "group": "bottom",
  9254. "id": "bottom"
  9255. },
  9256. {
  9257. "group": "bottom",
  9258. "id": "bottom2"
  9259. },
  9260. {
  9261. "group": "bottom",
  9262. "id": "bottom3"
  9263. },
  9264. {
  9265. "id": "top4",
  9266. "group": "top"
  9267. }
  9268. ]
  9269. }
  9270. },
  9271. {
  9272. "id": "f2344237-4b72-4042-a531-097f8f467b64",
  9273. "shape": "erdRelation",
  9274. "source": {
  9275. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  9276. "port": "bottom2"
  9277. },
  9278. "target": {
  9279. "cell": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  9280. "port": "bottom2"
  9281. },
  9282. "relation": "none:none",
  9283. "fillColor": "rgb(247, 151, 128)",
  9284. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9285. "attrs": {
  9286. "line": {
  9287. "strokeDasharray": ""
  9288. }
  9289. }
  9290. },
  9291. {
  9292. "id": "7b27855a-7467-439b-b846-fb7a369f80ae",
  9293. "shape": "erdRelation",
  9294. "source": {
  9295. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  9296. "port": "out2"
  9297. },
  9298. "target": {
  9299. "cell": "764cbe48-4a33-4752-94a9-67bda1226718",
  9300. "port": "in2"
  9301. },
  9302. "relation": "none:none",
  9303. "fillColor": "rgb(247, 151, 128)",
  9304. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9305. "attrs": {
  9306. "line": {
  9307. "strokeDasharray": ""
  9308. }
  9309. }
  9310. },
  9311. {
  9312. "id": "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  9313. "shape": "erdRelation",
  9314. "source": {
  9315. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9316. "port": "out3"
  9317. },
  9318. "target": {
  9319. "cell": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  9320. "port": "in3"
  9321. },
  9322. "relation": "none:concave",
  9323. "fillColor": "rgb(90, 213, 198)",
  9324. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9325. "attrs": {
  9326. "line": {
  9327. "strokeDasharray": ""
  9328. }
  9329. }
  9330. },
  9331. {
  9332. "id": "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  9333. "shape": "erdRelation",
  9334. "source": {
  9335. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9336. "port": "out2"
  9337. },
  9338. "target": {
  9339. "cell": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  9340. "port": "in3"
  9341. },
  9342. "relation": "none:n",
  9343. "fillColor": "rgb(90, 213, 198)",
  9344. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9345. "attrs": {
  9346. "line": {
  9347. "strokeDasharray": ""
  9348. }
  9349. }
  9350. },
  9351. {
  9352. "id": "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  9353. "shape": "erdRelation",
  9354. "source": {
  9355. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  9356. "port": "top2"
  9357. },
  9358. "target": {
  9359. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9360. "port": "bottom2"
  9361. },
  9362. "relation": "none:n",
  9363. "fillColor": "rgb(90, 213, 198)",
  9364. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9365. "attrs": {
  9366. "line": {
  9367. "strokeDasharray": ""
  9368. }
  9369. }
  9370. },
  9371. {
  9372. "id": "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
  9373. "shape": "erdRelation",
  9374. "source": {
  9375. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  9376. "port": "top3"
  9377. },
  9378. "target": {
  9379. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9380. "port": "bottom"
  9381. },
  9382. "relation": "none:n",
  9383. "fillColor": "rgb(247, 151, 128)",
  9384. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9385. "attrs": {
  9386. "line": {
  9387. "strokeDasharray": ""
  9388. }
  9389. }
  9390. },
  9391. {
  9392. "id": "5278e0a2-f809-4023-b439-b35ae083a325",
  9393. "shape": "erdRelation",
  9394. "source": {
  9395. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  9396. "port": "top4"
  9397. },
  9398. "target": {
  9399. "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  9400. "port": "top3"
  9401. },
  9402. "relation": "none:n",
  9403. "fillColor": "rgb(247, 151, 128)",
  9404. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9405. "attrs": {
  9406. "line": {
  9407. "strokeDasharray": ""
  9408. }
  9409. }
  9410. },
  9411. {
  9412. "id": "54f3478c-85b5-4b98-8c68-332a9a037140",
  9413. "shape": "erdRelation",
  9414. "source": {
  9415. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  9416. "port": "top"
  9417. },
  9418. "target": {
  9419. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9420. "port": "bottom2"
  9421. },
  9422. "relation": "none:n",
  9423. "fillColor": "rgb(90, 213, 198)",
  9424. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9425. "attrs": {
  9426. "line": {
  9427. "strokeDasharray": ""
  9428. }
  9429. }
  9430. },
  9431. {
  9432. "id": "9a99fd26-86c6-42b3-9fe1-5380d3314003",
  9433. "shape": "erdRelation",
  9434. "source": {
  9435. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  9436. "port": "top3"
  9437. },
  9438. "target": {
  9439. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  9440. "port": "bottom"
  9441. },
  9442. "relation": "none:n",
  9443. "fillColor": "rgb(90, 213, 198)",
  9444. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9445. "attrs": {
  9446. "line": {
  9447. "strokeDasharray": ""
  9448. }
  9449. }
  9450. },
  9451. {
  9452. "id": "14913b43-5f56-45c0-8a8b-128685ae8831",
  9453. "shape": "erdRelation",
  9454. "source": {
  9455. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  9456. "port": "top2"
  9457. },
  9458. "target": {
  9459. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9460. "port": "bottom"
  9461. },
  9462. "relation": "none:n",
  9463. "fillColor": "rgb(90, 213, 198)",
  9464. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9465. "attrs": {
  9466. "line": {
  9467. "strokeDasharray": ""
  9468. }
  9469. }
  9470. },
  9471. {
  9472. "id": "b27fbbab-850d-4577-bd84-dfec38412d43",
  9473. "shape": "erdRelation",
  9474. "source": {
  9475. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  9476. "port": "top3"
  9477. },
  9478. "target": {
  9479. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9480. "port": "in3"
  9481. },
  9482. "relation": "none:n",
  9483. "fillColor": "rgb(90, 213, 198)",
  9484. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9485. "attrs": {
  9486. "line": {
  9487. "strokeDasharray": ""
  9488. }
  9489. }
  9490. },
  9491. {
  9492. "id": "4e142b26-fa22-4806-aee3-7b598f1eaede",
  9493. "shape": "erdRelation",
  9494. "source": {
  9495. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  9496. "port": "top3"
  9497. },
  9498. "target": {
  9499. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  9500. "port": "bottom2"
  9501. },
  9502. "relation": "none:n",
  9503. "fillColor": "rgb(90, 213, 198)",
  9504. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9505. "attrs": {
  9506. "line": {
  9507. "strokeDasharray": ""
  9508. }
  9509. }
  9510. },
  9511. {
  9512. "id": "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
  9513. "shape": "erdRelation",
  9514. "source": {
  9515. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9516. "port": "top2"
  9517. },
  9518. "target": {
  9519. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  9520. "port": "in3"
  9521. },
  9522. "relation": "none:n",
  9523. "fillColor": "rgb(90, 213, 198)",
  9524. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9525. "attrs": {
  9526. "line": {
  9527. "strokeDasharray": ""
  9528. }
  9529. }
  9530. },
  9531. {
  9532. "id": "80e84e01-fbda-4caf-a016-eae9c69aea5f",
  9533. "shape": "erdRelation",
  9534. "source": {
  9535. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9536. "port": "top3"
  9537. },
  9538. "target": {
  9539. "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  9540. "port": "in3"
  9541. },
  9542. "relation": "none:n",
  9543. "fillColor": "rgb(90, 213, 198)",
  9544. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9545. "attrs": {
  9546. "line": {
  9547. "strokeDasharray": ""
  9548. }
  9549. }
  9550. },
  9551. {
  9552. "id": "bd3bbe46-89e6-43dc-a1a0-59968252238d",
  9553. "shape": "erdRelation",
  9554. "source": {
  9555. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9556. "port": "top"
  9557. },
  9558. "target": {
  9559. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9560. "port": "bottom"
  9561. },
  9562. "relation": "none:n",
  9563. "fillColor": "rgb(90, 213, 198)",
  9564. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9565. "attrs": {
  9566. "line": {
  9567. "strokeDasharray": ""
  9568. }
  9569. }
  9570. },
  9571. {
  9572. "id": "b82b944c-8659-4720-b69e-e6e066b53882",
  9573. "shape": "erdRelation",
  9574. "source": {
  9575. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  9576. "port": "top2"
  9577. },
  9578. "target": {
  9579. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9580. "port": "in3"
  9581. },
  9582. "relation": "none:n",
  9583. "fillColor": "rgb(90, 213, 198)",
  9584. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9585. "attrs": {
  9586. "line": {
  9587. "strokeDasharray": ""
  9588. }
  9589. }
  9590. },
  9591. {
  9592. "id": "ad80ead0-2c42-49a0-9571-931e4536609a",
  9593. "shape": "erdRelation",
  9594. "source": {
  9595. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  9596. "port": "bottom"
  9597. },
  9598. "target": {
  9599. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  9600. "port": "top2"
  9601. },
  9602. "relation": "none:n",
  9603. "fillColor": "rgb(245, 220, 78)",
  9604. "attrs": {
  9605. "line": {
  9606. "strokeDasharray": ""
  9607. }
  9608. }
  9609. },
  9610. {
  9611. "id": "a1e1cd85-61f6-4ff4-a6c1-b7057722d9c5",
  9612. "shape": "erdRelation",
  9613. "source": {
  9614. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  9615. "port": "bottom2"
  9616. },
  9617. "target": {
  9618. "cell": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  9619. "port": "top"
  9620. },
  9621. "relation": "none:n",
  9622. "fillColor": "rgb(245, 220, 78)",
  9623. "attrs": {
  9624. "line": {
  9625. "strokeDasharray": ""
  9626. }
  9627. }
  9628. },
  9629. {
  9630. "id": "c45fd09f-f5e0-4a1b-905a-b6623ed429ec",
  9631. "shape": "erdRelation",
  9632. "source": {
  9633. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  9634. "port": "bottom2"
  9635. },
  9636. "target": {
  9637. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9638. "port": "top2"
  9639. },
  9640. "relation": "none:n",
  9641. "fillColor": "rgb(245, 220, 78)",
  9642. "attrs": {
  9643. "line": {
  9644. "strokeDasharray": ""
  9645. }
  9646. }
  9647. },
  9648. {
  9649. "id": "80ff1b9b-450a-4838-ba92-1780c4c3edde",
  9650. "shape": "erdRelation",
  9651. "source": {
  9652. "cell": "71e702a2-681a-453f-a15e-30ff10e3b439",
  9653. "port": "bottom"
  9654. },
  9655. "target": {
  9656. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9657. "port": "top"
  9658. },
  9659. "relation": "none:n",
  9660. "vertices": [
  9661. {
  9662. "x": 480,
  9663. "y": 790
  9664. }
  9665. ],
  9666. "fillColor": "rgb(245, 220, 78)",
  9667. "attrs": {
  9668. "line": {
  9669. "strokeDasharray": ""
  9670. }
  9671. }
  9672. },
  9673. {
  9674. "id": "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
  9675. "shape": "erdRelation",
  9676. "source": {
  9677. "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
  9678. "port": "bottom"
  9679. },
  9680. "target": {
  9681. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9682. "port": "top2"
  9683. },
  9684. "relation": "none:n",
  9685. "vertices": [
  9686. {
  9687. "x": 660.0000000000048,
  9688. "y": 720.0000000000061
  9689. }
  9690. ],
  9691. "fillColor": "rgb(245, 220, 78)",
  9692. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9693. "attrs": {
  9694. "line": {
  9695. "strokeDasharray": ""
  9696. }
  9697. }
  9698. },
  9699. {
  9700. "id": "11267869-dc5a-411d-b763-fc0ad08db8a6",
  9701. "shape": "erdRelation",
  9702. "source": {
  9703. "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
  9704. "port": "bottom3"
  9705. },
  9706. "target": {
  9707. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  9708. "port": "top2"
  9709. },
  9710. "relation": "none:n",
  9711. "vertices": [
  9712. {
  9713. "x": 710.0000000000048,
  9714. "y": 730.0000000000061
  9715. },
  9716. {
  9717. "x": 1070.0000000000048,
  9718. "y": 800.0000000000061
  9719. }
  9720. ],
  9721. "fillColor": "rgb(245, 220, 78)",
  9722. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9723. "attrs": {
  9724. "line": {
  9725. "strokeDasharray": ""
  9726. }
  9727. }
  9728. },
  9729. {
  9730. "id": "f5f60922-9d66-4f92-9a70-11c6cce0e702",
  9731. "shape": "erdRelation",
  9732. "source": {
  9733. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  9734. "port": "in2"
  9735. },
  9736. "target": {
  9737. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  9738. "port": "top3"
  9739. },
  9740. "relation": "none:n",
  9741. "fillColor": "rgb(245, 220, 78)",
  9742. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9743. "attrs": {
  9744. "line": {
  9745. "strokeDasharray": ""
  9746. }
  9747. }
  9748. },
  9749. {
  9750. "id": "339ae80b-97a9-47d5-a701-742796f5143e",
  9751. "shape": "erdRelation",
  9752. "source": {
  9753. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  9754. "port": "bottom"
  9755. },
  9756. "target": {
  9757. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9758. "port": "top"
  9759. },
  9760. "relation": "none:concave",
  9761. "vertices": [
  9762. {
  9763. "x": 500,
  9764. "y": 730
  9765. }
  9766. ],
  9767. "fillColor": "rgb(245, 220, 78)",
  9768. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9769. "attrs": {
  9770. "line": {
  9771. "strokeDasharray": ""
  9772. }
  9773. }
  9774. },
  9775. {
  9776. "id": "3623f1fd-62e0-4004-a07c-61e6c35c15fc",
  9777. "shape": "erdRelation",
  9778. "source": {
  9779. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  9780. "port": "bottom2"
  9781. },
  9782. "target": {
  9783. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  9784. "port": "top2"
  9785. },
  9786. "relation": "none:n",
  9787. "fillColor": "rgb(245, 220, 78)",
  9788. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9789. "attrs": {
  9790. "line": {
  9791. "strokeDasharray": ""
  9792. }
  9793. }
  9794. },
  9795. {
  9796. "id": "36e0a409-a617-465a-bd82-435826d7af9b",
  9797. "shape": "erdRelation",
  9798. "source": {
  9799. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  9800. "port": "bottom3"
  9801. },
  9802. "target": {
  9803. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9804. "port": "top3"
  9805. },
  9806. "relation": "none:n",
  9807. "vertices": [
  9808. {
  9809. "x": 570,
  9810. "y": 770
  9811. }
  9812. ],
  9813. "fillColor": "rgb(245, 220, 78)",
  9814. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9815. "attrs": {
  9816. "line": {
  9817. "strokeDasharray": ""
  9818. }
  9819. }
  9820. },
  9821. {
  9822. "id": "35690dd6-bb9b-44bd-95cb-60ba826eb886",
  9823. "shape": "erdRelation",
  9824. "source": {
  9825. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  9826. "port": "bottom3"
  9827. },
  9828. "target": {
  9829. "cell": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  9830. "port": "top2"
  9831. },
  9832. "relation": "none:n",
  9833. "fillColor": "rgb(245, 220, 78)",
  9834. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9835. "attrs": {
  9836. "line": {
  9837. "strokeDasharray": ""
  9838. }
  9839. }
  9840. },
  9841. {
  9842. "id": "7450b679-24ae-438a-94d9-3619edf7d17b",
  9843. "shape": "erdRelation",
  9844. "source": {
  9845. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  9846. "port": "bottom2"
  9847. },
  9848. "target": {
  9849. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  9850. "port": "top3"
  9851. },
  9852. "relation": "none:n",
  9853. "vertices": [
  9854. {
  9855. "x": 360.0000000000048,
  9856. "y": 730.0000000000061
  9857. }
  9858. ],
  9859. "fillColor": "rgb(245, 220, 78)",
  9860. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9861. "attrs": {
  9862. "line": {
  9863. "strokeDasharray": ""
  9864. }
  9865. }
  9866. },
  9867. {
  9868. "id": "26caad8d-227c-4985-a343-e647e69c682e",
  9869. "shape": "erdRelation",
  9870. "source": {
  9871. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  9872. "port": "bottom"
  9873. },
  9874. "target": {
  9875. "cell": "50255b65-de6e-4032-b606-58482a662442",
  9876. "port": "top2"
  9877. },
  9878. "relation": "none:n",
  9879. "vertices": [
  9880. {
  9881. "x": 430.0000000000048,
  9882. "y": 730.0000000000061
  9883. }
  9884. ],
  9885. "fillColor": "rgb(245, 220, 78)",
  9886. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9887. "attrs": {
  9888. "line": {
  9889. "strokeDasharray": ""
  9890. }
  9891. }
  9892. },
  9893. {
  9894. "id": "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
  9895. "shape": "edit-node",
  9896. "position": {
  9897. "x": 190.00000000000477,
  9898. "y": 969.9999999999952
  9899. },
  9900. "label": "### 菜单管理\n---\nid\n菜单名称\n菜单路径\n菜单模块\n是否启用\n说明\n创建人\n创建时间\n",
  9901. "fillColor": "#DDE5FF",
  9902. "size": {
  9903. "width": 150,
  9904. "height": 180
  9905. },
  9906. "ports": {
  9907. "groups": {
  9908. "in": {
  9909. "attrs": {
  9910. "fo": {
  9911. "width": 8,
  9912. "height": 8,
  9913. "x": -4,
  9914. "y": -4,
  9915. "magnet": "true",
  9916. "style": {
  9917. "visibility": "hidden"
  9918. }
  9919. }
  9920. },
  9921. "zIndex": 3,
  9922. "position": {
  9923. "name": "left"
  9924. }
  9925. },
  9926. "out": {
  9927. "attrs": {
  9928. "fo": {
  9929. "width": 8,
  9930. "height": 8,
  9931. "x": -4,
  9932. "y": -4,
  9933. "magnet": "true",
  9934. "style": {
  9935. "visibility": "hidden"
  9936. }
  9937. }
  9938. },
  9939. "zIndex": 3,
  9940. "position": {
  9941. "name": "right"
  9942. }
  9943. },
  9944. "top": {
  9945. "attrs": {
  9946. "fo": {
  9947. "width": 8,
  9948. "height": 8,
  9949. "x": -4,
  9950. "y": -4,
  9951. "magnet": "true",
  9952. "style": {
  9953. "visibility": "hidden"
  9954. }
  9955. }
  9956. },
  9957. "zIndex": 3,
  9958. "position": {
  9959. "name": "top"
  9960. }
  9961. },
  9962. "bottom": {
  9963. "attrs": {
  9964. "fo": {
  9965. "width": 8,
  9966. "height": 8,
  9967. "x": -4,
  9968. "y": -4,
  9969. "magnet": "true",
  9970. "style": {
  9971. "visibility": "hidden"
  9972. }
  9973. }
  9974. },
  9975. "zIndex": 3,
  9976. "position": {
  9977. "name": "bottom"
  9978. }
  9979. }
  9980. },
  9981. "items": [
  9982. {
  9983. "group": "in",
  9984. "id": "in"
  9985. },
  9986. {
  9987. "group": "in",
  9988. "id": "in2"
  9989. },
  9990. {
  9991. "group": "in",
  9992. "id": "in3"
  9993. },
  9994. {
  9995. "group": "out",
  9996. "id": "out"
  9997. },
  9998. {
  9999. "group": "out",
  10000. "id": "out2"
  10001. },
  10002. {
  10003. "group": "out",
  10004. "id": "out3"
  10005. },
  10006. {
  10007. "group": "top",
  10008. "id": "top"
  10009. },
  10010. {
  10011. "group": "top",
  10012. "id": "top2"
  10013. },
  10014. {
  10015. "group": "top",
  10016. "id": "top3"
  10017. },
  10018. {
  10019. "group": "bottom",
  10020. "id": "bottom"
  10021. },
  10022. {
  10023. "group": "bottom",
  10024. "id": "bottom2"
  10025. },
  10026. {
  10027. "group": "bottom",
  10028. "id": "bottom3"
  10029. },
  10030. {
  10031. "id": "top4",
  10032. "group": "top"
  10033. }
  10034. ]
  10035. }
  10036. },
  10037. {
  10038. "id": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  10039. "shape": "edit-node",
  10040. "position": {
  10041. "x": 1220.0000000000095,
  10042. "y": 1190.0000000000123
  10043. },
  10044. "label": "### 项目标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\n项目名称",
  10045. "fillColor": "rgb(90, 213, 198)",
  10046. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10047. "size": {
  10048. "width": 130,
  10049. "height": 150
  10050. },
  10051. "ports": {
  10052. "groups": {
  10053. "in": {
  10054. "attrs": {
  10055. "fo": {
  10056. "width": 8,
  10057. "height": 8,
  10058. "x": -4,
  10059. "y": -4,
  10060. "magnet": "true",
  10061. "style": {
  10062. "visibility": "hidden"
  10063. }
  10064. }
  10065. },
  10066. "zIndex": 3,
  10067. "position": {
  10068. "name": "left"
  10069. }
  10070. },
  10071. "out": {
  10072. "attrs": {
  10073. "fo": {
  10074. "width": 8,
  10075. "height": 8,
  10076. "x": -4,
  10077. "y": -4,
  10078. "magnet": "true",
  10079. "style": {
  10080. "visibility": "hidden"
  10081. }
  10082. }
  10083. },
  10084. "zIndex": 3,
  10085. "position": {
  10086. "name": "right"
  10087. }
  10088. },
  10089. "top": {
  10090. "attrs": {
  10091. "fo": {
  10092. "width": 8,
  10093. "height": 8,
  10094. "x": -4,
  10095. "y": -4,
  10096. "magnet": "true",
  10097. "style": {
  10098. "visibility": "hidden"
  10099. }
  10100. }
  10101. },
  10102. "zIndex": 3,
  10103. "position": {
  10104. "name": "top"
  10105. }
  10106. },
  10107. "bottom": {
  10108. "attrs": {
  10109. "fo": {
  10110. "width": 8,
  10111. "height": 8,
  10112. "x": -4,
  10113. "y": -4,
  10114. "magnet": "true",
  10115. "style": {
  10116. "visibility": "hidden"
  10117. }
  10118. }
  10119. },
  10120. "zIndex": 3,
  10121. "position": {
  10122. "name": "bottom"
  10123. }
  10124. }
  10125. },
  10126. "items": [
  10127. {
  10128. "group": "in",
  10129. "id": "in"
  10130. },
  10131. {
  10132. "group": "in",
  10133. "id": "in2"
  10134. },
  10135. {
  10136. "group": "in",
  10137. "id": "in3"
  10138. },
  10139. {
  10140. "group": "out",
  10141. "id": "out"
  10142. },
  10143. {
  10144. "group": "out",
  10145. "id": "out2"
  10146. },
  10147. {
  10148. "group": "out",
  10149. "id": "out3"
  10150. },
  10151. {
  10152. "group": "top",
  10153. "id": "top"
  10154. },
  10155. {
  10156. "group": "top",
  10157. "id": "top2"
  10158. },
  10159. {
  10160. "group": "top",
  10161. "id": "top3"
  10162. },
  10163. {
  10164. "group": "bottom",
  10165. "id": "bottom"
  10166. },
  10167. {
  10168. "group": "bottom",
  10169. "id": "bottom2"
  10170. },
  10171. {
  10172. "group": "bottom",
  10173. "id": "bottom3"
  10174. },
  10175. {
  10176. "id": "in4",
  10177. "group": "in"
  10178. },
  10179. {
  10180. "id": "bottom4",
  10181. "group": "bottom"
  10182. }
  10183. ]
  10184. }
  10185. },
  10186. {
  10187. "id": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  10188. "shape": "edit-node",
  10189. "position": {
  10190. "x": 210.00000000000477,
  10191. "y": 1190.0000000000061
  10192. },
  10193. "label": "### 成本挖掘任务\n---\nid\n工厂\n年\n月\n物料号\nWBS号\n标准版本号",
  10194. "fillColor": "rgb(247, 151, 128)",
  10195. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10196. "size": {
  10197. "width": 130,
  10198. "height": 180
  10199. },
  10200. "ports": {
  10201. "groups": {
  10202. "in": {
  10203. "attrs": {
  10204. "fo": {
  10205. "width": 8,
  10206. "height": 8,
  10207. "x": -4,
  10208. "y": -4,
  10209. "magnet": "true",
  10210. "style": {
  10211. "visibility": "hidden"
  10212. }
  10213. }
  10214. },
  10215. "zIndex": 3,
  10216. "position": {
  10217. "name": "left"
  10218. }
  10219. },
  10220. "out": {
  10221. "attrs": {
  10222. "fo": {
  10223. "width": 8,
  10224. "height": 8,
  10225. "x": -4,
  10226. "y": -4,
  10227. "magnet": "true",
  10228. "style": {
  10229. "visibility": "hidden"
  10230. }
  10231. }
  10232. },
  10233. "zIndex": 3,
  10234. "position": {
  10235. "name": "right"
  10236. }
  10237. },
  10238. "top": {
  10239. "attrs": {
  10240. "fo": {
  10241. "width": 8,
  10242. "height": 8,
  10243. "x": -4,
  10244. "y": -4,
  10245. "magnet": "true",
  10246. "style": {
  10247. "visibility": "hidden"
  10248. }
  10249. }
  10250. },
  10251. "zIndex": 3,
  10252. "position": {
  10253. "name": "top"
  10254. }
  10255. },
  10256. "bottom": {
  10257. "attrs": {
  10258. "fo": {
  10259. "width": 8,
  10260. "height": 8,
  10261. "x": -4,
  10262. "y": -4,
  10263. "magnet": "true",
  10264. "style": {
  10265. "visibility": "hidden"
  10266. }
  10267. }
  10268. },
  10269. "zIndex": 3,
  10270. "position": {
  10271. "name": "bottom"
  10272. }
  10273. }
  10274. },
  10275. "items": [
  10276. {
  10277. "group": "in",
  10278. "id": "in"
  10279. },
  10280. {
  10281. "group": "in",
  10282. "id": "in2"
  10283. },
  10284. {
  10285. "group": "in",
  10286. "id": "in3"
  10287. },
  10288. {
  10289. "group": "out",
  10290. "id": "out"
  10291. },
  10292. {
  10293. "group": "out",
  10294. "id": "out2"
  10295. },
  10296. {
  10297. "group": "out",
  10298. "id": "out3"
  10299. },
  10300. {
  10301. "group": "top",
  10302. "id": "top"
  10303. },
  10304. {
  10305. "group": "top",
  10306. "id": "top2"
  10307. },
  10308. {
  10309. "group": "top",
  10310. "id": "top3"
  10311. },
  10312. {
  10313. "group": "bottom",
  10314. "id": "bottom"
  10315. },
  10316. {
  10317. "group": "bottom",
  10318. "id": "bottom2"
  10319. },
  10320. {
  10321. "group": "bottom",
  10322. "id": "bottom3"
  10323. },
  10324. {
  10325. "id": "top4",
  10326. "group": "top"
  10327. }
  10328. ]
  10329. }
  10330. },
  10331. {
  10332. "id": "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
  10333. "shape": "edit-node",
  10334. "position": {
  10335. "x": 880.0000000000155,
  10336. "y": 1749.9999999999989
  10337. },
  10338. "label": "### 标准成本结果单行查询\n---\n工厂\n低阶码\n物料编码\n品名\n图号\n规格\n相对用量\n单位\n制造类型\n本阶单位成本\n本阶相对成本\n相对材料成本\n相对人工成本\n相对制费成本\n总标准成本--电子实际\n总标准成本--7525\n本阶材料成本--电子实际\n本阶材料成本-7525\n本阶人工成本\n本阶设备成本\n本阶燃动成本\n本阶辅料成本\n本阶其它成本\n累计材料成本-电子实际\n累计材料成本-7525\n累计人工成本\n累计设备成本\n累计燃动成本\n累计辅料成本\n累计其它成本\n相对材料成本-7525\n相对总成本\n相对总成本-7525\n层级\n版本",
  10339. "fillColor": "rgb(90, 213, 198)",
  10340. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10341. "size": {
  10342. "width": 210,
  10343. "height": 670
  10344. },
  10345. "ports": {
  10346. "groups": {
  10347. "in": {
  10348. "attrs": {
  10349. "fo": {
  10350. "width": 8,
  10351. "height": 8,
  10352. "x": -4,
  10353. "y": -4,
  10354. "magnet": "true",
  10355. "style": {
  10356. "visibility": "hidden"
  10357. }
  10358. }
  10359. },
  10360. "zIndex": 3,
  10361. "position": {
  10362. "name": "left"
  10363. }
  10364. },
  10365. "out": {
  10366. "attrs": {
  10367. "fo": {
  10368. "width": 8,
  10369. "height": 8,
  10370. "x": -4,
  10371. "y": -4,
  10372. "magnet": "true",
  10373. "style": {
  10374. "visibility": "hidden"
  10375. }
  10376. }
  10377. },
  10378. "zIndex": 3,
  10379. "position": {
  10380. "name": "right"
  10381. }
  10382. },
  10383. "top": {
  10384. "attrs": {
  10385. "fo": {
  10386. "width": 8,
  10387. "height": 8,
  10388. "x": -4,
  10389. "y": -4,
  10390. "magnet": "true",
  10391. "style": {
  10392. "visibility": "hidden"
  10393. }
  10394. }
  10395. },
  10396. "zIndex": 3,
  10397. "position": {
  10398. "name": "top"
  10399. }
  10400. },
  10401. "bottom": {
  10402. "attrs": {
  10403. "fo": {
  10404. "width": 8,
  10405. "height": 8,
  10406. "x": -4,
  10407. "y": -4,
  10408. "magnet": "true",
  10409. "style": {
  10410. "visibility": "hidden"
  10411. }
  10412. }
  10413. },
  10414. "zIndex": 3,
  10415. "position": {
  10416. "name": "bottom"
  10417. }
  10418. }
  10419. },
  10420. "items": [
  10421. {
  10422. "group": "in",
  10423. "id": "in"
  10424. },
  10425. {
  10426. "group": "in",
  10427. "id": "in2"
  10428. },
  10429. {
  10430. "group": "in",
  10431. "id": "in3"
  10432. },
  10433. {
  10434. "group": "out",
  10435. "id": "out"
  10436. },
  10437. {
  10438. "group": "out",
  10439. "id": "out2"
  10440. },
  10441. {
  10442. "group": "out",
  10443. "id": "out3"
  10444. },
  10445. {
  10446. "group": "top",
  10447. "id": "top"
  10448. },
  10449. {
  10450. "group": "top",
  10451. "id": "top2"
  10452. },
  10453. {
  10454. "group": "top",
  10455. "id": "top3"
  10456. },
  10457. {
  10458. "group": "bottom",
  10459. "id": "bottom"
  10460. },
  10461. {
  10462. "group": "bottom",
  10463. "id": "bottom2"
  10464. },
  10465. {
  10466. "group": "bottom",
  10467. "id": "bottom3"
  10468. },
  10469. {
  10470. "id": "in4",
  10471. "group": "in"
  10472. },
  10473. {
  10474. "id": "bottom4",
  10475. "group": "bottom"
  10476. }
  10477. ]
  10478. }
  10479. },
  10480. {
  10481. "id": "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
  10482. "shape": "edit-node",
  10483. "position": {
  10484. "x": 1140.0000000000198,
  10485. "y": 1749.9999999999989
  10486. },
  10487. "label": "### 标准成本结果BOM结构树查询\n---\n物料名称\n总标准成本-电子实际\t\n结构总成本-电子实际\t\n结构人工成本\t\n结构材料成本-电子实际\t\n本阶材料成本-电子实际\t\n本阶材料成本-电子实际-材料\t\n本阶材料成本-电子实际-门控\t\n本阶材料成本-电子实际-电机\t\n本阶材料成本-7525\t\n本阶材料成本-7525-材料\t\n本阶材料成本-7525-门控\t\n本阶材料成本-7525-电机\t\n本阶人工成本\t\n本阶设备成本\t\n本阶燃动成本\t\n本阶辅料成本\t\n本阶其他成本\t\n物料图号\n总标准成本-7525\t\n结构总成本-7525\t\n结构制费成本\t\n结构材料成本-7525\t\n累计材料成本-电子实际\t\n累计材料成本-电子实际-材料\t\n累计材料成本-电子实际-门控\t\n累计材料成本-电子实际-电机\t\n累计材料成本-7525\t\n累计材料成本-7525-材料\t\n累计材料成本-7525-门控\t\n累计材料成本-7525-电机\t\n累计人工成本\t\n累计设备成本\t\n累计燃动成本\t\n累计辅料成本\t\n累计其他成本",
  10488. "fillColor": "rgb(90, 213, 198)",
  10489. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10490. "size": {
  10491. "width": 210,
  10492. "height": 690
  10493. },
  10494. "ports": {
  10495. "groups": {
  10496. "in": {
  10497. "attrs": {
  10498. "fo": {
  10499. "width": 8,
  10500. "height": 8,
  10501. "x": -4,
  10502. "y": -4,
  10503. "magnet": "true",
  10504. "style": {
  10505. "visibility": "hidden"
  10506. }
  10507. }
  10508. },
  10509. "zIndex": 3,
  10510. "position": {
  10511. "name": "left"
  10512. }
  10513. },
  10514. "out": {
  10515. "attrs": {
  10516. "fo": {
  10517. "width": 8,
  10518. "height": 8,
  10519. "x": -4,
  10520. "y": -4,
  10521. "magnet": "true",
  10522. "style": {
  10523. "visibility": "hidden"
  10524. }
  10525. }
  10526. },
  10527. "zIndex": 3,
  10528. "position": {
  10529. "name": "right"
  10530. }
  10531. },
  10532. "top": {
  10533. "attrs": {
  10534. "fo": {
  10535. "width": 8,
  10536. "height": 8,
  10537. "x": -4,
  10538. "y": -4,
  10539. "magnet": "true",
  10540. "style": {
  10541. "visibility": "hidden"
  10542. }
  10543. }
  10544. },
  10545. "zIndex": 3,
  10546. "position": {
  10547. "name": "top"
  10548. }
  10549. },
  10550. "bottom": {
  10551. "attrs": {
  10552. "fo": {
  10553. "width": 8,
  10554. "height": 8,
  10555. "x": -4,
  10556. "y": -4,
  10557. "magnet": "true",
  10558. "style": {
  10559. "visibility": "hidden"
  10560. }
  10561. }
  10562. },
  10563. "zIndex": 3,
  10564. "position": {
  10565. "name": "bottom"
  10566. }
  10567. }
  10568. },
  10569. "items": [
  10570. {
  10571. "group": "in",
  10572. "id": "in"
  10573. },
  10574. {
  10575. "group": "in",
  10576. "id": "in2"
  10577. },
  10578. {
  10579. "group": "in",
  10580. "id": "in3"
  10581. },
  10582. {
  10583. "group": "out",
  10584. "id": "out"
  10585. },
  10586. {
  10587. "group": "out",
  10588. "id": "out2"
  10589. },
  10590. {
  10591. "group": "out",
  10592. "id": "out3"
  10593. },
  10594. {
  10595. "group": "top",
  10596. "id": "top"
  10597. },
  10598. {
  10599. "group": "top",
  10600. "id": "top2"
  10601. },
  10602. {
  10603. "group": "top",
  10604. "id": "top3"
  10605. },
  10606. {
  10607. "group": "bottom",
  10608. "id": "bottom"
  10609. },
  10610. {
  10611. "group": "bottom",
  10612. "id": "bottom2"
  10613. },
  10614. {
  10615. "group": "bottom",
  10616. "id": "bottom3"
  10617. },
  10618. {
  10619. "id": "in4",
  10620. "group": "in"
  10621. },
  10622. {
  10623. "id": "bottom4",
  10624. "group": "bottom"
  10625. }
  10626. ]
  10627. }
  10628. },
  10629. {
  10630. "id": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  10631. "shape": "edit-node",
  10632. "position": {
  10633. "x": 1690.000000000009,
  10634. "y": 1470.0000000000123
  10635. },
  10636. "label": "### 标准成本结果\n---\n工厂代码\n物料编码\n版本号\n机械材料\n门控\n电机\nMK物料\n包装箱\n人工\n运输费\n制费\n成本合计\n7525门控\n7525合计",
  10637. "fillColor": "rgb(90, 213, 198)",
  10638. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10639. "size": {
  10640. "width": 150,
  10641. "height": 290
  10642. },
  10643. "ports": {
  10644. "groups": {
  10645. "in": {
  10646. "attrs": {
  10647. "fo": {
  10648. "width": 8,
  10649. "height": 8,
  10650. "x": -4,
  10651. "y": -4,
  10652. "magnet": "true",
  10653. "style": {
  10654. "visibility": "hidden"
  10655. }
  10656. }
  10657. },
  10658. "zIndex": 3,
  10659. "position": {
  10660. "name": "left"
  10661. }
  10662. },
  10663. "out": {
  10664. "attrs": {
  10665. "fo": {
  10666. "width": 8,
  10667. "height": 8,
  10668. "x": -4,
  10669. "y": -4,
  10670. "magnet": "true",
  10671. "style": {
  10672. "visibility": "hidden"
  10673. }
  10674. }
  10675. },
  10676. "zIndex": 3,
  10677. "position": {
  10678. "name": "right"
  10679. }
  10680. },
  10681. "top": {
  10682. "attrs": {
  10683. "fo": {
  10684. "width": 8,
  10685. "height": 8,
  10686. "x": -4,
  10687. "y": -4,
  10688. "magnet": "true",
  10689. "style": {
  10690. "visibility": "hidden"
  10691. }
  10692. }
  10693. },
  10694. "zIndex": 3,
  10695. "position": {
  10696. "name": "top"
  10697. }
  10698. },
  10699. "bottom": {
  10700. "attrs": {
  10701. "fo": {
  10702. "width": 8,
  10703. "height": 8,
  10704. "x": -4,
  10705. "y": -4,
  10706. "magnet": "true",
  10707. "style": {
  10708. "visibility": "hidden"
  10709. }
  10710. }
  10711. },
  10712. "zIndex": 3,
  10713. "position": {
  10714. "name": "bottom"
  10715. }
  10716. }
  10717. },
  10718. "items": [
  10719. {
  10720. "group": "in",
  10721. "id": "in"
  10722. },
  10723. {
  10724. "group": "in",
  10725. "id": "in2"
  10726. },
  10727. {
  10728. "group": "in",
  10729. "id": "in3"
  10730. },
  10731. {
  10732. "group": "out",
  10733. "id": "out"
  10734. },
  10735. {
  10736. "group": "out",
  10737. "id": "out2"
  10738. },
  10739. {
  10740. "group": "out",
  10741. "id": "out3"
  10742. },
  10743. {
  10744. "group": "top",
  10745. "id": "top"
  10746. },
  10747. {
  10748. "group": "top",
  10749. "id": "top2"
  10750. },
  10751. {
  10752. "group": "top",
  10753. "id": "top3"
  10754. },
  10755. {
  10756. "group": "bottom",
  10757. "id": "bottom"
  10758. },
  10759. {
  10760. "group": "bottom",
  10761. "id": "bottom2"
  10762. },
  10763. {
  10764. "group": "bottom",
  10765. "id": "bottom3"
  10766. },
  10767. {
  10768. "id": "in4",
  10769. "group": "in"
  10770. },
  10771. {
  10772. "id": "bottom4",
  10773. "group": "bottom"
  10774. }
  10775. ]
  10776. }
  10777. },
  10778. {
  10779. "id": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  10780. "shape": "edit-node",
  10781. "position": {
  10782. "x": 380.0000000000048,
  10783. "y": 1410.0000000000061
  10784. },
  10785. "label": "### 成本挖掘报告\n---\n对比分析\n原因分析\n",
  10786. "fillColor": "rgb(247, 151, 128)",
  10787. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10788. "size": {
  10789. "width": 110,
  10790. "height": 150
  10791. },
  10792. "ports": {
  10793. "groups": {
  10794. "in": {
  10795. "attrs": {
  10796. "fo": {
  10797. "width": 8,
  10798. "height": 8,
  10799. "x": -4,
  10800. "y": -4,
  10801. "magnet": "true",
  10802. "style": {
  10803. "visibility": "hidden"
  10804. }
  10805. }
  10806. },
  10807. "zIndex": 3,
  10808. "position": {
  10809. "name": "left"
  10810. }
  10811. },
  10812. "out": {
  10813. "attrs": {
  10814. "fo": {
  10815. "width": 8,
  10816. "height": 8,
  10817. "x": -4,
  10818. "y": -4,
  10819. "magnet": "true",
  10820. "style": {
  10821. "visibility": "hidden"
  10822. }
  10823. }
  10824. },
  10825. "zIndex": 3,
  10826. "position": {
  10827. "name": "right"
  10828. }
  10829. },
  10830. "top": {
  10831. "attrs": {
  10832. "fo": {
  10833. "width": 8,
  10834. "height": 8,
  10835. "x": -4,
  10836. "y": -4,
  10837. "magnet": "true",
  10838. "style": {
  10839. "visibility": "hidden"
  10840. }
  10841. }
  10842. },
  10843. "zIndex": 3,
  10844. "position": {
  10845. "name": "top"
  10846. }
  10847. },
  10848. "bottom": {
  10849. "attrs": {
  10850. "fo": {
  10851. "width": 8,
  10852. "height": 8,
  10853. "x": -4,
  10854. "y": -4,
  10855. "magnet": "true",
  10856. "style": {
  10857. "visibility": "hidden"
  10858. }
  10859. }
  10860. },
  10861. "zIndex": 3,
  10862. "position": {
  10863. "name": "bottom"
  10864. }
  10865. }
  10866. },
  10867. "items": [
  10868. {
  10869. "group": "in",
  10870. "id": "in"
  10871. },
  10872. {
  10873. "group": "in",
  10874. "id": "in2"
  10875. },
  10876. {
  10877. "group": "in",
  10878. "id": "in3"
  10879. },
  10880. {
  10881. "group": "out",
  10882. "id": "out"
  10883. },
  10884. {
  10885. "group": "out",
  10886. "id": "out2"
  10887. },
  10888. {
  10889. "group": "out",
  10890. "id": "out3"
  10891. },
  10892. {
  10893. "group": "top",
  10894. "id": "top"
  10895. },
  10896. {
  10897. "group": "top",
  10898. "id": "top2"
  10899. },
  10900. {
  10901. "group": "top",
  10902. "id": "top3"
  10903. },
  10904. {
  10905. "group": "bottom",
  10906. "id": "bottom"
  10907. },
  10908. {
  10909. "group": "bottom",
  10910. "id": "bottom2"
  10911. },
  10912. {
  10913. "group": "bottom",
  10914. "id": "bottom3"
  10915. },
  10916. {
  10917. "id": "top4",
  10918. "group": "top"
  10919. }
  10920. ]
  10921. }
  10922. },
  10923. {
  10924. "id": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  10925. "shape": "edit-node",
  10926. "position": {
  10927. "x": 1080.0000000000246,
  10928. "y": 1470.0000000000123
  10929. },
  10930. "label": "### 成本计算和数据导出(计算计划)\n---\n项目名称\n阶段\n日期\n版本号\n工厂\n物料号\n状态\n关键部件缺失信息(该字段的用意?)",
  10931. "fillColor": "rgb(90, 213, 198)",
  10932. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10933. "size": {
  10934. "width": 210,
  10935. "height": 250
  10936. },
  10937. "ports": {
  10938. "groups": {
  10939. "in": {
  10940. "attrs": {
  10941. "fo": {
  10942. "width": 8,
  10943. "height": 8,
  10944. "x": -4,
  10945. "y": -4,
  10946. "magnet": "true",
  10947. "style": {
  10948. "visibility": "hidden"
  10949. }
  10950. }
  10951. },
  10952. "zIndex": 3,
  10953. "position": {
  10954. "name": "left"
  10955. }
  10956. },
  10957. "out": {
  10958. "attrs": {
  10959. "fo": {
  10960. "width": 8,
  10961. "height": 8,
  10962. "x": -4,
  10963. "y": -4,
  10964. "magnet": "true",
  10965. "style": {
  10966. "visibility": "hidden"
  10967. }
  10968. }
  10969. },
  10970. "zIndex": 3,
  10971. "position": {
  10972. "name": "right"
  10973. }
  10974. },
  10975. "top": {
  10976. "attrs": {
  10977. "fo": {
  10978. "width": 8,
  10979. "height": 8,
  10980. "x": -4,
  10981. "y": -4,
  10982. "magnet": "true",
  10983. "style": {
  10984. "visibility": "hidden"
  10985. }
  10986. }
  10987. },
  10988. "zIndex": 3,
  10989. "position": {
  10990. "name": "top"
  10991. }
  10992. },
  10993. "bottom": {
  10994. "attrs": {
  10995. "fo": {
  10996. "width": 8,
  10997. "height": 8,
  10998. "x": -4,
  10999. "y": -4,
  11000. "magnet": "true",
  11001. "style": {
  11002. "visibility": "hidden"
  11003. }
  11004. }
  11005. },
  11006. "zIndex": 3,
  11007. "position": {
  11008. "name": "bottom"
  11009. }
  11010. }
  11011. },
  11012. "items": [
  11013. {
  11014. "group": "in",
  11015. "id": "in"
  11016. },
  11017. {
  11018. "group": "in",
  11019. "id": "in2"
  11020. },
  11021. {
  11022. "group": "in",
  11023. "id": "in3"
  11024. },
  11025. {
  11026. "group": "out",
  11027. "id": "out"
  11028. },
  11029. {
  11030. "group": "out",
  11031. "id": "out2"
  11032. },
  11033. {
  11034. "group": "out",
  11035. "id": "out3"
  11036. },
  11037. {
  11038. "group": "top",
  11039. "id": "top"
  11040. },
  11041. {
  11042. "group": "top",
  11043. "id": "top2"
  11044. },
  11045. {
  11046. "group": "top",
  11047. "id": "top3"
  11048. },
  11049. {
  11050. "group": "bottom",
  11051. "id": "bottom"
  11052. },
  11053. {
  11054. "group": "bottom",
  11055. "id": "bottom2"
  11056. },
  11057. {
  11058. "group": "bottom",
  11059. "id": "bottom3"
  11060. },
  11061. {
  11062. "id": "in4",
  11063. "group": "in"
  11064. },
  11065. {
  11066. "id": "bottom4",
  11067. "group": "bottom"
  11068. },
  11069. {
  11070. "id": "top4",
  11071. "group": "top"
  11072. }
  11073. ]
  11074. }
  11075. },
  11076. {
  11077. "id": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  11078. "shape": "edit-node",
  11079. "position": {
  11080. "x": 1355.0000000000246,
  11081. "y": 1550.000000000005
  11082. },
  11083. "label": "### 部件缺失信息\n---\n工厂\n物料号\n版本号\n缺失信息(缺失备注信息)",
  11084. "fillColor": "rgb(90, 213, 198)",
  11085. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11086. "size": {
  11087. "width": 160,
  11088. "height": 150
  11089. },
  11090. "ports": {
  11091. "groups": {
  11092. "in": {
  11093. "attrs": {
  11094. "fo": {
  11095. "width": 8,
  11096. "height": 8,
  11097. "x": -4,
  11098. "y": -4,
  11099. "magnet": "true",
  11100. "style": {
  11101. "visibility": "hidden"
  11102. }
  11103. }
  11104. },
  11105. "zIndex": 3,
  11106. "position": {
  11107. "name": "left"
  11108. }
  11109. },
  11110. "out": {
  11111. "attrs": {
  11112. "fo": {
  11113. "width": 8,
  11114. "height": 8,
  11115. "x": -4,
  11116. "y": -4,
  11117. "magnet": "true",
  11118. "style": {
  11119. "visibility": "hidden"
  11120. }
  11121. }
  11122. },
  11123. "zIndex": 3,
  11124. "position": {
  11125. "name": "right"
  11126. }
  11127. },
  11128. "top": {
  11129. "attrs": {
  11130. "fo": {
  11131. "width": 8,
  11132. "height": 8,
  11133. "x": -4,
  11134. "y": -4,
  11135. "magnet": "true",
  11136. "style": {
  11137. "visibility": "hidden"
  11138. }
  11139. }
  11140. },
  11141. "zIndex": 3,
  11142. "position": {
  11143. "name": "top"
  11144. }
  11145. },
  11146. "bottom": {
  11147. "attrs": {
  11148. "fo": {
  11149. "width": 8,
  11150. "height": 8,
  11151. "x": -4,
  11152. "y": -4,
  11153. "magnet": "true",
  11154. "style": {
  11155. "visibility": "hidden"
  11156. }
  11157. }
  11158. },
  11159. "zIndex": 3,
  11160. "position": {
  11161. "name": "bottom"
  11162. }
  11163. }
  11164. },
  11165. "items": [
  11166. {
  11167. "group": "in",
  11168. "id": "in"
  11169. },
  11170. {
  11171. "group": "in",
  11172. "id": "in2"
  11173. },
  11174. {
  11175. "group": "in",
  11176. "id": "in3"
  11177. },
  11178. {
  11179. "group": "out",
  11180. "id": "out"
  11181. },
  11182. {
  11183. "group": "out",
  11184. "id": "out2"
  11185. },
  11186. {
  11187. "group": "out",
  11188. "id": "out3"
  11189. },
  11190. {
  11191. "group": "top",
  11192. "id": "top"
  11193. },
  11194. {
  11195. "group": "top",
  11196. "id": "top2"
  11197. },
  11198. {
  11199. "group": "top",
  11200. "id": "top3"
  11201. },
  11202. {
  11203. "group": "bottom",
  11204. "id": "bottom"
  11205. },
  11206. {
  11207. "group": "bottom",
  11208. "id": "bottom2"
  11209. },
  11210. {
  11211. "group": "bottom",
  11212. "id": "bottom3"
  11213. },
  11214. {
  11215. "id": "in4",
  11216. "group": "in"
  11217. },
  11218. {
  11219. "id": "bottom4",
  11220. "group": "bottom"
  11221. }
  11222. ]
  11223. }
  11224. },
  11225. {
  11226. "id": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  11227. "shape": "edit-node",
  11228. "position": {
  11229. "x": 1440.0000000000095,
  11230. "y": 1370.0000000000123
  11231. },
  11232. "label": "### 当月入库标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\nWBS号\n项目名称(项目id)\n库存地点编号",
  11233. "fillColor": "rgb(90, 213, 198)",
  11234. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11235. "size": {
  11236. "width": 160,
  11237. "height": 160
  11238. },
  11239. "ports": {
  11240. "groups": {
  11241. "in": {
  11242. "attrs": {
  11243. "fo": {
  11244. "width": 8,
  11245. "height": 8,
  11246. "x": -4,
  11247. "y": -4,
  11248. "magnet": "true",
  11249. "style": {
  11250. "visibility": "hidden"
  11251. }
  11252. }
  11253. },
  11254. "zIndex": 3,
  11255. "position": {
  11256. "name": "left"
  11257. }
  11258. },
  11259. "out": {
  11260. "attrs": {
  11261. "fo": {
  11262. "width": 8,
  11263. "height": 8,
  11264. "x": -4,
  11265. "y": -4,
  11266. "magnet": "true",
  11267. "style": {
  11268. "visibility": "hidden"
  11269. }
  11270. }
  11271. },
  11272. "zIndex": 3,
  11273. "position": {
  11274. "name": "right"
  11275. }
  11276. },
  11277. "top": {
  11278. "attrs": {
  11279. "fo": {
  11280. "width": 8,
  11281. "height": 8,
  11282. "x": -4,
  11283. "y": -4,
  11284. "magnet": "true",
  11285. "style": {
  11286. "visibility": "hidden"
  11287. }
  11288. }
  11289. },
  11290. "zIndex": 3,
  11291. "position": {
  11292. "name": "top"
  11293. }
  11294. },
  11295. "bottom": {
  11296. "attrs": {
  11297. "fo": {
  11298. "width": 8,
  11299. "height": 8,
  11300. "x": -4,
  11301. "y": -4,
  11302. "magnet": "true",
  11303. "style": {
  11304. "visibility": "hidden"
  11305. }
  11306. }
  11307. },
  11308. "zIndex": 3,
  11309. "position": {
  11310. "name": "bottom"
  11311. }
  11312. }
  11313. },
  11314. "items": [
  11315. {
  11316. "group": "in",
  11317. "id": "in"
  11318. },
  11319. {
  11320. "group": "in",
  11321. "id": "in2"
  11322. },
  11323. {
  11324. "group": "in",
  11325. "id": "in3"
  11326. },
  11327. {
  11328. "group": "out",
  11329. "id": "out"
  11330. },
  11331. {
  11332. "group": "out",
  11333. "id": "out2"
  11334. },
  11335. {
  11336. "group": "out",
  11337. "id": "out3"
  11338. },
  11339. {
  11340. "group": "top",
  11341. "id": "top"
  11342. },
  11343. {
  11344. "group": "top",
  11345. "id": "top2"
  11346. },
  11347. {
  11348. "group": "top",
  11349. "id": "top3"
  11350. },
  11351. {
  11352. "group": "bottom",
  11353. "id": "bottom"
  11354. },
  11355. {
  11356. "group": "bottom",
  11357. "id": "bottom2"
  11358. },
  11359. {
  11360. "group": "bottom",
  11361. "id": "bottom3"
  11362. },
  11363. {
  11364. "id": "in4",
  11365. "group": "in"
  11366. },
  11367. {
  11368. "id": "bottom4",
  11369. "group": "bottom"
  11370. },
  11371. {
  11372. "id": "top4",
  11373. "group": "top"
  11374. }
  11375. ]
  11376. }
  11377. },
  11378. {
  11379. "id": "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
  11380. "shape": "edit-node",
  11381. "position": {
  11382. "x": 350.0000000000048,
  11383. "y": 969.9999999999952
  11384. },
  11385. "label": "### 角色管理\n---\nid\n角色名称\n是否启用\n操作权限",
  11386. "fillColor": "#DDE5FF",
  11387. "size": {
  11388. "width": 170,
  11389. "height": 150
  11390. },
  11391. "ports": {
  11392. "groups": {
  11393. "in": {
  11394. "attrs": {
  11395. "fo": {
  11396. "width": 8,
  11397. "height": 8,
  11398. "x": -4,
  11399. "y": -4,
  11400. "magnet": "true",
  11401. "style": {
  11402. "visibility": "hidden"
  11403. }
  11404. }
  11405. },
  11406. "zIndex": 3,
  11407. "position": {
  11408. "name": "left"
  11409. }
  11410. },
  11411. "out": {
  11412. "attrs": {
  11413. "fo": {
  11414. "width": 8,
  11415. "height": 8,
  11416. "x": -4,
  11417. "y": -4,
  11418. "magnet": "true",
  11419. "style": {
  11420. "visibility": "hidden"
  11421. }
  11422. }
  11423. },
  11424. "zIndex": 3,
  11425. "position": {
  11426. "name": "right"
  11427. }
  11428. },
  11429. "top": {
  11430. "attrs": {
  11431. "fo": {
  11432. "width": 8,
  11433. "height": 8,
  11434. "x": -4,
  11435. "y": -4,
  11436. "magnet": "true",
  11437. "style": {
  11438. "visibility": "hidden"
  11439. }
  11440. }
  11441. },
  11442. "zIndex": 3,
  11443. "position": {
  11444. "name": "top"
  11445. }
  11446. },
  11447. "bottom": {
  11448. "attrs": {
  11449. "fo": {
  11450. "width": 8,
  11451. "height": 8,
  11452. "x": -4,
  11453. "y": -4,
  11454. "magnet": "true",
  11455. "style": {
  11456. "visibility": "hidden"
  11457. }
  11458. }
  11459. },
  11460. "zIndex": 3,
  11461. "position": {
  11462. "name": "bottom"
  11463. }
  11464. }
  11465. },
  11466. "items": [
  11467. {
  11468. "group": "in",
  11469. "id": "in"
  11470. },
  11471. {
  11472. "group": "in",
  11473. "id": "in2"
  11474. },
  11475. {
  11476. "group": "in",
  11477. "id": "in3"
  11478. },
  11479. {
  11480. "group": "out",
  11481. "id": "out"
  11482. },
  11483. {
  11484. "group": "out",
  11485. "id": "out2"
  11486. },
  11487. {
  11488. "group": "out",
  11489. "id": "out3"
  11490. },
  11491. {
  11492. "group": "top",
  11493. "id": "top"
  11494. },
  11495. {
  11496. "group": "top",
  11497. "id": "top2"
  11498. },
  11499. {
  11500. "group": "top",
  11501. "id": "top3"
  11502. },
  11503. {
  11504. "group": "bottom",
  11505. "id": "bottom"
  11506. },
  11507. {
  11508. "group": "bottom",
  11509. "id": "bottom2"
  11510. },
  11511. {
  11512. "group": "bottom",
  11513. "id": "bottom3"
  11514. },
  11515. {
  11516. "id": "top4",
  11517. "group": "top"
  11518. }
  11519. ]
  11520. }
  11521. },
  11522. {
  11523. "id": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  11524. "shape": "edit-node",
  11525. "position": {
  11526. "x": 740.0000000000243,
  11527. "y": 930.0000000000014
  11528. },
  11529. "label": "### 用户\n---\nid\n用户名\n昵称\n是否启用\n所属角色\n密码\n创建时间\n\n",
  11530. "fillColor": "#DDE5FF",
  11531. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11532. "size": {
  11533. "width": 90,
  11534. "height": 160
  11535. },
  11536. "ports": {
  11537. "groups": {
  11538. "in": {
  11539. "attrs": {
  11540. "fo": {
  11541. "width": 8,
  11542. "height": 8,
  11543. "x": -4,
  11544. "y": -4,
  11545. "magnet": "true",
  11546. "style": {
  11547. "visibility": "hidden"
  11548. }
  11549. }
  11550. },
  11551. "zIndex": 3,
  11552. "position": {
  11553. "name": "left"
  11554. }
  11555. },
  11556. "out": {
  11557. "attrs": {
  11558. "fo": {
  11559. "width": 8,
  11560. "height": 8,
  11561. "x": -4,
  11562. "y": -4,
  11563. "magnet": "true",
  11564. "style": {
  11565. "visibility": "hidden"
  11566. }
  11567. }
  11568. },
  11569. "zIndex": 3,
  11570. "position": {
  11571. "name": "right"
  11572. }
  11573. },
  11574. "top": {
  11575. "attrs": {
  11576. "fo": {
  11577. "width": 8,
  11578. "height": 8,
  11579. "x": -4,
  11580. "y": -4,
  11581. "magnet": "true",
  11582. "style": {
  11583. "visibility": "hidden"
  11584. }
  11585. }
  11586. },
  11587. "zIndex": 3,
  11588. "position": {
  11589. "name": "top"
  11590. }
  11591. },
  11592. "bottom": {
  11593. "attrs": {
  11594. "fo": {
  11595. "width": 8,
  11596. "height": 8,
  11597. "x": -4,
  11598. "y": -4,
  11599. "magnet": "true",
  11600. "style": {
  11601. "visibility": "hidden"
  11602. }
  11603. }
  11604. },
  11605. "zIndex": 3,
  11606. "position": {
  11607. "name": "bottom"
  11608. }
  11609. }
  11610. },
  11611. "items": [
  11612. {
  11613. "group": "in",
  11614. "id": "in"
  11615. },
  11616. {
  11617. "group": "in",
  11618. "id": "in2"
  11619. },
  11620. {
  11621. "group": "in",
  11622. "id": "in3"
  11623. },
  11624. {
  11625. "group": "out",
  11626. "id": "out"
  11627. },
  11628. {
  11629. "group": "out",
  11630. "id": "out2"
  11631. },
  11632. {
  11633. "group": "out",
  11634. "id": "out3"
  11635. },
  11636. {
  11637. "group": "top",
  11638. "id": "top"
  11639. },
  11640. {
  11641. "group": "top",
  11642. "id": "top2"
  11643. },
  11644. {
  11645. "group": "top",
  11646. "id": "top3"
  11647. },
  11648. {
  11649. "group": "bottom",
  11650. "id": "bottom"
  11651. },
  11652. {
  11653. "group": "bottom",
  11654. "id": "bottom2"
  11655. },
  11656. {
  11657. "group": "bottom",
  11658. "id": "bottom3"
  11659. },
  11660. {
  11661. "id": "top4",
  11662. "group": "top"
  11663. }
  11664. ]
  11665. }
  11666. },
  11667. {
  11668. "id": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  11669. "link": "{\"type\":\"internally\",\"value\":\"7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49\"}",
  11670. "shape": "edit-node",
  11671. "position": {
  11672. "x": 845.0000000000246,
  11673. "y": 950.0000000000123
  11674. },
  11675. "label": "### 数据字典\n---\n采购类型(一般采购、外协采购)\n是否启用(是、否)\n项目阶段(初始、首批、量\n产)\n制造类型\n版本状态",
  11676. "fillColor": "#DDE5FF",
  11677. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11678. "size": {
  11679. "width": 170,
  11680. "height": 150
  11681. },
  11682. "ports": {
  11683. "groups": {
  11684. "in": {
  11685. "attrs": {
  11686. "fo": {
  11687. "width": 8,
  11688. "height": 8,
  11689. "x": -4,
  11690. "y": -4,
  11691. "magnet": "true",
  11692. "style": {
  11693. "visibility": "hidden"
  11694. }
  11695. }
  11696. },
  11697. "zIndex": 3,
  11698. "position": {
  11699. "name": "left"
  11700. }
  11701. },
  11702. "out": {
  11703. "attrs": {
  11704. "fo": {
  11705. "width": 8,
  11706. "height": 8,
  11707. "x": -4,
  11708. "y": -4,
  11709. "magnet": "true",
  11710. "style": {
  11711. "visibility": "hidden"
  11712. }
  11713. }
  11714. },
  11715. "zIndex": 3,
  11716. "position": {
  11717. "name": "right"
  11718. }
  11719. },
  11720. "top": {
  11721. "attrs": {
  11722. "fo": {
  11723. "width": 8,
  11724. "height": 8,
  11725. "x": -4,
  11726. "y": -4,
  11727. "magnet": "true",
  11728. "style": {
  11729. "visibility": "hidden"
  11730. }
  11731. }
  11732. },
  11733. "zIndex": 3,
  11734. "position": {
  11735. "name": "top"
  11736. }
  11737. },
  11738. "bottom": {
  11739. "attrs": {
  11740. "fo": {
  11741. "width": 8,
  11742. "height": 8,
  11743. "x": -4,
  11744. "y": -4,
  11745. "magnet": "true",
  11746. "style": {
  11747. "visibility": "hidden"
  11748. }
  11749. }
  11750. },
  11751. "zIndex": 3,
  11752. "position": {
  11753. "name": "bottom"
  11754. }
  11755. }
  11756. },
  11757. "items": [
  11758. {
  11759. "group": "in",
  11760. "id": "in"
  11761. },
  11762. {
  11763. "group": "in",
  11764. "id": "in2"
  11765. },
  11766. {
  11767. "group": "in",
  11768. "id": "in3"
  11769. },
  11770. {
  11771. "group": "out",
  11772. "id": "out"
  11773. },
  11774. {
  11775. "group": "out",
  11776. "id": "out2"
  11777. },
  11778. {
  11779. "group": "out",
  11780. "id": "out3"
  11781. },
  11782. {
  11783. "group": "top",
  11784. "id": "top"
  11785. },
  11786. {
  11787. "group": "top",
  11788. "id": "top2"
  11789. },
  11790. {
  11791. "group": "top",
  11792. "id": "top3"
  11793. },
  11794. {
  11795. "group": "bottom",
  11796. "id": "bottom"
  11797. },
  11798. {
  11799. "group": "bottom",
  11800. "id": "bottom2"
  11801. },
  11802. {
  11803. "group": "bottom",
  11804. "id": "bottom3"
  11805. },
  11806. {
  11807. "id": "top4",
  11808. "group": "top"
  11809. }
  11810. ]
  11811. }
  11812. },
  11813. {
  11814. "id": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  11815. "link": "{\"type\":\"internally\",\"value\":\"1271309E-2310-435D-B129-DC3F72BBA013\"}",
  11816. "shape": "edit-node",
  11817. "position": {
  11818. "x": 1620.0000000000048,
  11819. "y": 1150.0000000000061
  11820. },
  11821. "label": "### 物料号最新的版本号\n---\n项目类型\n子项目号\n项目名称\n项目阶段\n项目日期\n图号\n工厂\n物料号\n版本号\n版本状态",
  11822. "fillColor": "rgb(90, 213, 198)",
  11823. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11824. "size": {
  11825. "width": 170,
  11826. "height": 220
  11827. },
  11828. "ports": {
  11829. "groups": {
  11830. "in": {
  11831. "attrs": {
  11832. "fo": {
  11833. "width": 8,
  11834. "height": 8,
  11835. "x": -4,
  11836. "y": -4,
  11837. "magnet": "true",
  11838. "style": {
  11839. "visibility": "hidden"
  11840. }
  11841. }
  11842. },
  11843. "zIndex": 3,
  11844. "position": {
  11845. "name": "left"
  11846. }
  11847. },
  11848. "out": {
  11849. "attrs": {
  11850. "fo": {
  11851. "width": 8,
  11852. "height": 8,
  11853. "x": -4,
  11854. "y": -4,
  11855. "magnet": "true",
  11856. "style": {
  11857. "visibility": "hidden"
  11858. }
  11859. }
  11860. },
  11861. "zIndex": 3,
  11862. "position": {
  11863. "name": "right"
  11864. }
  11865. },
  11866. "top": {
  11867. "attrs": {
  11868. "fo": {
  11869. "width": 8,
  11870. "height": 8,
  11871. "x": -4,
  11872. "y": -4,
  11873. "magnet": "true",
  11874. "style": {
  11875. "visibility": "hidden"
  11876. }
  11877. }
  11878. },
  11879. "zIndex": 3,
  11880. "position": {
  11881. "name": "top"
  11882. }
  11883. },
  11884. "bottom": {
  11885. "attrs": {
  11886. "fo": {
  11887. "width": 8,
  11888. "height": 8,
  11889. "x": -4,
  11890. "y": -4,
  11891. "magnet": "true",
  11892. "style": {
  11893. "visibility": "hidden"
  11894. }
  11895. }
  11896. },
  11897. "zIndex": 3,
  11898. "position": {
  11899. "name": "bottom"
  11900. }
  11901. }
  11902. },
  11903. "items": [
  11904. {
  11905. "group": "in",
  11906. "id": "in"
  11907. },
  11908. {
  11909. "group": "in",
  11910. "id": "in2"
  11911. },
  11912. {
  11913. "group": "in",
  11914. "id": "in3"
  11915. },
  11916. {
  11917. "group": "out",
  11918. "id": "out"
  11919. },
  11920. {
  11921. "group": "out",
  11922. "id": "out2"
  11923. },
  11924. {
  11925. "group": "out",
  11926. "id": "out3"
  11927. },
  11928. {
  11929. "group": "top",
  11930. "id": "top"
  11931. },
  11932. {
  11933. "group": "top",
  11934. "id": "top2"
  11935. },
  11936. {
  11937. "group": "top",
  11938. "id": "top3"
  11939. },
  11940. {
  11941. "group": "bottom",
  11942. "id": "bottom"
  11943. },
  11944. {
  11945. "group": "bottom",
  11946. "id": "bottom2"
  11947. },
  11948. {
  11949. "group": "bottom",
  11950. "id": "bottom3"
  11951. },
  11952. {
  11953. "id": "top4",
  11954. "group": "top"
  11955. }
  11956. ]
  11957. }
  11958. },
  11959. {
  11960. "id": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  11961. "link": "{\"type\":\"internally\",\"value\":\"236F8414-6100-429D-8DEC-A223B0BDA052\"}",
  11962. "shape": "edit-node",
  11963. "position": {
  11964. "x": 1460.0000000000095,
  11965. "y": 930.0000000000014
  11966. },
  11967. "label": "### 项目\n---\nid\n项目编号\n项目名称\n项目类型\n计划开始时间\n计划结束时间\n项目状态",
  11968. "fillColor": "#DDE5FF",
  11969. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11970. "size": {
  11971. "width": 120,
  11972. "height": 160
  11973. },
  11974. "ports": {
  11975. "groups": {
  11976. "in": {
  11977. "attrs": {
  11978. "fo": {
  11979. "width": 8,
  11980. "height": 8,
  11981. "x": -4,
  11982. "y": -4,
  11983. "magnet": "true",
  11984. "style": {
  11985. "visibility": "hidden"
  11986. }
  11987. }
  11988. },
  11989. "zIndex": 3,
  11990. "position": {
  11991. "name": "left"
  11992. }
  11993. },
  11994. "out": {
  11995. "attrs": {
  11996. "fo": {
  11997. "width": 8,
  11998. "height": 8,
  11999. "x": -4,
  12000. "y": -4,
  12001. "magnet": "true",
  12002. "style": {
  12003. "visibility": "hidden"
  12004. }
  12005. }
  12006. },
  12007. "zIndex": 3,
  12008. "position": {
  12009. "name": "right"
  12010. }
  12011. },
  12012. "top": {
  12013. "attrs": {
  12014. "fo": {
  12015. "width": 8,
  12016. "height": 8,
  12017. "x": -4,
  12018. "y": -4,
  12019. "magnet": "true",
  12020. "style": {
  12021. "visibility": "hidden"
  12022. }
  12023. }
  12024. },
  12025. "zIndex": 3,
  12026. "position": {
  12027. "name": "top"
  12028. }
  12029. },
  12030. "bottom": {
  12031. "attrs": {
  12032. "fo": {
  12033. "width": 8,
  12034. "height": 8,
  12035. "x": -4,
  12036. "y": -4,
  12037. "magnet": "true",
  12038. "style": {
  12039. "visibility": "hidden"
  12040. }
  12041. }
  12042. },
  12043. "zIndex": 3,
  12044. "position": {
  12045. "name": "bottom"
  12046. }
  12047. }
  12048. },
  12049. "items": [
  12050. {
  12051. "group": "in",
  12052. "id": "in"
  12053. },
  12054. {
  12055. "group": "in",
  12056. "id": "in2"
  12057. },
  12058. {
  12059. "group": "in",
  12060. "id": "in3"
  12061. },
  12062. {
  12063. "group": "out",
  12064. "id": "out"
  12065. },
  12066. {
  12067. "group": "out",
  12068. "id": "out2"
  12069. },
  12070. {
  12071. "group": "out",
  12072. "id": "out3"
  12073. },
  12074. {
  12075. "group": "top",
  12076. "id": "top"
  12077. },
  12078. {
  12079. "group": "top",
  12080. "id": "top2"
  12081. },
  12082. {
  12083. "group": "top",
  12084. "id": "top3"
  12085. },
  12086. {
  12087. "group": "bottom",
  12088. "id": "bottom"
  12089. },
  12090. {
  12091. "group": "bottom",
  12092. "id": "bottom2"
  12093. },
  12094. {
  12095. "group": "bottom",
  12096. "id": "bottom3"
  12097. }
  12098. ]
  12099. }
  12100. },
  12101. {
  12102. "id": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  12103. "link": "{\"type\":\"internally\",\"value\":\"65E2E950-34BE-49A8-98A3-9EB13E974B8F\"}",
  12104. "shape": "edit-node",
  12105. "position": {
  12106. "x": 280.0000000000198,
  12107. "y": 579.9999999999952
  12108. },
  12109. "label": "### 小时费用率\n---\n年度\n工厂代码(工厂id)\n成本中心代码(成本中心id)\n成本中心名称(成本中心id)\n人工小时费率\n设备小时费率\n燃动小时费率\n辅料小时费率\n其他小时费率\n生效日期\n失效日期\n维护人员(用户id)\n维护时间",
  12110. "fontColor": "rgb(52, 124, 212)",
  12111. "fillColor": "rgb(245, 220, 78)",
  12112. "size": {
  12113. "width": 180,
  12114. "height": 270
  12115. },
  12116. "ports": {
  12117. "groups": {
  12118. "in": {
  12119. "attrs": {
  12120. "fo": {
  12121. "width": 8,
  12122. "height": 8,
  12123. "x": -4,
  12124. "y": -4,
  12125. "magnet": "true",
  12126. "style": {
  12127. "visibility": "hidden"
  12128. }
  12129. }
  12130. },
  12131. "zIndex": 3,
  12132. "position": {
  12133. "name": "left"
  12134. }
  12135. },
  12136. "out": {
  12137. "attrs": {
  12138. "fo": {
  12139. "width": 8,
  12140. "height": 8,
  12141. "x": -4,
  12142. "y": -4,
  12143. "magnet": "true",
  12144. "style": {
  12145. "visibility": "hidden"
  12146. }
  12147. }
  12148. },
  12149. "zIndex": 3,
  12150. "position": {
  12151. "name": "right"
  12152. }
  12153. },
  12154. "top": {
  12155. "attrs": {
  12156. "fo": {
  12157. "width": 8,
  12158. "height": 8,
  12159. "x": -4,
  12160. "y": -4,
  12161. "magnet": "true",
  12162. "style": {
  12163. "visibility": "hidden"
  12164. }
  12165. }
  12166. },
  12167. "zIndex": 3,
  12168. "position": {
  12169. "name": "top"
  12170. }
  12171. },
  12172. "bottom": {
  12173. "attrs": {
  12174. "fo": {
  12175. "width": 8,
  12176. "height": 8,
  12177. "x": -4,
  12178. "y": -4,
  12179. "magnet": "true",
  12180. "style": {
  12181. "visibility": "hidden"
  12182. }
  12183. }
  12184. },
  12185. "zIndex": 3,
  12186. "position": {
  12187. "name": "bottom"
  12188. }
  12189. }
  12190. },
  12191. "items": [
  12192. {
  12193. "group": "in",
  12194. "id": "in"
  12195. },
  12196. {
  12197. "group": "in",
  12198. "id": "in2"
  12199. },
  12200. {
  12201. "group": "in",
  12202. "id": "in3"
  12203. },
  12204. {
  12205. "group": "out",
  12206. "id": "out"
  12207. },
  12208. {
  12209. "group": "out",
  12210. "id": "out2"
  12211. },
  12212. {
  12213. "group": "out",
  12214. "id": "out3"
  12215. },
  12216. {
  12217. "group": "top",
  12218. "id": "top"
  12219. },
  12220. {
  12221. "group": "top",
  12222. "id": "top2"
  12223. },
  12224. {
  12225. "group": "top",
  12226. "id": "top3"
  12227. },
  12228. {
  12229. "group": "bottom",
  12230. "id": "bottom"
  12231. },
  12232. {
  12233. "group": "bottom",
  12234. "id": "bottom2"
  12235. },
  12236. {
  12237. "group": "bottom",
  12238. "id": "bottom3"
  12239. },
  12240. {
  12241. "id": "in4",
  12242. "group": "in"
  12243. },
  12244. {
  12245. "id": "bottom4",
  12246. "group": "bottom"
  12247. }
  12248. ]
  12249. }
  12250. },
  12251. {
  12252. "id": "71e702a2-681a-453f-a15e-30ff10e3b439",
  12253. "link": "{\"type\":\"internally\",\"value\":\"4438394B-60D7-4566-91D1-4A14E2E16314\"}",
  12254. "shape": "edit-node",
  12255. "position": {
  12256. "x": 500.0000000000198,
  12257. "y": 579.9999999999952
  12258. },
  12259. "label": "### 7525价格\n---\nid\n年份\n门控料号(物料id)\n物料规格信息\n价格",
  12260. "fontColor": "rgb(52, 124, 212)",
  12261. "fillColor": "rgb(245, 220, 78)",
  12262. "size": {
  12263. "width": 120,
  12264. "height": 160
  12265. },
  12266. "ports": {
  12267. "groups": {
  12268. "in": {
  12269. "attrs": {
  12270. "fo": {
  12271. "width": 8,
  12272. "height": 8,
  12273. "x": -4,
  12274. "y": -4,
  12275. "magnet": "true",
  12276. "style": {
  12277. "visibility": "hidden"
  12278. }
  12279. }
  12280. },
  12281. "zIndex": 3,
  12282. "position": {
  12283. "name": "left"
  12284. }
  12285. },
  12286. "out": {
  12287. "attrs": {
  12288. "fo": {
  12289. "width": 8,
  12290. "height": 8,
  12291. "x": -4,
  12292. "y": -4,
  12293. "magnet": "true",
  12294. "style": {
  12295. "visibility": "hidden"
  12296. }
  12297. }
  12298. },
  12299. "zIndex": 3,
  12300. "position": {
  12301. "name": "right"
  12302. }
  12303. },
  12304. "top": {
  12305. "attrs": {
  12306. "fo": {
  12307. "width": 8,
  12308. "height": 8,
  12309. "x": -4,
  12310. "y": -4,
  12311. "magnet": "true",
  12312. "style": {
  12313. "visibility": "hidden"
  12314. }
  12315. }
  12316. },
  12317. "zIndex": 3,
  12318. "position": {
  12319. "name": "top"
  12320. }
  12321. },
  12322. "bottom": {
  12323. "attrs": {
  12324. "fo": {
  12325. "width": 8,
  12326. "height": 8,
  12327. "x": -4,
  12328. "y": -4,
  12329. "magnet": "true",
  12330. "style": {
  12331. "visibility": "hidden"
  12332. }
  12333. }
  12334. },
  12335. "zIndex": 3,
  12336. "position": {
  12337. "name": "bottom"
  12338. }
  12339. }
  12340. },
  12341. "items": [
  12342. {
  12343. "group": "in",
  12344. "id": "in"
  12345. },
  12346. {
  12347. "group": "in",
  12348. "id": "in2"
  12349. },
  12350. {
  12351. "group": "in",
  12352. "id": "in3"
  12353. },
  12354. {
  12355. "group": "out",
  12356. "id": "out"
  12357. },
  12358. {
  12359. "group": "out",
  12360. "id": "out2"
  12361. },
  12362. {
  12363. "group": "out",
  12364. "id": "out3"
  12365. },
  12366. {
  12367. "group": "top",
  12368. "id": "top"
  12369. },
  12370. {
  12371. "group": "top",
  12372. "id": "top2"
  12373. },
  12374. {
  12375. "group": "top",
  12376. "id": "top3"
  12377. },
  12378. {
  12379. "group": "bottom",
  12380. "id": "bottom"
  12381. },
  12382. {
  12383. "group": "bottom",
  12384. "id": "bottom2"
  12385. },
  12386. {
  12387. "group": "bottom",
  12388. "id": "bottom3"
  12389. }
  12390. ]
  12391. }
  12392. },
  12393. {
  12394. "id": "ff5515d5-21a9-4272-86b2-c984273febc1",
  12395. "link": "{\"type\":\"internally\",\"value\":\"323C2CE9-EC06-4BD2-B0FB-A2CD69461990\"}",
  12396. "shape": "edit-node",
  12397. "position": {
  12398. "x": 830.0000000000243,
  12399. "y": 549.9999999999952
  12400. },
  12401. "label": "### 预算价格\n---\n年度\n物料号(物料id)\n物料描述(物料id)\n项目编号(项目id)\n预算价格",
  12402. "fontColor": "rgb(52, 124, 212)",
  12403. "fillColor": "rgb(245, 220, 78)",
  12404. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12405. "size": {
  12406. "width": 160,
  12407. "height": 130
  12408. },
  12409. "ports": {
  12410. "groups": {
  12411. "in": {
  12412. "attrs": {
  12413. "fo": {
  12414. "width": 8,
  12415. "height": 8,
  12416. "x": -4,
  12417. "y": -4,
  12418. "magnet": "true",
  12419. "style": {
  12420. "visibility": "hidden"
  12421. }
  12422. }
  12423. },
  12424. "zIndex": 3,
  12425. "position": {
  12426. "name": "left"
  12427. }
  12428. },
  12429. "out": {
  12430. "attrs": {
  12431. "fo": {
  12432. "width": 8,
  12433. "height": 8,
  12434. "x": -4,
  12435. "y": -4,
  12436. "magnet": "true",
  12437. "style": {
  12438. "visibility": "hidden"
  12439. }
  12440. }
  12441. },
  12442. "zIndex": 3,
  12443. "position": {
  12444. "name": "right"
  12445. }
  12446. },
  12447. "top": {
  12448. "attrs": {
  12449. "fo": {
  12450. "width": 8,
  12451. "height": 8,
  12452. "x": -4,
  12453. "y": -4,
  12454. "magnet": "true",
  12455. "style": {
  12456. "visibility": "hidden"
  12457. }
  12458. }
  12459. },
  12460. "zIndex": 3,
  12461. "position": {
  12462. "name": "top"
  12463. }
  12464. },
  12465. "bottom": {
  12466. "attrs": {
  12467. "fo": {
  12468. "width": 8,
  12469. "height": 8,
  12470. "x": -4,
  12471. "y": -4,
  12472. "magnet": "true",
  12473. "style": {
  12474. "visibility": "hidden"
  12475. }
  12476. }
  12477. },
  12478. "zIndex": 3,
  12479. "position": {
  12480. "name": "bottom"
  12481. }
  12482. }
  12483. },
  12484. "items": [
  12485. {
  12486. "group": "in",
  12487. "id": "in"
  12488. },
  12489. {
  12490. "group": "in",
  12491. "id": "in2"
  12492. },
  12493. {
  12494. "group": "in",
  12495. "id": "in3"
  12496. },
  12497. {
  12498. "group": "out",
  12499. "id": "out"
  12500. },
  12501. {
  12502. "group": "out",
  12503. "id": "out2"
  12504. },
  12505. {
  12506. "group": "out",
  12507. "id": "out3"
  12508. },
  12509. {
  12510. "group": "top",
  12511. "id": "top"
  12512. },
  12513. {
  12514. "group": "top",
  12515. "id": "top2"
  12516. },
  12517. {
  12518. "group": "top",
  12519. "id": "top3"
  12520. },
  12521. {
  12522. "group": "bottom",
  12523. "id": "bottom"
  12524. },
  12525. {
  12526. "group": "bottom",
  12527. "id": "bottom2"
  12528. },
  12529. {
  12530. "group": "bottom",
  12531. "id": "bottom3"
  12532. },
  12533. {
  12534. "id": "in4",
  12535. "group": "in"
  12536. }
  12537. ]
  12538. }
  12539. },
  12540. {
  12541. "id": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  12542. "link": "{\"type\":\"internally\",\"value\":\"15372773-A008-4A5F-B23E-75E100F99B47\"}",
  12543. "shape": "edit-node",
  12544. "position": {
  12545. "x": 1040.0000000000277,
  12546. "y": 965.0000000000014
  12547. },
  12548. "label": "### 成本中心\n---\nid\n成本中心代码",
  12549. "fontColor": "rgb(52, 124, 212)",
  12550. "fillColor": "#DDE5FF",
  12551. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12552. "size": {
  12553. "width": 90,
  12554. "height": 70
  12555. },
  12556. "ports": {
  12557. "groups": {
  12558. "in": {
  12559. "attrs": {
  12560. "fo": {
  12561. "width": 8,
  12562. "height": 8,
  12563. "x": -4,
  12564. "y": -4,
  12565. "magnet": "true",
  12566. "style": {
  12567. "visibility": "hidden"
  12568. }
  12569. }
  12570. },
  12571. "zIndex": 3,
  12572. "position": {
  12573. "name": "left"
  12574. }
  12575. },
  12576. "out": {
  12577. "attrs": {
  12578. "fo": {
  12579. "width": 8,
  12580. "height": 8,
  12581. "x": -4,
  12582. "y": -4,
  12583. "magnet": "true",
  12584. "style": {
  12585. "visibility": "hidden"
  12586. }
  12587. }
  12588. },
  12589. "zIndex": 3,
  12590. "position": {
  12591. "name": "right"
  12592. }
  12593. },
  12594. "top": {
  12595. "attrs": {
  12596. "fo": {
  12597. "width": 8,
  12598. "height": 8,
  12599. "x": -4,
  12600. "y": -4,
  12601. "magnet": "true",
  12602. "style": {
  12603. "visibility": "hidden"
  12604. }
  12605. }
  12606. },
  12607. "zIndex": 3,
  12608. "position": {
  12609. "name": "top"
  12610. }
  12611. },
  12612. "bottom": {
  12613. "attrs": {
  12614. "fo": {
  12615. "width": 8,
  12616. "height": 8,
  12617. "x": -4,
  12618. "y": -4,
  12619. "magnet": "true",
  12620. "style": {
  12621. "visibility": "hidden"
  12622. }
  12623. }
  12624. },
  12625. "zIndex": 3,
  12626. "position": {
  12627. "name": "bottom"
  12628. }
  12629. }
  12630. },
  12631. "items": [
  12632. {
  12633. "group": "in",
  12634. "id": "in"
  12635. },
  12636. {
  12637. "group": "in",
  12638. "id": "in2"
  12639. },
  12640. {
  12641. "group": "in",
  12642. "id": "in3"
  12643. },
  12644. {
  12645. "group": "out",
  12646. "id": "out"
  12647. },
  12648. {
  12649. "group": "out",
  12650. "id": "out2"
  12651. },
  12652. {
  12653. "group": "out",
  12654. "id": "out3"
  12655. },
  12656. {
  12657. "group": "top",
  12658. "id": "top"
  12659. },
  12660. {
  12661. "group": "top",
  12662. "id": "top2"
  12663. },
  12664. {
  12665. "group": "top",
  12666. "id": "top3"
  12667. },
  12668. {
  12669. "group": "bottom",
  12670. "id": "bottom"
  12671. },
  12672. {
  12673. "group": "bottom",
  12674. "id": "bottom2"
  12675. },
  12676. {
  12677. "group": "bottom",
  12678. "id": "bottom3"
  12679. }
  12680. ]
  12681. }
  12682. },
  12683. {
  12684. "id": "06ca758c-3187-47bd-8136-ca10dd94640b",
  12685. "shape": "edit-node",
  12686. "position": {
  12687. "x": 805.0000000000246,
  12688. "y": 1200.0000000000123
  12689. },
  12690. "label": "### 成本挖掘统计\n---\n工厂\n年度\n月度\n库存地点\n材料成本-实际\n人工成本-实际\n制造费用-实际\n总成本-电子实际\n材料成本-标准\n人工成本-标准\n制造费用-标准\n标准成本-电子实际\n材料成本-差异\n人工成本-差异\n制造费用-差异\n总成本差异-电子实际\n---\n原因分析",
  12691. "fillColor": "rgb(247, 151, 128)",
  12692. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12693. "size": {
  12694. "width": 140,
  12695. "height": 350
  12696. },
  12697. "ports": {
  12698. "groups": {
  12699. "in": {
  12700. "attrs": {
  12701. "fo": {
  12702. "width": 8,
  12703. "height": 8,
  12704. "x": -4,
  12705. "y": -4,
  12706. "magnet": "true",
  12707. "style": {
  12708. "visibility": "hidden"
  12709. }
  12710. }
  12711. },
  12712. "zIndex": 3,
  12713. "position": {
  12714. "name": "left"
  12715. }
  12716. },
  12717. "out": {
  12718. "attrs": {
  12719. "fo": {
  12720. "width": 8,
  12721. "height": 8,
  12722. "x": -4,
  12723. "y": -4,
  12724. "magnet": "true",
  12725. "style": {
  12726. "visibility": "hidden"
  12727. }
  12728. }
  12729. },
  12730. "zIndex": 3,
  12731. "position": {
  12732. "name": "right"
  12733. }
  12734. },
  12735. "top": {
  12736. "attrs": {
  12737. "fo": {
  12738. "width": 8,
  12739. "height": 8,
  12740. "x": -4,
  12741. "y": -4,
  12742. "magnet": "true",
  12743. "style": {
  12744. "visibility": "hidden"
  12745. }
  12746. }
  12747. },
  12748. "zIndex": 3,
  12749. "position": {
  12750. "name": "top"
  12751. }
  12752. },
  12753. "bottom": {
  12754. "attrs": {
  12755. "fo": {
  12756. "width": 8,
  12757. "height": 8,
  12758. "x": -4,
  12759. "y": -4,
  12760. "magnet": "true",
  12761. "style": {
  12762. "visibility": "hidden"
  12763. }
  12764. }
  12765. },
  12766. "zIndex": 3,
  12767. "position": {
  12768. "name": "bottom"
  12769. }
  12770. }
  12771. },
  12772. "items": [
  12773. {
  12774. "group": "in",
  12775. "id": "in"
  12776. },
  12777. {
  12778. "group": "in",
  12779. "id": "in2"
  12780. },
  12781. {
  12782. "group": "in",
  12783. "id": "in3"
  12784. },
  12785. {
  12786. "group": "out",
  12787. "id": "out"
  12788. },
  12789. {
  12790. "group": "out",
  12791. "id": "out2"
  12792. },
  12793. {
  12794. "group": "out",
  12795. "id": "out3"
  12796. },
  12797. {
  12798. "group": "top",
  12799. "id": "top"
  12800. },
  12801. {
  12802. "group": "top",
  12803. "id": "top2"
  12804. },
  12805. {
  12806. "group": "top",
  12807. "id": "top3"
  12808. },
  12809. {
  12810. "group": "bottom",
  12811. "id": "bottom"
  12812. },
  12813. {
  12814. "group": "bottom",
  12815. "id": "bottom2"
  12816. },
  12817. {
  12818. "group": "bottom",
  12819. "id": "bottom3"
  12820. },
  12821. {
  12822. "id": "top4",
  12823. "group": "top"
  12824. }
  12825. ]
  12826. }
  12827. },
  12828. {
  12829. "id": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  12830. "link": "{\"type\":\"internally\",\"value\":\"0C137DAC-F352-41FC-83D4-852123619E5C\"}",
  12831. "shape": "edit-node",
  12832. "position": {
  12833. "x": 1170.0000000000277,
  12834. "y": 950.0000000000123
  12835. },
  12836. "label": "### 工厂\n---\nid\n工厂代码",
  12837. "fontColor": "rgb(52, 124, 212)",
  12838. "fillColor": "#DDE5FF",
  12839. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12840. "size": {
  12841. "width": 80,
  12842. "height": 70
  12843. },
  12844. "ports": {
  12845. "groups": {
  12846. "in": {
  12847. "attrs": {
  12848. "fo": {
  12849. "width": 8,
  12850. "height": 8,
  12851. "x": -4,
  12852. "y": -4,
  12853. "magnet": "true",
  12854. "style": {
  12855. "visibility": "hidden"
  12856. }
  12857. }
  12858. },
  12859. "zIndex": 3,
  12860. "position": {
  12861. "name": "left"
  12862. }
  12863. },
  12864. "out": {
  12865. "attrs": {
  12866. "fo": {
  12867. "width": 8,
  12868. "height": 8,
  12869. "x": -4,
  12870. "y": -4,
  12871. "magnet": "true",
  12872. "style": {
  12873. "visibility": "hidden"
  12874. }
  12875. }
  12876. },
  12877. "zIndex": 3,
  12878. "position": {
  12879. "name": "right"
  12880. }
  12881. },
  12882. "top": {
  12883. "attrs": {
  12884. "fo": {
  12885. "width": 8,
  12886. "height": 8,
  12887. "x": -4,
  12888. "y": -4,
  12889. "magnet": "true",
  12890. "style": {
  12891. "visibility": "hidden"
  12892. }
  12893. }
  12894. },
  12895. "zIndex": 3,
  12896. "position": {
  12897. "name": "top"
  12898. }
  12899. },
  12900. "bottom": {
  12901. "attrs": {
  12902. "fo": {
  12903. "width": 8,
  12904. "height": 8,
  12905. "x": -4,
  12906. "y": -4,
  12907. "magnet": "true",
  12908. "style": {
  12909. "visibility": "hidden"
  12910. }
  12911. }
  12912. },
  12913. "zIndex": 3,
  12914. "position": {
  12915. "name": "bottom"
  12916. }
  12917. }
  12918. },
  12919. "items": [
  12920. {
  12921. "group": "in",
  12922. "id": "in"
  12923. },
  12924. {
  12925. "group": "in",
  12926. "id": "in2"
  12927. },
  12928. {
  12929. "group": "in",
  12930. "id": "in3"
  12931. },
  12932. {
  12933. "group": "out",
  12934. "id": "out"
  12935. },
  12936. {
  12937. "group": "out",
  12938. "id": "out2"
  12939. },
  12940. {
  12941. "group": "out",
  12942. "id": "out3"
  12943. },
  12944. {
  12945. "group": "top",
  12946. "id": "top"
  12947. },
  12948. {
  12949. "group": "top",
  12950. "id": "top2"
  12951. },
  12952. {
  12953. "group": "top",
  12954. "id": "top3"
  12955. },
  12956. {
  12957. "group": "bottom",
  12958. "id": "bottom"
  12959. },
  12960. {
  12961. "group": "bottom",
  12962. "id": "bottom2"
  12963. },
  12964. {
  12965. "group": "bottom",
  12966. "id": "bottom3"
  12967. },
  12968. {
  12969. "id": "top4",
  12970. "group": "top"
  12971. }
  12972. ]
  12973. }
  12974. },
  12975. {
  12976. "id": "50255b65-de6e-4032-b606-58482a662442",
  12977. "link": "{\"type\":\"internally\",\"value\":\"7D1DEA8A-7373-4659-B1A7-B0E72416EDA7\"}",
  12978. "shape": "edit-node",
  12979. "position": {
  12980. "x": 1290.0000000000246,
  12981. "y": 930.0000000000014
  12982. },
  12983. "label": "### 物料\n---\nid\n工厂代号(工厂id)\n物料号\n物料名称\n图号",
  12984. "fillColor": "#DDE5FF",
  12985. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12986. "size": {
  12987. "width": 140,
  12988. "height": 140
  12989. },
  12990. "ports": {
  12991. "groups": {
  12992. "in": {
  12993. "attrs": {
  12994. "fo": {
  12995. "width": 8,
  12996. "height": 8,
  12997. "x": -4,
  12998. "y": -4,
  12999. "magnet": "true",
  13000. "style": {
  13001. "visibility": "hidden"
  13002. }
  13003. }
  13004. },
  13005. "zIndex": 3,
  13006. "position": {
  13007. "name": "left"
  13008. }
  13009. },
  13010. "out": {
  13011. "attrs": {
  13012. "fo": {
  13013. "width": 8,
  13014. "height": 8,
  13015. "x": -4,
  13016. "y": -4,
  13017. "magnet": "true",
  13018. "style": {
  13019. "visibility": "hidden"
  13020. }
  13021. }
  13022. },
  13023. "zIndex": 3,
  13024. "position": {
  13025. "name": "right"
  13026. }
  13027. },
  13028. "top": {
  13029. "attrs": {
  13030. "fo": {
  13031. "width": 8,
  13032. "height": 8,
  13033. "x": -4,
  13034. "y": -4,
  13035. "magnet": "true",
  13036. "style": {
  13037. "visibility": "hidden"
  13038. }
  13039. }
  13040. },
  13041. "zIndex": 3,
  13042. "position": {
  13043. "name": "top"
  13044. }
  13045. },
  13046. "bottom": {
  13047. "attrs": {
  13048. "fo": {
  13049. "width": 8,
  13050. "height": 8,
  13051. "x": -4,
  13052. "y": -4,
  13053. "magnet": "true",
  13054. "style": {
  13055. "visibility": "hidden"
  13056. }
  13057. }
  13058. },
  13059. "zIndex": 3,
  13060. "position": {
  13061. "name": "bottom"
  13062. }
  13063. }
  13064. },
  13065. "items": [
  13066. {
  13067. "group": "in",
  13068. "id": "in"
  13069. },
  13070. {
  13071. "group": "in",
  13072. "id": "in2"
  13073. },
  13074. {
  13075. "group": "in",
  13076. "id": "in3"
  13077. },
  13078. {
  13079. "group": "out",
  13080. "id": "out"
  13081. },
  13082. {
  13083. "group": "out",
  13084. "id": "out2"
  13085. },
  13086. {
  13087. "group": "out",
  13088. "id": "out3"
  13089. },
  13090. {
  13091. "group": "top",
  13092. "id": "top"
  13093. },
  13094. {
  13095. "group": "top",
  13096. "id": "top2"
  13097. },
  13098. {
  13099. "group": "top",
  13100. "id": "top3"
  13101. },
  13102. {
  13103. "group": "bottom",
  13104. "id": "bottom"
  13105. },
  13106. {
  13107. "group": "bottom",
  13108. "id": "bottom2"
  13109. },
  13110. {
  13111. "group": "bottom",
  13112. "id": "bottom3"
  13113. },
  13114. {
  13115. "id": "top4",
  13116. "group": "top"
  13117. }
  13118. ]
  13119. }
  13120. },
  13121. {
  13122. "id": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  13123. "link": "{\"type\":\"internally\",\"value\":\"38DC4808-C376-4C0A-9E1D-9BE756B68A7D\"}",
  13124. "shape": "edit-node",
  13125. "position": {
  13126. "x": 1090.0000000000155,
  13127. "y": 549.9999999999952
  13128. },
  13129. "label": "### 生产批量设置\n---\nid\n门控料号(物料id)\n工厂代号(工厂id)\n生产批量\n维护人(用户id)\n维护时间",
  13130. "fontColor": "rgb(52, 124, 212)",
  13131. "fillColor": "rgb(245, 220, 78)",
  13132. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  13133. "size": {
  13134. "width": 140,
  13135. "height": 160
  13136. },
  13137. "ports": {
  13138. "groups": {
  13139. "in": {
  13140. "attrs": {
  13141. "fo": {
  13142. "width": 8,
  13143. "height": 8,
  13144. "x": -4,
  13145. "y": -4,
  13146. "magnet": "true",
  13147. "style": {
  13148. "visibility": "hidden"
  13149. }
  13150. }
  13151. },
  13152. "zIndex": 3,
  13153. "position": {
  13154. "name": "left"
  13155. }
  13156. },
  13157. "out": {
  13158. "attrs": {
  13159. "fo": {
  13160. "width": 8,
  13161. "height": 8,
  13162. "x": -4,
  13163. "y": -4,
  13164. "magnet": "true",
  13165. "style": {
  13166. "visibility": "hidden"
  13167. }
  13168. }
  13169. },
  13170. "zIndex": 3,
  13171. "position": {
  13172. "name": "right"
  13173. }
  13174. },
  13175. "top": {
  13176. "attrs": {
  13177. "fo": {
  13178. "width": 8,
  13179. "height": 8,
  13180. "x": -4,
  13181. "y": -4,
  13182. "magnet": "true",
  13183. "style": {
  13184. "visibility": "hidden"
  13185. }
  13186. }
  13187. },
  13188. "zIndex": 3,
  13189. "position": {
  13190. "name": "top"
  13191. }
  13192. },
  13193. "bottom": {
  13194. "attrs": {
  13195. "fo": {
  13196. "width": 8,
  13197. "height": 8,
  13198. "x": -4,
  13199. "y": -4,
  13200. "magnet": "true",
  13201. "style": {
  13202. "visibility": "hidden"
  13203. }
  13204. }
  13205. },
  13206. "zIndex": 3,
  13207. "position": {
  13208. "name": "bottom"
  13209. }
  13210. }
  13211. },
  13212. "items": [
  13213. {
  13214. "group": "in",
  13215. "id": "in"
  13216. },
  13217. {
  13218. "group": "in",
  13219. "id": "in2"
  13220. },
  13221. {
  13222. "group": "in",
  13223. "id": "in3"
  13224. },
  13225. {
  13226. "group": "out",
  13227. "id": "out"
  13228. },
  13229. {
  13230. "group": "out",
  13231. "id": "out2"
  13232. },
  13233. {
  13234. "group": "out",
  13235. "id": "out3"
  13236. },
  13237. {
  13238. "group": "top",
  13239. "id": "top"
  13240. },
  13241. {
  13242. "group": "top",
  13243. "id": "top2"
  13244. },
  13245. {
  13246. "group": "top",
  13247. "id": "top3"
  13248. },
  13249. {
  13250. "group": "bottom",
  13251. "id": "bottom"
  13252. },
  13253. {
  13254. "group": "bottom",
  13255. "id": "bottom2"
  13256. },
  13257. {
  13258. "group": "bottom",
  13259. "id": "bottom3"
  13260. },
  13261. {
  13262. "id": "bottom4",
  13263. "group": "bottom"
  13264. }
  13265. ]
  13266. }
  13267. },
  13268. {
  13269. "id": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  13270. "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
  13271. "shape": "edit-node",
  13272. "position": {
  13273. "x": 1270.0000000000095,
  13274. "y": 549.9999999999952
  13275. },
  13276. "label": "### 最近采购价格\n---\nid\n工厂代号(工厂id)\n门控料号(物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用",
  13277. "fontColor": "rgb(52, 124, 212)",
  13278. "fillColor": "rgb(245, 220, 78)",
  13279. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  13280. "size": {
  13281. "width": 150,
  13282. "height": 220
  13283. },
  13284. "ports": {
  13285. "groups": {
  13286. "in": {
  13287. "attrs": {
  13288. "fo": {
  13289. "width": 8,
  13290. "height": 8,
  13291. "x": -4,
  13292. "y": -4,
  13293. "magnet": "true",
  13294. "style": {
  13295. "visibility": "hidden"
  13296. }
  13297. }
  13298. },
  13299. "zIndex": 3,
  13300. "position": {
  13301. "name": "left"
  13302. }
  13303. },
  13304. "out": {
  13305. "attrs": {
  13306. "fo": {
  13307. "width": 8,
  13308. "height": 8,
  13309. "x": -4,
  13310. "y": -4,
  13311. "magnet": "true",
  13312. "style": {
  13313. "visibility": "hidden"
  13314. }
  13315. }
  13316. },
  13317. "zIndex": 3,
  13318. "position": {
  13319. "name": "right"
  13320. }
  13321. },
  13322. "top": {
  13323. "attrs": {
  13324. "fo": {
  13325. "width": 8,
  13326. "height": 8,
  13327. "x": -4,
  13328. "y": -4,
  13329. "magnet": "true",
  13330. "style": {
  13331. "visibility": "hidden"
  13332. }
  13333. }
  13334. },
  13335. "zIndex": 3,
  13336. "position": {
  13337. "name": "top"
  13338. }
  13339. },
  13340. "bottom": {
  13341. "attrs": {
  13342. "fo": {
  13343. "width": 8,
  13344. "height": 8,
  13345. "x": -4,
  13346. "y": -4,
  13347. "magnet": "true",
  13348. "style": {
  13349. "visibility": "hidden"
  13350. }
  13351. }
  13352. },
  13353. "zIndex": 3,
  13354. "position": {
  13355. "name": "bottom"
  13356. }
  13357. }
  13358. },
  13359. "items": [
  13360. {
  13361. "group": "in",
  13362. "id": "in"
  13363. },
  13364. {
  13365. "group": "in",
  13366. "id": "in2"
  13367. },
  13368. {
  13369. "group": "in",
  13370. "id": "in3"
  13371. },
  13372. {
  13373. "group": "out",
  13374. "id": "out"
  13375. },
  13376. {
  13377. "group": "out",
  13378. "id": "out2"
  13379. },
  13380. {
  13381. "group": "out",
  13382. "id": "out3"
  13383. },
  13384. {
  13385. "group": "top",
  13386. "id": "top"
  13387. },
  13388. {
  13389. "group": "top",
  13390. "id": "top2"
  13391. },
  13392. {
  13393. "group": "top",
  13394. "id": "top3"
  13395. },
  13396. {
  13397. "group": "bottom",
  13398. "id": "bottom"
  13399. },
  13400. {
  13401. "group": "bottom",
  13402. "id": "bottom2"
  13403. },
  13404. {
  13405. "group": "bottom",
  13406. "id": "bottom3"
  13407. },
  13408. {
  13409. "id": "bottom4",
  13410. "group": "bottom"
  13411. }
  13412. ]
  13413. }
  13414. }
  13415. ]
  13416. },
  13417. "id": "49BB7996-5205-4A52-96A3-FE87B1D8C4AC",
  13418. "comment": ""
  13419. },
  13420. {
  13421. "defKey": "2",
  13422. "defName": "逻辑关系",
  13423. "relationType": "field",
  13424. "canvasData": {
  13425. "cells": []
  13426. },
  13427. "id": "0D56908B-B619-4D80-A491-DE9808D9FFEB",
  13428. "comment": ""
  13429. },
  13430. {
  13431. "defKey": "3",
  13432. "defName": "物理模型",
  13433. "canvasData": {
  13434. "cells": [
  13435. {
  13436. "id": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13437. "shape": "group",
  13438. "position": {
  13439. "x": 903.9999999999982,
  13440. "y": -40.00000000000006
  13441. },
  13442. "label": "学生行为",
  13443. "size": {
  13444. "width": 960,
  13445. "height": 760
  13446. },
  13447. "children": [
  13448. "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13449. "26b28925-27ed-488d-b20d-2abbcafa5057",
  13450. "8fad7c2e-d083-4589-b938-071541a6cea1",
  13451. "60b8fc40-2b82-4b9a-8da2-5234582e31f6"
  13452. ]
  13453. },
  13454. {
  13455. "id": "8fad7c2e-d083-4589-b938-071541a6cea1",
  13456. "shape": "edit-node",
  13457. "position": {
  13458. "x": 1142,
  13459. "y": 459.999999999998
  13460. },
  13461. "label": "课程信息表为镜像,所以后面的“:1\"标识,是指第1个镜像副本,仅关系图需要",
  13462. "fontColor": "#f62b07",
  13463. "fillColor": "#fcfcac",
  13464. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13465. "size": {
  13466. "width": 460,
  13467. "height": 90
  13468. },
  13469. "ports": {
  13470. "groups": {
  13471. "in": {
  13472. "attrs": {
  13473. "fo": {
  13474. "width": 8,
  13475. "height": 8,
  13476. "x": -4,
  13477. "y": -4,
  13478. "magnet": "true",
  13479. "style": {
  13480. "visibility": "hidden"
  13481. }
  13482. }
  13483. },
  13484. "zIndex": 3,
  13485. "position": {
  13486. "name": "left"
  13487. }
  13488. },
  13489. "out": {
  13490. "attrs": {
  13491. "fo": {
  13492. "width": 8,
  13493. "height": 8,
  13494. "x": -4,
  13495. "y": -4,
  13496. "magnet": "true",
  13497. "style": {
  13498. "visibility": "hidden"
  13499. }
  13500. }
  13501. },
  13502. "zIndex": 3,
  13503. "position": {
  13504. "name": "right"
  13505. }
  13506. },
  13507. "top": {
  13508. "attrs": {
  13509. "fo": {
  13510. "width": 8,
  13511. "height": 8,
  13512. "x": -4,
  13513. "y": -4,
  13514. "magnet": "true",
  13515. "style": {
  13516. "visibility": "hidden"
  13517. }
  13518. }
  13519. },
  13520. "zIndex": 3,
  13521. "position": {
  13522. "name": "top"
  13523. }
  13524. },
  13525. "bottom": {
  13526. "attrs": {
  13527. "fo": {
  13528. "width": 8,
  13529. "height": 8,
  13530. "x": -4,
  13531. "y": -4,
  13532. "magnet": "true",
  13533. "style": {
  13534. "visibility": "hidden"
  13535. }
  13536. }
  13537. },
  13538. "zIndex": 3,
  13539. "position": {
  13540. "name": "bottom"
  13541. }
  13542. }
  13543. },
  13544. "items": [
  13545. {
  13546. "group": "in",
  13547. "id": "in"
  13548. },
  13549. {
  13550. "group": "in",
  13551. "id": "in2"
  13552. },
  13553. {
  13554. "group": "in",
  13555. "id": "in3"
  13556. },
  13557. {
  13558. "group": "out",
  13559. "id": "out"
  13560. },
  13561. {
  13562. "group": "out",
  13563. "id": "out2"
  13564. },
  13565. {
  13566. "group": "out",
  13567. "id": "out3"
  13568. },
  13569. {
  13570. "group": "top",
  13571. "id": "top"
  13572. },
  13573. {
  13574. "group": "top",
  13575. "id": "top2"
  13576. },
  13577. {
  13578. "group": "top",
  13579. "id": "top3"
  13580. },
  13581. {
  13582. "group": "bottom",
  13583. "id": "bottom"
  13584. },
  13585. {
  13586. "group": "bottom",
  13587. "id": "bottom2"
  13588. },
  13589. {
  13590. "group": "bottom",
  13591. "id": "bottom3"
  13592. }
  13593. ]
  13594. }
  13595. },
  13596. {
  13597. "id": "60b8fc40-2b82-4b9a-8da2-5234582e31f6",
  13598. "shape": "erdRelation",
  13599. "source": {
  13600. "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13601. "port": "5FAE5CA5-B7A6-40C3-878D-1BB3D4A45B5C%out"
  13602. },
  13603. "target": {
  13604. "cell": "26b28925-27ed-488d-b20d-2abbcafa5057",
  13605. "port": "0C5A31BB-2855-4BB9-84D1-7E63B37A71E1%in"
  13606. },
  13607. "relation": "1:n",
  13608. "fillColor": "#c00000",
  13609. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13610. "attrs": {
  13611. "line": {
  13612. "strokeDasharray": ""
  13613. }
  13614. }
  13615. },
  13616. {
  13617. "id": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13618. "shape": "group",
  13619. "position": {
  13620. "x": -130.00000000000023,
  13621. "y": -40
  13622. },
  13623. "label": "学院设置部分",
  13624. "size": {
  13625. "width": 1010,
  13626. "height": 760
  13627. },
  13628. "children": [
  13629. "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13630. "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13631. "9972b579-d4c5-4520-9202-7a57bf539151",
  13632. "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13633. "b9e17f34-b032-4b33-b78b-618b7e046614",
  13634. "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
  13635. "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13636. "914c8f40-8cff-49ed-86a9-4dcad63ad668",
  13637. "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13638. "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
  13639. "f03ab359-7568-4402-bc56-4593bf5e1420",
  13640. "5428380e-8314-4f6f-9048-43eff1b48ee5"
  13641. ]
  13642. },
  13643. {
  13644. "id": "f03ab359-7568-4402-bc56-4593bf5e1420",
  13645. "shape": "erdRelation",
  13646. "source": {
  13647. "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13648. "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%out"
  13649. },
  13650. "target": {
  13651. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13652. "port": "D793F097-1364-49FD-B02C-D4EBBA5A055A%in"
  13653. },
  13654. "relation": "1:n",
  13655. "vertices": [],
  13656. "labels": [
  13657. {
  13658. "attrs": {
  13659. "text": {
  13660. "text": ""
  13661. },
  13662. "rect": {}
  13663. }
  13664. }
  13665. ],
  13666. "fillColor": "#ACDAFC",
  13667. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13668. },
  13669. {
  13670. "id": "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
  13671. "shape": "erdRelation",
  13672. "source": {
  13673. "cell": "9972b579-d4c5-4520-9202-7a57bf539151",
  13674. "port": "8707AEB9-3EC5-4EEA-9E14-99BAF28B46B4%out"
  13675. },
  13676. "target": {
  13677. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13678. "port": "63130D1B-63C8-491C-B36D-5603A30BFB37%in"
  13679. },
  13680. "relation": "1:n",
  13681. "vertices": [
  13682. {
  13683. "x": 400,
  13684. "y": 73.00000000000045
  13685. }
  13686. ],
  13687. "fillColor": "#ACDAFC",
  13688. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13689. },
  13690. {
  13691. "id": "b9e17f34-b032-4b33-b78b-618b7e046614",
  13692. "shape": "erdRelation",
  13693. "source": {
  13694. "cell": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13695. "port": "3D337B5E-182D-45C7-9752-E2DD4D7CF2BD%out"
  13696. },
  13697. "target": {
  13698. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13699. "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%in"
  13700. },
  13701. "relation": "1:n",
  13702. "vertices": [
  13703. {
  13704. "x": 371,
  13705. "y": 319.00000000000045
  13706. }
  13707. ],
  13708. "fillColor": "#ACDAFC",
  13709. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13710. },
  13711. {
  13712. "id": "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
  13713. "shape": "erdRelation",
  13714. "source": {
  13715. "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13716. "port": "C5916046-F140-4B0C-BF84-EBD7DDB38EAA%out"
  13717. },
  13718. "target": {
  13719. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13720. "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%out"
  13721. },
  13722. "relation": "1:n",
  13723. "fillColor": "#ACDAFC",
  13724. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13725. },
  13726. {
  13727. "id": "5428380e-8314-4f6f-9048-43eff1b48ee5",
  13728. "shape": "erdRelation",
  13729. "source": {
  13730. "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13731. "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%in"
  13732. },
  13733. "target": {
  13734. "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13735. "port": "EFD22F94-E1D0-4CAD-947D-E856A997D7B5%in"
  13736. },
  13737. "relation": "1:n",
  13738. "vertices": [
  13739. {
  13740. "x": -79,
  13741. "y": 620.0000000000005
  13742. },
  13743. {
  13744. "x": 381,
  13745. "y": 620.0000000000005
  13746. }
  13747. ],
  13748. "fillColor": "#ACDAFC",
  13749. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13750. },
  13751. {
  13752. "id": "914c8f40-8cff-49ed-86a9-4dcad63ad668",
  13753. "shape": "erdRelation",
  13754. "source": {
  13755. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13756. "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%in"
  13757. },
  13758. "target": {
  13759. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13760. "port": "A23704D2-7128-41A2-988C-D20CB984FA83%in"
  13761. },
  13762. "relation": "1:n",
  13763. "fillColor": "#ACDAFC",
  13764. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13765. },
  13766. {
  13767. "id": "47d951f9-c6b0-4407-b2e3-e66f4b2931ec",
  13768. "shape": "erdRelation",
  13769. "source": {
  13770. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13771. "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%out"
  13772. },
  13773. "target": {
  13774. "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13775. "port": "1BCE9672-14BA-4B2B-B8C6-222CC6CF0F61%in"
  13776. },
  13777. "relation": "1:n",
  13778. "vertices": [
  13779. {
  13780. "x": 890,
  13781. "y": 83
  13782. }
  13783. ],
  13784. "fillColor": "#dce775",
  13785. "attrs": {
  13786. "line": {
  13787. "strokeDasharray": ""
  13788. }
  13789. }
  13790. },
  13791. {
  13792. "id": "26b28925-27ed-488d-b20d-2abbcafa5057",
  13793. "shape": "table",
  13794. "position": {
  13795. "x": 1421,
  13796. "y": 19.99999999999801
  13797. },
  13798. "count": 0,
  13799. "originKey": "6B1610FB-364F-4514-95D6-9DDA681BFC61",
  13800. "fillColor": "#9acc98",
  13801. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13802. "size": {
  13803. "width": 362,
  13804. "height": 146
  13805. }
  13806. },
  13807. {
  13808. "id": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13809. "shape": "table",
  13810. "position": {
  13811. "x": 442,
  13812. "y": 10.000000000000455
  13813. },
  13814. "count": 0,
  13815. "originKey": "C698249E-307D-4087-9EC4-3BABCFC00660",
  13816. "fontColor": "#555555",
  13817. "fillColor": "#dce775",
  13818. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13819. "size": {
  13820. "width": 393,
  13821. "height": 192
  13822. }
  13823. },
  13824. {
  13825. "id": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13826. "shape": "table",
  13827. "position": {
  13828. "x": -44.5,
  13829. "y": 10.000000000000455
  13830. },
  13831. "count": 0,
  13832. "originKey": "26B8D13E-BE37-4E20-8496-13A586E84581",
  13833. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13834. "size": {
  13835. "width": 409,
  13836. "height": 192
  13837. }
  13838. },
  13839. {
  13840. "id": "9972b579-d4c5-4520-9202-7a57bf539151",
  13841. "shape": "table",
  13842. "position": {
  13843. "x": -48.5,
  13844. "y": 233.00000000000045
  13845. },
  13846. "count": 0,
  13847. "originKey": "C2F51B91-7C24-4CB4-8406-706F4851EB0B",
  13848. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13849. "size": {
  13850. "width": 352,
  13851. "height": 169
  13852. }
  13853. },
  13854. {
  13855. "id": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13856. "shape": "table",
  13857. "position": {
  13858. "x": -59,
  13859. "y": 450.00000000000045
  13860. },
  13861. "count": 0,
  13862. "originKey": "9095C2A1-EF4C-4357-AAB2-26F99C1845CA",
  13863. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13864. "size": {
  13865. "width": 355,
  13866. "height": 146
  13867. }
  13868. },
  13869. {
  13870. "id": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13871. "shape": "table",
  13872. "position": {
  13873. "x": 396,
  13874. "y": 405.00000000000045
  13875. },
  13876. "count": 0,
  13877. "originKey": "536B8B19-C2B3-45D1-ADA8-402C0083FC31",
  13878. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13879. "size": {
  13880. "width": 451,
  13881. "height": 284
  13882. }
  13883. },
  13884. {
  13885. "id": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13886. "shape": "table",
  13887. "position": {
  13888. "x": 950,
  13889. "y": 19.99999999999801
  13890. },
  13891. "count": 0,
  13892. "originKey": "0FC9DB49-4FDB-437E-83E9-7EE803F1CC84",
  13893. "fontColor": "#0d0d0d",
  13894. "fillColor": "#c00000",
  13895. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13896. "size": {
  13897. "width": 403,
  13898. "height": 330
  13899. }
  13900. },
  13901. {
  13902. "id": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13903. "shape": "table",
  13904. "position": {
  13905. "x": 472,
  13906. "y": 233.00000000000045
  13907. },
  13908. "count": 0,
  13909. "originKey": "1A50AEEB-F956-4275-AE11-5D6F1F471FBE",
  13910. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13911. "size": {
  13912. "width": 334,
  13913. "height": 123
  13914. }
  13915. }
  13916. ]
  13917. },
  13918. "id": "9427DD89-11C0-431F-9BB0-8353A2725174",
  13919. "comment": ""
  13920. }
  13921. ],
  13922. "standardFields": [
  13923. {
  13924. "defKey": "personInfo",
  13925. "defName": "个人基本信息要素",
  13926. "fields": [
  13927. {
  13928. "defKey": "ID_CARD_NO",
  13929. "defName": "身份证号",
  13930. "comment": "",
  13931. "type": "VARCHAR",
  13932. "len": "60",
  13933. "scale": "",
  13934. "primaryKey": false,
  13935. "notNull": false,
  13936. "autoIncrement": false,
  13937. "defaultValue": "",
  13938. "hideInGraph": false,
  13939. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13940. "refDict": "",
  13941. "uiHint": "",
  13942. "id": "A64A91C8-A41F-4113-92FB-7563D7EF054D",
  13943. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13944. },
  13945. {
  13946. "defKey": "MOBILE_PHONE",
  13947. "defName": "手机号",
  13948. "comment": "",
  13949. "type": "VARCHAR",
  13950. "len": "60",
  13951. "scale": "",
  13952. "primaryKey": false,
  13953. "notNull": false,
  13954. "autoIncrement": false,
  13955. "defaultValue": "",
  13956. "hideInGraph": false,
  13957. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13958. "refDict": "",
  13959. "uiHint": "",
  13960. "id": "479DA2AB-1974-411A-A81E-92FB939E75EB",
  13961. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13962. },
  13963. {
  13964. "defKey": "GENDER",
  13965. "defName": "性别",
  13966. "comment": "",
  13967. "type": "VARCHAR",
  13968. "len": "32",
  13969. "scale": "",
  13970. "primaryKey": false,
  13971. "notNull": false,
  13972. "autoIncrement": false,
  13973. "defaultValue": "",
  13974. "hideInGraph": false,
  13975. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13976. "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
  13977. "uiHint": "",
  13978. "id": "48473E29-6594-4912-AADE-C8AB44FCA3E9",
  13979. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13980. },
  13981. {
  13982. "defKey": "BIRTH",
  13983. "defName": "出生日期",
  13984. "comment": "",
  13985. "type": "DATETIME",
  13986. "len": "",
  13987. "scale": "",
  13988. "primaryKey": false,
  13989. "notNull": false,
  13990. "autoIncrement": false,
  13991. "defaultValue": "",
  13992. "hideInGraph": false,
  13993. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  13994. "refDict": "",
  13995. "uiHint": "",
  13996. "id": "2BD3D2EE-2411-49A6-983D-84B81057312F",
  13997. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
  13998. },
  13999. {
  14000. "defKey": "AVATAR",
  14001. "defName": "头像",
  14002. "comment": "",
  14003. "type": "VARCHAR",
  14004. "len": "60",
  14005. "scale": "",
  14006. "primaryKey": false,
  14007. "notNull": false,
  14008. "autoIncrement": false,
  14009. "defaultValue": "",
  14010. "hideInGraph": false,
  14011. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  14012. "refDict": "",
  14013. "uiHint": "",
  14014. "id": "FDD67CEE-4B52-4BD1-A1A3-9C5EBC6037E6",
  14015. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14016. },
  14017. {
  14018. "defKey": "HEIGHT",
  14019. "defName": "身高",
  14020. "comment": "",
  14021. "type": "INT",
  14022. "len": "",
  14023. "scale": "",
  14024. "primaryKey": false,
  14025. "notNull": false,
  14026. "autoIncrement": false,
  14027. "defaultValue": "",
  14028. "hideInGraph": false,
  14029. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  14030. "refDict": "",
  14031. "uiHint": "",
  14032. "id": "CAAA0E79-41A1-4758-B481-D171168C4D68",
  14033. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
  14034. },
  14035. {
  14036. "defKey": "WEIGHT",
  14037. "defName": "体重",
  14038. "comment": "",
  14039. "type": "INT",
  14040. "len": "",
  14041. "scale": "",
  14042. "primaryKey": false,
  14043. "notNull": false,
  14044. "autoIncrement": false,
  14045. "defaultValue": "",
  14046. "hideInGraph": false,
  14047. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  14048. "refDict": "",
  14049. "uiHint": "",
  14050. "id": "575482CE-64A6-4CB9-99DC-8E126D190AAA",
  14051. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
  14052. },
  14053. {
  14054. "defKey": "NATION",
  14055. "defName": "名族",
  14056. "comment": "",
  14057. "type": "VARCHAR",
  14058. "len": "32",
  14059. "scale": "",
  14060. "primaryKey": false,
  14061. "notNull": false,
  14062. "autoIncrement": false,
  14063. "defaultValue": "",
  14064. "hideInGraph": false,
  14065. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  14066. "refDict": "115EDEFC-0323-410E-81AB-CCAB8879837A",
  14067. "uiHint": "",
  14068. "id": "15B0D75D-0B97-4985-A816-D0EAFA90446B",
  14069. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14070. },
  14071. {
  14072. "defKey": "POLITICAL",
  14073. "defName": "政治面貌",
  14074. "comment": "",
  14075. "type": "VARCHAR",
  14076. "len": "32",
  14077. "scale": "",
  14078. "primaryKey": false,
  14079. "notNull": false,
  14080. "autoIncrement": false,
  14081. "defaultValue": "",
  14082. "hideInGraph": false,
  14083. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  14084. "refDict": "06EED564-BBA9-4747-8D73-AF809A330CB8",
  14085. "uiHint": "",
  14086. "id": "F458E86D-84D6-45A1-9DD3-51E6C8170D7F",
  14087. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14088. },
  14089. {
  14090. "defKey": "MARITAL",
  14091. "defName": "婚姻状况",
  14092. "comment": "",
  14093. "type": "VARCHAR",
  14094. "len": "32",
  14095. "scale": "",
  14096. "primaryKey": false,
  14097. "notNull": false,
  14098. "autoIncrement": false,
  14099. "defaultValue": "",
  14100. "hideInGraph": false,
  14101. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  14102. "refDict": "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
  14103. "uiHint": "",
  14104. "id": "7275E578-6893-4922-AC69-95B261BFBD61",
  14105. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14106. },
  14107. {
  14108. "defKey": "DOMICILE_PLACE_PROVINCE",
  14109. "defName": "籍贯(省)",
  14110. "comment": "",
  14111. "type": "VARCHAR",
  14112. "len": "60",
  14113. "scale": "",
  14114. "primaryKey": false,
  14115. "notNull": false,
  14116. "autoIncrement": false,
  14117. "defaultValue": "",
  14118. "hideInGraph": false,
  14119. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  14120. "refDict": "",
  14121. "uiHint": "",
  14122. "id": "F04BF130-3EC1-4E02-9DED-3214CA88E352",
  14123. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14124. },
  14125. {
  14126. "defKey": "DOMICILE_PLACE_CITY",
  14127. "defName": "籍贯(市)",
  14128. "comment": "",
  14129. "type": "VARCHAR",
  14130. "len": "32",
  14131. "scale": "",
  14132. "primaryKey": false,
  14133. "notNull": false,
  14134. "autoIncrement": false,
  14135. "defaultValue": "",
  14136. "hideInGraph": false,
  14137. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  14138. "refDict": "",
  14139. "uiHint": "",
  14140. "id": "B97F5BC2-33DE-4857-9DB8-ECFD02C9040C",
  14141. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14142. },
  14143. {
  14144. "defKey": "DOMICILE_PLACE_ADDRESS",
  14145. "defName": "户籍地址",
  14146. "comment": "",
  14147. "type": "VARCHAR",
  14148. "len": "60",
  14149. "scale": "",
  14150. "primaryKey": false,
  14151. "notNull": false,
  14152. "autoIncrement": false,
  14153. "defaultValue": "",
  14154. "hideInGraph": false,
  14155. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  14156. "refDict": "",
  14157. "uiHint": "",
  14158. "id": "812ADF1D-8C03-40CA-B030-E539838FB889",
  14159. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  14160. }
  14161. ],
  14162. "id": "F30202B9-4B5D-4CE7-87CE-B3890C84D3F2"
  14163. }
  14164. ],
  14165. "dbConn": [
  14166. {
  14167. "defKey": "AB260C61-FBEB-4832-ADBD-E03CCFE82D96",
  14168. "defName": "成本管理",
  14169. "type": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
  14170. "properties": {
  14171. "driver_class_name": "com.mysql.cj.jdbc.Driver",
  14172. "url": "jdbc:mysql://121.40.189.20:3306/costmanage?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC",
  14173. "password": "YMzc157#",
  14174. "username": "root"
  14175. }
  14176. }
  14177. ],
  14178. "homeCoverDiagram": {
  14179. "defKey": "home-cover",
  14180. "defName": "首页封面",
  14181. "relationType": "entity",
  14182. "canvasData": {
  14183. "cells": [
  14184. {
  14185. "id": "01ac9826-9c2a-457a-8922-e6f8f25d9561",
  14186. "shape": "mind-edge",
  14187. "source": {
  14188. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14189. "port": "right"
  14190. },
  14191. "target": {
  14192. "cell": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  14193. "port": "left"
  14194. },
  14195. "fillColor": "rgb(183, 185, 189)"
  14196. },
  14197. {
  14198. "id": "b47d896a-fc4f-4ac9-b011-68a447df24a8",
  14199. "shape": "mind-edge",
  14200. "source": {
  14201. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14202. "port": "right"
  14203. },
  14204. "target": {
  14205. "cell": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  14206. "port": "left"
  14207. },
  14208. "fillColor": "rgb(183, 185, 189)"
  14209. },
  14210. {
  14211. "id": "07be3bc0-a68e-476f-ba3d-331fe552faee",
  14212. "shape": "mind-edge",
  14213. "source": {
  14214. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14215. "port": "right"
  14216. },
  14217. "target": {
  14218. "cell": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  14219. "port": "left"
  14220. },
  14221. "fillColor": "rgb(183, 185, 189)"
  14222. },
  14223. {
  14224. "id": "921ED3D8-5A8E-4A84-96AE-978C200C1E93",
  14225. "shape": "mind-edge",
  14226. "source": {
  14227. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14228. "port": "right"
  14229. },
  14230. "target": {
  14231. "cell": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  14232. "port": "left"
  14233. }
  14234. },
  14235. {
  14236. "id": "46C14C41-47AE-4CCA-B6F4-9EE675B3746F",
  14237. "shape": "mind-edge",
  14238. "source": {
  14239. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14240. "port": "right"
  14241. },
  14242. "target": {
  14243. "cell": "f286d37f-d476-461d-b42d-4246f376b2a3",
  14244. "port": "left"
  14245. }
  14246. },
  14247. {
  14248. "id": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  14249. "shape": "mind-topic",
  14250. "position": {
  14251. "x": -170,
  14252. "y": -30
  14253. },
  14254. "label": "成本管理",
  14255. "fillColor": "rgb(247, 151, 128)",
  14256. "layout": "right",
  14257. "size": {
  14258. "width": 160,
  14259. "height": 70
  14260. },
  14261. "children": [
  14262. "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  14263. "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  14264. "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  14265. "7392ebc5-1080-4250-99cb-34fa24f3050b",
  14266. "f286d37f-d476-461d-b42d-4246f376b2a3"
  14267. ]
  14268. },
  14269. {
  14270. "id": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  14271. "link": "{\"type\":\"\",\"value\":\"\"}",
  14272. "shape": "mind-topic-branch",
  14273. "position": {
  14274. "x": 70,
  14275. "y": -225
  14276. },
  14277. "label": "基础信息维护",
  14278. "fillColor": "rgb(245, 220, 78)",
  14279. "layout": "right",
  14280. "size": {
  14281. "width": 160,
  14282. "height": 60
  14283. },
  14284. "children": []
  14285. },
  14286. {
  14287. "id": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  14288. "link": "{\"type\":\"\",\"value\":\"\"}",
  14289. "shape": "mind-topic-branch",
  14290. "position": {
  14291. "x": 70,
  14292. "y": -125
  14293. },
  14294. "label": "SAP导出版本基础数据",
  14295. "fillColor": "rgb(245, 220, 78)",
  14296. "layout": "right",
  14297. "size": {
  14298. "width": 160,
  14299. "height": 60
  14300. },
  14301. "children": []
  14302. },
  14303. {
  14304. "id": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  14305. "link": "{\"type\":\"\",\"value\":\"\"}",
  14306. "shape": "mind-topic-branch",
  14307. "position": {
  14308. "x": 70,
  14309. "y": -25
  14310. },
  14311. "label": "成本卷积",
  14312. "fillColor": "rgb(245, 220, 78)",
  14313. "parent": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  14314. "layout": "right",
  14315. "size": {
  14316. "width": 160,
  14317. "height": 60
  14318. },
  14319. "children": []
  14320. },
  14321. {
  14322. "id": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  14323. "link": "{\"type\":\"\",\"value\":\"\"}",
  14324. "shape": "mind-topic-branch",
  14325. "position": {
  14326. "x": 70,
  14327. "y": 75
  14328. },
  14329. "label": "挖掘分析系统",
  14330. "fillColor": "rgb(245, 220, 78)",
  14331. "layout": "right",
  14332. "size": {
  14333. "width": 160,
  14334. "height": 60
  14335. },
  14336. "children": []
  14337. },
  14338. {
  14339. "id": "f286d37f-d476-461d-b42d-4246f376b2a3",
  14340. "link": "{\"type\":\"\",\"value\":\"\"}",
  14341. "shape": "mind-topic-branch",
  14342. "position": {
  14343. "x": 70,
  14344. "y": 175
  14345. },
  14346. "label": "系统管理",
  14347. "fillColor": "rgb(245, 220, 78)",
  14348. "layout": "right",
  14349. "size": {
  14350. "width": 160,
  14351. "height": 60
  14352. },
  14353. "children": []
  14354. }
  14355. ]
  14356. },
  14357. "id": "home-cover",
  14358. "comment": ""
  14359. },
  14360. "logicEntities": [],
  14361. "namingRules": [
  14362. {
  14363. "id": "63F1DC0E-6A76-4B75-B3DA-4B00657B4E1B",
  14364. "defName": "属性代码不能超过32",
  14365. "intro": "",
  14366. "controlIntensity": "S",
  14367. "applyObjectType": "L",
  14368. "applyFieldType": "field",
  14369. "programCode": "return (data.field.defName||\"\").length <= 32",
  14370. "enable": true
  14371. },
  14372. {
  14373. "id": "668CBEE6-E0B7-4ACE-B72E-63942963B191",
  14374. "defName": "长度不能超过32位",
  14375. "intro": "",
  14376. "controlIntensity": "F",
  14377. "applyObjectType": "P",
  14378. "applyFieldType": "entity",
  14379. "programCode": "return (data.entity.defName||\"\").length <= 32",
  14380. "enable": true
  14381. },
  14382. {
  14383. "id": "11BD987F-82E7-418E-A752-FDD84F1582A2",
  14384. "defName": "长度不能超过32位",
  14385. "intro": "",
  14386. "controlIntensity": "F",
  14387. "applyObjectType": "P",
  14388. "applyFieldType": "field",
  14389. "programCode": "return (data.field.defName||\"\").length <= 32",
  14390. "enable": true
  14391. },
  14392. {
  14393. "id": "29D0A8D9-ABE2-451F-8A39-52FAB02E62B9",
  14394. "defName": "索引名-长度不超过32个字符",
  14395. "intro": "",
  14396. "controlIntensity": "S",
  14397. "applyObjectType": "P",
  14398. "applyFieldType": "index",
  14399. "programCode": "return (data.index.defName||\"\").length <= 32",
  14400. "enable": true
  14401. },
  14402. {
  14403. "id": "B425A96F-6A31-4DBD-8743-A00DE28FB50F",
  14404. "defName": "不能使用保留字",
  14405. "intro": "",
  14406. "controlIntensity": "S",
  14407. "applyObjectType": "P",
  14408. "applyFieldType": "index",
  14409. "programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.index.defKey.toLowerCase())<0;",
  14410. "enable": true
  14411. },
  14412. {
  14413. "id": "EF9E44D0-691A-4352-A079-CFF300107531",
  14414. "defName": "索引名-全小写",
  14415. "intro": "",
  14416. "controlIntensity": "F",
  14417. "applyObjectType": "P",
  14418. "applyFieldType": "index",
  14419. "programCode": "return !/[A-Z]+/.test(data.index.defKey);",
  14420. "enable": true
  14421. },
  14422. {
  14423. "id": "972EB2FB-4428-429D-8B0A-F082A8C7A94D",
  14424. "defName": "名称不能为空",
  14425. "intro": "",
  14426. "controlIntensity": "F",
  14427. "applyObjectType": "L",
  14428. "applyFieldType": "entity",
  14429. "programCode": "return data.logicEntity.defName",
  14430. "enable": true
  14431. },
  14432. {
  14433. "id": "EEAEB9C5-BB6C-4E92-949B-D27928690D85",
  14434. "defName": "名称长度不超过32",
  14435. "intro": "",
  14436. "controlIntensity": "S",
  14437. "applyObjectType": "L",
  14438. "applyFieldType": "entity",
  14439. "programCode": "return (data.logicEntity.defName||\"\").length <=32",
  14440. "enable": true
  14441. },
  14442. {
  14443. "id": "24E3F7E5-730D-4378-B72D-195D6B940352",
  14444. "defName": "不能使用保留字",
  14445. "intro": "",
  14446. "controlIntensity": "F",
  14447. "applyObjectType": "P",
  14448. "applyFieldType": "entity",
  14449. "programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.entity.defKey.toLowerCase())<0;",
  14450. "enable": true
  14451. },
  14452. {
  14453. "id": "039BF435-DC77-4DA4-81C7-7F8076BF22BB",
  14454. "defName": "表名-全小写",
  14455. "intro": "",
  14456. "controlIntensity": "S",
  14457. "applyObjectType": "P",
  14458. "applyFieldType": "entity",
  14459. "programCode": "return !/[A-Z]+/.test(data.entity.defKey);",
  14460. "enable": true
  14461. },
  14462. {
  14463. "id": "CBEB0E30-19C6-427D-A8BF-61FF10E27A0B",
  14464. "defName": "表名-不允许空格",
  14465. "intro": "",
  14466. "controlIntensity": "F",
  14467. "applyObjectType": "P",
  14468. "applyFieldType": "entity",
  14469. "programCode": "return !/\\s+/.test(data.entity.defKey);",
  14470. "enable": true
  14471. },
  14472. {
  14473. "id": "1168C7C2-8E8E-4FB7-B639-B3DE839C395A",
  14474. "defName": "表名-英文及下划线",
  14475. "intro": "",
  14476. "controlIntensity": "F",
  14477. "applyObjectType": "P",
  14478. "applyFieldType": "entity",
  14479. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.entity.defKey);",
  14480. "enable": true
  14481. },
  14482. {
  14483. "id": "D373637C-D3A6-4621-B656-6841A5444A76",
  14484. "defName": "表必须有comment注释",
  14485. "intro": "",
  14486. "controlIntensity": "S",
  14487. "applyObjectType": "P",
  14488. "applyFieldType": "entity",
  14489. "programCode": "return (data.entity.defName||\"\").length > 0 || (data.entity.comment||\"\").length > 0",
  14490. "enable": true
  14491. },
  14492. {
  14493. "id": "2BAB122B-8811-40BB-89F3-CDC24B5862D3",
  14494. "defName": "主键命名为 id,类型为 int 或 bigint,且为自增",
  14495. "intro": "",
  14496. "controlIntensity": "S",
  14497. "applyObjectType": "P",
  14498. "applyFieldType": "entity",
  14499. "programCode": "let fields = data.entity.fields;\nfor(let i=0;i<fields.length;i++){\n let field = fields[i];\n if(field.primaryKey){\n return field.autoIncrement && (field.dbType.toUpperCase()==\"INT\"||field.dbType==\"BIGINT\");\n }\n}\nreturn false;",
  14500. "enable": true
  14501. },
  14502. {
  14503. "id": "0B2F0BD2-3B84-4AB1-BA29-9DE9620AF608",
  14504. "defName": "必须有数据的创建时间以及创建人字段",
  14505. "intro": "",
  14506. "controlIntensity": "S",
  14507. "applyObjectType": "P",
  14508. "applyFieldType": "entity",
  14509. "programCode": "let count = 0;\nlet fields = data.entity.fields;\nfor(let i=0;i<fields.length;i++){\n let field = fields[i];\n if(\"created_time,updated_time\".indexOf(field.defKey.toLowerCase())>=0){\n count ++;\n }\n}\nreturn count==2;",
  14510. "enable": true
  14511. },
  14512. {
  14513. "id": "BEC54F19-52D5-4882-BCE1-4439785F8001",
  14514. "defName": "不能使用保留字",
  14515. "intro": "",
  14516. "controlIntensity": "S",
  14517. "applyObjectType": "P",
  14518. "applyFieldType": "field",
  14519. "programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.field.defKey.toLowerCase())<0;",
  14520. "enable": true
  14521. },
  14522. {
  14523. "id": "082E186D-7B02-4F1C-9ECE-378AB98C4845",
  14524. "defName": "字段-全小写",
  14525. "intro": "",
  14526. "controlIntensity": "S",
  14527. "applyObjectType": "P",
  14528. "applyFieldType": "field",
  14529. "programCode": "return !/[A-Z]+/.test(data.field.defKey);",
  14530. "enable": true
  14531. },
  14532. {
  14533. "id": "F3CE5C67-23B6-4E7B-BA91-D5F0BCBC9E6A",
  14534. "defName": "字段-不允许空格",
  14535. "intro": "",
  14536. "controlIntensity": "F",
  14537. "applyObjectType": "P",
  14538. "applyFieldType": "field",
  14539. "programCode": "return !/\\s+/.test(data.field.defKey);",
  14540. "enable": true
  14541. },
  14542. {
  14543. "id": "21AFEAC8-96D7-467F-8320-A33887FC0C5D",
  14544. "defName": "字段-英文及下划线",
  14545. "intro": "",
  14546. "controlIntensity": "F",
  14547. "applyObjectType": "P",
  14548. "applyFieldType": "field",
  14549. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.field.defKey);",
  14550. "enable": true
  14551. },
  14552. {
  14553. "id": "2BBDE47B-6926-4E1A-AE57-D4F6E5399EE6",
  14554. "defName": "字段-必需有comment注释",
  14555. "intro": "",
  14556. "controlIntensity": "F",
  14557. "applyObjectType": "P",
  14558. "applyFieldType": "field",
  14559. "programCode": "return (data.field.defName||\"\").length > 0 || (data.field.comment||\"\").length > 0",
  14560. "enable": true
  14561. },
  14562. {
  14563. "id": "5E181E43-0D72-498F-8178-4C1CDBC89A16",
  14564. "defName": "字段-不能与表名相同",
  14565. "intro": "",
  14566. "controlIntensity": "F",
  14567. "applyObjectType": "P",
  14568. "applyFieldType": "field",
  14569. "programCode": "return data.field.defKey != data.entity.defKey;",
  14570. "enable": true
  14571. },
  14572. {
  14573. "id": "DE8F8598-5D53-4727-A837-7816C2AF99D9",
  14574. "defName": "外键-字段必须具有表名及其主键",
  14575. "intro": "",
  14576. "controlIntensity": "S",
  14577. "applyObjectType": "P",
  14578. "applyFieldType": "field",
  14579. "programCode": "let relas = data.entity.correlations;\nfor(let i=0;i<relas.length;i++){\n let rela = relas[i];\n if(data.field.defKey==rela.myField&&rela.myRows==\"n\"){\n if(rela.myField==(rela.refEntity+\"_\"+rela.refField)){\n return true;\n }else{\n return false;\n }\n }\n}\nreturn true;",
  14580. "enable": true
  14581. },
  14582. {
  14583. "id": "D330BCC3-DBAB-4677-8C5A-A301003A5878",
  14584. "defName": "时间字段类型尽量选取 timestamp",
  14585. "intro": "",
  14586. "controlIntensity": "S",
  14587. "applyObjectType": "P",
  14588. "applyFieldType": "field",
  14589. "programCode": "if(data.field.defName.lastIndexOf(\"日期\")>=0 || data.field.defName.lastIndexOf(\"时间\")>=0 ){\n if(data.field.dbType.toLowerCase().indexOf(\"date\")>=0){\n return true;\n }else{\n return false;\n }\n};\nreturn true;",
  14590. "enable": true
  14591. },
  14592. {
  14593. "id": "2E7FDA44-989A-4C5B-A0C5-12B1E40E57B1",
  14594. "defName": "索引名-英文及下划线",
  14595. "intro": "",
  14596. "controlIntensity": "S",
  14597. "applyObjectType": "P",
  14598. "applyFieldType": "index",
  14599. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.index.defKey);",
  14600. "enable": true
  14601. },
  14602. {
  14603. "id": "023450B3-AAE2-4DC1-AE63-2196DD82823D",
  14604. "defName": "索引名-主键的名称以pk_开头,唯一键以uk_开头,普通索引以 ix_开头",
  14605. "intro": "",
  14606. "controlIntensity": "S",
  14607. "applyObjectType": "P",
  14608. "applyFieldType": "index",
  14609. "programCode": "if(data.index.unique){\n return data.index.defKey.indexOf(\"uk_\")==0;\n}else{\n return data.index.defKey.indexOf(\"ix_\")==0;\n}",
  14610. "enable": true
  14611. },
  14612. {
  14613. "id": "1C563E17-262B-4EB6-87F0-203CAC667CF0",
  14614. "defName": "不允许存在blob、text等大字段",
  14615. "intro": "",
  14616. "controlIntensity": "S",
  14617. "applyObjectType": "P",
  14618. "applyFieldType": "field",
  14619. "programCode": "if(\"blob,text\".indexOf(data.field.dbType.toLowerCase())>=0){\n return false;\n}\nreturn true;",
  14620. "enable": true
  14621. }
  14622. ]
  14623. }