T20240607160901.pdma.json 551KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276
  1. {
  2. "name": "成本管理二期",
  3. "describe": "成本管理",
  4. "avatar": "",
  5. "version": "4.9.2",
  6. "createdTime": "2024-5-23 16:36:04",
  7. "updatedTime": "2024-6-7 17:26:00",
  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. "views": [],
  7723. "dicts": [
  7724. {
  7725. "defKey": "Gender",
  7726. "defName": "性别",
  7727. "intro": "",
  7728. "items": [
  7729. {
  7730. "defKey": "M",
  7731. "defName": "男",
  7732. "intro": "",
  7733. "parentKey": "",
  7734. "enabled": true,
  7735. "attr1": "",
  7736. "attr2": "",
  7737. "attr3": "",
  7738. "sort": "1",
  7739. "id": "3622D417-DA1A-408F-BEE1-11D328D534A0"
  7740. },
  7741. {
  7742. "defKey": "F",
  7743. "defName": "女",
  7744. "intro": "",
  7745. "parentKey": "",
  7746. "enabled": true,
  7747. "attr1": "",
  7748. "attr2": "",
  7749. "attr3": "",
  7750. "sort": "2",
  7751. "id": "380A0790-64A7-481E-831C-32F7BEE1502B"
  7752. },
  7753. {
  7754. "defKey": "U",
  7755. "defName": "未知",
  7756. "intro": "",
  7757. "parentKey": "",
  7758. "enabled": true,
  7759. "attr1": "",
  7760. "attr2": "",
  7761. "attr3": "",
  7762. "sort": "3",
  7763. "id": "FA239F4D-1276-40D9-B230-F66BD35C3C27"
  7764. }
  7765. ],
  7766. "id": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D"
  7767. },
  7768. {
  7769. "defKey": "Political",
  7770. "defName": "政治面貌",
  7771. "intro": "",
  7772. "items": [
  7773. {
  7774. "defKey": "10",
  7775. "defName": "共青团员",
  7776. "intro": "",
  7777. "parentKey": "",
  7778. "enabled": true,
  7779. "attr1": "",
  7780. "attr2": "",
  7781. "attr3": "",
  7782. "id": "61F3145A-7599-4CCB-B298-D5EE788107BE"
  7783. },
  7784. {
  7785. "defKey": "20",
  7786. "defName": "中共党员",
  7787. "intro": "",
  7788. "parentKey": "",
  7789. "enabled": true,
  7790. "attr1": "",
  7791. "attr2": "",
  7792. "attr3": "",
  7793. "id": "ED16D25A-AB2F-4FA0-BB48-2B9031FA28C4"
  7794. },
  7795. {
  7796. "defKey": "30",
  7797. "defName": "民主党派",
  7798. "intro": "",
  7799. "parentKey": "",
  7800. "enabled": true,
  7801. "attr1": "",
  7802. "attr2": "",
  7803. "attr3": "",
  7804. "id": "0FB7974A-AE11-438F-86E0-B163316F9272"
  7805. },
  7806. {
  7807. "defKey": "40",
  7808. "defName": "群众",
  7809. "intro": "",
  7810. "parentKey": "",
  7811. "enabled": true,
  7812. "attr1": "",
  7813. "attr2": "",
  7814. "attr3": "",
  7815. "id": "7D247234-7E97-45B1-8C56-4A17A370854A"
  7816. },
  7817. {
  7818. "defKey": "90",
  7819. "defName": "未知",
  7820. "intro": "",
  7821. "parentKey": "",
  7822. "enabled": true,
  7823. "attr1": "",
  7824. "attr2": "",
  7825. "attr3": "",
  7826. "id": "DA65D752-AF04-4A11-81D8-14A38692A64A"
  7827. }
  7828. ],
  7829. "id": "06EED564-BBA9-4747-8D73-AF809A330CB8"
  7830. },
  7831. {
  7832. "defKey": "Marital",
  7833. "defName": "婚姻状况",
  7834. "intro": "婚姻状况的码表",
  7835. "items": [
  7836. {
  7837. "defKey": "UNMARRIED",
  7838. "defName": "未婚",
  7839. "intro": "",
  7840. "parentKey": "",
  7841. "enabled": true,
  7842. "attr1": "",
  7843. "attr2": "",
  7844. "attr3": "",
  7845. "sort": "1",
  7846. "id": "20EE81BC-74EE-47DA-A56F-9663B23F44BD"
  7847. },
  7848. {
  7849. "defKey": "MARRIED",
  7850. "defName": "已婚",
  7851. "intro": "",
  7852. "parentKey": "",
  7853. "enabled": true,
  7854. "attr1": "",
  7855. "attr2": "",
  7856. "attr3": "",
  7857. "sort": "2",
  7858. "id": "4DCA10A8-417E-4A8D-BDF6-0A278C060ADC"
  7859. },
  7860. {
  7861. "defKey": "WIDOWED",
  7862. "defName": "丧偶",
  7863. "intro": "",
  7864. "parentKey": "",
  7865. "enabled": true,
  7866. "attr1": "",
  7867. "attr2": "",
  7868. "attr3": "",
  7869. "sort": "3",
  7870. "id": "826062A7-057C-4892-B338-06459F5B808D"
  7871. },
  7872. {
  7873. "defKey": "DIVORCE",
  7874. "defName": "离婚",
  7875. "intro": "",
  7876. "parentKey": "",
  7877. "enabled": true,
  7878. "attr1": "",
  7879. "attr2": "",
  7880. "attr3": "",
  7881. "sort": "4",
  7882. "id": "B23200B4-5E59-4F5E-A779-D981A040FA32"
  7883. },
  7884. {
  7885. "defKey": "UNSPECIFIED",
  7886. "defName": "未说明",
  7887. "intro": "",
  7888. "parentKey": "",
  7889. "enabled": true,
  7890. "attr1": "",
  7891. "attr2": "",
  7892. "attr3": "",
  7893. "sort": "5",
  7894. "id": "A7928FE2-349A-4702-9682-2EF7205E077B"
  7895. }
  7896. ],
  7897. "id": "EA1587B7-3954-437A-BFE0-FCB0453BCABA"
  7898. },
  7899. {
  7900. "defKey": "StudentStatus",
  7901. "defName": "学生状态",
  7902. "intro": "",
  7903. "items": [
  7904. {
  7905. "defKey": "Normal",
  7906. "defName": "正常",
  7907. "intro": "",
  7908. "parentKey": "",
  7909. "enabled": true,
  7910. "attr1": "",
  7911. "attr2": "",
  7912. "attr3": "",
  7913. "sort": "1",
  7914. "id": "E9CA1CC9-8851-4F6B-86BA-B9CF0E44EB73"
  7915. },
  7916. {
  7917. "defKey": "Graduated",
  7918. "defName": "毕业",
  7919. "intro": "",
  7920. "parentKey": "",
  7921. "enabled": true,
  7922. "attr1": "",
  7923. "attr2": "",
  7924. "attr3": "",
  7925. "sort": "2",
  7926. "id": "DEC51D7C-99DF-430C-817D-0499862D3CCC"
  7927. },
  7928. {
  7929. "defKey": "Studied",
  7930. "defName": "肄业",
  7931. "intro": "",
  7932. "parentKey": "",
  7933. "enabled": true,
  7934. "attr1": "",
  7935. "attr2": "",
  7936. "attr3": "",
  7937. "sort": "3",
  7938. "id": "8853D6B6-75D3-4479-9006-FC731CD85B20"
  7939. },
  7940. {
  7941. "defKey": "Stop",
  7942. "defName": "休学",
  7943. "intro": "",
  7944. "parentKey": "",
  7945. "enabled": true,
  7946. "attr1": "",
  7947. "attr2": "",
  7948. "attr3": "",
  7949. "sort": "4",
  7950. "id": "C74BA8CF-1DC6-4C79-BAAC-F11EB9C6AF01"
  7951. }
  7952. ],
  7953. "id": "4642BC5F-02EE-4E17-A60C-CF22F86A0282"
  7954. },
  7955. {
  7956. "defKey": "GBNation",
  7957. "defName": "民族",
  7958. "intro": "",
  7959. "items": [
  7960. {
  7961. "defKey": "01",
  7962. "defName": "汉族",
  7963. "intro": "",
  7964. "parentKey": "",
  7965. "enabled": true,
  7966. "attr1": "",
  7967. "attr2": "",
  7968. "attr3": "",
  7969. "id": "9224DF53-F7C0-447D-B8ED-0A39F799EE19"
  7970. },
  7971. {
  7972. "defKey": "02",
  7973. "defName": "蒙古族",
  7974. "intro": "",
  7975. "parentKey": "",
  7976. "enabled": true,
  7977. "attr1": "",
  7978. "attr2": "",
  7979. "attr3": "",
  7980. "id": "D57818E3-9206-45BB-AE79-27C64A4AB80F"
  7981. },
  7982. {
  7983. "defKey": "03",
  7984. "defName": "回族",
  7985. "intro": "",
  7986. "parentKey": "",
  7987. "enabled": true,
  7988. "attr1": "",
  7989. "attr2": "",
  7990. "attr3": "",
  7991. "id": "0A1A3CA9-6D68-4E15-8BD0-9A2FF428D804"
  7992. },
  7993. {
  7994. "defKey": "04",
  7995. "defName": "藏族",
  7996. "intro": "",
  7997. "parentKey": "",
  7998. "enabled": true,
  7999. "attr1": "",
  8000. "attr2": "",
  8001. "attr3": "",
  8002. "id": "7CC6B6BE-47EA-460E-ACFA-C377468DEA11"
  8003. },
  8004. {
  8005. "defKey": "05",
  8006. "defName": "维吾尔族",
  8007. "intro": "",
  8008. "parentKey": "",
  8009. "enabled": true,
  8010. "attr1": "",
  8011. "attr2": "",
  8012. "attr3": "",
  8013. "id": "A666D51F-D249-4FAC-B1F3-78C371836CB3"
  8014. },
  8015. {
  8016. "defKey": "06",
  8017. "defName": "苗族",
  8018. "intro": "",
  8019. "parentKey": "",
  8020. "enabled": true,
  8021. "attr1": "",
  8022. "attr2": "",
  8023. "attr3": "",
  8024. "id": "A0C9E1BA-D87B-4695-ADFA-287FDA32BB5A"
  8025. },
  8026. {
  8027. "defKey": "07",
  8028. "defName": "彝族",
  8029. "intro": "",
  8030. "parentKey": "",
  8031. "enabled": true,
  8032. "attr1": "",
  8033. "attr2": "",
  8034. "attr3": "",
  8035. "id": "149B5B9E-C1D1-4790-8CCF-0ED5F4B25172"
  8036. },
  8037. {
  8038. "defKey": "08",
  8039. "defName": "壮族",
  8040. "intro": "",
  8041. "parentKey": "",
  8042. "enabled": true,
  8043. "attr1": "",
  8044. "attr2": "",
  8045. "attr3": "",
  8046. "id": "F9A3E65C-BF4D-4C6B-ADB7-8C9CF0487360"
  8047. },
  8048. {
  8049. "defKey": "09",
  8050. "defName": "布依族",
  8051. "intro": "",
  8052. "parentKey": "",
  8053. "enabled": true,
  8054. "attr1": "",
  8055. "attr2": "",
  8056. "attr3": "",
  8057. "id": "14F17DE4-E96A-460B-98A6-F84EC8CF9885"
  8058. },
  8059. {
  8060. "defKey": "10",
  8061. "defName": "朝鲜族",
  8062. "intro": "",
  8063. "parentKey": "",
  8064. "enabled": true,
  8065. "attr1": "",
  8066. "attr2": "",
  8067. "attr3": "",
  8068. "id": "8A81AB18-B1BF-4797-A6E5-DEDB2C6566B0"
  8069. },
  8070. {
  8071. "defKey": "11",
  8072. "defName": "满族",
  8073. "intro": "",
  8074. "parentKey": "",
  8075. "enabled": true,
  8076. "attr1": "",
  8077. "attr2": "",
  8078. "attr3": "",
  8079. "id": "7D460947-FBD2-4E4D-8366-3B38DCAF09D1"
  8080. }
  8081. ],
  8082. "id": "115EDEFC-0323-410E-81AB-CCAB8879837A"
  8083. },
  8084. {
  8085. "defKey": "GradeLevel",
  8086. "defName": "受教育程度",
  8087. "sort": "",
  8088. "intro": "",
  8089. "items": [],
  8090. "id": "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
  8091. }
  8092. ],
  8093. "viewGroups": [
  8094. {
  8095. "defKey": "base",
  8096. "defName": "基础数据维护",
  8097. "refEntities": [
  8098. "15372773-A008-4A5F-B23E-75E100F99B47",
  8099. "65E2E950-34BE-49A8-98A3-9EB13E974B8F",
  8100. "FDB6475C-445C-40D7-A2E7-AE1392BD75D7",
  8101. "7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49",
  8102. "236F8414-6100-429D-8DEC-A223B0BDA052",
  8103. "BC5A6F14-212E-45C2-9D41-DC1F439AC619",
  8104. "4438394B-60D7-4566-91D1-4A14E2E16314",
  8105. "9D89F846-66FC-42B0-B655-7083874263E1",
  8106. "38DC4808-C376-4C0A-9E1D-9BE756B68A7D"
  8107. ],
  8108. "refViews": [],
  8109. "refDiagrams": [],
  8110. "refDicts": [
  8111. "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
  8112. "06EED564-BBA9-4747-8D73-AF809A330CB8",
  8113. "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
  8114. "4642BC5F-02EE-4E17-A60C-CF22F86A0282",
  8115. "115EDEFC-0323-410E-81AB-CCAB8879837A",
  8116. "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
  8117. ],
  8118. "id": "2DA923AD-EB8E-4D32-BBCE-E3781E01B9F0",
  8119. "refLogicEntities": []
  8120. },
  8121. {
  8122. "defKey": "sap",
  8123. "defName": "SAP导出数据",
  8124. "refEntities": [
  8125. "0C137DAC-F352-41FC-83D4-852123619E5C",
  8126. "1271309E-2310-435D-B129-DC3F72BBA013",
  8127. "7D1DEA8A-7373-4659-B1A7-B0E72416EDA7",
  8128. "7891EB10-2F25-42A4-AC94-980756D9F709"
  8129. ],
  8130. "refViews": [],
  8131. "refDiagrams": [],
  8132. "refDicts": [],
  8133. "id": "65FC6BC3-1799-4797-BFFD-24BAAFBABC21",
  8134. "refLogicEntities": []
  8135. },
  8136. {
  8137. "defKey": "cost",
  8138. "defName": "卷积",
  8139. "refEntities": [],
  8140. "refViews": [],
  8141. "refDiagrams": [],
  8142. "refDicts": [],
  8143. "id": "401851EF-F256-40D3-87FD-420C871DEFFF",
  8144. "refLogicEntities": []
  8145. },
  8146. {
  8147. "defKey": "cost-compare",
  8148. "defName": "成本对比",
  8149. "refEntities": [],
  8150. "refViews": [],
  8151. "refDiagrams": [],
  8152. "refDicts": [],
  8153. "id": "78EA1BE7-E8DA-4B0C-8EA3-6930F9D08558",
  8154. "refLogicEntities": []
  8155. },
  8156. {
  8157. "defKey": "excavate",
  8158. "defName": "成本挖掘",
  8159. "refEntities": [],
  8160. "refViews": [],
  8161. "refDiagrams": [],
  8162. "refDicts": [],
  8163. "id": "8C87C2BA-BBDF-43A2-A8D6-0E35AE171A35",
  8164. "refLogicEntities": []
  8165. }
  8166. ],
  8167. "dataTypeMapping": {
  8168. "referURL": "",
  8169. "mappings": [
  8170. {
  8171. "defKey": "string",
  8172. "id": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8173. "defName": "字串",
  8174. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "VARCHAR",
  8175. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "VARCHAR2",
  8176. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARCHAR",
  8177. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "VARCHAR",
  8178. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "VARCHAR",
  8179. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "VARCHAR2",
  8180. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "VARCHAR",
  8181. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "VARCHAR",
  8182. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
  8183. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
  8184. "797A1496-D649-4261-89B4-544132EC3F36": "String",
  8185. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
  8186. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
  8187. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
  8188. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
  8189. "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
  8190. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
  8191. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "VARCHAR",
  8192. "483F9346-C99E-4014-A1D2-A554606BD8A3": "VARCHAR",
  8193. "ABF5836C-0B7C-4007-A41C-F869325E5842": "VARCHAR"
  8194. },
  8195. {
  8196. "defKey": "double",
  8197. "id": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8198. "defName": "小数",
  8199. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DECIMAL",
  8200. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DECIMAL",
  8201. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DECIMAL",
  8202. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "NUMERIC",
  8203. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DECIMAL",
  8204. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DECIMAL",
  8205. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "NUMERIC",
  8206. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "NUMERIC",
  8207. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DOUBLE",
  8208. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "REAL",
  8209. "797A1496-D649-4261-89B4-544132EC3F36": "Double",
  8210. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Double",
  8211. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Double",
  8212. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "decimal",
  8213. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "double",
  8214. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*float64",
  8215. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "f64",
  8216. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DECIMAL",
  8217. "483F9346-C99E-4014-A1D2-A554606BD8A3": "DECIMAL",
  8218. "ABF5836C-0B7C-4007-A41C-F869325E5842": "NUMERIC"
  8219. },
  8220. {
  8221. "defKey": "int",
  8222. "id": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  8223. "defName": "整数",
  8224. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "INT",
  8225. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "INT",
  8226. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "INT",
  8227. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "INTEGER",
  8228. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "INT",
  8229. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "INTEGER",
  8230. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "INTEGER",
  8231. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "INT4",
  8232. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "INT",
  8233. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "INTEGER",
  8234. "797A1496-D649-4261-89B4-544132EC3F36": "Integer",
  8235. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Integer",
  8236. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Integer",
  8237. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "float",
  8238. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "int",
  8239. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*int",
  8240. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "i32",
  8241. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "INTEGER",
  8242. "483F9346-C99E-4014-A1D2-A554606BD8A3": "INT",
  8243. "ABF5836C-0B7C-4007-A41C-F869325E5842": "INTEGER"
  8244. },
  8245. {
  8246. "defKey": "date",
  8247. "id": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  8248. "defName": "日期",
  8249. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DATETIME",
  8250. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DATE",
  8251. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DATETIME",
  8252. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TIMESTAMP",
  8253. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DATE",
  8254. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DATE",
  8255. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "DATE",
  8256. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "DATE",
  8257. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DATETIME",
  8258. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NUMERIC",
  8259. "797A1496-D649-4261-89B4-544132EC3F36": "Date",
  8260. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Date",
  8261. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Date",
  8262. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "DateTime",
  8263. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "timestamp",
  8264. "B91D99E0-9B7C-416C-8737-B760957DAF09": "*time.Time",
  8265. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "DateTime<Local>",
  8266. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DATE",
  8267. "483F9346-C99E-4014-A1D2-A554606BD8A3": "DATETIME",
  8268. "ABF5836C-0B7C-4007-A41C-F869325E5842": "DATE"
  8269. },
  8270. {
  8271. "defKey": "bytes",
  8272. "id": "D516E75B-90F5-4741-B9B3-A186A263F04C",
  8273. "defName": "二进制",
  8274. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "BLOB",
  8275. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "BLOB",
  8276. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARBINARY",
  8277. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "BYTEA",
  8278. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "BLOB",
  8279. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "BLOB",
  8280. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "BYTEA",
  8281. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "BYTEA",
  8282. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "BINARY",
  8283. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NONE",
  8284. "797A1496-D649-4261-89B4-544132EC3F36": "byte[]",
  8285. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "byte[]",
  8286. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "byte[]",
  8287. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "binary",
  8288. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "binary",
  8289. "B91D99E0-9B7C-416C-8737-B760957DAF09": "[]byte",
  8290. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "BYTE",
  8291. "ABF5836C-0B7C-4007-A41C-F869325E5842": "BYTEA"
  8292. },
  8293. {
  8294. "defKey": "largeText",
  8295. "id": "B17BDED3-085F-40E1-9019-3B79CF2BF075",
  8296. "defName": "大文本",
  8297. "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "TEXT",
  8298. "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "CLOB",
  8299. "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "TEXT",
  8300. "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TEXT",
  8301. "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "CLOB",
  8302. "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "CLOB",
  8303. "592C7013-143D-4E7B-AF64-0D7BF1E28230": "TEXT",
  8304. "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "TEXT",
  8305. "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
  8306. "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
  8307. "797A1496-D649-4261-89B4-544132EC3F36": "String",
  8308. "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
  8309. "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
  8310. "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
  8311. "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
  8312. "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
  8313. "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
  8314. "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "TEXT",
  8315. "483F9346-C99E-4014-A1D2-A554606BD8A3": "STRING",
  8316. "ABF5836C-0B7C-4007-A41C-F869325E5842": "TEXT"
  8317. }
  8318. ]
  8319. },
  8320. "domains": [
  8321. {
  8322. "defKey": "DefaultString",
  8323. "defName": "默认字串",
  8324. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8325. "len": 255,
  8326. "scale": "",
  8327. "uiHint": "",
  8328. "id": "9092C4E0-1A54-4859-ABBB-5B62DBC27573"
  8329. },
  8330. {
  8331. "defKey": "IdOrKey",
  8332. "defName": "主键标识",
  8333. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8334. "len": 32,
  8335. "scale": "",
  8336. "uiHint": "",
  8337. "id": "16120F75-6AA7-4483-868D-F07F511BB081"
  8338. },
  8339. {
  8340. "defKey": "Name",
  8341. "defName": "名称",
  8342. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8343. "len": 90,
  8344. "scale": "",
  8345. "uiHint": "",
  8346. "id": "54611CCC-CA4B-42E1-9F32-4944C85B85A6"
  8347. },
  8348. {
  8349. "defKey": "Int",
  8350. "defName": "整数",
  8351. "applyFor": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
  8352. "len": "",
  8353. "scale": "",
  8354. "uiHint": "",
  8355. "id": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E"
  8356. },
  8357. {
  8358. "defKey": "Double",
  8359. "defName": "小数",
  8360. "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8361. "len": 24,
  8362. "scale": 6,
  8363. "uiHint": "",
  8364. "id": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4"
  8365. },
  8366. {
  8367. "defKey": "Money",
  8368. "defName": "金额",
  8369. "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
  8370. "len": 24,
  8371. "scale": 6,
  8372. "uiHint": "",
  8373. "id": "C3B1681B-99F9-4818-9E80-DE1652A51D85"
  8374. },
  8375. {
  8376. "defKey": "DateTime",
  8377. "defName": "日期时间",
  8378. "applyFor": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
  8379. "len": "",
  8380. "scale": "",
  8381. "uiHint": "",
  8382. "id": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC"
  8383. },
  8384. {
  8385. "defKey": "YesNo",
  8386. "defName": "是否",
  8387. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8388. "len": "1",
  8389. "scale": "",
  8390. "uiHint": "",
  8391. "id": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF"
  8392. },
  8393. {
  8394. "defKey": "Dict",
  8395. "defName": "数据字典",
  8396. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8397. "len": "32",
  8398. "scale": "",
  8399. "uiHint": "",
  8400. "id": "73FD2BAD-2358-4336-B96D-45DC897BD792"
  8401. },
  8402. {
  8403. "defKey": "DescText",
  8404. "defName": "描述文本",
  8405. "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
  8406. "len": "900",
  8407. "scale": "",
  8408. "uiHint": "",
  8409. "id": "3E948CEC-3070-472C-AF92-F3CA11EC9D15"
  8410. }
  8411. ],
  8412. "diagrams": [
  8413. {
  8414. "defKey": "1逻辑模型",
  8415. "defName": "",
  8416. "relationType": "field",
  8417. "canvasData": {
  8418. "cells": [
  8419. {
  8420. "id": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  8421. "shape": "group",
  8422. "position": {
  8423. "x": 410,
  8424. "y": 500
  8425. },
  8426. "label": "### 界面与表关系图",
  8427. "size": {
  8428. "width": 1230,
  8429. "height": 2370
  8430. },
  8431. "children": [
  8432. "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  8433. "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  8434. "50255b65-de6e-4032-b606-58482a662442",
  8435. "71e702a2-681a-453f-a15e-30ff10e3b439",
  8436. "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  8437. "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  8438. "ff5515d5-21a9-4272-86b2-c984273febc1",
  8439. "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  8440. "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  8441. "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  8442. "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  8443. "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
  8444. "d97d6f07-8365-40ab-bde8-34511452e62f",
  8445. "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  8446. "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  8447. "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  8448. "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  8449. "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  8450. "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
  8451. "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
  8452. "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  8453. "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  8454. "764cbe48-4a33-4752-94a9-67bda1226718",
  8455. "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  8456. "06ca758c-3187-47bd-8136-ca10dd94640b",
  8457. "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
  8458. "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
  8459. "06ca758c-3187-47bd-8136-ca10dd94640b",
  8460. "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  8461. "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  8462. "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  8463. "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  8464. "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  8465. "7b27855a-7467-439b-b846-fb7a369f80ae",
  8466. "f2344237-4b72-4042-a531-097f8f467b64",
  8467. "5278e0a2-f809-4023-b439-b35ae083a325",
  8468. "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  8469. "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  8470. "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  8471. "ff5515d5-21a9-4272-86b2-c984273febc1",
  8472. "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  8473. "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  8474. "50255b65-de6e-4032-b606-58482a662442",
  8475. "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  8476. "54f3478c-85b5-4b98-8c68-332a9a037140",
  8477. "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  8478. "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  8479. "80e84e01-fbda-4caf-a016-eae9c69aea5f",
  8480. "bd3bbe46-89e6-43dc-a1a0-59968252238d",
  8481. "14913b43-5f56-45c0-8a8b-128685ae8831",
  8482. "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  8483. "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  8484. "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
  8485. "b27fbbab-850d-4577-bd84-dfec38412d43",
  8486. "b82b944c-8659-4720-b69e-e6e066b53882",
  8487. "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
  8488. "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  8489. "9a99fd26-86c6-42b3-9fe1-5380d3314003",
  8490. "4e142b26-fa22-4806-aee3-7b598f1eaede",
  8491. "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
  8492. "11267869-dc5a-411d-b763-fc0ad08db8a6"
  8493. ]
  8494. },
  8495. {
  8496. "id": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  8497. "link": "{\"type\":\"internally\",\"value\":\"65E2E950-34BE-49A8-98A3-9EB13E974B8F\"}",
  8498. "shape": "edit-node",
  8499. "position": {
  8500. "x": 510.000000000015,
  8501. "y": 619.9999999999891
  8502. },
  8503. "label": "### 小时费用率\n---\n年度\n工厂代码(工厂id)\n成本中心代码(成本中心id)\n成本中心名称(成本中心id)\n人工小时费率\n设备小时费率\n燃动小时费率\n辅料小时费率\n其他小时费率\n生效日期\n失效日期\n维护人员(用户id)\n维护时间",
  8504. "fillColor": "rgb(245, 220, 78)",
  8505. "size": {
  8506. "width": 180,
  8507. "height": 270
  8508. },
  8509. "ports": {
  8510. "groups": {
  8511. "in": {
  8512. "attrs": {
  8513. "fo": {
  8514. "width": 8,
  8515. "height": 8,
  8516. "x": -4,
  8517. "y": -4,
  8518. "magnet": "true",
  8519. "style": {
  8520. "visibility": "hidden"
  8521. }
  8522. }
  8523. },
  8524. "zIndex": 3,
  8525. "position": {
  8526. "name": "left"
  8527. }
  8528. },
  8529. "out": {
  8530. "attrs": {
  8531. "fo": {
  8532. "width": 8,
  8533. "height": 8,
  8534. "x": -4,
  8535. "y": -4,
  8536. "magnet": "true",
  8537. "style": {
  8538. "visibility": "hidden"
  8539. }
  8540. }
  8541. },
  8542. "zIndex": 3,
  8543. "position": {
  8544. "name": "right"
  8545. }
  8546. },
  8547. "top": {
  8548. "attrs": {
  8549. "fo": {
  8550. "width": 8,
  8551. "height": 8,
  8552. "x": -4,
  8553. "y": -4,
  8554. "magnet": "true",
  8555. "style": {
  8556. "visibility": "hidden"
  8557. }
  8558. }
  8559. },
  8560. "zIndex": 3,
  8561. "position": {
  8562. "name": "top"
  8563. }
  8564. },
  8565. "bottom": {
  8566. "attrs": {
  8567. "fo": {
  8568. "width": 8,
  8569. "height": 8,
  8570. "x": -4,
  8571. "y": -4,
  8572. "magnet": "true",
  8573. "style": {
  8574. "visibility": "hidden"
  8575. }
  8576. }
  8577. },
  8578. "zIndex": 3,
  8579. "position": {
  8580. "name": "bottom"
  8581. }
  8582. }
  8583. },
  8584. "items": [
  8585. {
  8586. "group": "in",
  8587. "id": "in"
  8588. },
  8589. {
  8590. "group": "in",
  8591. "id": "in2"
  8592. },
  8593. {
  8594. "group": "in",
  8595. "id": "in3"
  8596. },
  8597. {
  8598. "group": "out",
  8599. "id": "out"
  8600. },
  8601. {
  8602. "group": "out",
  8603. "id": "out2"
  8604. },
  8605. {
  8606. "group": "out",
  8607. "id": "out3"
  8608. },
  8609. {
  8610. "group": "top",
  8611. "id": "top"
  8612. },
  8613. {
  8614. "group": "top",
  8615. "id": "top2"
  8616. },
  8617. {
  8618. "group": "top",
  8619. "id": "top3"
  8620. },
  8621. {
  8622. "group": "bottom",
  8623. "id": "bottom"
  8624. },
  8625. {
  8626. "group": "bottom",
  8627. "id": "bottom2"
  8628. },
  8629. {
  8630. "group": "bottom",
  8631. "id": "bottom3"
  8632. },
  8633. {
  8634. "id": "in4",
  8635. "group": "in"
  8636. },
  8637. {
  8638. "id": "bottom4",
  8639. "group": "bottom"
  8640. }
  8641. ]
  8642. }
  8643. },
  8644. {
  8645. "id": "71e702a2-681a-453f-a15e-30ff10e3b439",
  8646. "link": "{\"type\":\"internally\",\"value\":\"4438394B-60D7-4566-91D1-4A14E2E16314\"}",
  8647. "shape": "edit-node",
  8648. "position": {
  8649. "x": 730.000000000015,
  8650. "y": 619.9999999999891
  8651. },
  8652. "label": "### 7525价格\n---\nid\n年份\n门控料号(物料id)\n物料规格信息\n价格",
  8653. "fillColor": "rgb(245, 220, 78)",
  8654. "size": {
  8655. "width": 120,
  8656. "height": 160
  8657. },
  8658. "ports": {
  8659. "groups": {
  8660. "in": {
  8661. "attrs": {
  8662. "fo": {
  8663. "width": 8,
  8664. "height": 8,
  8665. "x": -4,
  8666. "y": -4,
  8667. "magnet": "true",
  8668. "style": {
  8669. "visibility": "hidden"
  8670. }
  8671. }
  8672. },
  8673. "zIndex": 3,
  8674. "position": {
  8675. "name": "left"
  8676. }
  8677. },
  8678. "out": {
  8679. "attrs": {
  8680. "fo": {
  8681. "width": 8,
  8682. "height": 8,
  8683. "x": -4,
  8684. "y": -4,
  8685. "magnet": "true",
  8686. "style": {
  8687. "visibility": "hidden"
  8688. }
  8689. }
  8690. },
  8691. "zIndex": 3,
  8692. "position": {
  8693. "name": "right"
  8694. }
  8695. },
  8696. "top": {
  8697. "attrs": {
  8698. "fo": {
  8699. "width": 8,
  8700. "height": 8,
  8701. "x": -4,
  8702. "y": -4,
  8703. "magnet": "true",
  8704. "style": {
  8705. "visibility": "hidden"
  8706. }
  8707. }
  8708. },
  8709. "zIndex": 3,
  8710. "position": {
  8711. "name": "top"
  8712. }
  8713. },
  8714. "bottom": {
  8715. "attrs": {
  8716. "fo": {
  8717. "width": 8,
  8718. "height": 8,
  8719. "x": -4,
  8720. "y": -4,
  8721. "magnet": "true",
  8722. "style": {
  8723. "visibility": "hidden"
  8724. }
  8725. }
  8726. },
  8727. "zIndex": 3,
  8728. "position": {
  8729. "name": "bottom"
  8730. }
  8731. }
  8732. },
  8733. "items": [
  8734. {
  8735. "group": "in",
  8736. "id": "in"
  8737. },
  8738. {
  8739. "group": "in",
  8740. "id": "in2"
  8741. },
  8742. {
  8743. "group": "in",
  8744. "id": "in3"
  8745. },
  8746. {
  8747. "group": "out",
  8748. "id": "out"
  8749. },
  8750. {
  8751. "group": "out",
  8752. "id": "out2"
  8753. },
  8754. {
  8755. "group": "out",
  8756. "id": "out3"
  8757. },
  8758. {
  8759. "group": "top",
  8760. "id": "top"
  8761. },
  8762. {
  8763. "group": "top",
  8764. "id": "top2"
  8765. },
  8766. {
  8767. "group": "top",
  8768. "id": "top3"
  8769. },
  8770. {
  8771. "group": "bottom",
  8772. "id": "bottom"
  8773. },
  8774. {
  8775. "group": "bottom",
  8776. "id": "bottom2"
  8777. },
  8778. {
  8779. "group": "bottom",
  8780. "id": "bottom3"
  8781. }
  8782. ]
  8783. }
  8784. },
  8785. {
  8786. "id": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  8787. "link": "{\"type\":\"internally\",\"value\":\"38DC4808-C376-4C0A-9E1D-9BE756B68A7D\"}",
  8788. "shape": "edit-node",
  8789. "position": {
  8790. "x": 1080.0000000000182,
  8791. "y": 619.9999999999891
  8792. },
  8793. "label": "### 生产批量设置\n---\nid\n门控料号(物料id)\n工厂代号(工厂id)\n生产批量\n维护人(用户id)\n维护时间",
  8794. "fillColor": "rgb(245, 220, 78)",
  8795. "size": {
  8796. "width": 140,
  8797. "height": 160
  8798. },
  8799. "ports": {
  8800. "groups": {
  8801. "in": {
  8802. "attrs": {
  8803. "fo": {
  8804. "width": 8,
  8805. "height": 8,
  8806. "x": -4,
  8807. "y": -4,
  8808. "magnet": "true",
  8809. "style": {
  8810. "visibility": "hidden"
  8811. }
  8812. }
  8813. },
  8814. "zIndex": 3,
  8815. "position": {
  8816. "name": "left"
  8817. }
  8818. },
  8819. "out": {
  8820. "attrs": {
  8821. "fo": {
  8822. "width": 8,
  8823. "height": 8,
  8824. "x": -4,
  8825. "y": -4,
  8826. "magnet": "true",
  8827. "style": {
  8828. "visibility": "hidden"
  8829. }
  8830. }
  8831. },
  8832. "zIndex": 3,
  8833. "position": {
  8834. "name": "right"
  8835. }
  8836. },
  8837. "top": {
  8838. "attrs": {
  8839. "fo": {
  8840. "width": 8,
  8841. "height": 8,
  8842. "x": -4,
  8843. "y": -4,
  8844. "magnet": "true",
  8845. "style": {
  8846. "visibility": "hidden"
  8847. }
  8848. }
  8849. },
  8850. "zIndex": 3,
  8851. "position": {
  8852. "name": "top"
  8853. }
  8854. },
  8855. "bottom": {
  8856. "attrs": {
  8857. "fo": {
  8858. "width": 8,
  8859. "height": 8,
  8860. "x": -4,
  8861. "y": -4,
  8862. "magnet": "true",
  8863. "style": {
  8864. "visibility": "hidden"
  8865. }
  8866. }
  8867. },
  8868. "zIndex": 3,
  8869. "position": {
  8870. "name": "bottom"
  8871. }
  8872. }
  8873. },
  8874. "items": [
  8875. {
  8876. "group": "in",
  8877. "id": "in"
  8878. },
  8879. {
  8880. "group": "in",
  8881. "id": "in2"
  8882. },
  8883. {
  8884. "group": "in",
  8885. "id": "in3"
  8886. },
  8887. {
  8888. "group": "out",
  8889. "id": "out"
  8890. },
  8891. {
  8892. "group": "out",
  8893. "id": "out2"
  8894. },
  8895. {
  8896. "group": "out",
  8897. "id": "out3"
  8898. },
  8899. {
  8900. "group": "top",
  8901. "id": "top"
  8902. },
  8903. {
  8904. "group": "top",
  8905. "id": "top2"
  8906. },
  8907. {
  8908. "group": "top",
  8909. "id": "top3"
  8910. },
  8911. {
  8912. "group": "bottom",
  8913. "id": "bottom"
  8914. },
  8915. {
  8916. "group": "bottom",
  8917. "id": "bottom2"
  8918. },
  8919. {
  8920. "group": "bottom",
  8921. "id": "bottom3"
  8922. },
  8923. {
  8924. "id": "bottom4",
  8925. "group": "bottom"
  8926. }
  8927. ]
  8928. }
  8929. },
  8930. {
  8931. "id": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  8932. "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
  8933. "shape": "edit-node",
  8934. "position": {
  8935. "x": 1290.0000000000182,
  8936. "y": 609.9999999999891
  8937. },
  8938. "label": "### 最近采购价格\n---\nid\n工厂代号(工厂id)\n门控料号(物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用",
  8939. "fillColor": "rgb(245, 220, 78)",
  8940. "size": {
  8941. "width": 150,
  8942. "height": 220
  8943. },
  8944. "ports": {
  8945. "groups": {
  8946. "in": {
  8947. "attrs": {
  8948. "fo": {
  8949. "width": 8,
  8950. "height": 8,
  8951. "x": -4,
  8952. "y": -4,
  8953. "magnet": "true",
  8954. "style": {
  8955. "visibility": "hidden"
  8956. }
  8957. }
  8958. },
  8959. "zIndex": 3,
  8960. "position": {
  8961. "name": "left"
  8962. }
  8963. },
  8964. "out": {
  8965. "attrs": {
  8966. "fo": {
  8967. "width": 8,
  8968. "height": 8,
  8969. "x": -4,
  8970. "y": -4,
  8971. "magnet": "true",
  8972. "style": {
  8973. "visibility": "hidden"
  8974. }
  8975. }
  8976. },
  8977. "zIndex": 3,
  8978. "position": {
  8979. "name": "right"
  8980. }
  8981. },
  8982. "top": {
  8983. "attrs": {
  8984. "fo": {
  8985. "width": 8,
  8986. "height": 8,
  8987. "x": -4,
  8988. "y": -4,
  8989. "magnet": "true",
  8990. "style": {
  8991. "visibility": "hidden"
  8992. }
  8993. }
  8994. },
  8995. "zIndex": 3,
  8996. "position": {
  8997. "name": "top"
  8998. }
  8999. },
  9000. "bottom": {
  9001. "attrs": {
  9002. "fo": {
  9003. "width": 8,
  9004. "height": 8,
  9005. "x": -4,
  9006. "y": -4,
  9007. "magnet": "true",
  9008. "style": {
  9009. "visibility": "hidden"
  9010. }
  9011. }
  9012. },
  9013. "zIndex": 3,
  9014. "position": {
  9015. "name": "bottom"
  9016. }
  9017. }
  9018. },
  9019. "items": [
  9020. {
  9021. "group": "in",
  9022. "id": "in"
  9023. },
  9024. {
  9025. "group": "in",
  9026. "id": "in2"
  9027. },
  9028. {
  9029. "group": "in",
  9030. "id": "in3"
  9031. },
  9032. {
  9033. "group": "out",
  9034. "id": "out"
  9035. },
  9036. {
  9037. "group": "out",
  9038. "id": "out2"
  9039. },
  9040. {
  9041. "group": "out",
  9042. "id": "out3"
  9043. },
  9044. {
  9045. "group": "top",
  9046. "id": "top"
  9047. },
  9048. {
  9049. "group": "top",
  9050. "id": "top2"
  9051. },
  9052. {
  9053. "group": "top",
  9054. "id": "top3"
  9055. },
  9056. {
  9057. "group": "bottom",
  9058. "id": "bottom"
  9059. },
  9060. {
  9061. "group": "bottom",
  9062. "id": "bottom2"
  9063. },
  9064. {
  9065. "group": "bottom",
  9066. "id": "bottom3"
  9067. },
  9068. {
  9069. "id": "bottom4",
  9070. "group": "bottom"
  9071. }
  9072. ]
  9073. }
  9074. },
  9075. {
  9076. "id": "d97d6f07-8365-40ab-bde8-34511452e62f",
  9077. "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
  9078. "shape": "edit-node",
  9079. "position": {
  9080. "x": 620.0000000000148,
  9081. "y": 1799.9999999999893
  9082. },
  9083. "label": "### 最近采购价\n---\nid\n工厂代号(工厂id)\n门控料号(?物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用\n维护人\n维护时间",
  9084. "fontColor": "#000000",
  9085. "fillColor": "rgb(117, 190, 250)",
  9086. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9087. "size": {
  9088. "width": 180,
  9089. "height": 270
  9090. },
  9091. "ports": {
  9092. "groups": {
  9093. "in": {
  9094. "attrs": {
  9095. "fo": {
  9096. "width": 8,
  9097. "height": 8,
  9098. "x": -4,
  9099. "y": -4,
  9100. "magnet": "true",
  9101. "style": {
  9102. "visibility": "hidden"
  9103. }
  9104. }
  9105. },
  9106. "zIndex": 3,
  9107. "position": {
  9108. "name": "left"
  9109. }
  9110. },
  9111. "out": {
  9112. "attrs": {
  9113. "fo": {
  9114. "width": 8,
  9115. "height": 8,
  9116. "x": -4,
  9117. "y": -4,
  9118. "magnet": "true",
  9119. "style": {
  9120. "visibility": "hidden"
  9121. }
  9122. }
  9123. },
  9124. "zIndex": 3,
  9125. "position": {
  9126. "name": "right"
  9127. }
  9128. },
  9129. "top": {
  9130. "attrs": {
  9131. "fo": {
  9132. "width": 8,
  9133. "height": 8,
  9134. "x": -4,
  9135. "y": -4,
  9136. "magnet": "true",
  9137. "style": {
  9138. "visibility": "hidden"
  9139. }
  9140. }
  9141. },
  9142. "zIndex": 3,
  9143. "position": {
  9144. "name": "top"
  9145. }
  9146. },
  9147. "bottom": {
  9148. "attrs": {
  9149. "fo": {
  9150. "width": 8,
  9151. "height": 8,
  9152. "x": -4,
  9153. "y": -4,
  9154. "magnet": "true",
  9155. "style": {
  9156. "visibility": "hidden"
  9157. }
  9158. }
  9159. },
  9160. "zIndex": 3,
  9161. "position": {
  9162. "name": "bottom"
  9163. }
  9164. }
  9165. },
  9166. "items": [
  9167. {
  9168. "group": "in",
  9169. "id": "in"
  9170. },
  9171. {
  9172. "group": "in",
  9173. "id": "in2"
  9174. },
  9175. {
  9176. "group": "in",
  9177. "id": "in3"
  9178. },
  9179. {
  9180. "group": "out",
  9181. "id": "out"
  9182. },
  9183. {
  9184. "group": "out",
  9185. "id": "out2"
  9186. },
  9187. {
  9188. "group": "out",
  9189. "id": "out3"
  9190. },
  9191. {
  9192. "group": "top",
  9193. "id": "top"
  9194. },
  9195. {
  9196. "group": "top",
  9197. "id": "top2"
  9198. },
  9199. {
  9200. "group": "top",
  9201. "id": "top3"
  9202. },
  9203. {
  9204. "group": "bottom",
  9205. "id": "bottom"
  9206. },
  9207. {
  9208. "group": "bottom",
  9209. "id": "bottom2"
  9210. },
  9211. {
  9212. "group": "bottom",
  9213. "id": "bottom3"
  9214. },
  9215. {
  9216. "id": "in4",
  9217. "group": "in"
  9218. },
  9219. {
  9220. "id": "bottom4",
  9221. "group": "bottom"
  9222. }
  9223. ]
  9224. }
  9225. },
  9226. {
  9227. "id": "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
  9228. "shape": "edit-node",
  9229. "position": {
  9230. "x": 1110.0000000000107,
  9231. "y": 1789.9999999999927
  9232. },
  9233. "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版本",
  9234. "fillColor": "rgb(90, 213, 198)",
  9235. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9236. "size": {
  9237. "width": 210,
  9238. "height": 670
  9239. },
  9240. "ports": {
  9241. "groups": {
  9242. "in": {
  9243. "attrs": {
  9244. "fo": {
  9245. "width": 8,
  9246. "height": 8,
  9247. "x": -4,
  9248. "y": -4,
  9249. "magnet": "true",
  9250. "style": {
  9251. "visibility": "hidden"
  9252. }
  9253. }
  9254. },
  9255. "zIndex": 3,
  9256. "position": {
  9257. "name": "left"
  9258. }
  9259. },
  9260. "out": {
  9261. "attrs": {
  9262. "fo": {
  9263. "width": 8,
  9264. "height": 8,
  9265. "x": -4,
  9266. "y": -4,
  9267. "magnet": "true",
  9268. "style": {
  9269. "visibility": "hidden"
  9270. }
  9271. }
  9272. },
  9273. "zIndex": 3,
  9274. "position": {
  9275. "name": "right"
  9276. }
  9277. },
  9278. "top": {
  9279. "attrs": {
  9280. "fo": {
  9281. "width": 8,
  9282. "height": 8,
  9283. "x": -4,
  9284. "y": -4,
  9285. "magnet": "true",
  9286. "style": {
  9287. "visibility": "hidden"
  9288. }
  9289. }
  9290. },
  9291. "zIndex": 3,
  9292. "position": {
  9293. "name": "top"
  9294. }
  9295. },
  9296. "bottom": {
  9297. "attrs": {
  9298. "fo": {
  9299. "width": 8,
  9300. "height": 8,
  9301. "x": -4,
  9302. "y": -4,
  9303. "magnet": "true",
  9304. "style": {
  9305. "visibility": "hidden"
  9306. }
  9307. }
  9308. },
  9309. "zIndex": 3,
  9310. "position": {
  9311. "name": "bottom"
  9312. }
  9313. }
  9314. },
  9315. "items": [
  9316. {
  9317. "group": "in",
  9318. "id": "in"
  9319. },
  9320. {
  9321. "group": "in",
  9322. "id": "in2"
  9323. },
  9324. {
  9325. "group": "in",
  9326. "id": "in3"
  9327. },
  9328. {
  9329. "group": "out",
  9330. "id": "out"
  9331. },
  9332. {
  9333. "group": "out",
  9334. "id": "out2"
  9335. },
  9336. {
  9337. "group": "out",
  9338. "id": "out3"
  9339. },
  9340. {
  9341. "group": "top",
  9342. "id": "top"
  9343. },
  9344. {
  9345. "group": "top",
  9346. "id": "top2"
  9347. },
  9348. {
  9349. "group": "top",
  9350. "id": "top3"
  9351. },
  9352. {
  9353. "group": "bottom",
  9354. "id": "bottom"
  9355. },
  9356. {
  9357. "group": "bottom",
  9358. "id": "bottom2"
  9359. },
  9360. {
  9361. "group": "bottom",
  9362. "id": "bottom3"
  9363. },
  9364. {
  9365. "id": "in4",
  9366. "group": "in"
  9367. },
  9368. {
  9369. "id": "bottom4",
  9370. "group": "bottom"
  9371. }
  9372. ]
  9373. }
  9374. },
  9375. {
  9376. "id": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  9377. "link": "{\"type\":\"internally\",\"value\":\"1271309E-2310-435D-B129-DC3F72BBA013\"}",
  9378. "shape": "edit-node",
  9379. "position": {
  9380. "x": 1450,
  9381. "y": 1230
  9382. },
  9383. "label": "### 物料号最新的版本号\n---\n项目类型\n子项目号\n项目名称\n项目阶段\n项目日期\n图号\n工厂\n物料号\n版本号\n版本状态",
  9384. "fillColor": "rgb(90, 213, 198)",
  9385. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9386. "size": {
  9387. "width": 170,
  9388. "height": 220
  9389. },
  9390. "ports": {
  9391. "groups": {
  9392. "in": {
  9393. "attrs": {
  9394. "fo": {
  9395. "width": 8,
  9396. "height": 8,
  9397. "x": -4,
  9398. "y": -4,
  9399. "magnet": "true",
  9400. "style": {
  9401. "visibility": "hidden"
  9402. }
  9403. }
  9404. },
  9405. "zIndex": 3,
  9406. "position": {
  9407. "name": "left"
  9408. }
  9409. },
  9410. "out": {
  9411. "attrs": {
  9412. "fo": {
  9413. "width": 8,
  9414. "height": 8,
  9415. "x": -4,
  9416. "y": -4,
  9417. "magnet": "true",
  9418. "style": {
  9419. "visibility": "hidden"
  9420. }
  9421. }
  9422. },
  9423. "zIndex": 3,
  9424. "position": {
  9425. "name": "right"
  9426. }
  9427. },
  9428. "top": {
  9429. "attrs": {
  9430. "fo": {
  9431. "width": 8,
  9432. "height": 8,
  9433. "x": -4,
  9434. "y": -4,
  9435. "magnet": "true",
  9436. "style": {
  9437. "visibility": "hidden"
  9438. }
  9439. }
  9440. },
  9441. "zIndex": 3,
  9442. "position": {
  9443. "name": "top"
  9444. }
  9445. },
  9446. "bottom": {
  9447. "attrs": {
  9448. "fo": {
  9449. "width": 8,
  9450. "height": 8,
  9451. "x": -4,
  9452. "y": -4,
  9453. "magnet": "true",
  9454. "style": {
  9455. "visibility": "hidden"
  9456. }
  9457. }
  9458. },
  9459. "zIndex": 3,
  9460. "position": {
  9461. "name": "bottom"
  9462. }
  9463. }
  9464. },
  9465. "items": [
  9466. {
  9467. "group": "in",
  9468. "id": "in"
  9469. },
  9470. {
  9471. "group": "in",
  9472. "id": "in2"
  9473. },
  9474. {
  9475. "group": "in",
  9476. "id": "in3"
  9477. },
  9478. {
  9479. "group": "out",
  9480. "id": "out"
  9481. },
  9482. {
  9483. "group": "out",
  9484. "id": "out2"
  9485. },
  9486. {
  9487. "group": "out",
  9488. "id": "out3"
  9489. },
  9490. {
  9491. "group": "top",
  9492. "id": "top"
  9493. },
  9494. {
  9495. "group": "top",
  9496. "id": "top2"
  9497. },
  9498. {
  9499. "group": "top",
  9500. "id": "top3"
  9501. },
  9502. {
  9503. "group": "bottom",
  9504. "id": "bottom"
  9505. },
  9506. {
  9507. "group": "bottom",
  9508. "id": "bottom2"
  9509. },
  9510. {
  9511. "group": "bottom",
  9512. "id": "bottom3"
  9513. },
  9514. {
  9515. "id": "top4",
  9516. "group": "top"
  9517. }
  9518. ]
  9519. }
  9520. },
  9521. {
  9522. "id": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  9523. "shape": "edit-node",
  9524. "position": {
  9525. "x": 440,
  9526. "y": 1230
  9527. },
  9528. "label": "### 成本挖掘任务\n---\nid\n工厂\n年\n月\n物料号\nWBS号\n标准版本号",
  9529. "fillColor": "rgb(247, 151, 128)",
  9530. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9531. "size": {
  9532. "width": 130,
  9533. "height": 180
  9534. },
  9535. "ports": {
  9536. "groups": {
  9537. "in": {
  9538. "attrs": {
  9539. "fo": {
  9540. "width": 8,
  9541. "height": 8,
  9542. "x": -4,
  9543. "y": -4,
  9544. "magnet": "true",
  9545. "style": {
  9546. "visibility": "hidden"
  9547. }
  9548. }
  9549. },
  9550. "zIndex": 3,
  9551. "position": {
  9552. "name": "left"
  9553. }
  9554. },
  9555. "out": {
  9556. "attrs": {
  9557. "fo": {
  9558. "width": 8,
  9559. "height": 8,
  9560. "x": -4,
  9561. "y": -4,
  9562. "magnet": "true",
  9563. "style": {
  9564. "visibility": "hidden"
  9565. }
  9566. }
  9567. },
  9568. "zIndex": 3,
  9569. "position": {
  9570. "name": "right"
  9571. }
  9572. },
  9573. "top": {
  9574. "attrs": {
  9575. "fo": {
  9576. "width": 8,
  9577. "height": 8,
  9578. "x": -4,
  9579. "y": -4,
  9580. "magnet": "true",
  9581. "style": {
  9582. "visibility": "hidden"
  9583. }
  9584. }
  9585. },
  9586. "zIndex": 3,
  9587. "position": {
  9588. "name": "top"
  9589. }
  9590. },
  9591. "bottom": {
  9592. "attrs": {
  9593. "fo": {
  9594. "width": 8,
  9595. "height": 8,
  9596. "x": -4,
  9597. "y": -4,
  9598. "magnet": "true",
  9599. "style": {
  9600. "visibility": "hidden"
  9601. }
  9602. }
  9603. },
  9604. "zIndex": 3,
  9605. "position": {
  9606. "name": "bottom"
  9607. }
  9608. }
  9609. },
  9610. "items": [
  9611. {
  9612. "group": "in",
  9613. "id": "in"
  9614. },
  9615. {
  9616. "group": "in",
  9617. "id": "in2"
  9618. },
  9619. {
  9620. "group": "in",
  9621. "id": "in3"
  9622. },
  9623. {
  9624. "group": "out",
  9625. "id": "out"
  9626. },
  9627. {
  9628. "group": "out",
  9629. "id": "out2"
  9630. },
  9631. {
  9632. "group": "out",
  9633. "id": "out3"
  9634. },
  9635. {
  9636. "group": "top",
  9637. "id": "top"
  9638. },
  9639. {
  9640. "group": "top",
  9641. "id": "top2"
  9642. },
  9643. {
  9644. "group": "top",
  9645. "id": "top3"
  9646. },
  9647. {
  9648. "group": "bottom",
  9649. "id": "bottom"
  9650. },
  9651. {
  9652. "group": "bottom",
  9653. "id": "bottom2"
  9654. },
  9655. {
  9656. "group": "bottom",
  9657. "id": "bottom3"
  9658. },
  9659. {
  9660. "id": "top4",
  9661. "group": "top"
  9662. }
  9663. ]
  9664. }
  9665. },
  9666. {
  9667. "id": "764cbe48-4a33-4752-94a9-67bda1226718",
  9668. "shape": "edit-node",
  9669. "position": {
  9670. "x": 600.000000000015,
  9671. "y": 1230
  9672. },
  9673. "label": "### 成本挖掘任务结果\n---\nid\n任务id\n实际总成本\n标准总成本\n总差额\n差额比\n是否有传输过账\n报告状态\n",
  9674. "fillColor": "rgb(247, 151, 128)",
  9675. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9676. "size": {
  9677. "width": 130,
  9678. "height": 190
  9679. },
  9680. "ports": {
  9681. "groups": {
  9682. "in": {
  9683. "attrs": {
  9684. "fo": {
  9685. "width": 8,
  9686. "height": 8,
  9687. "x": -4,
  9688. "y": -4,
  9689. "magnet": "true",
  9690. "style": {
  9691. "visibility": "hidden"
  9692. }
  9693. }
  9694. },
  9695. "zIndex": 3,
  9696. "position": {
  9697. "name": "left"
  9698. }
  9699. },
  9700. "out": {
  9701. "attrs": {
  9702. "fo": {
  9703. "width": 8,
  9704. "height": 8,
  9705. "x": -4,
  9706. "y": -4,
  9707. "magnet": "true",
  9708. "style": {
  9709. "visibility": "hidden"
  9710. }
  9711. }
  9712. },
  9713. "zIndex": 3,
  9714. "position": {
  9715. "name": "right"
  9716. }
  9717. },
  9718. "top": {
  9719. "attrs": {
  9720. "fo": {
  9721. "width": 8,
  9722. "height": 8,
  9723. "x": -4,
  9724. "y": -4,
  9725. "magnet": "true",
  9726. "style": {
  9727. "visibility": "hidden"
  9728. }
  9729. }
  9730. },
  9731. "zIndex": 3,
  9732. "position": {
  9733. "name": "top"
  9734. }
  9735. },
  9736. "bottom": {
  9737. "attrs": {
  9738. "fo": {
  9739. "width": 8,
  9740. "height": 8,
  9741. "x": -4,
  9742. "y": -4,
  9743. "magnet": "true",
  9744. "style": {
  9745. "visibility": "hidden"
  9746. }
  9747. }
  9748. },
  9749. "zIndex": 3,
  9750. "position": {
  9751. "name": "bottom"
  9752. }
  9753. }
  9754. },
  9755. "items": [
  9756. {
  9757. "group": "in",
  9758. "id": "in"
  9759. },
  9760. {
  9761. "group": "in",
  9762. "id": "in2"
  9763. },
  9764. {
  9765. "group": "in",
  9766. "id": "in3"
  9767. },
  9768. {
  9769. "group": "out",
  9770. "id": "out"
  9771. },
  9772. {
  9773. "group": "out",
  9774. "id": "out2"
  9775. },
  9776. {
  9777. "group": "out",
  9778. "id": "out3"
  9779. },
  9780. {
  9781. "group": "top",
  9782. "id": "top"
  9783. },
  9784. {
  9785. "group": "top",
  9786. "id": "top2"
  9787. },
  9788. {
  9789. "group": "top",
  9790. "id": "top3"
  9791. },
  9792. {
  9793. "group": "bottom",
  9794. "id": "bottom"
  9795. },
  9796. {
  9797. "group": "bottom",
  9798. "id": "bottom2"
  9799. },
  9800. {
  9801. "group": "bottom",
  9802. "id": "bottom3"
  9803. },
  9804. {
  9805. "id": "top4",
  9806. "group": "top"
  9807. }
  9808. ]
  9809. }
  9810. },
  9811. {
  9812. "id": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  9813. "shape": "edit-node",
  9814. "position": {
  9815. "x": 610,
  9816. "y": 1450
  9817. },
  9818. "label": "### 成本挖掘报告\n---\n对比分析\n原因分析\n",
  9819. "fillColor": "rgb(247, 151, 128)",
  9820. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  9821. "size": {
  9822. "width": 110,
  9823. "height": 150
  9824. },
  9825. "ports": {
  9826. "groups": {
  9827. "in": {
  9828. "attrs": {
  9829. "fo": {
  9830. "width": 8,
  9831. "height": 8,
  9832. "x": -4,
  9833. "y": -4,
  9834. "magnet": "true",
  9835. "style": {
  9836. "visibility": "hidden"
  9837. }
  9838. }
  9839. },
  9840. "zIndex": 3,
  9841. "position": {
  9842. "name": "left"
  9843. }
  9844. },
  9845. "out": {
  9846. "attrs": {
  9847. "fo": {
  9848. "width": 8,
  9849. "height": 8,
  9850. "x": -4,
  9851. "y": -4,
  9852. "magnet": "true",
  9853. "style": {
  9854. "visibility": "hidden"
  9855. }
  9856. }
  9857. },
  9858. "zIndex": 3,
  9859. "position": {
  9860. "name": "right"
  9861. }
  9862. },
  9863. "top": {
  9864. "attrs": {
  9865. "fo": {
  9866. "width": 8,
  9867. "height": 8,
  9868. "x": -4,
  9869. "y": -4,
  9870. "magnet": "true",
  9871. "style": {
  9872. "visibility": "hidden"
  9873. }
  9874. }
  9875. },
  9876. "zIndex": 3,
  9877. "position": {
  9878. "name": "top"
  9879. }
  9880. },
  9881. "bottom": {
  9882. "attrs": {
  9883. "fo": {
  9884. "width": 8,
  9885. "height": 8,
  9886. "x": -4,
  9887. "y": -4,
  9888. "magnet": "true",
  9889. "style": {
  9890. "visibility": "hidden"
  9891. }
  9892. }
  9893. },
  9894. "zIndex": 3,
  9895. "position": {
  9896. "name": "bottom"
  9897. }
  9898. }
  9899. },
  9900. "items": [
  9901. {
  9902. "group": "in",
  9903. "id": "in"
  9904. },
  9905. {
  9906. "group": "in",
  9907. "id": "in2"
  9908. },
  9909. {
  9910. "group": "in",
  9911. "id": "in3"
  9912. },
  9913. {
  9914. "group": "out",
  9915. "id": "out"
  9916. },
  9917. {
  9918. "group": "out",
  9919. "id": "out2"
  9920. },
  9921. {
  9922. "group": "out",
  9923. "id": "out3"
  9924. },
  9925. {
  9926. "group": "top",
  9927. "id": "top"
  9928. },
  9929. {
  9930. "group": "top",
  9931. "id": "top2"
  9932. },
  9933. {
  9934. "group": "top",
  9935. "id": "top3"
  9936. },
  9937. {
  9938. "group": "bottom",
  9939. "id": "bottom"
  9940. },
  9941. {
  9942. "group": "bottom",
  9943. "id": "bottom2"
  9944. },
  9945. {
  9946. "group": "bottom",
  9947. "id": "bottom3"
  9948. },
  9949. {
  9950. "id": "top4",
  9951. "group": "top"
  9952. }
  9953. ]
  9954. }
  9955. },
  9956. {
  9957. "id": "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
  9958. "shape": "edit-node",
  9959. "position": {
  9960. "x": 580,
  9961. "y": 1009.9999999999891
  9962. },
  9963. "label": "### 角色管理\n---\nid\n角色名称\n是否启用\n操作权限",
  9964. "fillColor": "#DDE5FF",
  9965. "size": {
  9966. "width": 170,
  9967. "height": 150
  9968. },
  9969. "ports": {
  9970. "groups": {
  9971. "in": {
  9972. "attrs": {
  9973. "fo": {
  9974. "width": 8,
  9975. "height": 8,
  9976. "x": -4,
  9977. "y": -4,
  9978. "magnet": "true",
  9979. "style": {
  9980. "visibility": "hidden"
  9981. }
  9982. }
  9983. },
  9984. "zIndex": 3,
  9985. "position": {
  9986. "name": "left"
  9987. }
  9988. },
  9989. "out": {
  9990. "attrs": {
  9991. "fo": {
  9992. "width": 8,
  9993. "height": 8,
  9994. "x": -4,
  9995. "y": -4,
  9996. "magnet": "true",
  9997. "style": {
  9998. "visibility": "hidden"
  9999. }
  10000. }
  10001. },
  10002. "zIndex": 3,
  10003. "position": {
  10004. "name": "right"
  10005. }
  10006. },
  10007. "top": {
  10008. "attrs": {
  10009. "fo": {
  10010. "width": 8,
  10011. "height": 8,
  10012. "x": -4,
  10013. "y": -4,
  10014. "magnet": "true",
  10015. "style": {
  10016. "visibility": "hidden"
  10017. }
  10018. }
  10019. },
  10020. "zIndex": 3,
  10021. "position": {
  10022. "name": "top"
  10023. }
  10024. },
  10025. "bottom": {
  10026. "attrs": {
  10027. "fo": {
  10028. "width": 8,
  10029. "height": 8,
  10030. "x": -4,
  10031. "y": -4,
  10032. "magnet": "true",
  10033. "style": {
  10034. "visibility": "hidden"
  10035. }
  10036. }
  10037. },
  10038. "zIndex": 3,
  10039. "position": {
  10040. "name": "bottom"
  10041. }
  10042. }
  10043. },
  10044. "items": [
  10045. {
  10046. "group": "in",
  10047. "id": "in"
  10048. },
  10049. {
  10050. "group": "in",
  10051. "id": "in2"
  10052. },
  10053. {
  10054. "group": "in",
  10055. "id": "in3"
  10056. },
  10057. {
  10058. "group": "out",
  10059. "id": "out"
  10060. },
  10061. {
  10062. "group": "out",
  10063. "id": "out2"
  10064. },
  10065. {
  10066. "group": "out",
  10067. "id": "out3"
  10068. },
  10069. {
  10070. "group": "top",
  10071. "id": "top"
  10072. },
  10073. {
  10074. "group": "top",
  10075. "id": "top2"
  10076. },
  10077. {
  10078. "group": "top",
  10079. "id": "top3"
  10080. },
  10081. {
  10082. "group": "bottom",
  10083. "id": "bottom"
  10084. },
  10085. {
  10086. "group": "bottom",
  10087. "id": "bottom2"
  10088. },
  10089. {
  10090. "group": "bottom",
  10091. "id": "bottom3"
  10092. },
  10093. {
  10094. "id": "top4",
  10095. "group": "top"
  10096. }
  10097. ]
  10098. }
  10099. },
  10100. {
  10101. "id": "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
  10102. "shape": "edit-node",
  10103. "position": {
  10104. "x": 420,
  10105. "y": 1009.9999999999891
  10106. },
  10107. "label": "### 菜单管理\n---\nid\n菜单名称\n菜单路径\n菜单模块\n是否启用\n说明\n创建人\n创建时间\n",
  10108. "fillColor": "#DDE5FF",
  10109. "size": {
  10110. "width": 150,
  10111. "height": 180
  10112. },
  10113. "ports": {
  10114. "groups": {
  10115. "in": {
  10116. "attrs": {
  10117. "fo": {
  10118. "width": 8,
  10119. "height": 8,
  10120. "x": -4,
  10121. "y": -4,
  10122. "magnet": "true",
  10123. "style": {
  10124. "visibility": "hidden"
  10125. }
  10126. }
  10127. },
  10128. "zIndex": 3,
  10129. "position": {
  10130. "name": "left"
  10131. }
  10132. },
  10133. "out": {
  10134. "attrs": {
  10135. "fo": {
  10136. "width": 8,
  10137. "height": 8,
  10138. "x": -4,
  10139. "y": -4,
  10140. "magnet": "true",
  10141. "style": {
  10142. "visibility": "hidden"
  10143. }
  10144. }
  10145. },
  10146. "zIndex": 3,
  10147. "position": {
  10148. "name": "right"
  10149. }
  10150. },
  10151. "top": {
  10152. "attrs": {
  10153. "fo": {
  10154. "width": 8,
  10155. "height": 8,
  10156. "x": -4,
  10157. "y": -4,
  10158. "magnet": "true",
  10159. "style": {
  10160. "visibility": "hidden"
  10161. }
  10162. }
  10163. },
  10164. "zIndex": 3,
  10165. "position": {
  10166. "name": "top"
  10167. }
  10168. },
  10169. "bottom": {
  10170. "attrs": {
  10171. "fo": {
  10172. "width": 8,
  10173. "height": 8,
  10174. "x": -4,
  10175. "y": -4,
  10176. "magnet": "true",
  10177. "style": {
  10178. "visibility": "hidden"
  10179. }
  10180. }
  10181. },
  10182. "zIndex": 3,
  10183. "position": {
  10184. "name": "bottom"
  10185. }
  10186. }
  10187. },
  10188. "items": [
  10189. {
  10190. "group": "in",
  10191. "id": "in"
  10192. },
  10193. {
  10194. "group": "in",
  10195. "id": "in2"
  10196. },
  10197. {
  10198. "group": "in",
  10199. "id": "in3"
  10200. },
  10201. {
  10202. "group": "out",
  10203. "id": "out"
  10204. },
  10205. {
  10206. "group": "out",
  10207. "id": "out2"
  10208. },
  10209. {
  10210. "group": "out",
  10211. "id": "out3"
  10212. },
  10213. {
  10214. "group": "top",
  10215. "id": "top"
  10216. },
  10217. {
  10218. "group": "top",
  10219. "id": "top2"
  10220. },
  10221. {
  10222. "group": "top",
  10223. "id": "top3"
  10224. },
  10225. {
  10226. "group": "bottom",
  10227. "id": "bottom"
  10228. },
  10229. {
  10230. "group": "bottom",
  10231. "id": "bottom2"
  10232. },
  10233. {
  10234. "group": "bottom",
  10235. "id": "bottom3"
  10236. },
  10237. {
  10238. "id": "top4",
  10239. "group": "top"
  10240. }
  10241. ]
  10242. }
  10243. },
  10244. {
  10245. "id": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  10246. "shape": "edit-node",
  10247. "position": {
  10248. "x": 1815.000000000015,
  10249. "y": 1629.9999999999927
  10250. },
  10251. "label": "### 部件缺失信息\n---\n工厂\n物料号\n版本号\n缺失信息(缺失备注信息)",
  10252. "fillColor": "rgb(90, 213, 198)",
  10253. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10254. "size": {
  10255. "width": 160,
  10256. "height": 150
  10257. },
  10258. "ports": {
  10259. "groups": {
  10260. "in": {
  10261. "attrs": {
  10262. "fo": {
  10263. "width": 8,
  10264. "height": 8,
  10265. "x": -4,
  10266. "y": -4,
  10267. "magnet": "true",
  10268. "style": {
  10269. "visibility": "hidden"
  10270. }
  10271. }
  10272. },
  10273. "zIndex": 3,
  10274. "position": {
  10275. "name": "left"
  10276. }
  10277. },
  10278. "out": {
  10279. "attrs": {
  10280. "fo": {
  10281. "width": 8,
  10282. "height": 8,
  10283. "x": -4,
  10284. "y": -4,
  10285. "magnet": "true",
  10286. "style": {
  10287. "visibility": "hidden"
  10288. }
  10289. }
  10290. },
  10291. "zIndex": 3,
  10292. "position": {
  10293. "name": "right"
  10294. }
  10295. },
  10296. "top": {
  10297. "attrs": {
  10298. "fo": {
  10299. "width": 8,
  10300. "height": 8,
  10301. "x": -4,
  10302. "y": -4,
  10303. "magnet": "true",
  10304. "style": {
  10305. "visibility": "hidden"
  10306. }
  10307. }
  10308. },
  10309. "zIndex": 3,
  10310. "position": {
  10311. "name": "top"
  10312. }
  10313. },
  10314. "bottom": {
  10315. "attrs": {
  10316. "fo": {
  10317. "width": 8,
  10318. "height": 8,
  10319. "x": -4,
  10320. "y": -4,
  10321. "magnet": "true",
  10322. "style": {
  10323. "visibility": "hidden"
  10324. }
  10325. }
  10326. },
  10327. "zIndex": 3,
  10328. "position": {
  10329. "name": "bottom"
  10330. }
  10331. }
  10332. },
  10333. "items": [
  10334. {
  10335. "group": "in",
  10336. "id": "in"
  10337. },
  10338. {
  10339. "group": "in",
  10340. "id": "in2"
  10341. },
  10342. {
  10343. "group": "in",
  10344. "id": "in3"
  10345. },
  10346. {
  10347. "group": "out",
  10348. "id": "out"
  10349. },
  10350. {
  10351. "group": "out",
  10352. "id": "out2"
  10353. },
  10354. {
  10355. "group": "out",
  10356. "id": "out3"
  10357. },
  10358. {
  10359. "group": "top",
  10360. "id": "top"
  10361. },
  10362. {
  10363. "group": "top",
  10364. "id": "top2"
  10365. },
  10366. {
  10367. "group": "top",
  10368. "id": "top3"
  10369. },
  10370. {
  10371. "group": "bottom",
  10372. "id": "bottom"
  10373. },
  10374. {
  10375. "group": "bottom",
  10376. "id": "bottom2"
  10377. },
  10378. {
  10379. "group": "bottom",
  10380. "id": "bottom3"
  10381. },
  10382. {
  10383. "id": "in4",
  10384. "group": "in"
  10385. },
  10386. {
  10387. "id": "bottom4",
  10388. "group": "bottom"
  10389. }
  10390. ]
  10391. }
  10392. },
  10393. {
  10394. "id": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  10395. "shape": "edit-node",
  10396. "position": {
  10397. "x": 2150,
  10398. "y": 1550
  10399. },
  10400. "label": "### 标准成本结果\n---\n工厂代码\n物料编码\n版本号\n机械材料\n门控\n电机\nMK物料\n包装箱\n人工\n运输费\n制费\n成本合计\n7525门控\n7525合计",
  10401. "fillColor": "rgb(90, 213, 198)",
  10402. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10403. "size": {
  10404. "width": 150,
  10405. "height": 290
  10406. },
  10407. "ports": {
  10408. "groups": {
  10409. "in": {
  10410. "attrs": {
  10411. "fo": {
  10412. "width": 8,
  10413. "height": 8,
  10414. "x": -4,
  10415. "y": -4,
  10416. "magnet": "true",
  10417. "style": {
  10418. "visibility": "hidden"
  10419. }
  10420. }
  10421. },
  10422. "zIndex": 3,
  10423. "position": {
  10424. "name": "left"
  10425. }
  10426. },
  10427. "out": {
  10428. "attrs": {
  10429. "fo": {
  10430. "width": 8,
  10431. "height": 8,
  10432. "x": -4,
  10433. "y": -4,
  10434. "magnet": "true",
  10435. "style": {
  10436. "visibility": "hidden"
  10437. }
  10438. }
  10439. },
  10440. "zIndex": 3,
  10441. "position": {
  10442. "name": "right"
  10443. }
  10444. },
  10445. "top": {
  10446. "attrs": {
  10447. "fo": {
  10448. "width": 8,
  10449. "height": 8,
  10450. "x": -4,
  10451. "y": -4,
  10452. "magnet": "true",
  10453. "style": {
  10454. "visibility": "hidden"
  10455. }
  10456. }
  10457. },
  10458. "zIndex": 3,
  10459. "position": {
  10460. "name": "top"
  10461. }
  10462. },
  10463. "bottom": {
  10464. "attrs": {
  10465. "fo": {
  10466. "width": 8,
  10467. "height": 8,
  10468. "x": -4,
  10469. "y": -4,
  10470. "magnet": "true",
  10471. "style": {
  10472. "visibility": "hidden"
  10473. }
  10474. }
  10475. },
  10476. "zIndex": 3,
  10477. "position": {
  10478. "name": "bottom"
  10479. }
  10480. }
  10481. },
  10482. "items": [
  10483. {
  10484. "group": "in",
  10485. "id": "in"
  10486. },
  10487. {
  10488. "group": "in",
  10489. "id": "in2"
  10490. },
  10491. {
  10492. "group": "in",
  10493. "id": "in3"
  10494. },
  10495. {
  10496. "group": "out",
  10497. "id": "out"
  10498. },
  10499. {
  10500. "group": "out",
  10501. "id": "out2"
  10502. },
  10503. {
  10504. "group": "out",
  10505. "id": "out3"
  10506. },
  10507. {
  10508. "group": "top",
  10509. "id": "top"
  10510. },
  10511. {
  10512. "group": "top",
  10513. "id": "top2"
  10514. },
  10515. {
  10516. "group": "top",
  10517. "id": "top3"
  10518. },
  10519. {
  10520. "group": "bottom",
  10521. "id": "bottom"
  10522. },
  10523. {
  10524. "group": "bottom",
  10525. "id": "bottom2"
  10526. },
  10527. {
  10528. "group": "bottom",
  10529. "id": "bottom3"
  10530. },
  10531. {
  10532. "id": "in4",
  10533. "group": "in"
  10534. },
  10535. {
  10536. "id": "bottom4",
  10537. "group": "bottom"
  10538. }
  10539. ]
  10540. }
  10541. },
  10542. {
  10543. "id": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  10544. "shape": "edit-node",
  10545. "position": {
  10546. "x": 1900,
  10547. "y": 1450
  10548. },
  10549. "label": "### 当月入库标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\nWBS号\n项目名称(项目id)\n库存地点编号",
  10550. "fillColor": "rgb(90, 213, 198)",
  10551. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10552. "size": {
  10553. "width": 160,
  10554. "height": 160
  10555. },
  10556. "ports": {
  10557. "groups": {
  10558. "in": {
  10559. "attrs": {
  10560. "fo": {
  10561. "width": 8,
  10562. "height": 8,
  10563. "x": -4,
  10564. "y": -4,
  10565. "magnet": "true",
  10566. "style": {
  10567. "visibility": "hidden"
  10568. }
  10569. }
  10570. },
  10571. "zIndex": 3,
  10572. "position": {
  10573. "name": "left"
  10574. }
  10575. },
  10576. "out": {
  10577. "attrs": {
  10578. "fo": {
  10579. "width": 8,
  10580. "height": 8,
  10581. "x": -4,
  10582. "y": -4,
  10583. "magnet": "true",
  10584. "style": {
  10585. "visibility": "hidden"
  10586. }
  10587. }
  10588. },
  10589. "zIndex": 3,
  10590. "position": {
  10591. "name": "right"
  10592. }
  10593. },
  10594. "top": {
  10595. "attrs": {
  10596. "fo": {
  10597. "width": 8,
  10598. "height": 8,
  10599. "x": -4,
  10600. "y": -4,
  10601. "magnet": "true",
  10602. "style": {
  10603. "visibility": "hidden"
  10604. }
  10605. }
  10606. },
  10607. "zIndex": 3,
  10608. "position": {
  10609. "name": "top"
  10610. }
  10611. },
  10612. "bottom": {
  10613. "attrs": {
  10614. "fo": {
  10615. "width": 8,
  10616. "height": 8,
  10617. "x": -4,
  10618. "y": -4,
  10619. "magnet": "true",
  10620. "style": {
  10621. "visibility": "hidden"
  10622. }
  10623. }
  10624. },
  10625. "zIndex": 3,
  10626. "position": {
  10627. "name": "bottom"
  10628. }
  10629. }
  10630. },
  10631. "items": [
  10632. {
  10633. "group": "in",
  10634. "id": "in"
  10635. },
  10636. {
  10637. "group": "in",
  10638. "id": "in2"
  10639. },
  10640. {
  10641. "group": "in",
  10642. "id": "in3"
  10643. },
  10644. {
  10645. "group": "out",
  10646. "id": "out"
  10647. },
  10648. {
  10649. "group": "out",
  10650. "id": "out2"
  10651. },
  10652. {
  10653. "group": "out",
  10654. "id": "out3"
  10655. },
  10656. {
  10657. "group": "top",
  10658. "id": "top"
  10659. },
  10660. {
  10661. "group": "top",
  10662. "id": "top2"
  10663. },
  10664. {
  10665. "group": "top",
  10666. "id": "top3"
  10667. },
  10668. {
  10669. "group": "bottom",
  10670. "id": "bottom"
  10671. },
  10672. {
  10673. "group": "bottom",
  10674. "id": "bottom2"
  10675. },
  10676. {
  10677. "group": "bottom",
  10678. "id": "bottom3"
  10679. },
  10680. {
  10681. "id": "in4",
  10682. "group": "in"
  10683. },
  10684. {
  10685. "id": "bottom4",
  10686. "group": "bottom"
  10687. },
  10688. {
  10689. "id": "top4",
  10690. "group": "top"
  10691. }
  10692. ]
  10693. }
  10694. },
  10695. {
  10696. "id": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  10697. "shape": "edit-node",
  10698. "position": {
  10699. "x": 1680,
  10700. "y": 1270
  10701. },
  10702. "label": "### 项目标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\n项目名称",
  10703. "fillColor": "rgb(90, 213, 198)",
  10704. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10705. "size": {
  10706. "width": 130,
  10707. "height": 150
  10708. },
  10709. "ports": {
  10710. "groups": {
  10711. "in": {
  10712. "attrs": {
  10713. "fo": {
  10714. "width": 8,
  10715. "height": 8,
  10716. "x": -4,
  10717. "y": -4,
  10718. "magnet": "true",
  10719. "style": {
  10720. "visibility": "hidden"
  10721. }
  10722. }
  10723. },
  10724. "zIndex": 3,
  10725. "position": {
  10726. "name": "left"
  10727. }
  10728. },
  10729. "out": {
  10730. "attrs": {
  10731. "fo": {
  10732. "width": 8,
  10733. "height": 8,
  10734. "x": -4,
  10735. "y": -4,
  10736. "magnet": "true",
  10737. "style": {
  10738. "visibility": "hidden"
  10739. }
  10740. }
  10741. },
  10742. "zIndex": 3,
  10743. "position": {
  10744. "name": "right"
  10745. }
  10746. },
  10747. "top": {
  10748. "attrs": {
  10749. "fo": {
  10750. "width": 8,
  10751. "height": 8,
  10752. "x": -4,
  10753. "y": -4,
  10754. "magnet": "true",
  10755. "style": {
  10756. "visibility": "hidden"
  10757. }
  10758. }
  10759. },
  10760. "zIndex": 3,
  10761. "position": {
  10762. "name": "top"
  10763. }
  10764. },
  10765. "bottom": {
  10766. "attrs": {
  10767. "fo": {
  10768. "width": 8,
  10769. "height": 8,
  10770. "x": -4,
  10771. "y": -4,
  10772. "magnet": "true",
  10773. "style": {
  10774. "visibility": "hidden"
  10775. }
  10776. }
  10777. },
  10778. "zIndex": 3,
  10779. "position": {
  10780. "name": "bottom"
  10781. }
  10782. }
  10783. },
  10784. "items": [
  10785. {
  10786. "group": "in",
  10787. "id": "in"
  10788. },
  10789. {
  10790. "group": "in",
  10791. "id": "in2"
  10792. },
  10793. {
  10794. "group": "in",
  10795. "id": "in3"
  10796. },
  10797. {
  10798. "group": "out",
  10799. "id": "out"
  10800. },
  10801. {
  10802. "group": "out",
  10803. "id": "out2"
  10804. },
  10805. {
  10806. "group": "out",
  10807. "id": "out3"
  10808. },
  10809. {
  10810. "group": "top",
  10811. "id": "top"
  10812. },
  10813. {
  10814. "group": "top",
  10815. "id": "top2"
  10816. },
  10817. {
  10818. "group": "top",
  10819. "id": "top3"
  10820. },
  10821. {
  10822. "group": "bottom",
  10823. "id": "bottom"
  10824. },
  10825. {
  10826. "group": "bottom",
  10827. "id": "bottom2"
  10828. },
  10829. {
  10830. "group": "bottom",
  10831. "id": "bottom3"
  10832. },
  10833. {
  10834. "id": "in4",
  10835. "group": "in"
  10836. },
  10837. {
  10838. "id": "bottom4",
  10839. "group": "bottom"
  10840. }
  10841. ]
  10842. }
  10843. },
  10844. {
  10845. "id": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  10846. "link": "{\"type\":\"internally\",\"value\":\"7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49\"}",
  10847. "shape": "edit-node",
  10848. "position": {
  10849. "x": 1305.000000000015,
  10850. "y": 1030
  10851. },
  10852. "label": "### 数据字典\n---\n采购类型(一般采购、外协采购)\n是否启用(是、否)\n项目阶段(初始、首批、量\n产)\n制造类型\n版本状态",
  10853. "fillColor": "#DDE5FF",
  10854. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  10855. "size": {
  10856. "width": 170,
  10857. "height": 150
  10858. },
  10859. "ports": {
  10860. "groups": {
  10861. "in": {
  10862. "attrs": {
  10863. "fo": {
  10864. "width": 8,
  10865. "height": 8,
  10866. "x": -4,
  10867. "y": -4,
  10868. "magnet": "true",
  10869. "style": {
  10870. "visibility": "hidden"
  10871. }
  10872. }
  10873. },
  10874. "zIndex": 3,
  10875. "position": {
  10876. "name": "left"
  10877. }
  10878. },
  10879. "out": {
  10880. "attrs": {
  10881. "fo": {
  10882. "width": 8,
  10883. "height": 8,
  10884. "x": -4,
  10885. "y": -4,
  10886. "magnet": "true",
  10887. "style": {
  10888. "visibility": "hidden"
  10889. }
  10890. }
  10891. },
  10892. "zIndex": 3,
  10893. "position": {
  10894. "name": "right"
  10895. }
  10896. },
  10897. "top": {
  10898. "attrs": {
  10899. "fo": {
  10900. "width": 8,
  10901. "height": 8,
  10902. "x": -4,
  10903. "y": -4,
  10904. "magnet": "true",
  10905. "style": {
  10906. "visibility": "hidden"
  10907. }
  10908. }
  10909. },
  10910. "zIndex": 3,
  10911. "position": {
  10912. "name": "top"
  10913. }
  10914. },
  10915. "bottom": {
  10916. "attrs": {
  10917. "fo": {
  10918. "width": 8,
  10919. "height": 8,
  10920. "x": -4,
  10921. "y": -4,
  10922. "magnet": "true",
  10923. "style": {
  10924. "visibility": "hidden"
  10925. }
  10926. }
  10927. },
  10928. "zIndex": 3,
  10929. "position": {
  10930. "name": "bottom"
  10931. }
  10932. }
  10933. },
  10934. "items": [
  10935. {
  10936. "group": "in",
  10937. "id": "in"
  10938. },
  10939. {
  10940. "group": "in",
  10941. "id": "in2"
  10942. },
  10943. {
  10944. "group": "in",
  10945. "id": "in3"
  10946. },
  10947. {
  10948. "group": "out",
  10949. "id": "out"
  10950. },
  10951. {
  10952. "group": "out",
  10953. "id": "out2"
  10954. },
  10955. {
  10956. "group": "out",
  10957. "id": "out3"
  10958. },
  10959. {
  10960. "group": "top",
  10961. "id": "top"
  10962. },
  10963. {
  10964. "group": "top",
  10965. "id": "top2"
  10966. },
  10967. {
  10968. "group": "top",
  10969. "id": "top3"
  10970. },
  10971. {
  10972. "group": "bottom",
  10973. "id": "bottom"
  10974. },
  10975. {
  10976. "group": "bottom",
  10977. "id": "bottom2"
  10978. },
  10979. {
  10980. "group": "bottom",
  10981. "id": "bottom3"
  10982. },
  10983. {
  10984. "id": "top4",
  10985. "group": "top"
  10986. }
  10987. ]
  10988. }
  10989. },
  10990. {
  10991. "id": "ff5515d5-21a9-4272-86b2-c984273febc1",
  10992. "shape": "edit-node",
  10993. "position": {
  10994. "x": 1305.000000000015,
  10995. "y": 609.9999999999891
  10996. },
  10997. "label": "### 预算价格\n---\n年度\n物料号(物料id)\n物料描述(物料id)\n项目编号(项目id)\n预算价格",
  10998. "fillColor": "rgb(245, 220, 78)",
  10999. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11000. "size": {
  11001. "width": 160,
  11002. "height": 130
  11003. },
  11004. "ports": {
  11005. "groups": {
  11006. "in": {
  11007. "attrs": {
  11008. "fo": {
  11009. "width": 8,
  11010. "height": 8,
  11011. "x": -4,
  11012. "y": -4,
  11013. "magnet": "true",
  11014. "style": {
  11015. "visibility": "hidden"
  11016. }
  11017. }
  11018. },
  11019. "zIndex": 3,
  11020. "position": {
  11021. "name": "left"
  11022. }
  11023. },
  11024. "out": {
  11025. "attrs": {
  11026. "fo": {
  11027. "width": 8,
  11028. "height": 8,
  11029. "x": -4,
  11030. "y": -4,
  11031. "magnet": "true",
  11032. "style": {
  11033. "visibility": "hidden"
  11034. }
  11035. }
  11036. },
  11037. "zIndex": 3,
  11038. "position": {
  11039. "name": "right"
  11040. }
  11041. },
  11042. "top": {
  11043. "attrs": {
  11044. "fo": {
  11045. "width": 8,
  11046. "height": 8,
  11047. "x": -4,
  11048. "y": -4,
  11049. "magnet": "true",
  11050. "style": {
  11051. "visibility": "hidden"
  11052. }
  11053. }
  11054. },
  11055. "zIndex": 3,
  11056. "position": {
  11057. "name": "top"
  11058. }
  11059. },
  11060. "bottom": {
  11061. "attrs": {
  11062. "fo": {
  11063. "width": 8,
  11064. "height": 8,
  11065. "x": -4,
  11066. "y": -4,
  11067. "magnet": "true",
  11068. "style": {
  11069. "visibility": "hidden"
  11070. }
  11071. }
  11072. },
  11073. "zIndex": 3,
  11074. "position": {
  11075. "name": "bottom"
  11076. }
  11077. }
  11078. },
  11079. "items": [
  11080. {
  11081. "group": "in",
  11082. "id": "in"
  11083. },
  11084. {
  11085. "group": "in",
  11086. "id": "in2"
  11087. },
  11088. {
  11089. "group": "in",
  11090. "id": "in3"
  11091. },
  11092. {
  11093. "group": "out",
  11094. "id": "out"
  11095. },
  11096. {
  11097. "group": "out",
  11098. "id": "out2"
  11099. },
  11100. {
  11101. "group": "out",
  11102. "id": "out3"
  11103. },
  11104. {
  11105. "group": "top",
  11106. "id": "top"
  11107. },
  11108. {
  11109. "group": "top",
  11110. "id": "top2"
  11111. },
  11112. {
  11113. "group": "top",
  11114. "id": "top3"
  11115. },
  11116. {
  11117. "group": "bottom",
  11118. "id": "bottom"
  11119. },
  11120. {
  11121. "group": "bottom",
  11122. "id": "bottom2"
  11123. },
  11124. {
  11125. "group": "bottom",
  11126. "id": "bottom3"
  11127. },
  11128. {
  11129. "id": "in4",
  11130. "group": "in"
  11131. }
  11132. ]
  11133. }
  11134. },
  11135. {
  11136. "id": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  11137. "link": "{\"type\":\"internally\",\"value\":\"15372773-A008-4A5F-B23E-75E100F99B47\"}",
  11138. "shape": "edit-node",
  11139. "position": {
  11140. "x": 1500.0000000000182,
  11141. "y": 1044.999999999989
  11142. },
  11143. "label": "### 成本中心\n---\nid\n成本中心代码",
  11144. "fillColor": "#DDE5FF",
  11145. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11146. "size": {
  11147. "width": 90,
  11148. "height": 70
  11149. },
  11150. "ports": {
  11151. "groups": {
  11152. "in": {
  11153. "attrs": {
  11154. "fo": {
  11155. "width": 8,
  11156. "height": 8,
  11157. "x": -4,
  11158. "y": -4,
  11159. "magnet": "true",
  11160. "style": {
  11161. "visibility": "hidden"
  11162. }
  11163. }
  11164. },
  11165. "zIndex": 3,
  11166. "position": {
  11167. "name": "left"
  11168. }
  11169. },
  11170. "out": {
  11171. "attrs": {
  11172. "fo": {
  11173. "width": 8,
  11174. "height": 8,
  11175. "x": -4,
  11176. "y": -4,
  11177. "magnet": "true",
  11178. "style": {
  11179. "visibility": "hidden"
  11180. }
  11181. }
  11182. },
  11183. "zIndex": 3,
  11184. "position": {
  11185. "name": "right"
  11186. }
  11187. },
  11188. "top": {
  11189. "attrs": {
  11190. "fo": {
  11191. "width": 8,
  11192. "height": 8,
  11193. "x": -4,
  11194. "y": -4,
  11195. "magnet": "true",
  11196. "style": {
  11197. "visibility": "hidden"
  11198. }
  11199. }
  11200. },
  11201. "zIndex": 3,
  11202. "position": {
  11203. "name": "top"
  11204. }
  11205. },
  11206. "bottom": {
  11207. "attrs": {
  11208. "fo": {
  11209. "width": 8,
  11210. "height": 8,
  11211. "x": -4,
  11212. "y": -4,
  11213. "magnet": "true",
  11214. "style": {
  11215. "visibility": "hidden"
  11216. }
  11217. }
  11218. },
  11219. "zIndex": 3,
  11220. "position": {
  11221. "name": "bottom"
  11222. }
  11223. }
  11224. },
  11225. "items": [
  11226. {
  11227. "group": "in",
  11228. "id": "in"
  11229. },
  11230. {
  11231. "group": "in",
  11232. "id": "in2"
  11233. },
  11234. {
  11235. "group": "in",
  11236. "id": "in3"
  11237. },
  11238. {
  11239. "group": "out",
  11240. "id": "out"
  11241. },
  11242. {
  11243. "group": "out",
  11244. "id": "out2"
  11245. },
  11246. {
  11247. "group": "out",
  11248. "id": "out3"
  11249. },
  11250. {
  11251. "group": "top",
  11252. "id": "top"
  11253. },
  11254. {
  11255. "group": "top",
  11256. "id": "top2"
  11257. },
  11258. {
  11259. "group": "top",
  11260. "id": "top3"
  11261. },
  11262. {
  11263. "group": "bottom",
  11264. "id": "bottom"
  11265. },
  11266. {
  11267. "group": "bottom",
  11268. "id": "bottom2"
  11269. },
  11270. {
  11271. "group": "bottom",
  11272. "id": "bottom3"
  11273. }
  11274. ]
  11275. }
  11276. },
  11277. {
  11278. "id": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  11279. "link": "{\"type\":\"internally\",\"value\":\"0C137DAC-F352-41FC-83D4-852123619E5C\"}",
  11280. "shape": "edit-node",
  11281. "position": {
  11282. "x": 1630.0000000000182,
  11283. "y": 1030
  11284. },
  11285. "label": "### 工厂\n---\nid\n工厂代码",
  11286. "fillColor": "#DDE5FF",
  11287. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11288. "size": {
  11289. "width": 80,
  11290. "height": 70
  11291. },
  11292. "ports": {
  11293. "groups": {
  11294. "in": {
  11295. "attrs": {
  11296. "fo": {
  11297. "width": 8,
  11298. "height": 8,
  11299. "x": -4,
  11300. "y": -4,
  11301. "magnet": "true",
  11302. "style": {
  11303. "visibility": "hidden"
  11304. }
  11305. }
  11306. },
  11307. "zIndex": 3,
  11308. "position": {
  11309. "name": "left"
  11310. }
  11311. },
  11312. "out": {
  11313. "attrs": {
  11314. "fo": {
  11315. "width": 8,
  11316. "height": 8,
  11317. "x": -4,
  11318. "y": -4,
  11319. "magnet": "true",
  11320. "style": {
  11321. "visibility": "hidden"
  11322. }
  11323. }
  11324. },
  11325. "zIndex": 3,
  11326. "position": {
  11327. "name": "right"
  11328. }
  11329. },
  11330. "top": {
  11331. "attrs": {
  11332. "fo": {
  11333. "width": 8,
  11334. "height": 8,
  11335. "x": -4,
  11336. "y": -4,
  11337. "magnet": "true",
  11338. "style": {
  11339. "visibility": "hidden"
  11340. }
  11341. }
  11342. },
  11343. "zIndex": 3,
  11344. "position": {
  11345. "name": "top"
  11346. }
  11347. },
  11348. "bottom": {
  11349. "attrs": {
  11350. "fo": {
  11351. "width": 8,
  11352. "height": 8,
  11353. "x": -4,
  11354. "y": -4,
  11355. "magnet": "true",
  11356. "style": {
  11357. "visibility": "hidden"
  11358. }
  11359. }
  11360. },
  11361. "zIndex": 3,
  11362. "position": {
  11363. "name": "bottom"
  11364. }
  11365. }
  11366. },
  11367. "items": [
  11368. {
  11369. "group": "in",
  11370. "id": "in"
  11371. },
  11372. {
  11373. "group": "in",
  11374. "id": "in2"
  11375. },
  11376. {
  11377. "group": "in",
  11378. "id": "in3"
  11379. },
  11380. {
  11381. "group": "out",
  11382. "id": "out"
  11383. },
  11384. {
  11385. "group": "out",
  11386. "id": "out2"
  11387. },
  11388. {
  11389. "group": "out",
  11390. "id": "out3"
  11391. },
  11392. {
  11393. "group": "top",
  11394. "id": "top"
  11395. },
  11396. {
  11397. "group": "top",
  11398. "id": "top2"
  11399. },
  11400. {
  11401. "group": "top",
  11402. "id": "top3"
  11403. },
  11404. {
  11405. "group": "bottom",
  11406. "id": "bottom"
  11407. },
  11408. {
  11409. "group": "bottom",
  11410. "id": "bottom2"
  11411. },
  11412. {
  11413. "group": "bottom",
  11414. "id": "bottom3"
  11415. },
  11416. {
  11417. "id": "top4",
  11418. "group": "top"
  11419. }
  11420. ]
  11421. }
  11422. },
  11423. {
  11424. "id": "50255b65-de6e-4032-b606-58482a662442",
  11425. "link": "{\"type\":\"internally\",\"value\":\"7D1DEA8A-7373-4659-B1A7-B0E72416EDA7\"}",
  11426. "shape": "edit-node",
  11427. "position": {
  11428. "x": 1750.000000000015,
  11429. "y": 1009.9999999999891
  11430. },
  11431. "label": "### 物料\n---\nid\n工厂代号(工厂id)\n物料号\n物料名称\n图号",
  11432. "fillColor": "#DDE5FF",
  11433. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11434. "size": {
  11435. "width": 140,
  11436. "height": 140
  11437. },
  11438. "ports": {
  11439. "groups": {
  11440. "in": {
  11441. "attrs": {
  11442. "fo": {
  11443. "width": 8,
  11444. "height": 8,
  11445. "x": -4,
  11446. "y": -4,
  11447. "magnet": "true",
  11448. "style": {
  11449. "visibility": "hidden"
  11450. }
  11451. }
  11452. },
  11453. "zIndex": 3,
  11454. "position": {
  11455. "name": "left"
  11456. }
  11457. },
  11458. "out": {
  11459. "attrs": {
  11460. "fo": {
  11461. "width": 8,
  11462. "height": 8,
  11463. "x": -4,
  11464. "y": -4,
  11465. "magnet": "true",
  11466. "style": {
  11467. "visibility": "hidden"
  11468. }
  11469. }
  11470. },
  11471. "zIndex": 3,
  11472. "position": {
  11473. "name": "right"
  11474. }
  11475. },
  11476. "top": {
  11477. "attrs": {
  11478. "fo": {
  11479. "width": 8,
  11480. "height": 8,
  11481. "x": -4,
  11482. "y": -4,
  11483. "magnet": "true",
  11484. "style": {
  11485. "visibility": "hidden"
  11486. }
  11487. }
  11488. },
  11489. "zIndex": 3,
  11490. "position": {
  11491. "name": "top"
  11492. }
  11493. },
  11494. "bottom": {
  11495. "attrs": {
  11496. "fo": {
  11497. "width": 8,
  11498. "height": 8,
  11499. "x": -4,
  11500. "y": -4,
  11501. "magnet": "true",
  11502. "style": {
  11503. "visibility": "hidden"
  11504. }
  11505. }
  11506. },
  11507. "zIndex": 3,
  11508. "position": {
  11509. "name": "bottom"
  11510. }
  11511. }
  11512. },
  11513. "items": [
  11514. {
  11515. "group": "in",
  11516. "id": "in"
  11517. },
  11518. {
  11519. "group": "in",
  11520. "id": "in2"
  11521. },
  11522. {
  11523. "group": "in",
  11524. "id": "in3"
  11525. },
  11526. {
  11527. "group": "out",
  11528. "id": "out"
  11529. },
  11530. {
  11531. "group": "out",
  11532. "id": "out2"
  11533. },
  11534. {
  11535. "group": "out",
  11536. "id": "out3"
  11537. },
  11538. {
  11539. "group": "top",
  11540. "id": "top"
  11541. },
  11542. {
  11543. "group": "top",
  11544. "id": "top2"
  11545. },
  11546. {
  11547. "group": "top",
  11548. "id": "top3"
  11549. },
  11550. {
  11551. "group": "bottom",
  11552. "id": "bottom"
  11553. },
  11554. {
  11555. "group": "bottom",
  11556. "id": "bottom2"
  11557. },
  11558. {
  11559. "group": "bottom",
  11560. "id": "bottom3"
  11561. },
  11562. {
  11563. "id": "top4",
  11564. "group": "top"
  11565. }
  11566. ]
  11567. }
  11568. },
  11569. {
  11570. "id": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  11571. "link": "{\"type\":\"internally\",\"value\":\"236F8414-6100-429D-8DEC-A223B0BDA052\"}",
  11572. "shape": "edit-node",
  11573. "position": {
  11574. "x": 1920,
  11575. "y": 1009.9999999999891
  11576. },
  11577. "label": "### 项目\n---\nid\n项目编号\n项目名称\n项目类型\n计划开始时间\n计划结束时间\n项目状态",
  11578. "fillColor": "#DDE5FF",
  11579. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11580. "size": {
  11581. "width": 120,
  11582. "height": 160
  11583. },
  11584. "ports": {
  11585. "groups": {
  11586. "in": {
  11587. "attrs": {
  11588. "fo": {
  11589. "width": 8,
  11590. "height": 8,
  11591. "x": -4,
  11592. "y": -4,
  11593. "magnet": "true",
  11594. "style": {
  11595. "visibility": "hidden"
  11596. }
  11597. }
  11598. },
  11599. "zIndex": 3,
  11600. "position": {
  11601. "name": "left"
  11602. }
  11603. },
  11604. "out": {
  11605. "attrs": {
  11606. "fo": {
  11607. "width": 8,
  11608. "height": 8,
  11609. "x": -4,
  11610. "y": -4,
  11611. "magnet": "true",
  11612. "style": {
  11613. "visibility": "hidden"
  11614. }
  11615. }
  11616. },
  11617. "zIndex": 3,
  11618. "position": {
  11619. "name": "right"
  11620. }
  11621. },
  11622. "top": {
  11623. "attrs": {
  11624. "fo": {
  11625. "width": 8,
  11626. "height": 8,
  11627. "x": -4,
  11628. "y": -4,
  11629. "magnet": "true",
  11630. "style": {
  11631. "visibility": "hidden"
  11632. }
  11633. }
  11634. },
  11635. "zIndex": 3,
  11636. "position": {
  11637. "name": "top"
  11638. }
  11639. },
  11640. "bottom": {
  11641. "attrs": {
  11642. "fo": {
  11643. "width": 8,
  11644. "height": 8,
  11645. "x": -4,
  11646. "y": -4,
  11647. "magnet": "true",
  11648. "style": {
  11649. "visibility": "hidden"
  11650. }
  11651. }
  11652. },
  11653. "zIndex": 3,
  11654. "position": {
  11655. "name": "bottom"
  11656. }
  11657. }
  11658. },
  11659. "items": [
  11660. {
  11661. "group": "in",
  11662. "id": "in"
  11663. },
  11664. {
  11665. "group": "in",
  11666. "id": "in2"
  11667. },
  11668. {
  11669. "group": "in",
  11670. "id": "in3"
  11671. },
  11672. {
  11673. "group": "out",
  11674. "id": "out"
  11675. },
  11676. {
  11677. "group": "out",
  11678. "id": "out2"
  11679. },
  11680. {
  11681. "group": "out",
  11682. "id": "out3"
  11683. },
  11684. {
  11685. "group": "top",
  11686. "id": "top"
  11687. },
  11688. {
  11689. "group": "top",
  11690. "id": "top2"
  11691. },
  11692. {
  11693. "group": "top",
  11694. "id": "top3"
  11695. },
  11696. {
  11697. "group": "bottom",
  11698. "id": "bottom"
  11699. },
  11700. {
  11701. "group": "bottom",
  11702. "id": "bottom2"
  11703. },
  11704. {
  11705. "group": "bottom",
  11706. "id": "bottom3"
  11707. }
  11708. ]
  11709. }
  11710. },
  11711. {
  11712. "id": "f2344237-4b72-4042-a531-097f8f467b64",
  11713. "shape": "erdRelation",
  11714. "source": {
  11715. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  11716. "port": "bottom2"
  11717. },
  11718. "target": {
  11719. "cell": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
  11720. "port": "bottom2"
  11721. },
  11722. "relation": "none:none",
  11723. "fillColor": "rgb(247, 151, 128)",
  11724. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11725. "attrs": {
  11726. "line": {
  11727. "strokeDasharray": ""
  11728. }
  11729. }
  11730. },
  11731. {
  11732. "id": "7b27855a-7467-439b-b846-fb7a369f80ae",
  11733. "shape": "erdRelation",
  11734. "source": {
  11735. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  11736. "port": "out2"
  11737. },
  11738. "target": {
  11739. "cell": "764cbe48-4a33-4752-94a9-67bda1226718",
  11740. "port": "in2"
  11741. },
  11742. "relation": "none:none",
  11743. "fillColor": "rgb(247, 151, 128)",
  11744. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11745. "attrs": {
  11746. "line": {
  11747. "strokeDasharray": ""
  11748. }
  11749. }
  11750. },
  11751. {
  11752. "id": "182b311f-746e-49c8-8bfa-c0fec449eb2a",
  11753. "shape": "erdRelation",
  11754. "source": {
  11755. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  11756. "port": "out3"
  11757. },
  11758. "target": {
  11759. "cell": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
  11760. "port": "in3"
  11761. },
  11762. "relation": "none:concave",
  11763. "fillColor": "rgb(90, 213, 198)",
  11764. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11765. "attrs": {
  11766. "line": {
  11767. "strokeDasharray": ""
  11768. }
  11769. }
  11770. },
  11771. {
  11772. "id": "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
  11773. "shape": "erdRelation",
  11774. "source": {
  11775. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  11776. "port": "out2"
  11777. },
  11778. "target": {
  11779. "cell": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
  11780. "port": "in3"
  11781. },
  11782. "relation": "none:n",
  11783. "fillColor": "rgb(90, 213, 198)",
  11784. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11785. "attrs": {
  11786. "line": {
  11787. "strokeDasharray": ""
  11788. }
  11789. }
  11790. },
  11791. {
  11792. "id": "9015a485-4289-4b5e-925c-5d5dc7851d2e",
  11793. "shape": "erdRelation",
  11794. "source": {
  11795. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  11796. "port": "top2"
  11797. },
  11798. "target": {
  11799. "cell": "50255b65-de6e-4032-b606-58482a662442",
  11800. "port": "bottom2"
  11801. },
  11802. "relation": "none:n",
  11803. "fillColor": "rgb(90, 213, 198)",
  11804. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11805. "attrs": {
  11806. "line": {
  11807. "strokeDasharray": ""
  11808. }
  11809. }
  11810. },
  11811. {
  11812. "id": "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
  11813. "shape": "erdRelation",
  11814. "source": {
  11815. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  11816. "port": "top3"
  11817. },
  11818. "target": {
  11819. "cell": "50255b65-de6e-4032-b606-58482a662442",
  11820. "port": "bottom"
  11821. },
  11822. "relation": "none:n",
  11823. "fillColor": "rgb(247, 151, 128)",
  11824. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11825. "attrs": {
  11826. "line": {
  11827. "strokeDasharray": ""
  11828. }
  11829. }
  11830. },
  11831. {
  11832. "id": "5278e0a2-f809-4023-b439-b35ae083a325",
  11833. "shape": "erdRelation",
  11834. "source": {
  11835. "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
  11836. "port": "top4"
  11837. },
  11838. "target": {
  11839. "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  11840. "port": "top3"
  11841. },
  11842. "relation": "none:n",
  11843. "fillColor": "rgb(247, 151, 128)",
  11844. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11845. "attrs": {
  11846. "line": {
  11847. "strokeDasharray": ""
  11848. }
  11849. }
  11850. },
  11851. {
  11852. "id": "54f3478c-85b5-4b98-8c68-332a9a037140",
  11853. "shape": "erdRelation",
  11854. "source": {
  11855. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  11856. "port": "top"
  11857. },
  11858. "target": {
  11859. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  11860. "port": "bottom2"
  11861. },
  11862. "relation": "none:n",
  11863. "fillColor": "rgb(90, 213, 198)",
  11864. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11865. "attrs": {
  11866. "line": {
  11867. "strokeDasharray": ""
  11868. }
  11869. }
  11870. },
  11871. {
  11872. "id": "9a99fd26-86c6-42b3-9fe1-5380d3314003",
  11873. "shape": "erdRelation",
  11874. "source": {
  11875. "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
  11876. "port": "top3"
  11877. },
  11878. "target": {
  11879. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  11880. "port": "bottom"
  11881. },
  11882. "relation": "none:n",
  11883. "fillColor": "rgb(90, 213, 198)",
  11884. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11885. "attrs": {
  11886. "line": {
  11887. "strokeDasharray": ""
  11888. }
  11889. }
  11890. },
  11891. {
  11892. "id": "14913b43-5f56-45c0-8a8b-128685ae8831",
  11893. "shape": "erdRelation",
  11894. "source": {
  11895. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  11896. "port": "top2"
  11897. },
  11898. "target": {
  11899. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  11900. "port": "bottom"
  11901. },
  11902. "relation": "none:n",
  11903. "fillColor": "rgb(90, 213, 198)",
  11904. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11905. "attrs": {
  11906. "line": {
  11907. "strokeDasharray": ""
  11908. }
  11909. }
  11910. },
  11911. {
  11912. "id": "b27fbbab-850d-4577-bd84-dfec38412d43",
  11913. "shape": "erdRelation",
  11914. "source": {
  11915. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  11916. "port": "top3"
  11917. },
  11918. "target": {
  11919. "cell": "50255b65-de6e-4032-b606-58482a662442",
  11920. "port": "in3"
  11921. },
  11922. "relation": "none:n",
  11923. "fillColor": "rgb(90, 213, 198)",
  11924. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11925. "attrs": {
  11926. "line": {
  11927. "strokeDasharray": ""
  11928. }
  11929. }
  11930. },
  11931. {
  11932. "id": "4e142b26-fa22-4806-aee3-7b598f1eaede",
  11933. "shape": "erdRelation",
  11934. "source": {
  11935. "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
  11936. "port": "top3"
  11937. },
  11938. "target": {
  11939. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  11940. "port": "bottom2"
  11941. },
  11942. "relation": "none:n",
  11943. "fillColor": "rgb(90, 213, 198)",
  11944. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11945. "attrs": {
  11946. "line": {
  11947. "strokeDasharray": ""
  11948. }
  11949. }
  11950. },
  11951. {
  11952. "id": "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
  11953. "shape": "erdRelation",
  11954. "source": {
  11955. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  11956. "port": "top2"
  11957. },
  11958. "target": {
  11959. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  11960. "port": "in3"
  11961. },
  11962. "relation": "none:n",
  11963. "fillColor": "rgb(90, 213, 198)",
  11964. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11965. "attrs": {
  11966. "line": {
  11967. "strokeDasharray": ""
  11968. }
  11969. }
  11970. },
  11971. {
  11972. "id": "80e84e01-fbda-4caf-a016-eae9c69aea5f",
  11973. "shape": "erdRelation",
  11974. "source": {
  11975. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  11976. "port": "top3"
  11977. },
  11978. "target": {
  11979. "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
  11980. "port": "in3"
  11981. },
  11982. "relation": "none:n",
  11983. "fillColor": "rgb(90, 213, 198)",
  11984. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  11985. "attrs": {
  11986. "line": {
  11987. "strokeDasharray": ""
  11988. }
  11989. }
  11990. },
  11991. {
  11992. "id": "bd3bbe46-89e6-43dc-a1a0-59968252238d",
  11993. "shape": "erdRelation",
  11994. "source": {
  11995. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  11996. "port": "top"
  11997. },
  11998. "target": {
  11999. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  12000. "port": "bottom"
  12001. },
  12002. "relation": "none:n",
  12003. "fillColor": "rgb(90, 213, 198)",
  12004. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12005. "attrs": {
  12006. "line": {
  12007. "strokeDasharray": ""
  12008. }
  12009. }
  12010. },
  12011. {
  12012. "id": "b82b944c-8659-4720-b69e-e6e066b53882",
  12013. "shape": "erdRelation",
  12014. "source": {
  12015. "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  12016. "port": "top2"
  12017. },
  12018. "target": {
  12019. "cell": "50255b65-de6e-4032-b606-58482a662442",
  12020. "port": "in3"
  12021. },
  12022. "relation": "none:n",
  12023. "fillColor": "rgb(90, 213, 198)",
  12024. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12025. "attrs": {
  12026. "line": {
  12027. "strokeDasharray": ""
  12028. }
  12029. }
  12030. },
  12031. {
  12032. "id": "ad80ead0-2c42-49a0-9571-931e4536609a",
  12033. "shape": "erdRelation",
  12034. "source": {
  12035. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  12036. "port": "bottom"
  12037. },
  12038. "target": {
  12039. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  12040. "port": "top2"
  12041. },
  12042. "relation": "none:n",
  12043. "fillColor": "rgb(245, 220, 78)",
  12044. "attrs": {
  12045. "line": {
  12046. "strokeDasharray": ""
  12047. }
  12048. }
  12049. },
  12050. {
  12051. "id": "a1e1cd85-61f6-4ff4-a6c1-b7057722d9c5",
  12052. "shape": "erdRelation",
  12053. "source": {
  12054. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  12055. "port": "bottom2"
  12056. },
  12057. "target": {
  12058. "cell": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
  12059. "port": "top"
  12060. },
  12061. "relation": "none:n",
  12062. "fillColor": "rgb(245, 220, 78)",
  12063. "attrs": {
  12064. "line": {
  12065. "strokeDasharray": ""
  12066. }
  12067. }
  12068. },
  12069. {
  12070. "id": "c45fd09f-f5e0-4a1b-905a-b6623ed429ec",
  12071. "shape": "erdRelation",
  12072. "source": {
  12073. "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
  12074. "port": "bottom2"
  12075. },
  12076. "target": {
  12077. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  12078. "port": "top2"
  12079. },
  12080. "relation": "none:n",
  12081. "fillColor": "rgb(245, 220, 78)",
  12082. "attrs": {
  12083. "line": {
  12084. "strokeDasharray": ""
  12085. }
  12086. }
  12087. },
  12088. {
  12089. "id": "80ff1b9b-450a-4838-ba92-1780c4c3edde",
  12090. "shape": "erdRelation",
  12091. "source": {
  12092. "cell": "71e702a2-681a-453f-a15e-30ff10e3b439",
  12093. "port": "bottom"
  12094. },
  12095. "target": {
  12096. "cell": "50255b65-de6e-4032-b606-58482a662442",
  12097. "port": "top"
  12098. },
  12099. "relation": "none:n",
  12100. "vertices": [
  12101. {
  12102. "x": 480,
  12103. "y": 790
  12104. }
  12105. ],
  12106. "fillColor": "rgb(245, 220, 78)",
  12107. "attrs": {
  12108. "line": {
  12109. "strokeDasharray": ""
  12110. }
  12111. }
  12112. },
  12113. {
  12114. "id": "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
  12115. "shape": "erdRelation",
  12116. "source": {
  12117. "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
  12118. "port": "bottom"
  12119. },
  12120. "target": {
  12121. "cell": "50255b65-de6e-4032-b606-58482a662442",
  12122. "port": "top2"
  12123. },
  12124. "relation": "none:n",
  12125. "vertices": [
  12126. {
  12127. "x": 890,
  12128. "y": 760
  12129. }
  12130. ],
  12131. "fillColor": "rgb(245, 220, 78)",
  12132. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12133. "attrs": {
  12134. "line": {
  12135. "strokeDasharray": ""
  12136. }
  12137. }
  12138. },
  12139. {
  12140. "id": "11267869-dc5a-411d-b763-fc0ad08db8a6",
  12141. "shape": "erdRelation",
  12142. "source": {
  12143. "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
  12144. "port": "bottom3"
  12145. },
  12146. "target": {
  12147. "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
  12148. "port": "top2"
  12149. },
  12150. "relation": "none:n",
  12151. "vertices": [
  12152. {
  12153. "x": 940,
  12154. "y": 770
  12155. },
  12156. {
  12157. "x": 1300,
  12158. "y": 840
  12159. }
  12160. ],
  12161. "fillColor": "rgb(245, 220, 78)",
  12162. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12163. "attrs": {
  12164. "line": {
  12165. "strokeDasharray": ""
  12166. }
  12167. }
  12168. },
  12169. {
  12170. "id": "f5f60922-9d66-4f92-9a70-11c6cce0e702",
  12171. "shape": "erdRelation",
  12172. "source": {
  12173. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  12174. "port": "in2"
  12175. },
  12176. "target": {
  12177. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  12178. "port": "top3"
  12179. },
  12180. "relation": "none:n",
  12181. "fillColor": "rgb(245, 220, 78)",
  12182. "attrs": {
  12183. "line": {
  12184. "strokeDasharray": ""
  12185. }
  12186. }
  12187. },
  12188. {
  12189. "id": "339ae80b-97a9-47d5-a701-742796f5143e",
  12190. "shape": "erdRelation",
  12191. "source": {
  12192. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  12193. "port": "bottom"
  12194. },
  12195. "target": {
  12196. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  12197. "port": "top"
  12198. },
  12199. "relation": "none:concave",
  12200. "vertices": [
  12201. {
  12202. "x": 500,
  12203. "y": 730
  12204. }
  12205. ],
  12206. "fillColor": "rgb(245, 220, 78)",
  12207. "attrs": {
  12208. "line": {
  12209. "strokeDasharray": ""
  12210. }
  12211. }
  12212. },
  12213. {
  12214. "id": "3623f1fd-62e0-4004-a07c-61e6c35c15fc",
  12215. "shape": "erdRelation",
  12216. "source": {
  12217. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  12218. "port": "bottom2"
  12219. },
  12220. "target": {
  12221. "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  12222. "port": "top2"
  12223. },
  12224. "relation": "none:n",
  12225. "fillColor": "rgb(245, 220, 78)",
  12226. "attrs": {
  12227. "line": {
  12228. "strokeDasharray": ""
  12229. }
  12230. }
  12231. },
  12232. {
  12233. "id": "36e0a409-a617-465a-bd82-435826d7af9b",
  12234. "shape": "erdRelation",
  12235. "source": {
  12236. "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
  12237. "port": "bottom3"
  12238. },
  12239. "target": {
  12240. "cell": "50255b65-de6e-4032-b606-58482a662442",
  12241. "port": "top3"
  12242. },
  12243. "relation": "none:n",
  12244. "vertices": [
  12245. {
  12246. "x": 570,
  12247. "y": 770
  12248. }
  12249. ],
  12250. "fillColor": "rgb(245, 220, 78)",
  12251. "attrs": {
  12252. "line": {
  12253. "strokeDasharray": ""
  12254. }
  12255. }
  12256. },
  12257. {
  12258. "id": "35690dd6-bb9b-44bd-95cb-60ba826eb886",
  12259. "shape": "erdRelation",
  12260. "source": {
  12261. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  12262. "port": "bottom3"
  12263. },
  12264. "target": {
  12265. "cell": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
  12266. "port": "top2"
  12267. },
  12268. "relation": "none:n",
  12269. "fillColor": "rgb(245, 220, 78)",
  12270. "attrs": {
  12271. "line": {
  12272. "strokeDasharray": ""
  12273. }
  12274. }
  12275. },
  12276. {
  12277. "id": "7450b679-24ae-438a-94d9-3619edf7d17b",
  12278. "shape": "erdRelation",
  12279. "source": {
  12280. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  12281. "port": "bottom2"
  12282. },
  12283. "target": {
  12284. "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
  12285. "port": "top3"
  12286. },
  12287. "relation": "none:n",
  12288. "vertices": [
  12289. {
  12290. "x": 590,
  12291. "y": 770
  12292. }
  12293. ],
  12294. "fillColor": "rgb(245, 220, 78)",
  12295. "attrs": {
  12296. "line": {
  12297. "strokeDasharray": ""
  12298. }
  12299. }
  12300. },
  12301. {
  12302. "id": "26caad8d-227c-4985-a343-e647e69c682e",
  12303. "shape": "erdRelation",
  12304. "source": {
  12305. "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
  12306. "port": "bottom"
  12307. },
  12308. "target": {
  12309. "cell": "50255b65-de6e-4032-b606-58482a662442",
  12310. "port": "top2"
  12311. },
  12312. "relation": "none:n",
  12313. "vertices": [
  12314. {
  12315. "x": 660,
  12316. "y": 770
  12317. }
  12318. ],
  12319. "fillColor": "rgb(245, 220, 78)",
  12320. "attrs": {
  12321. "line": {
  12322. "strokeDasharray": ""
  12323. }
  12324. }
  12325. },
  12326. {
  12327. "id": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
  12328. "shape": "edit-node",
  12329. "position": {
  12330. "x": 1540.000000000015,
  12331. "y": 1550
  12332. },
  12333. "label": "### 成本计算和数据导出(计算计划)\n---\n项目名称\n阶段\n日期\n版本号\n工厂\n物料号\n状态\n关键部件缺失信息(该字段的用意?)",
  12334. "fillColor": "rgb(90, 213, 198)",
  12335. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12336. "size": {
  12337. "width": 210,
  12338. "height": 250
  12339. },
  12340. "ports": {
  12341. "groups": {
  12342. "in": {
  12343. "attrs": {
  12344. "fo": {
  12345. "width": 8,
  12346. "height": 8,
  12347. "x": -4,
  12348. "y": -4,
  12349. "magnet": "true",
  12350. "style": {
  12351. "visibility": "hidden"
  12352. }
  12353. }
  12354. },
  12355. "zIndex": 3,
  12356. "position": {
  12357. "name": "left"
  12358. }
  12359. },
  12360. "out": {
  12361. "attrs": {
  12362. "fo": {
  12363. "width": 8,
  12364. "height": 8,
  12365. "x": -4,
  12366. "y": -4,
  12367. "magnet": "true",
  12368. "style": {
  12369. "visibility": "hidden"
  12370. }
  12371. }
  12372. },
  12373. "zIndex": 3,
  12374. "position": {
  12375. "name": "right"
  12376. }
  12377. },
  12378. "top": {
  12379. "attrs": {
  12380. "fo": {
  12381. "width": 8,
  12382. "height": 8,
  12383. "x": -4,
  12384. "y": -4,
  12385. "magnet": "true",
  12386. "style": {
  12387. "visibility": "hidden"
  12388. }
  12389. }
  12390. },
  12391. "zIndex": 3,
  12392. "position": {
  12393. "name": "top"
  12394. }
  12395. },
  12396. "bottom": {
  12397. "attrs": {
  12398. "fo": {
  12399. "width": 8,
  12400. "height": 8,
  12401. "x": -4,
  12402. "y": -4,
  12403. "magnet": "true",
  12404. "style": {
  12405. "visibility": "hidden"
  12406. }
  12407. }
  12408. },
  12409. "zIndex": 3,
  12410. "position": {
  12411. "name": "bottom"
  12412. }
  12413. }
  12414. },
  12415. "items": [
  12416. {
  12417. "group": "in",
  12418. "id": "in"
  12419. },
  12420. {
  12421. "group": "in",
  12422. "id": "in2"
  12423. },
  12424. {
  12425. "group": "in",
  12426. "id": "in3"
  12427. },
  12428. {
  12429. "group": "out",
  12430. "id": "out"
  12431. },
  12432. {
  12433. "group": "out",
  12434. "id": "out2"
  12435. },
  12436. {
  12437. "group": "out",
  12438. "id": "out3"
  12439. },
  12440. {
  12441. "group": "top",
  12442. "id": "top"
  12443. },
  12444. {
  12445. "group": "top",
  12446. "id": "top2"
  12447. },
  12448. {
  12449. "group": "top",
  12450. "id": "top3"
  12451. },
  12452. {
  12453. "group": "bottom",
  12454. "id": "bottom"
  12455. },
  12456. {
  12457. "group": "bottom",
  12458. "id": "bottom2"
  12459. },
  12460. {
  12461. "group": "bottom",
  12462. "id": "bottom3"
  12463. },
  12464. {
  12465. "id": "in4",
  12466. "group": "in"
  12467. },
  12468. {
  12469. "id": "bottom4",
  12470. "group": "bottom"
  12471. },
  12472. {
  12473. "id": "top4",
  12474. "group": "top"
  12475. }
  12476. ]
  12477. }
  12478. },
  12479. {
  12480. "id": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
  12481. "shape": "edit-node",
  12482. "position": {
  12483. "x": 1200.0000000000148,
  12484. "y": 1009.9999999999891
  12485. },
  12486. "label": "### 用户\n---\nid\n用户名\n昵称\n是否启用\n所属角色\n密码\n创建时间\n\n",
  12487. "fillColor": "#DDE5FF",
  12488. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12489. "size": {
  12490. "width": 90,
  12491. "height": 160
  12492. },
  12493. "ports": {
  12494. "groups": {
  12495. "in": {
  12496. "attrs": {
  12497. "fo": {
  12498. "width": 8,
  12499. "height": 8,
  12500. "x": -4,
  12501. "y": -4,
  12502. "magnet": "true",
  12503. "style": {
  12504. "visibility": "hidden"
  12505. }
  12506. }
  12507. },
  12508. "zIndex": 3,
  12509. "position": {
  12510. "name": "left"
  12511. }
  12512. },
  12513. "out": {
  12514. "attrs": {
  12515. "fo": {
  12516. "width": 8,
  12517. "height": 8,
  12518. "x": -4,
  12519. "y": -4,
  12520. "magnet": "true",
  12521. "style": {
  12522. "visibility": "hidden"
  12523. }
  12524. }
  12525. },
  12526. "zIndex": 3,
  12527. "position": {
  12528. "name": "right"
  12529. }
  12530. },
  12531. "top": {
  12532. "attrs": {
  12533. "fo": {
  12534. "width": 8,
  12535. "height": 8,
  12536. "x": -4,
  12537. "y": -4,
  12538. "magnet": "true",
  12539. "style": {
  12540. "visibility": "hidden"
  12541. }
  12542. }
  12543. },
  12544. "zIndex": 3,
  12545. "position": {
  12546. "name": "top"
  12547. }
  12548. },
  12549. "bottom": {
  12550. "attrs": {
  12551. "fo": {
  12552. "width": 8,
  12553. "height": 8,
  12554. "x": -4,
  12555. "y": -4,
  12556. "magnet": "true",
  12557. "style": {
  12558. "visibility": "hidden"
  12559. }
  12560. }
  12561. },
  12562. "zIndex": 3,
  12563. "position": {
  12564. "name": "bottom"
  12565. }
  12566. }
  12567. },
  12568. "items": [
  12569. {
  12570. "group": "in",
  12571. "id": "in"
  12572. },
  12573. {
  12574. "group": "in",
  12575. "id": "in2"
  12576. },
  12577. {
  12578. "group": "in",
  12579. "id": "in3"
  12580. },
  12581. {
  12582. "group": "out",
  12583. "id": "out"
  12584. },
  12585. {
  12586. "group": "out",
  12587. "id": "out2"
  12588. },
  12589. {
  12590. "group": "out",
  12591. "id": "out3"
  12592. },
  12593. {
  12594. "group": "top",
  12595. "id": "top"
  12596. },
  12597. {
  12598. "group": "top",
  12599. "id": "top2"
  12600. },
  12601. {
  12602. "group": "top",
  12603. "id": "top3"
  12604. },
  12605. {
  12606. "group": "bottom",
  12607. "id": "bottom"
  12608. },
  12609. {
  12610. "group": "bottom",
  12611. "id": "bottom2"
  12612. },
  12613. {
  12614. "group": "bottom",
  12615. "id": "bottom3"
  12616. },
  12617. {
  12618. "id": "top4",
  12619. "group": "top"
  12620. }
  12621. ]
  12622. }
  12623. },
  12624. {
  12625. "id": "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
  12626. "link": "{\"type\":\"internally\",\"value\":\"7891EB10-2F25-42A4-AC94-980756D9F709\"}",
  12627. "shape": "edit-node",
  12628. "position": {
  12629. "x": 845.000000000015,
  12630. "y": 1799.9999999999893
  12631. },
  12632. "label": "### 产品工序\n---\n工厂代码\n自制料号(?)\n工艺路线号\n序号\n工序名称\n成本中心代码\n成本中心名称\n人工工时\n人工费率\n设备工时\n设备费率\n燃动工时\n燃动费率\n辅料工时\n辅料费率\n其他工时\n其他费率\n版本(?)",
  12633. "fillColor": "rgb(117, 190, 250)",
  12634. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12635. "size": {
  12636. "width": 200,
  12637. "height": 360
  12638. },
  12639. "ports": {
  12640. "groups": {
  12641. "in": {
  12642. "attrs": {
  12643. "fo": {
  12644. "width": 8,
  12645. "height": 8,
  12646. "x": -4,
  12647. "y": -4,
  12648. "magnet": "true",
  12649. "style": {
  12650. "visibility": "hidden"
  12651. }
  12652. }
  12653. },
  12654. "zIndex": 3,
  12655. "position": {
  12656. "name": "left"
  12657. }
  12658. },
  12659. "out": {
  12660. "attrs": {
  12661. "fo": {
  12662. "width": 8,
  12663. "height": 8,
  12664. "x": -4,
  12665. "y": -4,
  12666. "magnet": "true",
  12667. "style": {
  12668. "visibility": "hidden"
  12669. }
  12670. }
  12671. },
  12672. "zIndex": 3,
  12673. "position": {
  12674. "name": "right"
  12675. }
  12676. },
  12677. "top": {
  12678. "attrs": {
  12679. "fo": {
  12680. "width": 8,
  12681. "height": 8,
  12682. "x": -4,
  12683. "y": -4,
  12684. "magnet": "true",
  12685. "style": {
  12686. "visibility": "hidden"
  12687. }
  12688. }
  12689. },
  12690. "zIndex": 3,
  12691. "position": {
  12692. "name": "top"
  12693. }
  12694. },
  12695. "bottom": {
  12696. "attrs": {
  12697. "fo": {
  12698. "width": 8,
  12699. "height": 8,
  12700. "x": -4,
  12701. "y": -4,
  12702. "magnet": "true",
  12703. "style": {
  12704. "visibility": "hidden"
  12705. }
  12706. }
  12707. },
  12708. "zIndex": 3,
  12709. "position": {
  12710. "name": "bottom"
  12711. }
  12712. }
  12713. },
  12714. "items": [
  12715. {
  12716. "group": "in",
  12717. "id": "in"
  12718. },
  12719. {
  12720. "group": "in",
  12721. "id": "in2"
  12722. },
  12723. {
  12724. "group": "in",
  12725. "id": "in3"
  12726. },
  12727. {
  12728. "group": "out",
  12729. "id": "out"
  12730. },
  12731. {
  12732. "group": "out",
  12733. "id": "out2"
  12734. },
  12735. {
  12736. "group": "out",
  12737. "id": "out3"
  12738. },
  12739. {
  12740. "group": "top",
  12741. "id": "top"
  12742. },
  12743. {
  12744. "group": "top",
  12745. "id": "top2"
  12746. },
  12747. {
  12748. "group": "top",
  12749. "id": "top3"
  12750. },
  12751. {
  12752. "group": "bottom",
  12753. "id": "bottom"
  12754. },
  12755. {
  12756. "group": "bottom",
  12757. "id": "bottom2"
  12758. },
  12759. {
  12760. "group": "bottom",
  12761. "id": "bottom3"
  12762. },
  12763. {
  12764. "id": "in4",
  12765. "group": "in"
  12766. },
  12767. {
  12768. "id": "bottom4",
  12769. "group": "bottom"
  12770. }
  12771. ]
  12772. }
  12773. },
  12774. {
  12775. "id": "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
  12776. "shape": "edit-node",
  12777. "position": {
  12778. "x": 1370.000000000015,
  12779. "y": 1789.9999999999927
  12780. },
  12781. "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累计其他成本",
  12782. "fillColor": "rgb(90, 213, 198)",
  12783. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12784. "size": {
  12785. "width": 210,
  12786. "height": 690
  12787. },
  12788. "ports": {
  12789. "groups": {
  12790. "in": {
  12791. "attrs": {
  12792. "fo": {
  12793. "width": 8,
  12794. "height": 8,
  12795. "x": -4,
  12796. "y": -4,
  12797. "magnet": "true",
  12798. "style": {
  12799. "visibility": "hidden"
  12800. }
  12801. }
  12802. },
  12803. "zIndex": 3,
  12804. "position": {
  12805. "name": "left"
  12806. }
  12807. },
  12808. "out": {
  12809. "attrs": {
  12810. "fo": {
  12811. "width": 8,
  12812. "height": 8,
  12813. "x": -4,
  12814. "y": -4,
  12815. "magnet": "true",
  12816. "style": {
  12817. "visibility": "hidden"
  12818. }
  12819. }
  12820. },
  12821. "zIndex": 3,
  12822. "position": {
  12823. "name": "right"
  12824. }
  12825. },
  12826. "top": {
  12827. "attrs": {
  12828. "fo": {
  12829. "width": 8,
  12830. "height": 8,
  12831. "x": -4,
  12832. "y": -4,
  12833. "magnet": "true",
  12834. "style": {
  12835. "visibility": "hidden"
  12836. }
  12837. }
  12838. },
  12839. "zIndex": 3,
  12840. "position": {
  12841. "name": "top"
  12842. }
  12843. },
  12844. "bottom": {
  12845. "attrs": {
  12846. "fo": {
  12847. "width": 8,
  12848. "height": 8,
  12849. "x": -4,
  12850. "y": -4,
  12851. "magnet": "true",
  12852. "style": {
  12853. "visibility": "hidden"
  12854. }
  12855. }
  12856. },
  12857. "zIndex": 3,
  12858. "position": {
  12859. "name": "bottom"
  12860. }
  12861. }
  12862. },
  12863. "items": [
  12864. {
  12865. "group": "in",
  12866. "id": "in"
  12867. },
  12868. {
  12869. "group": "in",
  12870. "id": "in2"
  12871. },
  12872. {
  12873. "group": "in",
  12874. "id": "in3"
  12875. },
  12876. {
  12877. "group": "out",
  12878. "id": "out"
  12879. },
  12880. {
  12881. "group": "out",
  12882. "id": "out2"
  12883. },
  12884. {
  12885. "group": "out",
  12886. "id": "out3"
  12887. },
  12888. {
  12889. "group": "top",
  12890. "id": "top"
  12891. },
  12892. {
  12893. "group": "top",
  12894. "id": "top2"
  12895. },
  12896. {
  12897. "group": "top",
  12898. "id": "top3"
  12899. },
  12900. {
  12901. "group": "bottom",
  12902. "id": "bottom"
  12903. },
  12904. {
  12905. "group": "bottom",
  12906. "id": "bottom2"
  12907. },
  12908. {
  12909. "group": "bottom",
  12910. "id": "bottom3"
  12911. },
  12912. {
  12913. "id": "in4",
  12914. "group": "in"
  12915. },
  12916. {
  12917. "id": "bottom4",
  12918. "group": "bottom"
  12919. }
  12920. ]
  12921. }
  12922. },
  12923. {
  12924. "id": "06ca758c-3187-47bd-8136-ca10dd94640b",
  12925. "shape": "edit-node",
  12926. "position": {
  12927. "x": 1265.000000000015,
  12928. "y": 1280
  12929. },
  12930. "label": "### 成本挖掘统计\n---\n工厂\n年度\n月度\n库存地点\n材料成本-实际\n人工成本-实际\n制造费用-实际\n总成本-电子实际\n材料成本-标准\n人工成本-标准\n制造费用-标准\n标准成本-电子实际\n材料成本-差异\n人工成本-差异\n制造费用-差异\n总成本差异-电子实际\n---\n原因分析",
  12931. "fillColor": "rgb(247, 151, 128)",
  12932. "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
  12933. "size": {
  12934. "width": 140,
  12935. "height": 350
  12936. },
  12937. "ports": {
  12938. "groups": {
  12939. "in": {
  12940. "attrs": {
  12941. "fo": {
  12942. "width": 8,
  12943. "height": 8,
  12944. "x": -4,
  12945. "y": -4,
  12946. "magnet": "true",
  12947. "style": {
  12948. "visibility": "hidden"
  12949. }
  12950. }
  12951. },
  12952. "zIndex": 3,
  12953. "position": {
  12954. "name": "left"
  12955. }
  12956. },
  12957. "out": {
  12958. "attrs": {
  12959. "fo": {
  12960. "width": 8,
  12961. "height": 8,
  12962. "x": -4,
  12963. "y": -4,
  12964. "magnet": "true",
  12965. "style": {
  12966. "visibility": "hidden"
  12967. }
  12968. }
  12969. },
  12970. "zIndex": 3,
  12971. "position": {
  12972. "name": "right"
  12973. }
  12974. },
  12975. "top": {
  12976. "attrs": {
  12977. "fo": {
  12978. "width": 8,
  12979. "height": 8,
  12980. "x": -4,
  12981. "y": -4,
  12982. "magnet": "true",
  12983. "style": {
  12984. "visibility": "hidden"
  12985. }
  12986. }
  12987. },
  12988. "zIndex": 3,
  12989. "position": {
  12990. "name": "top"
  12991. }
  12992. },
  12993. "bottom": {
  12994. "attrs": {
  12995. "fo": {
  12996. "width": 8,
  12997. "height": 8,
  12998. "x": -4,
  12999. "y": -4,
  13000. "magnet": "true",
  13001. "style": {
  13002. "visibility": "hidden"
  13003. }
  13004. }
  13005. },
  13006. "zIndex": 3,
  13007. "position": {
  13008. "name": "bottom"
  13009. }
  13010. }
  13011. },
  13012. "items": [
  13013. {
  13014. "group": "in",
  13015. "id": "in"
  13016. },
  13017. {
  13018. "group": "in",
  13019. "id": "in2"
  13020. },
  13021. {
  13022. "group": "in",
  13023. "id": "in3"
  13024. },
  13025. {
  13026. "group": "out",
  13027. "id": "out"
  13028. },
  13029. {
  13030. "group": "out",
  13031. "id": "out2"
  13032. },
  13033. {
  13034. "group": "out",
  13035. "id": "out3"
  13036. },
  13037. {
  13038. "group": "top",
  13039. "id": "top"
  13040. },
  13041. {
  13042. "group": "top",
  13043. "id": "top2"
  13044. },
  13045. {
  13046. "group": "top",
  13047. "id": "top3"
  13048. },
  13049. {
  13050. "group": "bottom",
  13051. "id": "bottom"
  13052. },
  13053. {
  13054. "group": "bottom",
  13055. "id": "bottom2"
  13056. },
  13057. {
  13058. "group": "bottom",
  13059. "id": "bottom3"
  13060. },
  13061. {
  13062. "id": "top4",
  13063. "group": "top"
  13064. }
  13065. ]
  13066. }
  13067. }
  13068. ]
  13069. },
  13070. "id": "49BB7996-5205-4A52-96A3-FE87B1D8C4AC",
  13071. "comment": ""
  13072. },
  13073. {
  13074. "defKey": "2",
  13075. "defName": "逻辑关系",
  13076. "relationType": "field",
  13077. "canvasData": {
  13078. "cells": []
  13079. },
  13080. "id": "0D56908B-B619-4D80-A491-DE9808D9FFEB",
  13081. "comment": ""
  13082. },
  13083. {
  13084. "defKey": "3",
  13085. "defName": "物理模型",
  13086. "canvasData": {
  13087. "cells": [
  13088. {
  13089. "id": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13090. "shape": "group",
  13091. "position": {
  13092. "x": 903.9999999999982,
  13093. "y": -40.00000000000006
  13094. },
  13095. "label": "学生行为",
  13096. "size": {
  13097. "width": 960,
  13098. "height": 760
  13099. },
  13100. "children": [
  13101. "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13102. "26b28925-27ed-488d-b20d-2abbcafa5057",
  13103. "8fad7c2e-d083-4589-b938-071541a6cea1",
  13104. "60b8fc40-2b82-4b9a-8da2-5234582e31f6"
  13105. ]
  13106. },
  13107. {
  13108. "id": "8fad7c2e-d083-4589-b938-071541a6cea1",
  13109. "shape": "edit-node",
  13110. "position": {
  13111. "x": 1142,
  13112. "y": 459.999999999998
  13113. },
  13114. "label": "课程信息表为镜像,所以后面的“:1\"标识,是指第1个镜像副本,仅关系图需要",
  13115. "fontColor": "#f62b07",
  13116. "fillColor": "#fcfcac",
  13117. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13118. "size": {
  13119. "width": 460,
  13120. "height": 90
  13121. },
  13122. "ports": {
  13123. "groups": {
  13124. "in": {
  13125. "attrs": {
  13126. "fo": {
  13127. "width": 8,
  13128. "height": 8,
  13129. "x": -4,
  13130. "y": -4,
  13131. "magnet": "true",
  13132. "style": {
  13133. "visibility": "hidden"
  13134. }
  13135. }
  13136. },
  13137. "zIndex": 3,
  13138. "position": {
  13139. "name": "left"
  13140. }
  13141. },
  13142. "out": {
  13143. "attrs": {
  13144. "fo": {
  13145. "width": 8,
  13146. "height": 8,
  13147. "x": -4,
  13148. "y": -4,
  13149. "magnet": "true",
  13150. "style": {
  13151. "visibility": "hidden"
  13152. }
  13153. }
  13154. },
  13155. "zIndex": 3,
  13156. "position": {
  13157. "name": "right"
  13158. }
  13159. },
  13160. "top": {
  13161. "attrs": {
  13162. "fo": {
  13163. "width": 8,
  13164. "height": 8,
  13165. "x": -4,
  13166. "y": -4,
  13167. "magnet": "true",
  13168. "style": {
  13169. "visibility": "hidden"
  13170. }
  13171. }
  13172. },
  13173. "zIndex": 3,
  13174. "position": {
  13175. "name": "top"
  13176. }
  13177. },
  13178. "bottom": {
  13179. "attrs": {
  13180. "fo": {
  13181. "width": 8,
  13182. "height": 8,
  13183. "x": -4,
  13184. "y": -4,
  13185. "magnet": "true",
  13186. "style": {
  13187. "visibility": "hidden"
  13188. }
  13189. }
  13190. },
  13191. "zIndex": 3,
  13192. "position": {
  13193. "name": "bottom"
  13194. }
  13195. }
  13196. },
  13197. "items": [
  13198. {
  13199. "group": "in",
  13200. "id": "in"
  13201. },
  13202. {
  13203. "group": "in",
  13204. "id": "in2"
  13205. },
  13206. {
  13207. "group": "in",
  13208. "id": "in3"
  13209. },
  13210. {
  13211. "group": "out",
  13212. "id": "out"
  13213. },
  13214. {
  13215. "group": "out",
  13216. "id": "out2"
  13217. },
  13218. {
  13219. "group": "out",
  13220. "id": "out3"
  13221. },
  13222. {
  13223. "group": "top",
  13224. "id": "top"
  13225. },
  13226. {
  13227. "group": "top",
  13228. "id": "top2"
  13229. },
  13230. {
  13231. "group": "top",
  13232. "id": "top3"
  13233. },
  13234. {
  13235. "group": "bottom",
  13236. "id": "bottom"
  13237. },
  13238. {
  13239. "group": "bottom",
  13240. "id": "bottom2"
  13241. },
  13242. {
  13243. "group": "bottom",
  13244. "id": "bottom3"
  13245. }
  13246. ]
  13247. }
  13248. },
  13249. {
  13250. "id": "60b8fc40-2b82-4b9a-8da2-5234582e31f6",
  13251. "shape": "erdRelation",
  13252. "source": {
  13253. "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13254. "port": "5FAE5CA5-B7A6-40C3-878D-1BB3D4A45B5C%out"
  13255. },
  13256. "target": {
  13257. "cell": "26b28925-27ed-488d-b20d-2abbcafa5057",
  13258. "port": "0C5A31BB-2855-4BB9-84D1-7E63B37A71E1%in"
  13259. },
  13260. "relation": "1:n",
  13261. "fillColor": "#c00000",
  13262. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13263. "attrs": {
  13264. "line": {
  13265. "strokeDasharray": ""
  13266. }
  13267. }
  13268. },
  13269. {
  13270. "id": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13271. "shape": "group",
  13272. "position": {
  13273. "x": -130.00000000000023,
  13274. "y": -40
  13275. },
  13276. "label": "学院设置部分",
  13277. "size": {
  13278. "width": 1010,
  13279. "height": 760
  13280. },
  13281. "children": [
  13282. "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13283. "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13284. "9972b579-d4c5-4520-9202-7a57bf539151",
  13285. "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13286. "b9e17f34-b032-4b33-b78b-618b7e046614",
  13287. "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
  13288. "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13289. "914c8f40-8cff-49ed-86a9-4dcad63ad668",
  13290. "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13291. "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
  13292. "f03ab359-7568-4402-bc56-4593bf5e1420",
  13293. "5428380e-8314-4f6f-9048-43eff1b48ee5"
  13294. ]
  13295. },
  13296. {
  13297. "id": "f03ab359-7568-4402-bc56-4593bf5e1420",
  13298. "shape": "erdRelation",
  13299. "source": {
  13300. "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13301. "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%out"
  13302. },
  13303. "target": {
  13304. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13305. "port": "D793F097-1364-49FD-B02C-D4EBBA5A055A%in"
  13306. },
  13307. "relation": "1:n",
  13308. "vertices": [],
  13309. "labels": [
  13310. {
  13311. "attrs": {
  13312. "text": {
  13313. "text": ""
  13314. },
  13315. "rect": {}
  13316. }
  13317. }
  13318. ],
  13319. "fillColor": "#ACDAFC",
  13320. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13321. },
  13322. {
  13323. "id": "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
  13324. "shape": "erdRelation",
  13325. "source": {
  13326. "cell": "9972b579-d4c5-4520-9202-7a57bf539151",
  13327. "port": "8707AEB9-3EC5-4EEA-9E14-99BAF28B46B4%out"
  13328. },
  13329. "target": {
  13330. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13331. "port": "63130D1B-63C8-491C-B36D-5603A30BFB37%in"
  13332. },
  13333. "relation": "1:n",
  13334. "vertices": [
  13335. {
  13336. "x": 400,
  13337. "y": 73.00000000000045
  13338. }
  13339. ],
  13340. "fillColor": "#ACDAFC",
  13341. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13342. },
  13343. {
  13344. "id": "b9e17f34-b032-4b33-b78b-618b7e046614",
  13345. "shape": "erdRelation",
  13346. "source": {
  13347. "cell": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13348. "port": "3D337B5E-182D-45C7-9752-E2DD4D7CF2BD%out"
  13349. },
  13350. "target": {
  13351. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13352. "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%in"
  13353. },
  13354. "relation": "1:n",
  13355. "vertices": [
  13356. {
  13357. "x": 371,
  13358. "y": 319.00000000000045
  13359. }
  13360. ],
  13361. "fillColor": "#ACDAFC",
  13362. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13363. },
  13364. {
  13365. "id": "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
  13366. "shape": "erdRelation",
  13367. "source": {
  13368. "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13369. "port": "C5916046-F140-4B0C-BF84-EBD7DDB38EAA%out"
  13370. },
  13371. "target": {
  13372. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13373. "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%out"
  13374. },
  13375. "relation": "1:n",
  13376. "fillColor": "#ACDAFC",
  13377. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13378. },
  13379. {
  13380. "id": "5428380e-8314-4f6f-9048-43eff1b48ee5",
  13381. "shape": "erdRelation",
  13382. "source": {
  13383. "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13384. "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%in"
  13385. },
  13386. "target": {
  13387. "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13388. "port": "EFD22F94-E1D0-4CAD-947D-E856A997D7B5%in"
  13389. },
  13390. "relation": "1:n",
  13391. "vertices": [
  13392. {
  13393. "x": -79,
  13394. "y": 620.0000000000005
  13395. },
  13396. {
  13397. "x": 381,
  13398. "y": 620.0000000000005
  13399. }
  13400. ],
  13401. "fillColor": "#ACDAFC",
  13402. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13403. },
  13404. {
  13405. "id": "914c8f40-8cff-49ed-86a9-4dcad63ad668",
  13406. "shape": "erdRelation",
  13407. "source": {
  13408. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13409. "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%in"
  13410. },
  13411. "target": {
  13412. "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13413. "port": "A23704D2-7128-41A2-988C-D20CB984FA83%in"
  13414. },
  13415. "relation": "1:n",
  13416. "fillColor": "#ACDAFC",
  13417. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
  13418. },
  13419. {
  13420. "id": "47d951f9-c6b0-4407-b2e3-e66f4b2931ec",
  13421. "shape": "erdRelation",
  13422. "source": {
  13423. "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13424. "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%out"
  13425. },
  13426. "target": {
  13427. "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13428. "port": "1BCE9672-14BA-4B2B-B8C6-222CC6CF0F61%in"
  13429. },
  13430. "relation": "1:n",
  13431. "vertices": [
  13432. {
  13433. "x": 890,
  13434. "y": 83
  13435. }
  13436. ],
  13437. "fillColor": "#dce775",
  13438. "attrs": {
  13439. "line": {
  13440. "strokeDasharray": ""
  13441. }
  13442. }
  13443. },
  13444. {
  13445. "id": "26b28925-27ed-488d-b20d-2abbcafa5057",
  13446. "shape": "table",
  13447. "position": {
  13448. "x": 1421,
  13449. "y": 19.99999999999801
  13450. },
  13451. "count": 0,
  13452. "originKey": "6B1610FB-364F-4514-95D6-9DDA681BFC61",
  13453. "fillColor": "#9acc98",
  13454. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13455. "size": {
  13456. "width": 362,
  13457. "height": 146
  13458. }
  13459. },
  13460. {
  13461. "id": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
  13462. "shape": "table",
  13463. "position": {
  13464. "x": 442,
  13465. "y": 10.000000000000455
  13466. },
  13467. "count": 0,
  13468. "originKey": "C698249E-307D-4087-9EC4-3BABCFC00660",
  13469. "fontColor": "#555555",
  13470. "fillColor": "#dce775",
  13471. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13472. "size": {
  13473. "width": 393,
  13474. "height": 192
  13475. }
  13476. },
  13477. {
  13478. "id": "56317816-819f-41ea-a6ef-bdcd0027fb68",
  13479. "shape": "table",
  13480. "position": {
  13481. "x": -44.5,
  13482. "y": 10.000000000000455
  13483. },
  13484. "count": 0,
  13485. "originKey": "26B8D13E-BE37-4E20-8496-13A586E84581",
  13486. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13487. "size": {
  13488. "width": 409,
  13489. "height": 192
  13490. }
  13491. },
  13492. {
  13493. "id": "9972b579-d4c5-4520-9202-7a57bf539151",
  13494. "shape": "table",
  13495. "position": {
  13496. "x": -48.5,
  13497. "y": 233.00000000000045
  13498. },
  13499. "count": 0,
  13500. "originKey": "C2F51B91-7C24-4CB4-8406-706F4851EB0B",
  13501. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13502. "size": {
  13503. "width": 352,
  13504. "height": 169
  13505. }
  13506. },
  13507. {
  13508. "id": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
  13509. "shape": "table",
  13510. "position": {
  13511. "x": -59,
  13512. "y": 450.00000000000045
  13513. },
  13514. "count": 0,
  13515. "originKey": "9095C2A1-EF4C-4357-AAB2-26F99C1845CA",
  13516. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13517. "size": {
  13518. "width": 355,
  13519. "height": 146
  13520. }
  13521. },
  13522. {
  13523. "id": "444bdcfa-cc31-4b36-892b-9caef73cc863",
  13524. "shape": "table",
  13525. "position": {
  13526. "x": 396,
  13527. "y": 405.00000000000045
  13528. },
  13529. "count": 0,
  13530. "originKey": "536B8B19-C2B3-45D1-ADA8-402C0083FC31",
  13531. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13532. "size": {
  13533. "width": 451,
  13534. "height": 284
  13535. }
  13536. },
  13537. {
  13538. "id": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
  13539. "shape": "table",
  13540. "position": {
  13541. "x": 950,
  13542. "y": 19.99999999999801
  13543. },
  13544. "count": 0,
  13545. "originKey": "0FC9DB49-4FDB-437E-83E9-7EE803F1CC84",
  13546. "fontColor": "#0d0d0d",
  13547. "fillColor": "#c00000",
  13548. "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
  13549. "size": {
  13550. "width": 403,
  13551. "height": 330
  13552. }
  13553. },
  13554. {
  13555. "id": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
  13556. "shape": "table",
  13557. "position": {
  13558. "x": 472,
  13559. "y": 233.00000000000045
  13560. },
  13561. "count": 0,
  13562. "originKey": "1A50AEEB-F956-4275-AE11-5D6F1F471FBE",
  13563. "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
  13564. "size": {
  13565. "width": 334,
  13566. "height": 123
  13567. }
  13568. }
  13569. ]
  13570. },
  13571. "id": "9427DD89-11C0-431F-9BB0-8353A2725174",
  13572. "comment": ""
  13573. }
  13574. ],
  13575. "standardFields": [
  13576. {
  13577. "defKey": "personInfo",
  13578. "defName": "个人基本信息要素",
  13579. "fields": [
  13580. {
  13581. "defKey": "ID_CARD_NO",
  13582. "defName": "身份证号",
  13583. "comment": "",
  13584. "type": "VARCHAR",
  13585. "len": "60",
  13586. "scale": "",
  13587. "primaryKey": false,
  13588. "notNull": false,
  13589. "autoIncrement": false,
  13590. "defaultValue": "",
  13591. "hideInGraph": false,
  13592. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13593. "refDict": "",
  13594. "uiHint": "",
  13595. "id": "A64A91C8-A41F-4113-92FB-7563D7EF054D",
  13596. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13597. },
  13598. {
  13599. "defKey": "MOBILE_PHONE",
  13600. "defName": "手机号",
  13601. "comment": "",
  13602. "type": "VARCHAR",
  13603. "len": "60",
  13604. "scale": "",
  13605. "primaryKey": false,
  13606. "notNull": false,
  13607. "autoIncrement": false,
  13608. "defaultValue": "",
  13609. "hideInGraph": false,
  13610. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13611. "refDict": "",
  13612. "uiHint": "",
  13613. "id": "479DA2AB-1974-411A-A81E-92FB939E75EB",
  13614. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13615. },
  13616. {
  13617. "defKey": "GENDER",
  13618. "defName": "性别",
  13619. "comment": "",
  13620. "type": "VARCHAR",
  13621. "len": "32",
  13622. "scale": "",
  13623. "primaryKey": false,
  13624. "notNull": false,
  13625. "autoIncrement": false,
  13626. "defaultValue": "",
  13627. "hideInGraph": false,
  13628. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13629. "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
  13630. "uiHint": "",
  13631. "id": "48473E29-6594-4912-AADE-C8AB44FCA3E9",
  13632. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13633. },
  13634. {
  13635. "defKey": "BIRTH",
  13636. "defName": "出生日期",
  13637. "comment": "",
  13638. "type": "DATETIME",
  13639. "len": "",
  13640. "scale": "",
  13641. "primaryKey": false,
  13642. "notNull": false,
  13643. "autoIncrement": false,
  13644. "defaultValue": "",
  13645. "hideInGraph": false,
  13646. "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
  13647. "refDict": "",
  13648. "uiHint": "",
  13649. "id": "2BD3D2EE-2411-49A6-983D-84B81057312F",
  13650. "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
  13651. },
  13652. {
  13653. "defKey": "AVATAR",
  13654. "defName": "头像",
  13655. "comment": "",
  13656. "type": "VARCHAR",
  13657. "len": "60",
  13658. "scale": "",
  13659. "primaryKey": false,
  13660. "notNull": false,
  13661. "autoIncrement": false,
  13662. "defaultValue": "",
  13663. "hideInGraph": false,
  13664. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13665. "refDict": "",
  13666. "uiHint": "",
  13667. "id": "FDD67CEE-4B52-4BD1-A1A3-9C5EBC6037E6",
  13668. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13669. },
  13670. {
  13671. "defKey": "HEIGHT",
  13672. "defName": "身高",
  13673. "comment": "",
  13674. "type": "INT",
  13675. "len": "",
  13676. "scale": "",
  13677. "primaryKey": false,
  13678. "notNull": false,
  13679. "autoIncrement": false,
  13680. "defaultValue": "",
  13681. "hideInGraph": false,
  13682. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  13683. "refDict": "",
  13684. "uiHint": "",
  13685. "id": "CAAA0E79-41A1-4758-B481-D171168C4D68",
  13686. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
  13687. },
  13688. {
  13689. "defKey": "WEIGHT",
  13690. "defName": "体重",
  13691. "comment": "",
  13692. "type": "INT",
  13693. "len": "",
  13694. "scale": "",
  13695. "primaryKey": false,
  13696. "notNull": false,
  13697. "autoIncrement": false,
  13698. "defaultValue": "",
  13699. "hideInGraph": false,
  13700. "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
  13701. "refDict": "",
  13702. "uiHint": "",
  13703. "id": "575482CE-64A6-4CB9-99DC-8E126D190AAA",
  13704. "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
  13705. },
  13706. {
  13707. "defKey": "NATION",
  13708. "defName": "名族",
  13709. "comment": "",
  13710. "type": "VARCHAR",
  13711. "len": "32",
  13712. "scale": "",
  13713. "primaryKey": false,
  13714. "notNull": false,
  13715. "autoIncrement": false,
  13716. "defaultValue": "",
  13717. "hideInGraph": false,
  13718. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13719. "refDict": "115EDEFC-0323-410E-81AB-CCAB8879837A",
  13720. "uiHint": "",
  13721. "id": "15B0D75D-0B97-4985-A816-D0EAFA90446B",
  13722. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13723. },
  13724. {
  13725. "defKey": "POLITICAL",
  13726. "defName": "政治面貌",
  13727. "comment": "",
  13728. "type": "VARCHAR",
  13729. "len": "32",
  13730. "scale": "",
  13731. "primaryKey": false,
  13732. "notNull": false,
  13733. "autoIncrement": false,
  13734. "defaultValue": "",
  13735. "hideInGraph": false,
  13736. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13737. "refDict": "06EED564-BBA9-4747-8D73-AF809A330CB8",
  13738. "uiHint": "",
  13739. "id": "F458E86D-84D6-45A1-9DD3-51E6C8170D7F",
  13740. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13741. },
  13742. {
  13743. "defKey": "MARITAL",
  13744. "defName": "婚姻状况",
  13745. "comment": "",
  13746. "type": "VARCHAR",
  13747. "len": "32",
  13748. "scale": "",
  13749. "primaryKey": false,
  13750. "notNull": false,
  13751. "autoIncrement": false,
  13752. "defaultValue": "",
  13753. "hideInGraph": false,
  13754. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13755. "refDict": "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
  13756. "uiHint": "",
  13757. "id": "7275E578-6893-4922-AC69-95B261BFBD61",
  13758. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13759. },
  13760. {
  13761. "defKey": "DOMICILE_PLACE_PROVINCE",
  13762. "defName": "籍贯(省)",
  13763. "comment": "",
  13764. "type": "VARCHAR",
  13765. "len": "60",
  13766. "scale": "",
  13767. "primaryKey": false,
  13768. "notNull": false,
  13769. "autoIncrement": false,
  13770. "defaultValue": "",
  13771. "hideInGraph": false,
  13772. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13773. "refDict": "",
  13774. "uiHint": "",
  13775. "id": "F04BF130-3EC1-4E02-9DED-3214CA88E352",
  13776. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13777. },
  13778. {
  13779. "defKey": "DOMICILE_PLACE_CITY",
  13780. "defName": "籍贯(市)",
  13781. "comment": "",
  13782. "type": "VARCHAR",
  13783. "len": "32",
  13784. "scale": "",
  13785. "primaryKey": false,
  13786. "notNull": false,
  13787. "autoIncrement": false,
  13788. "defaultValue": "",
  13789. "hideInGraph": false,
  13790. "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
  13791. "refDict": "",
  13792. "uiHint": "",
  13793. "id": "B97F5BC2-33DE-4857-9DB8-ECFD02C9040C",
  13794. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13795. },
  13796. {
  13797. "defKey": "DOMICILE_PLACE_ADDRESS",
  13798. "defName": "户籍地址",
  13799. "comment": "",
  13800. "type": "VARCHAR",
  13801. "len": "60",
  13802. "scale": "",
  13803. "primaryKey": false,
  13804. "notNull": false,
  13805. "autoIncrement": false,
  13806. "defaultValue": "",
  13807. "hideInGraph": false,
  13808. "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
  13809. "refDict": "",
  13810. "uiHint": "",
  13811. "id": "812ADF1D-8C03-40CA-B030-E539838FB889",
  13812. "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
  13813. }
  13814. ],
  13815. "id": "F30202B9-4B5D-4CE7-87CE-B3890C84D3F2"
  13816. }
  13817. ],
  13818. "dbConn": [
  13819. {
  13820. "defKey": "AB260C61-FBEB-4832-ADBD-E03CCFE82D96",
  13821. "defName": "成本管理",
  13822. "type": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
  13823. "properties": {
  13824. "driver_class_name": "com.mysql.cj.jdbc.Driver",
  13825. "url": "jdbc:mysql://121.40.189.20:3306/costmanage?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC",
  13826. "password": "YMzc157#",
  13827. "username": "root"
  13828. }
  13829. }
  13830. ],
  13831. "homeCoverDiagram": {
  13832. "defKey": "home-cover",
  13833. "defName": "首页封面",
  13834. "relationType": "entity",
  13835. "canvasData": {
  13836. "cells": [
  13837. {
  13838. "id": "01ac9826-9c2a-457a-8922-e6f8f25d9561",
  13839. "shape": "mind-edge",
  13840. "source": {
  13841. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13842. "port": "right"
  13843. },
  13844. "target": {
  13845. "cell": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  13846. "port": "left"
  13847. },
  13848. "fillColor": "rgb(183, 185, 189)"
  13849. },
  13850. {
  13851. "id": "b47d896a-fc4f-4ac9-b011-68a447df24a8",
  13852. "shape": "mind-edge",
  13853. "source": {
  13854. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13855. "port": "right"
  13856. },
  13857. "target": {
  13858. "cell": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  13859. "port": "left"
  13860. },
  13861. "fillColor": "rgb(183, 185, 189)"
  13862. },
  13863. {
  13864. "id": "07be3bc0-a68e-476f-ba3d-331fe552faee",
  13865. "shape": "mind-edge",
  13866. "source": {
  13867. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13868. "port": "right"
  13869. },
  13870. "target": {
  13871. "cell": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  13872. "port": "left"
  13873. },
  13874. "fillColor": "rgb(183, 185, 189)"
  13875. },
  13876. {
  13877. "id": "921ED3D8-5A8E-4A84-96AE-978C200C1E93",
  13878. "shape": "mind-edge",
  13879. "source": {
  13880. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13881. "port": "right"
  13882. },
  13883. "target": {
  13884. "cell": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  13885. "port": "left"
  13886. }
  13887. },
  13888. {
  13889. "id": "46C14C41-47AE-4CCA-B6F4-9EE675B3746F",
  13890. "shape": "mind-edge",
  13891. "source": {
  13892. "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13893. "port": "right"
  13894. },
  13895. "target": {
  13896. "cell": "f286d37f-d476-461d-b42d-4246f376b2a3",
  13897. "port": "left"
  13898. }
  13899. },
  13900. {
  13901. "id": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
  13902. "shape": "mind-topic",
  13903. "position": {
  13904. "x": -170,
  13905. "y": -30
  13906. },
  13907. "label": "成本管理",
  13908. "fillColor": "rgb(247, 151, 128)",
  13909. "layout": "right",
  13910. "size": {
  13911. "width": 160,
  13912. "height": 70
  13913. },
  13914. "children": [
  13915. "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  13916. "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  13917. "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  13918. "7392ebc5-1080-4250-99cb-34fa24f3050b",
  13919. "f286d37f-d476-461d-b42d-4246f376b2a3"
  13920. ]
  13921. },
  13922. {
  13923. "id": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
  13924. "link": "{\"type\":\"\",\"value\":\"\"}",
  13925. "shape": "mind-topic-branch",
  13926. "position": {
  13927. "x": 70,
  13928. "y": -225
  13929. },
  13930. "label": "基础信息维护",
  13931. "fillColor": "rgb(245, 220, 78)",
  13932. "layout": "right",
  13933. "size": {
  13934. "width": 160,
  13935. "height": 60
  13936. },
  13937. "children": []
  13938. },
  13939. {
  13940. "id": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
  13941. "link": "{\"type\":\"\",\"value\":\"\"}",
  13942. "shape": "mind-topic-branch",
  13943. "position": {
  13944. "x": 70,
  13945. "y": -125
  13946. },
  13947. "label": "SAP导出版本基础数据",
  13948. "fillColor": "rgb(245, 220, 78)",
  13949. "layout": "right",
  13950. "size": {
  13951. "width": 160,
  13952. "height": 60
  13953. },
  13954. "children": []
  13955. },
  13956. {
  13957. "id": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
  13958. "link": "{\"type\":\"\",\"value\":\"\"}",
  13959. "shape": "mind-topic-branch",
  13960. "position": {
  13961. "x": 70,
  13962. "y": -25
  13963. },
  13964. "label": "成本卷积",
  13965. "fillColor": "rgb(245, 220, 78)",
  13966. "parent": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  13967. "layout": "right",
  13968. "size": {
  13969. "width": 160,
  13970. "height": 60
  13971. },
  13972. "children": []
  13973. },
  13974. {
  13975. "id": "7392ebc5-1080-4250-99cb-34fa24f3050b",
  13976. "link": "{\"type\":\"\",\"value\":\"\"}",
  13977. "shape": "mind-topic-branch",
  13978. "position": {
  13979. "x": 70,
  13980. "y": 75
  13981. },
  13982. "label": "挖掘分析系统",
  13983. "fillColor": "rgb(245, 220, 78)",
  13984. "layout": "right",
  13985. "size": {
  13986. "width": 160,
  13987. "height": 60
  13988. },
  13989. "children": []
  13990. },
  13991. {
  13992. "id": "f286d37f-d476-461d-b42d-4246f376b2a3",
  13993. "link": "{\"type\":\"\",\"value\":\"\"}",
  13994. "shape": "mind-topic-branch",
  13995. "position": {
  13996. "x": 70,
  13997. "y": 175
  13998. },
  13999. "label": "系统管理",
  14000. "fillColor": "rgb(245, 220, 78)",
  14001. "layout": "right",
  14002. "size": {
  14003. "width": 160,
  14004. "height": 60
  14005. },
  14006. "children": []
  14007. }
  14008. ]
  14009. },
  14010. "id": "home-cover",
  14011. "comment": ""
  14012. },
  14013. "logicEntities": [],
  14014. "namingRules": [
  14015. {
  14016. "id": "63F1DC0E-6A76-4B75-B3DA-4B00657B4E1B",
  14017. "defName": "属性代码不能超过32",
  14018. "intro": "",
  14019. "controlIntensity": "S",
  14020. "applyObjectType": "L",
  14021. "applyFieldType": "field",
  14022. "programCode": "return (data.field.defName||\"\").length <= 32",
  14023. "enable": true
  14024. },
  14025. {
  14026. "id": "668CBEE6-E0B7-4ACE-B72E-63942963B191",
  14027. "defName": "长度不能超过32位",
  14028. "intro": "",
  14029. "controlIntensity": "F",
  14030. "applyObjectType": "P",
  14031. "applyFieldType": "entity",
  14032. "programCode": "return (data.entity.defName||\"\").length <= 32",
  14033. "enable": true
  14034. },
  14035. {
  14036. "id": "11BD987F-82E7-418E-A752-FDD84F1582A2",
  14037. "defName": "长度不能超过32位",
  14038. "intro": "",
  14039. "controlIntensity": "F",
  14040. "applyObjectType": "P",
  14041. "applyFieldType": "field",
  14042. "programCode": "return (data.field.defName||\"\").length <= 32",
  14043. "enable": true
  14044. },
  14045. {
  14046. "id": "29D0A8D9-ABE2-451F-8A39-52FAB02E62B9",
  14047. "defName": "索引名-长度不超过32个字符",
  14048. "intro": "",
  14049. "controlIntensity": "S",
  14050. "applyObjectType": "P",
  14051. "applyFieldType": "index",
  14052. "programCode": "return (data.index.defName||\"\").length <= 32",
  14053. "enable": true
  14054. },
  14055. {
  14056. "id": "B425A96F-6A31-4DBD-8743-A00DE28FB50F",
  14057. "defName": "不能使用保留字",
  14058. "intro": "",
  14059. "controlIntensity": "S",
  14060. "applyObjectType": "P",
  14061. "applyFieldType": "index",
  14062. "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;",
  14063. "enable": true
  14064. },
  14065. {
  14066. "id": "EF9E44D0-691A-4352-A079-CFF300107531",
  14067. "defName": "索引名-全小写",
  14068. "intro": "",
  14069. "controlIntensity": "F",
  14070. "applyObjectType": "P",
  14071. "applyFieldType": "index",
  14072. "programCode": "return !/[A-Z]+/.test(data.index.defKey);",
  14073. "enable": true
  14074. },
  14075. {
  14076. "id": "972EB2FB-4428-429D-8B0A-F082A8C7A94D",
  14077. "defName": "名称不能为空",
  14078. "intro": "",
  14079. "controlIntensity": "F",
  14080. "applyObjectType": "L",
  14081. "applyFieldType": "entity",
  14082. "programCode": "return data.logicEntity.defName",
  14083. "enable": true
  14084. },
  14085. {
  14086. "id": "EEAEB9C5-BB6C-4E92-949B-D27928690D85",
  14087. "defName": "名称长度不超过32",
  14088. "intro": "",
  14089. "controlIntensity": "S",
  14090. "applyObjectType": "L",
  14091. "applyFieldType": "entity",
  14092. "programCode": "return (data.logicEntity.defName||\"\").length <=32",
  14093. "enable": true
  14094. },
  14095. {
  14096. "id": "24E3F7E5-730D-4378-B72D-195D6B940352",
  14097. "defName": "不能使用保留字",
  14098. "intro": "",
  14099. "controlIntensity": "F",
  14100. "applyObjectType": "P",
  14101. "applyFieldType": "entity",
  14102. "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;",
  14103. "enable": true
  14104. },
  14105. {
  14106. "id": "039BF435-DC77-4DA4-81C7-7F8076BF22BB",
  14107. "defName": "表名-全小写",
  14108. "intro": "",
  14109. "controlIntensity": "S",
  14110. "applyObjectType": "P",
  14111. "applyFieldType": "entity",
  14112. "programCode": "return !/[A-Z]+/.test(data.entity.defKey);",
  14113. "enable": true
  14114. },
  14115. {
  14116. "id": "CBEB0E30-19C6-427D-A8BF-61FF10E27A0B",
  14117. "defName": "表名-不允许空格",
  14118. "intro": "",
  14119. "controlIntensity": "F",
  14120. "applyObjectType": "P",
  14121. "applyFieldType": "entity",
  14122. "programCode": "return !/\\s+/.test(data.entity.defKey);",
  14123. "enable": true
  14124. },
  14125. {
  14126. "id": "1168C7C2-8E8E-4FB7-B639-B3DE839C395A",
  14127. "defName": "表名-英文及下划线",
  14128. "intro": "",
  14129. "controlIntensity": "F",
  14130. "applyObjectType": "P",
  14131. "applyFieldType": "entity",
  14132. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.entity.defKey);",
  14133. "enable": true
  14134. },
  14135. {
  14136. "id": "D373637C-D3A6-4621-B656-6841A5444A76",
  14137. "defName": "表必须有comment注释",
  14138. "intro": "",
  14139. "controlIntensity": "S",
  14140. "applyObjectType": "P",
  14141. "applyFieldType": "entity",
  14142. "programCode": "return (data.entity.defName||\"\").length > 0 || (data.entity.comment||\"\").length > 0",
  14143. "enable": true
  14144. },
  14145. {
  14146. "id": "2BAB122B-8811-40BB-89F3-CDC24B5862D3",
  14147. "defName": "主键命名为 id,类型为 int 或 bigint,且为自增",
  14148. "intro": "",
  14149. "controlIntensity": "S",
  14150. "applyObjectType": "P",
  14151. "applyFieldType": "entity",
  14152. "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;",
  14153. "enable": true
  14154. },
  14155. {
  14156. "id": "0B2F0BD2-3B84-4AB1-BA29-9DE9620AF608",
  14157. "defName": "必须有数据的创建时间以及创建人字段",
  14158. "intro": "",
  14159. "controlIntensity": "S",
  14160. "applyObjectType": "P",
  14161. "applyFieldType": "entity",
  14162. "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;",
  14163. "enable": true
  14164. },
  14165. {
  14166. "id": "BEC54F19-52D5-4882-BCE1-4439785F8001",
  14167. "defName": "不能使用保留字",
  14168. "intro": "",
  14169. "controlIntensity": "S",
  14170. "applyObjectType": "P",
  14171. "applyFieldType": "field",
  14172. "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;",
  14173. "enable": true
  14174. },
  14175. {
  14176. "id": "082E186D-7B02-4F1C-9ECE-378AB98C4845",
  14177. "defName": "字段-全小写",
  14178. "intro": "",
  14179. "controlIntensity": "S",
  14180. "applyObjectType": "P",
  14181. "applyFieldType": "field",
  14182. "programCode": "return !/[A-Z]+/.test(data.field.defKey);",
  14183. "enable": true
  14184. },
  14185. {
  14186. "id": "F3CE5C67-23B6-4E7B-BA91-D5F0BCBC9E6A",
  14187. "defName": "字段-不允许空格",
  14188. "intro": "",
  14189. "controlIntensity": "F",
  14190. "applyObjectType": "P",
  14191. "applyFieldType": "field",
  14192. "programCode": "return !/\\s+/.test(data.field.defKey);",
  14193. "enable": true
  14194. },
  14195. {
  14196. "id": "21AFEAC8-96D7-467F-8320-A33887FC0C5D",
  14197. "defName": "字段-英文及下划线",
  14198. "intro": "",
  14199. "controlIntensity": "F",
  14200. "applyObjectType": "P",
  14201. "applyFieldType": "field",
  14202. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.field.defKey);",
  14203. "enable": true
  14204. },
  14205. {
  14206. "id": "2BBDE47B-6926-4E1A-AE57-D4F6E5399EE6",
  14207. "defName": "字段-必需有comment注释",
  14208. "intro": "",
  14209. "controlIntensity": "F",
  14210. "applyObjectType": "P",
  14211. "applyFieldType": "field",
  14212. "programCode": "return (data.field.defName||\"\").length > 0 || (data.field.comment||\"\").length > 0",
  14213. "enable": true
  14214. },
  14215. {
  14216. "id": "5E181E43-0D72-498F-8178-4C1CDBC89A16",
  14217. "defName": "字段-不能与表名相同",
  14218. "intro": "",
  14219. "controlIntensity": "F",
  14220. "applyObjectType": "P",
  14221. "applyFieldType": "field",
  14222. "programCode": "return data.field.defKey != data.entity.defKey;",
  14223. "enable": true
  14224. },
  14225. {
  14226. "id": "DE8F8598-5D53-4727-A837-7816C2AF99D9",
  14227. "defName": "外键-字段必须具有表名及其主键",
  14228. "intro": "",
  14229. "controlIntensity": "S",
  14230. "applyObjectType": "P",
  14231. "applyFieldType": "field",
  14232. "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;",
  14233. "enable": true
  14234. },
  14235. {
  14236. "id": "D330BCC3-DBAB-4677-8C5A-A301003A5878",
  14237. "defName": "时间字段类型尽量选取 timestamp",
  14238. "intro": "",
  14239. "controlIntensity": "S",
  14240. "applyObjectType": "P",
  14241. "applyFieldType": "field",
  14242. "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;",
  14243. "enable": true
  14244. },
  14245. {
  14246. "id": "2E7FDA44-989A-4C5B-A0C5-12B1E40E57B1",
  14247. "defName": "索引名-英文及下划线",
  14248. "intro": "",
  14249. "controlIntensity": "S",
  14250. "applyObjectType": "P",
  14251. "applyFieldType": "index",
  14252. "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.index.defKey);",
  14253. "enable": true
  14254. },
  14255. {
  14256. "id": "023450B3-AAE2-4DC1-AE63-2196DD82823D",
  14257. "defName": "索引名-主键的名称以pk_开头,唯一键以uk_开头,普通索引以 ix_开头",
  14258. "intro": "",
  14259. "controlIntensity": "S",
  14260. "applyObjectType": "P",
  14261. "applyFieldType": "index",
  14262. "programCode": "if(data.index.unique){\n return data.index.defKey.indexOf(\"uk_\")==0;\n}else{\n return data.index.defKey.indexOf(\"ix_\")==0;\n}",
  14263. "enable": true
  14264. },
  14265. {
  14266. "id": "1C563E17-262B-4EB6-87F0-203CAC667CF0",
  14267. "defName": "不允许存在blob、text等大字段",
  14268. "intro": "",
  14269. "controlIntensity": "S",
  14270. "applyObjectType": "P",
  14271. "applyFieldType": "field",
  14272. "programCode": "if(\"blob,text\".indexOf(data.field.dbType.toLowerCase())>=0){\n return false;\n}\nreturn true;",
  14273. "enable": true
  14274. }
  14275. ]
  14276. }