| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276 |
- {
- "name": "成本管理二期",
- "describe": "成本管理",
- "avatar": "",
- "version": "4.9.2",
- "createdTime": "2024-5-23 16:36:04",
- "updatedTime": "2024-6-7 17:26:00",
- "dbConns": [],
- "profile": {
- "default": {
- "db": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
- "dbConn": "AB260C61-FBEB-4832-ADBD-E03CCFE82D96",
- "entityInitFields": [
- {
- "defKey": "TENANT_ID",
- "defName": "租户号",
- "comment": "",
- "type": "",
- "len": 32,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
- "refDict": "",
- "uiHint": "",
- "id": "ADB3AD14-6603-43E2-8261-114E32442B5B",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "REVISION",
- "defName": "乐观锁",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "refDict": "",
- "uiHint": "",
- "id": "92BF430E-01FA-4AEF-944F-25A142632654",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
- },
- {
- "defKey": "CREATED_BY",
- "defName": "创建人",
- "comment": "",
- "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
- "type": "",
- "len": 32,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "refDict": "",
- "uiHint": "",
- "id": "C8BE2C7A-8251-4ADD-BB4F-411C5754DA62",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "CREATED_TIME",
- "defName": "创建时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "refDict": "",
- "uiHint": "",
- "id": "4E471FD6-3E73-4A90-B660-51598A482409",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
- },
- {
- "defKey": "UPDATED_BY",
- "defName": "更新人",
- "comment": "",
- "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
- "type": "",
- "len": 32,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "refDict": "",
- "uiHint": "",
- "id": "0DC24AA9-4CD0-45D8-95CF-FA546BE343AB",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "UPDATED_TIME",
- "defName": "更新时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": true,
- "refDict": "",
- "uiHint": "",
- "id": "09F64AC4-4DEE-428F-AF64-4C103884E1AC",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
- }
- ],
- "entityInitProperties": {
- "partitioned by": "(date string)",
- "row format delimited": "",
- "fields terminated by ','": "",
- "collection items terminated by '-'": "",
- "map keys terminated by ':'": "",
- "store as textfile;": ""
- }
- },
- "javaHome": "",
- "sql": {
- "delimiter": ""
- },
- "dataTypeSupports": [
- {
- "defKey": "MYSQL",
- "id": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E"
- },
- {
- "defKey": "ORACLE",
- "id": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542"
- },
- {
- "defKey": "SQLServer",
- "id": "BFC87171-C74F-494A-B7C2-76B9C55FACC9"
- },
- {
- "defKey": "PostgreSQL",
- "id": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022"
- },
- {
- "defKey": "DB2",
- "id": "89504F5D-94BF-4C9E-8B2E-44F37305FED5"
- },
- {
- "defKey": "DM",
- "id": "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307"
- },
- {
- "defKey": "GaussDB",
- "id": "592C7013-143D-4E7B-AF64-0D7BF1E28230"
- },
- {
- "defKey": "Kingbase",
- "id": "77BD85E5-9D0D-4096-8427-CBA306FC9C6A"
- },
- {
- "defKey": "GBase",
- "id": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A"
- },
- {
- "defKey": "MaxCompute",
- "id": "11D1FB71-A587-4217-89BA-611B8A1F83E0"
- },
- {
- "defKey": "SQLite",
- "id": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1"
- },
- {
- "defKey": "Hive",
- "id": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2"
- },
- {
- "defKey": "JAVA",
- "id": "797A1496-D649-4261-89B4-544132EC3F36"
- },
- {
- "defKey": "JavaMybatis",
- "id": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B"
- },
- {
- "defKey": "JavaMybatisPlus",
- "id": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073"
- },
- {
- "defKey": "C#",
- "id": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30"
- },
- {
- "defKey": "Golang",
- "id": "B91D99E0-9B7C-416C-8737-B760957DAF09"
- },
- {
- "defKey": "Rust",
- "id": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB"
- },
- {
- "defKey": "Doris",
- "id": "483F9346-C99E-4014-A1D2-A554606BD8A3"
- },
- {
- "defKey": "HighGo",
- "id": "ABF5836C-0B7C-4007-A41C-F869325E5842"
- }
- ],
- "codeTemplates": [
- {
- "type": "appCode",
- "applyFor": "797A1496-D649-4261-89B4-544132EC3F36",
- " 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}"
- },
- {
- "type": "appCode",
- "applyFor": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30",
- "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}",
- "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}"
- },
- {
- "applyFor": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B",
- "type": "appCode",
- "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}",
- "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}",
- "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}",
- "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}",
- "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",
- "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}"
- },
- {
- "applyFor": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073",
- "type": "appCode",
- "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}",
- "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}",
- "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}",
- "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}",
- "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",
- "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}"
- },
- {
- "applyFor": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
- "type": "dbDDL",
- "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",
- "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",
- "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
- "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{{~}}",
- "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX IF EXISTS {{=index.defKey}} ;\n{{~}}",
- "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",
- "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{{?}}"
- },
- {
- "applyFor": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542",
- "type": "dbDDL",
- "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{{~}}",
- "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",
- "deleteTable": "DROP TABLE {{=it.entity.defKey}};",
- "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{{~}}",
- "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
- "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{{?}}",
- "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{{?}}"
- },
- {
- "applyFor": "BFC87171-C74F-494A-B7C2-76B9C55FACC9",
- "type": "dbDDL",
- "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",
- "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",
- "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}}];",
- "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{{~}}",
- "deleteIndex": "",
- "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{{?}}",
- "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{{?}}"
- },
- {
- "applyFor": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022",
- "type": "dbDDL",
- "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{{~}}",
- "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",
- "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
- "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{{~}}",
- "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
- "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{{?}}",
- "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{{?}}"
- },
- {
- "type": "dbDDL",
- "applyFor": "89504F5D-94BF-4C9E-8B2E-44F37305FED5",
- "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{{~}}",
- "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{{~}}",
- "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"
- },
- {
- "applyFor": "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307",
- "type": "dbDDL",
- "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{{~}}",
- "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",
- "deleteTable": "",
- "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{{~}}",
- "deleteIndex": "",
- "message": "",
- "update": ""
- },
- {
- "type": "dbDDL",
- "applyFor": "592C7013-143D-4E7B-AF64-0D7BF1E28230",
- "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{{~}}",
- "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{{~}}",
- "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"
- },
- {
- "type": "dbDDL",
- "applyFor": "77BD85E5-9D0D-4096-8427-CBA306FC9C6A",
- "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{{~}}",
- "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{{~}}",
- "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"
- },
- {
- "applyFor": "11D1FB71-A587-4217-89BA-611B8A1F83E0",
- "type": "dbDDL",
- "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",
- "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",
- "deleteTable": "",
- "createIndex": "",
- "deleteIndex": "",
- "message": "",
- "update": ""
- },
- {
- "applyFor": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1",
- "type": "dbDDL",
- "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",
- "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{{~}}",
- "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"
- },
- {
- "type": "dbDDL",
- "applyFor": "dictSQLTemplate",
- "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{{~}}"
- },
- {
- "applyFor": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2",
- "type": "dbDDL",
- "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;",
- "createView": "",
- "deleteTable": "",
- "createIndex": "",
- "deleteIndex": "",
- "message": "",
- "update": ""
- },
- {
- "applyFor": "B91D99E0-9B7C-416C-8737-B760957DAF09",
- "type": "appCode",
- "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}}"
- },
- {
- "applyFor": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB",
- "type": "appCode",
- "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"
- },
- {
- "applyFor": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A",
- "type": "dbDDL",
- "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{{~}}",
- "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",
- "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
- "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{{~}}",
- "deleteIndex": "{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}",
- "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{{?}}",
- "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{{?}}"
- },
- {
- "applyFor": "483F9346-C99E-4014-A1D2-A554606BD8A3",
- "type": "dbDDL",
- "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",
- "createView": "",
- "deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
- "createIndex": "",
- "deleteIndex": "",
- "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",
- "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{{?}}"
- },
- {
- "applyFor": "ABF5836C-0B7C-4007-A41C-F869325E5842",
- "type": "dbDDL",
- "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{{~}}",
- "createView": "",
- "deleteTable": "",
- "createIndex": "",
- "deleteIndex": "",
- "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{{?}}",
- "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{{?}}"
- }
- ],
- "generatorDoc": {
- "docTemplate": ""
- },
- "relationFieldSize": "15",
- "uiHint": [
- {
- "defKey": "Input",
- "defName": "普通输入框",
- "id": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "Select",
- "defName": "下拉输入框",
- "id": "FB111359-2B73-4443-926C-08A98E446448"
- },
- {
- "defKey": "CheckBox",
- "defName": "复选框",
- "id": "0CB8A6C9-1115-4FC0-B51E-5C028065082F"
- },
- {
- "defKey": "RadioBox",
- "defName": "单选框",
- "id": "5C04987A-260F-4B7C-A5D5-22A181AAE9CA"
- },
- {
- "defKey": "Double",
- "defName": "小数输入",
- "id": "8D5BAFE4-E15C-4707-A047-8EE59C58E70F"
- },
- {
- "defKey": "Integer",
- "defName": "整数输入",
- "id": "9999AF2A-A44E-415C-A2DC-D7C613BD0073"
- },
- {
- "defKey": "Money",
- "defName": "金额输入",
- "id": "2B0C3D0C-7BAF-4B36-81AD-9362B5E5DC2E"
- },
- {
- "defKey": "Date",
- "defName": "日期输入",
- "id": "E4D94E14-F695-487F-AFC2-4D888009B7DA"
- },
- {
- "defKey": "DataYearMonth",
- "defName": "年月输入",
- "id": "936927E3-DD2D-4096-87FD-074CDE278D59"
- },
- {
- "defKey": "Text",
- "defName": "长文本输入",
- "id": "D89DD4F1-ADAC-4469-BF8D-B3FF41AE7963"
- },
- {
- "defKey": "RichText",
- "defName": "富文本输入",
- "id": "C134EB1F-4CFF-49E0-882F-2C6FB275CB20"
- }
- ],
- "headers": [
- {
- "refKey": "defKey",
- "hideInGraph": false,
- "value": "字段代码",
- "freeze": false
- },
- {
- "refKey": "defName",
- "hideInGraph": false,
- "value": "显示名称",
- "freeze": false
- },
- {
- "refKey": "primaryKey",
- "hideInGraph": false,
- "value": "主键",
- "freeze": false
- },
- {
- "refKey": "notNull",
- "hideInGraph": true,
- "value": "不为空",
- "freeze": false
- },
- {
- "refKey": "autoIncrement",
- "hideInGraph": true,
- "value": "自增",
- "freeze": false
- },
- {
- "refKey": "domain",
- "hideInGraph": true,
- "value": "数据域",
- "freeze": false
- },
- {
- "refKey": "type",
- "hideInGraph": false,
- "value": "数据类型",
- "freeze": false
- },
- {
- "refKey": "len",
- "hideInGraph": false,
- "value": "长度",
- "freeze": false
- },
- {
- "refKey": "scale",
- "hideInGraph": false,
- "value": "小数位数",
- "freeze": false
- },
- {
- "refKey": "comment",
- "hideInGraph": true,
- "value": "说明",
- "freeze": false
- },
- {
- "refKey": "refDict",
- "hideInGraph": true,
- "value": "数据字典",
- "freeze": false
- },
- {
- "refKey": "defaultValue",
- "hideInGraph": true,
- "value": "默认值",
- "freeze": false
- },
- {
- "refKey": "isStandard",
- "hideInGraph": false,
- "value": "标准字段",
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "uiHint",
- "hideInGraph": true,
- "value": "UI建议",
- "enable": true,
- "freeze": false
- },
- {
- "refKey": "extProps",
- "hideInGraph": true,
- "value": "拓展属性",
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr1",
- "value": "属性1",
- "hideInGraph": true,
- "enable": true,
- "freeze": false
- },
- {
- "refKey": "attr2",
- "value": "属性2",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr3",
- "value": "属性3",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr4",
- "value": "属性4",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr5",
- "value": "属性5",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr6",
- "value": "属性6",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr7",
- "value": "属性7",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr8",
- "value": "属性8",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- },
- {
- "refKey": "attr9",
- "value": "属性9",
- "hideInGraph": true,
- "enable": false,
- "freeze": false
- }
- ],
- "modelType": "modalAll",
- "recentColors": [
- "#d148d1",
- "#ce4bce",
- "#831b83",
- "#dd31dd",
- "#da2fda",
- "#e988e9",
- "#000000",
- "#DDE5FF"
- ],
- "DDLToggleCase": "L",
- "extAttrProps": {
- "attr1": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr2": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr3": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr4": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr5": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr6": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr7": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr8": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- },
- "attr9": {
- "editType": "",
- "optionsData": "",
- "optionsFetcher": ""
- }
- },
- "menuWidth": "241px"
- },
- "entities": [
- {
- "id": "15372773-A008-4A5F-B23E-75E100F99B47",
- "defKey": "cost_center",
- "defName": "成本中心表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "company_code",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E49448AA-E299-4E2A-B4DD-E2A5A4DC2965",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "cost_center_code",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1AD66764-F41C-4547-B1FA-20A935807D71",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "cost_center_name",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "2D8FEB6B-498E-47A7-AA36-B48F60A08A26",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "cost_category",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "0170012C-B492-4B0D-8DFC-A846C2432623",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "status",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F8C747B6-4A23-4DD2-8548-7450C794D881",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "65E2E950-34BE-49A8-98A3-9EB13E974B8F",
- "defKey": "hour_rate",
- "defName": "小时费率表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "year",
- "defName": "年度",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 4,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B7294178-FFFD-44E1-9096-43DA30382968",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "cost_center_code",
- "defName": "成本中心代码",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "67E63272-228B-4A7B-A9ED-562B24F20D0A",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "factory",
- "defName": "工厂代码",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3A505DE2-B4D2-4203-AAC0-FA6D90EDC1A6",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "labor_hour_rate",
- "defName": "人工小时费率",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 13,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "0621221F-577F-410E-9099-AD251DAEC448",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "equip_hour_rate",
- "defName": "设备小时费率",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 13,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8D540C7B-955B-45E2-8F7A-8D2F09ADBCEA",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "fuel_hour_rate",
- "defName": "燃动小时费率",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 13,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "350088D8-058E-484B-9D64-828870A3E635",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "auxiliary_hour_rate",
- "defName": "辅料小时费率",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 13,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "061734C8-8B5B-442D-8009-F7CFC44D3480",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "other_hour_rate",
- "defName": "其他小时费率",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 13,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "2A092CB8-230B-411D-9926-9006108D302F",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "effective_date",
- "defName": "生效日期",
- "comment": "",
- "domain": "",
- "type": "DATE",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "4D1F80F6-B100-46BD-AB14-46E781970172",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "expiration_date",
- "defName": "失效日期",
- "comment": "",
- "domain": "",
- "type": "DATE",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "629B4427-C314-46B4-A5EF-9F9BCC72CE44",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "guardian",
- "defName": "维护人员",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B22F9668-187E-4910-B315-93BD87BC904E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "maintenance_time",
- "defName": "维护时间",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "799A2E1C-891C-4C1A-B831-2488ED50F4BC",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "reserve_1",
- "defName": "预留字段1",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "924EB0A3-3B36-49EF-B6E1-3175E207CD22",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "reserve_2",
- "defName": "预留字段2",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 6,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "11EF41CC-1975-421B-A3CC-C703DCA1BE9F",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "id",
- "defName": "主键",
- "comment": "",
- "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "91AC3D31-CB32-454B-B563-C05155DFBC7F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "0C137DAC-F352-41FC-83D4-852123619E5C",
- "defKey": "sap_subfactory",
- "defName": "同步SAP工厂信息",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "id",
- "defName": "主键",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "894B4818-0F6B-4ABC-80C3-EDEC93A699F0",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "company_code",
- "defName": "公司代码",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6B3D866D-6236-44F2-A78C-F60CD70D1971",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "factory",
- "defName": "工厂代码",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "92D955D7-1331-428E-B725-66F8203F9225",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "1271309E-2310-435D-B129-DC3F72BBA013",
- "defKey": "diy_version_new",
- "defName": "物料号最新的版本号",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "id",
- "defName": "主键",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "2244E62A-31B7-4046-9B5A-04D57AA6234D",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "projectName",
- "defName": "项目名称",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "44F69E4B-9E02-40CE-A66D-690B5F3D8E57",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "stage",
- "defName": "阶段",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3E8FAD6B-B69F-4F76-889D-DC491B3C779C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "date",
- "defName": "日期",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B62BC5EC-DE88-4D1A-B2AD-C2A6C7015CE7",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "version",
- "defName": "版本号",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "EEBE305F-AB80-43B1-A620-33BD97232162",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "werks",
- "defName": "工厂",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F0B74C38-D122-426E-9967-A019E9C3FC0C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "matnr",
- "defName": "物料号",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "73E27B7A-9823-411B-A52E-18428B09C45C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "status",
- "defName": "状态",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "83603E78-9A0D-43EF-A75B-A11B3809060D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "createdTime",
- "defName": "创建时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CCAAB7F6-3A10-407E-948E-04C9E691C23D",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "finishTime",
- "defName": "完成时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6C3F517D-46A7-43CC-80D1-2C9DEC854725",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "batchname",
- "defName": "批次",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "2D3DA37F-EDC1-4DE4-AC02-8FF542EB49C7",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "userid",
- "defName": "用户id",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A071A8A1-1840-4D15-A38B-245895B95FA2",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "graphicnumber",
- "defName": "图号",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1038828B-161A-4DFF-ADE4-DCAEFDD60D1C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "projectPspid",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8C4F8BA2-1D57-4A3F-B750-DBF1D32D4450",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "projectCate",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3A20DC52-B11A-4270-BF81-302A75F86334",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "keylost",
- "defName": "",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8E90BC94-31A1-426B-9932-8F6390B8FD21",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "mknum",
- "defName": "",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "ADC8DB96-7D3D-45B2-8330-88CAD4766C88",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "matnr",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "B61421F5-E4B2-41B8-8A69-6388C765522C",
- "fieldDefKey": "73E27B7A-9823-411B-A52E-18428B09C45C"
- }
- ],
- "id": "68BA8FC5-24D4-43EC-A8BD-246FD00E6CDF"
- },
- {
- "defKey": "projectName",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "68B13AA4-882A-419A-9700-7F374F53CCA8",
- "fieldDefKey": "44F69E4B-9E02-40CE-A66D-690B5F3D8E57"
- }
- ],
- "id": "FE00E4C5-C452-47AF-89C4-0EC4B3C38FEC"
- },
- {
- "defKey": "stage",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "A742D85E-6452-49B8-B7A1-3830E1AF3D7B",
- "fieldDefKey": "3E8FAD6B-B69F-4F76-889D-DC491B3C779C"
- }
- ],
- "id": "067B888B-EC47-4035-B2B1-18F3116AD387"
- },
- {
- "defKey": "version",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "356E024E-D277-42E0-B754-3C27DFE73C18",
- "fieldDefKey": "EEBE305F-AB80-43B1-A620-33BD97232162"
- }
- ],
- "id": "5E5131A7-531C-497A-88CB-E93AFABCAC10"
- },
- {
- "defKey": "werks",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "BE36E2BE-9FFD-4BD4-A687-D9A992A3B889",
- "fieldDefKey": "F0B74C38-D122-426E-9967-A019E9C3FC0C"
- }
- ],
- "id": "63D92237-2877-4AE3-A01E-64F5F51CAAFE"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "FDB6475C-445C-40D7-A2E7-AE1392BD75D7",
- "defKey": "sys_dict_data",
- "defName": "字典数据表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "dict_code",
- "defName": "字典编码",
- "comment": "",
- "domain": "",
- "type": "BIGINT",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "FEED7E2A-5221-452A-A815-5EA98492BEDB",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_sort",
- "defName": "字典排序",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "0",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D4745119-96BC-41A3-9BAA-5D3104B5483C",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_label",
- "defName": "字典标签",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "73FE5FBD-9454-4B5B-AE16-85C93BE1013F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_value",
- "defName": "字典键值",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "13CF3B5E-575F-4E4B-902E-6627AC12410F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_type",
- "defName": "字典类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "DDC8F344-BE93-4676-A40C-C76EFB7D8F9D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "css_class",
- "defName": "样式属性(其他样式扩展)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "C4989163-0CF7-4BE5-88A6-A70310EA6992",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "list_class",
- "defName": "表格回显样式",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E7A2B940-FA0F-43D3-A360-524A0D860A1D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "is_default",
- "defName": "是否默认(Y是 N否)",
- "comment": "",
- "domain": "",
- "type": "CHAR",
- "len": 1,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "'N'",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CFD012FA-79C9-4053-BED2-D5F756601572",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "status",
- "defName": "状态(0正常 1停用)",
- "comment": "",
- "domain": "",
- "type": "CHAR",
- "len": 1,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "'0'",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CB0752C8-CEC3-4F0A-89B1-1AE20B8F4968",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "create_by",
- "defName": "创建者",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 64,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "EE91C7C2-98D5-4A94-86FD-D1B969AE6EF8",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "create_time",
- "defName": "创建时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "20FAA003-BC26-4D1A-9BCF-A2615C8FFB5C",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "update_by",
- "defName": "更新者",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 64,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E7777E3B-52A8-4D8E-83A4-EE30FD9E7A47",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "update_time",
- "defName": "更新时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6D27918B-2ED7-4DF5-AFD8-6EC92D5E4053",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "remark",
- "defName": "备注",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 500,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A644FBD0-A87B-4059-9147-8A65EE5535B2",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49",
- "defKey": "sys_dict_type",
- "defName": "字典类型表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "dict_id",
- "defName": "字典主键",
- "comment": "",
- "domain": "",
- "type": "BIGINT",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "2864CC80-6949-4C21-809A-53003E91BDF8",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_name",
- "defName": "字典名称",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "71A78792-B4DD-432F-B636-E1376EFC2C86",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dict_type",
- "defName": "字典类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6E210E32-73F7-470D-880B-CE5D4A959652",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "status",
- "defName": "状态(0正常 1停用)",
- "comment": "",
- "domain": "",
- "type": "CHAR",
- "len": 1,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "'0'",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F0CBB590-1BBA-4E38-9850-3BB064F008C2",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "create_by",
- "defName": "创建者",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 64,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "34DB7AEC-5048-47A7-9F8F-AAFB15D387C5",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "create_time",
- "defName": "创建时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "7436C7CA-53F7-4D54-88CF-E30135945EF1",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "update_by",
- "defName": "更新者",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 64,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "DEDD8E11-31EA-4D18-A272-D8126090DD04",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "update_time",
- "defName": "更新时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "35339139-B2AD-4E26-BE49-FD973FA944FB",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "remark",
- "defName": "备注",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 500,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "7E6A9ABC-F1B5-434E-8A88-AFA76836F474",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "dict_type",
- "unique": true,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "5780595B-CF9F-45BC-B2ED-671B7930E9EF",
- "fieldDefKey": "6E210E32-73F7-470D-880B-CE5D4A959652"
- }
- ],
- "id": "D5C9FC5C-3A0C-4B51-A325-B0BC5E0C1CE8"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "7D1DEA8A-7373-4659-B1A7-B0E72416EDA7",
- "defKey": "material",
- "defName": "物料表,该表内容从sap里抓取获得",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "factory",
- "defName": "工厂代号(工厂id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F2B3E4D0-1A13-44E0-AD48-10D4AF232781",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "material_number",
- "defName": "物料号",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 54,
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "BADBBE3C-453A-47BD-A255-3A2DE31ADDE5",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "material_type",
- "defName": "物料类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 15,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "485350D5-E666-46F8-B466-C83BDF026B36",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "product_category",
- "defName": "产品类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "4C4B6C92-49BE-4E9B-88AD-D7793AD854D2",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "product_name",
- "defName": "物料名称",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 120,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3251CEF5-A600-4CA4-9E41-A523F9B93D49",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "norms",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 210,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9E52044E-B5F5-485C-AAD7-C1599C1E230A",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "manufacturing_type",
- "defName": "制造类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F4309FEF-1AB9-4D28-A84B-7C007AD1614C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "inventory_unit",
- "defName": "库存单位",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "175E90FD-3C70-4CBB-AF86-76824E14D07E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "purchasing_unit",
- "defName": "购买单价",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 60,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9A5908FE-AF1E-447A-B3AF-8572BD5F95AB",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "old_material_group",
- "defName": "所属旧物料组",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "DD057882-55E4-483E-8341-E410EADE15F9",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "standard_cost",
- "defName": "标准成本",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "16A0AAF5-C15D-4BC3-A963-0122A49AEDA0",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "abc_level",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "56133029-8ADA-4AF0-9B6B-54FD99817269",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "effective_state",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "7A70E0A5-37EB-4B82-ABD4-735B45F27441",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "profit_center",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "38041E3A-1584-4559-926E-4CA0CE5EC744",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "iswbs",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "AB65B9E4-26FE-4826-A59C-6E7D606EEC95",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "graph_number",
- "defName": "图号",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E6B036D1-0DC2-48AA-B679-C11312FEFE21",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "mtbez",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 80,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "98F2AC12-1185-4AFE-97D2-FDF6D6D7A5B1",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "wgbez",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 80,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "7615D684-08BE-460C-9D4A-3C1AABEF2A9E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "sobsl",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "BC35E308-2D86-4CC5-8AC4-A3FF1759F97E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "factory",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "F710200A-3C28-4D7A-9D40-53081AD9B4CE",
- "fieldDefKey": "F2B3E4D0-1A13-44E0-AD48-10D4AF232781"
- }
- ],
- "id": "EC09805C-86B4-415B-921D-E173A8E7F11D"
- },
- {
- "defKey": "materialNumber",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "6241323A-7DA4-4229-BD76-6D2D2F9CCB52",
- "fieldDefKey": "BADBBE3C-453A-47BD-A255-3A2DE31ADDE5"
- }
- ],
- "id": "A8CC9685-8808-48A7-95D7-60CEDA5848F8"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "236F8414-6100-429D-8DEC-A223B0BDA052",
- "defKey": "avl_project",
- "defName": "AVL项目",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "mpvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CE881FE8-29DB-4676-ACAB-525BCEC8F1DC",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "code",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E1714B7E-289C-45CC-9286-58482060DD1A",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "prps_posid",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "7E953CFE-3A5F-4E83-B9F0-79914766D827",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "factory",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "531CCF0B-0723-485D-B0BD-EE75AABA552D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "material_number",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "13EC0E8D-4C11-499A-8185-8CAC56C318E3",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "mnvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "BF6CF3EE-81FD-4F7C-A801-BC17C44904F4",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "ptname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "754E892C-06A1-4074-B9DD-1634AD3B29D2",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "snvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6CA5ED47-41A0-4A5D-A4F1-B6895C7BC3E6",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "resb_bdmng",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DOUBLE",
- "len": 255,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B18DD194-6A50-4AF1-B3E6-C859C0889653",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "prps_pspnr",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "81113555-896B-4020-8355-869AF729C071",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "product_name",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8E58B44F-C0A9-43EA-B506-725768AB1CAB",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "graph_number",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6092E10E-002C-4FDD-8262-21BA22E58A16",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_version_number",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "71E444DB-7EEB-41E2-968C-31CBA26E425D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_material_cost_total",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E0E36FBE-EF12-4576-B11F-027B4CC448B4",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_material_cost_accumulated_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D8D63239-9252-44DF-9A6B-220087D98760",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_total_standard_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1946D1E3-1944-48AF-9884-2954BB5BA627",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_labor_cost_total_unit_product_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3EA74F84-2EEF-41AF-AB7B-A18D6AD4576B",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_material_cost_total_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "83705511-37D9-4345-A9C4-43F8909C8F81",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_material_cost_total_edcu",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "88EA6551-4EEF-465F-9C2C-5115928C2E5B",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_total_standard_cost_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DOUBLE",
- "len": 22,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8A709E17-C9C9-44AE-B494-7E878A810F1E",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_version_number",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "4F0E4D8C-1D1C-4743-86E6-E4896006396D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_material_cost_total",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D67C50FA-D192-4112-A907-346274D908BC",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_material_cost_accumulated_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1BC655B5-FCC9-44FB-A6EE-654F78584F8D",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_total_standard_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "ADEFB32A-829E-47DD-BF5A-8EFC1DCFA46F",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_labor_cost_total_unit_product_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "16FEA032-1D87-480B-8AFF-F523C3D1E8F0",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_material_cost_total_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1816C315-27F2-4512-9650-AE7765B25FE3",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_material_cost_total_edcu",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "C79DCDF4-37BD-4D46-A975-21984C945D77",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_total_standard_cost_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DOUBLE",
- "len": 22,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "432611A9-249D-49CE-84E3-6E717444E743",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_version_number",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A05AE17F-2A86-426B-97A3-BCE3F87FC1E0",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_material_cost_total",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "44753482-08A5-4647-8231-DD694135DF19",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_material_cost_accumulated_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "5FF9B3F7-1B73-400A-8409-B2B69EB4B168",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_total_standard_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "C00999A5-FA00-48E7-AC49-438BE151BD6F",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_labor_cost_total_unit_product_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B0C0D1FF-F4C5-4B42-AE0F-9A8C6F5D0884",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_material_cost_total_em",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "EE7A6FFC-2382-4FBA-9542-93F2AD2C22C9",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_material_cost_total_edcu",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1B62BA2D-CCEE-4683-900B-988689AF4283",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_total_standard_cost_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DOUBLE",
- "len": 22,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CDAD5BF3-CCA3-40A5-9446-8007FA4D5BF2",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "crm_proj_scmingxi_num",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "DA9DAF78-F236-4245-A1E0-587D1EEE3D70",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "crm_proj_zz3_stitle",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A3F98CDA-B948-4C04-B522-8544053F7F5C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "crm_proj_Shichangyuce_jiaoriqi",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "5229E8E1-07A7-4FB3-BAA8-CB610541D7EA",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "sap_sale_VBPA_PERNR",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "4EE717A5-1A2D-4D90-9BD3-96AA4D299B34",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "crm_proj_org_employee_sname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "077F3240-3952-4EC8-9EE6-A53DB8FE38E7",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "sap_log_shipped_qty",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DOUBLE",
- "len": 22,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "52A0BC33-E49F-4818-ACC1-E84B9CF5A596",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "crm_proj_account_sname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "BE132171-DAFB-4683-997C-DB7405873920",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "sap_log_ship_to_name",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F33F68D4-9402-4A96-BE2D-E5C55474E9C2",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "id",
- "defName": "",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "12E787AD-1EF6-4547-80C1-9D626D6CEE8E",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "qiname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "384DEDA1-EF05-4B5C-831B-7A8F12854CB9",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "proj_zzls",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "FBCAA72E-FAB0-4198-A044-007887E9AFC8",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "prps_post1",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CB8FE5D9-4C2A-4CBC-BAE2-3A7AFBC3B5D0",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "proj_verna",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3D29AE55-DF54-4835-865A-019302F16503",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_total_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1A857BF2-0C7A-43C7-8BF7-08A16F177CE0",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "A_unit_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6A6FA6DE-CC5F-4C9E-8193-C9067D4A5452",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_total_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B5A8DDB8-796D-4C78-B71F-5D0376D85ACC",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "B_unit_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "19463F68-54C7-44AB-A242-AE4372E99719",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_total_lie",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3E9F8AE9-F6C4-4DF1-9D2B-79691B6D61F9",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "C_unit_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 16,
- "scale": 4,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "158FD5D2-0527-4382-9CBA-9778D48E48B2",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "code",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "8E038BB9-DFAB-4043-82A3-55BC2A43DFD9",
- "fieldDefKey": "E1714B7E-289C-45CC-9286-58482060DD1A"
- }
- ],
- "id": "5C7355F1-FFE0-4FF6-B6FD-7A8D262DBDD5"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "BC5A6F14-212E-45C2-9D41-DC1F439AC619",
- "defKey": "mdm_project",
- "defName": "MDM项目",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "code",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "27CF4B08-8915-4A63-AFAD-2E8731206725",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "ptvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "AFD8FC89-6141-4341-A284-1EB7FD555F94",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "ptname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B5987D38-9752-444D-95DC-27F97EA91D9F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "mpvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9C8CDEF3-2896-40BC-A143-BF034A8C5D8A",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "mnvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9D356679-CFFB-4EEF-A077-0CCBDB361836",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "snvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "135538D2-344C-4187-AFBE-81EB16817278",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "ccvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6508D50D-6E68-427D-BBF5-3DACCACA4744",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "nvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1FBBF001-F985-4D18-ACDE-52FE5611092C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "buvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "1DB0DA93-2900-4649-BC95-67D62AA6AD1C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "buname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "65E76D0F-6D21-4BE1-B340-F14466EC82B0",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "divalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "FB8C8AC6-6633-475A-AE49-98E11C7C1930",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "qivalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A3FA0C86-AF0E-4B05-8A10-E520AEC3EFAC",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "qiname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F2E40A12-F242-4B10-9FDA-DA73ABD06179",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dqvalue",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B000D214-9D5D-4916-901D-709D9B6B2E3A",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "dqname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "730770B3-36F0-4848-ADDC-AB0182744CF3",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "billname",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E058648B-D1C4-4F10-B264-9C6759F423BF",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "starttime",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "93581770-00F3-428A-BD56-0124F07699F0",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "4438394B-60D7-4566-91D1-4A14E2E16314",
- "defKey": "c7525cost",
- "defName": "7525价格表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "year",
- "defName": "年份",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 4,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3A22605A-0317-44DD-8710-50A0E296C320",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "material_number",
- "defName": "门控料号(物料id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 18,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D5BC39FE-0C18-4F6B-B44A-14FA3DCE3BB6",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "zzggxh",
- "defName": "物料规格信息",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3905485A-E2F7-4B8F-9B8D-13ADC9CD2B27",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "price_7525",
- "defName": "价格",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 15,
- "scale": 2,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "0.00",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8A94BFD6-1F9A-4376-809C-4668AC043364",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "id",
- "defName": "id",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": true,
- "autoIncrement": true,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9F4F7CF7-861E-41AB-94F0-AE30EDAF0446",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "id",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "2AFF0351-3C7C-444F-929B-ADD47665DA7C",
- "fieldDefKey": "9F4F7CF7-861E-41AB-94F0-AE30EDAF0446"
- }
- ],
- "id": "DEE61AE2-C71B-4077-9E4D-6577E025CA0E"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "9D89F846-66FC-42B0-B655-7083874263E1",
- "defKey": "latest_purchase_price",
- "defName": "最近采购价格表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "material_number",
- "defName": "门控料号(物料id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "52FFA4F5-50D7-4CFF-B51B-AC692AE44215",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "name",
- "defName": "产品名称",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 15,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E15CCC39-CBE4-4E7A-B775-E977F3A93F6F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "norms",
- "defName": "规格",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 15,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "74CABA30-81CC-41CC-89EF-A168641912AE",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "unit",
- "defName": "单位",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "14ABF3E1-E0E5-4928-AF72-044C6EF217E9",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "latest_Invoice_no",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "ADCDC3F3-32CC-442B-9ADD-45D65EDC9CFF",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "latest_invoice_date",
- "defName": "估算日期",
- "comment": "",
- "domain": "",
- "type": "DATE",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9AC219B4-85A0-4D3C-8C78-14D562BF5166",
- "baseType": "",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "latest_invoice_supplier",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E0DD3EB2-E94E-4D91-AC09-0EA67C39FEED",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "latest_invoice_price",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "84585C2D-C31B-423B-A33A-BF2F7EE9E21F",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "unit_price_without_tax",
- "defName": "不含税价格",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CDF2E069-6D95-40D0-87B5-46DBDB9FB1B3",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "inter_exam_cost",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "FA344283-0FC8-4643-AAD7-939A18F0B9A6",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "factory",
- "defName": "工厂代号(工厂id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "96289761-97D9-4D2A-AAD0-1DF1DA955E57",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "guardian",
- "defName": "维护人",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 50,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3BF0A59D-D45A-4872-91AA-6E02AE83A590",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "maintenance_time",
- "defName": "维护时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "8532E9C1-4603-40AD-BB00-31DE4BBD7D5A",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "isadd",
- "defName": "",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "0",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "65A6114C-4EC5-4E80-BE3F-F35DF10E8F5F",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "purchase_type",
- "defName": "采购类型",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A6FB5AB3-D128-48E2-99B4-8285422362F1",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "isinvalid",
- "defName": "是否启用",
- "comment": "",
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "0",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "83DE4E95-B02E-4AC0-BEA9-E5405F9A1D24",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [
- {
- "defKey": "factory2",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "391B736A-5711-4A6C-B4BF-B8328CEC2D1E",
- "fieldDefKey": "96289761-97D9-4D2A-AAD0-1DF1DA955E57"
- }
- ],
- "id": "F4CA52D8-5FC0-4514-AE34-557DB4C96154"
- },
- {
- "defKey": "key_vaild",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "34A90113-5035-4CC0-A0FA-56738E435BEC",
- "fieldDefKey": "83DE4E95-B02E-4AC0-BEA9-E5405F9A1D24"
- }
- ],
- "id": "F6C1E683-7991-47F7-BA4D-D63E11371D5A"
- },
- {
- "defKey": "materialNumber2",
- "unique": false,
- "defName": null,
- "comment": "",
- "fields": [
- {
- "ascOrDesc": "A",
- "id": "63FAFD76-0001-4EFC-8F51-032084749F0D",
- "fieldDefKey": "52FFA4F5-50D7-4CFF-B51B-AC692AE44215"
- }
- ],
- "id": "8F771AC7-C324-4DAD-8C24-654C5E7B56DE"
- }
- ],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "38DC4808-C376-4C0A-9E1D-9BE756B68A7D",
- "defKey": "produce_batch",
- "defName": "生产批量设置表",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "material_number",
- "defName": "门控料号(物料id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "167E3EE8-5483-4DF5-B45D-E6E3EC795B6D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "factory",
- "defName": "工厂代号(工厂id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D917286B-79A8-48DF-A60D-9E9DE4089C2F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "batch",
- "defName": "生产批量",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 20,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "0.000",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "9182E958-FC7A-4F42-981E-02B4B7ED65A2",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "guardian",
- "defName": "维护人(用户id)",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 30,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "419A387E-769A-42FC-8805-73E19549DA2E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "maintenance_time",
- "defName": "维护时间",
- "comment": "",
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A0DE46AE-072D-4CEE-97D4-E7ADFE699401",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "aufnr",
- "defName": "",
- "comment": "",
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "type": "",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "F5B8C8BC-66CC-40E4-9A71-EA97CAF45FF6",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- },
- {
- "id": "7891EB10-2F25-42A4-AC94-980756D9F709",
- "defKey": "product_process_maintenance",
- "defName": "标准成本模型-产品工序",
- "comment": "",
- "properties": {},
- "fields": [
- {
- "defKey": "factory",
- "defName": "维护人",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "820E9FDC-AE16-4B76-8C51-EC8A2B71A051",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "main_part_number",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "D479F4A5-B62D-43D1-9166-9CC0BCAFEE4E",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "process_route_number",
- "defName": "工艺路线号",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "11445EE1-9840-4D63-8D2E-72BB4D84344F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "serial_number",
- "defName": "序号",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "0F010A63-F7EE-4282-AB72-24527A7B8333",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "process_name",
- "defName": "工序名称",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 80,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "60227289-4099-4B31-907E-630014FDF1C8",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "cost_center_code",
- "defName": "成本中心代码",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A43A43A3-CA8F-4FD5-895E-8892D1192C10",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "prepare_hour",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "C3A3FF08-2489-43F8-AA41-B6D208D4B041",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "labor_hour",
- "defName": "人工工时",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "4FA3644E-7239-4699-ADFF-37E2F10AB255",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "machine_hour",
- "defName": "设备工时",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "AE6379E1-C229-4051-90E7-E82BD29253D8",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "burning_hour",
- "defName": "燃动工时",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "A6FC4B23-A4EE-466D-BADC-BE196E0AE49B",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "auxiliary_hour",
- "defName": "辅料工时",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "CD6F866D-5E43-4C90-BE93-B77B33BEA643",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "other_hour",
- "defName": "其他工时",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "0E208726-ACA6-47B3-A18A-2662CF8EA899",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "hour_type",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 6,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "3EA597FD-B184-4D7F-9ABE-3DAA1F3C04FB",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "version_number",
- "defName": "版本",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 100,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E4D67C7F-83A1-445A-8099-50953B0DE6A3",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "guardian",
- "defName": "维护人",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 10,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "681B88F7-9E47-48A5-B920-582008B12826",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "maintenance_time",
- "defName": "维护时间",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "6DFCBEE0-02B1-4728-9D4C-710BC594BBE3",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "reserve_1",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 20,
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "071B3010-70EA-4EAC-9A8C-074DA2861DEA",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "reserve_2",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "DECIMAL",
- "len": 10,
- "scale": 3,
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "B06A30C0-3ECB-4D3D-B672-3048C31A3989",
- "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- },
- {
- "defKey": "job_code",
- "defName": "",
- "comment": "",
- "domain": "",
- "type": "VARCHAR",
- "len": 40,
- "scale": "",
- "primaryKey": true,
- "notNull": true,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "refDict": "",
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "attr4": "",
- "attr5": "",
- "attr6": "",
- "attr7": "",
- "attr8": "",
- "attr9": "",
- "id": "E578A939-FE75-4B59-AB84-9D499C9FD1C8",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "extProps": {},
- "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
- }
- ],
- "indexes": [],
- "sysProps": {
- "nameTemplate": "{defKey}[{defName}]"
- },
- "headers": [
- {
- "freeze": false,
- "refKey": "hideInGraph",
- "hideInGraph": true
- },
- {
- "freeze": true,
- "refKey": "defKey",
- "hideInGraph": false
- },
- {
- "freeze": true,
- "refKey": "defName",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "primaryKey",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "notNull",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "autoIncrement",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "domain",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "type",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "len",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "scale",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "comment",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "refDict",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "defaultValue",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "isStandard",
- "hideInGraph": false
- },
- {
- "freeze": false,
- "refKey": "uiHint",
- "hideInGraph": true
- },
- {
- "freeze": false,
- "refKey": "extProps",
- "hideInGraph": true
- }
- ],
- "correlations": []
- }
- ],
- "views": [],
- "dicts": [
- {
- "defKey": "Gender",
- "defName": "性别",
- "intro": "",
- "items": [
- {
- "defKey": "M",
- "defName": "男",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "1",
- "id": "3622D417-DA1A-408F-BEE1-11D328D534A0"
- },
- {
- "defKey": "F",
- "defName": "女",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "2",
- "id": "380A0790-64A7-481E-831C-32F7BEE1502B"
- },
- {
- "defKey": "U",
- "defName": "未知",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "3",
- "id": "FA239F4D-1276-40D9-B230-F66BD35C3C27"
- }
- ],
- "id": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D"
- },
- {
- "defKey": "Political",
- "defName": "政治面貌",
- "intro": "",
- "items": [
- {
- "defKey": "10",
- "defName": "共青团员",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "61F3145A-7599-4CCB-B298-D5EE788107BE"
- },
- {
- "defKey": "20",
- "defName": "中共党员",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "ED16D25A-AB2F-4FA0-BB48-2B9031FA28C4"
- },
- {
- "defKey": "30",
- "defName": "民主党派",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "0FB7974A-AE11-438F-86E0-B163316F9272"
- },
- {
- "defKey": "40",
- "defName": "群众",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "7D247234-7E97-45B1-8C56-4A17A370854A"
- },
- {
- "defKey": "90",
- "defName": "未知",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "DA65D752-AF04-4A11-81D8-14A38692A64A"
- }
- ],
- "id": "06EED564-BBA9-4747-8D73-AF809A330CB8"
- },
- {
- "defKey": "Marital",
- "defName": "婚姻状况",
- "intro": "婚姻状况的码表",
- "items": [
- {
- "defKey": "UNMARRIED",
- "defName": "未婚",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "1",
- "id": "20EE81BC-74EE-47DA-A56F-9663B23F44BD"
- },
- {
- "defKey": "MARRIED",
- "defName": "已婚",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "2",
- "id": "4DCA10A8-417E-4A8D-BDF6-0A278C060ADC"
- },
- {
- "defKey": "WIDOWED",
- "defName": "丧偶",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "3",
- "id": "826062A7-057C-4892-B338-06459F5B808D"
- },
- {
- "defKey": "DIVORCE",
- "defName": "离婚",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "4",
- "id": "B23200B4-5E59-4F5E-A779-D981A040FA32"
- },
- {
- "defKey": "UNSPECIFIED",
- "defName": "未说明",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "5",
- "id": "A7928FE2-349A-4702-9682-2EF7205E077B"
- }
- ],
- "id": "EA1587B7-3954-437A-BFE0-FCB0453BCABA"
- },
- {
- "defKey": "StudentStatus",
- "defName": "学生状态",
- "intro": "",
- "items": [
- {
- "defKey": "Normal",
- "defName": "正常",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "1",
- "id": "E9CA1CC9-8851-4F6B-86BA-B9CF0E44EB73"
- },
- {
- "defKey": "Graduated",
- "defName": "毕业",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "2",
- "id": "DEC51D7C-99DF-430C-817D-0499862D3CCC"
- },
- {
- "defKey": "Studied",
- "defName": "肄业",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "3",
- "id": "8853D6B6-75D3-4479-9006-FC731CD85B20"
- },
- {
- "defKey": "Stop",
- "defName": "休学",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "sort": "4",
- "id": "C74BA8CF-1DC6-4C79-BAAC-F11EB9C6AF01"
- }
- ],
- "id": "4642BC5F-02EE-4E17-A60C-CF22F86A0282"
- },
- {
- "defKey": "GBNation",
- "defName": "民族",
- "intro": "",
- "items": [
- {
- "defKey": "01",
- "defName": "汉族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "9224DF53-F7C0-447D-B8ED-0A39F799EE19"
- },
- {
- "defKey": "02",
- "defName": "蒙古族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "D57818E3-9206-45BB-AE79-27C64A4AB80F"
- },
- {
- "defKey": "03",
- "defName": "回族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "0A1A3CA9-6D68-4E15-8BD0-9A2FF428D804"
- },
- {
- "defKey": "04",
- "defName": "藏族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "7CC6B6BE-47EA-460E-ACFA-C377468DEA11"
- },
- {
- "defKey": "05",
- "defName": "维吾尔族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "A666D51F-D249-4FAC-B1F3-78C371836CB3"
- },
- {
- "defKey": "06",
- "defName": "苗族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "A0C9E1BA-D87B-4695-ADFA-287FDA32BB5A"
- },
- {
- "defKey": "07",
- "defName": "彝族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "149B5B9E-C1D1-4790-8CCF-0ED5F4B25172"
- },
- {
- "defKey": "08",
- "defName": "壮族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "F9A3E65C-BF4D-4C6B-ADB7-8C9CF0487360"
- },
- {
- "defKey": "09",
- "defName": "布依族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "14F17DE4-E96A-460B-98A6-F84EC8CF9885"
- },
- {
- "defKey": "10",
- "defName": "朝鲜族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "8A81AB18-B1BF-4797-A6E5-DEDB2C6566B0"
- },
- {
- "defKey": "11",
- "defName": "满族",
- "intro": "",
- "parentKey": "",
- "enabled": true,
- "attr1": "",
- "attr2": "",
- "attr3": "",
- "id": "7D460947-FBD2-4E4D-8366-3B38DCAF09D1"
- }
- ],
- "id": "115EDEFC-0323-410E-81AB-CCAB8879837A"
- },
- {
- "defKey": "GradeLevel",
- "defName": "受教育程度",
- "sort": "",
- "intro": "",
- "items": [],
- "id": "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
- }
- ],
- "viewGroups": [
- {
- "defKey": "base",
- "defName": "基础数据维护",
- "refEntities": [
- "15372773-A008-4A5F-B23E-75E100F99B47",
- "65E2E950-34BE-49A8-98A3-9EB13E974B8F",
- "FDB6475C-445C-40D7-A2E7-AE1392BD75D7",
- "7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49",
- "236F8414-6100-429D-8DEC-A223B0BDA052",
- "BC5A6F14-212E-45C2-9D41-DC1F439AC619",
- "4438394B-60D7-4566-91D1-4A14E2E16314",
- "9D89F846-66FC-42B0-B655-7083874263E1",
- "38DC4808-C376-4C0A-9E1D-9BE756B68A7D"
- ],
- "refViews": [],
- "refDiagrams": [],
- "refDicts": [
- "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
- "06EED564-BBA9-4747-8D73-AF809A330CB8",
- "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
- "4642BC5F-02EE-4E17-A60C-CF22F86A0282",
- "115EDEFC-0323-410E-81AB-CCAB8879837A",
- "9E7C9788-B805-4C7D-8531-FD1D9DC79B05"
- ],
- "id": "2DA923AD-EB8E-4D32-BBCE-E3781E01B9F0",
- "refLogicEntities": []
- },
- {
- "defKey": "sap",
- "defName": "SAP导出数据",
- "refEntities": [
- "0C137DAC-F352-41FC-83D4-852123619E5C",
- "1271309E-2310-435D-B129-DC3F72BBA013",
- "7D1DEA8A-7373-4659-B1A7-B0E72416EDA7",
- "7891EB10-2F25-42A4-AC94-980756D9F709"
- ],
- "refViews": [],
- "refDiagrams": [],
- "refDicts": [],
- "id": "65FC6BC3-1799-4797-BFFD-24BAAFBABC21",
- "refLogicEntities": []
- },
- {
- "defKey": "cost",
- "defName": "卷积",
- "refEntities": [],
- "refViews": [],
- "refDiagrams": [],
- "refDicts": [],
- "id": "401851EF-F256-40D3-87FD-420C871DEFFF",
- "refLogicEntities": []
- },
- {
- "defKey": "cost-compare",
- "defName": "成本对比",
- "refEntities": [],
- "refViews": [],
- "refDiagrams": [],
- "refDicts": [],
- "id": "78EA1BE7-E8DA-4B0C-8EA3-6930F9D08558",
- "refLogicEntities": []
- },
- {
- "defKey": "excavate",
- "defName": "成本挖掘",
- "refEntities": [],
- "refViews": [],
- "refDiagrams": [],
- "refDicts": [],
- "id": "8C87C2BA-BBDF-43A2-A8D6-0E35AE171A35",
- "refLogicEntities": []
- }
- ],
- "dataTypeMapping": {
- "referURL": "",
- "mappings": [
- {
- "defKey": "string",
- "id": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "defName": "字串",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "VARCHAR",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "VARCHAR2",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARCHAR",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "VARCHAR",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "VARCHAR",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "VARCHAR2",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "VARCHAR",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "VARCHAR",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
- "797A1496-D649-4261-89B4-544132EC3F36": "String",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
- "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "VARCHAR",
- "483F9346-C99E-4014-A1D2-A554606BD8A3": "VARCHAR",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "VARCHAR"
- },
- {
- "defKey": "double",
- "id": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "defName": "小数",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DECIMAL",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DECIMAL",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DECIMAL",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "NUMERIC",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DECIMAL",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DECIMAL",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "NUMERIC",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "NUMERIC",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DOUBLE",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "REAL",
- "797A1496-D649-4261-89B4-544132EC3F36": "Double",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Double",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Double",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "decimal",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "double",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "*float64",
- "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "f64",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DECIMAL",
- "483F9346-C99E-4014-A1D2-A554606BD8A3": "DECIMAL",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "NUMERIC"
- },
- {
- "defKey": "int",
- "id": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "defName": "整数",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "INT",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "INT",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "INT",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "INTEGER",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "INT",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "INTEGER",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "INTEGER",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "INT4",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "INT",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "INTEGER",
- "797A1496-D649-4261-89B4-544132EC3F36": "Integer",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Integer",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Integer",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "float",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "int",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "*int",
- "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "i32",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "INTEGER",
- "483F9346-C99E-4014-A1D2-A554606BD8A3": "INT",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "INTEGER"
- },
- {
- "defKey": "date",
- "id": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "defName": "日期",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DATETIME",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DATE",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DATETIME",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TIMESTAMP",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DATE",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DATE",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "DATE",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "DATE",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "DATETIME",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NUMERIC",
- "797A1496-D649-4261-89B4-544132EC3F36": "Date",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Date",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Date",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "DateTime",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "timestamp",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "*time.Time",
- "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "DateTime<Local>",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DATE",
- "483F9346-C99E-4014-A1D2-A554606BD8A3": "DATETIME",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "DATE"
- },
- {
- "defKey": "bytes",
- "id": "D516E75B-90F5-4741-B9B3-A186A263F04C",
- "defName": "二进制",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "BLOB",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "BLOB",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARBINARY",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "BYTEA",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "BLOB",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "BLOB",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "BYTEA",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "BYTEA",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "BINARY",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NONE",
- "797A1496-D649-4261-89B4-544132EC3F36": "byte[]",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "byte[]",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "byte[]",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "binary",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "binary",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "[]byte",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "BYTE",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "BYTEA"
- },
- {
- "defKey": "largeText",
- "id": "B17BDED3-085F-40E1-9019-3B79CF2BF075",
- "defName": "大文本",
- "29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "TEXT",
- "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "CLOB",
- "BFC87171-C74F-494A-B7C2-76B9C55FACC9": "TEXT",
- "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TEXT",
- "89504F5D-94BF-4C9E-8B2E-44F37305FED5": "CLOB",
- "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "CLOB",
- "592C7013-143D-4E7B-AF64-0D7BF1E28230": "TEXT",
- "77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "TEXT",
- "11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
- "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
- "797A1496-D649-4261-89B4-544132EC3F36": "String",
- "895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
- "A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
- "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
- "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
- "B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
- "BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
- "56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "TEXT",
- "483F9346-C99E-4014-A1D2-A554606BD8A3": "STRING",
- "ABF5836C-0B7C-4007-A41C-F869325E5842": "TEXT"
- }
- ]
- },
- "domains": [
- {
- "defKey": "DefaultString",
- "defName": "默认字串",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": 255,
- "scale": "",
- "uiHint": "",
- "id": "9092C4E0-1A54-4859-ABBB-5B62DBC27573"
- },
- {
- "defKey": "IdOrKey",
- "defName": "主键标识",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": 32,
- "scale": "",
- "uiHint": "",
- "id": "16120F75-6AA7-4483-868D-F07F511BB081"
- },
- {
- "defKey": "Name",
- "defName": "名称",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": 90,
- "scale": "",
- "uiHint": "",
- "id": "54611CCC-CA4B-42E1-9F32-4944C85B85A6"
- },
- {
- "defKey": "Int",
- "defName": "整数",
- "applyFor": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
- "len": "",
- "scale": "",
- "uiHint": "",
- "id": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E"
- },
- {
- "defKey": "Double",
- "defName": "小数",
- "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "len": 24,
- "scale": 6,
- "uiHint": "",
- "id": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4"
- },
- {
- "defKey": "Money",
- "defName": "金额",
- "applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
- "len": 24,
- "scale": 6,
- "uiHint": "",
- "id": "C3B1681B-99F9-4818-9E80-DE1652A51D85"
- },
- {
- "defKey": "DateTime",
- "defName": "日期时间",
- "applyFor": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
- "len": "",
- "scale": "",
- "uiHint": "",
- "id": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC"
- },
- {
- "defKey": "YesNo",
- "defName": "是否",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": "1",
- "scale": "",
- "uiHint": "",
- "id": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF"
- },
- {
- "defKey": "Dict",
- "defName": "数据字典",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": "32",
- "scale": "",
- "uiHint": "",
- "id": "73FD2BAD-2358-4336-B96D-45DC897BD792"
- },
- {
- "defKey": "DescText",
- "defName": "描述文本",
- "applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
- "len": "900",
- "scale": "",
- "uiHint": "",
- "id": "3E948CEC-3070-472C-AF92-F3CA11EC9D15"
- }
- ],
- "diagrams": [
- {
- "defKey": "1逻辑模型",
- "defName": "",
- "relationType": "field",
- "canvasData": {
- "cells": [
- {
- "id": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "shape": "group",
- "position": {
- "x": 410,
- "y": 500
- },
- "label": "### 界面与表关系图",
- "size": {
- "width": 1230,
- "height": 2370
- },
- "children": [
- "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
- "50255b65-de6e-4032-b606-58482a662442",
- "71e702a2-681a-453f-a15e-30ff10e3b439",
- "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
- "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "ff5515d5-21a9-4272-86b2-c984273febc1",
- "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
- "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
- "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
- "d97d6f07-8365-40ab-bde8-34511452e62f",
- "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
- "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
- "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
- "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
- "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
- "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "764cbe48-4a33-4752-94a9-67bda1226718",
- "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
- "06ca758c-3187-47bd-8136-ca10dd94640b",
- "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
- "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
- "06ca758c-3187-47bd-8136-ca10dd94640b",
- "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
- "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
- "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "7b27855a-7467-439b-b846-fb7a369f80ae",
- "f2344237-4b72-4042-a531-097f8f467b64",
- "5278e0a2-f809-4023-b439-b35ae083a325",
- "182b311f-746e-49c8-8bfa-c0fec449eb2a",
- "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
- "ff5515d5-21a9-4272-86b2-c984273febc1",
- "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
- "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "50255b65-de6e-4032-b606-58482a662442",
- "9015a485-4289-4b5e-925c-5d5dc7851d2e",
- "54f3478c-85b5-4b98-8c68-332a9a037140",
- "182b311f-746e-49c8-8bfa-c0fec449eb2a",
- "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
- "80e84e01-fbda-4caf-a016-eae9c69aea5f",
- "bd3bbe46-89e6-43dc-a1a0-59968252238d",
- "14913b43-5f56-45c0-8a8b-128685ae8831",
- "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
- "9015a485-4289-4b5e-925c-5d5dc7851d2e",
- "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
- "b27fbbab-850d-4577-bd84-dfec38412d43",
- "b82b944c-8659-4720-b69e-e6e066b53882",
- "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
- "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "9a99fd26-86c6-42b3-9fe1-5380d3314003",
- "4e142b26-fa22-4806-aee3-7b598f1eaede",
- "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
- "11267869-dc5a-411d-b763-fc0ad08db8a6"
- ]
- },
- {
- "id": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
- "link": "{\"type\":\"internally\",\"value\":\"65E2E950-34BE-49A8-98A3-9EB13E974B8F\"}",
- "shape": "edit-node",
- "position": {
- "x": 510.000000000015,
- "y": 619.9999999999891
- },
- "label": "### 小时费用率\n---\n年度\n工厂代码(工厂id)\n成本中心代码(成本中心id)\n成本中心名称(成本中心id)\n人工小时费率\n设备小时费率\n燃动小时费率\n辅料小时费率\n其他小时费率\n生效日期\n失效日期\n维护人员(用户id)\n维护时间",
- "fillColor": "rgb(245, 220, 78)",
- "size": {
- "width": 180,
- "height": 270
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "71e702a2-681a-453f-a15e-30ff10e3b439",
- "link": "{\"type\":\"internally\",\"value\":\"4438394B-60D7-4566-91D1-4A14E2E16314\"}",
- "shape": "edit-node",
- "position": {
- "x": 730.000000000015,
- "y": 619.9999999999891
- },
- "label": "### 7525价格\n---\nid\n年份\n门控料号(物料id)\n物料规格信息\n价格",
- "fillColor": "rgb(245, 220, 78)",
- "size": {
- "width": 120,
- "height": 160
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- }
- ]
- }
- },
- {
- "id": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "link": "{\"type\":\"internally\",\"value\":\"38DC4808-C376-4C0A-9E1D-9BE756B68A7D\"}",
- "shape": "edit-node",
- "position": {
- "x": 1080.0000000000182,
- "y": 619.9999999999891
- },
- "label": "### 生产批量设置\n---\nid\n门控料号(物料id)\n工厂代号(工厂id)\n生产批量\n维护人(用户id)\n维护时间",
- "fillColor": "rgb(245, 220, 78)",
- "size": {
- "width": 140,
- "height": 160
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
- "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
- "shape": "edit-node",
- "position": {
- "x": 1290.0000000000182,
- "y": 609.9999999999891
- },
- "label": "### 最近采购价格\n---\nid\n工厂代号(工厂id)\n门控料号(物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用",
- "fillColor": "rgb(245, 220, 78)",
- "size": {
- "width": 150,
- "height": 220
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "d97d6f07-8365-40ab-bde8-34511452e62f",
- "link": "{\"type\":\"internally\",\"value\":\"9D89F846-66FC-42B0-B655-7083874263E1\"}",
- "shape": "edit-node",
- "position": {
- "x": 620.0000000000148,
- "y": 1799.9999999999893
- },
- "label": "### 最近采购价\n---\nid\n工厂代号(工厂id)\n门控料号(?物料id)\n产品名称(?与物料有什么区别)\n规格\n单位\n不含税价格\n估算日期\n采购类型\n是否启用\n维护人\n维护时间",
- "fontColor": "#000000",
- "fillColor": "rgb(117, 190, 250)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 180,
- "height": 270
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "7f4cc984-aefc-452a-bd22-39ddc3fd7a43",
- "shape": "edit-node",
- "position": {
- "x": 1110.0000000000107,
- "y": 1789.9999999999927
- },
- "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版本",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 210,
- "height": 670
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
- "link": "{\"type\":\"internally\",\"value\":\"1271309E-2310-435D-B129-DC3F72BBA013\"}",
- "shape": "edit-node",
- "position": {
- "x": 1450,
- "y": 1230
- },
- "label": "### 物料号最新的版本号\n---\n项目类型\n子项目号\n项目名称\n项目阶段\n项目日期\n图号\n工厂\n物料号\n版本号\n版本状态",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 170,
- "height": 220
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "shape": "edit-node",
- "position": {
- "x": 440,
- "y": 1230
- },
- "label": "### 成本挖掘任务\n---\nid\n工厂\n年\n月\n物料号\nWBS号\n标准版本号",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 130,
- "height": 180
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "764cbe48-4a33-4752-94a9-67bda1226718",
- "shape": "edit-node",
- "position": {
- "x": 600.000000000015,
- "y": 1230
- },
- "label": "### 成本挖掘任务结果\n---\nid\n任务id\n实际总成本\n标准总成本\n总差额\n差额比\n是否有传输过账\n报告状态\n",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 130,
- "height": 190
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
- "shape": "edit-node",
- "position": {
- "x": 610,
- "y": 1450
- },
- "label": "### 成本挖掘报告\n---\n对比分析\n原因分析\n",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 110,
- "height": 150
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "b0b6d230-8b0f-4f2f-9d2e-b3d8cd88b234",
- "shape": "edit-node",
- "position": {
- "x": 580,
- "y": 1009.9999999999891
- },
- "label": "### 角色管理\n---\nid\n角色名称\n是否启用\n操作权限",
- "fillColor": "#DDE5FF",
- "size": {
- "width": 170,
- "height": 150
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "e4c40d33-e4c2-4dea-9413-62f7c9d772db",
- "shape": "edit-node",
- "position": {
- "x": 420,
- "y": 1009.9999999999891
- },
- "label": "### 菜单管理\n---\nid\n菜单名称\n菜单路径\n菜单模块\n是否启用\n说明\n创建人\n创建时间\n",
- "fillColor": "#DDE5FF",
- "size": {
- "width": 150,
- "height": 180
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
- "shape": "edit-node",
- "position": {
- "x": 1815.000000000015,
- "y": 1629.9999999999927
- },
- "label": "### 部件缺失信息\n---\n工厂\n物料号\n版本号\n缺失信息(缺失备注信息)",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 160,
- "height": 150
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
- "shape": "edit-node",
- "position": {
- "x": 2150,
- "y": 1550
- },
- "label": "### 标准成本结果\n---\n工厂代码\n物料编码\n版本号\n机械材料\n门控\n电机\nMK物料\n包装箱\n人工\n运输费\n制费\n成本合计\n7525门控\n7525合计",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 150,
- "height": 290
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "shape": "edit-node",
- "position": {
- "x": 1900,
- "y": 1450
- },
- "label": "### 当月入库标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\nWBS号\n项目名称(项目id)\n库存地点编号",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 160,
- "height": 160
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "shape": "edit-node",
- "position": {
- "x": 1680,
- "y": 1270
- },
- "label": "### 项目标准成本缺失\n---\n工厂代码(工厂id)\n物料料号(物料id)\n产品名称\n项目名称",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 130,
- "height": 150
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
- "link": "{\"type\":\"internally\",\"value\":\"7AE6268A-7B4D-4F6A-8E6C-19F7C93C3C49\"}",
- "shape": "edit-node",
- "position": {
- "x": 1305.000000000015,
- "y": 1030
- },
- "label": "### 数据字典\n---\n采购类型(一般采购、外协采购)\n是否启用(是、否)\n项目阶段(初始、首批、量\n产)\n制造类型\n版本状态",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 170,
- "height": 150
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "ff5515d5-21a9-4272-86b2-c984273febc1",
- "shape": "edit-node",
- "position": {
- "x": 1305.000000000015,
- "y": 609.9999999999891
- },
- "label": "### 预算价格\n---\n年度\n物料号(物料id)\n物料描述(物料id)\n项目编号(项目id)\n预算价格",
- "fillColor": "rgb(245, 220, 78)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 160,
- "height": 130
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- }
- ]
- }
- },
- {
- "id": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
- "link": "{\"type\":\"internally\",\"value\":\"15372773-A008-4A5F-B23E-75E100F99B47\"}",
- "shape": "edit-node",
- "position": {
- "x": 1500.0000000000182,
- "y": 1044.999999999989
- },
- "label": "### 成本中心\n---\nid\n成本中心代码",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 90,
- "height": 70
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- }
- ]
- }
- },
- {
- "id": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "link": "{\"type\":\"internally\",\"value\":\"0C137DAC-F352-41FC-83D4-852123619E5C\"}",
- "shape": "edit-node",
- "position": {
- "x": 1630.0000000000182,
- "y": 1030
- },
- "label": "### 工厂\n---\nid\n工厂代码",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 80,
- "height": 70
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "50255b65-de6e-4032-b606-58482a662442",
- "link": "{\"type\":\"internally\",\"value\":\"7D1DEA8A-7373-4659-B1A7-B0E72416EDA7\"}",
- "shape": "edit-node",
- "position": {
- "x": 1750.000000000015,
- "y": 1009.9999999999891
- },
- "label": "### 物料\n---\nid\n工厂代号(工厂id)\n物料号\n物料名称\n图号",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 140,
- "height": 140
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "link": "{\"type\":\"internally\",\"value\":\"236F8414-6100-429D-8DEC-A223B0BDA052\"}",
- "shape": "edit-node",
- "position": {
- "x": 1920,
- "y": 1009.9999999999891
- },
- "label": "### 项目\n---\nid\n项目编号\n项目名称\n项目类型\n计划开始时间\n计划结束时间\n项目状态",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 120,
- "height": 160
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- }
- ]
- }
- },
- {
- "id": "f2344237-4b72-4042-a531-097f8f467b64",
- "shape": "erdRelation",
- "source": {
- "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "port": "bottom2"
- },
- "target": {
- "cell": "5bed2e45-b438-46cc-8ee1-72eeaa2c78c6",
- "port": "bottom2"
- },
- "relation": "none:none",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "7b27855a-7467-439b-b846-fb7a369f80ae",
- "shape": "erdRelation",
- "source": {
- "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "port": "out2"
- },
- "target": {
- "cell": "764cbe48-4a33-4752-94a9-67bda1226718",
- "port": "in2"
- },
- "relation": "none:none",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "182b311f-746e-49c8-8bfa-c0fec449eb2a",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "out3"
- },
- "target": {
- "cell": "aa201a0f-fd7d-4393-b33a-589fa51f91b6",
- "port": "in3"
- },
- "relation": "none:concave",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "db184b6f-8cb3-4bbb-8290-9c5438f9c11b",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "out2"
- },
- "target": {
- "cell": "db2e0214-00dd-4c58-ba37-627fd8cba8d2",
- "port": "in3"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "9015a485-4289-4b5e-925c-5d5dc7851d2e",
- "shape": "erdRelation",
- "source": {
- "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "port": "top2"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "bottom2"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "e4d93dce-4df5-403b-bd9d-f126fd1cb7ee",
- "shape": "erdRelation",
- "source": {
- "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "port": "top3"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "bottom"
- },
- "relation": "none:n",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "5278e0a2-f809-4023-b439-b35ae083a325",
- "shape": "erdRelation",
- "source": {
- "cell": "ecf1f808-4e1e-4f2f-bb68-016cfd5d76b2",
- "port": "top4"
- },
- "target": {
- "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
- "port": "top3"
- },
- "relation": "none:n",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "54f3478c-85b5-4b98-8c68-332a9a037140",
- "shape": "erdRelation",
- "source": {
- "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "port": "top"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "bottom2"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "9a99fd26-86c6-42b3-9fe1-5380d3314003",
- "shape": "erdRelation",
- "source": {
- "cell": "a9ad3011-be3b-45ce-9200-cbd99874e48d",
- "port": "top3"
- },
- "target": {
- "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "port": "bottom"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "14913b43-5f56-45c0-8a8b-128685ae8831",
- "shape": "erdRelation",
- "source": {
- "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "port": "top2"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "bottom"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "b27fbbab-850d-4577-bd84-dfec38412d43",
- "shape": "erdRelation",
- "source": {
- "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "port": "top3"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "in3"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "4e142b26-fa22-4806-aee3-7b598f1eaede",
- "shape": "erdRelation",
- "source": {
- "cell": "ea0f4b6c-37b3-42f7-8f12-0a946e1ae841",
- "port": "top3"
- },
- "target": {
- "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "port": "bottom2"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "a2c4ce7b-8f43-4dc6-b29f-71454f6de700",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "top2"
- },
- "target": {
- "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "port": "in3"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "80e84e01-fbda-4caf-a016-eae9c69aea5f",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "top3"
- },
- "target": {
- "cell": "bd6cd2f6-55ae-43fd-af6c-22bdbaf96a00",
- "port": "in3"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "bd3bbe46-89e6-43dc-a1a0-59968252238d",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "top"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "bottom"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "b82b944c-8659-4720-b69e-e6e066b53882",
- "shape": "erdRelation",
- "source": {
- "cell": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "port": "top2"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "in3"
- },
- "relation": "none:n",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "ad80ead0-2c42-49a0-9571-931e4536609a",
- "shape": "erdRelation",
- "source": {
- "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
- "port": "bottom"
- },
- "target": {
- "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "port": "top2"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "a1e1cd85-61f6-4ff4-a6c1-b7057722d9c5",
- "shape": "erdRelation",
- "source": {
- "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
- "port": "bottom2"
- },
- "target": {
- "cell": "32dfec65-cfe2-4f80-9f86-6dfd50c2f07f",
- "port": "top"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "c45fd09f-f5e0-4a1b-905a-b6623ed429ec",
- "shape": "erdRelation",
- "source": {
- "cell": "e9895e8e-4c87-4ca5-9855-3155b08e1e9a",
- "port": "bottom2"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "top2"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "80ff1b9b-450a-4838-ba92-1780c4c3edde",
- "shape": "erdRelation",
- "source": {
- "cell": "71e702a2-681a-453f-a15e-30ff10e3b439",
- "port": "bottom"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "top"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 480,
- "y": 790
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "bbf38d0b-7d61-4a17-b39c-c56ae830f9bd",
- "shape": "erdRelation",
- "source": {
- "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
- "port": "bottom"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "top2"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 890,
- "y": 760
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "11267869-dc5a-411d-b763-fc0ad08db8a6",
- "shape": "erdRelation",
- "source": {
- "cell": "ff5515d5-21a9-4272-86b2-c984273febc1",
- "port": "bottom3"
- },
- "target": {
- "cell": "ab4a33f9-98c1-4690-87aa-46e590bd7b0c",
- "port": "top2"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 940,
- "y": 770
- },
- {
- "x": 1300,
- "y": 840
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "f5f60922-9d66-4f92-9a70-11c6cce0e702",
- "shape": "erdRelation",
- "source": {
- "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "port": "in2"
- },
- "target": {
- "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "port": "top3"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "339ae80b-97a9-47d5-a701-742796f5143e",
- "shape": "erdRelation",
- "source": {
- "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "port": "bottom"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "top"
- },
- "relation": "none:concave",
- "vertices": [
- {
- "x": 500,
- "y": 730
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "3623f1fd-62e0-4004-a07c-61e6c35c15fc",
- "shape": "erdRelation",
- "source": {
- "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "port": "bottom2"
- },
- "target": {
- "cell": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "port": "top2"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "36e0a409-a617-465a-bd82-435826d7af9b",
- "shape": "erdRelation",
- "source": {
- "cell": "8e8dd851-2e95-4bd5-8623-645b6e590bab",
- "port": "bottom3"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "top3"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 570,
- "y": 770
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "35690dd6-bb9b-44bd-95cb-60ba826eb886",
- "shape": "erdRelation",
- "source": {
- "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
- "port": "bottom3"
- },
- "target": {
- "cell": "d9b4230a-9a29-4b06-9bc2-7d0021d99423",
- "port": "top2"
- },
- "relation": "none:n",
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "7450b679-24ae-438a-94d9-3619edf7d17b",
- "shape": "erdRelation",
- "source": {
- "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
- "port": "bottom2"
- },
- "target": {
- "cell": "e6458913-d5bb-4d3e-8194-4e983ee9561b",
- "port": "top3"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 590,
- "y": 770
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "26caad8d-227c-4985-a343-e647e69c682e",
- "shape": "erdRelation",
- "source": {
- "cell": "aa15bf4b-eb5c-4beb-94be-98c9cf34c41a",
- "port": "bottom"
- },
- "target": {
- "cell": "50255b65-de6e-4032-b606-58482a662442",
- "port": "top2"
- },
- "relation": "none:n",
- "vertices": [
- {
- "x": 660,
- "y": 770
- }
- ],
- "fillColor": "rgb(245, 220, 78)",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "96e751a3-f338-4cc1-937a-b8d1a6acfa1d",
- "shape": "edit-node",
- "position": {
- "x": 1540.000000000015,
- "y": 1550
- },
- "label": "### 成本计算和数据导出(计算计划)\n---\n项目名称\n阶段\n日期\n版本号\n工厂\n物料号\n状态\n关键部件缺失信息(该字段的用意?)",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 210,
- "height": 250
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "c306ccee-689c-49cf-a846-ec1e6a451eb7",
- "shape": "edit-node",
- "position": {
- "x": 1200.0000000000148,
- "y": 1009.9999999999891
- },
- "label": "### 用户\n---\nid\n用户名\n昵称\n是否启用\n所属角色\n密码\n创建时间\n\n",
- "fillColor": "#DDE5FF",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 90,
- "height": 160
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- },
- {
- "id": "a2aac2ea-416f-4c73-81c2-cd1000ccd7fe",
- "link": "{\"type\":\"internally\",\"value\":\"7891EB10-2F25-42A4-AC94-980756D9F709\"}",
- "shape": "edit-node",
- "position": {
- "x": 845.000000000015,
- "y": 1799.9999999999893
- },
- "label": "### 产品工序\n---\n工厂代码\n自制料号(?)\n工艺路线号\n序号\n工序名称\n成本中心代码\n成本中心名称\n人工工时\n人工费率\n设备工时\n设备费率\n燃动工时\n燃动费率\n辅料工时\n辅料费率\n其他工时\n其他费率\n版本(?)",
- "fillColor": "rgb(117, 190, 250)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 200,
- "height": 360
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "14b1e9e8-3950-432b-9efd-83bfe8ce0d37",
- "shape": "edit-node",
- "position": {
- "x": 1370.000000000015,
- "y": 1789.9999999999927
- },
- "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累计其他成本",
- "fillColor": "rgb(90, 213, 198)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 210,
- "height": 690
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "in4",
- "group": "in"
- },
- {
- "id": "bottom4",
- "group": "bottom"
- }
- ]
- }
- },
- {
- "id": "06ca758c-3187-47bd-8136-ca10dd94640b",
- "shape": "edit-node",
- "position": {
- "x": 1265.000000000015,
- "y": 1280
- },
- "label": "### 成本挖掘统计\n---\n工厂\n年度\n月度\n库存地点\n材料成本-实际\n人工成本-实际\n制造费用-实际\n总成本-电子实际\n材料成本-标准\n人工成本-标准\n制造费用-标准\n标准成本-电子实际\n材料成本-差异\n人工成本-差异\n制造费用-差异\n总成本差异-电子实际\n---\n原因分析",
- "fillColor": "rgb(247, 151, 128)",
- "parent": "4fa67bb0-fbbe-4388-ac9e-6bb32e9cb04c",
- "size": {
- "width": 140,
- "height": 350
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- },
- {
- "id": "top4",
- "group": "top"
- }
- ]
- }
- }
- ]
- },
- "id": "49BB7996-5205-4A52-96A3-FE87B1D8C4AC",
- "comment": ""
- },
- {
- "defKey": "2",
- "defName": "逻辑关系",
- "relationType": "field",
- "canvasData": {
- "cells": []
- },
- "id": "0D56908B-B619-4D80-A491-DE9808D9FFEB",
- "comment": ""
- },
- {
- "defKey": "3",
- "defName": "物理模型",
- "canvasData": {
- "cells": [
- {
- "id": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
- "shape": "group",
- "position": {
- "x": 903.9999999999982,
- "y": -40.00000000000006
- },
- "label": "学生行为",
- "size": {
- "width": 960,
- "height": 760
- },
- "children": [
- "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
- "26b28925-27ed-488d-b20d-2abbcafa5057",
- "8fad7c2e-d083-4589-b938-071541a6cea1",
- "60b8fc40-2b82-4b9a-8da2-5234582e31f6"
- ]
- },
- {
- "id": "8fad7c2e-d083-4589-b938-071541a6cea1",
- "shape": "edit-node",
- "position": {
- "x": 1142,
- "y": 459.999999999998
- },
- "label": "课程信息表为镜像,所以后面的“:1\"标识,是指第1个镜像副本,仅关系图需要",
- "fontColor": "#f62b07",
- "fillColor": "#fcfcac",
- "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
- "size": {
- "width": 460,
- "height": 90
- },
- "ports": {
- "groups": {
- "in": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "left"
- }
- },
- "out": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "right"
- }
- },
- "top": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "top"
- }
- },
- "bottom": {
- "attrs": {
- "fo": {
- "width": 8,
- "height": 8,
- "x": -4,
- "y": -4,
- "magnet": "true",
- "style": {
- "visibility": "hidden"
- }
- }
- },
- "zIndex": 3,
- "position": {
- "name": "bottom"
- }
- }
- },
- "items": [
- {
- "group": "in",
- "id": "in"
- },
- {
- "group": "in",
- "id": "in2"
- },
- {
- "group": "in",
- "id": "in3"
- },
- {
- "group": "out",
- "id": "out"
- },
- {
- "group": "out",
- "id": "out2"
- },
- {
- "group": "out",
- "id": "out3"
- },
- {
- "group": "top",
- "id": "top"
- },
- {
- "group": "top",
- "id": "top2"
- },
- {
- "group": "top",
- "id": "top3"
- },
- {
- "group": "bottom",
- "id": "bottom"
- },
- {
- "group": "bottom",
- "id": "bottom2"
- },
- {
- "group": "bottom",
- "id": "bottom3"
- }
- ]
- }
- },
- {
- "id": "60b8fc40-2b82-4b9a-8da2-5234582e31f6",
- "shape": "erdRelation",
- "source": {
- "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
- "port": "5FAE5CA5-B7A6-40C3-878D-1BB3D4A45B5C%out"
- },
- "target": {
- "cell": "26b28925-27ed-488d-b20d-2abbcafa5057",
- "port": "0C5A31BB-2855-4BB9-84D1-7E63B37A71E1%in"
- },
- "relation": "1:n",
- "fillColor": "#c00000",
- "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "shape": "group",
- "position": {
- "x": -130.00000000000023,
- "y": -40
- },
- "label": "学院设置部分",
- "size": {
- "width": 1010,
- "height": 760
- },
- "children": [
- "444bdcfa-cc31-4b36-892b-9caef73cc863",
- "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
- "9972b579-d4c5-4520-9202-7a57bf539151",
- "4bbe78ce-9511-471b-bea0-bcdfa333b636",
- "b9e17f34-b032-4b33-b78b-618b7e046614",
- "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
- "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "914c8f40-8cff-49ed-86a9-4dcad63ad668",
- "56317816-819f-41ea-a6ef-bdcd0027fb68",
- "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
- "f03ab359-7568-4402-bc56-4593bf5e1420",
- "5428380e-8314-4f6f-9048-43eff1b48ee5"
- ]
- },
- {
- "id": "f03ab359-7568-4402-bc56-4593bf5e1420",
- "shape": "erdRelation",
- "source": {
- "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
- "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%out"
- },
- "target": {
- "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "port": "D793F097-1364-49FD-B02C-D4EBBA5A055A%in"
- },
- "relation": "1:n",
- "vertices": [],
- "labels": [
- {
- "attrs": {
- "text": {
- "text": ""
- },
- "rect": {}
- }
- }
- ],
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "979dfa9f-475a-4be8-8ddc-1f2500ff212b",
- "shape": "erdRelation",
- "source": {
- "cell": "9972b579-d4c5-4520-9202-7a57bf539151",
- "port": "8707AEB9-3EC5-4EEA-9E14-99BAF28B46B4%out"
- },
- "target": {
- "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "port": "63130D1B-63C8-491C-B36D-5603A30BFB37%in"
- },
- "relation": "1:n",
- "vertices": [
- {
- "x": 400,
- "y": 73.00000000000045
- }
- ],
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "b9e17f34-b032-4b33-b78b-618b7e046614",
- "shape": "erdRelation",
- "source": {
- "cell": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
- "port": "3D337B5E-182D-45C7-9752-E2DD4D7CF2BD%out"
- },
- "target": {
- "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
- "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%in"
- },
- "relation": "1:n",
- "vertices": [
- {
- "x": 371,
- "y": 319.00000000000045
- }
- ],
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "925b71be-5cf6-48d7-aea2-5c49e68a5d8b",
- "shape": "erdRelation",
- "source": {
- "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
- "port": "C5916046-F140-4B0C-BF84-EBD7DDB38EAA%out"
- },
- "target": {
- "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
- "port": "AE73CBE3-577D-4457-8987-5BEFDECAEED9%out"
- },
- "relation": "1:n",
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "5428380e-8314-4f6f-9048-43eff1b48ee5",
- "shape": "erdRelation",
- "source": {
- "cell": "56317816-819f-41ea-a6ef-bdcd0027fb68",
- "port": "9651B83A-2208-4F1E-A870-C3C4E1FAF103%in"
- },
- "target": {
- "cell": "444bdcfa-cc31-4b36-892b-9caef73cc863",
- "port": "EFD22F94-E1D0-4CAD-947D-E856A997D7B5%in"
- },
- "relation": "1:n",
- "vertices": [
- {
- "x": -79,
- "y": 620.0000000000005
- },
- {
- "x": 381,
- "y": 620.0000000000005
- }
- ],
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "914c8f40-8cff-49ed-86a9-4dcad63ad668",
- "shape": "erdRelation",
- "source": {
- "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%in"
- },
- "target": {
- "cell": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
- "port": "A23704D2-7128-41A2-988C-D20CB984FA83%in"
- },
- "relation": "1:n",
- "fillColor": "#ACDAFC",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d"
- },
- {
- "id": "47d951f9-c6b0-4407-b2e3-e66f4b2931ec",
- "shape": "erdRelation",
- "source": {
- "cell": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "port": "6D6BC6AA-8114-4B91-8A2C-4B5FEACEB347%out"
- },
- "target": {
- "cell": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
- "port": "1BCE9672-14BA-4B2B-B8C6-222CC6CF0F61%in"
- },
- "relation": "1:n",
- "vertices": [
- {
- "x": 890,
- "y": 83
- }
- ],
- "fillColor": "#dce775",
- "attrs": {
- "line": {
- "strokeDasharray": ""
- }
- }
- },
- {
- "id": "26b28925-27ed-488d-b20d-2abbcafa5057",
- "shape": "table",
- "position": {
- "x": 1421,
- "y": 19.99999999999801
- },
- "count": 0,
- "originKey": "6B1610FB-364F-4514-95D6-9DDA681BFC61",
- "fillColor": "#9acc98",
- "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
- "size": {
- "width": 362,
- "height": 146
- }
- },
- {
- "id": "6210b0eb-8566-4b64-885b-f1b00d6078d7",
- "shape": "table",
- "position": {
- "x": 442,
- "y": 10.000000000000455
- },
- "count": 0,
- "originKey": "C698249E-307D-4087-9EC4-3BABCFC00660",
- "fontColor": "#555555",
- "fillColor": "#dce775",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 393,
- "height": 192
- }
- },
- {
- "id": "56317816-819f-41ea-a6ef-bdcd0027fb68",
- "shape": "table",
- "position": {
- "x": -44.5,
- "y": 10.000000000000455
- },
- "count": 0,
- "originKey": "26B8D13E-BE37-4E20-8496-13A586E84581",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 409,
- "height": 192
- }
- },
- {
- "id": "9972b579-d4c5-4520-9202-7a57bf539151",
- "shape": "table",
- "position": {
- "x": -48.5,
- "y": 233.00000000000045
- },
- "count": 0,
- "originKey": "C2F51B91-7C24-4CB4-8406-706F4851EB0B",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 352,
- "height": 169
- }
- },
- {
- "id": "4a31fc9b-4f5a-4f2c-880b-409d433ba848",
- "shape": "table",
- "position": {
- "x": -59,
- "y": 450.00000000000045
- },
- "count": 0,
- "originKey": "9095C2A1-EF4C-4357-AAB2-26F99C1845CA",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 355,
- "height": 146
- }
- },
- {
- "id": "444bdcfa-cc31-4b36-892b-9caef73cc863",
- "shape": "table",
- "position": {
- "x": 396,
- "y": 405.00000000000045
- },
- "count": 0,
- "originKey": "536B8B19-C2B3-45D1-ADA8-402C0083FC31",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 451,
- "height": 284
- }
- },
- {
- "id": "9a5658de-7e28-4815-95c2-ccf5ff90e6c1",
- "shape": "table",
- "position": {
- "x": 950,
- "y": 19.99999999999801
- },
- "count": 0,
- "originKey": "0FC9DB49-4FDB-437E-83E9-7EE803F1CC84",
- "fontColor": "#0d0d0d",
- "fillColor": "#c00000",
- "parent": "02b64cef-3ee3-48a5-9867-9dc4e9726bfd",
- "size": {
- "width": 403,
- "height": 330
- }
- },
- {
- "id": "4bbe78ce-9511-471b-bea0-bcdfa333b636",
- "shape": "table",
- "position": {
- "x": 472,
- "y": 233.00000000000045
- },
- "count": 0,
- "originKey": "1A50AEEB-F956-4275-AE11-5D6F1F471FBE",
- "parent": "de986735-cd84-4bd5-b50f-6b5a70df984d",
- "size": {
- "width": 334,
- "height": 123
- }
- }
- ]
- },
- "id": "9427DD89-11C0-431F-9BB0-8353A2725174",
- "comment": ""
- }
- ],
- "standardFields": [
- {
- "defKey": "personInfo",
- "defName": "个人基本信息要素",
- "fields": [
- {
- "defKey": "ID_CARD_NO",
- "defName": "身份证号",
- "comment": "",
- "type": "VARCHAR",
- "len": "60",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "refDict": "",
- "uiHint": "",
- "id": "A64A91C8-A41F-4113-92FB-7563D7EF054D",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "MOBILE_PHONE",
- "defName": "手机号",
- "comment": "",
- "type": "VARCHAR",
- "len": "60",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "refDict": "",
- "uiHint": "",
- "id": "479DA2AB-1974-411A-A81E-92FB939E75EB",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "GENDER",
- "defName": "性别",
- "comment": "",
- "type": "VARCHAR",
- "len": "32",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
- "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
- "uiHint": "",
- "id": "48473E29-6594-4912-AADE-C8AB44FCA3E9",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "BIRTH",
- "defName": "出生日期",
- "comment": "",
- "type": "DATETIME",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
- "refDict": "",
- "uiHint": "",
- "id": "2BD3D2EE-2411-49A6-983D-84B81057312F",
- "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
- },
- {
- "defKey": "AVATAR",
- "defName": "头像",
- "comment": "",
- "type": "VARCHAR",
- "len": "60",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "refDict": "",
- "uiHint": "",
- "id": "FDD67CEE-4B52-4BD1-A1A3-9C5EBC6037E6",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "HEIGHT",
- "defName": "身高",
- "comment": "",
- "type": "INT",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "refDict": "",
- "uiHint": "",
- "id": "CAAA0E79-41A1-4758-B481-D171168C4D68",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
- },
- {
- "defKey": "WEIGHT",
- "defName": "体重",
- "comment": "",
- "type": "INT",
- "len": "",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
- "refDict": "",
- "uiHint": "",
- "id": "575482CE-64A6-4CB9-99DC-8E126D190AAA",
- "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
- },
- {
- "defKey": "NATION",
- "defName": "名族",
- "comment": "",
- "type": "VARCHAR",
- "len": "32",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
- "refDict": "115EDEFC-0323-410E-81AB-CCAB8879837A",
- "uiHint": "",
- "id": "15B0D75D-0B97-4985-A816-D0EAFA90446B",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "POLITICAL",
- "defName": "政治面貌",
- "comment": "",
- "type": "VARCHAR",
- "len": "32",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
- "refDict": "06EED564-BBA9-4747-8D73-AF809A330CB8",
- "uiHint": "",
- "id": "F458E86D-84D6-45A1-9DD3-51E6C8170D7F",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "MARITAL",
- "defName": "婚姻状况",
- "comment": "",
- "type": "VARCHAR",
- "len": "32",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
- "refDict": "EA1587B7-3954-437A-BFE0-FCB0453BCABA",
- "uiHint": "",
- "id": "7275E578-6893-4922-AC69-95B261BFBD61",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "DOMICILE_PLACE_PROVINCE",
- "defName": "籍贯(省)",
- "comment": "",
- "type": "VARCHAR",
- "len": "60",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "refDict": "",
- "uiHint": "",
- "id": "F04BF130-3EC1-4E02-9DED-3214CA88E352",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "DOMICILE_PLACE_CITY",
- "defName": "籍贯(市)",
- "comment": "",
- "type": "VARCHAR",
- "len": "32",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
- "refDict": "",
- "uiHint": "",
- "id": "B97F5BC2-33DE-4857-9DB8-ECFD02C9040C",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- },
- {
- "defKey": "DOMICILE_PLACE_ADDRESS",
- "defName": "户籍地址",
- "comment": "",
- "type": "VARCHAR",
- "len": "60",
- "scale": "",
- "primaryKey": false,
- "notNull": false,
- "autoIncrement": false,
- "defaultValue": "",
- "hideInGraph": false,
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
- "refDict": "",
- "uiHint": "",
- "id": "812ADF1D-8C03-40CA-B030-E539838FB889",
- "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
- }
- ],
- "id": "F30202B9-4B5D-4CE7-87CE-B3890C84D3F2"
- }
- ],
- "dbConn": [
- {
- "defKey": "AB260C61-FBEB-4832-ADBD-E03CCFE82D96",
- "defName": "成本管理",
- "type": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
- "properties": {
- "driver_class_name": "com.mysql.cj.jdbc.Driver",
- "url": "jdbc:mysql://121.40.189.20:3306/costmanage?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC",
- "password": "YMzc157#",
- "username": "root"
- }
- }
- ],
- "homeCoverDiagram": {
- "defKey": "home-cover",
- "defName": "首页封面",
- "relationType": "entity",
- "canvasData": {
- "cells": [
- {
- "id": "01ac9826-9c2a-457a-8922-e6f8f25d9561",
- "shape": "mind-edge",
- "source": {
- "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "port": "right"
- },
- "target": {
- "cell": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
- "port": "left"
- },
- "fillColor": "rgb(183, 185, 189)"
- },
- {
- "id": "b47d896a-fc4f-4ac9-b011-68a447df24a8",
- "shape": "mind-edge",
- "source": {
- "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "port": "right"
- },
- "target": {
- "cell": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
- "port": "left"
- },
- "fillColor": "rgb(183, 185, 189)"
- },
- {
- "id": "07be3bc0-a68e-476f-ba3d-331fe552faee",
- "shape": "mind-edge",
- "source": {
- "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "port": "right"
- },
- "target": {
- "cell": "7392ebc5-1080-4250-99cb-34fa24f3050b",
- "port": "left"
- },
- "fillColor": "rgb(183, 185, 189)"
- },
- {
- "id": "921ED3D8-5A8E-4A84-96AE-978C200C1E93",
- "shape": "mind-edge",
- "source": {
- "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "port": "right"
- },
- "target": {
- "cell": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
- "port": "left"
- }
- },
- {
- "id": "46C14C41-47AE-4CCA-B6F4-9EE675B3746F",
- "shape": "mind-edge",
- "source": {
- "cell": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "port": "right"
- },
- "target": {
- "cell": "f286d37f-d476-461d-b42d-4246f376b2a3",
- "port": "left"
- }
- },
- {
- "id": "1bdf13d1-c491-4652-9abd-0929fe040e7f",
- "shape": "mind-topic",
- "position": {
- "x": -170,
- "y": -30
- },
- "label": "成本管理",
- "fillColor": "rgb(247, 151, 128)",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 70
- },
- "children": [
- "a6aa31ba-f93c-4652-b293-51bbca33fa87",
- "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
- "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
- "7392ebc5-1080-4250-99cb-34fa24f3050b",
- "f286d37f-d476-461d-b42d-4246f376b2a3"
- ]
- },
- {
- "id": "a6aa31ba-f93c-4652-b293-51bbca33fa87",
- "link": "{\"type\":\"\",\"value\":\"\"}",
- "shape": "mind-topic-branch",
- "position": {
- "x": 70,
- "y": -225
- },
- "label": "基础信息维护",
- "fillColor": "rgb(245, 220, 78)",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 60
- },
- "children": []
- },
- {
- "id": "bbf7eeb7-2b33-4594-b2d5-2ec520405479",
- "link": "{\"type\":\"\",\"value\":\"\"}",
- "shape": "mind-topic-branch",
- "position": {
- "x": 70,
- "y": -125
- },
- "label": "SAP导出版本基础数据",
- "fillColor": "rgb(245, 220, 78)",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 60
- },
- "children": []
- },
- {
- "id": "3795e95d-3f10-46a3-94af-2fc4b0b944b8",
- "link": "{\"type\":\"\",\"value\":\"\"}",
- "shape": "mind-topic-branch",
- "position": {
- "x": 70,
- "y": -25
- },
- "label": "成本卷积",
- "fillColor": "rgb(245, 220, 78)",
- "parent": "7392ebc5-1080-4250-99cb-34fa24f3050b",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 60
- },
- "children": []
- },
- {
- "id": "7392ebc5-1080-4250-99cb-34fa24f3050b",
- "link": "{\"type\":\"\",\"value\":\"\"}",
- "shape": "mind-topic-branch",
- "position": {
- "x": 70,
- "y": 75
- },
- "label": "挖掘分析系统",
- "fillColor": "rgb(245, 220, 78)",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 60
- },
- "children": []
- },
- {
- "id": "f286d37f-d476-461d-b42d-4246f376b2a3",
- "link": "{\"type\":\"\",\"value\":\"\"}",
- "shape": "mind-topic-branch",
- "position": {
- "x": 70,
- "y": 175
- },
- "label": "系统管理",
- "fillColor": "rgb(245, 220, 78)",
- "layout": "right",
- "size": {
- "width": 160,
- "height": 60
- },
- "children": []
- }
- ]
- },
- "id": "home-cover",
- "comment": ""
- },
- "logicEntities": [],
- "namingRules": [
- {
- "id": "63F1DC0E-6A76-4B75-B3DA-4B00657B4E1B",
- "defName": "属性代码不能超过32",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "L",
- "applyFieldType": "field",
- "programCode": "return (data.field.defName||\"\").length <= 32",
- "enable": true
- },
- {
- "id": "668CBEE6-E0B7-4ACE-B72E-63942963B191",
- "defName": "长度不能超过32位",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "programCode": "return (data.entity.defName||\"\").length <= 32",
- "enable": true
- },
- {
- "id": "11BD987F-82E7-418E-A752-FDD84F1582A2",
- "defName": "长度不能超过32位",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return (data.field.defName||\"\").length <= 32",
- "enable": true
- },
- {
- "id": "29D0A8D9-ABE2-451F-8A39-52FAB02E62B9",
- "defName": "索引名-长度不超过32个字符",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "index",
- "programCode": "return (data.index.defName||\"\").length <= 32",
- "enable": true
- },
- {
- "id": "B425A96F-6A31-4DBD-8743-A00DE28FB50F",
- "defName": "不能使用保留字",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "index",
- "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;",
- "enable": true
- },
- {
- "id": "EF9E44D0-691A-4352-A079-CFF300107531",
- "defName": "索引名-全小写",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "index",
- "programCode": "return !/[A-Z]+/.test(data.index.defKey);",
- "enable": true
- },
- {
- "id": "972EB2FB-4428-429D-8B0A-F082A8C7A94D",
- "defName": "名称不能为空",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "L",
- "applyFieldType": "entity",
- "programCode": "return data.logicEntity.defName",
- "enable": true
- },
- {
- "id": "EEAEB9C5-BB6C-4E92-949B-D27928690D85",
- "defName": "名称长度不超过32",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "L",
- "applyFieldType": "entity",
- "programCode": "return (data.logicEntity.defName||\"\").length <=32",
- "enable": true
- },
- {
- "id": "24E3F7E5-730D-4378-B72D-195D6B940352",
- "defName": "不能使用保留字",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "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;",
- "enable": true
- },
- {
- "id": "039BF435-DC77-4DA4-81C7-7F8076BF22BB",
- "defName": "表名-全小写",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "programCode": "return !/[A-Z]+/.test(data.entity.defKey);",
- "enable": true
- },
- {
- "id": "CBEB0E30-19C6-427D-A8BF-61FF10E27A0B",
- "defName": "表名-不允许空格",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "programCode": "return !/\\s+/.test(data.entity.defKey);",
- "enable": true
- },
- {
- "id": "1168C7C2-8E8E-4FB7-B639-B3DE839C395A",
- "defName": "表名-英文及下划线",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.entity.defKey);",
- "enable": true
- },
- {
- "id": "D373637C-D3A6-4621-B656-6841A5444A76",
- "defName": "表必须有comment注释",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "programCode": "return (data.entity.defName||\"\").length > 0 || (data.entity.comment||\"\").length > 0",
- "enable": true
- },
- {
- "id": "2BAB122B-8811-40BB-89F3-CDC24B5862D3",
- "defName": "主键命名为 id,类型为 int 或 bigint,且为自增",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "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;",
- "enable": true
- },
- {
- "id": "0B2F0BD2-3B84-4AB1-BA29-9DE9620AF608",
- "defName": "必须有数据的创建时间以及创建人字段",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "entity",
- "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;",
- "enable": true
- },
- {
- "id": "BEC54F19-52D5-4882-BCE1-4439785F8001",
- "defName": "不能使用保留字",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "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;",
- "enable": true
- },
- {
- "id": "082E186D-7B02-4F1C-9ECE-378AB98C4845",
- "defName": "字段-全小写",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return !/[A-Z]+/.test(data.field.defKey);",
- "enable": true
- },
- {
- "id": "F3CE5C67-23B6-4E7B-BA91-D5F0BCBC9E6A",
- "defName": "字段-不允许空格",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return !/\\s+/.test(data.field.defKey);",
- "enable": true
- },
- {
- "id": "21AFEAC8-96D7-467F-8320-A33887FC0C5D",
- "defName": "字段-英文及下划线",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.field.defKey);",
- "enable": true
- },
- {
- "id": "2BBDE47B-6926-4E1A-AE57-D4F6E5399EE6",
- "defName": "字段-必需有comment注释",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return (data.field.defName||\"\").length > 0 || (data.field.comment||\"\").length > 0",
- "enable": true
- },
- {
- "id": "5E181E43-0D72-498F-8178-4C1CDBC89A16",
- "defName": "字段-不能与表名相同",
- "intro": "",
- "controlIntensity": "F",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "return data.field.defKey != data.entity.defKey;",
- "enable": true
- },
- {
- "id": "DE8F8598-5D53-4727-A837-7816C2AF99D9",
- "defName": "外键-字段必须具有表名及其主键",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "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;",
- "enable": true
- },
- {
- "id": "D330BCC3-DBAB-4677-8C5A-A301003A5878",
- "defName": "时间字段类型尽量选取 timestamp",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "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;",
- "enable": true
- },
- {
- "id": "2E7FDA44-989A-4C5B-A0C5-12B1E40E57B1",
- "defName": "索引名-英文及下划线",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "index",
- "programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.index.defKey);",
- "enable": true
- },
- {
- "id": "023450B3-AAE2-4DC1-AE63-2196DD82823D",
- "defName": "索引名-主键的名称以pk_开头,唯一键以uk_开头,普通索引以 ix_开头",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "index",
- "programCode": "if(data.index.unique){\n return data.index.defKey.indexOf(\"uk_\")==0;\n}else{\n return data.index.defKey.indexOf(\"ix_\")==0;\n}",
- "enable": true
- },
- {
- "id": "1C563E17-262B-4EB6-87F0-203CAC667CF0",
- "defName": "不允许存在blob、text等大字段",
- "intro": "",
- "controlIntensity": "S",
- "applyObjectType": "P",
- "applyFieldType": "field",
- "programCode": "if(\"blob,text\".indexOf(data.field.dbType.toLowerCase())>=0){\n return false;\n}\nreturn true;",
- "enable": true
- }
- ]
- }
|