wk_crm_single.sql 619 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249
  1. SET NAMES utf8mb4;
  2. SET FOREIGN_KEY_CHECKS = 0;
  3. -- ----------------------------
  4. -- Table structure for undo_log
  5. -- ----------------------------
  6. DROP TABLE IF EXISTS `undo_log`;
  7. CREATE TABLE `undo_log` (
  8. `id` bigint(0) NOT NULL AUTO_INCREMENT,
  9. `branch_id` bigint(0) NOT NULL,
  10. `xid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  11. `context` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  12. `rollback_info` longblob NOT NULL,
  13. `log_status` int(0) NOT NULL,
  14. `log_created` datetime(0) NOT NULL,
  15. `log_modified` datetime(0) NOT NULL,
  16. `ext` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  17. PRIMARY KEY (`id`) USING BTREE,
  18. UNIQUE INDEX `ux_undo_log`(`xid`, `branch_id`) USING BTREE
  19. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  20. -- ----------------------------
  21. -- Records of undo_log
  22. -- ----------------------------
  23. -- ----------------------------
  24. -- Table structure for wk_admin_attention
  25. -- ----------------------------
  26. DROP TABLE IF EXISTS `wk_admin_attention`;
  27. CREATE TABLE `wk_admin_attention` (
  28. `attention_id` int(0) NOT NULL AUTO_INCREMENT,
  29. `be_user_id` bigint(0) NOT NULL COMMENT '被关注人',
  30. `attention_user_id` bigint(0) NOT NULL COMMENT '关注人',
  31. PRIMARY KEY (`attention_id`) USING BTREE
  32. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通讯录用户关注表' ROW_FORMAT = Dynamic;
  33. -- ----------------------------
  34. -- Records of wk_admin_attention
  35. -- ----------------------------
  36. INSERT INTO `wk_admin_attention` VALUES (1, 14773, 14773);
  37. -- ----------------------------
  38. -- Table structure for wk_admin_config
  39. -- ----------------------------
  40. DROP TABLE IF EXISTS `wk_admin_config`;
  41. CREATE TABLE `wk_admin_config` (
  42. `setting_id` int(0) NOT NULL AUTO_INCREMENT,
  43. `status` int(0) NOT NULL DEFAULT 0 COMMENT '状态,0:不启用 1 : 启用',
  44. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设置名称',
  45. `value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值',
  46. `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  47. PRIMARY KEY (`setting_id`) USING BTREE,
  48. INDEX `name`(`name`) USING BTREE
  49. ) ENGINE = InnoDB AUTO_INCREMENT = 262462 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客户规则' ROW_FORMAT = Dynamic;
  50. -- ----------------------------
  51. -- Records of wk_admin_config
  52. -- ----------------------------
  53. INSERT INTO `wk_admin_config` VALUES (262433, 1, 'expiringContractDays', '3', '合同到期提醒');
  54. INSERT INTO `wk_admin_config` VALUES (262434, 1, 'putInPoolRemindDays', '2', NULL);
  55. INSERT INTO `wk_admin_config` VALUES (262435, 1, 'taskExamine', '1', '任务审批');
  56. INSERT INTO `wk_admin_config` VALUES (262436, 1, 'log', '1', '日志');
  57. INSERT INTO `wk_admin_config` VALUES (262437, 1, 'book', '1', '通讯录');
  58. INSERT INTO `wk_admin_config` VALUES (262438, 1, 'crm', '1', '客户管理');
  59. INSERT INTO `wk_admin_config` VALUES (262439, 1, 'project', '1', '项目管理');
  60. INSERT INTO `wk_admin_config` VALUES (262440, 1, 'calendar', '1', '日历');
  61. INSERT INTO `wk_admin_config` VALUES (262441, 0, 'email', '3', '邮箱');
  62. INSERT INTO `wk_admin_config` VALUES (262442, 0, 'knowledge', '3', '知识库');
  63. INSERT INTO `wk_admin_config` VALUES (262443, 1, 'hrm', '1', '人力资源管理');
  64. INSERT INTO `wk_admin_config` VALUES (262444, 0, 'jxc', '3', '进销存管理');
  65. INSERT INTO `wk_admin_config` VALUES (262445, 1, 'call', '3', '呼叫中心');
  66. INSERT INTO `wk_admin_config` VALUES (262446, 0, 'followRecordOption', '打电话', '跟进记录选项');
  67. INSERT INTO `wk_admin_config` VALUES (262447, 0, 'followRecordOption', '发邮件', '跟进记录选项');
  68. INSERT INTO `wk_admin_config` VALUES (262448, 0, 'followRecordOption', '发短信', '跟进记录选项');
  69. INSERT INTO `wk_admin_config` VALUES (262449, 0, 'followRecordOption', '见面拜访', '跟进记录选项');
  70. INSERT INTO `wk_admin_config` VALUES (262450, 0, 'followRecordOption', '活动', '跟进记录选项');
  71. INSERT INTO `wk_admin_config` VALUES (262451, 0, 'logWelcomeSpeech', '蓝天是宁静的,空气是清新的,阳光是明媚的', '默认日志欢迎语');
  72. INSERT INTO `wk_admin_config` VALUES (262452, 0, 'logWelcomeSpeech', '人生,最快乐的莫过于奋斗', '默认日志欢迎语');
  73. INSERT INTO `wk_admin_config` VALUES (262453, 0, 'logWelcomeSpeech', '工作一天辛苦了,人生,最快乐的莫过于奋斗', '默认日志欢迎语');
  74. INSERT INTO `wk_admin_config` VALUES (262454, 0, 'pictureSetting', NULL, '外勤签到照片上传设置');
  75. INSERT INTO `wk_admin_config` VALUES (262455, 0, 'returnVisitRemindConfig', '7', '客户回访提醒设置');
  76. INSERT INTO `wk_admin_config` VALUES (262456, 0, 'numberSetting', '6', '自动编号设置');
  77. INSERT INTO `wk_admin_config` VALUES (262457, 0, 'numberSetting', '7', '自动编号设置');
  78. INSERT INTO `wk_admin_config` VALUES (262458, 0, 'numberSetting', '17', '自动编号设置');
  79. INSERT INTO `wk_admin_config` VALUES (262459, 0, 'numberSetting', '18', '自动编号设置');
  80. INSERT INTO `wk_admin_config` VALUES (262460, 1, 'companyInfo', '{\"companyLogo\":\"\",\"companyName\":\"良心企业\"}', '企业LOGO配置');
  81. INSERT INTO `wk_admin_config` VALUES (262461, 1, 'marketing', NULL, '是否开启营销活动');
  82. -- ----------------------------
  83. -- Table structure for wk_admin_dept
  84. -- ----------------------------
  85. DROP TABLE IF EXISTS `wk_admin_dept`;
  86. CREATE TABLE `wk_admin_dept` (
  87. `dept_id` int(0) NOT NULL AUTO_INCREMENT,
  88. `pid` int(0) NULL DEFAULT 0 COMMENT '父级ID 顶级部门为0',
  89. `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '部门名称',
  90. `num` int(0) NULL DEFAULT NULL COMMENT '排序 越大越靠后',
  91. `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '部门备注',
  92. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '部门负责人',
  93. PRIMARY KEY (`dept_id`) USING BTREE
  94. ) ENGINE = InnoDB AUTO_INCREMENT = 14853 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
  95. -- ----------------------------
  96. -- Records of wk_admin_dept
  97. -- ----------------------------
  98. INSERT INTO `wk_admin_dept` VALUES (14852, 0, '全公司', 1, '', NULL);
  99. -- ----------------------------
  100. -- Table structure for wk_admin_file
  101. -- ----------------------------
  102. DROP TABLE IF EXISTS `wk_admin_file`;
  103. CREATE TABLE `wk_admin_file` (
  104. `file_id` bigint(0) NOT NULL,
  105. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '附件名称',
  106. `size` bigint(0) NOT NULL COMMENT '附件大小(字节)',
  107. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  108. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  109. `path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件真实路径',
  110. `file_type` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'file' COMMENT '文件类型,file,img',
  111. `type` int(0) NULL DEFAULT NULL COMMENT '1 本地 2 阿里云oss',
  112. `source` int(0) NULL DEFAULT NULL COMMENT '来源 0 默认 1 admin 2 crm 3 work 4 oa 5 进销存 6 hrm',
  113. `is_public` int(0) NULL DEFAULT 0 COMMENT '1 公有访问 0 私有访问',
  114. `batch_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次id',
  115. PRIMARY KEY (`file_id`) USING BTREE,
  116. INDEX `batch_id`(`batch_id`) USING BTREE
  117. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '附件表' ROW_FORMAT = Dynamic;
  118. -- ----------------------------
  119. -- Records of wk_admin_file
  120. -- ----------------------------
  121. -- ----------------------------
  122. -- Table structure for wk_admin_login_log
  123. -- ----------------------------
  124. DROP TABLE IF EXISTS `wk_admin_login_log`;
  125. CREATE TABLE `wk_admin_login_log` (
  126. `id` int(0) NOT NULL AUTO_INCREMENT,
  127. `create_user_id` bigint(0) NOT NULL COMMENT '操作人id',
  128. `login_time` datetime(0) NOT NULL COMMENT '登录时间',
  129. `ip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录ip地址',
  130. `login_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录地点',
  131. `device_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备类型',
  132. `core` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '终端内核',
  133. `platform` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '平台',
  134. `imei` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'IEMI设备号',
  135. `auth_result` int(0) NULL DEFAULT NULL COMMENT '认证结果 1成功 2失败',
  136. PRIMARY KEY (`id`) USING BTREE
  137. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = Dynamic;
  138. -- ----------------------------
  139. -- Records of wk_admin_login_log
  140. -- ----------------------------
  141. -- ----------------------------
  142. -- Table structure for wk_admin_menu
  143. -- ----------------------------
  144. DROP TABLE IF EXISTS `wk_admin_menu`;
  145. CREATE TABLE `wk_admin_menu` (
  146. `menu_id` int(0) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  147. `parent_id` int(0) UNSIGNED NULL DEFAULT 0 COMMENT '上级菜单ID',
  148. `menu_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '菜单名称',
  149. `realm` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '权限标识',
  150. `realm_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限URL',
  151. `realm_module` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属模块',
  152. `menu_type` int(0) NULL DEFAULT NULL COMMENT '菜单类型 1目录 2 菜单 3 按钮 4特殊',
  153. `sort` int(0) UNSIGNED NULL DEFAULT 0 COMMENT '排序(同级有效)',
  154. `status` int(0) NULL DEFAULT 1 COMMENT '状态 1 启用 0 禁用',
  155. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单说明',
  156. PRIMARY KEY (`menu_id`) USING BTREE,
  157. INDEX `menu_id`(`menu_id`) USING BTREE,
  158. INDEX `parent_id`(`parent_id`) USING BTREE,
  159. INDEX `realm`(`realm`) USING BTREE
  160. ) ENGINE = InnoDB AUTO_INCREMENT = 943 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '后台菜单表' ROW_FORMAT = Dynamic;
  161. -- ----------------------------
  162. -- Records of wk_admin_menu
  163. -- ----------------------------
  164. INSERT INTO `wk_admin_menu` VALUES (1, 0, '全部', 'crm', NULL, NULL, 1, 0, 1, NULL);
  165. INSERT INTO `wk_admin_menu` VALUES (2, 0, '全部', 'bi', NULL, NULL, 1, 0, 1, NULL);
  166. INSERT INTO `wk_admin_menu` VALUES (3, 0, '全部', 'manage', NULL, NULL, 1, 0, 1, NULL);
  167. INSERT INTO `wk_admin_menu` VALUES (5, 0, '全部', 'hrm', NULL, NULL, 1, 0, 1, NULL);
  168. INSERT INTO `wk_admin_menu` VALUES (6, 0, '全部', 'jxc', '', NULL, 1, 0, 1, NULL);
  169. INSERT INTO `wk_admin_menu` VALUES (9, 1, '线索管理', 'leads', NULL, NULL, 1, 1, 1, NULL);
  170. INSERT INTO `wk_admin_menu` VALUES (10, 1, '客户管理', 'customer', NULL, NULL, 1, 2, 1, NULL);
  171. INSERT INTO `wk_admin_menu` VALUES (11, 1, '联系人管理', 'contacts', NULL, NULL, 1, 3, 1, NULL);
  172. INSERT INTO `wk_admin_menu` VALUES (12, 1, '商机管理', 'business', NULL, NULL, 1, 4, 1, NULL);
  173. INSERT INTO `wk_admin_menu` VALUES (13, 1, '合同管理', 'contract', NULL, NULL, 1, 5, 1, NULL);
  174. INSERT INTO `wk_admin_menu` VALUES (14, 1, '回款管理', 'receivables', NULL, NULL, 1, 6, 1, NULL);
  175. INSERT INTO `wk_admin_menu` VALUES (15, 1, '产品管理', 'product', NULL, NULL, 1, 7, 1, NULL);
  176. INSERT INTO `wk_admin_menu` VALUES (17, 9, '新建', 'save', '/crmLeads/add', NULL, 3, 1, 1, NULL);
  177. INSERT INTO `wk_admin_menu` VALUES (18, 9, '编辑', 'update', '/crmLeads/update', NULL, 3, 1, 1, NULL);
  178. INSERT INTO `wk_admin_menu` VALUES (19, 9, '查看列表', 'index', '/crmLeads/queryPageList', NULL, 3, 1, 1, NULL);
  179. INSERT INTO `wk_admin_menu` VALUES (20, 9, '查看详情', 'read', '/crmLeads/queryById/*', NULL, 3, 1, 1, NULL);
  180. INSERT INTO `wk_admin_menu` VALUES (21, 9, '导入', 'excelimport', '/crmLead/downloadExcel', NULL, 3, 1, 1, NULL);
  181. INSERT INTO `wk_admin_menu` VALUES (22, 9, '导出', 'excelexport', '/crmLead/allExportExcel,/crmLead/batchExportExcel', NULL, 3, 1, 1, NULL);
  182. INSERT INTO `wk_admin_menu` VALUES (23, 9, '删除', 'delete', '/crmLead/deleteByIds', NULL, 3, 1, 1, NULL);
  183. INSERT INTO `wk_admin_menu` VALUES (24, 9, '转移', 'transfer', '/crmLeads/changeOwnerUser', NULL, 3, 1, 1, NULL);
  184. INSERT INTO `wk_admin_menu` VALUES (25, 9, '转化', 'transform', '/crmLead/transfer', NULL, 3, 1, 1, NULL);
  185. INSERT INTO `wk_admin_menu` VALUES (26, 10, '新建', 'save', '/crmCustomer/add', NULL, 3, 1, 1, NULL);
  186. INSERT INTO `wk_admin_menu` VALUES (27, 10, '编辑', 'update', '/crmCustomer/update', NULL, 3, 1, 1, NULL);
  187. INSERT INTO `wk_admin_menu` VALUES (28, 10, '查看列表', 'index', '/crmCustomer/queryPageList', NULL, 3, 1, 1, NULL);
  188. INSERT INTO `wk_admin_menu` VALUES (29, 10, '查看详情', 'read', '/crmCustomer/queryById/*', NULL, 3, 1, 1, NULL);
  189. INSERT INTO `wk_admin_menu` VALUES (30, 10, '导入', 'excelimport', '/crmCustomer/uploadExcel', NULL, 3, 1, 1, NULL);
  190. INSERT INTO `wk_admin_menu` VALUES (31, 10, '导出', 'excelexport', '/crmCustomer/batchExportExcel,/crmCustomer/allExportExcel', NULL, 3, 1, 1, NULL);
  191. INSERT INTO `wk_admin_menu` VALUES (32, 10, '删除', 'delete', '/crmCustomer/deleteByIds', NULL, 3, 1, 1, NULL);
  192. INSERT INTO `wk_admin_menu` VALUES (33, 10, '转移', 'transfer', '/crmCustomer/changeOwnerUser', NULL, 3, 1, 1, NULL);
  193. INSERT INTO `wk_admin_menu` VALUES (34, 10, '放入公海', 'putinpool', '/crmCustomer/updateCustomerByIds', NULL, 3, 1, 1, NULL);
  194. INSERT INTO `wk_admin_menu` VALUES (35, 10, '锁定/解锁', 'lock', '/crmCustomer/lock', NULL, 3, 1, 1, NULL);
  195. INSERT INTO `wk_admin_menu` VALUES (36, 10, '编辑团队成员', 'teamsave', '/crmCustomer/addMembers,/crmCustomer/updateMembers,/crmCustomer/exitTeam', NULL, 3, 1, 1, NULL);
  196. INSERT INTO `wk_admin_menu` VALUES (40, 11, '新建', 'save', '/crmContacts/add', NULL, 3, 1, 1, NULL);
  197. INSERT INTO `wk_admin_menu` VALUES (41, 11, '编辑', 'update', '/crmContacts/update', NULL, 3, 1, 1, NULL);
  198. INSERT INTO `wk_admin_menu` VALUES (42, 11, '查看列表', 'index', '/crmContacts/queryPageList', NULL, 3, 1, 1, NULL);
  199. INSERT INTO `wk_admin_menu` VALUES (43, 11, '查看详情', 'read', '/crmContacts/queryById/*', NULL, 3, 1, 1, NULL);
  200. INSERT INTO `wk_admin_menu` VALUES (44, 11, '删除', 'delete', '/crmContacts/deleteByIds', NULL, 3, 1, 1, NULL);
  201. INSERT INTO `wk_admin_menu` VALUES (45, 11, '转移', 'transfer', '/crmContacts/changeOwnerUser', NULL, 3, 1, 1, NULL);
  202. INSERT INTO `wk_admin_menu` VALUES (46, 12, '新建', 'save', '/crmBusiness/add', NULL, 3, 1, 1, NULL);
  203. INSERT INTO `wk_admin_menu` VALUES (47, 12, '编辑', 'update', '/crmBusiness/update', NULL, 3, 1, 1, NULL);
  204. INSERT INTO `wk_admin_menu` VALUES (48, 12, '查看列表', 'index', '/crmBusiness/queryPageList', NULL, 3, 1, 1, NULL);
  205. INSERT INTO `wk_admin_menu` VALUES (49, 12, '查看详情', 'read', '/crmBusiness/queryById/*', NULL, 3, 1, 1, NULL);
  206. INSERT INTO `wk_admin_menu` VALUES (50, 12, '删除', 'delete', '/crmBusiness/deleteByIds', NULL, 3, 1, 1, NULL);
  207. INSERT INTO `wk_admin_menu` VALUES (51, 12, '转移', 'transfer', '/crmBusiness/changeOwnerUser', NULL, 3, 1, 1, NULL);
  208. INSERT INTO `wk_admin_menu` VALUES (52, 12, '编辑团队成员', 'teamsave', '/crmBusiness/addMembers,/crmBusiness/updateMembers,/crmBusiness/deleteMembers', NULL, 3, 1, 1, NULL);
  209. INSERT INTO `wk_admin_menu` VALUES (53, 13, '新建', 'save', '/crmContract/add', NULL, 3, 1, 1, NULL);
  210. INSERT INTO `wk_admin_menu` VALUES (54, 13, '编辑', 'update', '/crmContract/update', NULL, 3, 1, 1, NULL);
  211. INSERT INTO `wk_admin_menu` VALUES (55, 13, '查看列表', 'index', '/crmContract/queryPageList', NULL, 3, 1, 1, NULL);
  212. INSERT INTO `wk_admin_menu` VALUES (56, 13, '查看详情', 'read', '/crmContract/queryById', NULL, 3, 1, 1, NULL);
  213. INSERT INTO `wk_admin_menu` VALUES (57, 13, '删除', 'delete', '/crmContract/deleteByIds', NULL, 3, 1, 1, NULL);
  214. INSERT INTO `wk_admin_menu` VALUES (58, 13, '转移', 'transfer', '/crmContract/changeOwnerUser', NULL, 3, 1, 1, NULL);
  215. INSERT INTO `wk_admin_menu` VALUES (59, 13, '编辑团队成员', 'teamsave', '/crmContract/addMembers,/crmContract/updateMembers,/crmContract/deleteMembers', NULL, 3, 1, 1, NULL);
  216. INSERT INTO `wk_admin_menu` VALUES (60, 14, '新建', 'save', '/crmReceivables/add', NULL, 3, 1, 1, NULL);
  217. INSERT INTO `wk_admin_menu` VALUES (61, 14, '编辑', 'update', '/crmReceivables/update', NULL, 3, 1, 1, NULL);
  218. INSERT INTO `wk_admin_menu` VALUES (62, 14, '查看列表', 'index', '/crmReceivables/queryPageList', NULL, 3, 1, 1, NULL);
  219. INSERT INTO `wk_admin_menu` VALUES (63, 14, '查看详情', 'read', '/crmReceivables/queryById', NULL, 3, 1, 1, NULL);
  220. INSERT INTO `wk_admin_menu` VALUES (64, 14, '删除', 'delete', '/crmReceivables/deleteByIds', NULL, 3, 1, 1, NULL);
  221. INSERT INTO `wk_admin_menu` VALUES (65, 15, '新建', 'save', '/crmProduct/add', NULL, 3, 1, 1, NULL);
  222. INSERT INTO `wk_admin_menu` VALUES (66, 15, '编辑', 'update', '/crmProduct/udpate', NULL, 3, 1, 1, NULL);
  223. INSERT INTO `wk_admin_menu` VALUES (67, 15, '查看列表', 'index', '/crmProduct/queryPageList', NULL, 3, 1, 1, NULL);
  224. INSERT INTO `wk_admin_menu` VALUES (68, 15, '查看详情', 'read', '/crmProduct/queryById', NULL, 3, 1, 1, NULL);
  225. INSERT INTO `wk_admin_menu` VALUES (69, 15, '上架/下架', 'status', '/crmProduct/updateStatus', NULL, 3, 1, 1, NULL);
  226. INSERT INTO `wk_admin_menu` VALUES (70, 15, '转移', 'transfer', '/crmProduct/changeOwnerUser', NULL, 3, 1, 1, NULL);
  227. INSERT INTO `wk_admin_menu` VALUES (71, 14, '转移', 'transfer', '/crmReceivables/changeOwnerUser', NULL, 3, 1, 1, NULL);
  228. INSERT INTO `wk_admin_menu` VALUES (97, 2, '业绩目标完成情况', 'achievement', NULL, NULL, 1, 0, 1, NULL);
  229. INSERT INTO `wk_admin_menu` VALUES (98, 2, '销售漏斗', 'business', '/biFunnel/addBusinessAnalyze,/biFunnel/win', NULL, 1, 0, 1, NULL);
  230. INSERT INTO `wk_admin_menu` VALUES (99, 2, '员工客户分析', 'customer', NULL, NULL, 1, 0, 1, NULL);
  231. INSERT INTO `wk_admin_menu` VALUES (101, 2, '员工业绩分析', 'contract', NULL, NULL, 1, 0, 1, NULL);
  232. INSERT INTO `wk_admin_menu` VALUES (102, 97, '查看', 'read', '/bi/taskCompleteStatistics', NULL, 3, 0, 1, NULL);
  233. INSERT INTO `wk_admin_menu` VALUES (103, 98, '查看', 'read', '', NULL, 3, 0, 1, NULL);
  234. INSERT INTO `wk_admin_menu` VALUES (104, 99, '查看', 'read', '/biCustomer/totalCustomerStats,/biCustomer/totalCustomerTable,/biCustomer/customerRecordStats,/biCustomer/customerRecordStats,/biCustomer/customerRecodCategoryStats,/biCustomer/customerConversionStats,/biCustomer/poolStats,/biCustomer/poolTable,/biCustomer/employeeCycle,/biCustomer/employeeCycleInfo,/biCustomer/customerSatisfactionTable,/biCustomer/productSatisfactionTable', NULL, 3, 0, 1, NULL);
  235. INSERT INTO `wk_admin_menu` VALUES (106, 101, '查看', 'read', '/biEmployee/contractNumStats,/biEmployee/contractMoneyStats,/biEmployee/receivablesMoneyStats,/biEmployee/totalContract,/biEmployee/invoiceStats', NULL, 3, 0, 1, NULL);
  236. INSERT INTO `wk_admin_menu` VALUES (107, 11, '联系人导出', 'excelexport', '/crmContacts/batchExportExcel,/crmContacts/allExportExcel', NULL, 3, 1, 1, NULL);
  237. INSERT INTO `wk_admin_menu` VALUES (108, 11, '联系人导入', 'excelimport', '/crmContacts/uploadExcel', NULL, 3, 1, 1, NULL);
  238. INSERT INTO `wk_admin_menu` VALUES (109, 15, '产品导入', 'excelimport', '/crmProduct/uploadExcel', NULL, 3, 1, 1, NULL);
  239. INSERT INTO `wk_admin_menu` VALUES (110, 15, '产品导出', 'excelexport', '/crmProduct/batchExportExcel,/crmProduct/allExportExcel', NULL, 3, 1, 1, NULL);
  240. INSERT INTO `wk_admin_menu` VALUES (117, 2, '产品分析', 'product', NULL, NULL, 1, 0, 1, NULL);
  241. INSERT INTO `wk_admin_menu` VALUES (118, 117, '查看', 'read', '/bi/productStatistics,/biRanking/contractProductRanKing', NULL, 3, 0, 1, NULL);
  242. INSERT INTO `wk_admin_menu` VALUES (123, 2, '客户画像分析', 'portrait', NULL, NULL, 1, 0, 1, NULL);
  243. INSERT INTO `wk_admin_menu` VALUES (124, 123, '查看', 'read', '/biRanking/addressAnalyse,/biRanking/portrait,/biRanking/portraitLevel,/biRanking/portraitSource', NULL, 3, 0, 1, NULL);
  244. INSERT INTO `wk_admin_menu` VALUES (125, 2, '排行榜', 'ranking', NULL, NULL, 1, 0, 1, NULL);
  245. INSERT INTO `wk_admin_menu` VALUES (126, 125, '查看', 'read', '/biRanking/contractRanKing,/biRanking/receivablesRanKing,/biRanking/contractCountRanKing,/biRanking/productCountRanKing,/biRanking/productCountRanKing,/biRanking/contactsCountRanKing,/biRanking/customerCountRanKing,/biRanking/recordCountRanKing,/biRanking/customerGenjinCountRanKing,/biRanking/customerGenjinCountRanKing', NULL, 3, 0, 1, NULL);
  246. INSERT INTO `wk_admin_menu` VALUES (146, 2, '办公分析', 'oa', NULL, NULL, 1, 10, 1, NULL);
  247. INSERT INTO `wk_admin_menu` VALUES (147, 146, '查看', 'read', '/biWork/logStatistics,/biWork/examineStatistics', NULL, 3, 1, 1, NULL);
  248. INSERT INTO `wk_admin_menu` VALUES (148, 0, '全部', 'oa', NULL, NULL, 1, 0, 1, NULL);
  249. INSERT INTO `wk_admin_menu` VALUES (149, 0, '全部', 'project', NULL, NULL, 1, 0, 1, '项目管理角色权限');
  250. INSERT INTO `wk_admin_menu` VALUES (150, 148, '通讯录', 'book', NULL, NULL, 1, 1, 1, NULL);
  251. INSERT INTO `wk_admin_menu` VALUES (151, 150, '查看', 'read', '/adminUser/queryListName', NULL, 3, 0, 1, NULL);
  252. INSERT INTO `wk_admin_menu` VALUES (152, 149, '项目管理', 'projectManage', NULL, NULL, 1, 1, 1, NULL);
  253. INSERT INTO `wk_admin_menu` VALUES (153, 152, '新建项目', 'save', '/work/addWork', NULL, 3, 2, 1, 'projectSave');
  254. INSERT INTO `wk_admin_menu` VALUES (160, 3, '企业首页', 'system', NULL, NULL, 1, 1, 1, NULL);
  255. INSERT INTO `wk_admin_menu` VALUES (161, 160, '查看', 'read', '', NULL, 3, 1, 1, NULL);
  256. INSERT INTO `wk_admin_menu` VALUES (162, 160, '编辑', 'update', '/adminConfig/setAdminConfig', NULL, 3, 2, 1, NULL);
  257. INSERT INTO `wk_admin_menu` VALUES (163, 3, '应用管理', 'configSet', NULL, NULL, 1, 2, 1, NULL);
  258. INSERT INTO `wk_admin_menu` VALUES (164, 163, '查看', 'read', NULL, NULL, 3, 1, 1, NULL);
  259. INSERT INTO `wk_admin_menu` VALUES (165, 163, '停用/启用', 'update', '/adminConfig/setModuleSetting', NULL, 3, 2, 1, NULL);
  260. INSERT INTO `wk_admin_menu` VALUES (166, 3, '员工与部门管理', 'users', NULL, NULL, 1, 3, 1, NULL);
  261. INSERT INTO `wk_admin_menu` VALUES (167, 166, '部门/员工查看', 'read', '', NULL, 3, 1, 1, NULL);
  262. INSERT INTO `wk_admin_menu` VALUES (168, 166, '员工新建', 'userSave', '/adminUser/addUser', NULL, 3, 2, 1, NULL);
  263. INSERT INTO `wk_admin_menu` VALUES (169, 166, '员工禁用/激活', 'userEnables', '/adminUser/setUserStatus', NULL, 3, 3, 1, NULL);
  264. INSERT INTO `wk_admin_menu` VALUES (170, 166, '员工操作', 'userUpdate', '/adminUser/setUser', NULL, 3, 4, 1, NULL);
  265. INSERT INTO `wk_admin_menu` VALUES (171, 166, '部门新建', 'deptSave', '/adminDept/addDept', NULL, 3, 5, 1, NULL);
  266. INSERT INTO `wk_admin_menu` VALUES (172, 166, '部门编辑', 'deptUpdate', '/adminDept/setDept', NULL, 3, 6, 1, NULL);
  267. INSERT INTO `wk_admin_menu` VALUES (173, 166, '部门删除', 'deptDelete', '/adminDept/deleteDept', NULL, 3, 7, 1, NULL);
  268. INSERT INTO `wk_admin_menu` VALUES (174, 3, '角色权限管理', 'permission', NULL, NULL, 1, 4, 1, NULL);
  269. INSERT INTO `wk_admin_menu` VALUES (175, 174, '角色权限设置', 'update', '/adminRole/getRoleByType/*', NULL, 3, 1, 1, NULL);
  270. INSERT INTO `wk_admin_menu` VALUES (176, 3, '办公审批流', 'oa', NULL, NULL, 1, 6, 1, NULL);
  271. INSERT INTO `wk_admin_menu` VALUES (177, 176, '办公审批流管理', 'examine', '/oaExamineCategory/queryExamineCategoryList', NULL, 3, 1, 1, NULL);
  272. INSERT INTO `wk_admin_menu` VALUES (178, 3, '业务审批流', 'examineFlow', NULL, NULL, 1, 5, 1, NULL);
  273. INSERT INTO `wk_admin_menu` VALUES (179, 178, '业务审批流管理', 'update', '/crmExamine/queryAllExamine', NULL, 3, 1, 1, NULL);
  274. INSERT INTO `wk_admin_menu` VALUES (180, 3, '客户管理设置', 'crm', NULL, NULL, 1, 7, 1, NULL);
  275. INSERT INTO `wk_admin_menu` VALUES (181, 180, '自定义字段设置', 'field', '/crmField/queryFields', NULL, 3, 1, 1, NULL);
  276. INSERT INTO `wk_admin_menu` VALUES (182, 180, '客户公海规则', 'pool', '/crmCustomerPool/queryPoolSettingList', NULL, 3, 2, 1, NULL);
  277. INSERT INTO `wk_admin_menu` VALUES (183, 180, '业务参数设置', 'setting', '', NULL, 3, 4, 1, NULL);
  278. INSERT INTO `wk_admin_menu` VALUES (184, 180, '业绩目标设置', 'achievement', '/biAchievement/queryAchievementList', NULL, 3, 5, 1, NULL);
  279. INSERT INTO `wk_admin_menu` VALUES (185, 3, '项目管理设置', 'work', NULL, NULL, 1, 8, 1, NULL);
  280. INSERT INTO `wk_admin_menu` VALUES (186, 185, '项目管理', 'update', '', NULL, 3, 1, 1, NULL);
  281. INSERT INTO `wk_admin_menu` VALUES (187, 148, '公告', 'announcement', NULL, NULL, 1, 2, 1, NULL);
  282. INSERT INTO `wk_admin_menu` VALUES (188, 187, '新建', 'save', '/oaAnnouncement/addAnnouncement', NULL, 3, 1, 1, NULL);
  283. INSERT INTO `wk_admin_menu` VALUES (189, 187, '编辑', 'update', '/oaAnnouncement/setAnnouncement', NULL, 3, 2, 1, NULL);
  284. INSERT INTO `wk_admin_menu` VALUES (190, 187, '删除', 'delete', '/oaAnnouncement/delete', NULL, 3, 3, 1, NULL);
  285. INSERT INTO `wk_admin_menu` VALUES (191, 10, '设置成交状态', 'dealStatus', '/crmCustomer/setDealStatus', NULL, 3, 0, 1, NULL);
  286. INSERT INTO `wk_admin_menu` VALUES (192, 13, '合同作废', 'discard', '/crmContract/contractDiscard', NULL, 3, 1, 1, NULL);
  287. INSERT INTO `wk_admin_menu` VALUES (193, 2, '呼叫中心', 'call', NULL, NULL, 1, 0, 1, NULL);
  288. INSERT INTO `wk_admin_menu` VALUES (194, 193, '查询通话记录', 'index', NULL, NULL, 3, 2, 1, NULL);
  289. INSERT INTO `wk_admin_menu` VALUES (195, 193, '通话记录分析', 'analysis', NULL, NULL, 3, 3, 1, NULL);
  290. INSERT INTO `wk_admin_menu` VALUES (200, 1, '市场活动', 'marketing', NULL, NULL, 1, 1, 1, '');
  291. INSERT INTO `wk_admin_menu` VALUES (201, 200, '新建', 'save', '/crmMarketing/add', NULL, 3, 1, 1, '');
  292. INSERT INTO `wk_admin_menu` VALUES (202, 200, '查看列表', 'index', '/crmMarketing/queryPageList', NULL, 3, 1, 1, '');
  293. INSERT INTO `wk_admin_menu` VALUES (204, 200, '编辑', 'update', '/crmMarketing/update', NULL, 3, 1, 1, '');
  294. INSERT INTO `wk_admin_menu` VALUES (205, 200, '删除', 'delete', '/crmMarketing/deleteByIds', NULL, 3, 1, 1, '');
  295. INSERT INTO `wk_admin_menu` VALUES (206, 200, '启用/停用', 'updateStatus', '/crmMarketing/updateStatus', NULL, 3, 1, 1, '');
  296. INSERT INTO `wk_admin_menu` VALUES (207, 200, '查看详情', 'read', '/crmMarketing/queryById', NULL, 3, 1, 1, '');
  297. INSERT INTO `wk_admin_menu` VALUES (208, 13, '导出', 'excelexport', '/crmContract/batchExportExcel,/crmContract/allExportExcel', NULL, 3, 1, 1, '');
  298. INSERT INTO `wk_admin_menu` VALUES (209, 12, '导出', 'excelexport', '/crmBusiness/batchExportExcel,/crmBusiness/allExportExcel', NULL, 3, 1, 1, '');
  299. INSERT INTO `wk_admin_menu` VALUES (211, 15, '删除', 'delete', '/crmProduct/deleteByIds', NULL, 3, 1, 1, '');
  300. INSERT INTO `wk_admin_menu` VALUES (212, 14, '导出', 'excelexport', '/crmReceivables/batchExportExcel,/crmReceivables/allExportExcel', NULL, 3, 1, 1, '');
  301. INSERT INTO `wk_admin_menu` VALUES (213, 1, '外勤', 'outwork', NULL, NULL, 1, 9, 1, NULL);
  302. INSERT INTO `wk_admin_menu` VALUES (214, 213, '新建', 'save', NULL, NULL, 3, 1, 1, NULL);
  303. INSERT INTO `wk_admin_menu` VALUES (215, 213, '查看', 'read', NULL, NULL, 3, 1, 1, NULL);
  304. INSERT INTO `wk_admin_menu` VALUES (216, 213, '删除', 'delete', NULL, NULL, 3, 1, 1, NULL);
  305. INSERT INTO `wk_admin_menu` VALUES (217, 213, '设置', 'setting', NULL, NULL, 3, 1, 1, NULL);
  306. INSERT INTO `wk_admin_menu` VALUES (218, 10, '附近的客户', 'nearbyCustomer', '/crmCustomer/nearbyCustomer', NULL, 3, 1, 1, '');
  307. INSERT INTO `wk_admin_menu` VALUES (230, 3, '系统日志', 'adminLog', NULL, NULL, 1, 9, 1, NULL);
  308. INSERT INTO `wk_admin_menu` VALUES (231, 230, '系统登录日志', 'loginLog', '/system/log/queryLoginLogList', NULL, 3, 0, 1, NULL);
  309. INSERT INTO `wk_admin_menu` VALUES (232, 230, '数据操作日志', 'actionRecord', '/system/log/queryActionRecordList', NULL, 3, 0, 1, NULL);
  310. INSERT INTO `wk_admin_menu` VALUES (233, 230, '系统操作日志', 'systemLog', '/system/log/querySystemLogList', NULL, 3, 1, 1, NULL);
  311. INSERT INTO `wk_admin_menu` VALUES (300, 0, '项目管理', 'work', NULL, NULL, 1, 0, 1, NULL);
  312. INSERT INTO `wk_admin_menu` VALUES (301, 300, '项目', 'project', NULL, NULL, 1, 0, 1, NULL);
  313. INSERT INTO `wk_admin_menu` VALUES (310, 301, '项目设置', 'setWork', '', NULL, 3, 1, 1, NULL);
  314. INSERT INTO `wk_admin_menu` VALUES (311, 301, '项目导出', 'excelExport', '', NULL, 3, 2, 1, NULL);
  315. INSERT INTO `wk_admin_menu` VALUES (312, 301, '新建任务列表', 'saveTaskClass', '', NULL, 3, 3, 1, NULL);
  316. INSERT INTO `wk_admin_menu` VALUES (313, 301, '编辑任务列表', 'updateTaskClass', '', NULL, 3, 4, 1, NULL);
  317. INSERT INTO `wk_admin_menu` VALUES (314, 301, '移动任务列表', 'updateClassOrder', '', NULL, 3, 5, 1, NULL);
  318. INSERT INTO `wk_admin_menu` VALUES (315, 301, '删除任务列表', 'deleteTaskClass', '', NULL, 3, 6, 1, NULL);
  319. INSERT INTO `wk_admin_menu` VALUES (316, 301, '新建任务', 'saveTask', '', NULL, 3, 7, 1, NULL);
  320. INSERT INTO `wk_admin_menu` VALUES (317, 301, '完成任务', 'setTaskStatus', '', NULL, 3, 8, 1, NULL);
  321. INSERT INTO `wk_admin_menu` VALUES (318, 301, '编辑任务标题', 'setTaskTitle', '', NULL, 3, 9, 1, NULL);
  322. INSERT INTO `wk_admin_menu` VALUES (319, 301, '编辑任务描述', 'setTaskDescription', '', NULL, 3, 10, 1, NULL);
  323. INSERT INTO `wk_admin_menu` VALUES (320, 301, '分配任务', 'setTaskMainUser', '', NULL, 3, 11, 1, NULL);
  324. INSERT INTO `wk_admin_menu` VALUES (321, 301, '设置任务时间', 'setTaskTime', '', NULL, 3, 12, 1, NULL);
  325. INSERT INTO `wk_admin_menu` VALUES (322, 301, '设置任务标签', 'setTaskLabel', '', NULL, 3, 13, 1, NULL);
  326. INSERT INTO `wk_admin_menu` VALUES (323, 301, '添加任务参与人', 'setTaskOwnerUser', '', NULL, 3, 14, 1, NULL);
  327. INSERT INTO `wk_admin_menu` VALUES (324, 301, '设置任务优先级', 'setTaskPriority', '', NULL, 3, 15, 1, NULL);
  328. INSERT INTO `wk_admin_menu` VALUES (325, 301, '移动任务', 'setTaskOrder', '', NULL, 3, 16, 1, NULL);
  329. INSERT INTO `wk_admin_menu` VALUES (326, 301, '归档任务', 'archiveTask', '', NULL, 3, 17, 1, NULL);
  330. INSERT INTO `wk_admin_menu` VALUES (327, 301, '删除任务', 'deleteTask', '', NULL, 3, 18, 1, NULL);
  331. INSERT INTO `wk_admin_menu` VALUES (328, 301, '彻底删除任务', 'cleanTask', '', NULL, 3, 19, 1, NULL);
  332. INSERT INTO `wk_admin_menu` VALUES (329, 301, '任务添加附件', 'uploadTaskFile', '', NULL, 3, 20, 1, NULL);
  333. INSERT INTO `wk_admin_menu` VALUES (330, 301, '任务删除附件', 'deleteTaskFile', '', NULL, 3, 21, 1, NULL);
  334. INSERT INTO `wk_admin_menu` VALUES (331, 301, '项目导入', 'excelImport', '', NULL, 3, 22, 1, NULL);
  335. INSERT INTO `wk_admin_menu` VALUES (332, 301, '新建子任务', 'addChildTask', '', NULL, 3, 23, 1, NULL);
  336. INSERT INTO `wk_admin_menu` VALUES (333, 301, '编辑子任务', 'updateChildTask', '', NULL, 3, 24, 1, NULL);
  337. INSERT INTO `wk_admin_menu` VALUES (334, 301, '删除子任务', 'deleteChildTask', '', NULL, 3, 25, 1, NULL);
  338. INSERT INTO `wk_admin_menu` VALUES (335, 301, '恢复任务', 'restoreTask', '', NULL, 3, 26, 1, NULL);
  339. INSERT INTO `wk_admin_menu` VALUES (336, 301, '关联业务', 'saveTaskRelation', '', NULL, 3, 27, 1, NULL);
  340. INSERT INTO `wk_admin_menu` VALUES (337, 301, '完成子任务', 'setChildTaskStatus', '', NULL, 3, 28, 1, NULL);
  341. INSERT INTO `wk_admin_menu` VALUES (400, 1, '客户回访管理', 'visit', NULL, NULL, 1, 8, 1, NULL);
  342. INSERT INTO `wk_admin_menu` VALUES (401, 400, '新建', 'save', '/crmReturnVisit/add', NULL, 3, 1, 1, NULL);
  343. INSERT INTO `wk_admin_menu` VALUES (402, 400, '编辑', 'update', '/crmReturnVisit/update', NULL, 3, 1, 1, NULL);
  344. INSERT INTO `wk_admin_menu` VALUES (403, 400, '查看列表', 'index', '/crmReturnVisit/queryPageList', NULL, 3, 1, 1, NULL);
  345. INSERT INTO `wk_admin_menu` VALUES (404, 400, '查看详情', 'read', '/crmReturnVisit/queryById/*', NULL, 3, 1, 1, NULL);
  346. INSERT INTO `wk_admin_menu` VALUES (405, 400, '删除', 'delete', '/crmReturnVisit/deleteByIds', NULL, 3, 1, 1, NULL);
  347. INSERT INTO `wk_admin_menu` VALUES (420, 1, '发票管理', 'invoice', NULL, NULL, 1, 9, 1, NULL);
  348. INSERT INTO `wk_admin_menu` VALUES (421, 420, '新建', 'save', '/crmInvoice/save', NULL, 3, 1, 1, NULL);
  349. INSERT INTO `wk_admin_menu` VALUES (422, 420, '编辑', 'update', '/crmInvoice/update', NULL, 3, 1, 1, NULL);
  350. INSERT INTO `wk_admin_menu` VALUES (423, 420, '查看列表', 'index', '/crmInvoice/queryPageList', NULL, 3, 1, 1, NULL);
  351. INSERT INTO `wk_admin_menu` VALUES (424, 420, '查看详情', 'read', '/crmInvoice/queryById/*', NULL, 3, 1, 1, NULL);
  352. INSERT INTO `wk_admin_menu` VALUES (425, 420, '删除', 'delete', '/crmInvoice/deleteByIds', NULL, 3, 1, 1, NULL);
  353. INSERT INTO `wk_admin_menu` VALUES (426, 420, '转移', 'transfer', '/crmInvoice/changeOwnerUser', NULL, 3, 1, 1, NULL);
  354. INSERT INTO `wk_admin_menu` VALUES (427, 420, '标记开票', 'updateInvoiceStatus', '/crmInvoice/updateInvoiceStatus', NULL, 3, 1, 1, NULL);
  355. INSERT INTO `wk_admin_menu` VALUES (428, 420, '重置开票信息', 'resetInvoiceStatus', '/crmInvoice/resetInvoiceStatus', NULL, 3, 1, 1, NULL);
  356. INSERT INTO `wk_admin_menu` VALUES (440, 1, '跟进记录管理', 'followRecord', NULL, NULL, 1, 10, 1, NULL);
  357. INSERT INTO `wk_admin_menu` VALUES (441, 440, '查看', 'read', '/crmInstrument/queryRecordList', NULL, 3, 1, 1, NULL);
  358. INSERT INTO `wk_admin_menu` VALUES (442, 440, '新建', 'save', '/crmActivity/addCrmActivityRecord', NULL, 3, 2, 1, NULL);
  359. INSERT INTO `wk_admin_menu` VALUES (443, 440, '编辑', 'update', '/crmActivity/updateActivityRecord', NULL, 3, 3, 1, NULL);
  360. INSERT INTO `wk_admin_menu` VALUES (444, 440, '删除', 'delete', '/crmActivity/deleteCrmActivityRecord/*', NULL, 3, 4, 1, NULL);
  361. INSERT INTO `wk_admin_menu` VALUES (500, 180, '打印模板设置', 'print', '', NULL, 3, 3, 1, NULL);
  362. INSERT INTO `wk_admin_menu` VALUES (501, 12, '打印', 'print', '', NULL, 3, 1, 1, NULL);
  363. INSERT INTO `wk_admin_menu` VALUES (502, 13, '打印', 'print', '', NULL, 3, 1, 1, NULL);
  364. INSERT INTO `wk_admin_menu` VALUES (503, 14, '打印', 'print', '', NULL, 3, 1, 1, NULL);
  365. INSERT INTO `wk_admin_menu` VALUES (601, 6, '供应商', 'supplier', '', NULL, 1, 1, 1, NULL);
  366. INSERT INTO `wk_admin_menu` VALUES (602, 601, '新建', 'save', '/jxcSupplier/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  367. INSERT INTO `wk_admin_menu` VALUES (603, 601, '编辑', 'update', '/jxcSupplier/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  368. INSERT INTO `wk_admin_menu` VALUES (604, 601, '查看列表', 'index', '/jxcField/queryPageList/2', NULL, 3, 1, 1, NULL);
  369. INSERT INTO `wk_admin_menu` VALUES (605, 601, '查看详情', 'read', '/jxcField/information/2,/jxcSupplier/queryById/*', NULL, 3, 1, 1, NULL);
  370. INSERT INTO `wk_admin_menu` VALUES (606, 601, '删除', 'delete', '/jxcSupplier/deleteByIds', NULL, 3, 1, 1, NULL);
  371. INSERT INTO `wk_admin_menu` VALUES (607, 601, '转移', 'transfer', '/jxcField/transfer/2', NULL, 3, 1, 1, NULL);
  372. INSERT INTO `wk_admin_menu` VALUES (608, 601, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  373. INSERT INTO `wk_admin_menu` VALUES (610, 6, '采购订单', 'purchase', '', NULL, 1, 2, 1, NULL);
  374. INSERT INTO `wk_admin_menu` VALUES (611, 610, '新建', 'save', '/jxcPurchase/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  375. INSERT INTO `wk_admin_menu` VALUES (612, 610, '编辑', 'update', '/jxcPurchase/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  376. INSERT INTO `wk_admin_menu` VALUES (613, 610, '查看列表', 'index', '/jxcField/queryPageList/3', NULL, 3, 1, 1, NULL);
  377. INSERT INTO `wk_admin_menu` VALUES (614, 610, '查看详情', 'read', '/jxcField/information/3,/jxcPurchase/queryById/*', NULL, 3, 1, 1, NULL);
  378. INSERT INTO `wk_admin_menu` VALUES (615, 610, '删除', 'delete', '/jxcPurchase/deleteByIds', NULL, 3, 1, 1, NULL);
  379. INSERT INTO `wk_admin_menu` VALUES (616, 610, '转移', 'transfer', '/jxcField/transfer/3', NULL, 3, 1, 1, NULL);
  380. INSERT INTO `wk_admin_menu` VALUES (617, 610, '作废', 'setState', '/jxcPurchase/setStateByIds', NULL, 3, 1, 1, NULL);
  381. INSERT INTO `wk_admin_menu` VALUES (618, 610, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  382. INSERT INTO `wk_admin_menu` VALUES (620, 6, '采购退货', 'retreat', '', NULL, 1, 3, 1, NULL);
  383. INSERT INTO `wk_admin_menu` VALUES (621, 620, '新建', 'save', '/jxcRetreat/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  384. INSERT INTO `wk_admin_menu` VALUES (622, 620, '编辑', 'update', '/jxcRetreat/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  385. INSERT INTO `wk_admin_menu` VALUES (623, 620, '查看列表', 'index', '/jxcField/queryPageList/4', NULL, 3, 1, 1, NULL);
  386. INSERT INTO `wk_admin_menu` VALUES (624, 620, '查看详情', 'read', '/jxcField/information/4,/jxcRetreat/queryById/*', NULL, 3, 1, 1, NULL);
  387. INSERT INTO `wk_admin_menu` VALUES (625, 620, '删除', 'delete', '/jxcRetreat/deleteByIds', NULL, 3, 1, 1, NULL);
  388. INSERT INTO `wk_admin_menu` VALUES (626, 620, '转移', 'transfer', '/jxcField/transfer/4', NULL, 3, 1, 1, NULL);
  389. INSERT INTO `wk_admin_menu` VALUES (627, 620, '作废', 'setState', '/jxcRetreat/setStateByIds', NULL, 3, 1, 1, NULL);
  390. INSERT INTO `wk_admin_menu` VALUES (628, 620, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  391. INSERT INTO `wk_admin_menu` VALUES (630, 6, '产品', 'product', '', NULL, 1, 4, 1, NULL);
  392. INSERT INTO `wk_admin_menu` VALUES (631, 630, '新建', 'save', '/jxcProduct/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  393. INSERT INTO `wk_admin_menu` VALUES (632, 630, '编辑', 'update', '/jxcProduct/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  394. INSERT INTO `wk_admin_menu` VALUES (633, 630, '查看列表', 'index', '/jxcField/queryList/1,/jxcField/queryPageList/1,/jxcWarehouseProduct/queryPageList,/jxcWarehouseProduct/queryList', NULL, 3, 1, 1, NULL);
  395. INSERT INTO `wk_admin_menu` VALUES (634, 630, '查看详情', 'read', '/jxcField/information/1,/jxcProduct/queryById/*', NULL, 3, 1, 1, NULL);
  396. INSERT INTO `wk_admin_menu` VALUES (636, 630, '上/下架', 'self', '/jxcProduct/addorUpdateShelf', NULL, 3, 1, 1, NULL);
  397. INSERT INTO `wk_admin_menu` VALUES (637, 630, '删除', 'delete', '/jxcProduct/deleteByIds', NULL, NULL, 0, 1, NULL);
  398. INSERT INTO `wk_admin_menu` VALUES (638, 630, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  399. INSERT INTO `wk_admin_menu` VALUES (640, 6, '销售订单', 'sale', '', NULL, 1, 5, 1, NULL);
  400. INSERT INTO `wk_admin_menu` VALUES (641, 640, '新建', 'save', '/jxcSale/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  401. INSERT INTO `wk_admin_menu` VALUES (642, 640, '编辑', 'update', '/jxcSale/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  402. INSERT INTO `wk_admin_menu` VALUES (643, 640, '查看列表', 'index', '/jxcField/queryPageList/5', NULL, 3, 1, 1, NULL);
  403. INSERT INTO `wk_admin_menu` VALUES (644, 640, '查看详情', 'read', '/jxcField/information/5,/jxcSale/queryById/*', NULL, 3, 1, 1, NULL);
  404. INSERT INTO `wk_admin_menu` VALUES (645, 640, '删除', 'delete', '/jxcSale/deleteByIds', NULL, 3, 1, 1, NULL);
  405. INSERT INTO `wk_admin_menu` VALUES (646, 640, '转移', 'transfer', '/jxcField/transfer/5', NULL, 3, 1, 1, NULL);
  406. INSERT INTO `wk_admin_menu` VALUES (647, 640, '作废', 'setState', '/jxcSale/setStateByIds', NULL, 3, 1, 1, NULL);
  407. INSERT INTO `wk_admin_menu` VALUES (648, 640, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  408. INSERT INTO `wk_admin_menu` VALUES (650, 6, '销售退货单', 'saleReturn', '', NULL, 1, 6, 1, NULL);
  409. INSERT INTO `wk_admin_menu` VALUES (651, 650, '新建', 'save', '/jxcSaleReturn/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  410. INSERT INTO `wk_admin_menu` VALUES (652, 650, '编辑', 'update', '/jxcSaleReturn/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  411. INSERT INTO `wk_admin_menu` VALUES (653, 650, '查看列表', 'index', '/jxcField/queryPageList/6', NULL, 3, 1, 1, NULL);
  412. INSERT INTO `wk_admin_menu` VALUES (654, 650, '查看详情', 'read', '/jxcField/information/6,/jxcSaleReturn/queryById/*', NULL, 3, 1, 1, NULL);
  413. INSERT INTO `wk_admin_menu` VALUES (655, 650, '删除', 'delete', '/jxcSaleReturn/deleteByIds', NULL, 3, 1, 1, NULL);
  414. INSERT INTO `wk_admin_menu` VALUES (656, 650, '转移', 'transfer', '/jxcField/transfer/6', NULL, 3, 1, 1, NULL);
  415. INSERT INTO `wk_admin_menu` VALUES (657, 650, '作废', 'setState', '/jxcSaleReturn/setStateByIds', NULL, 3, 1, 1, NULL);
  416. INSERT INTO `wk_admin_menu` VALUES (658, 650, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  417. INSERT INTO `wk_admin_menu` VALUES (670, 6, '仓库管理', 'warehouse', '', NULL, 1, 7, 1, NULL);
  418. INSERT INTO `wk_admin_menu` VALUES (671, 670, '新建', 'save', '/jxcWarehouse/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  419. INSERT INTO `wk_admin_menu` VALUES (672, 670, '编辑', 'update', '/jxcWarehouse/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  420. INSERT INTO `wk_admin_menu` VALUES (673, 670, '查看列表', 'index', '/jxcWarehouse/queryPageList', NULL, 3, 1, 1, NULL);
  421. INSERT INTO `wk_admin_menu` VALUES (675, 670, '删除', 'delete', '/jxcWarehouse/deleteByIds', NULL, 3, 1, 1, NULL);
  422. INSERT INTO `wk_admin_menu` VALUES (676, 670, '停用/启用', 'spst', '/jxcWarehouse/setTrunByIds', NULL, 3, 1, 1, NULL);
  423. INSERT INTO `wk_admin_menu` VALUES (677, 670, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  424. INSERT INTO `wk_admin_menu` VALUES (680, 6, '产品库存', 'warehouseProduct', '', NULL, 1, 8, 1, NULL);
  425. INSERT INTO `wk_admin_menu` VALUES (681, 680, '查看列表', 'index', '/jxcWarehouseProduct/queryPageList', NULL, 3, 1, 1, NULL);
  426. INSERT INTO `wk_admin_menu` VALUES (682, 680, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  427. INSERT INTO `wk_admin_menu` VALUES (690, 6, '产品入库', 'receipt', '', NULL, 1, 9, 1, NULL);
  428. INSERT INTO `wk_admin_menu` VALUES (691, 690, '新建', 'save', '/jxcReceipt/addOrUpdate', NULL, 3, 1, 1, NULL);
  429. INSERT INTO `wk_admin_menu` VALUES (693, 690, '查看列表', 'index', '/jxcField/queryPageList/7', NULL, 3, 1, 1, NULL);
  430. INSERT INTO `wk_admin_menu` VALUES (694, 690, '查看详情', 'read', '/jxcField/information/7,/jxcReceipt/queryById/*', NULL, 3, 1, 1, NULL);
  431. INSERT INTO `wk_admin_menu` VALUES (695, 690, '作废', 'setState', '/jxcReceipt/setStateByIds', NULL, 3, 1, 1, NULL);
  432. INSERT INTO `wk_admin_menu` VALUES (696, 690, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  433. INSERT INTO `wk_admin_menu` VALUES (700, 6, '产品出库', 'outbound', '', NULL, 1, 10, 1, NULL);
  434. INSERT INTO `wk_admin_menu` VALUES (701, 700, '新建', 'save', '/jxcOutbound/addOrUpdate', NULL, 3, 1, 1, NULL);
  435. INSERT INTO `wk_admin_menu` VALUES (703, 700, '查看列表', 'index', '/jxcField/queryPageList/8', NULL, 3, 1, 1, NULL);
  436. INSERT INTO `wk_admin_menu` VALUES (704, 700, '查看详情', 'read', '/jxcField/information/8,/jxcOutbound/queryById/*', NULL, 3, 1, 1, NULL);
  437. INSERT INTO `wk_admin_menu` VALUES (705, 700, '作废', 'setState', '/jxcOutbound/setStateByIds', NULL, 3, 1, 1, NULL);
  438. INSERT INTO `wk_admin_menu` VALUES (706, 700, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  439. INSERT INTO `wk_admin_menu` VALUES (710, 6, '库存调拨', 'allocation', '', NULL, 1, 11, 1, NULL);
  440. INSERT INTO `wk_admin_menu` VALUES (711, 710, '新建', 'save', '/jxcAllocation/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  441. INSERT INTO `wk_admin_menu` VALUES (712, 710, '编辑', 'update', '/jxcAllocation/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  442. INSERT INTO `wk_admin_menu` VALUES (713, 710, '查看列表', 'index', '/jxcField/queryPageList/12', NULL, 3, 1, 1, NULL);
  443. INSERT INTO `wk_admin_menu` VALUES (714, 710, '查看详情', 'read', '/jxcField/information/12,/jxcAllocation/queryById/*', NULL, 3, 1, 1, NULL);
  444. INSERT INTO `wk_admin_menu` VALUES (715, 710, '删除', 'delete', '/jxcAllocation/deleteByIds', NULL, 3, 1, 1, NULL);
  445. INSERT INTO `wk_admin_menu` VALUES (716, 710, '作废', 'setState', '/jxcAllocation/setStateByIds', NULL, 3, 1, 1, NULL);
  446. INSERT INTO `wk_admin_menu` VALUES (717, 710, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  447. INSERT INTO `wk_admin_menu` VALUES (720, 6, '库存盘点', 'inventory', '', NULL, 1, 12, 1, NULL);
  448. INSERT INTO `wk_admin_menu` VALUES (721, 720, '新建', 'save', '/jxcInventory/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  449. INSERT INTO `wk_admin_menu` VALUES (722, 720, '编辑', 'update', '/jxcInventory/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  450. INSERT INTO `wk_admin_menu` VALUES (723, 720, '查看列表', 'index', '/jxcField/queryPageList/11', NULL, 3, 1, 1, NULL);
  451. INSERT INTO `wk_admin_menu` VALUES (724, 720, '查看详情', 'read', '/jxcField/information/11,/jxcInventory/queryById/*', NULL, 3, 1, 1, NULL);
  452. INSERT INTO `wk_admin_menu` VALUES (725, 720, '删除', 'delete', '/jxcInventory/deleteByIds', NULL, 3, 1, 1, NULL);
  453. INSERT INTO `wk_admin_menu` VALUES (726, 720, '作废', 'setState', '/jxcInventory/setStateByIds', NULL, 3, 1, 1, NULL);
  454. INSERT INTO `wk_admin_menu` VALUES (727, 720, '盘点入库', 'storage', NULL, NULL, NULL, 0, 1, NULL);
  455. INSERT INTO `wk_admin_menu` VALUES (728, 720, '盘点作废', 'invalid', '', NULL, NULL, 0, 1, NULL);
  456. INSERT INTO `wk_admin_menu` VALUES (729, 720, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  457. INSERT INTO `wk_admin_menu` VALUES (730, 6, '出入库明细', 'detailed', '', NULL, 1, 13, 1, NULL);
  458. INSERT INTO `wk_admin_menu` VALUES (731, 730, '查看列表', 'index', '/jxcField/queryPageList/13', NULL, 3, 1, 1, NULL);
  459. INSERT INTO `wk_admin_menu` VALUES (732, 730, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  460. INSERT INTO `wk_admin_menu` VALUES (740, 6, '回款', 'collection', '', NULL, 1, 14, 1, NULL);
  461. INSERT INTO `wk_admin_menu` VALUES (741, 740, '新建', 'save', '/jxcCollection/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  462. INSERT INTO `wk_admin_menu` VALUES (742, 740, '编辑', 'update', '/jxcCollection/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  463. INSERT INTO `wk_admin_menu` VALUES (743, 740, '查看列表', 'index', '/jxcField/queryPageList/10', NULL, 3, 1, 1, NULL);
  464. INSERT INTO `wk_admin_menu` VALUES (744, 740, '查看详情', 'read', '/jxcField/information/10,/jxcCollection/queryById/*', NULL, 3, 1, 1, NULL);
  465. INSERT INTO `wk_admin_menu` VALUES (745, 740, '删除', 'delete', '/jxcCollection/deleteByIds', NULL, 3, 1, 1, NULL);
  466. INSERT INTO `wk_admin_menu` VALUES (746, 740, '转移', 'transfer', '/jxcField/transfer/10', NULL, 3, 1, 1, NULL);
  467. INSERT INTO `wk_admin_menu` VALUES (747, 740, '作废', 'setState', '/jxcCollection/setStateByIds', NULL, 3, 1, 1, NULL);
  468. INSERT INTO `wk_admin_menu` VALUES (748, 740, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  469. INSERT INTO `wk_admin_menu` VALUES (750, 6, '付款', 'payment', '', NULL, 1, 15, 1, NULL);
  470. INSERT INTO `wk_admin_menu` VALUES (751, 750, '新建', 'save', '/jxcPayment/addOrUpdate/add', NULL, 3, 1, 1, NULL);
  471. INSERT INTO `wk_admin_menu` VALUES (752, 750, '编辑', 'update', '/jxcPayment/addOrUpdate/update', NULL, 3, 1, 1, NULL);
  472. INSERT INTO `wk_admin_menu` VALUES (753, 750, '查看列表', 'index', '/jxcField/queryPageList/9', NULL, 3, 1, 1, NULL);
  473. INSERT INTO `wk_admin_menu` VALUES (754, 750, '查看详情', 'read', '/jxcField/information/9,/jxcPayment/queryById/*', NULL, 3, 1, 1, NULL);
  474. INSERT INTO `wk_admin_menu` VALUES (755, 750, '删除', 'delete', '/jxcPayment/deleteByIds', NULL, 3, 1, 1, NULL);
  475. INSERT INTO `wk_admin_menu` VALUES (756, 750, '转移', 'transfer', '/jxcField/transfer/9', NULL, 3, 1, 1, NULL);
  476. INSERT INTO `wk_admin_menu` VALUES (757, 750, '作废', 'setState', '/jxcPayment/setStateByIds', NULL, 3, 1, 1, NULL);
  477. INSERT INTO `wk_admin_menu` VALUES (758, 750, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
  478. INSERT INTO `wk_admin_menu` VALUES (760, 2, '全部', 'jxc', '', NULL, 1, 0, 1, NULL);
  479. INSERT INTO `wk_admin_menu` VALUES (761, 760, '进销存采购分析', 'purchasingStatistics', '', NULL, 1, 0, 1, NULL);
  480. INSERT INTO `wk_admin_menu` VALUES (762, 761, '查看', 'read', '/jxcPurchaseStatistics/purchasingStatistics,/jxcProductPurchaseStatistics/productPurchaseStatistics,/jxcProductPurchaseStatistics/purchaseHeadStatistics,/jxcSupplierPurchaseStatistics/supplierPurchaseStatistics', NULL, 3, 0, 1, NULL);
  481. INSERT INTO `wk_admin_menu` VALUES (763, 760, '进销存销售分析', 'saleStatistics', '', NULL, 1, 0, 1, NULL);
  482. INSERT INTO `wk_admin_menu` VALUES (764, 763, '查看', 'read', '/jxcSaleStatistics/saleStatistics,/jxcProductSaleStatistics/productSaleStatistics,/jxcProductSaleStatistics/saleHeadStatistics,/jxcCustomerSaleStatistics/customerSaleStatistics,/jxcCustomerSaleStatistics/customerSaleStatistics', NULL, 3, 0, 1, NULL);
  483. INSERT INTO `wk_admin_menu` VALUES (765, 760, '进销存产品分析', 'productStatistics', '', NULL, 1, 0, 1, NULL);
  484. INSERT INTO `wk_admin_menu` VALUES (766, 765, '查看', 'read', '/jxcProductStatistics/productStatistics,/jxcProductStatistics/productHeadStatistics', NULL, 3, 0, 1, NULL);
  485. INSERT INTO `wk_admin_menu` VALUES (800, 5, '员工管理', 'employee', '', NULL, 1, 1, 1, NULL);
  486. INSERT INTO `wk_admin_menu` VALUES (801, 800, '新建', 'save', '/hrmEmployee/addEmployee', NULL, 3, 1, 1, NULL);
  487. INSERT INTO `wk_admin_menu` VALUES (802, 800, '编辑', 'update', '/hrmEmployeePost/updatePostInformation,/hrmEmployee/setEduExperience,/hrmEmployee/addExperience,/hrmEmployee/deleteEduExperience,/hrmEmployee/addWorkExperience,/hrmEmployee/setWorkExperience,/hrmEmployee/deleteWorkExperience,/hrmEmployee/addCertificate,/hrmEmployee/setCertificate,/hrmEmployee/deleteCertificate,/hrmEmployee/addTrainingExperience,/hrmEmployee/setTrainingExperience,/hrmEmployee/deleteTrainingExperience,/hrmEmployee/addContacts,/hrmEmployee/setContacts,/hrmEmployee/deleteContacts,/hrmEmployeeContract/addContract,/hrmEmployeeContract/setContract,/hrmEmployeeContract/deleteContract,/SocialSecurity/setSalaryCard,/SocialSecurity/setSocialSecurity,/hrmEmployeeFile/addFile,/hrmEmployeeFile/deleteFile', NULL, 3, 2, 1, NULL);
  488. INSERT INTO `wk_admin_menu` VALUES (803, 800, '查看列表', 'index', '/hrmEmployee/queryPageList', NULL, 3, 3, 1, 'label-92');
  489. INSERT INTO `wk_admin_menu` VALUES (804, 800, '查看详情', 'read', '/hrmEmployee/queryById,/hrmEmployeePost/postInformation,/hrmEmployee/personalInformation,/hrmEmployeeContract/contractInformation,/hrmEmployee/SocialSecurity/salarySocialSecurityInformation,/hrmEmployeeFile/queryFileNum', NULL, 3, 4, 1, 'label-92');
  490. INSERT INTO `wk_admin_menu` VALUES (805, 800, '导入', 'excelimport', '/hrmEmployee/uploadExcel', NULL, 3, 5, 1, NULL);
  491. INSERT INTO `wk_admin_menu` VALUES (806, 800, '导出', 'excelexport', '/hrmEmployee/export', NULL, 3, 6, 1, NULL);
  492. INSERT INTO `wk_admin_menu` VALUES (807, 800, '删除', 'delete', '/hrmEmployee/deleteByIds', NULL, 3, 7, 1, NULL);
  493. INSERT INTO `wk_admin_menu` VALUES (808, 800, '办理转正', 'become', '/hrmEmployee/become', NULL, 3, 8, 1, NULL);
  494. INSERT INTO `wk_admin_menu` VALUES (809, 800, '调整部门/岗位', 'changePost', '/hrmEmployee/changePost', NULL, 3, 9, 1, NULL);
  495. INSERT INTO `wk_admin_menu` VALUES (810, 800, '晋升/降级', 'promotion', '/hrmEmployee/promotion', NULL, 3, 10, 1, NULL);
  496. INSERT INTO `wk_admin_menu` VALUES (811, 800, '办理离职', 'leave', '/hrmEmployeePost/addLeaveInformation', NULL, 3, 11, 1, NULL);
  497. INSERT INTO `wk_admin_menu` VALUES (812, 800, '设置参保方案', 'setInsured', '/hrmEmployee/updateInsuranceScheme', NULL, 3, 12, 1, NULL);
  498. INSERT INTO `wk_admin_menu` VALUES (813, 800, '再入职', 'againOnboarding', '/hrmEmployee/againOnboarding', NULL, 3, 13, 1, NULL);
  499. INSERT INTO `wk_admin_menu` VALUES (814, 800, '确认入职', 'confirmEntry', '/hrmEmployee/confirmEntry', NULL, 3, 13, 1, NULL);
  500. INSERT INTO `wk_admin_menu` VALUES (815, 800, '放弃离职', 'cancelLevel', '/hrmEmployeePost/deleteLeaveInformation', NULL, 3, 14, 1, NULL);
  501. INSERT INTO `wk_admin_menu` VALUES (830, 5, '组织管理', 'dept', '', NULL, 1, 2, 1, NULL);
  502. INSERT INTO `wk_admin_menu` VALUES (831, 830, '新建', 'save', '/hrmDept/addDept', NULL, 3, 1, 1, NULL);
  503. INSERT INTO `wk_admin_menu` VALUES (832, 830, '编辑', 'update', '/hrmDept/setDept', NULL, 3, 2, 1, NULL);
  504. INSERT INTO `wk_admin_menu` VALUES (833, 830, '查看列表', 'index', '', NULL, 3, 3, 1, 'label-92');
  505. INSERT INTO `wk_admin_menu` VALUES (834, 830, '查看详情', 'read', '/hrmDept/queryById', NULL, 3, 4, 1, 'label-92');
  506. INSERT INTO `wk_admin_menu` VALUES (835, 830, '删除', 'delete', '/hrmDept/deleteDeptById', NULL, 3, 5, 1, NULL);
  507. INSERT INTO `wk_admin_menu` VALUES (840, 5, '薪资管理', 'salary', '', NULL, 1, 3, 1, NULL);
  508. INSERT INTO `wk_admin_menu` VALUES (841, 840, '工资表维护', 'manage', '/hrmSalaryMonthRecord/computeSalaryData,/hrmSalaryMonthRecord/updateSalary,/hrmSalaryMonthRecord/submitExamine,/hrmSalaryMonthRecord/addNextMonthSalary', NULL, 3, 1, 1, NULL);
  509. INSERT INTO `wk_admin_menu` VALUES (842, 840, '查看薪酬列表', 'index', '/hrmSalaryOption/querySalaryOptionDetail', NULL, 3, 2, 1, 'label-92');
  510. INSERT INTO `wk_admin_menu` VALUES (843, 840, '查看历史工资', 'history', '/hrmSalaryHistoryRecord/queryHistorySalaryList', NULL, 3, 3, 1, 'label-92');
  511. INSERT INTO `wk_admin_menu` VALUES (844, 840, '发放工资条', 'sendSlip', '/hrmSalarySlipRecord/sendSalarySlip', NULL, 3, 4, 1, NULL);
  512. INSERT INTO `wk_admin_menu` VALUES (845, 840, '查看发放记录', 'queryRecord', '', NULL, 3, 5, 1, NULL);
  513. INSERT INTO `wk_admin_menu` VALUES (846, 840, '查看薪资档案', 'queryArchives', '/hrmSalaryArchives/querySalaryArchivesList', NULL, 3, 6, 1, 'label-92');
  514. INSERT INTO `wk_admin_menu` VALUES (847, 840, '维护薪资档案', 'updateArchives', '/hrmSalaryArchives/setFixSalaryRecord,/hrmSalaryArchives/setChangeSalaryRecord,/deleteChangeSalary/setChangeSalaryRecord,/deleteChangeSalary/batchChangeSalaryRecord,/deleteChangeSalary/exportFixSalaryRecord', NULL, 3, 7, 1, NULL);
  515. INSERT INTO `wk_admin_menu` VALUES (850, 5, '社保管理', 'insurance', '', NULL, 1, 4, 1, NULL);
  516. INSERT INTO `wk_admin_menu` VALUES (851, 850, '维护社保', 'manage', '/hrmInsuranceMonthRecord/computeInsuranceData,/hrmInsuranceMonthEmpRecord/stop,/hrmInsuranceMonthEmpRecord/updateInsuranceProject', NULL, 3, 1, 1, NULL);
  517. INSERT INTO `wk_admin_menu` VALUES (852, 850, '查看社保', 'read', '/hrmInsuranceMonthRecord/queryInsuranceRecordList', NULL, 3, 2, 1, 'label-92');
  518. INSERT INTO `wk_admin_menu` VALUES (860, 5, '招聘管理', 'recruit', '', NULL, 1, 5, 1, NULL);
  519. INSERT INTO `wk_admin_menu` VALUES (861, 860, '新建候选人', 'save', '/hrmRecruitCandidate/addCandidate', NULL, 3, 1, 1, NULL);
  520. INSERT INTO `wk_admin_menu` VALUES (862, 860, '查看候选人', 'read', '/hrmRecruitCandidate/queryPageList,/hrmRecruitCandidate/queryById', NULL, 3, 2, 1, 'label-92');
  521. INSERT INTO `wk_admin_menu` VALUES (863, 860, '维护候选人', 'manage', '/hrmRecruitCandidate/setCandidate,/hrmRecruitCandidate/updateCandidateStatus,/hrmRecruitCandidate/updateCandidatePost,/hrmRecruitCandidate/updateCandidateRecruitChannel,/hrmRecruitCandidate/eliminateCandidate', NULL, 3, 3, 1, NULL);
  522. INSERT INTO `wk_admin_menu` VALUES (864, 860, '删除候选人', 'delete', '/hrmRecruitCandidate/deleteByIds,/hrmRecruitCandidate/deleteById', NULL, 3, 4, 1, NULL);
  523. INSERT INTO `wk_admin_menu` VALUES (865, 860, '新建招聘职位', 'savePost', '/hrmRecruitPost/addRecruitPost', NULL, 3, 5, 1, NULL);
  524. INSERT INTO `wk_admin_menu` VALUES (866, 860, '编辑招聘职位', 'updatePost', '/hrmRecruitPost/setRecruitPost', NULL, 3, 6, 1, NULL);
  525. INSERT INTO `wk_admin_menu` VALUES (867, 860, '查看招聘职位', 'readPost', '/hrmRecruitPost/queryRecruitPostPageList,/hrmRecruitPost/queryById', NULL, 3, 7, 1, 'label-92');
  526. INSERT INTO `wk_admin_menu` VALUES (868, 860, '停用/启用招聘职位', 'updatePostStatus', '/hrmRecruitPost/updateRecruitPostStatus', NULL, 3, 8, 1, NULL);
  527. INSERT INTO `wk_admin_menu` VALUES (880, 5, '绩效管理', 'appraisal', '', NULL, 1, 6, 1, NULL);
  528. INSERT INTO `wk_admin_menu` VALUES (881, 880, '新建绩效', 'save', '/hrmRecruitPost/addAppraisal', NULL, 3, 1, 1, NULL);
  529. INSERT INTO `wk_admin_menu` VALUES (882, 880, '编辑绩效', 'update', '/hrmRecruitPost/setAppraisal', NULL, 3, 2, 1, NULL);
  530. INSERT INTO `wk_admin_menu` VALUES (883, 880, '查看绩效', 'read', '', NULL, 3, 3, 1, NULL);
  531. INSERT INTO `wk_admin_menu` VALUES (884, 880, '删除绩效', 'delete', '/hrmRecruitPost/delete', NULL, 3, 4, 1, NULL);
  532. INSERT INTO `wk_admin_menu` VALUES (885, 880, '终止绩效', 'stop', '/hrmRecruitPoststopAppraisal', NULL, 3, 5, 1, NULL);
  533. INSERT INTO `wk_admin_menu` VALUES (886, 880, '查看员工绩效', 'readEmp', '', NULL, 3, 3, 1, 'label-92');
  534. INSERT INTO `wk_admin_menu` VALUES (890, 5, '考勤管理', 'attendance', '', NULL, 1, 6, 1, NULL);
  535. INSERT INTO `wk_admin_menu` VALUES (891, 890, '查看打卡记录', 'readClock', '/hrmRecruitPost/addAppraisal', NULL, 3, 1, 1, 'label-92');
  536. INSERT INTO `wk_admin_menu` VALUES (892, 890, '导出打卡记录', 'excelexport', '/hrmAttendanceClock/excelExport', NULL, 3, 1, 1, NULL);
  537. INSERT INTO `wk_admin_menu` VALUES (900, 3, '人力资源管理', 'hrm', NULL, NULL, 1, 10, 1, NULL);
  538. INSERT INTO `wk_admin_menu` VALUES (901, 900, '自定义字段设置', 'field', '/hrmConfig/queryFields', NULL, 3, 1, 1, NULL);
  539. INSERT INTO `wk_admin_menu` VALUES (902, 900, '薪资设置', 'salary', '/hrmSalaryGroup/querySalaryGroupPageList', NULL, 3, 2, 1, NULL);
  540. INSERT INTO `wk_admin_menu` VALUES (903, 900, '社保设置', 'insurance', '', NULL, 3, 2, 1, NULL);
  541. INSERT INTO `wk_admin_menu` VALUES (904, 900, '绩效设置', 'appraisal', '', NULL, 3, 2, 1, NULL);
  542. INSERT INTO `wk_admin_menu` VALUES (905, 900, '业务参数设置', 'params', '/hrmConfig/queryRecruitChannelList', NULL, 3, 2, 1, NULL);
  543. INSERT INTO `wk_admin_menu` VALUES (906, 900, '员工档案设置', 'archives', '', NULL, 3, 2, 1, NULL);
  544. INSERT INTO `wk_admin_menu` VALUES (920, 3, '进销存管理', 'jxc', NULL, NULL, 1, 11, 1, NULL);
  545. INSERT INTO `wk_admin_menu` VALUES (921, 920, '自定义字段设置', 'field', '/jxcField/queryFields', NULL, 3, 1, 1, NULL);
  546. INSERT INTO `wk_admin_menu` VALUES (922, 920, '业务参数设置', 'params', '/jxcProductType/queryJxcProductTyp,/jxcNumberSetting/queryNumberSetting', NULL, 3, 1, 1, NULL);
  547. INSERT INTO `wk_admin_menu` VALUES (923, 3, '初始化', 'init', NULL, NULL, 1, 12, 1, NULL);
  548. INSERT INTO `wk_admin_menu` VALUES (924, 923, '初始化管理', 'initData', '/adminConfig/moduleInitData', NULL, 3, 0, 1, NULL);
  549. INSERT INTO `wk_admin_menu` VALUES (926, 180, '市场活动表单设置', 'activityForm', '/crmMarketingForm/page', NULL, 3, 6, 1, NULL);
  550. INSERT INTO `wk_admin_menu` VALUES (927, 301, '管理参与人权限', 'manageTaskOwnerUser', '', NULL, 3, 29, 1, NULL);
  551. INSERT INTO `wk_admin_menu` VALUES (928, 440, '导入', 'excelimport', '/crmInstrument/importRecordList', NULL, 3, 5, 1, NULL);
  552. INSERT INTO `wk_admin_menu` VALUES (929, 440, '导出', 'excelexport', '/crmInstrument/exportRecordList', NULL, 3, 6, 1, NULL);
  553. INSERT INTO `wk_admin_menu` VALUES (933, 11, '编辑团队成员', 'teamsave', '/crmContacts/addMembers,/crmContacts/updateMembers,/crmContacts/exitTeam', NULL, 3, 1, 1, NULL);
  554. INSERT INTO `wk_admin_menu` VALUES (934, 14, '编辑团队成员', 'teamsave', '/crmReceivables/addMembers,/crmReceivables/updateMembers,/crmReceivables/exitTeam', NULL, 3, 1, 1, NULL);
  555. INSERT INTO `wk_admin_menu` VALUES (935, 166, '角色权限查看', 'read', NULL, NULL, 3, 8, 1, NULL);
  556. INSERT INTO `wk_admin_menu` VALUES (936, 1, '回款计划', 'receivablesPlan', NULL, NULL, 1, 5, 1, NULL);
  557. INSERT INTO `wk_admin_menu` VALUES (937, 936, '新建', 'save', NULL, NULL, 3, 1, 1, NULL);
  558. INSERT INTO `wk_admin_menu` VALUES (938, 936, '编辑', 'update', NULL, NULL, 3, 2, 1, NULL);
  559. INSERT INTO `wk_admin_menu` VALUES (939, 936, '查看列表', 'index', NULL, NULL, 3, 3, 1, NULL);
  560. INSERT INTO `wk_admin_menu` VALUES (940, 936, '查看详情', 'read', NULL, NULL, 3, 4, 1, NULL);
  561. INSERT INTO `wk_admin_menu` VALUES (941, 936, '删除', 'delete', NULL, NULL, 3, 5, 1, NULL);
  562. INSERT INTO `wk_admin_menu` VALUES (942, 936, '导出', 'excelexport', NULL, NULL, 3, 6, 1, NULL);
  563. -- ----------------------------
  564. -- Table structure for wk_admin_message
  565. -- ----------------------------
  566. DROP TABLE IF EXISTS `wk_admin_message`;
  567. CREATE TABLE `wk_admin_message` (
  568. `message_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '消息ID',
  569. `title` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '消息标题',
  570. `content` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  571. `label` int(0) NULL DEFAULT NULL COMMENT '消息大类 1 任务 2 日志 3 oa审批 4公告 5 日程 6 crm消息 7 知识库 8 人资',
  572. `type` int(0) NULL DEFAULT NULL COMMENT '消息类型 详见AdminMessageEnum',
  573. `type_id` int(0) NULL DEFAULT NULL COMMENT '关联ID',
  574. `create_user` bigint(0) NOT NULL COMMENT '消息创建者 0为系统',
  575. `recipient_user` bigint(0) NOT NULL COMMENT '接收人',
  576. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  577. `is_read` int(0) NULL DEFAULT 0 COMMENT '是否已读 0 未读 1 已读',
  578. `read_time` datetime(0) NULL DEFAULT NULL COMMENT '已读时间',
  579. PRIMARY KEY (`message_id`) USING BTREE,
  580. INDEX `recipient_user`(`recipient_user`) USING BTREE
  581. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统消息表' ROW_FORMAT = Dynamic;
  582. -- ----------------------------
  583. -- Records of wk_admin_message
  584. -- ----------------------------
  585. -- ----------------------------
  586. -- Table structure for wk_admin_model_sort
  587. -- ----------------------------
  588. DROP TABLE IF EXISTS `wk_admin_model_sort`;
  589. CREATE TABLE `wk_admin_model_sort` (
  590. `id` int(0) NOT NULL AUTO_INCREMENT,
  591. `type` int(0) NOT NULL COMMENT '导航类型 1头部导航 2客户管理左侧导航',
  592. `model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模块 1仪表盘 2待办事项 3线索 4客户 5联系人 6商机 7合同 8回款 9发票 10回访 11产品 12市场活动',
  593. `sort` int(0) NOT NULL COMMENT '排序',
  594. `is_hidden` int(0) NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  595. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  596. PRIMARY KEY (`id`) USING BTREE
  597. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客户管理导航栏排序表' ROW_FORMAT = Dynamic;
  598. -- ----------------------------
  599. -- Records of wk_admin_model_sort
  600. -- ----------------------------
  601. -- ----------------------------
  602. -- Table structure for wk_admin_official_img
  603. -- ----------------------------
  604. DROP TABLE IF EXISTS `wk_admin_official_img`;
  605. CREATE TABLE `wk_admin_official_img` (
  606. `official_img_id` int(0) NOT NULL AUTO_INCREMENT,
  607. `size` bigint(0) NULL DEFAULT NULL COMMENT '附件大小(字节)',
  608. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  609. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  610. `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件真实路径',
  611. `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件路径',
  612. `type` int(0) NULL DEFAULT NULL COMMENT '1.官网设置 2.名片海报',
  613. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  614. `tactic` int(0) NULL DEFAULT NULL COMMENT '0',
  615. PRIMARY KEY (`official_img_id`) USING BTREE
  616. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '官网图片' ROW_FORMAT = Dynamic;
  617. -- ----------------------------
  618. -- Records of wk_admin_official_img
  619. -- ----------------------------
  620. -- ----------------------------
  621. -- Table structure for wk_admin_role
  622. -- ----------------------------
  623. DROP TABLE IF EXISTS `wk_admin_role`;
  624. CREATE TABLE `wk_admin_role` (
  625. `role_id` int(0) NOT NULL AUTO_INCREMENT,
  626. `role_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  627. `role_type` int(0) NULL DEFAULT NULL COMMENT '0、自定义角色1、管理角色 2、客户管理角色 3、人事角色 4、财务角色 5、项目角色 8、项目自定义角色',
  628. `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  629. `status` int(0) NULL DEFAULT 1 COMMENT '1 启用 0 禁用',
  630. `data_type` int(0) NOT NULL DEFAULT 5 COMMENT '数据权限 1、本人,2、本人及下属,3、本部门,4、本部门及下属部门,5、全部 ',
  631. `is_hidden` int(0) NOT NULL DEFAULT 1 COMMENT '0 隐藏 1 不隐藏',
  632. `label` int(0) NULL DEFAULT NULL COMMENT '1 系统项目管理员角色 2 项目管理角色 3 项目编辑角色 4 项目只读角色',
  633. PRIMARY KEY (`role_id`) USING BTREE,
  634. INDEX `role_type`(`role_type`) USING BTREE
  635. ) ENGINE = InnoDB AUTO_INCREMENT = 180177 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
  636. -- ----------------------------
  637. -- Records of wk_admin_role
  638. -- ----------------------------
  639. INSERT INTO `wk_admin_role` VALUES (180162, '超级管理员', 1, 'admin', 1, 5, 1, 5);
  640. INSERT INTO `wk_admin_role` VALUES (180163, '系统设置管理员', 1, NULL, 1, 2, 1, 6);
  641. INSERT INTO `wk_admin_role` VALUES (180164, '部门与员工管理员', 1, NULL, 1, 5, 1, 7);
  642. INSERT INTO `wk_admin_role` VALUES (180165, '审批流管理员', 1, NULL, 1, 5, 1, 8);
  643. INSERT INTO `wk_admin_role` VALUES (180166, '工作台管理员', 1, NULL, 1, 5, 1, 9);
  644. INSERT INTO `wk_admin_role` VALUES (180167, '客户管理员', 1, NULL, 1, 5, 1, 10);
  645. INSERT INTO `wk_admin_role` VALUES (180168, '公告管理员', 7, NULL, 1, 5, 1, 11);
  646. INSERT INTO `wk_admin_role` VALUES (180169, '销售经理角色', 2, NULL, 1, 5, 1, NULL);
  647. INSERT INTO `wk_admin_role` VALUES (180170, '销售员角色', 2, NULL, 1, 1, 1, NULL);
  648. INSERT INTO `wk_admin_role` VALUES (180171, '项目管理员', 8, 'project', 1, 5, 1, 1);
  649. INSERT INTO `wk_admin_role` VALUES (180172, '管理', 5, '系统默认权限,包含所在项目所有权限', 1, 5, 0, 2);
  650. INSERT INTO `wk_admin_role` VALUES (180173, '编辑', 5, '成员初始加入时默认享有的权限', 1, 5, 1, 3);
  651. INSERT INTO `wk_admin_role` VALUES (180174, '只读', 5, '项目只读角色', 1, 1, 1, 4);
  652. INSERT INTO `wk_admin_role` VALUES (180175, '上级角色', 9, NULL, 1, 2, 1, 91);
  653. -- ----------------------------
  654. -- Table structure for wk_admin_role_auth
  655. -- ----------------------------
  656. DROP TABLE IF EXISTS `wk_admin_role_auth`;
  657. CREATE TABLE `wk_admin_role_auth` (
  658. `id` int(0) NOT NULL AUTO_INCREMENT,
  659. `role_id` int(0) NOT NULL COMMENT '角色ID',
  660. `menu_id` int(0) NOT NULL COMMENT '菜单ID',
  661. `auth_role_id` int(0) NULL DEFAULT NULL COMMENT '能查询的角色ID',
  662. `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  663. PRIMARY KEY (`id`) USING BTREE,
  664. INDEX `role_type`(`auth_role_id`) USING BTREE
  665. ) ENGINE = InnoDB AUTO_INCREMENT = 5449 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
  666. -- ----------------------------
  667. -- Records of wk_admin_role_auth
  668. -- ----------------------------
  669. -- ----------------------------
  670. -- Table structure for wk_admin_role_menu
  671. -- ----------------------------
  672. DROP TABLE IF EXISTS `wk_admin_role_menu`;
  673. CREATE TABLE `wk_admin_role_menu` (
  674. `id` int(0) NOT NULL AUTO_INCREMENT,
  675. `role_id` int(0) NOT NULL COMMENT '角色ID',
  676. `menu_id` int(0) NOT NULL COMMENT '菜单ID',
  677. PRIMARY KEY (`id`) USING BTREE,
  678. INDEX `role_id`(`role_id`) USING BTREE,
  679. INDEX `menu_id`(`menu_id`) USING BTREE
  680. ) ENGINE = InnoDB AUTO_INCREMENT = 2300834 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色菜单对应关系表' ROW_FORMAT = Dynamic;
  681. -- ----------------------------
  682. -- Records of wk_admin_role_menu
  683. -- ----------------------------
  684. INSERT INTO `wk_admin_role_menu` VALUES (2300572, 180163, 3);
  685. INSERT INTO `wk_admin_role_menu` VALUES (2300573, 180163, 160);
  686. INSERT INTO `wk_admin_role_menu` VALUES (2300574, 180163, 161);
  687. INSERT INTO `wk_admin_role_menu` VALUES (2300575, 180163, 162);
  688. INSERT INTO `wk_admin_role_menu` VALUES (2300576, 180163, 163);
  689. INSERT INTO `wk_admin_role_menu` VALUES (2300577, 180163, 164);
  690. INSERT INTO `wk_admin_role_menu` VALUES (2300578, 180163, 165);
  691. INSERT INTO `wk_admin_role_menu` VALUES (2300579, 180163, 166);
  692. INSERT INTO `wk_admin_role_menu` VALUES (2300580, 180163, 167);
  693. INSERT INTO `wk_admin_role_menu` VALUES (2300581, 180163, 168);
  694. INSERT INTO `wk_admin_role_menu` VALUES (2300582, 180163, 169);
  695. INSERT INTO `wk_admin_role_menu` VALUES (2300583, 180163, 170);
  696. INSERT INTO `wk_admin_role_menu` VALUES (2300584, 180163, 171);
  697. INSERT INTO `wk_admin_role_menu` VALUES (2300585, 180163, 172);
  698. INSERT INTO `wk_admin_role_menu` VALUES (2300586, 180163, 173);
  699. INSERT INTO `wk_admin_role_menu` VALUES (2300587, 180163, 174);
  700. INSERT INTO `wk_admin_role_menu` VALUES (2300588, 180163, 175);
  701. INSERT INTO `wk_admin_role_menu` VALUES (2300589, 180163, 176);
  702. INSERT INTO `wk_admin_role_menu` VALUES (2300590, 180163, 177);
  703. INSERT INTO `wk_admin_role_menu` VALUES (2300591, 180163, 178);
  704. INSERT INTO `wk_admin_role_menu` VALUES (2300592, 180163, 179);
  705. INSERT INTO `wk_admin_role_menu` VALUES (2300593, 180163, 180);
  706. INSERT INTO `wk_admin_role_menu` VALUES (2300594, 180163, 181);
  707. INSERT INTO `wk_admin_role_menu` VALUES (2300595, 180163, 182);
  708. INSERT INTO `wk_admin_role_menu` VALUES (2300596, 180163, 183);
  709. INSERT INTO `wk_admin_role_menu` VALUES (2300597, 180163, 184);
  710. INSERT INTO `wk_admin_role_menu` VALUES (2300598, 180163, 185);
  711. INSERT INTO `wk_admin_role_menu` VALUES (2300599, 180163, 186);
  712. INSERT INTO `wk_admin_role_menu` VALUES (2300600, 180164, 166);
  713. INSERT INTO `wk_admin_role_menu` VALUES (2300601, 180164, 167);
  714. INSERT INTO `wk_admin_role_menu` VALUES (2300602, 180164, 168);
  715. INSERT INTO `wk_admin_role_menu` VALUES (2300603, 180164, 169);
  716. INSERT INTO `wk_admin_role_menu` VALUES (2300604, 180164, 170);
  717. INSERT INTO `wk_admin_role_menu` VALUES (2300605, 180164, 171);
  718. INSERT INTO `wk_admin_role_menu` VALUES (2300606, 180164, 172);
  719. INSERT INTO `wk_admin_role_menu` VALUES (2300607, 180164, 173);
  720. INSERT INTO `wk_admin_role_menu` VALUES (2300608, 180165, 178);
  721. INSERT INTO `wk_admin_role_menu` VALUES (2300609, 180165, 179);
  722. INSERT INTO `wk_admin_role_menu` VALUES (2300610, 180166, 176);
  723. INSERT INTO `wk_admin_role_menu` VALUES (2300611, 180166, 177);
  724. INSERT INTO `wk_admin_role_menu` VALUES (2300612, 180167, 180);
  725. INSERT INTO `wk_admin_role_menu` VALUES (2300613, 180167, 181);
  726. INSERT INTO `wk_admin_role_menu` VALUES (2300614, 180167, 182);
  727. INSERT INTO `wk_admin_role_menu` VALUES (2300615, 180167, 183);
  728. INSERT INTO `wk_admin_role_menu` VALUES (2300616, 180167, 184);
  729. INSERT INTO `wk_admin_role_menu` VALUES (2300617, 180168, 187);
  730. INSERT INTO `wk_admin_role_menu` VALUES (2300618, 180168, 188);
  731. INSERT INTO `wk_admin_role_menu` VALUES (2300619, 180168, 189);
  732. INSERT INTO `wk_admin_role_menu` VALUES (2300620, 180168, 190);
  733. INSERT INTO `wk_admin_role_menu` VALUES (2300621, 180169, 9);
  734. INSERT INTO `wk_admin_role_menu` VALUES (2300622, 180169, 10);
  735. INSERT INTO `wk_admin_role_menu` VALUES (2300623, 180169, 11);
  736. INSERT INTO `wk_admin_role_menu` VALUES (2300624, 180169, 12);
  737. INSERT INTO `wk_admin_role_menu` VALUES (2300625, 180169, 13);
  738. INSERT INTO `wk_admin_role_menu` VALUES (2300626, 180169, 14);
  739. INSERT INTO `wk_admin_role_menu` VALUES (2300627, 180169, 17);
  740. INSERT INTO `wk_admin_role_menu` VALUES (2300628, 180169, 18);
  741. INSERT INTO `wk_admin_role_menu` VALUES (2300629, 180169, 19);
  742. INSERT INTO `wk_admin_role_menu` VALUES (2300630, 180169, 20);
  743. INSERT INTO `wk_admin_role_menu` VALUES (2300631, 180169, 21);
  744. INSERT INTO `wk_admin_role_menu` VALUES (2300632, 180169, 22);
  745. INSERT INTO `wk_admin_role_menu` VALUES (2300633, 180169, 23);
  746. INSERT INTO `wk_admin_role_menu` VALUES (2300634, 180169, 24);
  747. INSERT INTO `wk_admin_role_menu` VALUES (2300635, 180169, 25);
  748. INSERT INTO `wk_admin_role_menu` VALUES (2300636, 180169, 26);
  749. INSERT INTO `wk_admin_role_menu` VALUES (2300637, 180169, 27);
  750. INSERT INTO `wk_admin_role_menu` VALUES (2300638, 180169, 28);
  751. INSERT INTO `wk_admin_role_menu` VALUES (2300639, 180169, 29);
  752. INSERT INTO `wk_admin_role_menu` VALUES (2300640, 180169, 30);
  753. INSERT INTO `wk_admin_role_menu` VALUES (2300641, 180169, 31);
  754. INSERT INTO `wk_admin_role_menu` VALUES (2300642, 180169, 32);
  755. INSERT INTO `wk_admin_role_menu` VALUES (2300643, 180169, 33);
  756. INSERT INTO `wk_admin_role_menu` VALUES (2300644, 180169, 34);
  757. INSERT INTO `wk_admin_role_menu` VALUES (2300645, 180169, 35);
  758. INSERT INTO `wk_admin_role_menu` VALUES (2300646, 180169, 36);
  759. INSERT INTO `wk_admin_role_menu` VALUES (2300647, 180169, 40);
  760. INSERT INTO `wk_admin_role_menu` VALUES (2300648, 180169, 41);
  761. INSERT INTO `wk_admin_role_menu` VALUES (2300649, 180169, 42);
  762. INSERT INTO `wk_admin_role_menu` VALUES (2300650, 180169, 43);
  763. INSERT INTO `wk_admin_role_menu` VALUES (2300651, 180169, 44);
  764. INSERT INTO `wk_admin_role_menu` VALUES (2300652, 180169, 45);
  765. INSERT INTO `wk_admin_role_menu` VALUES (2300653, 180169, 46);
  766. INSERT INTO `wk_admin_role_menu` VALUES (2300654, 180169, 47);
  767. INSERT INTO `wk_admin_role_menu` VALUES (2300655, 180169, 48);
  768. INSERT INTO `wk_admin_role_menu` VALUES (2300656, 180169, 49);
  769. INSERT INTO `wk_admin_role_menu` VALUES (2300657, 180169, 50);
  770. INSERT INTO `wk_admin_role_menu` VALUES (2300658, 180169, 51);
  771. INSERT INTO `wk_admin_role_menu` VALUES (2300659, 180169, 52);
  772. INSERT INTO `wk_admin_role_menu` VALUES (2300660, 180169, 53);
  773. INSERT INTO `wk_admin_role_menu` VALUES (2300661, 180169, 54);
  774. INSERT INTO `wk_admin_role_menu` VALUES (2300662, 180169, 55);
  775. INSERT INTO `wk_admin_role_menu` VALUES (2300663, 180169, 56);
  776. INSERT INTO `wk_admin_role_menu` VALUES (2300664, 180169, 57);
  777. INSERT INTO `wk_admin_role_menu` VALUES (2300665, 180169, 58);
  778. INSERT INTO `wk_admin_role_menu` VALUES (2300666, 180169, 59);
  779. INSERT INTO `wk_admin_role_menu` VALUES (2300667, 180169, 60);
  780. INSERT INTO `wk_admin_role_menu` VALUES (2300668, 180169, 61);
  781. INSERT INTO `wk_admin_role_menu` VALUES (2300669, 180169, 62);
  782. INSERT INTO `wk_admin_role_menu` VALUES (2300670, 180169, 63);
  783. INSERT INTO `wk_admin_role_menu` VALUES (2300671, 180169, 64);
  784. INSERT INTO `wk_admin_role_menu` VALUES (2300672, 180169, 67);
  785. INSERT INTO `wk_admin_role_menu` VALUES (2300673, 180169, 68);
  786. INSERT INTO `wk_admin_role_menu` VALUES (2300674, 180169, 97);
  787. INSERT INTO `wk_admin_role_menu` VALUES (2300675, 180169, 98);
  788. INSERT INTO `wk_admin_role_menu` VALUES (2300676, 180169, 99);
  789. INSERT INTO `wk_admin_role_menu` VALUES (2300677, 180169, 101);
  790. INSERT INTO `wk_admin_role_menu` VALUES (2300678, 180169, 102);
  791. INSERT INTO `wk_admin_role_menu` VALUES (2300679, 180169, 103);
  792. INSERT INTO `wk_admin_role_menu` VALUES (2300680, 180169, 104);
  793. INSERT INTO `wk_admin_role_menu` VALUES (2300681, 180169, 106);
  794. INSERT INTO `wk_admin_role_menu` VALUES (2300682, 180169, 107);
  795. INSERT INTO `wk_admin_role_menu` VALUES (2300683, 180169, 108);
  796. INSERT INTO `wk_admin_role_menu` VALUES (2300684, 180169, 117);
  797. INSERT INTO `wk_admin_role_menu` VALUES (2300685, 180169, 118);
  798. INSERT INTO `wk_admin_role_menu` VALUES (2300686, 180169, 123);
  799. INSERT INTO `wk_admin_role_menu` VALUES (2300687, 180169, 124);
  800. INSERT INTO `wk_admin_role_menu` VALUES (2300688, 180169, 125);
  801. INSERT INTO `wk_admin_role_menu` VALUES (2300689, 180169, 126);
  802. INSERT INTO `wk_admin_role_menu` VALUES (2300690, 180169, 191);
  803. INSERT INTO `wk_admin_role_menu` VALUES (2300691, 180169, 192);
  804. INSERT INTO `wk_admin_role_menu` VALUES (2300692, 180170, 14);
  805. INSERT INTO `wk_admin_role_menu` VALUES (2300693, 180170, 17);
  806. INSERT INTO `wk_admin_role_menu` VALUES (2300694, 180170, 18);
  807. INSERT INTO `wk_admin_role_menu` VALUES (2300695, 180170, 19);
  808. INSERT INTO `wk_admin_role_menu` VALUES (2300696, 180170, 20);
  809. INSERT INTO `wk_admin_role_menu` VALUES (2300697, 180170, 21);
  810. INSERT INTO `wk_admin_role_menu` VALUES (2300698, 180170, 25);
  811. INSERT INTO `wk_admin_role_menu` VALUES (2300699, 180170, 26);
  812. INSERT INTO `wk_admin_role_menu` VALUES (2300700, 180170, 27);
  813. INSERT INTO `wk_admin_role_menu` VALUES (2300701, 180170, 28);
  814. INSERT INTO `wk_admin_role_menu` VALUES (2300702, 180170, 29);
  815. INSERT INTO `wk_admin_role_menu` VALUES (2300703, 180170, 30);
  816. INSERT INTO `wk_admin_role_menu` VALUES (2300704, 180170, 34);
  817. INSERT INTO `wk_admin_role_menu` VALUES (2300705, 180170, 35);
  818. INSERT INTO `wk_admin_role_menu` VALUES (2300706, 180170, 36);
  819. INSERT INTO `wk_admin_role_menu` VALUES (2300707, 180170, 40);
  820. INSERT INTO `wk_admin_role_menu` VALUES (2300708, 180170, 41);
  821. INSERT INTO `wk_admin_role_menu` VALUES (2300709, 180170, 42);
  822. INSERT INTO `wk_admin_role_menu` VALUES (2300710, 180170, 43);
  823. INSERT INTO `wk_admin_role_menu` VALUES (2300711, 180170, 44);
  824. INSERT INTO `wk_admin_role_menu` VALUES (2300712, 180170, 45);
  825. INSERT INTO `wk_admin_role_menu` VALUES (2300713, 180170, 46);
  826. INSERT INTO `wk_admin_role_menu` VALUES (2300714, 180170, 47);
  827. INSERT INTO `wk_admin_role_menu` VALUES (2300715, 180170, 48);
  828. INSERT INTO `wk_admin_role_menu` VALUES (2300716, 180170, 49);
  829. INSERT INTO `wk_admin_role_menu` VALUES (2300717, 180170, 50);
  830. INSERT INTO `wk_admin_role_menu` VALUES (2300718, 180170, 52);
  831. INSERT INTO `wk_admin_role_menu` VALUES (2300719, 180170, 53);
  832. INSERT INTO `wk_admin_role_menu` VALUES (2300720, 180170, 54);
  833. INSERT INTO `wk_admin_role_menu` VALUES (2300721, 180170, 55);
  834. INSERT INTO `wk_admin_role_menu` VALUES (2300722, 180170, 56);
  835. INSERT INTO `wk_admin_role_menu` VALUES (2300723, 180170, 57);
  836. INSERT INTO `wk_admin_role_menu` VALUES (2300724, 180170, 59);
  837. INSERT INTO `wk_admin_role_menu` VALUES (2300725, 180170, 60);
  838. INSERT INTO `wk_admin_role_menu` VALUES (2300726, 180170, 61);
  839. INSERT INTO `wk_admin_role_menu` VALUES (2300727, 180170, 62);
  840. INSERT INTO `wk_admin_role_menu` VALUES (2300728, 180170, 63);
  841. INSERT INTO `wk_admin_role_menu` VALUES (2300729, 180170, 64);
  842. INSERT INTO `wk_admin_role_menu` VALUES (2300730, 180170, 67);
  843. INSERT INTO `wk_admin_role_menu` VALUES (2300731, 180170, 68);
  844. INSERT INTO `wk_admin_role_menu` VALUES (2300732, 180170, 97);
  845. INSERT INTO `wk_admin_role_menu` VALUES (2300733, 180170, 98);
  846. INSERT INTO `wk_admin_role_menu` VALUES (2300734, 180170, 99);
  847. INSERT INTO `wk_admin_role_menu` VALUES (2300735, 180170, 101);
  848. INSERT INTO `wk_admin_role_menu` VALUES (2300736, 180170, 102);
  849. INSERT INTO `wk_admin_role_menu` VALUES (2300737, 180170, 103);
  850. INSERT INTO `wk_admin_role_menu` VALUES (2300738, 180170, 104);
  851. INSERT INTO `wk_admin_role_menu` VALUES (2300739, 180170, 106);
  852. INSERT INTO `wk_admin_role_menu` VALUES (2300740, 180170, 108);
  853. INSERT INTO `wk_admin_role_menu` VALUES (2300741, 180170, 117);
  854. INSERT INTO `wk_admin_role_menu` VALUES (2300742, 180170, 118);
  855. INSERT INTO `wk_admin_role_menu` VALUES (2300743, 180170, 123);
  856. INSERT INTO `wk_admin_role_menu` VALUES (2300744, 180170, 124);
  857. INSERT INTO `wk_admin_role_menu` VALUES (2300745, 180170, 125);
  858. INSERT INTO `wk_admin_role_menu` VALUES (2300746, 180170, 126);
  859. INSERT INTO `wk_admin_role_menu` VALUES (2300747, 180173, 316);
  860. INSERT INTO `wk_admin_role_menu` VALUES (2300748, 180173, 317);
  861. INSERT INTO `wk_admin_role_menu` VALUES (2300749, 180173, 318);
  862. INSERT INTO `wk_admin_role_menu` VALUES (2300750, 180173, 319);
  863. INSERT INTO `wk_admin_role_menu` VALUES (2300751, 180173, 320);
  864. INSERT INTO `wk_admin_role_menu` VALUES (2300752, 180173, 321);
  865. INSERT INTO `wk_admin_role_menu` VALUES (2300753, 180173, 322);
  866. INSERT INTO `wk_admin_role_menu` VALUES (2300754, 180173, 323);
  867. INSERT INTO `wk_admin_role_menu` VALUES (2300755, 180173, 324);
  868. INSERT INTO `wk_admin_role_menu` VALUES (2300756, 180173, 325);
  869. INSERT INTO `wk_admin_role_menu` VALUES (2300757, 180173, 326);
  870. INSERT INTO `wk_admin_role_menu` VALUES (2300758, 180173, 327);
  871. INSERT INTO `wk_admin_role_menu` VALUES (2300759, 180173, 329);
  872. INSERT INTO `wk_admin_role_menu` VALUES (2300760, 180173, 330);
  873. INSERT INTO `wk_admin_role_menu` VALUES (2300761, 180173, 331);
  874. INSERT INTO `wk_admin_role_menu` VALUES (2300762, 180173, 332);
  875. INSERT INTO `wk_admin_role_menu` VALUES (2300763, 180173, 333);
  876. INSERT INTO `wk_admin_role_menu` VALUES (2300764, 180173, 334);
  877. INSERT INTO `wk_admin_role_menu` VALUES (2300765, 180173, 335);
  878. INSERT INTO `wk_admin_role_menu` VALUES (2300766, 180173, 337);
  879. INSERT INTO `wk_admin_role_menu` VALUES (2300767, 180171, 149);
  880. INSERT INTO `wk_admin_role_menu` VALUES (2300768, 180171, 152);
  881. INSERT INTO `wk_admin_role_menu` VALUES (2300769, 180171, 153);
  882. INSERT INTO `wk_admin_role_menu` VALUES (2300770, 180169, 2);
  883. INSERT INTO `wk_admin_role_menu` VALUES (2300771, 180169, 15);
  884. INSERT INTO `wk_admin_role_menu` VALUES (2300772, 180169, 65);
  885. INSERT INTO `wk_admin_role_menu` VALUES (2300773, 180169, 66);
  886. INSERT INTO `wk_admin_role_menu` VALUES (2300774, 180169, 69);
  887. INSERT INTO `wk_admin_role_menu` VALUES (2300775, 180169, 70);
  888. INSERT INTO `wk_admin_role_menu` VALUES (2300776, 180169, 109);
  889. INSERT INTO `wk_admin_role_menu` VALUES (2300777, 180169, 110);
  890. INSERT INTO `wk_admin_role_menu` VALUES (2300778, 180169, 193);
  891. INSERT INTO `wk_admin_role_menu` VALUES (2300779, 180169, 194);
  892. INSERT INTO `wk_admin_role_menu` VALUES (2300780, 180169, 195);
  893. INSERT INTO `wk_admin_role_menu` VALUES (2300781, 180169, 211);
  894. INSERT INTO `wk_admin_role_menu` VALUES (2300782, 180169, 400);
  895. INSERT INTO `wk_admin_role_menu` VALUES (2300783, 180169, 401);
  896. INSERT INTO `wk_admin_role_menu` VALUES (2300784, 180169, 402);
  897. INSERT INTO `wk_admin_role_menu` VALUES (2300785, 180169, 403);
  898. INSERT INTO `wk_admin_role_menu` VALUES (2300786, 180169, 404);
  899. INSERT INTO `wk_admin_role_menu` VALUES (2300787, 180169, 405);
  900. INSERT INTO `wk_admin_role_menu` VALUES (2300788, 180169, 420);
  901. INSERT INTO `wk_admin_role_menu` VALUES (2300789, 180169, 421);
  902. INSERT INTO `wk_admin_role_menu` VALUES (2300790, 180169, 422);
  903. INSERT INTO `wk_admin_role_menu` VALUES (2300791, 180169, 423);
  904. INSERT INTO `wk_admin_role_menu` VALUES (2300792, 180169, 424);
  905. INSERT INTO `wk_admin_role_menu` VALUES (2300793, 180169, 425);
  906. INSERT INTO `wk_admin_role_menu` VALUES (2300794, 180169, 426);
  907. INSERT INTO `wk_admin_role_menu` VALUES (2300795, 180169, 427);
  908. INSERT INTO `wk_admin_role_menu` VALUES (2300796, 180169, 428);
  909. INSERT INTO `wk_admin_role_menu` VALUES (2300797, 180169, 440);
  910. INSERT INTO `wk_admin_role_menu` VALUES (2300798, 180169, 441);
  911. INSERT INTO `wk_admin_role_menu` VALUES (2300799, 180169, 442);
  912. INSERT INTO `wk_admin_role_menu` VALUES (2300800, 180169, 443);
  913. INSERT INTO `wk_admin_role_menu` VALUES (2300801, 180169, 444);
  914. INSERT INTO `wk_admin_role_menu` VALUES (2300802, 180170, 400);
  915. INSERT INTO `wk_admin_role_menu` VALUES (2300803, 180170, 401);
  916. INSERT INTO `wk_admin_role_menu` VALUES (2300804, 180170, 402);
  917. INSERT INTO `wk_admin_role_menu` VALUES (2300805, 180170, 403);
  918. INSERT INTO `wk_admin_role_menu` VALUES (2300806, 180170, 404);
  919. INSERT INTO `wk_admin_role_menu` VALUES (2300807, 180170, 405);
  920. INSERT INTO `wk_admin_role_menu` VALUES (2300808, 180170, 420);
  921. INSERT INTO `wk_admin_role_menu` VALUES (2300809, 180170, 421);
  922. INSERT INTO `wk_admin_role_menu` VALUES (2300810, 180170, 422);
  923. INSERT INTO `wk_admin_role_menu` VALUES (2300811, 180170, 423);
  924. INSERT INTO `wk_admin_role_menu` VALUES (2300812, 180170, 424);
  925. INSERT INTO `wk_admin_role_menu` VALUES (2300813, 180170, 425);
  926. INSERT INTO `wk_admin_role_menu` VALUES (2300814, 180170, 426);
  927. INSERT INTO `wk_admin_role_menu` VALUES (2300815, 180170, 427);
  928. INSERT INTO `wk_admin_role_menu` VALUES (2300816, 180170, 428);
  929. INSERT INTO `wk_admin_role_menu` VALUES (2300817, 180170, 440);
  930. INSERT INTO `wk_admin_role_menu` VALUES (2300818, 180170, 441);
  931. INSERT INTO `wk_admin_role_menu` VALUES (2300819, 180170, 442);
  932. INSERT INTO `wk_admin_role_menu` VALUES (2300820, 180170, 443);
  933. INSERT INTO `wk_admin_role_menu` VALUES (2300821, 180170, 444);
  934. INSERT INTO `wk_admin_role_menu` VALUES (2300822, 180176, 803);
  935. INSERT INTO `wk_admin_role_menu` VALUES (2300823, 180176, 804);
  936. INSERT INTO `wk_admin_role_menu` VALUES (2300824, 180176, 833);
  937. INSERT INTO `wk_admin_role_menu` VALUES (2300825, 180176, 834);
  938. INSERT INTO `wk_admin_role_menu` VALUES (2300826, 180176, 842);
  939. INSERT INTO `wk_admin_role_menu` VALUES (2300827, 180176, 843);
  940. INSERT INTO `wk_admin_role_menu` VALUES (2300828, 180176, 846);
  941. INSERT INTO `wk_admin_role_menu` VALUES (2300829, 180176, 852);
  942. INSERT INTO `wk_admin_role_menu` VALUES (2300830, 180176, 862);
  943. INSERT INTO `wk_admin_role_menu` VALUES (2300831, 180176, 867);
  944. INSERT INTO `wk_admin_role_menu` VALUES (2300832, 180176, 886);
  945. INSERT INTO `wk_admin_role_menu` VALUES (2300833, 180176, 891);
  946. -- ----------------------------
  947. -- Table structure for wk_admin_system_log
  948. -- ----------------------------
  949. DROP TABLE IF EXISTS `wk_admin_system_log`;
  950. CREATE TABLE `wk_admin_system_log` (
  951. `id` int(0) NOT NULL AUTO_INCREMENT,
  952. `create_user_id` int(0) NOT NULL COMMENT '操作人id',
  953. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  954. `ip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
  955. `types` int(0) NULL DEFAULT NULL COMMENT '模块 1企业首页 2应用管理 3员工和部门管理 4名片小程序管理 5角色权限管理 6审批流(合同/回款) 7审批流(办公) 8项目管理 9客户管理 10系统日志管理 11其他设置',
  956. `behavior` int(0) NULL DEFAULT NULL COMMENT '行为',
  957. `object` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作对象',
  958. `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作详情',
  959. PRIMARY KEY (`id`) USING BTREE
  960. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统日志表' ROW_FORMAT = Dynamic;
  961. -- ----------------------------
  962. -- Records of wk_admin_system_log
  963. -- ----------------------------
  964. -- ----------------------------
  965. -- Table structure for wk_admin_user
  966. -- ----------------------------
  967. DROP TABLE IF EXISTS `wk_admin_user`;
  968. CREATE TABLE `wk_admin_user` (
  969. `user_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
  970. `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名',
  971. `password` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
  972. `salt` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '安全符',
  973. `img` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像',
  974. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  975. `realname` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '真实姓名',
  976. `num` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '员工编号',
  977. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '手机号',
  978. `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  979. `sex` int(0) NULL DEFAULT NULL COMMENT '0 未选择 1 男 2 女 ',
  980. `dept_id` int(0) NULL DEFAULT NULL COMMENT '部门',
  981. `post` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '岗位',
  982. `status` int(0) NULL DEFAULT 2 COMMENT '状态,0禁用,1正常,2未激活',
  983. `parent_id` bigint(0) NULL DEFAULT 0 COMMENT '直属上级ID',
  984. `last_login_time` datetime(0) NULL DEFAULT NULL COMMENT '最后登录时间',
  985. `last_login_ip` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '最后登录IP 注意兼容IPV6',
  986. `old_user_id` bigint(0) NULL DEFAULT NULL,
  987. `is_del` int(0) NOT NULL DEFAULT 0 COMMENT '是否删除 0 未删除 1 已删除',
  988. PRIMARY KEY (`user_id`) USING BTREE,
  989. INDEX `parent_id`(`parent_id`) USING BTREE,
  990. INDEX `dept_id`(`dept_id`) USING BTREE
  991. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户表' ROW_FORMAT = Dynamic;
  992. -- ----------------------------
  993. -- Records of wk_admin_user
  994. -- ----------------------------
  995. -- ----------------------------
  996. -- Table structure for wk_admin_user_config
  997. -- ----------------------------
  998. DROP TABLE IF EXISTS `wk_admin_user_config`;
  999. CREATE TABLE `wk_admin_user_config` (
  1000. `setting_id` int(0) NOT NULL AUTO_INCREMENT,
  1001. `user_id` bigint(0) NOT NULL,
  1002. `status` int(0) NOT NULL DEFAULT 0 COMMENT '状态,0:不启用 1 : 启用',
  1003. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设置名称',
  1004. `value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值',
  1005. `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  1006. PRIMARY KEY (`setting_id`) USING BTREE,
  1007. INDEX `name`(`name`, `user_id`) USING BTREE
  1008. ) ENGINE = InnoDB AUTO_INCREMENT = 114574 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户配置表' ROW_FORMAT = Dynamic;
  1009. -- ----------------------------
  1010. -- Records of wk_admin_user_config
  1011. -- ----------------------------
  1012. INSERT INTO `wk_admin_user_config` VALUES (114563, 14773, 1, 'ActivityPhrase', '电话无人接听', '跟进记录常用语');
  1013. INSERT INTO `wk_admin_user_config` VALUES (114564, 14773, 1, 'ActivityPhrase', '客户无意向', '跟进记录常用语');
  1014. INSERT INTO `wk_admin_user_config` VALUES (114565, 14773, 1, 'ActivityPhrase', '客户意向度适中,后续继续跟进', '跟进记录常用语');
  1015. INSERT INTO `wk_admin_user_config` VALUES (114566, 14773, 1, 'ActivityPhrase', '客户意向度较强,成交几率较大', '跟进记录常用语');
  1016. INSERT INTO `wk_admin_user_config` VALUES (114567, 14773, 1, 'readNotice', '', '升级日志阅读状态');
  1017. INSERT INTO `wk_admin_user_config` VALUES (114568, 14773, 1, 'readNotice', '', '升级日志阅读状态');
  1018. INSERT INTO `wk_admin_user_config` VALUES (114569, 14774, 1, 'ActivityPhrase', '电话无人接听', '跟进记录常用语');
  1019. INSERT INTO `wk_admin_user_config` VALUES (114570, 14774, 1, 'ActivityPhrase', '客户无意向', '跟进记录常用语');
  1020. INSERT INTO `wk_admin_user_config` VALUES (114571, 14774, 1, 'ActivityPhrase', '客户意向度适中,后续继续跟进', '跟进记录常用语');
  1021. INSERT INTO `wk_admin_user_config` VALUES (114572, 14774, 1, 'ActivityPhrase', '客户意向度较强,成交几率较大', '跟进记录常用语');
  1022. INSERT INTO `wk_admin_user_config` VALUES (114573, 14774, 1, 'readNotice', '', '升级日志阅读状态');
  1023. -- ----------------------------
  1024. -- Table structure for wk_admin_user_his_table
  1025. -- ----------------------------
  1026. DROP TABLE IF EXISTS `wk_admin_user_his_table`;
  1027. CREATE TABLE `wk_admin_user_his_table` (
  1028. `his_table_id` int(0) NOT NULL AUTO_INCREMENT,
  1029. `user_id` bigint(0) NULL DEFAULT NULL,
  1030. `his_table` int(0) NULL DEFAULT NULL COMMENT '0 没有 1 有',
  1031. `type` int(0) NULL DEFAULT 1 COMMENT '1.坐席授权 2.设置默认名片 3.关联员工',
  1032. PRIMARY KEY (`his_table_id`) USING BTREE
  1033. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '授权坐席' ROW_FORMAT = Dynamic;
  1034. -- ----------------------------
  1035. -- Records of wk_admin_user_his_table
  1036. -- ----------------------------
  1037. -- ----------------------------
  1038. -- Table structure for wk_admin_user_role
  1039. -- ----------------------------
  1040. DROP TABLE IF EXISTS `wk_admin_user_role`;
  1041. CREATE TABLE `wk_admin_user_role` (
  1042. `id` int(0) NOT NULL AUTO_INCREMENT,
  1043. `user_id` bigint(0) NOT NULL COMMENT '用户ID',
  1044. `role_id` int(0) NOT NULL COMMENT '角色ID',
  1045. PRIMARY KEY (`id`) USING BTREE,
  1046. INDEX `user_id`(`user_id`) USING BTREE,
  1047. INDEX `role_id`(`role_id`) USING BTREE
  1048. ) ENGINE = InnoDB AUTO_INCREMENT = 19221 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户角色对应关系表' ROW_FORMAT = Dynamic;
  1049. -- ----------------------------
  1050. -- Records of wk_admin_user_role
  1051. -- ----------------------------
  1052. INSERT INTO `wk_admin_user_role` VALUES (19219, 14773, 180162);
  1053. INSERT INTO `wk_admin_user_role` VALUES (19220, 14774, 180162);
  1054. -- ----------------------------
  1055. -- Table structure for wk_call_record
  1056. -- ----------------------------
  1057. DROP TABLE IF EXISTS `wk_call_record`;
  1058. CREATE TABLE `wk_call_record` (
  1059. `call_record_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键 记录id',
  1060. `number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '电话号码',
  1061. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始振铃时间',
  1062. `answer_time` datetime(0) NULL DEFAULT NULL COMMENT '接通时间',
  1063. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  1064. `talk_time` int(0) NULL DEFAULT 0 COMMENT '通话时长(秒)',
  1065. `dial_time` int(0) NULL DEFAULT 0 COMMENT '摘机时长',
  1066. `state` int(0) NULL DEFAULT NULL COMMENT '通话状态 (0未振铃,1未接通,2接通,3呼入未接通)',
  1067. `type` int(0) NULL DEFAULT NULL COMMENT '通话类型 (0呼出,1呼入)',
  1068. `model` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联模块 leads,customer,contacts',
  1069. `model_id` int(0) NULL DEFAULT NULL COMMENT '关联模块ID',
  1070. `file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '录音文件路径',
  1071. `size` int(0) NULL DEFAULT 0 COMMENT '录音文件大小',
  1072. `file_name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  1073. `call_upload` tinyint(1) NULL DEFAULT 0 COMMENT '0:CRM服务器; 1:上传至阿里云',
  1074. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  1075. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  1076. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  1077. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  1078. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次',
  1079. PRIMARY KEY (`call_record_id`) USING BTREE
  1080. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通话记录' ROW_FORMAT = Dynamic;
  1081. -- ----------------------------
  1082. -- Records of wk_call_record
  1083. -- ----------------------------
  1084. -- ----------------------------
  1085. -- Table structure for wk_card_weixin_browse
  1086. -- ----------------------------
  1087. DROP TABLE IF EXISTS `wk_card_weixin_browse`;
  1088. CREATE TABLE `wk_card_weixin_browse` (
  1089. `browse_id` bigint(0) NOT NULL AUTO_INCREMENT,
  1090. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '名片表',
  1091. `weixin_leads_id` bigint(0) NULL DEFAULT NULL COMMENT '微信线索表',
  1092. `create_time` datetime(0) NULL DEFAULT NULL,
  1093. `num` int(0) NULL DEFAULT 0 COMMENT '浏览次数',
  1094. `update_time` datetime(0) NULL DEFAULT NULL,
  1095. PRIMARY KEY (`browse_id`) USING BTREE
  1096. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '微信浏览名片表' ROW_FORMAT = Dynamic;
  1097. -- ----------------------------
  1098. -- Records of wk_card_weixin_browse
  1099. -- ----------------------------
  1100. -- ----------------------------
  1101. -- Table structure for wk_card_weixin_leads
  1102. -- ----------------------------
  1103. DROP TABLE IF EXISTS `wk_card_weixin_leads`;
  1104. CREATE TABLE `wk_card_weixin_leads` (
  1105. `weixin_leads_id` bigint(0) NOT NULL AUTO_INCREMENT,
  1106. `is_transform` int(0) NULL DEFAULT 0 COMMENT '1已转化 0 未转化',
  1107. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  1108. `owner_user_id` bigint(0) NULL DEFAULT NULL,
  1109. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  1110. `weixin_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信头像',
  1111. `weixin_name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信名称',
  1112. `weixin_number` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信号',
  1113. `mobile` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号',
  1114. `openid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信唯一标识',
  1115. `sex` varchar(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  1116. `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  1117. PRIMARY KEY (`weixin_leads_id`) USING BTREE
  1118. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '微信线索' ROW_FORMAT = Dynamic;
  1119. -- ----------------------------
  1120. -- Records of wk_card_weixin_leads
  1121. -- ----------------------------
  1122. -- ----------------------------
  1123. -- Table structure for wk_card_weixin_leads_user
  1124. -- ----------------------------
  1125. DROP TABLE IF EXISTS `wk_card_weixin_leads_user`;
  1126. CREATE TABLE `wk_card_weixin_leads_user` (
  1127. `weixin_user_id` bigint(0) NOT NULL AUTO_INCREMENT,
  1128. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '被关注的员工id',
  1129. `weixin_leads_id` bigint(0) NULL DEFAULT NULL COMMENT '微信线索id',
  1130. `create_time` datetime(0) NULL DEFAULT NULL,
  1131. `relevance_user_id` bigint(0) NULL DEFAULT NULL COMMENT '员工id',
  1132. PRIMARY KEY (`weixin_user_id`) USING BTREE
  1133. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '名片夹' ROW_FORMAT = Dynamic;
  1134. -- ----------------------------
  1135. -- Records of wk_card_weixin_leads_user
  1136. -- ----------------------------
  1137. -- ----------------------------
  1138. -- Table structure for wk_crm_achievement
  1139. -- ----------------------------
  1140. DROP TABLE IF EXISTS `wk_crm_achievement`;
  1141. CREATE TABLE `wk_crm_achievement` (
  1142. `achievement_id` int(0) NOT NULL AUTO_INCREMENT,
  1143. `obj_id` int(0) NULL DEFAULT NULL COMMENT '对象ID',
  1144. `type` int(0) NULL DEFAULT 0 COMMENT '1公司2部门3员工',
  1145. `year` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年',
  1146. `january` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '一月',
  1147. `february` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '二月',
  1148. `march` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '三月',
  1149. `april` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '四月',
  1150. `may` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '五月',
  1151. `june` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '六月',
  1152. `july` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '七月',
  1153. `august` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '八月',
  1154. `september` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '九月',
  1155. `october` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '十月',
  1156. `november` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '十一月',
  1157. `december` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '十二月',
  1158. `status` int(0) NULL DEFAULT NULL COMMENT '1销售(目标)2回款(目标)',
  1159. `yeartarget` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '年目标',
  1160. PRIMARY KEY (`achievement_id`) USING BTREE,
  1161. INDEX `obj_id`(`obj_id`, `type`) USING BTREE
  1162. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '业绩目标' ROW_FORMAT = Dynamic;
  1163. -- ----------------------------
  1164. -- Records of wk_crm_achievement
  1165. -- ----------------------------
  1166. -- ----------------------------
  1167. -- Table structure for wk_crm_action_record
  1168. -- ----------------------------
  1169. DROP TABLE IF EXISTS `wk_crm_action_record`;
  1170. CREATE TABLE `wk_crm_action_record` (
  1171. `id` int(0) NOT NULL AUTO_INCREMENT,
  1172. `create_user_id` bigint(0) NOT NULL COMMENT '操作人ID',
  1173. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  1174. `ip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'ip地址',
  1175. `types` int(0) NOT NULL COMMENT '模块类型',
  1176. `action_id` int(0) NULL DEFAULT NULL COMMENT '被操作对象ID',
  1177. `object` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '对象',
  1178. `behavior` int(0) NULL DEFAULT NULL COMMENT '行为',
  1179. `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
  1180. `detail` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '详情',
  1181. PRIMARY KEY (`id`) USING BTREE,
  1182. INDEX `types`(`types`, `action_id`) USING BTREE
  1183. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字段操作记录表' ROW_FORMAT = Dynamic;
  1184. -- ----------------------------
  1185. -- Records of wk_crm_action_record
  1186. -- ----------------------------
  1187. -- ----------------------------
  1188. -- Table structure for wk_crm_activity
  1189. -- ----------------------------
  1190. DROP TABLE IF EXISTS `wk_crm_activity`;
  1191. CREATE TABLE `wk_crm_activity` (
  1192. `activity_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '活动id',
  1193. `type` int(0) NULL DEFAULT NULL COMMENT '活动类型 1 跟进记录 2 创建记录 3 商机阶段变更 4 外勤签到',
  1194. `category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '跟进类型',
  1195. `activity_type` int(0) NOT NULL COMMENT '活动类型 1 线索 2 客户 3 联系人 4 产品 5 商机 6 合同 7回款 8日志 9审批 10日程 11任务 12 发邮件',
  1196. `activity_type_id` int(0) NOT NULL COMMENT '活动类型Id',
  1197. `content` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '活动内容',
  1198. `business_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联商机',
  1199. `contacts_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联联系人',
  1200. `next_time` datetime(0) NULL DEFAULT NULL COMMENT '下次联系时间',
  1201. `status` int(0) NULL DEFAULT 1 COMMENT '0 删除 1 未删除',
  1202. `lng` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  1203. `lat` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  1204. `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签到地址',
  1205. `create_user_id` bigint(0) NOT NULL COMMENT '创建人id',
  1206. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  1207. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次id',
  1208. PRIMARY KEY (`activity_id`) USING BTREE,
  1209. INDEX `wk_crm_activity_type_activity_type_index`(`type`, `activity_type`) USING BTREE,
  1210. INDEX `create_time`(`create_time`) USING BTREE
  1211. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'crm活动表' ROW_FORMAT = Dynamic;
  1212. -- ----------------------------
  1213. -- Records of wk_crm_activity
  1214. -- ----------------------------
  1215. -- ----------------------------
  1216. -- Table structure for wk_crm_activity_relation
  1217. -- ----------------------------
  1218. DROP TABLE IF EXISTS `wk_crm_activity_relation`;
  1219. CREATE TABLE `wk_crm_activity_relation` (
  1220. `r_id` int(0) NOT NULL AUTO_INCREMENT,
  1221. `activity_id` int(0) NOT NULL,
  1222. `type` int(0) NOT NULL COMMENT '3 联系人 5 商机',
  1223. `type_id` int(0) NOT NULL,
  1224. PRIMARY KEY (`r_id`) USING BTREE
  1225. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '活动关联商机联系人表' ROW_FORMAT = Dynamic;
  1226. -- ----------------------------
  1227. -- Records of wk_crm_activity_relation
  1228. -- ----------------------------
  1229. -- ----------------------------
  1230. -- Table structure for wk_crm_area
  1231. -- ----------------------------
  1232. DROP TABLE IF EXISTS `wk_crm_area`;
  1233. CREATE TABLE `wk_crm_area` (
  1234. `code_id` int(0) NULL DEFAULT NULL,
  1235. `parent_id` int(0) NULL DEFAULT NULL,
  1236. `city_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL
  1237. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '地名表' ROW_FORMAT = Dynamic;
  1238. -- ----------------------------
  1239. -- Records of wk_crm_area
  1240. -- ----------------------------
  1241. INSERT INTO `wk_crm_area` VALUES (513222, 513200, '理县');
  1242. INSERT INTO `wk_crm_area` VALUES (513233, 513200, '红原县');
  1243. INSERT INTO `wk_crm_area` VALUES (513221, 513200, '汶川县');
  1244. INSERT INTO `wk_crm_area` VALUES (513232, 513200, '若尔盖县');
  1245. INSERT INTO `wk_crm_area` VALUES (513231, 513200, '阿坝县');
  1246. INSERT INTO `wk_crm_area` VALUES (513230, 513200, '壤塘县');
  1247. INSERT INTO `wk_crm_area` VALUES (513226, 513200, '金川县');
  1248. INSERT INTO `wk_crm_area` VALUES (513225, 513200, '九寨沟县');
  1249. INSERT INTO `wk_crm_area` VALUES (513224, 513200, '松潘县');
  1250. INSERT INTO `wk_crm_area` VALUES (513201, 513200, '马尔康市');
  1251. INSERT INTO `wk_crm_area` VALUES (513223, 513200, '茂县');
  1252. INSERT INTO `wk_crm_area` VALUES (513228, 513200, '黑水县');
  1253. INSERT INTO `wk_crm_area` VALUES (513227, 513200, '小金县');
  1254. INSERT INTO `wk_crm_area` VALUES (712899, 712800, '莒光乡');
  1255. INSERT INTO `wk_crm_area` VALUES (712896, 712800, '南竿乡');
  1256. INSERT INTO `wk_crm_area` VALUES (712897, 712800, '北竿乡');
  1257. INSERT INTO `wk_crm_area` VALUES (712898, 712800, '东引乡');
  1258. INSERT INTO `wk_crm_area` VALUES (632822, 632800, '都兰县');
  1259. INSERT INTO `wk_crm_area` VALUES (632821, 632800, '乌兰县');
  1260. INSERT INTO `wk_crm_area` VALUES (632803, 632800, '茫崖市');
  1261. INSERT INTO `wk_crm_area` VALUES (632802, 632800, '德令哈市');
  1262. INSERT INTO `wk_crm_area` VALUES (632857, 632800, '大柴旦行政委员会');
  1263. INSERT INTO `wk_crm_area` VALUES (632801, 632800, '格尔木市');
  1264. INSERT INTO `wk_crm_area` VALUES (632823, 632800, '天峻县');
  1265. INSERT INTO `wk_crm_area` VALUES (370982, 370900, '新泰市');
  1266. INSERT INTO `wk_crm_area` VALUES (370921, 370900, '宁阳县');
  1267. INSERT INTO `wk_crm_area` VALUES (370911, 370900, '岱岳区');
  1268. INSERT INTO `wk_crm_area` VALUES (370923, 370900, '东平县');
  1269. INSERT INTO `wk_crm_area` VALUES (370902, 370900, '泰山区');
  1270. INSERT INTO `wk_crm_area` VALUES (370983, 370900, '肥城市');
  1271. INSERT INTO `wk_crm_area` VALUES (421127, 421100, '黄梅县');
  1272. INSERT INTO `wk_crm_area` VALUES (421126, 421100, '蕲春县');
  1273. INSERT INTO `wk_crm_area` VALUES (421125, 421100, '浠水县');
  1274. INSERT INTO `wk_crm_area` VALUES (421102, 421100, '黄州区');
  1275. INSERT INTO `wk_crm_area` VALUES (421124, 421100, '英山县');
  1276. INSERT INTO `wk_crm_area` VALUES (421181, 421100, '麻城市');
  1277. INSERT INTO `wk_crm_area` VALUES (421171, 421100, '龙感湖管理区');
  1278. INSERT INTO `wk_crm_area` VALUES (421182, 421100, '武穴市');
  1279. INSERT INTO `wk_crm_area` VALUES (421123, 421100, '罗田县');
  1280. INSERT INTO `wk_crm_area` VALUES (421122, 421100, '红安县');
  1281. INSERT INTO `wk_crm_area` VALUES (421121, 421100, '团风县');
  1282. INSERT INTO `wk_crm_area` VALUES (330282, 330200, '慈溪市');
  1283. INSERT INTO `wk_crm_area` VALUES (330206, 330200, '北仑区');
  1284. INSERT INTO `wk_crm_area` VALUES (330281, 330200, '余姚市');
  1285. INSERT INTO `wk_crm_area` VALUES (330213, 330200, '奉化区');
  1286. INSERT INTO `wk_crm_area` VALUES (330203, 330200, '海曙区');
  1287. INSERT INTO `wk_crm_area` VALUES (330225, 330200, '象山县');
  1288. INSERT INTO `wk_crm_area` VALUES (330226, 330200, '宁海县');
  1289. INSERT INTO `wk_crm_area` VALUES (330205, 330200, '江北区');
  1290. INSERT INTO `wk_crm_area` VALUES (330211, 330200, '镇海区');
  1291. INSERT INTO `wk_crm_area` VALUES (330212, 330200, '鄞州区');
  1292. INSERT INTO `wk_crm_area` VALUES (640381, 640300, '青铜峡市');
  1293. INSERT INTO `wk_crm_area` VALUES (640302, 640300, '利通区');
  1294. INSERT INTO `wk_crm_area` VALUES (640324, 640300, '同心县');
  1295. INSERT INTO `wk_crm_area` VALUES (640323, 640300, '盐池县');
  1296. INSERT INTO `wk_crm_area` VALUES (640303, 640300, '红寺堡区');
  1297. INSERT INTO `wk_crm_area` VALUES (650500, 650000, '哈密市');
  1298. INSERT INTO `wk_crm_area` VALUES (650400, 650000, '吐鲁番市');
  1299. INSERT INTO `wk_crm_area` VALUES (650200, 650000, '克拉玛依市');
  1300. INSERT INTO `wk_crm_area` VALUES (650100, 650000, '乌鲁木齐市');
  1301. INSERT INTO `wk_crm_area` VALUES (652300, 650000, '昌吉回族自治州');
  1302. INSERT INTO `wk_crm_area` VALUES (652700, 650000, '博尔塔拉蒙古自治州');
  1303. INSERT INTO `wk_crm_area` VALUES (652800, 650000, '巴音郭楞蒙古自治州');
  1304. INSERT INTO `wk_crm_area` VALUES (652900, 650000, '阿克苏地区');
  1305. INSERT INTO `wk_crm_area` VALUES (654000, 650000, '伊犁哈萨克自治州');
  1306. INSERT INTO `wk_crm_area` VALUES (653000, 650000, '克孜勒苏柯尔克孜自治州');
  1307. INSERT INTO `wk_crm_area` VALUES (653100, 650000, '喀什地区');
  1308. INSERT INTO `wk_crm_area` VALUES (654200, 650000, '塔城地区');
  1309. INSERT INTO `wk_crm_area` VALUES (653200, 650000, '和田地区');
  1310. INSERT INTO `wk_crm_area` VALUES (654300, 650000, '阿勒泰地区');
  1311. INSERT INTO `wk_crm_area` VALUES (659000, 650000, '自治区直辖县级行政区划');
  1312. INSERT INTO `wk_crm_area` VALUES (411328, 411300, '唐河县');
  1313. INSERT INTO `wk_crm_area` VALUES (411327, 411300, '社旗县');
  1314. INSERT INTO `wk_crm_area` VALUES (411329, 411300, '新野县');
  1315. INSERT INTO `wk_crm_area` VALUES (411302, 411300, '宛城区');
  1316. INSERT INTO `wk_crm_area` VALUES (411324, 411300, '镇平县');
  1317. INSERT INTO `wk_crm_area` VALUES (411323, 411300, '西峡县');
  1318. INSERT INTO `wk_crm_area` VALUES (411326, 411300, '淅川县');
  1319. INSERT INTO `wk_crm_area` VALUES (411303, 411300, '卧龙区');
  1320. INSERT INTO `wk_crm_area` VALUES (411325, 411300, '内乡县');
  1321. INSERT INTO `wk_crm_area` VALUES (411330, 411300, '桐柏县');
  1322. INSERT INTO `wk_crm_area` VALUES (411322, 411300, '方城县');
  1323. INSERT INTO `wk_crm_area` VALUES (411321, 411300, '南召县');
  1324. INSERT INTO `wk_crm_area` VALUES (411371, 411300, '南阳高新技术产业开发区');
  1325. INSERT INTO `wk_crm_area` VALUES (411381, 411300, '邓州市');
  1326. INSERT INTO `wk_crm_area` VALUES (411372, 411300, '南阳市城乡一体化示范区');
  1327. INSERT INTO `wk_crm_area` VALUES (340700, 340000, '铜陵市');
  1328. INSERT INTO `wk_crm_area` VALUES (340800, 340000, '安庆市');
  1329. INSERT INTO `wk_crm_area` VALUES (341800, 340000, '宣城市');
  1330. INSERT INTO `wk_crm_area` VALUES (340100, 340000, '合肥市');
  1331. INSERT INTO `wk_crm_area` VALUES (341200, 340000, '阜阳市');
  1332. INSERT INTO `wk_crm_area` VALUES (340200, 340000, '芜湖市');
  1333. INSERT INTO `wk_crm_area` VALUES (341300, 340000, '宿州市');
  1334. INSERT INTO `wk_crm_area` VALUES (341000, 340000, '黄山市');
  1335. INSERT INTO `wk_crm_area` VALUES (341100, 340000, '滁州市');
  1336. INSERT INTO `wk_crm_area` VALUES (340500, 340000, '马鞍山市');
  1337. INSERT INTO `wk_crm_area` VALUES (341700, 340000, '池州市');
  1338. INSERT INTO `wk_crm_area` VALUES (340600, 340000, '淮北市');
  1339. INSERT INTO `wk_crm_area` VALUES (341600, 340000, '亳州市');
  1340. INSERT INTO `wk_crm_area` VALUES (340300, 340000, '蚌埠市');
  1341. INSERT INTO `wk_crm_area` VALUES (341500, 340000, '六安市');
  1342. INSERT INTO `wk_crm_area` VALUES (340400, 340000, '淮南市');
  1343. INSERT INTO `wk_crm_area` VALUES (810100, 810000, '香港城区');
  1344. INSERT INTO `wk_crm_area` VALUES (711777, 711700, '秀水乡');
  1345. INSERT INTO `wk_crm_area` VALUES (711799, 711700, '二水乡');
  1346. INSERT INTO `wk_crm_area` VALUES (711778, 711700, '鹿港镇');
  1347. INSERT INTO `wk_crm_area` VALUES (711779, 711700, '福兴乡');
  1348. INSERT INTO `wk_crm_area` VALUES (711784, 711700, '社头乡');
  1349. INSERT INTO `wk_crm_area` VALUES (711785, 711700, '永靖乡');
  1350. INSERT INTO `wk_crm_area` VALUES (711786, 711700, '埔心乡');
  1351. INSERT INTO `wk_crm_area` VALUES (711787, 711700, '溪湖镇');
  1352. INSERT INTO `wk_crm_area` VALUES (711780, 711700, '线西乡');
  1353. INSERT INTO `wk_crm_area` VALUES (711781, 711700, '和美镇');
  1354. INSERT INTO `wk_crm_area` VALUES (711782, 711700, '伸港乡');
  1355. INSERT INTO `wk_crm_area` VALUES (711783, 711700, '员林镇');
  1356. INSERT INTO `wk_crm_area` VALUES (711788, 711700, '大村乡');
  1357. INSERT INTO `wk_crm_area` VALUES (711789, 711700, '埔盐乡');
  1358. INSERT INTO `wk_crm_area` VALUES (711790, 711700, '田中镇');
  1359. INSERT INTO `wk_crm_area` VALUES (711795, 711700, '竹塘乡');
  1360. INSERT INTO `wk_crm_area` VALUES (711774, 711700, '彰化市');
  1361. INSERT INTO `wk_crm_area` VALUES (711796, 711700, '二林镇');
  1362. INSERT INTO `wk_crm_area` VALUES (711775, 711700, '芬园乡');
  1363. INSERT INTO `wk_crm_area` VALUES (711797, 711700, '大城乡');
  1364. INSERT INTO `wk_crm_area` VALUES (711776, 711700, '花坛乡');
  1365. INSERT INTO `wk_crm_area` VALUES (711798, 711700, '芳苑乡');
  1366. INSERT INTO `wk_crm_area` VALUES (711791, 711700, '北斗镇');
  1367. INSERT INTO `wk_crm_area` VALUES (711792, 711700, '田尾乡');
  1368. INSERT INTO `wk_crm_area` VALUES (711793, 711700, '埤头乡');
  1369. INSERT INTO `wk_crm_area` VALUES (711794, 711700, '溪州乡');
  1370. INSERT INTO `wk_crm_area` VALUES (650107, 650100, '达坂城区');
  1371. INSERT INTO `wk_crm_area` VALUES (650106, 650100, '头屯河区');
  1372. INSERT INTO `wk_crm_area` VALUES (650105, 650100, '水磨沟区');
  1373. INSERT INTO `wk_crm_area` VALUES (650104, 650100, '新市区');
  1374. INSERT INTO `wk_crm_area` VALUES (650103, 650100, '沙依巴克区');
  1375. INSERT INTO `wk_crm_area` VALUES (650102, 650100, '天山区');
  1376. INSERT INTO `wk_crm_area` VALUES (650121, 650100, '乌鲁木齐县');
  1377. INSERT INTO `wk_crm_area` VALUES (650172, 650100, '乌鲁木齐高新技术产业开发区');
  1378. INSERT INTO `wk_crm_area` VALUES (650171, 650100, '乌鲁木齐经济技术开发区');
  1379. INSERT INTO `wk_crm_area` VALUES (650109, 650100, '米东区');
  1380. INSERT INTO `wk_crm_area` VALUES (445303, 445300, '云安区');
  1381. INSERT INTO `wk_crm_area` VALUES (445302, 445300, '云城区');
  1382. INSERT INTO `wk_crm_area` VALUES (445381, 445300, '罗定市');
  1383. INSERT INTO `wk_crm_area` VALUES (445321, 445300, '新兴县');
  1384. INSERT INTO `wk_crm_area` VALUES (445322, 445300, '郁南县');
  1385. INSERT INTO `wk_crm_area` VALUES (500200, 500000, '县');
  1386. INSERT INTO `wk_crm_area` VALUES (500100, 500000, '市辖区');
  1387. INSERT INTO `wk_crm_area` VALUES (530921, 530900, '凤庆县');
  1388. INSERT INTO `wk_crm_area` VALUES (530922, 530900, '云县');
  1389. INSERT INTO `wk_crm_area` VALUES (530927, 530900, '沧源佤族自治县');
  1390. INSERT INTO `wk_crm_area` VALUES (530925, 530900, '双江拉祜族佤族布朗族傣族自治县');
  1391. INSERT INTO `wk_crm_area` VALUES (530926, 530900, '耿马傣族佤族自治县');
  1392. INSERT INTO `wk_crm_area` VALUES (530923, 530900, '永德县');
  1393. INSERT INTO `wk_crm_area` VALUES (530902, 530900, '临翔区');
  1394. INSERT INTO `wk_crm_area` VALUES (530924, 530900, '镇康县');
  1395. INSERT INTO `wk_crm_area` VALUES (150626, 150600, '乌审旗');
  1396. INSERT INTO `wk_crm_area` VALUES (150627, 150600, '伊金霍洛旗');
  1397. INSERT INTO `wk_crm_area` VALUES (150602, 150600, '东胜区');
  1398. INSERT INTO `wk_crm_area` VALUES (150624, 150600, '鄂托克旗');
  1399. INSERT INTO `wk_crm_area` VALUES (150603, 150600, '康巴什区');
  1400. INSERT INTO `wk_crm_area` VALUES (150625, 150600, '杭锦旗');
  1401. INSERT INTO `wk_crm_area` VALUES (150622, 150600, '准格尔旗');
  1402. INSERT INTO `wk_crm_area` VALUES (150623, 150600, '鄂托克前旗');
  1403. INSERT INTO `wk_crm_area` VALUES (150621, 150600, '达拉特旗');
  1404. INSERT INTO `wk_crm_area` VALUES (152923, 152900, '额济纳旗');
  1405. INSERT INTO `wk_crm_area` VALUES (152922, 152900, '阿拉善右旗');
  1406. INSERT INTO `wk_crm_area` VALUES (152921, 152900, '阿拉善左旗');
  1407. INSERT INTO `wk_crm_area` VALUES (152971, 152900, '内蒙古阿拉善经济开发区');
  1408. INSERT INTO `wk_crm_area` VALUES (341271, 341200, '阜阳合肥现代产业园区');
  1409. INSERT INTO `wk_crm_area` VALUES (341282, 341200, '界首市');
  1410. INSERT INTO `wk_crm_area` VALUES (341272, 341200, '阜阳经济技术开发区');
  1411. INSERT INTO `wk_crm_area` VALUES (341222, 341200, '太和县');
  1412. INSERT INTO `wk_crm_area` VALUES (341221, 341200, '临泉县');
  1413. INSERT INTO `wk_crm_area` VALUES (341204, 341200, '颍泉区');
  1414. INSERT INTO `wk_crm_area` VALUES (341226, 341200, '颍上县');
  1415. INSERT INTO `wk_crm_area` VALUES (341202, 341200, '颍州区');
  1416. INSERT INTO `wk_crm_area` VALUES (341203, 341200, '颍东区');
  1417. INSERT INTO `wk_crm_area` VALUES (341225, 341200, '阜南县');
  1418. INSERT INTO `wk_crm_area` VALUES (620881, 620800, '华亭市');
  1419. INSERT INTO `wk_crm_area` VALUES (620826, 620800, '静宁县');
  1420. INSERT INTO `wk_crm_area` VALUES (620822, 620800, '灵台县');
  1421. INSERT INTO `wk_crm_area` VALUES (620823, 620800, '崇信县');
  1422. INSERT INTO `wk_crm_area` VALUES (620802, 620800, '崆峒区');
  1423. INSERT INTO `wk_crm_area` VALUES (620825, 620800, '庄浪县');
  1424. INSERT INTO `wk_crm_area` VALUES (620821, 620800, '泾川县');
  1425. INSERT INTO `wk_crm_area` VALUES (140827, 140800, '垣曲县');
  1426. INSERT INTO `wk_crm_area` VALUES (140828, 140800, '夏县');
  1427. INSERT INTO `wk_crm_area` VALUES (140829, 140800, '平陆县');
  1428. INSERT INTO `wk_crm_area` VALUES (140881, 140800, '永济市');
  1429. INSERT INTO `wk_crm_area` VALUES (140882, 140800, '河津市');
  1430. INSERT INTO `wk_crm_area` VALUES (140830, 140800, '芮城县');
  1431. INSERT INTO `wk_crm_area` VALUES (140821, 140800, '临猗县');
  1432. INSERT INTO `wk_crm_area` VALUES (140822, 140800, '万荣县');
  1433. INSERT INTO `wk_crm_area` VALUES (140823, 140800, '闻喜县');
  1434. INSERT INTO `wk_crm_area` VALUES (140802, 140800, '盐湖区');
  1435. INSERT INTO `wk_crm_area` VALUES (140824, 140800, '稷山县');
  1436. INSERT INTO `wk_crm_area` VALUES (140825, 140800, '新绛县');
  1437. INSERT INTO `wk_crm_area` VALUES (140826, 140800, '绛县');
  1438. INSERT INTO `wk_crm_area` VALUES (410106, 410100, '上街区');
  1439. INSERT INTO `wk_crm_area` VALUES (410108, 410100, '惠济区');
  1440. INSERT INTO `wk_crm_area` VALUES (410103, 410100, '二七区');
  1441. INSERT INTO `wk_crm_area` VALUES (410102, 410100, '中原区');
  1442. INSERT INTO `wk_crm_area` VALUES (410105, 410100, '金水区');
  1443. INSERT INTO `wk_crm_area` VALUES (410104, 410100, '管城回族区');
  1444. INSERT INTO `wk_crm_area` VALUES (410181, 410100, '巩义市');
  1445. INSERT INTO `wk_crm_area` VALUES (410122, 410100, '中牟县');
  1446. INSERT INTO `wk_crm_area` VALUES (410172, 410100, '郑州高新技术产业开发区');
  1447. INSERT INTO `wk_crm_area` VALUES (410183, 410100, '新密市');
  1448. INSERT INTO `wk_crm_area` VALUES (410171, 410100, '郑州经济技术开发区');
  1449. INSERT INTO `wk_crm_area` VALUES (410182, 410100, '荥阳市');
  1450. INSERT INTO `wk_crm_area` VALUES (410185, 410100, '登封市');
  1451. INSERT INTO `wk_crm_area` VALUES (410173, 410100, '郑州航空港经济综合实验区');
  1452. INSERT INTO `wk_crm_area` VALUES (410184, 410100, '新郑市');
  1453. INSERT INTO `wk_crm_area` VALUES (710512, 710500, '乌坵乡');
  1454. INSERT INTO `wk_crm_area` VALUES (710508, 710500, '金湖镇');
  1455. INSERT INTO `wk_crm_area` VALUES (710507, 710500, '金沙镇');
  1456. INSERT INTO `wk_crm_area` VALUES (710509, 710500, '金宁乡');
  1457. INSERT INTO `wk_crm_area` VALUES (710511, 710500, '烈屿乡');
  1458. INSERT INTO `wk_crm_area` VALUES (710510, 710500, '金城镇');
  1459. INSERT INTO `wk_crm_area` VALUES (320481, 320400, '溧阳市');
  1460. INSERT INTO `wk_crm_area` VALUES (320404, 320400, '钟楼区');
  1461. INSERT INTO `wk_crm_area` VALUES (320412, 320400, '武进区');
  1462. INSERT INTO `wk_crm_area` VALUES (320402, 320400, '天宁区');
  1463. INSERT INTO `wk_crm_area` VALUES (320413, 320400, '金坛区');
  1464. INSERT INTO `wk_crm_area` VALUES (320411, 320400, '新北区');
  1465. INSERT INTO `wk_crm_area` VALUES (230709, 230700, '金山屯区');
  1466. INSERT INTO `wk_crm_area` VALUES (230708, 230700, '美溪区');
  1467. INSERT INTO `wk_crm_area` VALUES (230710, 230700, '五营区');
  1468. INSERT INTO `wk_crm_area` VALUES (230781, 230700, '铁力市');
  1469. INSERT INTO `wk_crm_area` VALUES (230707, 230700, '新青区');
  1470. INSERT INTO `wk_crm_area` VALUES (230706, 230700, '翠峦区');
  1471. INSERT INTO `wk_crm_area` VALUES (230705, 230700, '西林区');
  1472. INSERT INTO `wk_crm_area` VALUES (230716, 230700, '上甘岭区');
  1473. INSERT INTO `wk_crm_area` VALUES (230704, 230700, '友好区');
  1474. INSERT INTO `wk_crm_area` VALUES (230715, 230700, '红星区');
  1475. INSERT INTO `wk_crm_area` VALUES (230703, 230700, '南岔区');
  1476. INSERT INTO `wk_crm_area` VALUES (230714, 230700, '乌伊岭区');
  1477. INSERT INTO `wk_crm_area` VALUES (230702, 230700, '伊春区');
  1478. INSERT INTO `wk_crm_area` VALUES (230713, 230700, '带岭区');
  1479. INSERT INTO `wk_crm_area` VALUES (230712, 230700, '汤旺河区');
  1480. INSERT INTO `wk_crm_area` VALUES (230711, 230700, '乌马河区');
  1481. INSERT INTO `wk_crm_area` VALUES (230722, 230700, '嘉荫县');
  1482. INSERT INTO `wk_crm_area` VALUES (110100, 110000, '北京城区');
  1483. INSERT INTO `wk_crm_area` VALUES (370881, 370800, '曲阜市');
  1484. INSERT INTO `wk_crm_area` VALUES (370871, 370800, '济宁高新技术产业开发区');
  1485. INSERT INTO `wk_crm_area` VALUES (370883, 370800, '邹城市');
  1486. INSERT INTO `wk_crm_area` VALUES (370826, 370800, '微山县');
  1487. INSERT INTO `wk_crm_area` VALUES (370827, 370800, '鱼台县');
  1488. INSERT INTO `wk_crm_area` VALUES (370828, 370800, '金乡县');
  1489. INSERT INTO `wk_crm_area` VALUES (370829, 370800, '嘉祥县');
  1490. INSERT INTO `wk_crm_area` VALUES (370811, 370800, '任城区');
  1491. INSERT INTO `wk_crm_area` VALUES (370812, 370800, '兖州区');
  1492. INSERT INTO `wk_crm_area` VALUES (370830, 370800, '汶上县');
  1493. INSERT INTO `wk_crm_area` VALUES (370831, 370800, '泗水县');
  1494. INSERT INTO `wk_crm_area` VALUES (370832, 370800, '梁山县');
  1495. INSERT INTO `wk_crm_area` VALUES (632701, 632700, '玉树市');
  1496. INSERT INTO `wk_crm_area` VALUES (632723, 632700, '称多县');
  1497. INSERT INTO `wk_crm_area` VALUES (632722, 632700, '杂多县');
  1498. INSERT INTO `wk_crm_area` VALUES (632726, 632700, '曲麻莱县');
  1499. INSERT INTO `wk_crm_area` VALUES (632725, 632700, '囊谦县');
  1500. INSERT INTO `wk_crm_area` VALUES (632724, 632700, '治多县');
  1501. INSERT INTO `wk_crm_area` VALUES (421003, 421000, '荆州区');
  1502. INSERT INTO `wk_crm_area` VALUES (421071, 421000, '荆州经济技术开发区');
  1503. INSERT INTO `wk_crm_area` VALUES (421081, 421000, '石首市');
  1504. INSERT INTO `wk_crm_area` VALUES (421083, 421000, '洪湖市');
  1505. INSERT INTO `wk_crm_area` VALUES (421002, 421000, '沙市区');
  1506. INSERT INTO `wk_crm_area` VALUES (421024, 421000, '江陵县');
  1507. INSERT INTO `wk_crm_area` VALUES (421023, 421000, '监利县');
  1508. INSERT INTO `wk_crm_area` VALUES (421022, 421000, '公安县');
  1509. INSERT INTO `wk_crm_area` VALUES (421087, 421000, '松滋市');
  1510. INSERT INTO `wk_crm_area` VALUES (330381, 330300, '瑞安市');
  1511. INSERT INTO `wk_crm_area` VALUES (330371, 330300, '温州经济技术开发区');
  1512. INSERT INTO `wk_crm_area` VALUES (330382, 330300, '乐清市');
  1513. INSERT INTO `wk_crm_area` VALUES (330305, 330300, '洞头区');
  1514. INSERT INTO `wk_crm_area` VALUES (330327, 330300, '苍南县');
  1515. INSERT INTO `wk_crm_area` VALUES (330328, 330300, '文成县');
  1516. INSERT INTO `wk_crm_area` VALUES (330329, 330300, '泰顺县');
  1517. INSERT INTO `wk_crm_area` VALUES (330302, 330300, '鹿城区');
  1518. INSERT INTO `wk_crm_area` VALUES (330324, 330300, '永嘉县');
  1519. INSERT INTO `wk_crm_area` VALUES (330303, 330300, '龙湾区');
  1520. INSERT INTO `wk_crm_area` VALUES (330304, 330300, '瓯海区');
  1521. INSERT INTO `wk_crm_area` VALUES (330326, 330300, '平阳县');
  1522. INSERT INTO `wk_crm_area` VALUES (340181, 340100, '巢湖市');
  1523. INSERT INTO `wk_crm_area` VALUES (340173, 340100, '合肥新站高新技术产业开发区');
  1524. INSERT INTO `wk_crm_area` VALUES (340171, 340100, '合肥高新技术产业开发区');
  1525. INSERT INTO `wk_crm_area` VALUES (340172, 340100, '合肥经济技术开发区');
  1526. INSERT INTO `wk_crm_area` VALUES (340111, 340100, '包河区');
  1527. INSERT INTO `wk_crm_area` VALUES (340122, 340100, '肥东县');
  1528. INSERT INTO `wk_crm_area` VALUES (340123, 340100, '肥西县');
  1529. INSERT INTO `wk_crm_area` VALUES (340121, 340100, '长丰县');
  1530. INSERT INTO `wk_crm_area` VALUES (340104, 340100, '蜀山区');
  1531. INSERT INTO `wk_crm_area` VALUES (340102, 340100, '瑶海区');
  1532. INSERT INTO `wk_crm_area` VALUES (340124, 340100, '庐江县');
  1533. INSERT INTO `wk_crm_area` VALUES (340103, 340100, '庐阳区');
  1534. INSERT INTO `wk_crm_area` VALUES (640221, 640200, '平罗县');
  1535. INSERT INTO `wk_crm_area` VALUES (640202, 640200, '大武口区');
  1536. INSERT INTO `wk_crm_area` VALUES (640205, 640200, '惠农区');
  1537. INSERT INTO `wk_crm_area` VALUES (711590, 711500, '苗栗市');
  1538. INSERT INTO `wk_crm_area` VALUES (711591, 711500, '造桥乡');
  1539. INSERT INTO `wk_crm_area` VALUES (711592, 711500, '头屋乡');
  1540. INSERT INTO `wk_crm_area` VALUES (711586, 711500, '狮潭乡');
  1541. INSERT INTO `wk_crm_area` VALUES (711597, 711500, '三义乡');
  1542. INSERT INTO `wk_crm_area` VALUES (711587, 711500, '后龙镇');
  1543. INSERT INTO `wk_crm_area` VALUES (711598, 711500, '西湖乡');
  1544. INSERT INTO `wk_crm_area` VALUES (711588, 711500, '通霄镇');
  1545. INSERT INTO `wk_crm_area` VALUES (711599, 711500, '卓兰镇');
  1546. INSERT INTO `wk_crm_area` VALUES (711589, 711500, '苑里镇');
  1547. INSERT INTO `wk_crm_area` VALUES (711582, 711500, '竹南镇');
  1548. INSERT INTO `wk_crm_area` VALUES (711593, 711500, '公馆乡');
  1549. INSERT INTO `wk_crm_area` VALUES (711583, 711500, '头份镇');
  1550. INSERT INTO `wk_crm_area` VALUES (711594, 711500, '大湖乡');
  1551. INSERT INTO `wk_crm_area` VALUES (711584, 711500, '三湾乡');
  1552. INSERT INTO `wk_crm_area` VALUES (711595, 711500, '泰安乡');
  1553. INSERT INTO `wk_crm_area` VALUES (711585, 711500, '南庄乡');
  1554. INSERT INTO `wk_crm_area` VALUES (711596, 711500, '铜锣乡');
  1555. INSERT INTO `wk_crm_area` VALUES (411281, 411200, '义马市');
  1556. INSERT INTO `wk_crm_area` VALUES (411203, 411200, '陕州区');
  1557. INSERT INTO `wk_crm_area` VALUES (411202, 411200, '湖滨区');
  1558. INSERT INTO `wk_crm_area` VALUES (411224, 411200, '卢氏县');
  1559. INSERT INTO `wk_crm_area` VALUES (411221, 411200, '渑池县');
  1560. INSERT INTO `wk_crm_area` VALUES (411271, 411200, '河南三门峡经济开发区');
  1561. INSERT INTO `wk_crm_area` VALUES (411282, 411200, '灵宝市');
  1562. INSERT INTO `wk_crm_area` VALUES (512022, 512000, '乐至县');
  1563. INSERT INTO `wk_crm_area` VALUES (512021, 512000, '安岳县');
  1564. INSERT INTO `wk_crm_area` VALUES (512002, 512000, '雁江区');
  1565. INSERT INTO `wk_crm_area` VALUES (220822, 220800, '通榆县');
  1566. INSERT INTO `wk_crm_area` VALUES (220802, 220800, '洮北区');
  1567. INSERT INTO `wk_crm_area` VALUES (220881, 220800, '洮南市');
  1568. INSERT INTO `wk_crm_area` VALUES (220871, 220800, '吉林白城经济开发区');
  1569. INSERT INTO `wk_crm_area` VALUES (220882, 220800, '大安市');
  1570. INSERT INTO `wk_crm_area` VALUES (220821, 220800, '镇赉县');
  1571. INSERT INTO `wk_crm_area` VALUES (810110, 810100, '荃湾区');
  1572. INSERT INTO `wk_crm_area` VALUES (810111, 810100, '屯门区');
  1573. INSERT INTO `wk_crm_area` VALUES (810101, 810100, '中西区');
  1574. INSERT INTO `wk_crm_area` VALUES (810112, 810100, '元朗区');
  1575. INSERT INTO `wk_crm_area` VALUES (810102, 810100, '湾仔区');
  1576. INSERT INTO `wk_crm_area` VALUES (810113, 810100, '北区');
  1577. INSERT INTO `wk_crm_area` VALUES (810103, 810100, '东区');
  1578. INSERT INTO `wk_crm_area` VALUES (810114, 810100, '大埔区');
  1579. INSERT INTO `wk_crm_area` VALUES (810104, 810100, '南区');
  1580. INSERT INTO `wk_crm_area` VALUES (810115, 810100, '西贡区');
  1581. INSERT INTO `wk_crm_area` VALUES (810105, 810100, '油尖旺区');
  1582. INSERT INTO `wk_crm_area` VALUES (810116, 810100, '沙田区');
  1583. INSERT INTO `wk_crm_area` VALUES (810106, 810100, '深水埗区');
  1584. INSERT INTO `wk_crm_area` VALUES (810117, 810100, '葵青区');
  1585. INSERT INTO `wk_crm_area` VALUES (810107, 810100, '九龙城区');
  1586. INSERT INTO `wk_crm_area` VALUES (810118, 810100, '离岛区');
  1587. INSERT INTO `wk_crm_area` VALUES (810108, 810100, '黄大仙区');
  1588. INSERT INTO `wk_crm_area` VALUES (810109, 810100, '观塘区');
  1589. INSERT INTO `wk_crm_area` VALUES (640181, 640100, '灵武市');
  1590. INSERT INTO `wk_crm_area` VALUES (640122, 640100, '贺兰县');
  1591. INSERT INTO `wk_crm_area` VALUES (640121, 640100, '永宁县');
  1592. INSERT INTO `wk_crm_area` VALUES (640104, 640100, '兴庆区');
  1593. INSERT INTO `wk_crm_area` VALUES (640106, 640100, '金凤区');
  1594. INSERT INTO `wk_crm_area` VALUES (640105, 640100, '西夏区');
  1595. INSERT INTO `wk_crm_area` VALUES (652301, 652300, '昌吉市');
  1596. INSERT INTO `wk_crm_area` VALUES (652323, 652300, '呼图壁县');
  1597. INSERT INTO `wk_crm_area` VALUES (652302, 652300, '阜康市');
  1598. INSERT INTO `wk_crm_area` VALUES (652324, 652300, '玛纳斯县');
  1599. INSERT INTO `wk_crm_area` VALUES (652325, 652300, '奇台县');
  1600. INSERT INTO `wk_crm_area` VALUES (652327, 652300, '吉木萨尔县');
  1601. INSERT INTO `wk_crm_area` VALUES (652328, 652300, '木垒哈萨克自治县');
  1602. INSERT INTO `wk_crm_area` VALUES (130972, 130900, '沧州高新技术产业开发区');
  1603. INSERT INTO `wk_crm_area` VALUES (130983, 130900, '黄骅市');
  1604. INSERT INTO `wk_crm_area` VALUES (130973, 130900, '沧州渤海新区');
  1605. INSERT INTO `wk_crm_area` VALUES (130984, 130900, '河间市');
  1606. INSERT INTO `wk_crm_area` VALUES (130981, 130900, '泊头市');
  1607. INSERT INTO `wk_crm_area` VALUES (130971, 130900, '河北沧州经济开发区');
  1608. INSERT INTO `wk_crm_area` VALUES (130982, 130900, '任丘市');
  1609. INSERT INTO `wk_crm_area` VALUES (130921, 130900, '沧县');
  1610. INSERT INTO `wk_crm_area` VALUES (130922, 130900, '青县');
  1611. INSERT INTO `wk_crm_area` VALUES (130930, 130900, '孟村回族自治县');
  1612. INSERT INTO `wk_crm_area` VALUES (130903, 130900, '运河区');
  1613. INSERT INTO `wk_crm_area` VALUES (130925, 130900, '盐山县');
  1614. INSERT INTO `wk_crm_area` VALUES (130926, 130900, '肃宁县');
  1615. INSERT INTO `wk_crm_area` VALUES (130923, 130900, '东光县');
  1616. INSERT INTO `wk_crm_area` VALUES (130902, 130900, '新华区');
  1617. INSERT INTO `wk_crm_area` VALUES (130924, 130900, '海兴县');
  1618. INSERT INTO `wk_crm_area` VALUES (130929, 130900, '献县');
  1619. INSERT INTO `wk_crm_area` VALUES (130927, 130900, '南皮县');
  1620. INSERT INTO `wk_crm_area` VALUES (130928, 130900, '吴桥县');
  1621. INSERT INTO `wk_crm_area` VALUES (445203, 445200, '揭东区');
  1622. INSERT INTO `wk_crm_area` VALUES (445281, 445200, '普宁市');
  1623. INSERT INTO `wk_crm_area` VALUES (445222, 445200, '揭西县');
  1624. INSERT INTO `wk_crm_area` VALUES (445202, 445200, '榕城区');
  1625. INSERT INTO `wk_crm_area` VALUES (445224, 445200, '惠来县');
  1626. INSERT INTO `wk_crm_area` VALUES (230622, 230600, '肇源县');
  1627. INSERT INTO `wk_crm_area` VALUES (230621, 230600, '肇州县');
  1628. INSERT INTO `wk_crm_area` VALUES (230671, 230600, '大庆高新技术产业开发区');
  1629. INSERT INTO `wk_crm_area` VALUES (230606, 230600, '大同区');
  1630. INSERT INTO `wk_crm_area` VALUES (230605, 230600, '红岗区');
  1631. INSERT INTO `wk_crm_area` VALUES (230604, 230600, '让胡路区');
  1632. INSERT INTO `wk_crm_area` VALUES (230603, 230600, '龙凤区');
  1633. INSERT INTO `wk_crm_area` VALUES (230602, 230600, '萨尔图区');
  1634. INSERT INTO `wk_crm_area` VALUES (230624, 230600, '杜尔伯特蒙古族自治县');
  1635. INSERT INTO `wk_crm_area` VALUES (230623, 230600, '林甸县');
  1636. INSERT INTO `wk_crm_area` VALUES (150525, 150500, '奈曼旗');
  1637. INSERT INTO `wk_crm_area` VALUES (150526, 150500, '扎鲁特旗');
  1638. INSERT INTO `wk_crm_area` VALUES (150523, 150500, '开鲁县');
  1639. INSERT INTO `wk_crm_area` VALUES (150502, 150500, '科尔沁区');
  1640. INSERT INTO `wk_crm_area` VALUES (150524, 150500, '库伦旗');
  1641. INSERT INTO `wk_crm_area` VALUES (150521, 150500, '科尔沁左翼中旗');
  1642. INSERT INTO `wk_crm_area` VALUES (150522, 150500, '科尔沁左翼后旗');
  1643. INSERT INTO `wk_crm_area` VALUES (150581, 150500, '霍林郭勒市');
  1644. INSERT INTO `wk_crm_area` VALUES (150571, 150500, '通辽经济技术开发区');
  1645. INSERT INTO `wk_crm_area` VALUES (450903, 450900, '福绵区');
  1646. INSERT INTO `wk_crm_area` VALUES (450902, 450900, '玉州区');
  1647. INSERT INTO `wk_crm_area` VALUES (450924, 450900, '兴业县');
  1648. INSERT INTO `wk_crm_area` VALUES (450921, 450900, '容县');
  1649. INSERT INTO `wk_crm_area` VALUES (450923, 450900, '博白县');
  1650. INSERT INTO `wk_crm_area` VALUES (450922, 450900, '陆川县');
  1651. INSERT INTO `wk_crm_area` VALUES (450981, 450900, '北流市');
  1652. INSERT INTO `wk_crm_area` VALUES (410800, 410000, '焦作市');
  1653. INSERT INTO `wk_crm_area` VALUES (410700, 410000, '新乡市');
  1654. INSERT INTO `wk_crm_area` VALUES (410900, 410000, '濮阳市');
  1655. INSERT INTO `wk_crm_area` VALUES (410400, 410000, '平顶山市');
  1656. INSERT INTO `wk_crm_area` VALUES (411500, 410000, '信阳市');
  1657. INSERT INTO `wk_crm_area` VALUES (410300, 410000, '洛阳市');
  1658. INSERT INTO `wk_crm_area` VALUES (411400, 410000, '商丘市');
  1659. INSERT INTO `wk_crm_area` VALUES (410600, 410000, '鹤壁市');
  1660. INSERT INTO `wk_crm_area` VALUES (411700, 410000, '驻马店市');
  1661. INSERT INTO `wk_crm_area` VALUES (410500, 410000, '安阳市');
  1662. INSERT INTO `wk_crm_area` VALUES (411600, 410000, '周口市');
  1663. INSERT INTO `wk_crm_area` VALUES (411100, 410000, '漯河市');
  1664. INSERT INTO `wk_crm_area` VALUES (411000, 410000, '许昌市');
  1665. INSERT INTO `wk_crm_area` VALUES (410200, 410000, '开封市');
  1666. INSERT INTO `wk_crm_area` VALUES (411300, 410000, '南阳市');
  1667. INSERT INTO `wk_crm_area` VALUES (410100, 410000, '郑州市');
  1668. INSERT INTO `wk_crm_area` VALUES (411200, 410000, '三门峡市');
  1669. INSERT INTO `wk_crm_area` VALUES (419000, 410000, '省直辖县级行政区划');
  1670. INSERT INTO `wk_crm_area` VALUES (341372, 341300, '宿州经济技术开发区');
  1671. INSERT INTO `wk_crm_area` VALUES (341371, 341300, '宿州马鞍山现代产业园区');
  1672. INSERT INTO `wk_crm_area` VALUES (341321, 341300, '砀山县');
  1673. INSERT INTO `wk_crm_area` VALUES (341322, 341300, '萧县');
  1674. INSERT INTO `wk_crm_area` VALUES (341323, 341300, '灵璧县');
  1675. INSERT INTO `wk_crm_area` VALUES (341302, 341300, '埇桥区');
  1676. INSERT INTO `wk_crm_area` VALUES (341324, 341300, '泗县');
  1677. INSERT INTO `wk_crm_area` VALUES (620981, 620900, '玉门市');
  1678. INSERT INTO `wk_crm_area` VALUES (620982, 620900, '敦煌市');
  1679. INSERT INTO `wk_crm_area` VALUES (620921, 620900, '金塔县');
  1680. INSERT INTO `wk_crm_area` VALUES (620922, 620900, '瓜州县');
  1681. INSERT INTO `wk_crm_area` VALUES (620923, 620900, '肃北蒙古族自治县');
  1682. INSERT INTO `wk_crm_area` VALUES (620902, 620900, '肃州区');
  1683. INSERT INTO `wk_crm_area` VALUES (620924, 620900, '阿克塞哈萨克族自治县');
  1684. INSERT INTO `wk_crm_area` VALUES (140728, 140700, '平遥县');
  1685. INSERT INTO `wk_crm_area` VALUES (140729, 140700, '灵石县');
  1686. INSERT INTO `wk_crm_area` VALUES (140781, 140700, '介休市');
  1687. INSERT INTO `wk_crm_area` VALUES (140721, 140700, '榆社县');
  1688. INSERT INTO `wk_crm_area` VALUES (140722, 140700, '左权县');
  1689. INSERT INTO `wk_crm_area` VALUES (140723, 140700, '和顺县');
  1690. INSERT INTO `wk_crm_area` VALUES (140702, 140700, '榆次区');
  1691. INSERT INTO `wk_crm_area` VALUES (140724, 140700, '昔阳县');
  1692. INSERT INTO `wk_crm_area` VALUES (140725, 140700, '寿阳县');
  1693. INSERT INTO `wk_crm_area` VALUES (140726, 140700, '太谷县');
  1694. INSERT INTO `wk_crm_area` VALUES (140727, 140700, '祁县');
  1695. INSERT INTO `wk_crm_area` VALUES (320571, 320500, '苏州工业园区');
  1696. INSERT INTO `wk_crm_area` VALUES (320582, 320500, '张家港市');
  1697. INSERT INTO `wk_crm_area` VALUES (320583, 320500, '昆山市');
  1698. INSERT INTO `wk_crm_area` VALUES (320508, 320500, '姑苏区');
  1699. INSERT INTO `wk_crm_area` VALUES (320509, 320500, '吴江区');
  1700. INSERT INTO `wk_crm_area` VALUES (320581, 320500, '常熟市');
  1701. INSERT INTO `wk_crm_area` VALUES (320506, 320500, '吴中区');
  1702. INSERT INTO `wk_crm_area` VALUES (320507, 320500, '相城区');
  1703. INSERT INTO `wk_crm_area` VALUES (320505, 320500, '虎丘区');
  1704. INSERT INTO `wk_crm_area` VALUES (320585, 320500, '太仓市');
  1705. INSERT INTO `wk_crm_area` VALUES (712796, 712700, '望安乡');
  1706. INSERT INTO `wk_crm_area` VALUES (712797, 712700, '七美乡');
  1707. INSERT INTO `wk_crm_area` VALUES (712798, 712700, '白沙乡');
  1708. INSERT INTO `wk_crm_area` VALUES (712799, 712700, '湖西乡');
  1709. INSERT INTO `wk_crm_area` VALUES (712794, 712700, '马公市');
  1710. INSERT INTO `wk_crm_area` VALUES (712795, 712700, '西屿乡');
  1711. INSERT INTO `wk_crm_area` VALUES (710405, 710400, '北区');
  1712. INSERT INTO `wk_crm_area` VALUES (710449, 710400, '大甲区');
  1713. INSERT INTO `wk_crm_area` VALUES (710404, 710400, '西区');
  1714. INSERT INTO `wk_crm_area` VALUES (710448, 710400, '清水区');
  1715. INSERT INTO `wk_crm_area` VALUES (710403, 710400, '南区');
  1716. INSERT INTO `wk_crm_area` VALUES (710447, 710400, '梧栖区');
  1717. INSERT INTO `wk_crm_area` VALUES (710402, 710400, '东区');
  1718. INSERT INTO `wk_crm_area` VALUES (710446, 710400, '龙井区');
  1719. INSERT INTO `wk_crm_area` VALUES (710408, 710400, '南屯区');
  1720. INSERT INTO `wk_crm_area` VALUES (710407, 710400, '西屯区');
  1721. INSERT INTO `wk_crm_area` VALUES (710406, 710400, '北屯区');
  1722. INSERT INTO `wk_crm_area` VALUES (710451, 710400, '大安区');
  1723. INSERT INTO `wk_crm_area` VALUES (710450, 710400, '外埔区');
  1724. INSERT INTO `wk_crm_area` VALUES (710434, 710400, '乌日区');
  1725. INSERT INTO `wk_crm_area` VALUES (710433, 710400, '雾峰区');
  1726. INSERT INTO `wk_crm_area` VALUES (710499, 710400, '其它区');
  1727. INSERT INTO `wk_crm_area` VALUES (710432, 710400, '大里区');
  1728. INSERT INTO `wk_crm_area` VALUES (710431, 710400, '太平区');
  1729. INSERT INTO `wk_crm_area` VALUES (710438, 710400, '东势区');
  1730. INSERT INTO `wk_crm_area` VALUES (710437, 710400, '石冈区');
  1731. INSERT INTO `wk_crm_area` VALUES (710436, 710400, '后里区');
  1732. INSERT INTO `wk_crm_area` VALUES (710435, 710400, '丰原区');
  1733. INSERT INTO `wk_crm_area` VALUES (710439, 710400, '和平区');
  1734. INSERT INTO `wk_crm_area` VALUES (710441, 710400, '潭子区');
  1735. INSERT INTO `wk_crm_area` VALUES (710440, 710400, '新社区');
  1736. INSERT INTO `wk_crm_area` VALUES (710401, 710400, '中区');
  1737. INSERT INTO `wk_crm_area` VALUES (710445, 710400, '沙鹿区');
  1738. INSERT INTO `wk_crm_area` VALUES (710444, 710400, '大肚区');
  1739. INSERT INTO `wk_crm_area` VALUES (710443, 710400, '神冈区');
  1740. INSERT INTO `wk_crm_area` VALUES (710442, 710400, '大雅区');
  1741. INSERT INTO `wk_crm_area` VALUES (433127, 433100, '永顺县');
  1742. INSERT INTO `wk_crm_area` VALUES (433125, 433100, '保靖县');
  1743. INSERT INTO `wk_crm_area` VALUES (433126, 433100, '古丈县');
  1744. INSERT INTO `wk_crm_area` VALUES (433130, 433100, '龙山县');
  1745. INSERT INTO `wk_crm_area` VALUES (433172, 433100, '湖南吉首经济开发区');
  1746. INSERT INTO `wk_crm_area` VALUES (433173, 433100, '湖南永顺经济开发区');
  1747. INSERT INTO `wk_crm_area` VALUES (433101, 433100, '吉首市');
  1748. INSERT INTO `wk_crm_area` VALUES (433123, 433100, '凤凰县');
  1749. INSERT INTO `wk_crm_area` VALUES (433124, 433100, '花垣县');
  1750. INSERT INTO `wk_crm_area` VALUES (433122, 433100, '泸溪县');
  1751. INSERT INTO `wk_crm_area` VALUES (540522, 540500, '贡嘎县');
  1752. INSERT INTO `wk_crm_area` VALUES (540523, 540500, '桑日县');
  1753. INSERT INTO `wk_crm_area` VALUES (540502, 540500, '乃东区');
  1754. INSERT INTO `wk_crm_area` VALUES (540524, 540500, '琼结县');
  1755. INSERT INTO `wk_crm_area` VALUES (540525, 540500, '曲松县');
  1756. INSERT INTO `wk_crm_area` VALUES (540530, 540500, '错那县');
  1757. INSERT INTO `wk_crm_area` VALUES (540531, 540500, '浪卡子县');
  1758. INSERT INTO `wk_crm_area` VALUES (540521, 540500, '扎囊县');
  1759. INSERT INTO `wk_crm_area` VALUES (540526, 540500, '措美县');
  1760. INSERT INTO `wk_crm_area` VALUES (540527, 540500, '洛扎县');
  1761. INSERT INTO `wk_crm_area` VALUES (540528, 540500, '加查县');
  1762. INSERT INTO `wk_crm_area` VALUES (540529, 540500, '隆子县');
  1763. INSERT INTO `wk_crm_area` VALUES (710702, 710700, '信义区');
  1764. INSERT INTO `wk_crm_area` VALUES (710701, 710700, '仁爱区');
  1765. INSERT INTO `wk_crm_area` VALUES (710799, 710700, '其它区');
  1766. INSERT INTO `wk_crm_area` VALUES (710706, 710700, '暖暖区');
  1767. INSERT INTO `wk_crm_area` VALUES (710705, 710700, '安乐区');
  1768. INSERT INTO `wk_crm_area` VALUES (710704, 710700, '中山区');
  1769. INSERT INTO `wk_crm_area` VALUES (710703, 710700, '中正区');
  1770. INSERT INTO `wk_crm_area` VALUES (710707, 710700, '七堵区');
  1771. INSERT INTO `wk_crm_area` VALUES (410404, 410400, '石龙区');
  1772. INSERT INTO `wk_crm_area` VALUES (410403, 410400, '卫东区');
  1773. INSERT INTO `wk_crm_area` VALUES (410425, 410400, '郏县');
  1774. INSERT INTO `wk_crm_area` VALUES (410411, 410400, '湛河区');
  1775. INSERT INTO `wk_crm_area` VALUES (410422, 410400, '叶县');
  1776. INSERT INTO `wk_crm_area` VALUES (410421, 410400, '宝丰县');
  1777. INSERT INTO `wk_crm_area` VALUES (410402, 410400, '新华区');
  1778. INSERT INTO `wk_crm_area` VALUES (410423, 410400, '鲁山县');
  1779. INSERT INTO `wk_crm_area` VALUES (410472, 410400, '平顶山市新城区');
  1780. INSERT INTO `wk_crm_area` VALUES (410471, 410400, '平顶山高新技术产业开发区');
  1781. INSERT INTO `wk_crm_area` VALUES (410482, 410400, '汝州市');
  1782. INSERT INTO `wk_crm_area` VALUES (410481, 410400, '舞钢市');
  1783. INSERT INTO `wk_crm_area` VALUES (330481, 330400, '海宁市');
  1784. INSERT INTO `wk_crm_area` VALUES (330482, 330400, '平湖市');
  1785. INSERT INTO `wk_crm_area` VALUES (330483, 330400, '桐乡市');
  1786. INSERT INTO `wk_crm_area` VALUES (330411, 330400, '秀洲区');
  1787. INSERT INTO `wk_crm_area` VALUES (330402, 330400, '南湖区');
  1788. INSERT INTO `wk_crm_area` VALUES (330424, 330400, '海盐县');
  1789. INSERT INTO `wk_crm_area` VALUES (330421, 330400, '嘉善县');
  1790. INSERT INTO `wk_crm_area` VALUES (632624, 632600, '达日县');
  1791. INSERT INTO `wk_crm_area` VALUES (632623, 632600, '甘德县');
  1792. INSERT INTO `wk_crm_area` VALUES (632622, 632600, '班玛县');
  1793. INSERT INTO `wk_crm_area` VALUES (632621, 632600, '玛沁县');
  1794. INSERT INTO `wk_crm_area` VALUES (632626, 632600, '玛多县');
  1795. INSERT INTO `wk_crm_area` VALUES (632625, 632600, '久治县');
  1796. INSERT INTO `wk_crm_area` VALUES (44000004, 442000, '西区街道');
  1797. INSERT INTO `wk_crm_area` VALUES (44000103, 442000, '东凤镇');
  1798. INSERT INTO `wk_crm_area` VALUES (44000114, 442000, '三乡镇');
  1799. INSERT INTO `wk_crm_area` VALUES (44000005, 442000, '南区街道');
  1800. INSERT INTO `wk_crm_area` VALUES (44000104, 442000, '东升镇');
  1801. INSERT INTO `wk_crm_area` VALUES (44000115, 442000, '板芙镇');
  1802. INSERT INTO `wk_crm_area` VALUES (44000006, 442000, '五桂山街道');
  1803. INSERT INTO `wk_crm_area` VALUES (44000105, 442000, '古镇镇');
  1804. INSERT INTO `wk_crm_area` VALUES (44000116, 442000, '大涌镇');
  1805. INSERT INTO `wk_crm_area` VALUES (44000106, 442000, '沙溪镇');
  1806. INSERT INTO `wk_crm_area` VALUES (44000117, 442000, '神湾镇 ');
  1807. INSERT INTO `wk_crm_area` VALUES (44000110, 442000, '横栏镇');
  1808. INSERT INTO `wk_crm_area` VALUES (44000001, 442000, '石岐区街道');
  1809. INSERT INTO `wk_crm_area` VALUES (44000100, 442000, '小榄镇');
  1810. INSERT INTO `wk_crm_area` VALUES (44000111, 442000, '南头镇');
  1811. INSERT INTO `wk_crm_area` VALUES (44000002, 442000, '东区街道');
  1812. INSERT INTO `wk_crm_area` VALUES (44000101, 442000, '黄圃镇');
  1813. INSERT INTO `wk_crm_area` VALUES (44000112, 442000, '阜沙镇');
  1814. INSERT INTO `wk_crm_area` VALUES (44000003, 442000, '火炬开发区街道');
  1815. INSERT INTO `wk_crm_area` VALUES (44000102, 442000, '民众镇');
  1816. INSERT INTO `wk_crm_area` VALUES (44000113, 442000, '南朗镇');
  1817. INSERT INTO `wk_crm_area` VALUES (44000107, 442000, '坦洲镇');
  1818. INSERT INTO `wk_crm_area` VALUES (44000108, 442000, '港口镇');
  1819. INSERT INTO `wk_crm_area` VALUES (44000109, 442000, '三角镇');
  1820. INSERT INTO `wk_crm_area` VALUES (370781, 370700, '青州市');
  1821. INSERT INTO `wk_crm_area` VALUES (370782, 370700, '诸城市');
  1822. INSERT INTO `wk_crm_area` VALUES (370772, 370700, '潍坊滨海经济技术开发区');
  1823. INSERT INTO `wk_crm_area` VALUES (370783, 370700, '寿光市');
  1824. INSERT INTO `wk_crm_area` VALUES (370784, 370700, '安丘市');
  1825. INSERT INTO `wk_crm_area` VALUES (370702, 370700, '潍城区');
  1826. INSERT INTO `wk_crm_area` VALUES (370724, 370700, '临朐县');
  1827. INSERT INTO `wk_crm_area` VALUES (370703, 370700, '寒亭区');
  1828. INSERT INTO `wk_crm_area` VALUES (370725, 370700, '昌乐县');
  1829. INSERT INTO `wk_crm_area` VALUES (370704, 370700, '坊子区');
  1830. INSERT INTO `wk_crm_area` VALUES (370785, 370700, '高密市');
  1831. INSERT INTO `wk_crm_area` VALUES (370786, 370700, '昌邑市');
  1832. INSERT INTO `wk_crm_area` VALUES (370705, 370700, '奎文区');
  1833. INSERT INTO `wk_crm_area` VALUES (210903, 210900, '新邱区');
  1834. INSERT INTO `wk_crm_area` VALUES (210902, 210900, '海州区');
  1835. INSERT INTO `wk_crm_area` VALUES (210911, 210900, '细河区');
  1836. INSERT INTO `wk_crm_area` VALUES (210922, 210900, '彰武县');
  1837. INSERT INTO `wk_crm_area` VALUES (210905, 210900, '清河门区');
  1838. INSERT INTO `wk_crm_area` VALUES (210904, 210900, '太平区');
  1839. INSERT INTO `wk_crm_area` VALUES (210921, 210900, '阜新蒙古族自治县');
  1840. INSERT INTO `wk_crm_area` VALUES (420203, 420200, '西塞山区');
  1841. INSERT INTO `wk_crm_area` VALUES (420202, 420200, '黄石港区');
  1842. INSERT INTO `wk_crm_area` VALUES (420222, 420200, '阳新县');
  1843. INSERT INTO `wk_crm_area` VALUES (420205, 420200, '铁山区');
  1844. INSERT INTO `wk_crm_area` VALUES (420204, 420200, '下陆区');
  1845. INSERT INTO `wk_crm_area` VALUES (420281, 420200, '大冶市');
  1846. INSERT INTO `wk_crm_area` VALUES (340207, 340200, '鸠江区');
  1847. INSERT INTO `wk_crm_area` VALUES (340208, 340200, '三山区');
  1848. INSERT INTO `wk_crm_area` VALUES (340272, 340200, '安徽芜湖长江大桥经济开发区');
  1849. INSERT INTO `wk_crm_area` VALUES (340271, 340200, '芜湖经济技术开发区');
  1850. INSERT INTO `wk_crm_area` VALUES (340221, 340200, '芜湖县');
  1851. INSERT INTO `wk_crm_area` VALUES (340222, 340200, '繁昌县');
  1852. INSERT INTO `wk_crm_area` VALUES (340203, 340200, '弋江区');
  1853. INSERT INTO `wk_crm_area` VALUES (340225, 340200, '无为县');
  1854. INSERT INTO `wk_crm_area` VALUES (340223, 340200, '南陵县');
  1855. INSERT INTO `wk_crm_area` VALUES (340202, 340200, '镜湖区');
  1856. INSERT INTO `wk_crm_area` VALUES (411526, 411500, '潢川县');
  1857. INSERT INTO `wk_crm_area` VALUES (411503, 411500, '平桥区');
  1858. INSERT INTO `wk_crm_area` VALUES (411525, 411500, '固始县');
  1859. INSERT INTO `wk_crm_area` VALUES (411528, 411500, '息县');
  1860. INSERT INTO `wk_crm_area` VALUES (411527, 411500, '淮滨县');
  1861. INSERT INTO `wk_crm_area` VALUES (411522, 411500, '光山县');
  1862. INSERT INTO `wk_crm_area` VALUES (411521, 411500, '罗山县');
  1863. INSERT INTO `wk_crm_area` VALUES (411502, 411500, '浉河区');
  1864. INSERT INTO `wk_crm_area` VALUES (411524, 411500, '商城县');
  1865. INSERT INTO `wk_crm_area` VALUES (411523, 411500, '新县');
  1866. INSERT INTO `wk_crm_area` VALUES (411571, 411500, '信阳高新技术产业开发区');
  1867. INSERT INTO `wk_crm_area` VALUES (711986, 711900, '中埔乡');
  1868. INSERT INTO `wk_crm_area` VALUES (711997, 711900, '溪口乡');
  1869. INSERT INTO `wk_crm_area` VALUES (711987, 711900, '大埔乡');
  1870. INSERT INTO `wk_crm_area` VALUES (711998, 711900, '义竹乡');
  1871. INSERT INTO `wk_crm_area` VALUES (711988, 711900, '水上乡');
  1872. INSERT INTO `wk_crm_area` VALUES (711999, 711900, '布袋镇');
  1873. INSERT INTO `wk_crm_area` VALUES (711989, 711900, '鹿草乡');
  1874. INSERT INTO `wk_crm_area` VALUES (711982, 711900, '番路乡');
  1875. INSERT INTO `wk_crm_area` VALUES (711993, 711900, '六脚乡');
  1876. INSERT INTO `wk_crm_area` VALUES (711983, 711900, '梅山乡');
  1877. INSERT INTO `wk_crm_area` VALUES (711994, 711900, '新港乡');
  1878. INSERT INTO `wk_crm_area` VALUES (711984, 711900, '竹崎乡');
  1879. INSERT INTO `wk_crm_area` VALUES (711995, 711900, '民雄乡');
  1880. INSERT INTO `wk_crm_area` VALUES (711985, 711900, '阿里山乡');
  1881. INSERT INTO `wk_crm_area` VALUES (711996, 711900, '大林镇');
  1882. INSERT INTO `wk_crm_area` VALUES (711990, 711900, '太保市');
  1883. INSERT INTO `wk_crm_area` VALUES (711991, 711900, '朴子市');
  1884. INSERT INTO `wk_crm_area` VALUES (711992, 711900, '东石乡');
  1885. INSERT INTO `wk_crm_area` VALUES (640100, 640000, '银川市');
  1886. INSERT INTO `wk_crm_area` VALUES (640300, 640000, '吴忠市');
  1887. INSERT INTO `wk_crm_area` VALUES (640200, 640000, '石嘴山市');
  1888. INSERT INTO `wk_crm_area` VALUES (640500, 640000, '中卫市');
  1889. INSERT INTO `wk_crm_area` VALUES (640400, 640000, '固原市');
  1890. INSERT INTO `wk_crm_area` VALUES (420111, 420100, '洪山区');
  1891. INSERT INTO `wk_crm_area` VALUES (420104, 420100, '硚口区');
  1892. INSERT INTO `wk_crm_area` VALUES (420115, 420100, '江夏区');
  1893. INSERT INTO `wk_crm_area` VALUES (420103, 420100, '江汉区');
  1894. INSERT INTO `wk_crm_area` VALUES (420114, 420100, '蔡甸区');
  1895. INSERT INTO `wk_crm_area` VALUES (420102, 420100, '江岸区');
  1896. INSERT INTO `wk_crm_area` VALUES (420113, 420100, '汉南区');
  1897. INSERT INTO `wk_crm_area` VALUES (420112, 420100, '东西湖区');
  1898. INSERT INTO `wk_crm_area` VALUES (420107, 420100, '青山区');
  1899. INSERT INTO `wk_crm_area` VALUES (420106, 420100, '武昌区');
  1900. INSERT INTO `wk_crm_area` VALUES (420117, 420100, '新洲区');
  1901. INSERT INTO `wk_crm_area` VALUES (420105, 420100, '汉阳区');
  1902. INSERT INTO `wk_crm_area` VALUES (420116, 420100, '黄陂区');
  1903. INSERT INTO `wk_crm_area` VALUES (220702, 220700, '宁江区');
  1904. INSERT INTO `wk_crm_area` VALUES (220723, 220700, '乾安县');
  1905. INSERT INTO `wk_crm_area` VALUES (220771, 220700, '吉林松原经济开发区');
  1906. INSERT INTO `wk_crm_area` VALUES (220781, 220700, '扶余市');
  1907. INSERT INTO `wk_crm_area` VALUES (220722, 220700, '长岭县');
  1908. INSERT INTO `wk_crm_area` VALUES (220721, 220700, '前郭尔罗斯蒙古族自治县');
  1909. INSERT INTO `wk_crm_area` VALUES (230523, 230500, '宝清县');
  1910. INSERT INTO `wk_crm_area` VALUES (230522, 230500, '友谊县');
  1911. INSERT INTO `wk_crm_area` VALUES (230521, 230500, '集贤县');
  1912. INSERT INTO `wk_crm_area` VALUES (230506, 230500, '宝山区');
  1913. INSERT INTO `wk_crm_area` VALUES (230505, 230500, '四方台区');
  1914. INSERT INTO `wk_crm_area` VALUES (230503, 230500, '岭东区');
  1915. INSERT INTO `wk_crm_area` VALUES (230502, 230500, '尖山区');
  1916. INSERT INTO `wk_crm_area` VALUES (230524, 230500, '饶河县');
  1917. INSERT INTO `wk_crm_area` VALUES (150802, 150800, '临河区');
  1918. INSERT INTO `wk_crm_area` VALUES (150824, 150800, '乌拉特中旗');
  1919. INSERT INTO `wk_crm_area` VALUES (150825, 150800, '乌拉特后旗');
  1920. INSERT INTO `wk_crm_area` VALUES (150822, 150800, '磴口县');
  1921. INSERT INTO `wk_crm_area` VALUES (150823, 150800, '乌拉特前旗');
  1922. INSERT INTO `wk_crm_area` VALUES (150821, 150800, '五原县');
  1923. INSERT INTO `wk_crm_area` VALUES (150826, 150800, '杭锦后旗');
  1924. INSERT INTO `wk_crm_area` VALUES (421303, 421300, '曾都区');
  1925. INSERT INTO `wk_crm_area` VALUES (421381, 421300, '广水市');
  1926. INSERT INTO `wk_crm_area` VALUES (421321, 421300, '随县');
  1927. INSERT INTO `wk_crm_area` VALUES (530723, 530700, '华坪县');
  1928. INSERT INTO `wk_crm_area` VALUES (530702, 530700, '古城区');
  1929. INSERT INTO `wk_crm_area` VALUES (530724, 530700, '宁蒗彝族自治县');
  1930. INSERT INTO `wk_crm_area` VALUES (530721, 530700, '玉龙纳西族自治县');
  1931. INSERT INTO `wk_crm_area` VALUES (530722, 530700, '永胜县');
  1932. INSERT INTO `wk_crm_area` VALUES (630222, 630200, '民和回族土族自治县');
  1933. INSERT INTO `wk_crm_area` VALUES (630203, 630200, '平安区');
  1934. INSERT INTO `wk_crm_area` VALUES (630225, 630200, '循化撒拉族自治县');
  1935. INSERT INTO `wk_crm_area` VALUES (630223, 630200, '互助土族自治县');
  1936. INSERT INTO `wk_crm_area` VALUES (630202, 630200, '乐都区');
  1937. INSERT INTO `wk_crm_area` VALUES (630224, 630200, '化隆回族自治县');
  1938. INSERT INTO `wk_crm_area` VALUES (360982, 360900, '樟树市');
  1939. INSERT INTO `wk_crm_area` VALUES (360983, 360900, '高安市');
  1940. INSERT INTO `wk_crm_area` VALUES (360981, 360900, '丰城市');
  1941. INSERT INTO `wk_crm_area` VALUES (360926, 360900, '铜鼓县');
  1942. INSERT INTO `wk_crm_area` VALUES (360902, 360900, '袁州区');
  1943. INSERT INTO `wk_crm_area` VALUES (360924, 360900, '宜丰县');
  1944. INSERT INTO `wk_crm_area` VALUES (360925, 360900, '靖安县');
  1945. INSERT INTO `wk_crm_area` VALUES (360922, 360900, '万载县');
  1946. INSERT INTO `wk_crm_area` VALUES (360923, 360900, '上高县');
  1947. INSERT INTO `wk_crm_area` VALUES (360921, 360900, '奉新县');
  1948. INSERT INTO `wk_crm_area` VALUES (320681, 320600, '启东市');
  1949. INSERT INTO `wk_crm_area` VALUES (320671, 320600, '南通经济技术开发区');
  1950. INSERT INTO `wk_crm_area` VALUES (320682, 320600, '如皋市');
  1951. INSERT INTO `wk_crm_area` VALUES (320612, 320600, '通州区');
  1952. INSERT INTO `wk_crm_area` VALUES (320623, 320600, '如东县');
  1953. INSERT INTO `wk_crm_area` VALUES (320602, 320600, '崇川区');
  1954. INSERT INTO `wk_crm_area` VALUES (320611, 320600, '港闸区');
  1955. INSERT INTO `wk_crm_area` VALUES (320685, 320600, '海安市');
  1956. INSERT INTO `wk_crm_area` VALUES (320684, 320600, '海门市');
  1957. INSERT INTO `wk_crm_area` VALUES (431102, 431100, '零陵区');
  1958. INSERT INTO `wk_crm_area` VALUES (431124, 431100, '道县');
  1959. INSERT INTO `wk_crm_area` VALUES (431123, 431100, '双牌县');
  1960. INSERT INTO `wk_crm_area` VALUES (431126, 431100, '宁远县');
  1961. INSERT INTO `wk_crm_area` VALUES (431103, 431100, '冷水滩区');
  1962. INSERT INTO `wk_crm_area` VALUES (431125, 431100, '江永县');
  1963. INSERT INTO `wk_crm_area` VALUES (431128, 431100, '新田县');
  1964. INSERT INTO `wk_crm_area` VALUES (431127, 431100, '蓝山县');
  1965. INSERT INTO `wk_crm_area` VALUES (431129, 431100, '江华瑶族自治县');
  1966. INSERT INTO `wk_crm_area` VALUES (431171, 431100, '永州经济技术开发区');
  1967. INSERT INTO `wk_crm_area` VALUES (431173, 431100, '永州市回龙圩管理区');
  1968. INSERT INTO `wk_crm_area` VALUES (431172, 431100, '永州市金洞管理区');
  1969. INSERT INTO `wk_crm_area` VALUES (431122, 431100, '东安县');
  1970. INSERT INTO `wk_crm_area` VALUES (431121, 431100, '祁阳县');
  1971. INSERT INTO `wk_crm_area` VALUES (540621, 540600, '嘉黎县');
  1972. INSERT INTO `wk_crm_area` VALUES (540622, 540600, '比如县');
  1973. INSERT INTO `wk_crm_area` VALUES (540623, 540600, '聂荣县');
  1974. INSERT INTO `wk_crm_area` VALUES (540602, 540600, '色尼区');
  1975. INSERT INTO `wk_crm_area` VALUES (540624, 540600, '安多县');
  1976. INSERT INTO `wk_crm_area` VALUES (540630, 540600, '双湖县');
  1977. INSERT INTO `wk_crm_area` VALUES (540629, 540600, '尼玛县');
  1978. INSERT INTO `wk_crm_area` VALUES (540625, 540600, '申扎县');
  1979. INSERT INTO `wk_crm_area` VALUES (540626, 540600, '索县');
  1980. INSERT INTO `wk_crm_area` VALUES (540627, 540600, '班戈县');
  1981. INSERT INTO `wk_crm_area` VALUES (540628, 540600, '巴青县');
  1982. INSERT INTO `wk_crm_area` VALUES (710614, 710600, '南投市');
  1983. INSERT INTO `wk_crm_area` VALUES (710625, 710600, '竹山镇');
  1984. INSERT INTO `wk_crm_area` VALUES (710624, 710600, '信义乡');
  1985. INSERT INTO `wk_crm_area` VALUES (710623, 710600, '鱼池乡');
  1986. INSERT INTO `wk_crm_area` VALUES (710622, 710600, '水里乡');
  1987. INSERT INTO `wk_crm_area` VALUES (710618, 710600, '埔里镇');
  1988. INSERT INTO `wk_crm_area` VALUES (710617, 710600, '国姓乡');
  1989. INSERT INTO `wk_crm_area` VALUES (710616, 710600, '草屯镇');
  1990. INSERT INTO `wk_crm_area` VALUES (710615, 710600, '中寮乡');
  1991. INSERT INTO `wk_crm_area` VALUES (710626, 710600, '鹿谷乡');
  1992. INSERT INTO `wk_crm_area` VALUES (710619, 710600, '仁爱乡');
  1993. INSERT INTO `wk_crm_area` VALUES (710621, 710600, '集集镇');
  1994. INSERT INTO `wk_crm_area` VALUES (710620, 710600, '名间乡');
  1995. INSERT INTO `wk_crm_area` VALUES (410305, 410300, '涧西区');
  1996. INSERT INTO `wk_crm_area` VALUES (410327, 410300, '宜阳县');
  1997. INSERT INTO `wk_crm_area` VALUES (410304, 410300, '瀍河回族区');
  1998. INSERT INTO `wk_crm_area` VALUES (410326, 410300, '汝阳县');
  1999. INSERT INTO `wk_crm_area` VALUES (410329, 410300, '伊川县');
  2000. INSERT INTO `wk_crm_area` VALUES (410306, 410300, '吉利区');
  2001. INSERT INTO `wk_crm_area` VALUES (410328, 410300, '洛宁县');
  2002. INSERT INTO `wk_crm_area` VALUES (410323, 410300, '新安县');
  2003. INSERT INTO `wk_crm_area` VALUES (410311, 410300, '洛龙区');
  2004. INSERT INTO `wk_crm_area` VALUES (410322, 410300, '孟津县');
  2005. INSERT INTO `wk_crm_area` VALUES (410303, 410300, '西工区');
  2006. INSERT INTO `wk_crm_area` VALUES (410325, 410300, '嵩县');
  2007. INSERT INTO `wk_crm_area` VALUES (410302, 410300, '老城区');
  2008. INSERT INTO `wk_crm_area` VALUES (410324, 410300, '栾川县');
  2009. INSERT INTO `wk_crm_area` VALUES (410381, 410300, '偃师市');
  2010. INSERT INTO `wk_crm_area` VALUES (410371, 410300, '洛阳高新技术产业开发区');
  2011. INSERT INTO `wk_crm_area` VALUES (370000, 100000, '山东省');
  2012. INSERT INTO `wk_crm_area` VALUES (620000, 100000, '甘肃省');
  2013. INSERT INTO `wk_crm_area` VALUES (320000, 100000, '江苏省');
  2014. INSERT INTO `wk_crm_area` VALUES (110000, 100000, '北京市');
  2015. INSERT INTO `wk_crm_area` VALUES (530000, 100000, '云南省');
  2016. INSERT INTO `wk_crm_area` VALUES (460000, 100000, '海南省');
  2017. INSERT INTO `wk_crm_area` VALUES (330000, 100000, '浙江省');
  2018. INSERT INTO `wk_crm_area` VALUES (310000, 100000, '上海市');
  2019. INSERT INTO `wk_crm_area` VALUES (120000, 100000, '天津市');
  2020. INSERT INTO `wk_crm_area` VALUES (610000, 100000, '陕西省');
  2021. INSERT INTO `wk_crm_area` VALUES (650000, 100000, '新疆维吾尔自治区');
  2022. INSERT INTO `wk_crm_area` VALUES (520000, 100000, '贵州省');
  2023. INSERT INTO `wk_crm_area` VALUES (340000, 100000, '安徽省');
  2024. INSERT INTO `wk_crm_area` VALUES (820000, 100000, '澳门特别行政区');
  2025. INSERT INTO `wk_crm_area` VALUES (430000, 100000, '湖南省');
  2026. INSERT INTO `wk_crm_area` VALUES (130000, 100000, '河北省');
  2027. INSERT INTO `wk_crm_area` VALUES (810000, 100000, '香港特别行政区');
  2028. INSERT INTO `wk_crm_area` VALUES (210000, 100000, '辽宁省');
  2029. INSERT INTO `wk_crm_area` VALUES (510000, 100000, '四川省');
  2030. INSERT INTO `wk_crm_area` VALUES (640000, 100000, '宁夏回族自治区');
  2031. INSERT INTO `wk_crm_area` VALUES (220000, 100000, '吉林省');
  2032. INSERT INTO `wk_crm_area` VALUES (350000, 100000, '福建省');
  2033. INSERT INTO `wk_crm_area` VALUES (420000, 100000, '湖北省');
  2034. INSERT INTO `wk_crm_area` VALUES (440000, 100000, '广东省');
  2035. INSERT INTO `wk_crm_area` VALUES (500000, 100000, '重庆市');
  2036. INSERT INTO `wk_crm_area` VALUES (140000, 100000, '山西省');
  2037. INSERT INTO `wk_crm_area` VALUES (360000, 100000, '江西省');
  2038. INSERT INTO `wk_crm_area` VALUES (230000, 100000, '黑龙江省');
  2039. INSERT INTO `wk_crm_area` VALUES (630000, 100000, '青海省');
  2040. INSERT INTO `wk_crm_area` VALUES (410000, 100000, '河南省');
  2041. INSERT INTO `wk_crm_area` VALUES (710000, 100000, '台湾省');
  2042. INSERT INTO `wk_crm_area` VALUES (150000, 100000, '内蒙古自治区');
  2043. INSERT INTO `wk_crm_area` VALUES (540000, 100000, '西藏自治区');
  2044. INSERT INTO `wk_crm_area` VALUES (450000, 100000, '广西壮族自治区');
  2045. INSERT INTO `wk_crm_area` VALUES (330503, 330500, '南浔区');
  2046. INSERT INTO `wk_crm_area` VALUES (330521, 330500, '德清县');
  2047. INSERT INTO `wk_crm_area` VALUES (330522, 330500, '长兴县');
  2048. INSERT INTO `wk_crm_area` VALUES (330523, 330500, '安吉县');
  2049. INSERT INTO `wk_crm_area` VALUES (330502, 330500, '吴兴区');
  2050. INSERT INTO `wk_crm_area` VALUES (632521, 632500, '共和县');
  2051. INSERT INTO `wk_crm_area` VALUES (632525, 632500, '贵南县');
  2052. INSERT INTO `wk_crm_area` VALUES (632524, 632500, '兴海县');
  2053. INSERT INTO `wk_crm_area` VALUES (632523, 632500, '贵德县');
  2054. INSERT INTO `wk_crm_area` VALUES (632522, 632500, '同德县');
  2055. INSERT INTO `wk_crm_area` VALUES (421202, 421200, '咸安区');
  2056. INSERT INTO `wk_crm_area` VALUES (421224, 421200, '通山县');
  2057. INSERT INTO `wk_crm_area` VALUES (421223, 421200, '崇阳县');
  2058. INSERT INTO `wk_crm_area` VALUES (421281, 421200, '赤壁市');
  2059. INSERT INTO `wk_crm_area` VALUES (421222, 421200, '通城县');
  2060. INSERT INTO `wk_crm_area` VALUES (421221, 421200, '嘉鱼县');
  2061. INSERT INTO `wk_crm_area` VALUES (370671, 370600, '烟台高新技术产业开发区');
  2062. INSERT INTO `wk_crm_area` VALUES (370682, 370600, '莱阳市');
  2063. INSERT INTO `wk_crm_area` VALUES (370672, 370600, '烟台经济技术开发区');
  2064. INSERT INTO `wk_crm_area` VALUES (370683, 370600, '莱州市');
  2065. INSERT INTO `wk_crm_area` VALUES (370684, 370600, '蓬莱市');
  2066. INSERT INTO `wk_crm_area` VALUES (370685, 370600, '招远市');
  2067. INSERT INTO `wk_crm_area` VALUES (370681, 370600, '龙口市');
  2068. INSERT INTO `wk_crm_area` VALUES (370602, 370600, '芝罘区');
  2069. INSERT INTO `wk_crm_area` VALUES (370613, 370600, '莱山区');
  2070. INSERT INTO `wk_crm_area` VALUES (370686, 370600, '栖霞市');
  2071. INSERT INTO `wk_crm_area` VALUES (370687, 370600, '海阳市');
  2072. INSERT INTO `wk_crm_area` VALUES (370611, 370600, '福山区');
  2073. INSERT INTO `wk_crm_area` VALUES (370612, 370600, '牟平区');
  2074. INSERT INTO `wk_crm_area` VALUES (370634, 370600, '长岛县');
  2075. INSERT INTO `wk_crm_area` VALUES (654321, 654300, '布尔津县');
  2076. INSERT INTO `wk_crm_area` VALUES (654322, 654300, '富蕴县');
  2077. INSERT INTO `wk_crm_area` VALUES (654301, 654300, '阿勒泰市');
  2078. INSERT INTO `wk_crm_area` VALUES (654323, 654300, '福海县');
  2079. INSERT INTO `wk_crm_area` VALUES (654324, 654300, '哈巴河县');
  2080. INSERT INTO `wk_crm_area` VALUES (654325, 654300, '青河县');
  2081. INSERT INTO `wk_crm_area` VALUES (654326, 654300, '吉木乃县');
  2082. INSERT INTO `wk_crm_area` VALUES (210804, 210800, '鲅鱼圈区');
  2083. INSERT INTO `wk_crm_area` VALUES (210803, 210800, '西市区');
  2084. INSERT INTO `wk_crm_area` VALUES (210802, 210800, '站前区');
  2085. INSERT INTO `wk_crm_area` VALUES (210882, 210800, '大石桥市');
  2086. INSERT INTO `wk_crm_area` VALUES (210881, 210800, '盖州市');
  2087. INSERT INTO `wk_crm_area` VALUES (210811, 210800, '老边区');
  2088. INSERT INTO `wk_crm_area` VALUES (419001, 419000, '济源市');
  2089. INSERT INTO `wk_crm_area` VALUES (340304, 340300, '禹会区');
  2090. INSERT INTO `wk_crm_area` VALUES (340371, 340300, '蚌埠市高新技术开发区');
  2091. INSERT INTO `wk_crm_area` VALUES (340372, 340300, '蚌埠市经济开发区');
  2092. INSERT INTO `wk_crm_area` VALUES (340321, 340300, '怀远县');
  2093. INSERT INTO `wk_crm_area` VALUES (340302, 340300, '龙子湖区');
  2094. INSERT INTO `wk_crm_area` VALUES (340303, 340300, '蚌山区');
  2095. INSERT INTO `wk_crm_area` VALUES (340311, 340300, '淮上区');
  2096. INSERT INTO `wk_crm_area` VALUES (340322, 340300, '五河县');
  2097. INSERT INTO `wk_crm_area` VALUES (340323, 340300, '固镇县');
  2098. INSERT INTO `wk_crm_area` VALUES (411426, 411400, '夏邑县');
  2099. INSERT INTO `wk_crm_area` VALUES (411423, 411400, '宁陵县');
  2100. INSERT INTO `wk_crm_area` VALUES (411422, 411400, '睢县');
  2101. INSERT INTO `wk_crm_area` VALUES (411403, 411400, '睢阳区');
  2102. INSERT INTO `wk_crm_area` VALUES (411425, 411400, '虞城县');
  2103. INSERT INTO `wk_crm_area` VALUES (411402, 411400, '梁园区');
  2104. INSERT INTO `wk_crm_area` VALUES (411424, 411400, '柘城县');
  2105. INSERT INTO `wk_crm_area` VALUES (411421, 411400, '民权县');
  2106. INSERT INTO `wk_crm_area` VALUES (411481, 411400, '永城市');
  2107. INSERT INTO `wk_crm_area` VALUES (411472, 411400, '河南商丘经济开发区');
  2108. INSERT INTO `wk_crm_area` VALUES (411471, 411400, '豫东综合物流产业聚集区');
  2109. INSERT INTO `wk_crm_area` VALUES (429000, 420000, '省直辖县级行政区划');
  2110. INSERT INTO `wk_crm_area` VALUES (420100, 420000, '武汉市');
  2111. INSERT INTO `wk_crm_area` VALUES (421200, 420000, '咸宁市');
  2112. INSERT INTO `wk_crm_area` VALUES (421100, 420000, '黄冈市');
  2113. INSERT INTO `wk_crm_area` VALUES (421000, 420000, '荆州市');
  2114. INSERT INTO `wk_crm_area` VALUES (420500, 420000, '宜昌市');
  2115. INSERT INTO `wk_crm_area` VALUES (422800, 420000, '恩施土家族苗族自治州');
  2116. INSERT INTO `wk_crm_area` VALUES (420300, 420000, '十堰市');
  2117. INSERT INTO `wk_crm_area` VALUES (420200, 420000, '黄石市');
  2118. INSERT INTO `wk_crm_area` VALUES (421300, 420000, '随州市');
  2119. INSERT INTO `wk_crm_area` VALUES (420900, 420000, '孝感市');
  2120. INSERT INTO `wk_crm_area` VALUES (420800, 420000, '荆门市');
  2121. INSERT INTO `wk_crm_area` VALUES (420700, 420000, '鄂州市');
  2122. INSERT INTO `wk_crm_area` VALUES (420600, 420000, '襄阳市');
  2123. INSERT INTO `wk_crm_area` VALUES (220602, 220600, '浑江区');
  2124. INSERT INTO `wk_crm_area` VALUES (220605, 220600, '江源区');
  2125. INSERT INTO `wk_crm_area` VALUES (220681, 220600, '临江市');
  2126. INSERT INTO `wk_crm_area` VALUES (220621, 220600, '抚松县');
  2127. INSERT INTO `wk_crm_area` VALUES (220623, 220600, '长白朝鲜族自治县');
  2128. INSERT INTO `wk_crm_area` VALUES (220622, 220600, '靖宇县');
  2129. INSERT INTO `wk_crm_area` VALUES (530822, 530800, '墨江哈尼族自治县');
  2130. INSERT INTO `wk_crm_area` VALUES (530823, 530800, '景东彝族自治县');
  2131. INSERT INTO `wk_crm_area` VALUES (530821, 530800, '宁洱哈尼族彝族自治县');
  2132. INSERT INTO `wk_crm_area` VALUES (530828, 530800, '澜沧拉祜族自治县');
  2133. INSERT INTO `wk_crm_area` VALUES (530829, 530800, '西盟佤族自治县');
  2134. INSERT INTO `wk_crm_area` VALUES (530826, 530800, '江城哈尼族彝族自治县');
  2135. INSERT INTO `wk_crm_area` VALUES (530827, 530800, '孟连傣族拉祜族佤族自治县');
  2136. INSERT INTO `wk_crm_area` VALUES (530802, 530800, '思茅区');
  2137. INSERT INTO `wk_crm_area` VALUES (530824, 530800, '景谷傣族彝族自治县');
  2138. INSERT INTO `wk_crm_area` VALUES (530825, 530800, '镇沅彝族哈尼族拉祜族自治县');
  2139. INSERT INTO `wk_crm_area` VALUES (230402, 230400, '向阳区');
  2140. INSERT INTO `wk_crm_area` VALUES (230422, 230400, '绥滨县');
  2141. INSERT INTO `wk_crm_area` VALUES (230421, 230400, '萝北县');
  2142. INSERT INTO `wk_crm_area` VALUES (230407, 230400, '兴山区');
  2143. INSERT INTO `wk_crm_area` VALUES (230406, 230400, '东山区');
  2144. INSERT INTO `wk_crm_area` VALUES (230405, 230400, '兴安区');
  2145. INSERT INTO `wk_crm_area` VALUES (230404, 230400, '南山区');
  2146. INSERT INTO `wk_crm_area` VALUES (230403, 230400, '工农区');
  2147. INSERT INTO `wk_crm_area` VALUES (630122, 630100, '湟中县');
  2148. INSERT INTO `wk_crm_area` VALUES (630123, 630100, '湟源县');
  2149. INSERT INTO `wk_crm_area` VALUES (630121, 630100, '大通回族土族自治县');
  2150. INSERT INTO `wk_crm_area` VALUES (630104, 630100, '城西区');
  2151. INSERT INTO `wk_crm_area` VALUES (630105, 630100, '城北区');
  2152. INSERT INTO `wk_crm_area` VALUES (630102, 630100, '城东区');
  2153. INSERT INTO `wk_crm_area` VALUES (630103, 630100, '城中区');
  2154. INSERT INTO `wk_crm_area` VALUES (150727, 150700, '新巴尔虎右旗');
  2155. INSERT INTO `wk_crm_area` VALUES (150703, 150700, '扎赉诺尔区');
  2156. INSERT INTO `wk_crm_area` VALUES (150725, 150700, '陈巴尔虎旗');
  2157. INSERT INTO `wk_crm_area` VALUES (150726, 150700, '新巴尔虎左旗');
  2158. INSERT INTO `wk_crm_area` VALUES (150723, 150700, '鄂伦春自治旗');
  2159. INSERT INTO `wk_crm_area` VALUES (150702, 150700, '海拉尔区');
  2160. INSERT INTO `wk_crm_area` VALUES (150724, 150700, '鄂温克族自治旗');
  2161. INSERT INTO `wk_crm_area` VALUES (150721, 150700, '阿荣旗');
  2162. INSERT INTO `wk_crm_area` VALUES (150722, 150700, '莫力达瓦达斡尔族自治旗');
  2163. INSERT INTO `wk_crm_area` VALUES (150785, 150700, '根河市');
  2164. INSERT INTO `wk_crm_area` VALUES (150783, 150700, '扎兰屯市');
  2165. INSERT INTO `wk_crm_area` VALUES (150784, 150700, '额尔古纳市');
  2166. INSERT INTO `wk_crm_area` VALUES (150781, 150700, '满洲里市');
  2167. INSERT INTO `wk_crm_area` VALUES (150782, 150700, '牙克石市');
  2168. INSERT INTO `wk_crm_area` VALUES (653221, 653200, '和田县');
  2169. INSERT INTO `wk_crm_area` VALUES (653222, 653200, '墨玉县');
  2170. INSERT INTO `wk_crm_area` VALUES (653201, 653200, '和田市');
  2171. INSERT INTO `wk_crm_area` VALUES (653223, 653200, '皮山县');
  2172. INSERT INTO `wk_crm_area` VALUES (653224, 653200, '洛浦县');
  2173. INSERT INTO `wk_crm_area` VALUES (653225, 653200, '策勒县');
  2174. INSERT INTO `wk_crm_area` VALUES (653226, 653200, '于田县');
  2175. INSERT INTO `wk_crm_area` VALUES (653227, 653200, '民丰县');
  2176. INSERT INTO `wk_crm_area` VALUES (320706, 320700, '海州区');
  2177. INSERT INTO `wk_crm_area` VALUES (320707, 320700, '赣榆区');
  2178. INSERT INTO `wk_crm_area` VALUES (320724, 320700, '灌南县');
  2179. INSERT INTO `wk_crm_area` VALUES (320703, 320700, '连云区');
  2180. INSERT INTO `wk_crm_area` VALUES (320722, 320700, '东海县');
  2181. INSERT INTO `wk_crm_area` VALUES (320723, 320700, '灌云县');
  2182. INSERT INTO `wk_crm_area` VALUES (320771, 320700, '连云港经济技术开发区');
  2183. INSERT INTO `wk_crm_area` VALUES (320772, 320700, '连云港高新技术产业开发区');
  2184. INSERT INTO `wk_crm_area` VALUES (410205, 410200, '禹王台区');
  2185. INSERT INTO `wk_crm_area` VALUES (410202, 410200, '龙亭区');
  2186. INSERT INTO `wk_crm_area` VALUES (410212, 410200, '祥符区');
  2187. INSERT INTO `wk_crm_area` VALUES (410223, 410200, '尉氏县');
  2188. INSERT INTO `wk_crm_area` VALUES (410204, 410200, '鼓楼区');
  2189. INSERT INTO `wk_crm_area` VALUES (410203, 410200, '顺河回族区');
  2190. INSERT INTO `wk_crm_area` VALUES (410225, 410200, '兰考县');
  2191. INSERT INTO `wk_crm_area` VALUES (410222, 410200, '通许县');
  2192. INSERT INTO `wk_crm_area` VALUES (410221, 410200, '杞县');
  2193. INSERT INTO `wk_crm_area` VALUES (140926, 140900, '静乐县');
  2194. INSERT INTO `wk_crm_area` VALUES (140927, 140900, '神池县');
  2195. INSERT INTO `wk_crm_area` VALUES (140928, 140900, '五寨县');
  2196. INSERT INTO `wk_crm_area` VALUES (140929, 140900, '岢岚县');
  2197. INSERT INTO `wk_crm_area` VALUES (140981, 140900, '原平市');
  2198. INSERT INTO `wk_crm_area` VALUES (140971, 140900, '五台山风景名胜区');
  2199. INSERT INTO `wk_crm_area` VALUES (140930, 140900, '河曲县');
  2200. INSERT INTO `wk_crm_area` VALUES (140931, 140900, '保德县');
  2201. INSERT INTO `wk_crm_area` VALUES (140921, 140900, '定襄县');
  2202. INSERT INTO `wk_crm_area` VALUES (140932, 140900, '偏关县');
  2203. INSERT INTO `wk_crm_area` VALUES (140922, 140900, '五台县');
  2204. INSERT INTO `wk_crm_area` VALUES (140923, 140900, '代县');
  2205. INSERT INTO `wk_crm_area` VALUES (140902, 140900, '忻府区');
  2206. INSERT INTO `wk_crm_area` VALUES (140924, 140900, '繁峙县');
  2207. INSERT INTO `wk_crm_area` VALUES (140925, 140900, '宁武县');
  2208. INSERT INTO `wk_crm_area` VALUES (360829, 360800, '安福县');
  2209. INSERT INTO `wk_crm_area` VALUES (360827, 360800, '遂川县');
  2210. INSERT INTO `wk_crm_area` VALUES (360828, 360800, '万安县');
  2211. INSERT INTO `wk_crm_area` VALUES (360881, 360800, '井冈山市');
  2212. INSERT INTO `wk_crm_area` VALUES (360803, 360800, '青原区');
  2213. INSERT INTO `wk_crm_area` VALUES (360825, 360800, '永丰县');
  2214. INSERT INTO `wk_crm_area` VALUES (360826, 360800, '泰和县');
  2215. INSERT INTO `wk_crm_area` VALUES (360823, 360800, '峡江县');
  2216. INSERT INTO `wk_crm_area` VALUES (360802, 360800, '吉州区');
  2217. INSERT INTO `wk_crm_area` VALUES (360824, 360800, '新干县');
  2218. INSERT INTO `wk_crm_area` VALUES (360821, 360800, '吉安县');
  2219. INSERT INTO `wk_crm_area` VALUES (360822, 360800, '吉水县');
  2220. INSERT INTO `wk_crm_area` VALUES (360830, 360800, '永新县');
  2221. INSERT INTO `wk_crm_area` VALUES (232761, 232700, '加格达奇区');
  2222. INSERT INTO `wk_crm_area` VALUES (232762, 232700, '松岭区');
  2223. INSERT INTO `wk_crm_area` VALUES (232763, 232700, '新林区');
  2224. INSERT INTO `wk_crm_area` VALUES (232764, 232700, '呼中区');
  2225. INSERT INTO `wk_crm_area` VALUES (232721, 232700, '呼玛县');
  2226. INSERT INTO `wk_crm_area` VALUES (232722, 232700, '塔河县');
  2227. INSERT INTO `wk_crm_area` VALUES (232701, 232700, '漠河市');
  2228. INSERT INTO `wk_crm_area` VALUES (341504, 341500, '叶集区');
  2229. INSERT INTO `wk_crm_area` VALUES (341503, 341500, '裕安区');
  2230. INSERT INTO `wk_crm_area` VALUES (341525, 341500, '霍山县');
  2231. INSERT INTO `wk_crm_area` VALUES (341502, 341500, '金安区');
  2232. INSERT INTO `wk_crm_area` VALUES (341524, 341500, '金寨县');
  2233. INSERT INTO `wk_crm_area` VALUES (341523, 341500, '舒城县');
  2234. INSERT INTO `wk_crm_area` VALUES (341522, 341500, '霍邱县');
  2235. INSERT INTO `wk_crm_area` VALUES (431003, 431000, '苏仙区');
  2236. INSERT INTO `wk_crm_area` VALUES (431025, 431000, '临武县');
  2237. INSERT INTO `wk_crm_area` VALUES (431002, 431000, '北湖区');
  2238. INSERT INTO `wk_crm_area` VALUES (431024, 431000, '嘉禾县');
  2239. INSERT INTO `wk_crm_area` VALUES (431027, 431000, '桂东县');
  2240. INSERT INTO `wk_crm_area` VALUES (431026, 431000, '汝城县');
  2241. INSERT INTO `wk_crm_area` VALUES (431028, 431000, '安仁县');
  2242. INSERT INTO `wk_crm_area` VALUES (431081, 431000, '资兴市');
  2243. INSERT INTO `wk_crm_area` VALUES (431021, 431000, '桂阳县');
  2244. INSERT INTO `wk_crm_area` VALUES (431023, 431000, '永兴县');
  2245. INSERT INTO `wk_crm_area` VALUES (431022, 431000, '宜章县');
  2246. INSERT INTO `wk_crm_area` VALUES (431322, 431300, '新化县');
  2247. INSERT INTO `wk_crm_area` VALUES (431321, 431300, '双峰县');
  2248. INSERT INTO `wk_crm_area` VALUES (431302, 431300, '娄星区');
  2249. INSERT INTO `wk_crm_area` VALUES (431382, 431300, '涟源市');
  2250. INSERT INTO `wk_crm_area` VALUES (431381, 431300, '冷水江市');
  2251. INSERT INTO `wk_crm_area` VALUES (620321, 620300, '永昌县');
  2252. INSERT INTO `wk_crm_area` VALUES (620302, 620300, '金川区');
  2253. INSERT INTO `wk_crm_area` VALUES (511322, 511300, '营山县');
  2254. INSERT INTO `wk_crm_area` VALUES (511323, 511300, '蓬安县');
  2255. INSERT INTO `wk_crm_area` VALUES (511321, 511300, '南部县');
  2256. INSERT INTO `wk_crm_area` VALUES (511304, 511300, '嘉陵区');
  2257. INSERT INTO `wk_crm_area` VALUES (511302, 511300, '顺庆区');
  2258. INSERT INTO `wk_crm_area` VALUES (511324, 511300, '仪陇县');
  2259. INSERT INTO `wk_crm_area` VALUES (511303, 511300, '高坪区');
  2260. INSERT INTO `wk_crm_area` VALUES (511325, 511300, '西充县');
  2261. INSERT INTO `wk_crm_area` VALUES (511381, 511300, '阆中市');
  2262. INSERT INTO `wk_crm_area` VALUES (410602, 410600, '鹤山区');
  2263. INSERT INTO `wk_crm_area` VALUES (410603, 410600, '山城区');
  2264. INSERT INTO `wk_crm_area` VALUES (410611, 410600, '淇滨区');
  2265. INSERT INTO `wk_crm_area` VALUES (410622, 410600, '淇县');
  2266. INSERT INTO `wk_crm_area` VALUES (410621, 410600, '浚县');
  2267. INSERT INTO `wk_crm_area` VALUES (410671, 410600, '鹤壁经济技术开发区');
  2268. INSERT INTO `wk_crm_area` VALUES (330681, 330600, '诸暨市');
  2269. INSERT INTO `wk_crm_area` VALUES (330602, 330600, '越城区');
  2270. INSERT INTO `wk_crm_area` VALUES (330624, 330600, '新昌县');
  2271. INSERT INTO `wk_crm_area` VALUES (330603, 330600, '柯桥区');
  2272. INSERT INTO `wk_crm_area` VALUES (330604, 330600, '上虞区');
  2273. INSERT INTO `wk_crm_area` VALUES (330683, 330600, '嵊州市');
  2274. INSERT INTO `wk_crm_area` VALUES (370572, 370500, '东营港经济开发区');
  2275. INSERT INTO `wk_crm_area` VALUES (370571, 370500, '东营经济技术开发区');
  2276. INSERT INTO `wk_crm_area` VALUES (370503, 370500, '河口区');
  2277. INSERT INTO `wk_crm_area` VALUES (370505, 370500, '垦利区');
  2278. INSERT INTO `wk_crm_area` VALUES (370522, 370500, '利津县');
  2279. INSERT INTO `wk_crm_area` VALUES (370523, 370500, '广饶县');
  2280. INSERT INTO `wk_crm_area` VALUES (370502, 370500, '东营区');
  2281. INSERT INTO `wk_crm_area` VALUES (210727, 210700, '义县');
  2282. INSERT INTO `wk_crm_area` VALUES (210726, 210700, '黑山县');
  2283. INSERT INTO `wk_crm_area` VALUES (210703, 210700, '凌河区');
  2284. INSERT INTO `wk_crm_area` VALUES (210702, 210700, '古塔区');
  2285. INSERT INTO `wk_crm_area` VALUES (210781, 210700, '凌海市');
  2286. INSERT INTO `wk_crm_area` VALUES (210782, 210700, '北镇市');
  2287. INSERT INTO `wk_crm_area` VALUES (210711, 210700, '太和区');
  2288. INSERT INTO `wk_crm_area` VALUES (340405, 340400, '八公山区');
  2289. INSERT INTO `wk_crm_area` VALUES (340406, 340400, '潘集区');
  2290. INSERT INTO `wk_crm_area` VALUES (340403, 340400, '田家庵区');
  2291. INSERT INTO `wk_crm_area` VALUES (340404, 340400, '谢家集区');
  2292. INSERT INTO `wk_crm_area` VALUES (340402, 340400, '大通区');
  2293. INSERT INTO `wk_crm_area` VALUES (340421, 340400, '凤台县');
  2294. INSERT INTO `wk_crm_area` VALUES (340422, 340400, '寿县');
  2295. INSERT INTO `wk_crm_area` VALUES (711292, 711200, '罗东镇');
  2296. INSERT INTO `wk_crm_area` VALUES (711293, 711200, '三星乡');
  2297. INSERT INTO `wk_crm_area` VALUES (711294, 711200, '大同乡');
  2298. INSERT INTO `wk_crm_area` VALUES (711295, 711200, '五结乡');
  2299. INSERT INTO `wk_crm_area` VALUES (711290, 711200, '壮围乡');
  2300. INSERT INTO `wk_crm_area` VALUES (711291, 711200, '员山乡');
  2301. INSERT INTO `wk_crm_area` VALUES (711289, 711200, '礁溪乡');
  2302. INSERT INTO `wk_crm_area` VALUES (711296, 711200, '冬山乡');
  2303. INSERT INTO `wk_crm_area` VALUES (711297, 711200, '苏澳镇');
  2304. INSERT INTO `wk_crm_area` VALUES (711287, 711200, '宜兰市');
  2305. INSERT INTO `wk_crm_area` VALUES (711298, 711200, '南澳乡');
  2306. INSERT INTO `wk_crm_area` VALUES (711288, 711200, '头城镇');
  2307. INSERT INTO `wk_crm_area` VALUES (711299, 711200, '钓鱼台');
  2308. INSERT INTO `wk_crm_area` VALUES (430211, 430200, '天元区');
  2309. INSERT INTO `wk_crm_area` VALUES (430202, 430200, '荷塘区');
  2310. INSERT INTO `wk_crm_area` VALUES (430224, 430200, '茶陵县');
  2311. INSERT INTO `wk_crm_area` VALUES (430212, 430200, '渌口区');
  2312. INSERT INTO `wk_crm_area` VALUES (430223, 430200, '攸县');
  2313. INSERT INTO `wk_crm_area` VALUES (430204, 430200, '石峰区');
  2314. INSERT INTO `wk_crm_area` VALUES (430203, 430200, '芦淞区');
  2315. INSERT INTO `wk_crm_area` VALUES (430225, 430200, '炎陵县');
  2316. INSERT INTO `wk_crm_area` VALUES (430271, 430200, '云龙示范区');
  2317. INSERT INTO `wk_crm_area` VALUES (430281, 430200, '醴陵市');
  2318. INSERT INTO `wk_crm_area` VALUES (350921, 350900, '霞浦县');
  2319. INSERT INTO `wk_crm_area` VALUES (350922, 350900, '古田县');
  2320. INSERT INTO `wk_crm_area` VALUES (350923, 350900, '屏南县');
  2321. INSERT INTO `wk_crm_area` VALUES (350902, 350900, '蕉城区');
  2322. INSERT INTO `wk_crm_area` VALUES (350924, 350900, '寿宁县');
  2323. INSERT INTO `wk_crm_area` VALUES (350925, 350900, '周宁县');
  2324. INSERT INTO `wk_crm_area` VALUES (350926, 350900, '柘荣县');
  2325. INSERT INTO `wk_crm_area` VALUES (350981, 350900, '福安市');
  2326. INSERT INTO `wk_crm_area` VALUES (350982, 350900, '福鼎市');
  2327. INSERT INTO `wk_crm_area` VALUES (650502, 650500, '伊州区');
  2328. INSERT INTO `wk_crm_area` VALUES (650522, 650500, '伊吾县');
  2329. INSERT INTO `wk_crm_area` VALUES (650521, 650500, '巴里坤哈萨克自治县');
  2330. INSERT INTO `wk_crm_area` VALUES (411702, 411700, '驿城区');
  2331. INSERT INTO `wk_crm_area` VALUES (411724, 411700, '正阳县');
  2332. INSERT INTO `wk_crm_area` VALUES (411723, 411700, '平舆县');
  2333. INSERT INTO `wk_crm_area` VALUES (411726, 411700, '泌阳县');
  2334. INSERT INTO `wk_crm_area` VALUES (411725, 411700, '确山县');
  2335. INSERT INTO `wk_crm_area` VALUES (411722, 411700, '上蔡县');
  2336. INSERT INTO `wk_crm_area` VALUES (411721, 411700, '西平县');
  2337. INSERT INTO `wk_crm_area` VALUES (411771, 411700, '河南驻马店经济开发区');
  2338. INSERT INTO `wk_crm_area` VALUES (411728, 411700, '遂平县');
  2339. INSERT INTO `wk_crm_area` VALUES (411727, 411700, '汝南县');
  2340. INSERT INTO `wk_crm_area` VALUES (411729, 411700, '新蔡县');
  2341. INSERT INTO `wk_crm_area` VALUES (130671, 130600, '保定高新技术产业开发区');
  2342. INSERT INTO `wk_crm_area` VALUES (130672, 130600, '保定白沟新城');
  2343. INSERT INTO `wk_crm_area` VALUES (130631, 130600, '望都县');
  2344. INSERT INTO `wk_crm_area` VALUES (130632, 130600, '安新县');
  2345. INSERT INTO `wk_crm_area` VALUES (130630, 130600, '涞源县');
  2346. INSERT INTO `wk_crm_area` VALUES (130635, 130600, '蠡县');
  2347. INSERT INTO `wk_crm_area` VALUES (130636, 130600, '顺平县');
  2348. INSERT INTO `wk_crm_area` VALUES (130633, 130600, '易县');
  2349. INSERT INTO `wk_crm_area` VALUES (130634, 130600, '曲阳县');
  2350. INSERT INTO `wk_crm_area` VALUES (130637, 130600, '博野县');
  2351. INSERT INTO `wk_crm_area` VALUES (130638, 130600, '雄县');
  2352. INSERT INTO `wk_crm_area` VALUES (130682, 130600, '定州市');
  2353. INSERT INTO `wk_crm_area` VALUES (130683, 130600, '安国市');
  2354. INSERT INTO `wk_crm_area` VALUES (130681, 130600, '涿州市');
  2355. INSERT INTO `wk_crm_area` VALUES (130684, 130600, '高碑店市');
  2356. INSERT INTO `wk_crm_area` VALUES (130602, 130600, '竞秀区');
  2357. INSERT INTO `wk_crm_area` VALUES (130624, 130600, '阜平县');
  2358. INSERT INTO `wk_crm_area` VALUES (130623, 130600, '涞水县');
  2359. INSERT INTO `wk_crm_area` VALUES (130606, 130600, '莲池区');
  2360. INSERT INTO `wk_crm_area` VALUES (130628, 130600, '高阳县');
  2361. INSERT INTO `wk_crm_area` VALUES (130607, 130600, '满城区');
  2362. INSERT INTO `wk_crm_area` VALUES (130629, 130600, '容城县');
  2363. INSERT INTO `wk_crm_area` VALUES (130626, 130600, '定兴县');
  2364. INSERT INTO `wk_crm_area` VALUES (130627, 130600, '唐县');
  2365. INSERT INTO `wk_crm_area` VALUES (130608, 130600, '清苑区');
  2366. INSERT INTO `wk_crm_area` VALUES (130609, 130600, '徐水区');
  2367. INSERT INTO `wk_crm_area` VALUES (533103, 533100, '芒市');
  2368. INSERT INTO `wk_crm_area` VALUES (533102, 533100, '瑞丽市');
  2369. INSERT INTO `wk_crm_area` VALUES (533124, 533100, '陇川县');
  2370. INSERT INTO `wk_crm_area` VALUES (533123, 533100, '盈江县');
  2371. INSERT INTO `wk_crm_area` VALUES (533122, 533100, '梁河县');
  2372. INSERT INTO `wk_crm_area` VALUES (220503, 220500, '二道江区');
  2373. INSERT INTO `wk_crm_area` VALUES (220582, 220500, '集安市');
  2374. INSERT INTO `wk_crm_area` VALUES (220581, 220500, '梅河口市');
  2375. INSERT INTO `wk_crm_area` VALUES (220521, 220500, '通化县');
  2376. INSERT INTO `wk_crm_area` VALUES (220502, 220500, '东昌区');
  2377. INSERT INTO `wk_crm_area` VALUES (220524, 220500, '柳河县');
  2378. INSERT INTO `wk_crm_area` VALUES (220523, 220500, '辉南县');
  2379. INSERT INTO `wk_crm_area` VALUES (652825, 652800, '且末县');
  2380. INSERT INTO `wk_crm_area` VALUES (652826, 652800, '焉耆回族自治县');
  2381. INSERT INTO `wk_crm_area` VALUES (652827, 652800, '和静县');
  2382. INSERT INTO `wk_crm_area` VALUES (652828, 652800, '和硕县');
  2383. INSERT INTO `wk_crm_area` VALUES (652829, 652800, '博湖县');
  2384. INSERT INTO `wk_crm_area` VALUES (652871, 652800, '库尔勒经济技术开发区');
  2385. INSERT INTO `wk_crm_area` VALUES (652822, 652800, '轮台县');
  2386. INSERT INTO `wk_crm_area` VALUES (652801, 652800, '库尔勒市');
  2387. INSERT INTO `wk_crm_area` VALUES (652823, 652800, '尉犁县');
  2388. INSERT INTO `wk_crm_area` VALUES (652824, 652800, '若羌县');
  2389. INSERT INTO `wk_crm_area` VALUES (371772, 371700, '菏泽高新技术开发区');
  2390. INSERT INTO `wk_crm_area` VALUES (371771, 371700, '菏泽经济技术开发区');
  2391. INSERT INTO `wk_crm_area` VALUES (371728, 371700, '东明县');
  2392. INSERT INTO `wk_crm_area` VALUES (371703, 371700, '定陶区');
  2393. INSERT INTO `wk_crm_area` VALUES (371725, 371700, '郓城县');
  2394. INSERT INTO `wk_crm_area` VALUES (371702, 371700, '牡丹区');
  2395. INSERT INTO `wk_crm_area` VALUES (371724, 371700, '巨野县');
  2396. INSERT INTO `wk_crm_area` VALUES (371726, 371700, '鄄城县');
  2397. INSERT INTO `wk_crm_area` VALUES (371721, 371700, '曹县');
  2398. INSERT INTO `wk_crm_area` VALUES (371723, 371700, '成武县');
  2399. INSERT INTO `wk_crm_area` VALUES (371722, 371700, '单县');
  2400. INSERT INTO `wk_crm_area` VALUES (440900, 440000, '茂名市');
  2401. INSERT INTO `wk_crm_area` VALUES (440800, 440000, '湛江市');
  2402. INSERT INTO `wk_crm_area` VALUES (441900, 440000, '东莞市');
  2403. INSERT INTO `wk_crm_area` VALUES (440700, 440000, '江门市');
  2404. INSERT INTO `wk_crm_area` VALUES (441800, 440000, '清远市');
  2405. INSERT INTO `wk_crm_area` VALUES (440600, 440000, '佛山市');
  2406. INSERT INTO `wk_crm_area` VALUES (441700, 440000, '阳江市');
  2407. INSERT INTO `wk_crm_area` VALUES (440500, 440000, '汕头市');
  2408. INSERT INTO `wk_crm_area` VALUES (441600, 440000, '河源市');
  2409. INSERT INTO `wk_crm_area` VALUES (440400, 440000, '珠海市');
  2410. INSERT INTO `wk_crm_area` VALUES (441500, 440000, '汕尾市');
  2411. INSERT INTO `wk_crm_area` VALUES (440300, 440000, '深圳市');
  2412. INSERT INTO `wk_crm_area` VALUES (441400, 440000, '梅州市');
  2413. INSERT INTO `wk_crm_area` VALUES (445200, 440000, '揭阳市');
  2414. INSERT INTO `wk_crm_area` VALUES (440200, 440000, '韶关市');
  2415. INSERT INTO `wk_crm_area` VALUES (441300, 440000, '惠州市');
  2416. INSERT INTO `wk_crm_area` VALUES (445100, 440000, '潮州市');
  2417. INSERT INTO `wk_crm_area` VALUES (440100, 440000, '广州市');
  2418. INSERT INTO `wk_crm_area` VALUES (441200, 440000, '肇庆市');
  2419. INSERT INTO `wk_crm_area` VALUES (442000, 440000, '中山市');
  2420. INSERT INTO `wk_crm_area` VALUES (445300, 440000, '云浮市');
  2421. INSERT INTO `wk_crm_area` VALUES (610629, 610600, '洛川县');
  2422. INSERT INTO `wk_crm_area` VALUES (610627, 610600, '甘泉县');
  2423. INSERT INTO `wk_crm_area` VALUES (610628, 610600, '富县');
  2424. INSERT INTO `wk_crm_area` VALUES (610603, 610600, '安塞区');
  2425. INSERT INTO `wk_crm_area` VALUES (610625, 610600, '志丹县');
  2426. INSERT INTO `wk_crm_area` VALUES (610626, 610600, '吴起县');
  2427. INSERT INTO `wk_crm_area` VALUES (610623, 610600, '子长县');
  2428. INSERT INTO `wk_crm_area` VALUES (610602, 610600, '宝塔区');
  2429. INSERT INTO `wk_crm_area` VALUES (610621, 610600, '延长县');
  2430. INSERT INTO `wk_crm_area` VALUES (610632, 610600, '黄陵县');
  2431. INSERT INTO `wk_crm_area` VALUES (610622, 610600, '延川县');
  2432. INSERT INTO `wk_crm_area` VALUES (610630, 610600, '宜川县');
  2433. INSERT INTO `wk_crm_area` VALUES (610631, 610600, '黄龙县');
  2434. INSERT INTO `wk_crm_area` VALUES (230303, 230300, '恒山区');
  2435. INSERT INTO `wk_crm_area` VALUES (230302, 230300, '鸡冠区');
  2436. INSERT INTO `wk_crm_area` VALUES (230321, 230300, '鸡东县');
  2437. INSERT INTO `wk_crm_area` VALUES (230382, 230300, '密山市');
  2438. INSERT INTO `wk_crm_area` VALUES (230381, 230300, '虎林市');
  2439. INSERT INTO `wk_crm_area` VALUES (230307, 230300, '麻山区');
  2440. INSERT INTO `wk_crm_area` VALUES (230306, 230300, '城子河区');
  2441. INSERT INTO `wk_crm_area` VALUES (230305, 230300, '梨树区');
  2442. INSERT INTO `wk_crm_area` VALUES (230304, 230300, '滴道区');
  2443. INSERT INTO `wk_crm_area` VALUES (140471, 140400, '山西长治高新技术产业园区');
  2444. INSERT INTO `wk_crm_area` VALUES (140430, 140400, '沁县');
  2445. INSERT INTO `wk_crm_area` VALUES (140431, 140400, '沁源县');
  2446. INSERT INTO `wk_crm_area` VALUES (140423, 140400, '襄垣县');
  2447. INSERT INTO `wk_crm_area` VALUES (140403, 140400, '潞州区');
  2448. INSERT INTO `wk_crm_area` VALUES (140425, 140400, '平顺县');
  2449. INSERT INTO `wk_crm_area` VALUES (140404, 140400, '上党区');
  2450. INSERT INTO `wk_crm_area` VALUES (140426, 140400, '黎城县');
  2451. INSERT INTO `wk_crm_area` VALUES (140405, 140400, '屯留区');
  2452. INSERT INTO `wk_crm_area` VALUES (140427, 140400, '壶关县');
  2453. INSERT INTO `wk_crm_area` VALUES (140406, 140400, '潞城区');
  2454. INSERT INTO `wk_crm_area` VALUES (140428, 140400, '长子县');
  2455. INSERT INTO `wk_crm_area` VALUES (140429, 140400, '武乡县');
  2456. INSERT INTO `wk_crm_area` VALUES (150206, 150200, '白云鄂博矿区');
  2457. INSERT INTO `wk_crm_area` VALUES (150207, 150200, '九原区');
  2458. INSERT INTO `wk_crm_area` VALUES (150204, 150200, '青山区');
  2459. INSERT INTO `wk_crm_area` VALUES (150205, 150200, '石拐区');
  2460. INSERT INTO `wk_crm_area` VALUES (150202, 150200, '东河区');
  2461. INSERT INTO `wk_crm_area` VALUES (150203, 150200, '昆都仑区');
  2462. INSERT INTO `wk_crm_area` VALUES (150222, 150200, '固阳县');
  2463. INSERT INTO `wk_crm_area` VALUES (150223, 150200, '达尔罕茂明安联合旗');
  2464. INSERT INTO `wk_crm_area` VALUES (150221, 150200, '土默特右旗');
  2465. INSERT INTO `wk_crm_area` VALUES (150271, 150200, '包头稀土高新技术产业开发区');
  2466. INSERT INTO `wk_crm_area` VALUES (152529, 152500, '正镶白旗');
  2467. INSERT INTO `wk_crm_area` VALUES (152528, 152500, '镶黄旗');
  2468. INSERT INTO `wk_crm_area` VALUES (152527, 152500, '太仆寺旗');
  2469. INSERT INTO `wk_crm_area` VALUES (152526, 152500, '西乌珠穆沁旗');
  2470. INSERT INTO `wk_crm_area` VALUES (152525, 152500, '东乌珠穆沁旗');
  2471. INSERT INTO `wk_crm_area` VALUES (152502, 152500, '锡林浩特市');
  2472. INSERT INTO `wk_crm_area` VALUES (152524, 152500, '苏尼特右旗');
  2473. INSERT INTO `wk_crm_area` VALUES (152501, 152500, '二连浩特市');
  2474. INSERT INTO `wk_crm_area` VALUES (152523, 152500, '苏尼特左旗');
  2475. INSERT INTO `wk_crm_area` VALUES (152522, 152500, '阿巴嘎旗');
  2476. INSERT INTO `wk_crm_area` VALUES (152531, 152500, '多伦县');
  2477. INSERT INTO `wk_crm_area` VALUES (152530, 152500, '正蓝旗');
  2478. INSERT INTO `wk_crm_area` VALUES (152571, 152500, '乌拉盖管委会');
  2479. INSERT INTO `wk_crm_area` VALUES (710108, 710100, '士林区');
  2480. INSERT INTO `wk_crm_area` VALUES (710107, 710100, '信义区');
  2481. INSERT INTO `wk_crm_area` VALUES (710106, 710100, '万华区');
  2482. INSERT INTO `wk_crm_area` VALUES (710105, 710100, '大安区');
  2483. INSERT INTO `wk_crm_area` VALUES (710109, 710100, '北投区');
  2484. INSERT INTO `wk_crm_area` VALUES (710111, 710100, '南港区');
  2485. INSERT INTO `wk_crm_area` VALUES (710199, 710100, '其它区');
  2486. INSERT INTO `wk_crm_area` VALUES (710110, 710100, '内湖区');
  2487. INSERT INTO `wk_crm_area` VALUES (710104, 710100, '松山区');
  2488. INSERT INTO `wk_crm_area` VALUES (710103, 710100, '中山区');
  2489. INSERT INTO `wk_crm_area` VALUES (710102, 710100, '大同区');
  2490. INSERT INTO `wk_crm_area` VALUES (710101, 710100, '中正区');
  2491. INSERT INTO `wk_crm_area` VALUES (710112, 710100, '文山区');
  2492. INSERT INTO `wk_crm_area` VALUES (712491, 712400, '新园乡');
  2493. INSERT INTO `wk_crm_area` VALUES (712470, 712400, '玛家乡');
  2494. INSERT INTO `wk_crm_area` VALUES (712492, 712400, '枋寮乡');
  2495. INSERT INTO `wk_crm_area` VALUES (712471, 712400, '九如乡');
  2496. INSERT INTO `wk_crm_area` VALUES (712493, 712400, '枋山乡');
  2497. INSERT INTO `wk_crm_area` VALUES (712472, 712400, '里港乡');
  2498. INSERT INTO `wk_crm_area` VALUES (712494, 712400, '春日乡');
  2499. INSERT INTO `wk_crm_area` VALUES (712490, 712400, '佳冬乡');
  2500. INSERT INTO `wk_crm_area` VALUES (712477, 712400, '竹田乡');
  2501. INSERT INTO `wk_crm_area` VALUES (712499, 712400, '满州乡');
  2502. INSERT INTO `wk_crm_area` VALUES (712478, 712400, '内埔乡');
  2503. INSERT INTO `wk_crm_area` VALUES (712479, 712400, '万丹乡');
  2504. INSERT INTO `wk_crm_area` VALUES (712473, 712400, '高树乡');
  2505. INSERT INTO `wk_crm_area` VALUES (712495, 712400, '狮子乡');
  2506. INSERT INTO `wk_crm_area` VALUES (712474, 712400, '盐埔乡');
  2507. INSERT INTO `wk_crm_area` VALUES (712496, 712400, '车城乡');
  2508. INSERT INTO `wk_crm_area` VALUES (712475, 712400, '长治乡');
  2509. INSERT INTO `wk_crm_area` VALUES (712497, 712400, '牡丹乡');
  2510. INSERT INTO `wk_crm_area` VALUES (712476, 712400, '麟洛乡');
  2511. INSERT INTO `wk_crm_area` VALUES (712498, 712400, '恒春镇');
  2512. INSERT INTO `wk_crm_area` VALUES (712480, 712400, '潮州镇');
  2513. INSERT INTO `wk_crm_area` VALUES (712481, 712400, '泰武乡');
  2514. INSERT INTO `wk_crm_area` VALUES (712482, 712400, '来义乡');
  2515. INSERT INTO `wk_crm_area` VALUES (712483, 712400, '万峦乡');
  2516. INSERT INTO `wk_crm_area` VALUES (712488, 712400, '东港镇');
  2517. INSERT INTO `wk_crm_area` VALUES (712467, 712400, '屏东市');
  2518. INSERT INTO `wk_crm_area` VALUES (712489, 712400, '琉球乡');
  2519. INSERT INTO `wk_crm_area` VALUES (712468, 712400, '三地门乡');
  2520. INSERT INTO `wk_crm_area` VALUES (712469, 712400, '雾台乡');
  2521. INSERT INTO `wk_crm_area` VALUES (712484, 712400, '莰顶乡');
  2522. INSERT INTO `wk_crm_area` VALUES (712485, 712400, '新埤乡');
  2523. INSERT INTO `wk_crm_area` VALUES (712486, 712400, '南州乡');
  2524. INSERT INTO `wk_crm_area` VALUES (712487, 712400, '林边乡');
  2525. INSERT INTO `wk_crm_area` VALUES (320803, 320800, '淮安区');
  2526. INSERT INTO `wk_crm_area` VALUES (320804, 320800, '淮阴区');
  2527. INSERT INTO `wk_crm_area` VALUES (320826, 320800, '涟水县');
  2528. INSERT INTO `wk_crm_area` VALUES (320812, 320800, '清江浦区');
  2529. INSERT INTO `wk_crm_area` VALUES (320813, 320800, '洪泽区');
  2530. INSERT INTO `wk_crm_area` VALUES (320830, 320800, '盱眙县');
  2531. INSERT INTO `wk_crm_area` VALUES (320831, 320800, '金湖县');
  2532. INSERT INTO `wk_crm_area` VALUES (320871, 320800, '淮安经济技术开发区');
  2533. INSERT INTO `wk_crm_area` VALUES (360728, 360700, '定南县');
  2534. INSERT INTO `wk_crm_area` VALUES (360729, 360700, '全南县');
  2535. INSERT INTO `wk_crm_area` VALUES (360730, 360700, '宁都县');
  2536. INSERT INTO `wk_crm_area` VALUES (360781, 360700, '瑞金市');
  2537. INSERT INTO `wk_crm_area` VALUES (360704, 360700, '赣县区');
  2538. INSERT INTO `wk_crm_area` VALUES (360726, 360700, '安远县');
  2539. INSERT INTO `wk_crm_area` VALUES (360727, 360700, '龙南县');
  2540. INSERT INTO `wk_crm_area` VALUES (360702, 360700, '章贡区');
  2541. INSERT INTO `wk_crm_area` VALUES (360724, 360700, '上犹县');
  2542. INSERT INTO `wk_crm_area` VALUES (360735, 360700, '石城县');
  2543. INSERT INTO `wk_crm_area` VALUES (360703, 360700, '南康区');
  2544. INSERT INTO `wk_crm_area` VALUES (360725, 360700, '崇义县');
  2545. INSERT INTO `wk_crm_area` VALUES (360722, 360700, '信丰县');
  2546. INSERT INTO `wk_crm_area` VALUES (360733, 360700, '会昌县');
  2547. INSERT INTO `wk_crm_area` VALUES (360723, 360700, '大余县');
  2548. INSERT INTO `wk_crm_area` VALUES (360734, 360700, '寻乌县');
  2549. INSERT INTO `wk_crm_area` VALUES (360731, 360700, '于都县');
  2550. INSERT INTO `wk_crm_area` VALUES (360732, 360700, '兴国县');
  2551. INSERT INTO `wk_crm_area` VALUES (620421, 620400, '靖远县');
  2552. INSERT INTO `wk_crm_area` VALUES (620422, 620400, '会宁县');
  2553. INSERT INTO `wk_crm_area` VALUES (620423, 620400, '景泰县');
  2554. INSERT INTO `wk_crm_area` VALUES (620402, 620400, '白银区');
  2555. INSERT INTO `wk_crm_area` VALUES (620403, 620400, '平川区');
  2556. INSERT INTO `wk_crm_area` VALUES (341602, 341600, '谯城区');
  2557. INSERT INTO `wk_crm_area` VALUES (341623, 341600, '利辛县');
  2558. INSERT INTO `wk_crm_area` VALUES (341622, 341600, '蒙城县');
  2559. INSERT INTO `wk_crm_area` VALUES (341621, 341600, '涡阳县');
  2560. INSERT INTO `wk_crm_area` VALUES (431223, 431200, '辰溪县');
  2561. INSERT INTO `wk_crm_area` VALUES (431222, 431200, '沅陵县');
  2562. INSERT INTO `wk_crm_area` VALUES (431225, 431200, '会同县');
  2563. INSERT INTO `wk_crm_area` VALUES (431202, 431200, '鹤城区');
  2564. INSERT INTO `wk_crm_area` VALUES (431224, 431200, '溆浦县');
  2565. INSERT INTO `wk_crm_area` VALUES (431227, 431200, '新晃侗族自治县');
  2566. INSERT INTO `wk_crm_area` VALUES (431226, 431200, '麻阳苗族自治县');
  2567. INSERT INTO `wk_crm_area` VALUES (431229, 431200, '靖州苗族侗族自治县');
  2568. INSERT INTO `wk_crm_area` VALUES (431228, 431200, '芷江侗族自治县');
  2569. INSERT INTO `wk_crm_area` VALUES (431281, 431200, '洪江市');
  2570. INSERT INTO `wk_crm_area` VALUES (431271, 431200, '怀化市洪江管理区');
  2571. INSERT INTO `wk_crm_area` VALUES (431230, 431200, '通道侗族自治县');
  2572. INSERT INTO `wk_crm_area` VALUES (431221, 431200, '中方县');
  2573. INSERT INTO `wk_crm_area` VALUES (429021, 429000, '神农架林区');
  2574. INSERT INTO `wk_crm_area` VALUES (429006, 429000, '天门市');
  2575. INSERT INTO `wk_crm_area` VALUES (429005, 429000, '潜江市');
  2576. INSERT INTO `wk_crm_area` VALUES (429004, 429000, '仙桃市');
  2577. INSERT INTO `wk_crm_area` VALUES (410503, 410500, '北关区');
  2578. INSERT INTO `wk_crm_area` VALUES (410502, 410500, '文峰区');
  2579. INSERT INTO `wk_crm_area` VALUES (410505, 410500, '殷都区');
  2580. INSERT INTO `wk_crm_area` VALUES (410527, 410500, '内黄县');
  2581. INSERT INTO `wk_crm_area` VALUES (410526, 410500, '滑县');
  2582. INSERT INTO `wk_crm_area` VALUES (410523, 410500, '汤阴县');
  2583. INSERT INTO `wk_crm_area` VALUES (410522, 410500, '安阳县');
  2584. INSERT INTO `wk_crm_area` VALUES (410571, 410500, '安阳高新技术产业开发区');
  2585. INSERT INTO `wk_crm_area` VALUES (410506, 410500, '龙安区');
  2586. INSERT INTO `wk_crm_area` VALUES (410581, 410500, '林州市');
  2587. INSERT INTO `wk_crm_area` VALUES (330727, 330700, '磐安县');
  2588. INSERT INTO `wk_crm_area` VALUES (330723, 330700, '武义县');
  2589. INSERT INTO `wk_crm_area` VALUES (330702, 330700, '婺城区');
  2590. INSERT INTO `wk_crm_area` VALUES (330703, 330700, '金东区');
  2591. INSERT INTO `wk_crm_area` VALUES (330726, 330700, '浦江县');
  2592. INSERT INTO `wk_crm_area` VALUES (330781, 330700, '兰溪市');
  2593. INSERT INTO `wk_crm_area` VALUES (330782, 330700, '义乌市');
  2594. INSERT INTO `wk_crm_area` VALUES (330783, 330700, '东阳市');
  2595. INSERT INTO `wk_crm_area` VALUES (330784, 330700, '永康市');
  2596. INSERT INTO `wk_crm_area` VALUES (370481, 370400, '滕州市');
  2597. INSERT INTO `wk_crm_area` VALUES (370404, 370400, '峄城区');
  2598. INSERT INTO `wk_crm_area` VALUES (370405, 370400, '台儿庄区');
  2599. INSERT INTO `wk_crm_area` VALUES (370406, 370400, '山亭区');
  2600. INSERT INTO `wk_crm_area` VALUES (370402, 370400, '市中区');
  2601. INSERT INTO `wk_crm_area` VALUES (370403, 370400, '薛城区');
  2602. INSERT INTO `wk_crm_area` VALUES (420302, 420300, '茅箭区');
  2603. INSERT INTO `wk_crm_area` VALUES (420324, 420300, '竹溪县');
  2604. INSERT INTO `wk_crm_area` VALUES (420323, 420300, '竹山县');
  2605. INSERT INTO `wk_crm_area` VALUES (420322, 420300, '郧西县');
  2606. INSERT INTO `wk_crm_area` VALUES (420304, 420300, '郧阳区');
  2607. INSERT INTO `wk_crm_area` VALUES (420303, 420300, '张湾区');
  2608. INSERT INTO `wk_crm_area` VALUES (420325, 420300, '房县');
  2609. INSERT INTO `wk_crm_area` VALUES (420381, 420300, '丹江口市');
  2610. INSERT INTO `wk_crm_area` VALUES (522301, 522300, '兴义市');
  2611. INSERT INTO `wk_crm_area` VALUES (522323, 522300, '普安县');
  2612. INSERT INTO `wk_crm_area` VALUES (522302, 522300, '兴仁市');
  2613. INSERT INTO `wk_crm_area` VALUES (522324, 522300, '晴隆县');
  2614. INSERT INTO `wk_crm_area` VALUES (522325, 522300, '贞丰县');
  2615. INSERT INTO `wk_crm_area` VALUES (522326, 522300, '望谟县');
  2616. INSERT INTO `wk_crm_area` VALUES (522327, 522300, '册亨县');
  2617. INSERT INTO `wk_crm_area` VALUES (522328, 522300, '安龙县');
  2618. INSERT INTO `wk_crm_area` VALUES (522300, 520000, '黔西南布依族苗族自治州');
  2619. INSERT INTO `wk_crm_area` VALUES (520200, 520000, '六盘水市');
  2620. INSERT INTO `wk_crm_area` VALUES (520300, 520000, '遵义市');
  2621. INSERT INTO `wk_crm_area` VALUES (520100, 520000, '贵阳市');
  2622. INSERT INTO `wk_crm_area` VALUES (520400, 520000, '安顺市');
  2623. INSERT INTO `wk_crm_area` VALUES (522600, 520000, '黔东南苗族侗族自治州');
  2624. INSERT INTO `wk_crm_area` VALUES (520500, 520000, '毕节市');
  2625. INSERT INTO `wk_crm_area` VALUES (522700, 520000, '黔南布依族苗族自治州');
  2626. INSERT INTO `wk_crm_area` VALUES (520600, 520000, '铜仁市');
  2627. INSERT INTO `wk_crm_area` VALUES (340504, 340500, '雨山区');
  2628. INSERT INTO `wk_crm_area` VALUES (340503, 340500, '花山区');
  2629. INSERT INTO `wk_crm_area` VALUES (340506, 340500, '博望区');
  2630. INSERT INTO `wk_crm_area` VALUES (340522, 340500, '含山县');
  2631. INSERT INTO `wk_crm_area` VALUES (340523, 340500, '和县');
  2632. INSERT INTO `wk_crm_area` VALUES (340521, 340500, '当涂县');
  2633. INSERT INTO `wk_crm_area` VALUES (210604, 210600, '振安区');
  2634. INSERT INTO `wk_crm_area` VALUES (210603, 210600, '振兴区');
  2635. INSERT INTO `wk_crm_area` VALUES (210682, 210600, '凤城市');
  2636. INSERT INTO `wk_crm_area` VALUES (210681, 210600, '东港市');
  2637. INSERT INTO `wk_crm_area` VALUES (210602, 210600, '元宝区');
  2638. INSERT INTO `wk_crm_area` VALUES (210624, 210600, '宽甸满族自治县');
  2639. INSERT INTO `wk_crm_area` VALUES (430200, 430000, '株洲市');
  2640. INSERT INTO `wk_crm_area` VALUES (431300, 430000, '娄底市');
  2641. INSERT INTO `wk_crm_area` VALUES (430100, 430000, '长沙市');
  2642. INSERT INTO `wk_crm_area` VALUES (431200, 430000, '怀化市');
  2643. INSERT INTO `wk_crm_area` VALUES (430400, 430000, '衡阳市');
  2644. INSERT INTO `wk_crm_area` VALUES (430300, 430000, '湘潭市');
  2645. INSERT INTO `wk_crm_area` VALUES (430600, 430000, '岳阳市');
  2646. INSERT INTO `wk_crm_area` VALUES (430500, 430000, '邵阳市');
  2647. INSERT INTO `wk_crm_area` VALUES (430800, 430000, '张家界市');
  2648. INSERT INTO `wk_crm_area` VALUES (430700, 430000, '常德市');
  2649. INSERT INTO `wk_crm_area` VALUES (430900, 430000, '益阳市');
  2650. INSERT INTO `wk_crm_area` VALUES (431100, 430000, '永州市');
  2651. INSERT INTO `wk_crm_area` VALUES (431000, 430000, '郴州市');
  2652. INSERT INTO `wk_crm_area` VALUES (433100, 430000, '湘西土家族苗族自治州');
  2653. INSERT INTO `wk_crm_area` VALUES (711150, 711100, '新庄区');
  2654. INSERT INTO `wk_crm_area` VALUES (711140, 711100, '新店区');
  2655. INSERT INTO `wk_crm_area` VALUES (711151, 711100, '泰山区');
  2656. INSERT INTO `wk_crm_area` VALUES (711130, 711100, '万里区');
  2657. INSERT INTO `wk_crm_area` VALUES (711141, 711100, '坪林区');
  2658. INSERT INTO `wk_crm_area` VALUES (711152, 711100, '林口区');
  2659. INSERT INTO `wk_crm_area` VALUES (711146, 711100, '三峡区');
  2660. INSERT INTO `wk_crm_area` VALUES (711157, 711100, '三芝区');
  2661. INSERT INTO `wk_crm_area` VALUES (711136, 711100, '瑞芳区');
  2662. INSERT INTO `wk_crm_area` VALUES (711147, 711100, '树林区');
  2663. INSERT INTO `wk_crm_area` VALUES (711137, 711100, '平溪区');
  2664. INSERT INTO `wk_crm_area` VALUES (711138, 711100, '双溪区');
  2665. INSERT INTO `wk_crm_area` VALUES (711149, 711100, '三重区');
  2666. INSERT INTO `wk_crm_area` VALUES (711142, 711100, '乌来区');
  2667. INSERT INTO `wk_crm_area` VALUES (711132, 711100, '板桥区');
  2668. INSERT INTO `wk_crm_area` VALUES (711143, 711100, '永和区');
  2669. INSERT INTO `wk_crm_area` VALUES (711154, 711100, '五股区');
  2670. INSERT INTO `wk_crm_area` VALUES (711133, 711100, '汐止区');
  2671. INSERT INTO `wk_crm_area` VALUES (711144, 711100, '中和区');
  2672. INSERT INTO `wk_crm_area` VALUES (711155, 711100, '八里区');
  2673. INSERT INTO `wk_crm_area` VALUES (711134, 711100, '深坑区');
  2674. INSERT INTO `wk_crm_area` VALUES (711145, 711100, '土城区');
  2675. INSERT INTO `wk_crm_area` VALUES (711156, 711100, '淡水区');
  2676. INSERT INTO `wk_crm_area` VALUES (430112, 430100, '望城区');
  2677. INSERT INTO `wk_crm_area` VALUES (430111, 430100, '雨花区');
  2678. INSERT INTO `wk_crm_area` VALUES (430103, 430100, '天心区');
  2679. INSERT INTO `wk_crm_area` VALUES (430102, 430100, '芙蓉区');
  2680. INSERT INTO `wk_crm_area` VALUES (430105, 430100, '开福区');
  2681. INSERT INTO `wk_crm_area` VALUES (430104, 430100, '岳麓区');
  2682. INSERT INTO `wk_crm_area` VALUES (430181, 430100, '浏阳市');
  2683. INSERT INTO `wk_crm_area` VALUES (430182, 430100, '宁乡市');
  2684. INSERT INTO `wk_crm_area` VALUES (430121, 430100, '长沙县');
  2685. INSERT INTO `wk_crm_area` VALUES (350821, 350800, '长汀县');
  2686. INSERT INTO `wk_crm_area` VALUES (350823, 350800, '上杭县');
  2687. INSERT INTO `wk_crm_area` VALUES (350802, 350800, '新罗区');
  2688. INSERT INTO `wk_crm_area` VALUES (350824, 350800, '武平县');
  2689. INSERT INTO `wk_crm_area` VALUES (350803, 350800, '永定区');
  2690. INSERT INTO `wk_crm_area` VALUES (350825, 350800, '连城县');
  2691. INSERT INTO `wk_crm_area` VALUES (350881, 350800, '漳平市');
  2692. INSERT INTO `wk_crm_area` VALUES (510184, 510100, '崇州市');
  2693. INSERT INTO `wk_crm_area` VALUES (510183, 510100, '邛崃市');
  2694. INSERT INTO `wk_crm_area` VALUES (510131, 510100, '蒲江县');
  2695. INSERT INTO `wk_crm_area` VALUES (510185, 510100, '简阳市');
  2696. INSERT INTO `wk_crm_area` VALUES (510121, 510100, '金堂县');
  2697. INSERT INTO `wk_crm_area` VALUES (510132, 510100, '新津县');
  2698. INSERT INTO `wk_crm_area` VALUES (510113, 510100, '青白江区');
  2699. INSERT INTO `wk_crm_area` VALUES (510112, 510100, '龙泉驿区');
  2700. INSERT INTO `wk_crm_area` VALUES (510182, 510100, '彭州市');
  2701. INSERT INTO `wk_crm_area` VALUES (510181, 510100, '都江堰市');
  2702. INSERT INTO `wk_crm_area` VALUES (510104, 510100, '锦江区');
  2703. INSERT INTO `wk_crm_area` VALUES (510115, 510100, '温江区');
  2704. INSERT INTO `wk_crm_area` VALUES (510114, 510100, '新都区');
  2705. INSERT INTO `wk_crm_area` VALUES (510106, 510100, '金牛区');
  2706. INSERT INTO `wk_crm_area` VALUES (510117, 510100, '郫都区');
  2707. INSERT INTO `wk_crm_area` VALUES (510105, 510100, '青羊区');
  2708. INSERT INTO `wk_crm_area` VALUES (510116, 510100, '双流区');
  2709. INSERT INTO `wk_crm_area` VALUES (510108, 510100, '成华区');
  2710. INSERT INTO `wk_crm_area` VALUES (510107, 510100, '武侯区');
  2711. INSERT INTO `wk_crm_area` VALUES (510129, 510100, '大邑县');
  2712. INSERT INTO `wk_crm_area` VALUES (650402, 650400, '高昌区');
  2713. INSERT INTO `wk_crm_area` VALUES (650422, 650400, '托克逊县');
  2714. INSERT INTO `wk_crm_area` VALUES (650421, 650400, '鄯善县');
  2715. INSERT INTO `wk_crm_area` VALUES (130581, 130500, '南宫市');
  2716. INSERT INTO `wk_crm_area` VALUES (130571, 130500, '河北邢台经济开发区');
  2717. INSERT INTO `wk_crm_area` VALUES (130582, 130500, '沙河市');
  2718. INSERT INTO `wk_crm_area` VALUES (130521, 130500, '邢台县');
  2719. INSERT INTO `wk_crm_area` VALUES (130532, 130500, '平乡县');
  2720. INSERT INTO `wk_crm_area` VALUES (130522, 130500, '临城县');
  2721. INSERT INTO `wk_crm_area` VALUES (130533, 130500, '威县');
  2722. INSERT INTO `wk_crm_area` VALUES (130530, 130500, '新河县');
  2723. INSERT INTO `wk_crm_area` VALUES (130531, 130500, '广宗县');
  2724. INSERT INTO `wk_crm_area` VALUES (130503, 130500, '桥西区');
  2725. INSERT INTO `wk_crm_area` VALUES (130525, 130500, '隆尧县');
  2726. INSERT INTO `wk_crm_area` VALUES (130526, 130500, '任县');
  2727. INSERT INTO `wk_crm_area` VALUES (130523, 130500, '内丘县');
  2728. INSERT INTO `wk_crm_area` VALUES (130534, 130500, '清河县');
  2729. INSERT INTO `wk_crm_area` VALUES (130502, 130500, '桥东区');
  2730. INSERT INTO `wk_crm_area` VALUES (130524, 130500, '柏乡县');
  2731. INSERT INTO `wk_crm_area` VALUES (130535, 130500, '临西县');
  2732. INSERT INTO `wk_crm_area` VALUES (130529, 130500, '巨鹿县');
  2733. INSERT INTO `wk_crm_area` VALUES (130527, 130500, '南和县');
  2734. INSERT INTO `wk_crm_area` VALUES (130528, 130500, '宁晋县');
  2735. INSERT INTO `wk_crm_area` VALUES (411625, 411600, '郸城县');
  2736. INSERT INTO `wk_crm_area` VALUES (411602, 411600, '川汇区');
  2737. INSERT INTO `wk_crm_area` VALUES (411624, 411600, '沈丘县');
  2738. INSERT INTO `wk_crm_area` VALUES (411627, 411600, '太康县');
  2739. INSERT INTO `wk_crm_area` VALUES (411626, 411600, '淮阳县');
  2740. INSERT INTO `wk_crm_area` VALUES (411621, 411600, '扶沟县');
  2741. INSERT INTO `wk_crm_area` VALUES (411623, 411600, '商水县');
  2742. INSERT INTO `wk_crm_area` VALUES (411622, 411600, '西华县');
  2743. INSERT INTO `wk_crm_area` VALUES (411671, 411600, '河南周口经济开发区');
  2744. INSERT INTO `wk_crm_area` VALUES (411628, 411600, '鹿邑县');
  2745. INSERT INTO `wk_crm_area` VALUES (411681, 411600, '项城市');
  2746. INSERT INTO `wk_crm_area` VALUES (371681, 371600, '邹平市');
  2747. INSERT INTO `wk_crm_area` VALUES (371603, 371600, '沾化区');
  2748. INSERT INTO `wk_crm_area` VALUES (371625, 371600, '博兴县');
  2749. INSERT INTO `wk_crm_area` VALUES (371622, 371600, '阳信县');
  2750. INSERT INTO `wk_crm_area` VALUES (371621, 371600, '惠民县');
  2751. INSERT INTO `wk_crm_area` VALUES (371602, 371600, '滨城区');
  2752. INSERT INTO `wk_crm_area` VALUES (371623, 371600, '无棣县');
  2753. INSERT INTO `wk_crm_area` VALUES (610730, 610700, '佛坪县');
  2754. INSERT INTO `wk_crm_area` VALUES (610728, 610700, '镇巴县');
  2755. INSERT INTO `wk_crm_area` VALUES (610729, 610700, '留坝县');
  2756. INSERT INTO `wk_crm_area` VALUES (610726, 610700, '宁强县');
  2757. INSERT INTO `wk_crm_area` VALUES (610727, 610700, '略阳县');
  2758. INSERT INTO `wk_crm_area` VALUES (610702, 610700, '汉台区');
  2759. INSERT INTO `wk_crm_area` VALUES (610724, 610700, '西乡县');
  2760. INSERT INTO `wk_crm_area` VALUES (610703, 610700, '南郑区');
  2761. INSERT INTO `wk_crm_area` VALUES (610725, 610700, '勉县');
  2762. INSERT INTO `wk_crm_area` VALUES (610722, 610700, '城固县');
  2763. INSERT INTO `wk_crm_area` VALUES (610723, 610700, '洋县');
  2764. INSERT INTO `wk_crm_area` VALUES (652722, 652700, '精河县');
  2765. INSERT INTO `wk_crm_area` VALUES (652701, 652700, '博乐市');
  2766. INSERT INTO `wk_crm_area` VALUES (652723, 652700, '温泉县');
  2767. INSERT INTO `wk_crm_area` VALUES (652702, 652700, '阿拉山口市');
  2768. INSERT INTO `wk_crm_area` VALUES (220421, 220400, '东丰县');
  2769. INSERT INTO `wk_crm_area` VALUES (220422, 220400, '东辽县');
  2770. INSERT INTO `wk_crm_area` VALUES (220403, 220400, '西安区');
  2771. INSERT INTO `wk_crm_area` VALUES (220402, 220400, '龙山区');
  2772. INSERT INTO `wk_crm_area` VALUES (230281, 230200, '讷河市');
  2773. INSERT INTO `wk_crm_area` VALUES (230204, 230200, '铁锋区');
  2774. INSERT INTO `wk_crm_area` VALUES (230203, 230200, '建华区');
  2775. INSERT INTO `wk_crm_area` VALUES (230225, 230200, '甘南县');
  2776. INSERT INTO `wk_crm_area` VALUES (230202, 230200, '龙沙区');
  2777. INSERT INTO `wk_crm_area` VALUES (230224, 230200, '泰来县');
  2778. INSERT INTO `wk_crm_area` VALUES (230223, 230200, '依安县');
  2779. INSERT INTO `wk_crm_area` VALUES (230221, 230200, '龙江县');
  2780. INSERT INTO `wk_crm_area` VALUES (230231, 230200, '拜泉县');
  2781. INSERT INTO `wk_crm_area` VALUES (230230, 230200, '克东县');
  2782. INSERT INTO `wk_crm_area` VALUES (230208, 230200, '梅里斯达斡尔族区');
  2783. INSERT INTO `wk_crm_area` VALUES (230207, 230200, '碾子山区');
  2784. INSERT INTO `wk_crm_area` VALUES (230229, 230200, '克山县');
  2785. INSERT INTO `wk_crm_area` VALUES (230206, 230200, '富拉尔基区');
  2786. INSERT INTO `wk_crm_area` VALUES (230205, 230200, '昂昂溪区');
  2787. INSERT INTO `wk_crm_area` VALUES (230227, 230200, '富裕县');
  2788. INSERT INTO `wk_crm_area` VALUES (140321, 140300, '平定县');
  2789. INSERT INTO `wk_crm_area` VALUES (140311, 140300, '郊区');
  2790. INSERT INTO `wk_crm_area` VALUES (140322, 140300, '盂县');
  2791. INSERT INTO `wk_crm_area` VALUES (140302, 140300, '城区');
  2792. INSERT INTO `wk_crm_area` VALUES (140303, 140300, '矿区');
  2793. INSERT INTO `wk_crm_area` VALUES (320904, 320900, '大丰区');
  2794. INSERT INTO `wk_crm_area` VALUES (320902, 320900, '亭湖区');
  2795. INSERT INTO `wk_crm_area` VALUES (320924, 320900, '射阳县');
  2796. INSERT INTO `wk_crm_area` VALUES (320903, 320900, '盐都区');
  2797. INSERT INTO `wk_crm_area` VALUES (320925, 320900, '建湖县');
  2798. INSERT INTO `wk_crm_area` VALUES (320922, 320900, '滨海县');
  2799. INSERT INTO `wk_crm_area` VALUES (320923, 320900, '阜宁县');
  2800. INSERT INTO `wk_crm_area` VALUES (320921, 320900, '响水县');
  2801. INSERT INTO `wk_crm_area` VALUES (320971, 320900, '盐城经济技术开发区');
  2802. INSERT INTO `wk_crm_area` VALUES (320981, 320900, '东台市');
  2803. INSERT INTO `wk_crm_area` VALUES (710900, 710000, '嘉义市');
  2804. INSERT INTO `wk_crm_area` VALUES (710800, 710000, '新竹市');
  2805. INSERT INTO `wk_crm_area` VALUES (710700, 710000, '基隆市');
  2806. INSERT INTO `wk_crm_area` VALUES (710600, 710000, '南投县');
  2807. INSERT INTO `wk_crm_area` VALUES (711700, 710000, '彰化县');
  2808. INSERT INTO `wk_crm_area` VALUES (712800, 710000, '连江县');
  2809. INSERT INTO `wk_crm_area` VALUES (711900, 710000, '嘉义县');
  2810. INSERT INTO `wk_crm_area` VALUES (710100, 710000, '台北市');
  2811. INSERT INTO `wk_crm_area` VALUES (711300, 710000, '新竹县');
  2812. INSERT INTO `wk_crm_area` VALUES (712400, 710000, '屏东县');
  2813. INSERT INTO `wk_crm_area` VALUES (711400, 710000, '桃园县');
  2814. INSERT INTO `wk_crm_area` VALUES (712500, 710000, '台东县');
  2815. INSERT INTO `wk_crm_area` VALUES (711500, 710000, '苗栗县');
  2816. INSERT INTO `wk_crm_area` VALUES (712600, 710000, '花莲县');
  2817. INSERT INTO `wk_crm_area` VALUES (712700, 710000, '澎湖县');
  2818. INSERT INTO `wk_crm_area` VALUES (710500, 710000, '金门县');
  2819. INSERT INTO `wk_crm_area` VALUES (710400, 710000, '台中市');
  2820. INSERT INTO `wk_crm_area` VALUES (712100, 710000, '云林县');
  2821. INSERT INTO `wk_crm_area` VALUES (710300, 710000, '台南市');
  2822. INSERT INTO `wk_crm_area` VALUES (711100, 710000, '新北市');
  2823. INSERT INTO `wk_crm_area` VALUES (710200, 710000, '高雄市');
  2824. INSERT INTO `wk_crm_area` VALUES (711200, 710000, '宜兰县');
  2825. INSERT INTO `wk_crm_area` VALUES (150171, 150100, '呼和浩特金海工业园区');
  2826. INSERT INTO `wk_crm_area` VALUES (150105, 150100, '赛罕区');
  2827. INSERT INTO `wk_crm_area` VALUES (150103, 150100, '回民区');
  2828. INSERT INTO `wk_crm_area` VALUES (150125, 150100, '武川县');
  2829. INSERT INTO `wk_crm_area` VALUES (150104, 150100, '玉泉区');
  2830. INSERT INTO `wk_crm_area` VALUES (150123, 150100, '和林格尔县');
  2831. INSERT INTO `wk_crm_area` VALUES (150102, 150100, '新城区');
  2832. INSERT INTO `wk_crm_area` VALUES (150124, 150100, '清水河县');
  2833. INSERT INTO `wk_crm_area` VALUES (150121, 150100, '土默特左旗');
  2834. INSERT INTO `wk_crm_area` VALUES (150122, 150100, '托克托县');
  2835. INSERT INTO `wk_crm_area` VALUES (150172, 150100, '呼和浩特经济技术开发区');
  2836. INSERT INTO `wk_crm_area` VALUES (341702, 341700, '贵池区');
  2837. INSERT INTO `wk_crm_area` VALUES (341723, 341700, '青阳县');
  2838. INSERT INTO `wk_crm_area` VALUES (341722, 341700, '石台县');
  2839. INSERT INTO `wk_crm_area` VALUES (341721, 341700, '东至县');
  2840. INSERT INTO `wk_crm_area` VALUES (620503, 620500, '麦积区');
  2841. INSERT INTO `wk_crm_area` VALUES (620525, 620500, '张家川回族自治县');
  2842. INSERT INTO `wk_crm_area` VALUES (620521, 620500, '清水县');
  2843. INSERT INTO `wk_crm_area` VALUES (620522, 620500, '秦安县');
  2844. INSERT INTO `wk_crm_area` VALUES (620523, 620500, '甘谷县');
  2845. INSERT INTO `wk_crm_area` VALUES (620502, 620500, '秦州区');
  2846. INSERT INTO `wk_crm_area` VALUES (620524, 620500, '武山县');
  2847. INSERT INTO `wk_crm_area` VALUES (360681, 360600, '贵溪市');
  2848. INSERT INTO `wk_crm_area` VALUES (360603, 360600, '余江区');
  2849. INSERT INTO `wk_crm_area` VALUES (360602, 360600, '月湖区');
  2850. INSERT INTO `wk_crm_area` VALUES (410811, 410800, '山阳区');
  2851. INSERT INTO `wk_crm_area` VALUES (410822, 410800, '博爱县');
  2852. INSERT INTO `wk_crm_area` VALUES (410821, 410800, '修武县');
  2853. INSERT INTO `wk_crm_area` VALUES (410802, 410800, '解放区');
  2854. INSERT INTO `wk_crm_area` VALUES (410823, 410800, '武陟县');
  2855. INSERT INTO `wk_crm_area` VALUES (410883, 410800, '孟州市');
  2856. INSERT INTO `wk_crm_area` VALUES (410871, 410800, '焦作城乡一体化示范区');
  2857. INSERT INTO `wk_crm_area` VALUES (410882, 410800, '沁阳市');
  2858. INSERT INTO `wk_crm_area` VALUES (410804, 410800, '马村区');
  2859. INSERT INTO `wk_crm_area` VALUES (410803, 410800, '中站区');
  2860. INSERT INTO `wk_crm_area` VALUES (410825, 410800, '温县');
  2861. INSERT INTO `wk_crm_area` VALUES (370321, 370300, '桓台县');
  2862. INSERT INTO `wk_crm_area` VALUES (370322, 370300, '高青县');
  2863. INSERT INTO `wk_crm_area` VALUES (370305, 370300, '临淄区');
  2864. INSERT INTO `wk_crm_area` VALUES (370306, 370300, '周村区');
  2865. INSERT INTO `wk_crm_area` VALUES (370323, 370300, '沂源县');
  2866. INSERT INTO `wk_crm_area` VALUES (370302, 370300, '淄川区');
  2867. INSERT INTO `wk_crm_area` VALUES (370303, 370300, '张店区');
  2868. INSERT INTO `wk_crm_area` VALUES (370304, 370300, '博山区');
  2869. INSERT INTO `wk_crm_area` VALUES (330822, 330800, '常山县');
  2870. INSERT INTO `wk_crm_area` VALUES (330802, 330800, '柯城区');
  2871. INSERT INTO `wk_crm_area` VALUES (330824, 330800, '开化县');
  2872. INSERT INTO `wk_crm_area` VALUES (330803, 330800, '衢江区');
  2873. INSERT INTO `wk_crm_area` VALUES (330825, 330800, '龙游县');
  2874. INSERT INTO `wk_crm_area` VALUES (330881, 330800, '江山市');
  2875. INSERT INTO `wk_crm_area` VALUES (511132, 511100, '峨边彝族自治县');
  2876. INSERT INTO `wk_crm_area` VALUES (511102, 511100, '市中区');
  2877. INSERT INTO `wk_crm_area` VALUES (511113, 511100, '金口河区');
  2878. INSERT INTO `wk_crm_area` VALUES (511124, 511100, '井研县');
  2879. INSERT INTO `wk_crm_area` VALUES (511111, 511100, '沙湾区');
  2880. INSERT INTO `wk_crm_area` VALUES (511133, 511100, '马边彝族自治县');
  2881. INSERT INTO `wk_crm_area` VALUES (511112, 511100, '五通桥区');
  2882. INSERT INTO `wk_crm_area` VALUES (511123, 511100, '犍为县');
  2883. INSERT INTO `wk_crm_area` VALUES (511129, 511100, '沐川县');
  2884. INSERT INTO `wk_crm_area` VALUES (511126, 511100, '夹江县');
  2885. INSERT INTO `wk_crm_area` VALUES (511181, 511100, '峨眉山市');
  2886. INSERT INTO `wk_crm_area` VALUES (513431, 513400, '昭觉县');
  2887. INSERT INTO `wk_crm_area` VALUES (513430, 513400, '金阳县');
  2888. INSERT INTO `wk_crm_area` VALUES (513424, 513400, '德昌县');
  2889. INSERT INTO `wk_crm_area` VALUES (513435, 513400, '甘洛县');
  2890. INSERT INTO `wk_crm_area` VALUES (513401, 513400, '西昌市');
  2891. INSERT INTO `wk_crm_area` VALUES (513423, 513400, '盐源县');
  2892. INSERT INTO `wk_crm_area` VALUES (513434, 513400, '越西县');
  2893. INSERT INTO `wk_crm_area` VALUES (513422, 513400, '木里藏族自治县');
  2894. INSERT INTO `wk_crm_area` VALUES (513433, 513400, '冕宁县');
  2895. INSERT INTO `wk_crm_area` VALUES (513432, 513400, '喜德县');
  2896. INSERT INTO `wk_crm_area` VALUES (513428, 513400, '普格县');
  2897. INSERT INTO `wk_crm_area` VALUES (513427, 513400, '宁南县');
  2898. INSERT INTO `wk_crm_area` VALUES (513426, 513400, '会东县');
  2899. INSERT INTO `wk_crm_area` VALUES (513437, 513400, '雷波县');
  2900. INSERT INTO `wk_crm_area` VALUES (513425, 513400, '会理县');
  2901. INSERT INTO `wk_crm_area` VALUES (513436, 513400, '美姑县');
  2902. INSERT INTO `wk_crm_area` VALUES (513429, 513400, '布拖县');
  2903. INSERT INTO `wk_crm_area` VALUES (441303, 441300, '惠阳区');
  2904. INSERT INTO `wk_crm_area` VALUES (441302, 441300, '惠城区');
  2905. INSERT INTO `wk_crm_area` VALUES (441324, 441300, '龙门县');
  2906. INSERT INTO `wk_crm_area` VALUES (441323, 441300, '惠东县');
  2907. INSERT INTO `wk_crm_area` VALUES (441322, 441300, '博罗县');
  2908. INSERT INTO `wk_crm_area` VALUES (420684, 420600, '宜城市');
  2909. INSERT INTO `wk_crm_area` VALUES (420625, 420600, '谷城县');
  2910. INSERT INTO `wk_crm_area` VALUES (420602, 420600, '襄城区');
  2911. INSERT INTO `wk_crm_area` VALUES (420624, 420600, '南漳县');
  2912. INSERT INTO `wk_crm_area` VALUES (420607, 420600, '襄州区');
  2913. INSERT INTO `wk_crm_area` VALUES (420606, 420600, '樊城区');
  2914. INSERT INTO `wk_crm_area` VALUES (420626, 420600, '保康县');
  2915. INSERT INTO `wk_crm_area` VALUES (420683, 420600, '枣阳市');
  2916. INSERT INTO `wk_crm_area` VALUES (420682, 420600, '老河口市');
  2917. INSERT INTO `wk_crm_area` VALUES (711490, 711400, '杨梅市');
  2918. INSERT INTO `wk_crm_area` VALUES (711491, 711400, '新屋乡');
  2919. INSERT INTO `wk_crm_area` VALUES (711492, 711400, '观音乡');
  2920. INSERT INTO `wk_crm_area` VALUES (711493, 711400, '桃园市');
  2921. INSERT INTO `wk_crm_area` VALUES (711487, 711400, '中坜市');
  2922. INSERT INTO `wk_crm_area` VALUES (711498, 711400, '大园乡');
  2923. INSERT INTO `wk_crm_area` VALUES (711488, 711400, '平镇市');
  2924. INSERT INTO `wk_crm_area` VALUES (711499, 711400, '芦竹乡');
  2925. INSERT INTO `wk_crm_area` VALUES (711489, 711400, '龙潭乡');
  2926. INSERT INTO `wk_crm_area` VALUES (711494, 711400, '龟山乡');
  2927. INSERT INTO `wk_crm_area` VALUES (711495, 711400, '八德市');
  2928. INSERT INTO `wk_crm_area` VALUES (711496, 711400, '大溪镇');
  2929. INSERT INTO `wk_crm_area` VALUES (711497, 711400, '复兴乡');
  2930. INSERT INTO `wk_crm_area` VALUES (231281, 231200, '安达市');
  2931. INSERT INTO `wk_crm_area` VALUES (231282, 231200, '肇东市');
  2932. INSERT INTO `wk_crm_area` VALUES (231283, 231200, '海伦市');
  2933. INSERT INTO `wk_crm_area` VALUES (231221, 231200, '望奎县');
  2934. INSERT INTO `wk_crm_area` VALUES (231222, 231200, '兰西县');
  2935. INSERT INTO `wk_crm_area` VALUES (231223, 231200, '青冈县');
  2936. INSERT INTO `wk_crm_area` VALUES (231202, 231200, '北林区');
  2937. INSERT INTO `wk_crm_area` VALUES (231224, 231200, '庆安县');
  2938. INSERT INTO `wk_crm_area` VALUES (231225, 231200, '明水县');
  2939. INSERT INTO `wk_crm_area` VALUES (231226, 231200, '绥棱县');
  2940. INSERT INTO `wk_crm_area` VALUES (640522, 640500, '海原县');
  2941. INSERT INTO `wk_crm_area` VALUES (640521, 640500, '中宁县');
  2942. INSERT INTO `wk_crm_area` VALUES (640502, 640500, '沙坡头区');
  2943. INSERT INTO `wk_crm_area` VALUES (451103, 451100, '平桂区');
  2944. INSERT INTO `wk_crm_area` VALUES (451122, 451100, '钟山县');
  2945. INSERT INTO `wk_crm_area` VALUES (451121, 451100, '昭平县');
  2946. INSERT INTO `wk_crm_area` VALUES (451102, 451100, '八步区');
  2947. INSERT INTO `wk_crm_area` VALUES (451123, 451100, '富川瑶族自治县');
  2948. INSERT INTO `wk_crm_area` VALUES (340603, 340600, '相山区');
  2949. INSERT INTO `wk_crm_area` VALUES (340604, 340600, '烈山区');
  2950. INSERT INTO `wk_crm_area` VALUES (340602, 340600, '杜集区');
  2951. INSERT INTO `wk_crm_area` VALUES (340621, 340600, '濉溪县');
  2952. INSERT INTO `wk_crm_area` VALUES (210505, 210500, '南芬区');
  2953. INSERT INTO `wk_crm_area` VALUES (210504, 210500, '明山区');
  2954. INSERT INTO `wk_crm_area` VALUES (210521, 210500, '本溪满族自治县');
  2955. INSERT INTO `wk_crm_area` VALUES (210503, 210500, '溪湖区');
  2956. INSERT INTO `wk_crm_area` VALUES (210502, 210500, '平山区');
  2957. INSERT INTO `wk_crm_area` VALUES (210522, 210500, '桓仁满族自治县');
  2958. INSERT INTO `wk_crm_area` VALUES (350721, 350700, '顺昌县');
  2959. INSERT INTO `wk_crm_area` VALUES (350722, 350700, '浦城县');
  2960. INSERT INTO `wk_crm_area` VALUES (350723, 350700, '光泽县');
  2961. INSERT INTO `wk_crm_area` VALUES (350702, 350700, '延平区');
  2962. INSERT INTO `wk_crm_area` VALUES (350724, 350700, '松溪县');
  2963. INSERT INTO `wk_crm_area` VALUES (350703, 350700, '建阳区');
  2964. INSERT INTO `wk_crm_area` VALUES (350725, 350700, '政和县');
  2965. INSERT INTO `wk_crm_area` VALUES (350781, 350700, '邵武市');
  2966. INSERT INTO `wk_crm_area` VALUES (350782, 350700, '武夷山市');
  2967. INSERT INTO `wk_crm_area` VALUES (350783, 350700, '建瓯市');
  2968. INSERT INTO `wk_crm_area` VALUES (430422, 430400, '衡南县');
  2969. INSERT INTO `wk_crm_area` VALUES (430421, 430400, '衡阳县');
  2970. INSERT INTO `wk_crm_area` VALUES (430424, 430400, '衡东县');
  2971. INSERT INTO `wk_crm_area` VALUES (430412, 430400, '南岳区');
  2972. INSERT INTO `wk_crm_area` VALUES (430423, 430400, '衡山县');
  2973. INSERT INTO `wk_crm_area` VALUES (430426, 430400, '祁东县');
  2974. INSERT INTO `wk_crm_area` VALUES (430406, 430400, '雁峰区');
  2975. INSERT INTO `wk_crm_area` VALUES (430405, 430400, '珠晖区');
  2976. INSERT INTO `wk_crm_area` VALUES (430408, 430400, '蒸湘区');
  2977. INSERT INTO `wk_crm_area` VALUES (430407, 430400, '石鼓区');
  2978. INSERT INTO `wk_crm_area` VALUES (430471, 430400, '衡阳综合保税区');
  2979. INSERT INTO `wk_crm_area` VALUES (430482, 430400, '常宁市');
  2980. INSERT INTO `wk_crm_area` VALUES (430481, 430400, '耒阳市');
  2981. INSERT INTO `wk_crm_area` VALUES (430473, 430400, '湖南衡阳松木经济开发区');
  2982. INSERT INTO `wk_crm_area` VALUES (430472, 430400, '湖南衡阳高新技术产业园区');
  2983. INSERT INTO `wk_crm_area` VALUES (512000, 510000, '资阳市');
  2984. INSERT INTO `wk_crm_area` VALUES (513200, 510000, '阿坝藏族羌族自治州');
  2985. INSERT INTO `wk_crm_area` VALUES (511000, 510000, '内江市');
  2986. INSERT INTO `wk_crm_area` VALUES (510100, 510000, '成都市');
  2987. INSERT INTO `wk_crm_area` VALUES (511300, 510000, '南充市');
  2988. INSERT INTO `wk_crm_area` VALUES (511400, 510000, '眉山市');
  2989. INSERT INTO `wk_crm_area` VALUES (510300, 510000, '自贡市');
  2990. INSERT INTO `wk_crm_area` VALUES (511100, 510000, '乐山市');
  2991. INSERT INTO `wk_crm_area` VALUES (513400, 510000, '凉山彝族自治州');
  2992. INSERT INTO `wk_crm_area` VALUES (513300, 510000, '甘孜藏族自治州');
  2993. INSERT INTO `wk_crm_area` VALUES (510500, 510000, '泸州市');
  2994. INSERT INTO `wk_crm_area` VALUES (511700, 510000, '达州市');
  2995. INSERT INTO `wk_crm_area` VALUES (510400, 510000, '攀枝花市');
  2996. INSERT INTO `wk_crm_area` VALUES (511800, 510000, '雅安市');
  2997. INSERT INTO `wk_crm_area` VALUES (510700, 510000, '绵阳市');
  2998. INSERT INTO `wk_crm_area` VALUES (511500, 510000, '宜宾市');
  2999. INSERT INTO `wk_crm_area` VALUES (510600, 510000, '德阳市');
  3000. INSERT INTO `wk_crm_area` VALUES (511600, 510000, '广安市');
  3001. INSERT INTO `wk_crm_area` VALUES (510800, 510000, '广元市');
  3002. INSERT INTO `wk_crm_area` VALUES (511900, 510000, '巴中市');
  3003. INSERT INTO `wk_crm_area` VALUES (510900, 510000, '遂宁市');
  3004. INSERT INTO `wk_crm_area` VALUES (130881, 130800, '平泉市');
  3005. INSERT INTO `wk_crm_area` VALUES (130828, 130800, '围场满族蒙古族自治县');
  3006. INSERT INTO `wk_crm_area` VALUES (130871, 130800, '承德高新技术产业开发区');
  3007. INSERT INTO `wk_crm_area` VALUES (130822, 130800, '兴隆县');
  3008. INSERT INTO `wk_crm_area` VALUES (130821, 130800, '承德县');
  3009. INSERT INTO `wk_crm_area` VALUES (130804, 130800, '鹰手营子矿区');
  3010. INSERT INTO `wk_crm_area` VALUES (130826, 130800, '丰宁满族自治县');
  3011. INSERT INTO `wk_crm_area` VALUES (130827, 130800, '宽城满族自治县');
  3012. INSERT INTO `wk_crm_area` VALUES (130802, 130800, '双桥区');
  3013. INSERT INTO `wk_crm_area` VALUES (130824, 130800, '滦平县');
  3014. INSERT INTO `wk_crm_area` VALUES (130803, 130800, '双滦区');
  3015. INSERT INTO `wk_crm_area` VALUES (130825, 130800, '隆化县');
  3016. INSERT INTO `wk_crm_area` VALUES (220382, 220300, '双辽市');
  3017. INSERT INTO `wk_crm_area` VALUES (220381, 220300, '公主岭市');
  3018. INSERT INTO `wk_crm_area` VALUES (220322, 220300, '梨树县');
  3019. INSERT INTO `wk_crm_area` VALUES (220302, 220300, '铁西区');
  3020. INSERT INTO `wk_crm_area` VALUES (220323, 220300, '伊通满族自治县');
  3021. INSERT INTO `wk_crm_area` VALUES (220303, 220300, '铁东区');
  3022. INSERT INTO `wk_crm_area` VALUES (371521, 371500, '阳谷县');
  3023. INSERT INTO `wk_crm_area` VALUES (371581, 371500, '临清市');
  3024. INSERT INTO `wk_crm_area` VALUES (371526, 371500, '高唐县');
  3025. INSERT INTO `wk_crm_area` VALUES (371523, 371500, '茌平县');
  3026. INSERT INTO `wk_crm_area` VALUES (371522, 371500, '莘县');
  3027. INSERT INTO `wk_crm_area` VALUES (371525, 371500, '冠县');
  3028. INSERT INTO `wk_crm_area` VALUES (371502, 371500, '东昌府区');
  3029. INSERT INTO `wk_crm_area` VALUES (371524, 371500, '东阿县');
  3030. INSERT INTO `wk_crm_area` VALUES (440282, 440200, '南雄市');
  3031. INSERT INTO `wk_crm_area` VALUES (440281, 440200, '乐昌市');
  3032. INSERT INTO `wk_crm_area` VALUES (440229, 440200, '翁源县');
  3033. INSERT INTO `wk_crm_area` VALUES (440205, 440200, '曲江区');
  3034. INSERT INTO `wk_crm_area` VALUES (440204, 440200, '浈江区');
  3035. INSERT INTO `wk_crm_area` VALUES (440203, 440200, '武江区');
  3036. INSERT INTO `wk_crm_area` VALUES (440224, 440200, '仁化县');
  3037. INSERT INTO `wk_crm_area` VALUES (440222, 440200, '始兴县');
  3038. INSERT INTO `wk_crm_area` VALUES (440233, 440200, '新丰县');
  3039. INSERT INTO `wk_crm_area` VALUES (440232, 440200, '乳源瑶族自治县');
  3040. INSERT INTO `wk_crm_area` VALUES (610881, 610800, '神木市');
  3041. INSERT INTO `wk_crm_area` VALUES (610829, 610800, '吴堡县');
  3042. INSERT INTO `wk_crm_area` VALUES (610827, 610800, '米脂县');
  3043. INSERT INTO `wk_crm_area` VALUES (610828, 610800, '佳县');
  3044. INSERT INTO `wk_crm_area` VALUES (610803, 610800, '横山区');
  3045. INSERT INTO `wk_crm_area` VALUES (610825, 610800, '定边县');
  3046. INSERT INTO `wk_crm_area` VALUES (610826, 610800, '绥德县');
  3047. INSERT INTO `wk_crm_area` VALUES (610802, 610800, '榆阳区');
  3048. INSERT INTO `wk_crm_area` VALUES (610824, 610800, '靖边县');
  3049. INSERT INTO `wk_crm_area` VALUES (610822, 610800, '府谷县');
  3050. INSERT INTO `wk_crm_area` VALUES (610830, 610800, '清涧县');
  3051. INSERT INTO `wk_crm_area` VALUES (610831, 610800, '子洲县');
  3052. INSERT INTO `wk_crm_area` VALUES (341825, 341800, '旌德县');
  3053. INSERT INTO `wk_crm_area` VALUES (341802, 341800, '宣州区');
  3054. INSERT INTO `wk_crm_area` VALUES (341824, 341800, '绩溪县');
  3055. INSERT INTO `wk_crm_area` VALUES (341823, 341800, '泾县');
  3056. INSERT INTO `wk_crm_area` VALUES (341822, 341800, '广德县');
  3057. INSERT INTO `wk_crm_area` VALUES (341871, 341800, '宣城市经济开发区');
  3058. INSERT INTO `wk_crm_area` VALUES (341881, 341800, '宁国市');
  3059. INSERT INTO `wk_crm_area` VALUES (341821, 341800, '郎溪县');
  3060. INSERT INTO `wk_crm_area` VALUES (230184, 230100, '五常市');
  3061. INSERT INTO `wk_crm_area` VALUES (230183, 230100, '尚志市');
  3062. INSERT INTO `wk_crm_area` VALUES (230127, 230100, '木兰县');
  3063. INSERT INTO `wk_crm_area` VALUES (230104, 230100, '道外区');
  3064. INSERT INTO `wk_crm_area` VALUES (230126, 230100, '巴彦县');
  3065. INSERT INTO `wk_crm_area` VALUES (230103, 230100, '南岗区');
  3066. INSERT INTO `wk_crm_area` VALUES (230125, 230100, '宾县');
  3067. INSERT INTO `wk_crm_area` VALUES (230102, 230100, '道里区');
  3068. INSERT INTO `wk_crm_area` VALUES (230113, 230100, '双城区');
  3069. INSERT INTO `wk_crm_area` VALUES (230124, 230100, '方正县');
  3070. INSERT INTO `wk_crm_area` VALUES (230112, 230100, '阿城区');
  3071. INSERT INTO `wk_crm_area` VALUES (230123, 230100, '依兰县');
  3072. INSERT INTO `wk_crm_area` VALUES (230111, 230100, '呼兰区');
  3073. INSERT INTO `wk_crm_area` VALUES (230110, 230100, '香坊区');
  3074. INSERT INTO `wk_crm_area` VALUES (230109, 230100, '松北区');
  3075. INSERT INTO `wk_crm_area` VALUES (230108, 230100, '平房区');
  3076. INSERT INTO `wk_crm_area` VALUES (230129, 230100, '延寿县');
  3077. INSERT INTO `wk_crm_area` VALUES (230128, 230100, '通河县');
  3078. INSERT INTO `wk_crm_area` VALUES (150428, 150400, '喀喇沁旗');
  3079. INSERT INTO `wk_crm_area` VALUES (150429, 150400, '宁城县');
  3080. INSERT INTO `wk_crm_area` VALUES (150404, 150400, '松山区');
  3081. INSERT INTO `wk_crm_area` VALUES (150426, 150400, '翁牛特旗');
  3082. INSERT INTO `wk_crm_area` VALUES (150402, 150400, '红山区');
  3083. INSERT INTO `wk_crm_area` VALUES (150424, 150400, '林西县');
  3084. INSERT INTO `wk_crm_area` VALUES (150403, 150400, '元宝山区');
  3085. INSERT INTO `wk_crm_area` VALUES (150425, 150400, '克什克腾旗');
  3086. INSERT INTO `wk_crm_area` VALUES (150422, 150400, '巴林左旗');
  3087. INSERT INTO `wk_crm_area` VALUES (150423, 150400, '巴林右旗');
  3088. INSERT INTO `wk_crm_area` VALUES (150421, 150400, '阿鲁科尔沁旗');
  3089. INSERT INTO `wk_crm_area` VALUES (150430, 150400, '敖汉旗');
  3090. INSERT INTO `wk_crm_area` VALUES (500231, 500200, '垫江县');
  3091. INSERT INTO `wk_crm_area` VALUES (500242, 500200, '酉阳土家族苗族自治县');
  3092. INSERT INTO `wk_crm_area` VALUES (500230, 500200, '丰都县');
  3093. INSERT INTO `wk_crm_area` VALUES (500241, 500200, '秀山土家族苗族自治县');
  3094. INSERT INTO `wk_crm_area` VALUES (500240, 500200, '石柱土家族自治县');
  3095. INSERT INTO `wk_crm_area` VALUES (500235, 500200, '云阳县');
  3096. INSERT INTO `wk_crm_area` VALUES (500233, 500200, '忠县');
  3097. INSERT INTO `wk_crm_area` VALUES (500243, 500200, '彭水苗族土家族自治县');
  3098. INSERT INTO `wk_crm_area` VALUES (500238, 500200, '巫溪县');
  3099. INSERT INTO `wk_crm_area` VALUES (500237, 500200, '巫山县');
  3100. INSERT INTO `wk_crm_area` VALUES (500236, 500200, '奉节县');
  3101. INSERT INTO `wk_crm_area` VALUES (500229, 500200, '城口县');
  3102. INSERT INTO `wk_crm_area` VALUES (140681, 140600, '怀仁市');
  3103. INSERT INTO `wk_crm_area` VALUES (140671, 140600, '山西朔州经济开发区');
  3104. INSERT INTO `wk_crm_area` VALUES (140621, 140600, '山阴县');
  3105. INSERT INTO `wk_crm_area` VALUES (140622, 140600, '应县');
  3106. INSERT INTO `wk_crm_area` VALUES (140623, 140600, '右玉县');
  3107. INSERT INTO `wk_crm_area` VALUES (140602, 140600, '朔城区');
  3108. INSERT INTO `wk_crm_area` VALUES (140603, 140600, '平鲁区');
  3109. INSERT INTO `wk_crm_area` VALUES (712690, 712600, '吉安乡');
  3110. INSERT INTO `wk_crm_area` VALUES (712691, 712600, '寿丰乡');
  3111. INSERT INTO `wk_crm_area` VALUES (712692, 712600, '凤林镇');
  3112. INSERT INTO `wk_crm_area` VALUES (712686, 712600, '花莲市');
  3113. INSERT INTO `wk_crm_area` VALUES (712697, 712600, '玉里镇');
  3114. INSERT INTO `wk_crm_area` VALUES (712687, 712600, '新城乡');
  3115. INSERT INTO `wk_crm_area` VALUES (712698, 712600, '卓溪乡');
  3116. INSERT INTO `wk_crm_area` VALUES (712688, 712600, '太鲁阁');
  3117. INSERT INTO `wk_crm_area` VALUES (712699, 712600, '富里乡');
  3118. INSERT INTO `wk_crm_area` VALUES (712689, 712600, '秀林乡');
  3119. INSERT INTO `wk_crm_area` VALUES (712693, 712600, '光复乡');
  3120. INSERT INTO `wk_crm_area` VALUES (712694, 712600, '丰滨乡');
  3121. INSERT INTO `wk_crm_area` VALUES (712695, 712600, '瑞穗乡');
  3122. INSERT INTO `wk_crm_area` VALUES (712696, 712600, '万荣乡');
  3123. INSERT INTO `wk_crm_area` VALUES (450800, 450000, '贵港市');
  3124. INSERT INTO `wk_crm_area` VALUES (450700, 450000, '钦州市');
  3125. INSERT INTO `wk_crm_area` VALUES (450900, 450000, '玉林市');
  3126. INSERT INTO `wk_crm_area` VALUES (450400, 450000, '梧州市');
  3127. INSERT INTO `wk_crm_area` VALUES (450300, 450000, '桂林市');
  3128. INSERT INTO `wk_crm_area` VALUES (451400, 450000, '崇左市');
  3129. INSERT INTO `wk_crm_area` VALUES (450600, 450000, '防城港市');
  3130. INSERT INTO `wk_crm_area` VALUES (450500, 450000, '北海市');
  3131. INSERT INTO `wk_crm_area` VALUES (451100, 450000, '贺州市');
  3132. INSERT INTO `wk_crm_area` VALUES (451000, 450000, '百色市');
  3133. INSERT INTO `wk_crm_area` VALUES (450200, 450000, '柳州市');
  3134. INSERT INTO `wk_crm_area` VALUES (451300, 450000, '来宾市');
  3135. INSERT INTO `wk_crm_area` VALUES (450100, 450000, '南宁市');
  3136. INSERT INTO `wk_crm_area` VALUES (451200, 450000, '河池市');
  3137. INSERT INTO `wk_crm_area` VALUES (659004, 659000, '五家渠市');
  3138. INSERT INTO `wk_crm_area` VALUES (659003, 659000, '图木舒克市');
  3139. INSERT INTO `wk_crm_area` VALUES (659002, 659000, '阿拉尔市');
  3140. INSERT INTO `wk_crm_area` VALUES (659006, 659000, '铁门关市');
  3141. INSERT INTO `wk_crm_area` VALUES (659001, 659000, '石河子市');
  3142. INSERT INTO `wk_crm_area` VALUES (360521, 360500, '分宜县');
  3143. INSERT INTO `wk_crm_area` VALUES (360502, 360500, '渝水区');
  3144. INSERT INTO `wk_crm_area` VALUES (620602, 620600, '凉州区');
  3145. INSERT INTO `wk_crm_area` VALUES (620621, 620600, '民勤县');
  3146. INSERT INTO `wk_crm_area` VALUES (620622, 620600, '古浪县');
  3147. INSERT INTO `wk_crm_area` VALUES (620623, 620600, '天祝藏族自治县');
  3148. INSERT INTO `wk_crm_area` VALUES (622927, 622900, '积石山保安族东乡族撒拉族自治县');
  3149. INSERT INTO `wk_crm_area` VALUES (622924, 622900, '广河县');
  3150. INSERT INTO `wk_crm_area` VALUES (622901, 622900, '临夏市');
  3151. INSERT INTO `wk_crm_area` VALUES (622923, 622900, '永靖县');
  3152. INSERT INTO `wk_crm_area` VALUES (622926, 622900, '东乡族自治县');
  3153. INSERT INTO `wk_crm_area` VALUES (622925, 622900, '和政县');
  3154. INSERT INTO `wk_crm_area` VALUES (622922, 622900, '康乐县');
  3155. INSERT INTO `wk_crm_area` VALUES (622921, 622900, '临夏县');
  3156. INSERT INTO `wk_crm_area` VALUES (710306, 710300, '安南区');
  3157. INSERT INTO `wk_crm_area` VALUES (710305, 710300, '安平区');
  3158. INSERT INTO `wk_crm_area` VALUES (710349, 710300, '官田区');
  3159. INSERT INTO `wk_crm_area` VALUES (710304, 710300, '北区');
  3160. INSERT INTO `wk_crm_area` VALUES (710348, 710300, '龙崎区');
  3161. INSERT INTO `wk_crm_area` VALUES (710303, 710300, '南区');
  3162. INSERT INTO `wk_crm_area` VALUES (710347, 710300, '关庙区');
  3163. INSERT INTO `wk_crm_area` VALUES (710369, 710300, '安定区');
  3164. INSERT INTO `wk_crm_area` VALUES (710353, 710300, '七股区');
  3165. INSERT INTO `wk_crm_area` VALUES (710352, 710300, '西港区');
  3166. INSERT INTO `wk_crm_area` VALUES (710351, 710300, '佳里区');
  3167. INSERT INTO `wk_crm_area` VALUES (710350, 710300, '麻豆区');
  3168. INSERT INTO `wk_crm_area` VALUES (710357, 710300, '新营区');
  3169. INSERT INTO `wk_crm_area` VALUES (710356, 710300, '北门区');
  3170. INSERT INTO `wk_crm_area` VALUES (710355, 710300, '学甲区');
  3171. INSERT INTO `wk_crm_area` VALUES (710399, 710300, '其它区');
  3172. INSERT INTO `wk_crm_area` VALUES (710354, 710300, '将军区');
  3173. INSERT INTO `wk_crm_area` VALUES (710339, 710300, '永康区');
  3174. INSERT INTO `wk_crm_area` VALUES (710359, 710300, '白河区');
  3175. INSERT INTO `wk_crm_area` VALUES (710358, 710300, '后壁区');
  3176. INSERT INTO `wk_crm_area` VALUES (710360, 710300, '东山区');
  3177. INSERT INTO `wk_crm_area` VALUES (710342, 710300, '左镇区');
  3178. INSERT INTO `wk_crm_area` VALUES (710364, 710300, '盐水区');
  3179. INSERT INTO `wk_crm_area` VALUES (710341, 710300, '新化区');
  3180. INSERT INTO `wk_crm_area` VALUES (710363, 710300, '柳营区');
  3181. INSERT INTO `wk_crm_area` VALUES (710340, 710300, '归仁区');
  3182. INSERT INTO `wk_crm_area` VALUES (710362, 710300, '下营区');
  3183. INSERT INTO `wk_crm_area` VALUES (710361, 710300, '六甲区');
  3184. INSERT INTO `wk_crm_area` VALUES (710302, 710300, '东区');
  3185. INSERT INTO `wk_crm_area` VALUES (710346, 710300, '仁德区');
  3186. INSERT INTO `wk_crm_area` VALUES (710368, 710300, '新市区');
  3187. INSERT INTO `wk_crm_area` VALUES (710301, 710300, '中西区');
  3188. INSERT INTO `wk_crm_area` VALUES (710345, 710300, '南化区');
  3189. INSERT INTO `wk_crm_area` VALUES (710367, 710300, '山上区');
  3190. INSERT INTO `wk_crm_area` VALUES (710344, 710300, '楠西区');
  3191. INSERT INTO `wk_crm_area` VALUES (710366, 710300, '大内区');
  3192. INSERT INTO `wk_crm_area` VALUES (710343, 710300, '玉井区');
  3193. INSERT INTO `wk_crm_area` VALUES (710365, 710300, '善化区');
  3194. INSERT INTO `wk_crm_area` VALUES (410711, 410700, '牧野区');
  3195. INSERT INTO `wk_crm_area` VALUES (410703, 410700, '卫滨区');
  3196. INSERT INTO `wk_crm_area` VALUES (410725, 410700, '原阳县');
  3197. INSERT INTO `wk_crm_area` VALUES (410702, 410700, '红旗区');
  3198. INSERT INTO `wk_crm_area` VALUES (410724, 410700, '获嘉县');
  3199. INSERT INTO `wk_crm_area` VALUES (410773, 410700, '新乡市平原城乡一体化示范区');
  3200. INSERT INTO `wk_crm_area` VALUES (410721, 410700, '新乡县');
  3201. INSERT INTO `wk_crm_area` VALUES (410727, 410700, '封丘县');
  3202. INSERT INTO `wk_crm_area` VALUES (410704, 410700, '凤泉区');
  3203. INSERT INTO `wk_crm_area` VALUES (410726, 410700, '延津县');
  3204. INSERT INTO `wk_crm_area` VALUES (410728, 410700, '长垣县');
  3205. INSERT INTO `wk_crm_area` VALUES (410781, 410700, '卫辉市');
  3206. INSERT INTO `wk_crm_area` VALUES (410772, 410700, '新乡经济技术开发区');
  3207. INSERT INTO `wk_crm_area` VALUES (410771, 410700, '新乡高新技术产业开发区');
  3208. INSERT INTO `wk_crm_area` VALUES (410782, 410700, '辉县市');
  3209. INSERT INTO `wk_crm_area` VALUES (511011, 511000, '东兴区');
  3210. INSERT INTO `wk_crm_area` VALUES (511025, 511000, '资中县');
  3211. INSERT INTO `wk_crm_area` VALUES (511002, 511000, '市中区');
  3212. INSERT INTO `wk_crm_area` VALUES (511024, 511000, '威远县');
  3213. INSERT INTO `wk_crm_area` VALUES (511083, 511000, '隆昌市');
  3214. INSERT INTO `wk_crm_area` VALUES (511071, 511000, '内江经济开发区');
  3215. INSERT INTO `wk_crm_area` VALUES (370211, 370200, '黄岛区');
  3216. INSERT INTO `wk_crm_area` VALUES (370212, 370200, '崂山区');
  3217. INSERT INTO `wk_crm_area` VALUES (370271, 370200, '青岛高新技术产业开发区');
  3218. INSERT INTO `wk_crm_area` VALUES (370283, 370200, '平度市');
  3219. INSERT INTO `wk_crm_area` VALUES (370285, 370200, '莱西市');
  3220. INSERT INTO `wk_crm_area` VALUES (370281, 370200, '胶州市');
  3221. INSERT INTO `wk_crm_area` VALUES (370202, 370200, '市南区');
  3222. INSERT INTO `wk_crm_area` VALUES (370213, 370200, '李沧区');
  3223. INSERT INTO `wk_crm_area` VALUES (370203, 370200, '市北区');
  3224. INSERT INTO `wk_crm_area` VALUES (370214, 370200, '城阳区');
  3225. INSERT INTO `wk_crm_area` VALUES (370215, 370200, '即墨区');
  3226. INSERT INTO `wk_crm_area` VALUES (330903, 330900, '普陀区');
  3227. INSERT INTO `wk_crm_area` VALUES (330921, 330900, '岱山县');
  3228. INSERT INTO `wk_crm_area` VALUES (330922, 330900, '嵊泗县');
  3229. INSERT INTO `wk_crm_area` VALUES (330902, 330900, '定海区');
  3230. INSERT INTO `wk_crm_area` VALUES (513332, 513300, '石渠县');
  3231. INSERT INTO `wk_crm_area` VALUES (513331, 513300, '白玉县');
  3232. INSERT INTO `wk_crm_area` VALUES (513330, 513300, '德格县');
  3233. INSERT INTO `wk_crm_area` VALUES (513325, 513300, '雅江县');
  3234. INSERT INTO `wk_crm_area` VALUES (513336, 513300, '乡城县');
  3235. INSERT INTO `wk_crm_area` VALUES (513324, 513300, '九龙县');
  3236. INSERT INTO `wk_crm_area` VALUES (513335, 513300, '巴塘县');
  3237. INSERT INTO `wk_crm_area` VALUES (513301, 513300, '康定市');
  3238. INSERT INTO `wk_crm_area` VALUES (513323, 513300, '丹巴县');
  3239. INSERT INTO `wk_crm_area` VALUES (513334, 513300, '理塘县');
  3240. INSERT INTO `wk_crm_area` VALUES (513322, 513300, '泸定县');
  3241. INSERT INTO `wk_crm_area` VALUES (513333, 513300, '色达县');
  3242. INSERT INTO `wk_crm_area` VALUES (513329, 513300, '新龙县');
  3243. INSERT INTO `wk_crm_area` VALUES (513328, 513300, '甘孜县');
  3244. INSERT INTO `wk_crm_area` VALUES (513327, 513300, '炉霍县');
  3245. INSERT INTO `wk_crm_area` VALUES (513338, 513300, '得荣县');
  3246. INSERT INTO `wk_crm_area` VALUES (513326, 513300, '道孚县');
  3247. INSERT INTO `wk_crm_area` VALUES (513337, 513300, '稻城县');
  3248. INSERT INTO `wk_crm_area` VALUES (441284, 441200, '四会市');
  3249. INSERT INTO `wk_crm_area` VALUES (441204, 441200, '高要区');
  3250. INSERT INTO `wk_crm_area` VALUES (441226, 441200, '德庆县');
  3251. INSERT INTO `wk_crm_area` VALUES (441203, 441200, '鼎湖区');
  3252. INSERT INTO `wk_crm_area` VALUES (441225, 441200, '封开县');
  3253. INSERT INTO `wk_crm_area` VALUES (441202, 441200, '端州区');
  3254. INSERT INTO `wk_crm_area` VALUES (441224, 441200, '怀集县');
  3255. INSERT INTO `wk_crm_area` VALUES (441223, 441200, '广宁县');
  3256. INSERT INTO `wk_crm_area` VALUES (420583, 420500, '枝江市');
  3257. INSERT INTO `wk_crm_area` VALUES (420582, 420500, '当阳市');
  3258. INSERT INTO `wk_crm_area` VALUES (420581, 420500, '宜都市');
  3259. INSERT INTO `wk_crm_area` VALUES (420504, 420500, '点军区');
  3260. INSERT INTO `wk_crm_area` VALUES (420526, 420500, '兴山县');
  3261. INSERT INTO `wk_crm_area` VALUES (420503, 420500, '伍家岗区');
  3262. INSERT INTO `wk_crm_area` VALUES (420525, 420500, '远安县');
  3263. INSERT INTO `wk_crm_area` VALUES (420502, 420500, '西陵区');
  3264. INSERT INTO `wk_crm_area` VALUES (420529, 420500, '五峰土家族自治县');
  3265. INSERT INTO `wk_crm_area` VALUES (420506, 420500, '夷陵区');
  3266. INSERT INTO `wk_crm_area` VALUES (420528, 420500, '长阳土家族自治县');
  3267. INSERT INTO `wk_crm_area` VALUES (420505, 420500, '猇亭区');
  3268. INSERT INTO `wk_crm_area` VALUES (420527, 420500, '秭归县');
  3269. INSERT INTO `wk_crm_area` VALUES (422822, 422800, '建始县');
  3270. INSERT INTO `wk_crm_area` VALUES (422801, 422800, '恩施市');
  3271. INSERT INTO `wk_crm_area` VALUES (422823, 422800, '巴东县');
  3272. INSERT INTO `wk_crm_area` VALUES (422802, 422800, '利川市');
  3273. INSERT INTO `wk_crm_area` VALUES (422825, 422800, '宣恩县');
  3274. INSERT INTO `wk_crm_area` VALUES (422826, 422800, '咸丰县');
  3275. INSERT INTO `wk_crm_area` VALUES (422827, 422800, '来凤县');
  3276. INSERT INTO `wk_crm_area` VALUES (422828, 422800, '鹤峰县');
  3277. INSERT INTO `wk_crm_area` VALUES (340711, 340700, '郊区');
  3278. INSERT INTO `wk_crm_area` VALUES (340722, 340700, '枞阳县');
  3279. INSERT INTO `wk_crm_area` VALUES (340706, 340700, '义安区');
  3280. INSERT INTO `wk_crm_area` VALUES (340705, 340700, '铜官区');
  3281. INSERT INTO `wk_crm_area` VALUES (210411, 210400, '顺城区');
  3282. INSERT INTO `wk_crm_area` VALUES (210422, 210400, '新宾满族自治县');
  3283. INSERT INTO `wk_crm_area` VALUES (210421, 210400, '抚顺县');
  3284. INSERT INTO `wk_crm_area` VALUES (210404, 210400, '望花区');
  3285. INSERT INTO `wk_crm_area` VALUES (210403, 210400, '东洲区');
  3286. INSERT INTO `wk_crm_area` VALUES (210402, 210400, '新抚区');
  3287. INSERT INTO `wk_crm_area` VALUES (210423, 210400, '清原满族自治县');
  3288. INSERT INTO `wk_crm_area` VALUES (711391, 711300, '关西镇');
  3289. INSERT INTO `wk_crm_area` VALUES (711392, 711300, '芎林乡');
  3290. INSERT INTO `wk_crm_area` VALUES (711393, 711300, '宝山乡');
  3291. INSERT INTO `wk_crm_area` VALUES (711394, 711300, '竹东镇');
  3292. INSERT INTO `wk_crm_area` VALUES (711390, 711300, '新埔镇');
  3293. INSERT INTO `wk_crm_area` VALUES (711388, 711300, '湖口乡');
  3294. INSERT INTO `wk_crm_area` VALUES (711399, 711300, '峨眉乡');
  3295. INSERT INTO `wk_crm_area` VALUES (711389, 711300, '新丰乡');
  3296. INSERT INTO `wk_crm_area` VALUES (711395, 711300, '五峰乡');
  3297. INSERT INTO `wk_crm_area` VALUES (711396, 711300, '横山乡');
  3298. INSERT INTO `wk_crm_area` VALUES (711397, 711300, '尖石乡');
  3299. INSERT INTO `wk_crm_area` VALUES (711387, 711300, '竹北市');
  3300. INSERT INTO `wk_crm_area` VALUES (711398, 711300, '北埔乡');
  3301. INSERT INTO `wk_crm_area` VALUES (231181, 231100, '北安市');
  3302. INSERT INTO `wk_crm_area` VALUES (231182, 231100, '五大连池市');
  3303. INSERT INTO `wk_crm_area` VALUES (231121, 231100, '嫩江县');
  3304. INSERT INTO `wk_crm_area` VALUES (231123, 231100, '逊克县');
  3305. INSERT INTO `wk_crm_area` VALUES (231102, 231100, '爱辉区');
  3306. INSERT INTO `wk_crm_area` VALUES (231124, 231100, '孙吴县');
  3307. INSERT INTO `wk_crm_area` VALUES (640423, 640400, '隆德县');
  3308. INSERT INTO `wk_crm_area` VALUES (640422, 640400, '西吉县');
  3309. INSERT INTO `wk_crm_area` VALUES (640425, 640400, '彭阳县');
  3310. INSERT INTO `wk_crm_area` VALUES (640402, 640400, '原州区');
  3311. INSERT INTO `wk_crm_area` VALUES (640424, 640400, '泾源县');
  3312. INSERT INTO `wk_crm_area` VALUES (451030, 451000, '西林县');
  3313. INSERT INTO `wk_crm_area` VALUES (451021, 451000, '田阳县');
  3314. INSERT INTO `wk_crm_area` VALUES (451031, 451000, '隆林各族自治县');
  3315. INSERT INTO `wk_crm_area` VALUES (451081, 451000, '靖西市');
  3316. INSERT INTO `wk_crm_area` VALUES (451027, 451000, '凌云县');
  3317. INSERT INTO `wk_crm_area` VALUES (451026, 451000, '那坡县');
  3318. INSERT INTO `wk_crm_area` VALUES (451029, 451000, '田林县');
  3319. INSERT INTO `wk_crm_area` VALUES (451028, 451000, '乐业县');
  3320. INSERT INTO `wk_crm_area` VALUES (451023, 451000, '平果县');
  3321. INSERT INTO `wk_crm_area` VALUES (451022, 451000, '田东县');
  3322. INSERT INTO `wk_crm_area` VALUES (451002, 451000, '右江区');
  3323. INSERT INTO `wk_crm_area` VALUES (451024, 451000, '德保县');
  3324. INSERT INTO `wk_crm_area` VALUES (350622, 350600, '云霄县');
  3325. INSERT INTO `wk_crm_area` VALUES (350623, 350600, '漳浦县');
  3326. INSERT INTO `wk_crm_area` VALUES (350602, 350600, '芗城区');
  3327. INSERT INTO `wk_crm_area` VALUES (350624, 350600, '诏安县');
  3328. INSERT INTO `wk_crm_area` VALUES (350603, 350600, '龙文区');
  3329. INSERT INTO `wk_crm_area` VALUES (350625, 350600, '长泰县');
  3330. INSERT INTO `wk_crm_area` VALUES (350626, 350600, '东山县');
  3331. INSERT INTO `wk_crm_area` VALUES (350627, 350600, '南靖县');
  3332. INSERT INTO `wk_crm_area` VALUES (350628, 350600, '平和县');
  3333. INSERT INTO `wk_crm_area` VALUES (350629, 350600, '华安县');
  3334. INSERT INTO `wk_crm_area` VALUES (350681, 350600, '龙海市');
  3335. INSERT INTO `wk_crm_area` VALUES (371422, 371400, '宁津县');
  3336. INSERT INTO `wk_crm_area` VALUES (371471, 371400, '德州经济技术开发区');
  3337. INSERT INTO `wk_crm_area` VALUES (371482, 371400, '禹城市');
  3338. INSERT INTO `wk_crm_area` VALUES (371481, 371400, '乐陵市');
  3339. INSERT INTO `wk_crm_area` VALUES (371472, 371400, '德州运河经济开发区');
  3340. INSERT INTO `wk_crm_area` VALUES (371428, 371400, '武城县');
  3341. INSERT INTO `wk_crm_area` VALUES (371427, 371400, '夏津县');
  3342. INSERT INTO `wk_crm_area` VALUES (371402, 371400, '德城区');
  3343. INSERT INTO `wk_crm_area` VALUES (371424, 371400, '临邑县');
  3344. INSERT INTO `wk_crm_area` VALUES (371423, 371400, '庆云县');
  3345. INSERT INTO `wk_crm_area` VALUES (371426, 371400, '平原县');
  3346. INSERT INTO `wk_crm_area` VALUES (371403, 371400, '陵城区');
  3347. INSERT INTO `wk_crm_area` VALUES (371425, 371400, '齐河县');
  3348. INSERT INTO `wk_crm_area` VALUES (430321, 430300, '湘潭县');
  3349. INSERT INTO `wk_crm_area` VALUES (430302, 430300, '雨湖区');
  3350. INSERT INTO `wk_crm_area` VALUES (430304, 430300, '岳塘区');
  3351. INSERT INTO `wk_crm_area` VALUES (430381, 430300, '湘乡市');
  3352. INSERT INTO `wk_crm_area` VALUES (430372, 430300, '湘潭昭山示范区');
  3353. INSERT INTO `wk_crm_area` VALUES (430371, 430300, '湖南湘潭高新技术产业园区');
  3354. INSERT INTO `wk_crm_area` VALUES (430382, 430300, '韶山市');
  3355. INSERT INTO `wk_crm_area` VALUES (430373, 430300, '湘潭九华示范区');
  3356. INSERT INTO `wk_crm_area` VALUES (650205, 650200, '乌尔禾区');
  3357. INSERT INTO `wk_crm_area` VALUES (650204, 650200, '白碱滩区');
  3358. INSERT INTO `wk_crm_area` VALUES (650203, 650200, '克拉玛依区');
  3359. INSERT INTO `wk_crm_area` VALUES (650202, 650200, '独山子区');
  3360. INSERT INTO `wk_crm_area` VALUES (610928, 610900, '旬阳县');
  3361. INSERT INTO `wk_crm_area` VALUES (610929, 610900, '白河县');
  3362. INSERT INTO `wk_crm_area` VALUES (610926, 610900, '平利县');
  3363. INSERT INTO `wk_crm_area` VALUES (610927, 610900, '镇坪县');
  3364. INSERT INTO `wk_crm_area` VALUES (610902, 610900, '汉滨区');
  3365. INSERT INTO `wk_crm_area` VALUES (610924, 610900, '紫阳县');
  3366. INSERT INTO `wk_crm_area` VALUES (610925, 610900, '岚皋县');
  3367. INSERT INTO `wk_crm_area` VALUES (610922, 610900, '石泉县');
  3368. INSERT INTO `wk_crm_area` VALUES (610923, 610900, '宁陕县');
  3369. INSERT INTO `wk_crm_area` VALUES (610921, 610900, '汉阴县');
  3370. INSERT INTO `wk_crm_area` VALUES (130771, 130700, '张家口市高新技术产业开发区');
  3371. INSERT INTO `wk_crm_area` VALUES (130730, 130700, '怀来县');
  3372. INSERT INTO `wk_crm_area` VALUES (130731, 130700, '涿鹿县');
  3373. INSERT INTO `wk_crm_area` VALUES (130772, 130700, '张家口市察北管理区');
  3374. INSERT INTO `wk_crm_area` VALUES (130773, 130700, '张家口市塞北管理区');
  3375. INSERT INTO `wk_crm_area` VALUES (130723, 130700, '康保县');
  3376. INSERT INTO `wk_crm_area` VALUES (130702, 130700, '桥东区');
  3377. INSERT INTO `wk_crm_area` VALUES (130724, 130700, '沽源县');
  3378. INSERT INTO `wk_crm_area` VALUES (130732, 130700, '赤城县');
  3379. INSERT INTO `wk_crm_area` VALUES (130722, 130700, '张北县');
  3380. INSERT INTO `wk_crm_area` VALUES (130705, 130700, '宣化区');
  3381. INSERT INTO `wk_crm_area` VALUES (130727, 130700, '阳原县');
  3382. INSERT INTO `wk_crm_area` VALUES (130706, 130700, '下花园区');
  3383. INSERT INTO `wk_crm_area` VALUES (130728, 130700, '怀安县');
  3384. INSERT INTO `wk_crm_area` VALUES (130703, 130700, '桥西区');
  3385. INSERT INTO `wk_crm_area` VALUES (130725, 130700, '尚义县');
  3386. INSERT INTO `wk_crm_area` VALUES (130726, 130700, '蔚县');
  3387. INSERT INTO `wk_crm_area` VALUES (130709, 130700, '崇礼区');
  3388. INSERT INTO `wk_crm_area` VALUES (130708, 130700, '万全区');
  3389. INSERT INTO `wk_crm_area` VALUES (220281, 220200, '蛟河市');
  3390. INSERT INTO `wk_crm_area` VALUES (220272, 220200, '吉林高新技术产业开发区');
  3391. INSERT INTO `wk_crm_area` VALUES (220283, 220200, '舒兰市');
  3392. INSERT INTO `wk_crm_area` VALUES (220271, 220200, '吉林经济开发区');
  3393. INSERT INTO `wk_crm_area` VALUES (220282, 220200, '桦甸市');
  3394. INSERT INTO `wk_crm_area` VALUES (220273, 220200, '吉林中国新加坡食品区');
  3395. INSERT INTO `wk_crm_area` VALUES (220284, 220200, '磐石市');
  3396. INSERT INTO `wk_crm_area` VALUES (220221, 220200, '永吉县');
  3397. INSERT INTO `wk_crm_area` VALUES (220211, 220200, '丰满区');
  3398. INSERT INTO `wk_crm_area` VALUES (220203, 220200, '龙潭区');
  3399. INSERT INTO `wk_crm_area` VALUES (220202, 220200, '昌邑区');
  3400. INSERT INTO `wk_crm_area` VALUES (220204, 220200, '船营区');
  3401. INSERT INTO `wk_crm_area` VALUES (440118, 440100, '增城区');
  3402. INSERT INTO `wk_crm_area` VALUES (440106, 440100, '天河区');
  3403. INSERT INTO `wk_crm_area` VALUES (440117, 440100, '从化区');
  3404. INSERT INTO `wk_crm_area` VALUES (440105, 440100, '海珠区');
  3405. INSERT INTO `wk_crm_area` VALUES (440104, 440100, '越秀区');
  3406. INSERT INTO `wk_crm_area` VALUES (440115, 440100, '南沙区');
  3407. INSERT INTO `wk_crm_area` VALUES (440103, 440100, '荔湾区');
  3408. INSERT INTO `wk_crm_area` VALUES (440114, 440100, '花都区');
  3409. INSERT INTO `wk_crm_area` VALUES (440113, 440100, '番禺区');
  3410. INSERT INTO `wk_crm_area` VALUES (440112, 440100, '黄埔区');
  3411. INSERT INTO `wk_crm_area` VALUES (440111, 440100, '白云区');
  3412. INSERT INTO `wk_crm_area` VALUES (360430, 360400, '彭泽县');
  3413. INSERT INTO `wk_crm_area` VALUES (360483, 360400, '庐山市');
  3414. INSERT INTO `wk_crm_area` VALUES (360481, 360400, '瑞昌市');
  3415. INSERT INTO `wk_crm_area` VALUES (360482, 360400, '共青城市');
  3416. INSERT INTO `wk_crm_area` VALUES (360429, 360400, '湖口县');
  3417. INSERT INTO `wk_crm_area` VALUES (360428, 360400, '都昌县');
  3418. INSERT INTO `wk_crm_area` VALUES (360403, 360400, '浔阳区');
  3419. INSERT INTO `wk_crm_area` VALUES (360425, 360400, '永修县');
  3420. INSERT INTO `wk_crm_area` VALUES (360404, 360400, '柴桑区');
  3421. INSERT INTO `wk_crm_area` VALUES (360426, 360400, '德安县');
  3422. INSERT INTO `wk_crm_area` VALUES (360423, 360400, '武宁县');
  3423. INSERT INTO `wk_crm_area` VALUES (360402, 360400, '濂溪区');
  3424. INSERT INTO `wk_crm_area` VALUES (360424, 360400, '修水县');
  3425. INSERT INTO `wk_crm_area` VALUES (230600, 230000, '大庆市');
  3426. INSERT INTO `wk_crm_area` VALUES (230500, 230000, '双鸭山市');
  3427. INSERT INTO `wk_crm_area` VALUES (230400, 230000, '鹤岗市');
  3428. INSERT INTO `wk_crm_area` VALUES (230300, 230000, '鸡西市');
  3429. INSERT INTO `wk_crm_area` VALUES (230200, 230000, '齐齐哈尔市');
  3430. INSERT INTO `wk_crm_area` VALUES (230100, 230000, '哈尔滨市');
  3431. INSERT INTO `wk_crm_area` VALUES (231000, 230000, '牡丹江市');
  3432. INSERT INTO `wk_crm_area` VALUES (231100, 230000, '黑河市');
  3433. INSERT INTO `wk_crm_area` VALUES (231200, 230000, '绥化市');
  3434. INSERT INTO `wk_crm_area` VALUES (230900, 230000, '七台河市');
  3435. INSERT INTO `wk_crm_area` VALUES (230800, 230000, '佳木斯市');
  3436. INSERT INTO `wk_crm_area` VALUES (232700, 230000, '大兴安岭地区');
  3437. INSERT INTO `wk_crm_area` VALUES (230700, 230000, '伊春市');
  3438. INSERT INTO `wk_crm_area` VALUES (500107, 500100, '九龙坡区');
  3439. INSERT INTO `wk_crm_area` VALUES (500106, 500100, '沙坪坝区');
  3440. INSERT INTO `wk_crm_area` VALUES (500105, 500100, '江北区');
  3441. INSERT INTO `wk_crm_area` VALUES (500104, 500100, '大渡口区');
  3442. INSERT INTO `wk_crm_area` VALUES (500109, 500100, '北碚区');
  3443. INSERT INTO `wk_crm_area` VALUES (500108, 500100, '南岸区');
  3444. INSERT INTO `wk_crm_area` VALUES (500110, 500100, '綦江区');
  3445. INSERT INTO `wk_crm_area` VALUES (500154, 500100, '开州区');
  3446. INSERT INTO `wk_crm_area` VALUES (500153, 500100, '荣昌区');
  3447. INSERT INTO `wk_crm_area` VALUES (500152, 500100, '潼南区');
  3448. INSERT INTO `wk_crm_area` VALUES (500151, 500100, '铜梁区');
  3449. INSERT INTO `wk_crm_area` VALUES (500114, 500100, '黔江区');
  3450. INSERT INTO `wk_crm_area` VALUES (500113, 500100, '巴南区');
  3451. INSERT INTO `wk_crm_area` VALUES (500112, 500100, '渝北区');
  3452. INSERT INTO `wk_crm_area` VALUES (500156, 500100, '武隆区');
  3453. INSERT INTO `wk_crm_area` VALUES (500111, 500100, '大足区');
  3454. INSERT INTO `wk_crm_area` VALUES (500155, 500100, '梁平区');
  3455. INSERT INTO `wk_crm_area` VALUES (500118, 500100, '永川区');
  3456. INSERT INTO `wk_crm_area` VALUES (500117, 500100, '合川区');
  3457. INSERT INTO `wk_crm_area` VALUES (500116, 500100, '江津区');
  3458. INSERT INTO `wk_crm_area` VALUES (500115, 500100, '长寿区');
  3459. INSERT INTO `wk_crm_area` VALUES (500119, 500100, '南川区');
  3460. INSERT INTO `wk_crm_area` VALUES (500120, 500100, '璧山区');
  3461. INSERT INTO `wk_crm_area` VALUES (500103, 500100, '渝中区');
  3462. INSERT INTO `wk_crm_area` VALUES (500102, 500100, '涪陵区');
  3463. INSERT INTO `wk_crm_area` VALUES (500101, 500100, '万州区');
  3464. INSERT INTO `wk_crm_area` VALUES (140581, 140500, '高平市');
  3465. INSERT INTO `wk_crm_area` VALUES (140521, 140500, '沁水县');
  3466. INSERT INTO `wk_crm_area` VALUES (140522, 140500, '阳城县');
  3467. INSERT INTO `wk_crm_area` VALUES (140502, 140500, '城区');
  3468. INSERT INTO `wk_crm_area` VALUES (140524, 140500, '陵川县');
  3469. INSERT INTO `wk_crm_area` VALUES (140525, 140500, '泽州县');
  3470. INSERT INTO `wk_crm_area` VALUES (150303, 150300, '海南区');
  3471. INSERT INTO `wk_crm_area` VALUES (150304, 150300, '乌达区');
  3472. INSERT INTO `wk_crm_area` VALUES (150302, 150300, '海勃湾区');
  3473. INSERT INTO `wk_crm_area` VALUES (712590, 712500, '关山镇');
  3474. INSERT INTO `wk_crm_area` VALUES (712591, 712500, '海端乡');
  3475. INSERT INTO `wk_crm_area` VALUES (712592, 712500, '池上乡');
  3476. INSERT INTO `wk_crm_area` VALUES (712593, 712500, '东河乡');
  3477. INSERT INTO `wk_crm_area` VALUES (712587, 712500, '延平乡');
  3478. INSERT INTO `wk_crm_area` VALUES (712598, 712500, '达仁乡');
  3479. INSERT INTO `wk_crm_area` VALUES (712588, 712500, '卑南乡');
  3480. INSERT INTO `wk_crm_area` VALUES (712599, 712500, '太麻里乡');
  3481. INSERT INTO `wk_crm_area` VALUES (712589, 712500, '鹿野乡');
  3482. INSERT INTO `wk_crm_area` VALUES (712594, 712500, '成功镇');
  3483. INSERT INTO `wk_crm_area` VALUES (712584, 712500, '台东市');
  3484. INSERT INTO `wk_crm_area` VALUES (712595, 712500, '长滨乡');
  3485. INSERT INTO `wk_crm_area` VALUES (712585, 712500, '绿岛乡');
  3486. INSERT INTO `wk_crm_area` VALUES (712596, 712500, '金峰乡');
  3487. INSERT INTO `wk_crm_area` VALUES (712586, 712500, '兰屿乡');
  3488. INSERT INTO `wk_crm_area` VALUES (712597, 712500, '大武乡');
  3489. INSERT INTO `wk_crm_area` VALUES (620723, 620700, '临泽县');
  3490. INSERT INTO `wk_crm_area` VALUES (620702, 620700, '甘州区');
  3491. INSERT INTO `wk_crm_area` VALUES (620724, 620700, '高台县');
  3492. INSERT INTO `wk_crm_area` VALUES (620725, 620700, '山丹县');
  3493. INSERT INTO `wk_crm_area` VALUES (620721, 620700, '肃南裕固族自治县');
  3494. INSERT INTO `wk_crm_area` VALUES (620722, 620700, '民乐县');
  3495. INSERT INTO `wk_crm_area` VALUES (710207, 710200, '前镇区');
  3496. INSERT INTO `wk_crm_area` VALUES (710206, 710200, '旗津区');
  3497. INSERT INTO `wk_crm_area` VALUES (710205, 710200, '鼓山区');
  3498. INSERT INTO `wk_crm_area` VALUES (710249, 710200, '桥头区');
  3499. INSERT INTO `wk_crm_area` VALUES (710204, 710200, '盐埕区');
  3500. INSERT INTO `wk_crm_area` VALUES (710248, 710200, '燕巢区');
  3501. INSERT INTO `wk_crm_area` VALUES (710209, 710200, '左营区');
  3502. INSERT INTO `wk_crm_area` VALUES (710208, 710200, '三民区');
  3503. INSERT INTO `wk_crm_area` VALUES (710250, 710200, '梓官区');
  3504. INSERT INTO `wk_crm_area` VALUES (710210, 710200, '楠梓区');
  3505. INSERT INTO `wk_crm_area` VALUES (710254, 710200, '凤山区');
  3506. INSERT INTO `wk_crm_area` VALUES (710253, 710200, '湖内区');
  3507. INSERT INTO `wk_crm_area` VALUES (710252, 710200, '永安区');
  3508. INSERT INTO `wk_crm_area` VALUES (710251, 710200, '弥陀区');
  3509. INSERT INTO `wk_crm_area` VALUES (710258, 710200, '大树区');
  3510. INSERT INTO `wk_crm_area` VALUES (710257, 710200, '鸟松区');
  3511. INSERT INTO `wk_crm_area` VALUES (710256, 710200, '林园区');
  3512. INSERT INTO `wk_crm_area` VALUES (710211, 710200, '小港区');
  3513. INSERT INTO `wk_crm_area` VALUES (710255, 710200, '大寮区');
  3514. INSERT INTO `wk_crm_area` VALUES (710299, 710200, '其它区');
  3515. INSERT INTO `wk_crm_area` VALUES (710259, 710200, '旗山区');
  3516. INSERT INTO `wk_crm_area` VALUES (710261, 710200, '六龟区');
  3517. INSERT INTO `wk_crm_area` VALUES (710260, 710200, '美浓区');
  3518. INSERT INTO `wk_crm_area` VALUES (710243, 710200, '大社区');
  3519. INSERT INTO `wk_crm_area` VALUES (710265, 710200, '桃源区');
  3520. INSERT INTO `wk_crm_area` VALUES (710242, 710200, '仁武区');
  3521. INSERT INTO `wk_crm_area` VALUES (710264, 710200, '甲仙区');
  3522. INSERT INTO `wk_crm_area` VALUES (710241, 710200, '苓雅区');
  3523. INSERT INTO `wk_crm_area` VALUES (710263, 710200, '杉林区');
  3524. INSERT INTO `wk_crm_area` VALUES (710262, 710200, '内门区');
  3525. INSERT INTO `wk_crm_area` VALUES (710203, 710200, '芩雅区');
  3526. INSERT INTO `wk_crm_area` VALUES (710247, 710200, '田寮区');
  3527. INSERT INTO `wk_crm_area` VALUES (710202, 710200, '前金区');
  3528. INSERT INTO `wk_crm_area` VALUES (710246, 710200, '阿莲区');
  3529. INSERT INTO `wk_crm_area` VALUES (710268, 710200, '茄萣区');
  3530. INSERT INTO `wk_crm_area` VALUES (710201, 710200, '新兴区');
  3531. INSERT INTO `wk_crm_area` VALUES (710245, 710200, '路竹区');
  3532. INSERT INTO `wk_crm_area` VALUES (710267, 710200, '茂林区');
  3533. INSERT INTO `wk_crm_area` VALUES (710244, 710200, '冈山区');
  3534. INSERT INTO `wk_crm_area` VALUES (710266, 710200, '那玛夏区');
  3535. INSERT INTO `wk_crm_area` VALUES (370112, 370100, '历城区');
  3536. INSERT INTO `wk_crm_area` VALUES (370102, 370100, '历下区');
  3537. INSERT INTO `wk_crm_area` VALUES (370113, 370100, '长清区');
  3538. INSERT INTO `wk_crm_area` VALUES (370124, 370100, '平阴县');
  3539. INSERT INTO `wk_crm_area` VALUES (370171, 370100, '济南高新技术产业开发区');
  3540. INSERT INTO `wk_crm_area` VALUES (370103, 370100, '市中区');
  3541. INSERT INTO `wk_crm_area` VALUES (370114, 370100, '章丘区');
  3542. INSERT INTO `wk_crm_area` VALUES (370104, 370100, '槐荫区');
  3543. INSERT INTO `wk_crm_area` VALUES (370115, 370100, '济阳区');
  3544. INSERT INTO `wk_crm_area` VALUES (370126, 370100, '商河县');
  3545. INSERT INTO `wk_crm_area` VALUES (370105, 370100, '天桥区');
  3546. INSERT INTO `wk_crm_area` VALUES (530111, 530100, '官渡区');
  3547. INSERT INTO `wk_crm_area` VALUES (530181, 530100, '安宁市');
  3548. INSERT INTO `wk_crm_area` VALUES (530129, 530100, '寻甸回族彝族自治县');
  3549. INSERT INTO `wk_crm_area` VALUES (530127, 530100, '嵩明县');
  3550. INSERT INTO `wk_crm_area` VALUES (530128, 530100, '禄劝彝族苗族自治县');
  3551. INSERT INTO `wk_crm_area` VALUES (530103, 530100, '盘龙区');
  3552. INSERT INTO `wk_crm_area` VALUES (530114, 530100, '呈贡区');
  3553. INSERT INTO `wk_crm_area` VALUES (530125, 530100, '宜良县');
  3554. INSERT INTO `wk_crm_area` VALUES (530115, 530100, '晋宁区');
  3555. INSERT INTO `wk_crm_area` VALUES (530126, 530100, '石林彝族自治县');
  3556. INSERT INTO `wk_crm_area` VALUES (530112, 530100, '西山区');
  3557. INSERT INTO `wk_crm_area` VALUES (530102, 530100, '五华区');
  3558. INSERT INTO `wk_crm_area` VALUES (530113, 530100, '东川区');
  3559. INSERT INTO `wk_crm_area` VALUES (530124, 530100, '富民县');
  3560. INSERT INTO `wk_crm_area` VALUES (441581, 441500, '陆丰市');
  3561. INSERT INTO `wk_crm_area` VALUES (441502, 441500, '城区');
  3562. INSERT INTO `wk_crm_area` VALUES (441523, 441500, '陆河县');
  3563. INSERT INTO `wk_crm_area` VALUES (441521, 441500, '海丰县');
  3564. INSERT INTO `wk_crm_area` VALUES (610117, 610100, '高陵区');
  3565. INSERT INTO `wk_crm_area` VALUES (610118, 610100, '鄠邑区');
  3566. INSERT INTO `wk_crm_area` VALUES (610104, 610100, '莲湖区');
  3567. INSERT INTO `wk_crm_area` VALUES (610115, 610100, '临潼区');
  3568. INSERT INTO `wk_crm_area` VALUES (610116, 610100, '长安区');
  3569. INSERT INTO `wk_crm_area` VALUES (610102, 610100, '新城区');
  3570. INSERT INTO `wk_crm_area` VALUES (610113, 610100, '雁塔区');
  3571. INSERT INTO `wk_crm_area` VALUES (610124, 610100, '周至县');
  3572. INSERT INTO `wk_crm_area` VALUES (610103, 610100, '碑林区');
  3573. INSERT INTO `wk_crm_area` VALUES (610114, 610100, '阎良区');
  3574. INSERT INTO `wk_crm_area` VALUES (610111, 610100, '灞桥区');
  3575. INSERT INTO `wk_crm_area` VALUES (610122, 610100, '蓝田县');
  3576. INSERT INTO `wk_crm_area` VALUES (610112, 610100, '未央区');
  3577. INSERT INTO `wk_crm_area` VALUES (340802, 340800, '迎江区');
  3578. INSERT INTO `wk_crm_area` VALUES (340811, 340800, '宜秀区');
  3579. INSERT INTO `wk_crm_area` VALUES (340822, 340800, '怀宁县');
  3580. INSERT INTO `wk_crm_area` VALUES (340827, 340800, '望江县');
  3581. INSERT INTO `wk_crm_area` VALUES (340828, 340800, '岳西县');
  3582. INSERT INTO `wk_crm_area` VALUES (340803, 340800, '大观区');
  3583. INSERT INTO `wk_crm_area` VALUES (340825, 340800, '太湖县');
  3584. INSERT INTO `wk_crm_area` VALUES (340826, 340800, '宿松县');
  3585. INSERT INTO `wk_crm_area` VALUES (340881, 340800, '桐城市');
  3586. INSERT INTO `wk_crm_area` VALUES (340871, 340800, '安徽安庆经济开发区');
  3587. INSERT INTO `wk_crm_area` VALUES (340882, 340800, '潜山市');
  3588. INSERT INTO `wk_crm_area` VALUES (420882, 420800, '京山市');
  3589. INSERT INTO `wk_crm_area` VALUES (420822, 420800, '沙洋县');
  3590. INSERT INTO `wk_crm_area` VALUES (420804, 420800, '掇刀区');
  3591. INSERT INTO `wk_crm_area` VALUES (420802, 420800, '东宝区');
  3592. INSERT INTO `wk_crm_area` VALUES (420881, 420800, '钟祥市');
  3593. INSERT INTO `wk_crm_area` VALUES (231005, 231000, '西安区');
  3594. INSERT INTO `wk_crm_area` VALUES (231004, 231000, '爱民区');
  3595. INSERT INTO `wk_crm_area` VALUES (231003, 231000, '阳明区');
  3596. INSERT INTO `wk_crm_area` VALUES (231025, 231000, '林口县');
  3597. INSERT INTO `wk_crm_area` VALUES (231002, 231000, '东安区');
  3598. INSERT INTO `wk_crm_area` VALUES (231086, 231000, '东宁市');
  3599. INSERT INTO `wk_crm_area` VALUES (231085, 231000, '穆棱市');
  3600. INSERT INTO `wk_crm_area` VALUES (231084, 231000, '宁安市');
  3601. INSERT INTO `wk_crm_area` VALUES (231083, 231000, '海林市');
  3602. INSERT INTO `wk_crm_area` VALUES (231071, 231000, '牡丹江经济技术开发区');
  3603. INSERT INTO `wk_crm_area` VALUES (231081, 231000, '绥芬河市');
  3604. INSERT INTO `wk_crm_area` VALUES (210381, 210300, '海城市');
  3605. INSERT INTO `wk_crm_area` VALUES (210323, 210300, '岫岩满族自治县');
  3606. INSERT INTO `wk_crm_area` VALUES (210311, 210300, '千山区');
  3607. INSERT INTO `wk_crm_area` VALUES (210321, 210300, '台安县');
  3608. INSERT INTO `wk_crm_area` VALUES (210304, 210300, '立山区');
  3609. INSERT INTO `wk_crm_area` VALUES (210303, 210300, '铁西区');
  3610. INSERT INTO `wk_crm_area` VALUES (210302, 210300, '铁东区');
  3611. INSERT INTO `wk_crm_area` VALUES (510681, 510600, '广汉市');
  3612. INSERT INTO `wk_crm_area` VALUES (510683, 510600, '绵竹市');
  3613. INSERT INTO `wk_crm_area` VALUES (510682, 510600, '什邡市');
  3614. INSERT INTO `wk_crm_area` VALUES (510623, 510600, '中江县');
  3615. INSERT INTO `wk_crm_area` VALUES (510603, 510600, '旌阳区');
  3616. INSERT INTO `wk_crm_area` VALUES (510604, 510600, '罗江区');
  3617. INSERT INTO `wk_crm_area` VALUES (451381, 451300, '合山市');
  3618. INSERT INTO `wk_crm_area` VALUES (451302, 451300, '兴宾区');
  3619. INSERT INTO `wk_crm_area` VALUES (451324, 451300, '金秀瑶族自治县');
  3620. INSERT INTO `wk_crm_area` VALUES (451323, 451300, '武宣县');
  3621. INSERT INTO `wk_crm_area` VALUES (451322, 451300, '象州县');
  3622. INSERT INTO `wk_crm_area` VALUES (451321, 451300, '忻城县');
  3623. INSERT INTO `wk_crm_area` VALUES (621123, 621100, '渭源县');
  3624. INSERT INTO `wk_crm_area` VALUES (621122, 621100, '陇西县');
  3625. INSERT INTO `wk_crm_area` VALUES (621125, 621100, '漳县');
  3626. INSERT INTO `wk_crm_area` VALUES (621102, 621100, '安定区');
  3627. INSERT INTO `wk_crm_area` VALUES (621124, 621100, '临洮县');
  3628. INSERT INTO `wk_crm_area` VALUES (621121, 621100, '通渭县');
  3629. INSERT INTO `wk_crm_area` VALUES (621126, 621100, '岷县');
  3630. INSERT INTO `wk_crm_area` VALUES (371321, 371300, '沂南县');
  3631. INSERT INTO `wk_crm_area` VALUES (371312, 371300, '河东区');
  3632. INSERT INTO `wk_crm_area` VALUES (371323, 371300, '沂水县');
  3633. INSERT INTO `wk_crm_area` VALUES (371311, 371300, '罗庄区');
  3634. INSERT INTO `wk_crm_area` VALUES (371322, 371300, '郯城县');
  3635. INSERT INTO `wk_crm_area` VALUES (371372, 371300, '临沂经济技术开发区');
  3636. INSERT INTO `wk_crm_area` VALUES (371371, 371300, '临沂高新技术产业开发区');
  3637. INSERT INTO `wk_crm_area` VALUES (371373, 371300, '临沂临港经济开发区');
  3638. INSERT INTO `wk_crm_area` VALUES (371329, 371300, '临沭县');
  3639. INSERT INTO `wk_crm_area` VALUES (371328, 371300, '蒙阴县');
  3640. INSERT INTO `wk_crm_area` VALUES (371325, 371300, '费县');
  3641. INSERT INTO `wk_crm_area` VALUES (371302, 371300, '兰山区');
  3642. INSERT INTO `wk_crm_area` VALUES (371324, 371300, '兰陵县');
  3643. INSERT INTO `wk_crm_area` VALUES (371327, 371300, '莒南县');
  3644. INSERT INTO `wk_crm_area` VALUES (371326, 371300, '平邑县');
  3645. INSERT INTO `wk_crm_area` VALUES (430611, 430600, '君山区');
  3646. INSERT INTO `wk_crm_area` VALUES (430621, 430600, '岳阳县');
  3647. INSERT INTO `wk_crm_area` VALUES (430602, 430600, '岳阳楼区');
  3648. INSERT INTO `wk_crm_area` VALUES (430624, 430600, '湘阴县');
  3649. INSERT INTO `wk_crm_area` VALUES (430623, 430600, '华容县');
  3650. INSERT INTO `wk_crm_area` VALUES (430626, 430600, '平江县');
  3651. INSERT INTO `wk_crm_area` VALUES (430603, 430600, '云溪区');
  3652. INSERT INTO `wk_crm_area` VALUES (430671, 430600, '岳阳市屈原管理区');
  3653. INSERT INTO `wk_crm_area` VALUES (430682, 430600, '临湘市');
  3654. INSERT INTO `wk_crm_area` VALUES (430681, 430600, '汨罗市');
  3655. INSERT INTO `wk_crm_area` VALUES (130273, 130200, '唐山高新技术产业开发区');
  3656. INSERT INTO `wk_crm_area` VALUES (130284, 130200, '滦州市');
  3657. INSERT INTO `wk_crm_area` VALUES (130274, 130200, '河北唐山海港经济开发区');
  3658. INSERT INTO `wk_crm_area` VALUES (130202, 130200, '路南区');
  3659. INSERT INTO `wk_crm_area` VALUES (130224, 130200, '滦南县');
  3660. INSERT INTO `wk_crm_area` VALUES (130203, 130200, '路北区');
  3661. INSERT INTO `wk_crm_area` VALUES (130225, 130200, '乐亭县');
  3662. INSERT INTO `wk_crm_area` VALUES (130207, 130200, '丰南区');
  3663. INSERT INTO `wk_crm_area` VALUES (130229, 130200, '玉田县');
  3664. INSERT INTO `wk_crm_area` VALUES (130204, 130200, '古冶区');
  3665. INSERT INTO `wk_crm_area` VALUES (130205, 130200, '开平区');
  3666. INSERT INTO `wk_crm_area` VALUES (130227, 130200, '迁西县');
  3667. INSERT INTO `wk_crm_area` VALUES (130208, 130200, '丰润区');
  3668. INSERT INTO `wk_crm_area` VALUES (130209, 130200, '曹妃甸区');
  3669. INSERT INTO `wk_crm_area` VALUES (130271, 130200, '唐山市芦台经济技术开发区');
  3670. INSERT INTO `wk_crm_area` VALUES (130272, 130200, '唐山市汉沽管理区');
  3671. INSERT INTO `wk_crm_area` VALUES (130283, 130200, '迁安市');
  3672. INSERT INTO `wk_crm_area` VALUES (130281, 130200, '遵化市');
  3673. INSERT INTO `wk_crm_area` VALUES (220122, 220100, '农安县');
  3674. INSERT INTO `wk_crm_area` VALUES (220102, 220100, '南关区');
  3675. INSERT INTO `wk_crm_area` VALUES (220113, 220100, '九台区');
  3676. INSERT INTO `wk_crm_area` VALUES (220112, 220100, '双阳区');
  3677. INSERT INTO `wk_crm_area` VALUES (220104, 220100, '朝阳区');
  3678. INSERT INTO `wk_crm_area` VALUES (220103, 220100, '宽城区');
  3679. INSERT INTO `wk_crm_area` VALUES (220106, 220100, '绿园区');
  3680. INSERT INTO `wk_crm_area` VALUES (220105, 220100, '二道区');
  3681. INSERT INTO `wk_crm_area` VALUES (220171, 220100, '长春经济技术开发区');
  3682. INSERT INTO `wk_crm_area` VALUES (220182, 220100, '榆树市');
  3683. INSERT INTO `wk_crm_area` VALUES (220173, 220100, '长春高新技术产业开发区');
  3684. INSERT INTO `wk_crm_area` VALUES (220172, 220100, '长春净月高新技术产业开发区');
  3685. INSERT INTO `wk_crm_area` VALUES (220183, 220100, '德惠市');
  3686. INSERT INTO `wk_crm_area` VALUES (220174, 220100, '长春汽车经济技术开发区');
  3687. INSERT INTO `wk_crm_area` VALUES (222406, 222400, '和龙市');
  3688. INSERT INTO `wk_crm_area` VALUES (222401, 222400, '延吉市');
  3689. INSERT INTO `wk_crm_area` VALUES (222404, 222400, '珲春市');
  3690. INSERT INTO `wk_crm_area` VALUES (222426, 222400, '安图县');
  3691. INSERT INTO `wk_crm_area` VALUES (222405, 222400, '龙井市');
  3692. INSERT INTO `wk_crm_area` VALUES (222402, 222400, '图们市');
  3693. INSERT INTO `wk_crm_area` VALUES (222424, 222400, '汪清县');
  3694. INSERT INTO `wk_crm_area` VALUES (222403, 222400, '敦化市');
  3695. INSERT INTO `wk_crm_area` VALUES (520322, 520300, '桐梓县');
  3696. INSERT INTO `wk_crm_area` VALUES (520323, 520300, '绥阳县');
  3697. INSERT INTO `wk_crm_area` VALUES (520302, 520300, '红花岗区');
  3698. INSERT INTO `wk_crm_area` VALUES (520324, 520300, '正安县');
  3699. INSERT INTO `wk_crm_area` VALUES (520303, 520300, '汇川区');
  3700. INSERT INTO `wk_crm_area` VALUES (520325, 520300, '道真仡佬族苗族自治县');
  3701. INSERT INTO `wk_crm_area` VALUES (520304, 520300, '播州区');
  3702. INSERT INTO `wk_crm_area` VALUES (520326, 520300, '务川仡佬族苗族自治县');
  3703. INSERT INTO `wk_crm_area` VALUES (520327, 520300, '凤冈县');
  3704. INSERT INTO `wk_crm_area` VALUES (520328, 520300, '湄潭县');
  3705. INSERT INTO `wk_crm_area` VALUES (520329, 520300, '余庆县');
  3706. INSERT INTO `wk_crm_area` VALUES (520381, 520300, '赤水市');
  3707. INSERT INTO `wk_crm_area` VALUES (520382, 520300, '仁怀市');
  3708. INSERT INTO `wk_crm_area` VALUES (520330, 520300, '习水县');
  3709. INSERT INTO `wk_crm_area` VALUES (522629, 522600, '剑河县');
  3710. INSERT INTO `wk_crm_area` VALUES (522632, 522600, '榕江县');
  3711. INSERT INTO `wk_crm_area` VALUES (522622, 522600, '黄平县');
  3712. INSERT INTO `wk_crm_area` VALUES (522633, 522600, '从江县');
  3713. INSERT INTO `wk_crm_area` VALUES (522601, 522600, '凯里市');
  3714. INSERT INTO `wk_crm_area` VALUES (522623, 522600, '施秉县');
  3715. INSERT INTO `wk_crm_area` VALUES (522634, 522600, '雷山县');
  3716. INSERT INTO `wk_crm_area` VALUES (522624, 522600, '三穗县');
  3717. INSERT INTO `wk_crm_area` VALUES (522635, 522600, '麻江县');
  3718. INSERT INTO `wk_crm_area` VALUES (522625, 522600, '镇远县');
  3719. INSERT INTO `wk_crm_area` VALUES (522636, 522600, '丹寨县');
  3720. INSERT INTO `wk_crm_area` VALUES (522626, 522600, '岑巩县');
  3721. INSERT INTO `wk_crm_area` VALUES (522627, 522600, '天柱县');
  3722. INSERT INTO `wk_crm_area` VALUES (522628, 522600, '锦屏县');
  3723. INSERT INTO `wk_crm_area` VALUES (522630, 522600, '台江县');
  3724. INSERT INTO `wk_crm_area` VALUES (522631, 522600, '黎平县');
  3725. INSERT INTO `wk_crm_area` VALUES (440404, 440400, '金湾区');
  3726. INSERT INTO `wk_crm_area` VALUES (440403, 440400, '斗门区');
  3727. INSERT INTO `wk_crm_area` VALUES (440402, 440400, '香洲区');
  3728. INSERT INTO `wk_crm_area` VALUES (350502, 350500, '鲤城区');
  3729. INSERT INTO `wk_crm_area` VALUES (350524, 350500, '安溪县');
  3730. INSERT INTO `wk_crm_area` VALUES (350503, 350500, '丰泽区');
  3731. INSERT INTO `wk_crm_area` VALUES (350525, 350500, '永春县');
  3732. INSERT INTO `wk_crm_area` VALUES (350504, 350500, '洛江区');
  3733. INSERT INTO `wk_crm_area` VALUES (350526, 350500, '德化县');
  3734. INSERT INTO `wk_crm_area` VALUES (350505, 350500, '泉港区');
  3735. INSERT INTO `wk_crm_area` VALUES (350527, 350500, '金门县');
  3736. INSERT INTO `wk_crm_area` VALUES (350581, 350500, '石狮市');
  3737. INSERT INTO `wk_crm_area` VALUES (350582, 350500, '晋江市');
  3738. INSERT INTO `wk_crm_area` VALUES (350583, 350500, '南安市');
  3739. INSERT INTO `wk_crm_area` VALUES (350521, 350500, '惠安县');
  3740. INSERT INTO `wk_crm_area` VALUES (360322, 360300, '上栗县');
  3741. INSERT INTO `wk_crm_area` VALUES (360323, 360300, '芦溪县');
  3742. INSERT INTO `wk_crm_area` VALUES (360321, 360300, '莲花县');
  3743. INSERT INTO `wk_crm_area` VALUES (360302, 360300, '安源区');
  3744. INSERT INTO `wk_crm_area` VALUES (360313, 360300, '湘东区');
  3745. INSERT INTO `wk_crm_area` VALUES (141100, 140000, '吕梁市');
  3746. INSERT INTO `wk_crm_area` VALUES (141000, 140000, '临汾市');
  3747. INSERT INTO `wk_crm_area` VALUES (140100, 140000, '太原市');
  3748. INSERT INTO `wk_crm_area` VALUES (140200, 140000, '大同市');
  3749. INSERT INTO `wk_crm_area` VALUES (140300, 140000, '阳泉市');
  3750. INSERT INTO `wk_crm_area` VALUES (140400, 140000, '长治市');
  3751. INSERT INTO `wk_crm_area` VALUES (140500, 140000, '晋城市');
  3752. INSERT INTO `wk_crm_area` VALUES (140600, 140000, '朔州市');
  3753. INSERT INTO `wk_crm_area` VALUES (140700, 140000, '晋中市');
  3754. INSERT INTO `wk_crm_area` VALUES (140800, 140000, '运城市');
  3755. INSERT INTO `wk_crm_area` VALUES (140900, 140000, '忻州市');
  3756. INSERT INTO `wk_crm_area` VALUES (211481, 211400, '兴城市');
  3757. INSERT INTO `wk_crm_area` VALUES (211422, 211400, '建昌县');
  3758. INSERT INTO `wk_crm_area` VALUES (211421, 211400, '绥中县');
  3759. INSERT INTO `wk_crm_area` VALUES (211404, 211400, '南票区');
  3760. INSERT INTO `wk_crm_area` VALUES (211403, 211400, '龙港区');
  3761. INSERT INTO `wk_crm_area` VALUES (211402, 211400, '连山区');
  3762. INSERT INTO `wk_crm_area` VALUES (511827, 511800, '宝兴县');
  3763. INSERT INTO `wk_crm_area` VALUES (511822, 511800, '荥经县');
  3764. INSERT INTO `wk_crm_area` VALUES (511803, 511800, '名山区');
  3765. INSERT INTO `wk_crm_area` VALUES (511825, 511800, '天全县');
  3766. INSERT INTO `wk_crm_area` VALUES (511826, 511800, '芦山县');
  3767. INSERT INTO `wk_crm_area` VALUES (511823, 511800, '汉源县');
  3768. INSERT INTO `wk_crm_area` VALUES (511802, 511800, '雨城区');
  3769. INSERT INTO `wk_crm_area` VALUES (511824, 511800, '石棉县');
  3770. INSERT INTO `wk_crm_area` VALUES (450206, 450200, '柳江区');
  3771. INSERT INTO `wk_crm_area` VALUES (450205, 450200, '柳北区');
  3772. INSERT INTO `wk_crm_area` VALUES (450202, 450200, '城中区');
  3773. INSERT INTO `wk_crm_area` VALUES (450224, 450200, '融安县');
  3774. INSERT INTO `wk_crm_area` VALUES (450223, 450200, '鹿寨县');
  3775. INSERT INTO `wk_crm_area` VALUES (450204, 450200, '柳南区');
  3776. INSERT INTO `wk_crm_area` VALUES (450226, 450200, '三江侗族自治县');
  3777. INSERT INTO `wk_crm_area` VALUES (450203, 450200, '鱼峰区');
  3778. INSERT INTO `wk_crm_area` VALUES (450225, 450200, '融水苗族自治县');
  3779. INSERT INTO `wk_crm_area` VALUES (450222, 450200, '柳城县');
  3780. INSERT INTO `wk_crm_area` VALUES (371200, 370000, '莱芜市');
  3781. INSERT INTO `wk_crm_area` VALUES (370100, 370000, '济南市');
  3782. INSERT INTO `wk_crm_area` VALUES (371100, 370000, '日照市');
  3783. INSERT INTO `wk_crm_area` VALUES (370200, 370000, '青岛市');
  3784. INSERT INTO `wk_crm_area` VALUES (371400, 370000, '德州市');
  3785. INSERT INTO `wk_crm_area` VALUES (370300, 370000, '淄博市');
  3786. INSERT INTO `wk_crm_area` VALUES (371300, 370000, '临沂市');
  3787. INSERT INTO `wk_crm_area` VALUES (371000, 370000, '威海市');
  3788. INSERT INTO `wk_crm_area` VALUES (370800, 370000, '济宁市');
  3789. INSERT INTO `wk_crm_area` VALUES (370900, 370000, '泰安市');
  3790. INSERT INTO `wk_crm_area` VALUES (370400, 370000, '枣庄市');
  3791. INSERT INTO `wk_crm_area` VALUES (371600, 370000, '滨州市');
  3792. INSERT INTO `wk_crm_area` VALUES (370500, 370000, '东营市');
  3793. INSERT INTO `wk_crm_area` VALUES (371500, 370000, '聊城市');
  3794. INSERT INTO `wk_crm_area` VALUES (370600, 370000, '烟台市');
  3795. INSERT INTO `wk_crm_area` VALUES (370700, 370000, '潍坊市');
  3796. INSERT INTO `wk_crm_area` VALUES (371700, 370000, '菏泽市');
  3797. INSERT INTO `wk_crm_area` VALUES (621200, 620000, '陇南市');
  3798. INSERT INTO `wk_crm_area` VALUES (620100, 620000, '兰州市');
  3799. INSERT INTO `wk_crm_area` VALUES (621100, 620000, '定西市');
  3800. INSERT INTO `wk_crm_area` VALUES (620200, 620000, '嘉峪关市');
  3801. INSERT INTO `wk_crm_area` VALUES (620300, 620000, '金昌市');
  3802. INSERT INTO `wk_crm_area` VALUES (621000, 620000, '庆阳市');
  3803. INSERT INTO `wk_crm_area` VALUES (623000, 620000, '甘南藏族自治州');
  3804. INSERT INTO `wk_crm_area` VALUES (620800, 620000, '平凉市');
  3805. INSERT INTO `wk_crm_area` VALUES (620900, 620000, '酒泉市');
  3806. INSERT INTO `wk_crm_area` VALUES (620400, 620000, '白银市');
  3807. INSERT INTO `wk_crm_area` VALUES (620500, 620000, '天水市');
  3808. INSERT INTO `wk_crm_area` VALUES (620600, 620000, '武威市');
  3809. INSERT INTO `wk_crm_area` VALUES (622900, 620000, '临夏回族自治州');
  3810. INSERT INTO `wk_crm_area` VALUES (620700, 620000, '张掖市');
  3811. INSERT INTO `wk_crm_area` VALUES (410923, 410900, '南乐县');
  3812. INSERT INTO `wk_crm_area` VALUES (410922, 410900, '清丰县');
  3813. INSERT INTO `wk_crm_area` VALUES (410972, 410900, '濮阳经济技术开发区');
  3814. INSERT INTO `wk_crm_area` VALUES (410971, 410900, '河南濮阳工业园区');
  3815. INSERT INTO `wk_crm_area` VALUES (410928, 410900, '濮阳县');
  3816. INSERT INTO `wk_crm_area` VALUES (410902, 410900, '华龙区');
  3817. INSERT INTO `wk_crm_area` VALUES (410927, 410900, '台前县');
  3818. INSERT INTO `wk_crm_area` VALUES (410926, 410900, '范县');
  3819. INSERT INTO `wk_crm_area` VALUES (469000, 460000, '省直辖县级行政区划');
  3820. INSERT INTO `wk_crm_area` VALUES (460100, 460000, '海口市');
  3821. INSERT INTO `wk_crm_area` VALUES (460400, 460000, '儋州市');
  3822. INSERT INTO `wk_crm_area` VALUES (460300, 460000, '三沙市');
  3823. INSERT INTO `wk_crm_area` VALUES (460200, 460000, '三亚市');
  3824. INSERT INTO `wk_crm_area` VALUES (441481, 441400, '兴宁市');
  3825. INSERT INTO `wk_crm_area` VALUES (441427, 441400, '蕉岭县');
  3826. INSERT INTO `wk_crm_area` VALUES (441426, 441400, '平远县');
  3827. INSERT INTO `wk_crm_area` VALUES (441403, 441400, '梅县区');
  3828. INSERT INTO `wk_crm_area` VALUES (441402, 441400, '梅江区');
  3829. INSERT INTO `wk_crm_area` VALUES (441424, 441400, '五华县');
  3830. INSERT INTO `wk_crm_area` VALUES (441423, 441400, '丰顺县');
  3831. INSERT INTO `wk_crm_area` VALUES (441422, 441400, '大埔县');
  3832. INSERT INTO `wk_crm_area` VALUES (141182, 141100, '汾阳市');
  3833. INSERT INTO `wk_crm_area` VALUES (141181, 141100, '孝义市');
  3834. INSERT INTO `wk_crm_area` VALUES (141130, 141100, '交口县');
  3835. INSERT INTO `wk_crm_area` VALUES (141122, 141100, '交城县');
  3836. INSERT INTO `wk_crm_area` VALUES (141121, 141100, '文水县');
  3837. INSERT INTO `wk_crm_area` VALUES (141102, 141100, '离石区');
  3838. INSERT INTO `wk_crm_area` VALUES (141124, 141100, '临县');
  3839. INSERT INTO `wk_crm_area` VALUES (141123, 141100, '兴县');
  3840. INSERT INTO `wk_crm_area` VALUES (141126, 141100, '石楼县');
  3841. INSERT INTO `wk_crm_area` VALUES (141125, 141100, '柳林县');
  3842. INSERT INTO `wk_crm_area` VALUES (141128, 141100, '方山县');
  3843. INSERT INTO `wk_crm_area` VALUES (141127, 141100, '岚县');
  3844. INSERT INTO `wk_crm_area` VALUES (141129, 141100, '中阳县');
  3845. INSERT INTO `wk_crm_area` VALUES (610202, 610200, '王益区');
  3846. INSERT INTO `wk_crm_area` VALUES (610222, 610200, '宜君县');
  3847. INSERT INTO `wk_crm_area` VALUES (610203, 610200, '印台区');
  3848. INSERT INTO `wk_crm_area` VALUES (610204, 610200, '耀州区');
  3849. INSERT INTO `wk_crm_area` VALUES (420702, 420700, '梁子湖区');
  3850. INSERT INTO `wk_crm_area` VALUES (420704, 420700, '鄂城区');
  3851. INSERT INTO `wk_crm_area` VALUES (420703, 420700, '华容区');
  3852. INSERT INTO `wk_crm_area` VALUES (510522, 510500, '合江县');
  3853. INSERT INTO `wk_crm_area` VALUES (510521, 510500, '泸县');
  3854. INSERT INTO `wk_crm_area` VALUES (510502, 510500, '江阳区');
  3855. INSERT INTO `wk_crm_area` VALUES (510524, 510500, '叙永县');
  3856. INSERT INTO `wk_crm_area` VALUES (510504, 510500, '龙马潭区');
  3857. INSERT INTO `wk_crm_area` VALUES (510503, 510500, '纳溪区');
  3858. INSERT INTO `wk_crm_area` VALUES (510525, 510500, '古蔺县');
  3859. INSERT INTO `wk_crm_area` VALUES (210281, 210200, '瓦房店市');
  3860. INSERT INTO `wk_crm_area` VALUES (210283, 210200, '庄河市');
  3861. INSERT INTO `wk_crm_area` VALUES (210202, 210200, '中山区');
  3862. INSERT INTO `wk_crm_area` VALUES (210213, 210200, '金州区');
  3863. INSERT INTO `wk_crm_area` VALUES (210224, 210200, '长海县');
  3864. INSERT INTO `wk_crm_area` VALUES (210212, 210200, '旅顺口区');
  3865. INSERT INTO `wk_crm_area` VALUES (210211, 210200, '甘井子区');
  3866. INSERT INTO `wk_crm_area` VALUES (210204, 210200, '沙河口区');
  3867. INSERT INTO `wk_crm_area` VALUES (210203, 210200, '西岗区');
  3868. INSERT INTO `wk_crm_area` VALUES (210214, 210200, '普兰店区');
  3869. INSERT INTO `wk_crm_area` VALUES (451229, 451200, '大化瑶族自治县');
  3870. INSERT INTO `wk_crm_area` VALUES (451228, 451200, '都安瑶族自治县');
  3871. INSERT INTO `wk_crm_area` VALUES (451203, 451200, '宜州区');
  3872. INSERT INTO `wk_crm_area` VALUES (451225, 451200, '罗城仫佬族自治县');
  3873. INSERT INTO `wk_crm_area` VALUES (451202, 451200, '金城江区');
  3874. INSERT INTO `wk_crm_area` VALUES (451224, 451200, '东兰县');
  3875. INSERT INTO `wk_crm_area` VALUES (451227, 451200, '巴马瑶族自治县');
  3876. INSERT INTO `wk_crm_area` VALUES (451226, 451200, '环江毛南族自治县');
  3877. INSERT INTO `wk_crm_area` VALUES (451221, 451200, '南丹县');
  3878. INSERT INTO `wk_crm_area` VALUES (451223, 451200, '凤山县');
  3879. INSERT INTO `wk_crm_area` VALUES (451222, 451200, '天峨县');
  3880. INSERT INTO `wk_crm_area` VALUES (371202, 371200, '莱城区');
  3881. INSERT INTO `wk_crm_area` VALUES (371203, 371200, '钢城区');
  3882. INSERT INTO `wk_crm_area` VALUES (621222, 621200, '文县');
  3883. INSERT INTO `wk_crm_area` VALUES (621221, 621200, '成县');
  3884. INSERT INTO `wk_crm_area` VALUES (621202, 621200, '武都区');
  3885. INSERT INTO `wk_crm_area` VALUES (621224, 621200, '康县');
  3886. INSERT INTO `wk_crm_area` VALUES (621223, 621200, '宕昌县');
  3887. INSERT INTO `wk_crm_area` VALUES (621226, 621200, '礼县');
  3888. INSERT INTO `wk_crm_area` VALUES (621225, 621200, '西和县');
  3889. INSERT INTO `wk_crm_area` VALUES (621228, 621200, '两当县');
  3890. INSERT INTO `wk_crm_area` VALUES (621227, 621200, '徽县');
  3891. INSERT INTO `wk_crm_area` VALUES (130110, 130100, '鹿泉区');
  3892. INSERT INTO `wk_crm_area` VALUES (130121, 130100, '井陉县');
  3893. INSERT INTO `wk_crm_area` VALUES (130132, 130100, '元氏县');
  3894. INSERT INTO `wk_crm_area` VALUES (130111, 130100, '栾城区');
  3895. INSERT INTO `wk_crm_area` VALUES (130133, 130100, '赵县');
  3896. INSERT INTO `wk_crm_area` VALUES (130130, 130100, '无极县');
  3897. INSERT INTO `wk_crm_area` VALUES (130131, 130100, '平山县');
  3898. INSERT INTO `wk_crm_area` VALUES (130125, 130100, '行唐县');
  3899. INSERT INTO `wk_crm_area` VALUES (130104, 130100, '桥西区');
  3900. INSERT INTO `wk_crm_area` VALUES (130126, 130100, '灵寿县');
  3901. INSERT INTO `wk_crm_area` VALUES (130123, 130100, '正定县');
  3902. INSERT INTO `wk_crm_area` VALUES (130102, 130100, '长安区');
  3903. INSERT INTO `wk_crm_area` VALUES (130107, 130100, '井陉矿区');
  3904. INSERT INTO `wk_crm_area` VALUES (130129, 130100, '赞皇县');
  3905. INSERT INTO `wk_crm_area` VALUES (130108, 130100, '裕华区');
  3906. INSERT INTO `wk_crm_area` VALUES (130105, 130100, '新华区');
  3907. INSERT INTO `wk_crm_area` VALUES (130127, 130100, '高邑县');
  3908. INSERT INTO `wk_crm_area` VALUES (130128, 130100, '深泽县');
  3909. INSERT INTO `wk_crm_area` VALUES (130109, 130100, '藁城区');
  3910. INSERT INTO `wk_crm_area` VALUES (130172, 130100, '石家庄循环化工园区');
  3911. INSERT INTO `wk_crm_area` VALUES (130183, 130100, '晋州市');
  3912. INSERT INTO `wk_crm_area` VALUES (130184, 130100, '新乐市');
  3913. INSERT INTO `wk_crm_area` VALUES (130181, 130100, '辛集市');
  3914. INSERT INTO `wk_crm_area` VALUES (130171, 130100, '石家庄高新技术产业开发区');
  3915. INSERT INTO `wk_crm_area` VALUES (430521, 430500, '邵东县');
  3916. INSERT INTO `wk_crm_area` VALUES (430523, 430500, '邵阳县');
  3917. INSERT INTO `wk_crm_area` VALUES (430511, 430500, '北塔区');
  3918. INSERT INTO `wk_crm_area` VALUES (430522, 430500, '新邵县');
  3919. INSERT INTO `wk_crm_area` VALUES (430503, 430500, '大祥区');
  3920. INSERT INTO `wk_crm_area` VALUES (430525, 430500, '洞口县');
  3921. INSERT INTO `wk_crm_area` VALUES (430502, 430500, '双清区');
  3922. INSERT INTO `wk_crm_area` VALUES (430524, 430500, '隆回县');
  3923. INSERT INTO `wk_crm_area` VALUES (430527, 430500, '绥宁县');
  3924. INSERT INTO `wk_crm_area` VALUES (430529, 430500, '城步苗族自治县');
  3925. INSERT INTO `wk_crm_area` VALUES (430528, 430500, '新宁县');
  3926. INSERT INTO `wk_crm_area` VALUES (430581, 430500, '武冈市');
  3927. INSERT INTO `wk_crm_area` VALUES (220800, 220000, '白城市');
  3928. INSERT INTO `wk_crm_area` VALUES (220100, 220000, '长春市');
  3929. INSERT INTO `wk_crm_area` VALUES (222400, 220000, '延边朝鲜族自治州');
  3930. INSERT INTO `wk_crm_area` VALUES (220300, 220000, '四平市');
  3931. INSERT INTO `wk_crm_area` VALUES (220200, 220000, '吉林市');
  3932. INSERT INTO `wk_crm_area` VALUES (220500, 220000, '通化市');
  3933. INSERT INTO `wk_crm_area` VALUES (220400, 220000, '辽源市');
  3934. INSERT INTO `wk_crm_area` VALUES (220700, 220000, '松原市');
  3935. INSERT INTO `wk_crm_area` VALUES (220600, 220000, '白山市');
  3936. INSERT INTO `wk_crm_area` VALUES (520422, 520400, '普定县');
  3937. INSERT INTO `wk_crm_area` VALUES (520423, 520400, '镇宁布依族苗族自治县');
  3938. INSERT INTO `wk_crm_area` VALUES (520402, 520400, '西秀区');
  3939. INSERT INTO `wk_crm_area` VALUES (520424, 520400, '关岭布依族苗族自治县');
  3940. INSERT INTO `wk_crm_area` VALUES (520403, 520400, '平坝区');
  3941. INSERT INTO `wk_crm_area` VALUES (520425, 520400, '紫云苗族布依族自治县');
  3942. INSERT INTO `wk_crm_area` VALUES (522728, 522700, '罗甸县');
  3943. INSERT INTO `wk_crm_area` VALUES (522729, 522700, '长顺县');
  3944. INSERT INTO `wk_crm_area` VALUES (522730, 522700, '龙里县');
  3945. INSERT INTO `wk_crm_area` VALUES (522731, 522700, '惠水县');
  3946. INSERT INTO `wk_crm_area` VALUES (522732, 522700, '三都水族自治县');
  3947. INSERT INTO `wk_crm_area` VALUES (522722, 522700, '荔波县');
  3948. INSERT INTO `wk_crm_area` VALUES (522701, 522700, '都匀市');
  3949. INSERT INTO `wk_crm_area` VALUES (522723, 522700, '贵定县');
  3950. INSERT INTO `wk_crm_area` VALUES (522702, 522700, '福泉市');
  3951. INSERT INTO `wk_crm_area` VALUES (522725, 522700, '瓮安县');
  3952. INSERT INTO `wk_crm_area` VALUES (522726, 522700, '独山县');
  3953. INSERT INTO `wk_crm_area` VALUES (522727, 522700, '平塘县');
  3954. INSERT INTO `wk_crm_area` VALUES (440309, 440300, '龙华区');
  3955. INSERT INTO `wk_crm_area` VALUES (440308, 440300, '盐田区');
  3956. INSERT INTO `wk_crm_area` VALUES (440307, 440300, '龙岗区');
  3957. INSERT INTO `wk_crm_area` VALUES (440306, 440300, '宝安区');
  3958. INSERT INTO `wk_crm_area` VALUES (440305, 440300, '南山区');
  3959. INSERT INTO `wk_crm_area` VALUES (440304, 440300, '福田区');
  3960. INSERT INTO `wk_crm_area` VALUES (440303, 440300, '罗湖区');
  3961. INSERT INTO `wk_crm_area` VALUES (440311, 440300, '光明区');
  3962. INSERT INTO `wk_crm_area` VALUES (440310, 440300, '坪山区');
  3963. INSERT INTO `wk_crm_area` VALUES (350402, 350400, '梅列区');
  3964. INSERT INTO `wk_crm_area` VALUES (350424, 350400, '宁化县');
  3965. INSERT INTO `wk_crm_area` VALUES (350403, 350400, '三元区');
  3966. INSERT INTO `wk_crm_area` VALUES (350425, 350400, '大田县');
  3967. INSERT INTO `wk_crm_area` VALUES (350426, 350400, '尤溪县');
  3968. INSERT INTO `wk_crm_area` VALUES (350427, 350400, '沙县');
  3969. INSERT INTO `wk_crm_area` VALUES (350428, 350400, '将乐县');
  3970. INSERT INTO `wk_crm_area` VALUES (350429, 350400, '泰宁县');
  3971. INSERT INTO `wk_crm_area` VALUES (350481, 350400, '永安市');
  3972. INSERT INTO `wk_crm_area` VALUES (350430, 350400, '建宁县');
  3973. INSERT INTO `wk_crm_area` VALUES (350421, 350400, '明溪县');
  3974. INSERT INTO `wk_crm_area` VALUES (350423, 350400, '清流县');
  3975. INSERT INTO `wk_crm_area` VALUES (360202, 360200, '昌江区');
  3976. INSERT INTO `wk_crm_area` VALUES (360222, 360200, '浮梁县');
  3977. INSERT INTO `wk_crm_area` VALUES (360281, 360200, '乐平市');
  3978. INSERT INTO `wk_crm_area` VALUES (360203, 360200, '珠山区');
  3979. INSERT INTO `wk_crm_area` VALUES (532531, 532500, '绿春县');
  3980. INSERT INTO `wk_crm_area` VALUES (532530, 532500, '金平苗族瑶族傣族自治县');
  3981. INSERT INTO `wk_crm_area` VALUES (532528, 532500, '元阳县');
  3982. INSERT INTO `wk_crm_area` VALUES (532527, 532500, '泸西县');
  3983. INSERT INTO `wk_crm_area` VALUES (532504, 532500, '弥勒市');
  3984. INSERT INTO `wk_crm_area` VALUES (532503, 532500, '蒙自市');
  3985. INSERT INTO `wk_crm_area` VALUES (532525, 532500, '石屏县');
  3986. INSERT INTO `wk_crm_area` VALUES (532502, 532500, '开远市');
  3987. INSERT INTO `wk_crm_area` VALUES (532524, 532500, '建水县');
  3988. INSERT INTO `wk_crm_area` VALUES (532501, 532500, '个旧市');
  3989. INSERT INTO `wk_crm_area` VALUES (532523, 532500, '屏边苗族自治县');
  3990. INSERT INTO `wk_crm_area` VALUES (532532, 532500, '河口瑶族自治县');
  3991. INSERT INTO `wk_crm_area` VALUES (532529, 532500, '红河县');
  3992. INSERT INTO `wk_crm_area` VALUES (511781, 511700, '万源市');
  3993. INSERT INTO `wk_crm_area` VALUES (511771, 511700, '达州经济开发区');
  3994. INSERT INTO `wk_crm_area` VALUES (511722, 511700, '宣汉县');
  3995. INSERT INTO `wk_crm_area` VALUES (511723, 511700, '开江县');
  3996. INSERT INTO `wk_crm_area` VALUES (511702, 511700, '通川区');
  3997. INSERT INTO `wk_crm_area` VALUES (511724, 511700, '大竹县');
  3998. INSERT INTO `wk_crm_area` VALUES (511703, 511700, '达川区');
  3999. INSERT INTO `wk_crm_area` VALUES (511725, 511700, '渠县');
  4000. INSERT INTO `wk_crm_area` VALUES (211382, 211300, '凌源市');
  4001. INSERT INTO `wk_crm_area` VALUES (211381, 211300, '北票市');
  4002. INSERT INTO `wk_crm_area` VALUES (211302, 211300, '双塔区');
  4003. INSERT INTO `wk_crm_area` VALUES (211324, 211300, '喀喇沁左翼蒙古族自治县');
  4004. INSERT INTO `wk_crm_area` VALUES (211322, 211300, '建平县');
  4005. INSERT INTO `wk_crm_area` VALUES (211321, 211300, '朝阳县');
  4006. INSERT INTO `wk_crm_area` VALUES (211303, 211300, '龙城区');
  4007. INSERT INTO `wk_crm_area` VALUES (540500, 540000, '山南市');
  4008. INSERT INTO `wk_crm_area` VALUES (540600, 540000, '那曲市');
  4009. INSERT INTO `wk_crm_area` VALUES (540100, 540000, '拉萨市');
  4010. INSERT INTO `wk_crm_area` VALUES (540200, 540000, '日喀则市');
  4011. INSERT INTO `wk_crm_area` VALUES (540300, 540000, '昌都市');
  4012. INSERT INTO `wk_crm_area` VALUES (540400, 540000, '林芝市');
  4013. INSERT INTO `wk_crm_area` VALUES (542500, 540000, '阿里地区');
  4014. INSERT INTO `wk_crm_area` VALUES (450107, 450100, '西乡塘区');
  4015. INSERT INTO `wk_crm_area` VALUES (450109, 450100, '邕宁区');
  4016. INSERT INTO `wk_crm_area` VALUES (450108, 450100, '良庆区');
  4017. INSERT INTO `wk_crm_area` VALUES (450103, 450100, '青秀区');
  4018. INSERT INTO `wk_crm_area` VALUES (450125, 450100, '上林县');
  4019. INSERT INTO `wk_crm_area` VALUES (450102, 450100, '兴宁区');
  4020. INSERT INTO `wk_crm_area` VALUES (450124, 450100, '马山县');
  4021. INSERT INTO `wk_crm_area` VALUES (450105, 450100, '江南区');
  4022. INSERT INTO `wk_crm_area` VALUES (450127, 450100, '横县');
  4023. INSERT INTO `wk_crm_area` VALUES (450126, 450100, '宾阳县');
  4024. INSERT INTO `wk_crm_area` VALUES (450110, 450100, '武鸣区');
  4025. INSERT INTO `wk_crm_area` VALUES (450123, 450100, '隆安县');
  4026. INSERT INTO `wk_crm_area` VALUES (620121, 620100, '永登县');
  4027. INSERT INTO `wk_crm_area` VALUES (620111, 620100, '红古区');
  4028. INSERT INTO `wk_crm_area` VALUES (620122, 620100, '皋兰县');
  4029. INSERT INTO `wk_crm_area` VALUES (620123, 620100, '榆中县');
  4030. INSERT INTO `wk_crm_area` VALUES (620102, 620100, '城关区');
  4031. INSERT INTO `wk_crm_area` VALUES (620171, 620100, '兰州新区');
  4032. INSERT INTO `wk_crm_area` VALUES (620103, 620100, '七里河区');
  4033. INSERT INTO `wk_crm_area` VALUES (620104, 620100, '西固区');
  4034. INSERT INTO `wk_crm_area` VALUES (620105, 620100, '安宁区');
  4035. INSERT INTO `wk_crm_area` VALUES (460108, 460100, '美兰区');
  4036. INSERT INTO `wk_crm_area` VALUES (460107, 460100, '琼山区');
  4037. INSERT INTO `wk_crm_area` VALUES (460106, 460100, '龙华区');
  4038. INSERT INTO `wk_crm_area` VALUES (460105, 460100, '秀英区');
  4039. INSERT INTO `wk_crm_area` VALUES (441781, 441700, '阳春市');
  4040. INSERT INTO `wk_crm_area` VALUES (441704, 441700, '阳东区');
  4041. INSERT INTO `wk_crm_area` VALUES (441702, 441700, '江城区');
  4042. INSERT INTO `wk_crm_area` VALUES (441721, 441700, '阳西县');
  4043. INSERT INTO `wk_crm_area` VALUES (310100, 310000, '上海城区');
  4044. INSERT INTO `wk_crm_area` VALUES (610322, 610300, '凤翔县');
  4045. INSERT INTO `wk_crm_area` VALUES (610323, 610300, '岐山县');
  4046. INSERT INTO `wk_crm_area` VALUES (610331, 610300, '太白县');
  4047. INSERT INTO `wk_crm_area` VALUES (610330, 610300, '凤县');
  4048. INSERT INTO `wk_crm_area` VALUES (610328, 610300, '千阳县');
  4049. INSERT INTO `wk_crm_area` VALUES (610329, 610300, '麟游县');
  4050. INSERT INTO `wk_crm_area` VALUES (610304, 610300, '陈仓区');
  4051. INSERT INTO `wk_crm_area` VALUES (610326, 610300, '眉县');
  4052. INSERT INTO `wk_crm_area` VALUES (610327, 610300, '陇县');
  4053. INSERT INTO `wk_crm_area` VALUES (610302, 610300, '渭滨区');
  4054. INSERT INTO `wk_crm_area` VALUES (610324, 610300, '扶风县');
  4055. INSERT INTO `wk_crm_area` VALUES (610303, 610300, '金台区');
  4056. INSERT INTO `wk_crm_area` VALUES (510421, 510400, '米易县');
  4057. INSERT INTO `wk_crm_area` VALUES (510411, 510400, '仁和区');
  4058. INSERT INTO `wk_crm_area` VALUES (510422, 510400, '盐边县');
  4059. INSERT INTO `wk_crm_area` VALUES (510403, 510400, '西区');
  4060. INSERT INTO `wk_crm_area` VALUES (510402, 510400, '东区');
  4061. INSERT INTO `wk_crm_area` VALUES (520121, 520100, '开阳县');
  4062. INSERT INTO `wk_crm_area` VALUES (520103, 520100, '云岩区');
  4063. INSERT INTO `wk_crm_area` VALUES (520122, 520100, '息烽县');
  4064. INSERT INTO `wk_crm_area` VALUES (520102, 520100, '南明区');
  4065. INSERT INTO `wk_crm_area` VALUES (520123, 520100, '修文县');
  4066. INSERT INTO `wk_crm_area` VALUES (520112, 520100, '乌当区');
  4067. INSERT INTO `wk_crm_area` VALUES (520113, 520100, '白云区');
  4068. INSERT INTO `wk_crm_area` VALUES (520111, 520100, '花溪区');
  4069. INSERT INTO `wk_crm_area` VALUES (520115, 520100, '观山湖区');
  4070. INSERT INTO `wk_crm_area` VALUES (520181, 520100, '清镇市');
  4071. INSERT INTO `wk_crm_area` VALUES (210181, 210100, '新民市');
  4072. INSERT INTO `wk_crm_area` VALUES (210103, 210100, '沈河区');
  4073. INSERT INTO `wk_crm_area` VALUES (210114, 210100, '于洪区');
  4074. INSERT INTO `wk_crm_area` VALUES (210102, 210100, '和平区');
  4075. INSERT INTO `wk_crm_area` VALUES (210113, 210100, '沈北新区');
  4076. INSERT INTO `wk_crm_area` VALUES (210124, 210100, '法库县');
  4077. INSERT INTO `wk_crm_area` VALUES (210112, 210100, '浑南区');
  4078. INSERT INTO `wk_crm_area` VALUES (210123, 210100, '康平县');
  4079. INSERT INTO `wk_crm_area` VALUES (210111, 210100, '苏家屯区');
  4080. INSERT INTO `wk_crm_area` VALUES (210106, 210100, '铁西区');
  4081. INSERT INTO `wk_crm_area` VALUES (210105, 210100, '皇姑区');
  4082. INSERT INTO `wk_crm_area` VALUES (210104, 210100, '大东区');
  4083. INSERT INTO `wk_crm_area` VALUES (210115, 210100, '辽中区');
  4084. INSERT INTO `wk_crm_area` VALUES (371122, 371100, '莒县');
  4085. INSERT INTO `wk_crm_area` VALUES (371103, 371100, '岚山区');
  4086. INSERT INTO `wk_crm_area` VALUES (371102, 371100, '东港区');
  4087. INSERT INTO `wk_crm_area` VALUES (371121, 371100, '五莲县');
  4088. INSERT INTO `wk_crm_area` VALUES (371171, 371100, '日照经济技术开发区');
  4089. INSERT INTO `wk_crm_area` VALUES (130473, 130400, '邯郸冀南新区');
  4090. INSERT INTO `wk_crm_area` VALUES (130430, 130400, '邱县');
  4091. INSERT INTO `wk_crm_area` VALUES (130471, 130400, '邯郸经济技术开发区');
  4092. INSERT INTO `wk_crm_area` VALUES (130433, 130400, '馆陶县');
  4093. INSERT INTO `wk_crm_area` VALUES (130423, 130400, '临漳县');
  4094. INSERT INTO `wk_crm_area` VALUES (130434, 130400, '魏县');
  4095. INSERT INTO `wk_crm_area` VALUES (130431, 130400, '鸡泽县');
  4096. INSERT INTO `wk_crm_area` VALUES (130432, 130400, '广平县');
  4097. INSERT INTO `wk_crm_area` VALUES (130404, 130400, '复兴区');
  4098. INSERT INTO `wk_crm_area` VALUES (130426, 130400, '涉县');
  4099. INSERT INTO `wk_crm_area` VALUES (130427, 130400, '磁县');
  4100. INSERT INTO `wk_crm_area` VALUES (130402, 130400, '邯山区');
  4101. INSERT INTO `wk_crm_area` VALUES (130424, 130400, '成安县');
  4102. INSERT INTO `wk_crm_area` VALUES (130435, 130400, '曲周县');
  4103. INSERT INTO `wk_crm_area` VALUES (130403, 130400, '丛台区');
  4104. INSERT INTO `wk_crm_area` VALUES (130425, 130400, '大名县');
  4105. INSERT INTO `wk_crm_area` VALUES (130408, 130400, '永年区');
  4106. INSERT INTO `wk_crm_area` VALUES (130406, 130400, '峰峰矿区');
  4107. INSERT INTO `wk_crm_area` VALUES (130407, 130400, '肥乡区');
  4108. INSERT INTO `wk_crm_area` VALUES (130481, 130400, '武安市');
  4109. INSERT INTO `wk_crm_area` VALUES (211100, 210000, '盘锦市');
  4110. INSERT INTO `wk_crm_area` VALUES (211000, 210000, '辽阳市');
  4111. INSERT INTO `wk_crm_area` VALUES (210900, 210000, '阜新市');
  4112. INSERT INTO `wk_crm_area` VALUES (210400, 210000, '抚顺市');
  4113. INSERT INTO `wk_crm_area` VALUES (210300, 210000, '鞍山市');
  4114. INSERT INTO `wk_crm_area` VALUES (211400, 210000, '葫芦岛市');
  4115. INSERT INTO `wk_crm_area` VALUES (210200, 210000, '大连市');
  4116. INSERT INTO `wk_crm_area` VALUES (211300, 210000, '朝阳市');
  4117. INSERT INTO `wk_crm_area` VALUES (210100, 210000, '沈阳市');
  4118. INSERT INTO `wk_crm_area` VALUES (211200, 210000, '铁岭市');
  4119. INSERT INTO `wk_crm_area` VALUES (210800, 210000, '营口市');
  4120. INSERT INTO `wk_crm_area` VALUES (210700, 210000, '锦州市');
  4121. INSERT INTO `wk_crm_area` VALUES (210600, 210000, '丹东市');
  4122. INSERT INTO `wk_crm_area` VALUES (210500, 210000, '本溪市');
  4123. INSERT INTO `wk_crm_area` VALUES (430811, 430800, '武陵源区');
  4124. INSERT INTO `wk_crm_area` VALUES (430822, 430800, '桑植县');
  4125. INSERT INTO `wk_crm_area` VALUES (430821, 430800, '慈利县');
  4126. INSERT INTO `wk_crm_area` VALUES (430802, 430800, '永定区');
  4127. INSERT INTO `wk_crm_area` VALUES (440608, 440600, '高明区');
  4128. INSERT INTO `wk_crm_area` VALUES (440607, 440600, '三水区');
  4129. INSERT INTO `wk_crm_area` VALUES (440606, 440600, '顺德区');
  4130. INSERT INTO `wk_crm_area` VALUES (440605, 440600, '南海区');
  4131. INSERT INTO `wk_crm_area` VALUES (440604, 440600, '禅城区');
  4132. INSERT INTO `wk_crm_area` VALUES (533325, 533300, '兰坪白族普米族自治县');
  4133. INSERT INTO `wk_crm_area` VALUES (533324, 533300, '贡山独龙族怒族自治县');
  4134. INSERT INTO `wk_crm_area` VALUES (533301, 533300, '泸水市');
  4135. INSERT INTO `wk_crm_area` VALUES (533323, 533300, '福贡县');
  4136. INSERT INTO `wk_crm_area` VALUES (350303, 350300, '涵江区');
  4137. INSERT INTO `wk_crm_area` VALUES (350304, 350300, '荔城区');
  4138. INSERT INTO `wk_crm_area` VALUES (350305, 350300, '秀屿区');
  4139. INSERT INTO `wk_crm_area` VALUES (350322, 350300, '仙游县');
  4140. INSERT INTO `wk_crm_area` VALUES (350302, 350300, '城厢区');
  4141. INSERT INTO `wk_crm_area` VALUES (360102, 360100, '东湖区');
  4142. INSERT INTO `wk_crm_area` VALUES (360124, 360100, '进贤县');
  4143. INSERT INTO `wk_crm_area` VALUES (360103, 360100, '西湖区');
  4144. INSERT INTO `wk_crm_area` VALUES (360111, 360100, '青山湖区');
  4145. INSERT INTO `wk_crm_area` VALUES (360112, 360100, '新建区');
  4146. INSERT INTO `wk_crm_area` VALUES (360123, 360100, '安义县');
  4147. INSERT INTO `wk_crm_area` VALUES (360121, 360100, '南昌县');
  4148. INSERT INTO `wk_crm_area` VALUES (360104, 360100, '青云谱区');
  4149. INSERT INTO `wk_crm_area` VALUES (360105, 360100, '湾里区');
  4150. INSERT INTO `wk_crm_area` VALUES (140221, 140200, '阳高县');
  4151. INSERT INTO `wk_crm_area` VALUES (140222, 140200, '天镇县');
  4152. INSERT INTO `wk_crm_area` VALUES (140212, 140200, '新荣区');
  4153. INSERT INTO `wk_crm_area` VALUES (140223, 140200, '广灵县');
  4154. INSERT INTO `wk_crm_area` VALUES (140213, 140200, '平城区');
  4155. INSERT INTO `wk_crm_area` VALUES (140224, 140200, '灵丘县');
  4156. INSERT INTO `wk_crm_area` VALUES (140214, 140200, '云冈区');
  4157. INSERT INTO `wk_crm_area` VALUES (140225, 140200, '浑源县');
  4158. INSERT INTO `wk_crm_area` VALUES (140215, 140200, '云州区');
  4159. INSERT INTO `wk_crm_area` VALUES (140226, 140200, '左云县');
  4160. INSERT INTO `wk_crm_area` VALUES (140271, 140200, '山西大同经济开发区');
  4161. INSERT INTO `wk_crm_area` VALUES (450481, 450400, '岑溪市');
  4162. INSERT INTO `wk_crm_area` VALUES (450403, 450400, '万秀区');
  4163. INSERT INTO `wk_crm_area` VALUES (450406, 450400, '龙圩区');
  4164. INSERT INTO `wk_crm_area` VALUES (450405, 450400, '长洲区');
  4165. INSERT INTO `wk_crm_area` VALUES (450422, 450400, '藤县');
  4166. INSERT INTO `wk_crm_area` VALUES (450421, 450400, '苍梧县');
  4167. INSERT INTO `wk_crm_area` VALUES (450423, 450400, '蒙山县');
  4168. INSERT INTO `wk_crm_area` VALUES (150800, 150000, '巴彦淖尔市');
  4169. INSERT INTO `wk_crm_area` VALUES (150900, 150000, '乌兰察布市');
  4170. INSERT INTO `wk_crm_area` VALUES (150600, 150000, '鄂尔多斯市');
  4171. INSERT INTO `wk_crm_area` VALUES (152900, 150000, '阿拉善盟');
  4172. INSERT INTO `wk_crm_area` VALUES (150700, 150000, '呼伦贝尔市');
  4173. INSERT INTO `wk_crm_area` VALUES (150400, 150000, '赤峰市');
  4174. INSERT INTO `wk_crm_area` VALUES (150500, 150000, '通辽市');
  4175. INSERT INTO `wk_crm_area` VALUES (150200, 150000, '包头市');
  4176. INSERT INTO `wk_crm_area` VALUES (152500, 150000, '锡林郭勒盟');
  4177. INSERT INTO `wk_crm_area` VALUES (150300, 150000, '乌海市');
  4178. INSERT INTO `wk_crm_area` VALUES (150100, 150000, '呼和浩特市');
  4179. INSERT INTO `wk_crm_area` VALUES (152200, 150000, '兴安盟');
  4180. INSERT INTO `wk_crm_area` VALUES (211282, 211200, '开原市');
  4181. INSERT INTO `wk_crm_area` VALUES (211281, 211200, '调兵山市');
  4182. INSERT INTO `wk_crm_area` VALUES (211221, 211200, '铁岭县');
  4183. INSERT INTO `wk_crm_area` VALUES (211202, 211200, '银州区');
  4184. INSERT INTO `wk_crm_area` VALUES (211224, 211200, '昌图县');
  4185. INSERT INTO `wk_crm_area` VALUES (211223, 211200, '西丰县');
  4186. INSERT INTO `wk_crm_area` VALUES (211204, 211200, '清河区');
  4187. INSERT INTO `wk_crm_area` VALUES (511681, 511600, '华蓥市');
  4188. INSERT INTO `wk_crm_area` VALUES (511623, 511600, '邻水县');
  4189. INSERT INTO `wk_crm_area` VALUES (511602, 511600, '广安区');
  4190. INSERT INTO `wk_crm_area` VALUES (511621, 511600, '岳池县');
  4191. INSERT INTO `wk_crm_area` VALUES (511622, 511600, '武胜县');
  4192. INSERT INTO `wk_crm_area` VALUES (511603, 511600, '前锋区');
  4193. INSERT INTO `wk_crm_area` VALUES (62201403, 620200, '长城区');
  4194. INSERT INTO `wk_crm_area` VALUES (62201102, 620200, '文殊镇');
  4195. INSERT INTO `wk_crm_area` VALUES (62201401, 620200, '雄关区');
  4196. INSERT INTO `wk_crm_area` VALUES (62201402, 620200, '镜铁区');
  4197. INSERT INTO `wk_crm_area` VALUES (62201100, 620200, '新城镇');
  4198. INSERT INTO `wk_crm_area` VALUES (62201101, 620200, '峪泉镇');
  4199. INSERT INTO `wk_crm_area` VALUES (211122, 211100, '盘山县');
  4200. INSERT INTO `wk_crm_area` VALUES (211104, 211100, '大洼区');
  4201. INSERT INTO `wk_crm_area` VALUES (211103, 211100, '兴隆台区');
  4202. INSERT INTO `wk_crm_area` VALUES (211102, 211100, '双台子区');
  4203. INSERT INTO `wk_crm_area` VALUES (511421, 511400, '仁寿县');
  4204. INSERT INTO `wk_crm_area` VALUES (511403, 511400, '彭山区');
  4205. INSERT INTO `wk_crm_area` VALUES (511425, 511400, '青神县');
  4206. INSERT INTO `wk_crm_area` VALUES (511423, 511400, '洪雅县');
  4207. INSERT INTO `wk_crm_area` VALUES (511402, 511400, '东坡区');
  4208. INSERT INTO `wk_crm_area` VALUES (511424, 511400, '丹棱县');
  4209. INSERT INTO `wk_crm_area` VALUES (532300, 530000, '楚雄彝族自治州');
  4210. INSERT INTO `wk_crm_area` VALUES (533400, 530000, '迪庆藏族自治州');
  4211. INSERT INTO `wk_crm_area` VALUES (530100, 530000, '昆明市');
  4212. INSERT INTO `wk_crm_area` VALUES (533300, 530000, '怒江傈僳族自治州');
  4213. INSERT INTO `wk_crm_area` VALUES (533100, 530000, '德宏傣族景颇族自治州');
  4214. INSERT INTO `wk_crm_area` VALUES (530800, 530000, '普洱市');
  4215. INSERT INTO `wk_crm_area` VALUES (530900, 530000, '临沧市');
  4216. INSERT INTO `wk_crm_area` VALUES (530600, 530000, '昭通市');
  4217. INSERT INTO `wk_crm_area` VALUES (532900, 530000, '大理白族自治州');
  4218. INSERT INTO `wk_crm_area` VALUES (530700, 530000, '丽江市');
  4219. INSERT INTO `wk_crm_area` VALUES (532800, 530000, '西双版纳傣族自治州');
  4220. INSERT INTO `wk_crm_area` VALUES (530400, 530000, '玉溪市');
  4221. INSERT INTO `wk_crm_area` VALUES (530500, 530000, '保山市');
  4222. INSERT INTO `wk_crm_area` VALUES (532600, 530000, '文山壮族苗族自治州');
  4223. INSERT INTO `wk_crm_area` VALUES (532500, 530000, '红河哈尼族彝族自治州');
  4224. INSERT INTO `wk_crm_area` VALUES (530300, 530000, '曲靖市');
  4225. INSERT INTO `wk_crm_area` VALUES (532329, 532300, '武定县');
  4226. INSERT INTO `wk_crm_area` VALUES (532328, 532300, '元谋县');
  4227. INSERT INTO `wk_crm_area` VALUES (532327, 532300, '永仁县');
  4228. INSERT INTO `wk_crm_area` VALUES (532326, 532300, '大姚县');
  4229. INSERT INTO `wk_crm_area` VALUES (532325, 532300, '姚安县');
  4230. INSERT INTO `wk_crm_area` VALUES (532324, 532300, '南华县');
  4231. INSERT INTO `wk_crm_area` VALUES (532301, 532300, '楚雄市');
  4232. INSERT INTO `wk_crm_area` VALUES (532323, 532300, '牟定县');
  4233. INSERT INTO `wk_crm_area` VALUES (532322, 532300, '双柏县');
  4234. INSERT INTO `wk_crm_area` VALUES (532331, 532300, '禄丰县');
  4235. INSERT INTO `wk_crm_area` VALUES (441625, 441600, '东源县');
  4236. INSERT INTO `wk_crm_area` VALUES (441602, 441600, '源城区');
  4237. INSERT INTO `wk_crm_area` VALUES (441624, 441600, '和平县');
  4238. INSERT INTO `wk_crm_area` VALUES (441623, 441600, '连平县');
  4239. INSERT INTO `wk_crm_area` VALUES (441622, 441600, '龙川县');
  4240. INSERT INTO `wk_crm_area` VALUES (441621, 441600, '紫金县');
  4241. INSERT INTO `wk_crm_area` VALUES (310151, 310100, '崇明区');
  4242. INSERT INTO `wk_crm_area` VALUES (310120, 310100, '奉贤区');
  4243. INSERT INTO `wk_crm_area` VALUES (310110, 310100, '杨浦区');
  4244. INSERT INTO `wk_crm_area` VALUES (310101, 310100, '黄浦区');
  4245. INSERT INTO `wk_crm_area` VALUES (310112, 310100, '闵行区');
  4246. INSERT INTO `wk_crm_area` VALUES (310113, 310100, '宝山区');
  4247. INSERT INTO `wk_crm_area` VALUES (310114, 310100, '嘉定区');
  4248. INSERT INTO `wk_crm_area` VALUES (310104, 310100, '徐汇区');
  4249. INSERT INTO `wk_crm_area` VALUES (310115, 310100, '浦东新区');
  4250. INSERT INTO `wk_crm_area` VALUES (310105, 310100, '长宁区');
  4251. INSERT INTO `wk_crm_area` VALUES (310116, 310100, '金山区');
  4252. INSERT INTO `wk_crm_area` VALUES (310106, 310100, '静安区');
  4253. INSERT INTO `wk_crm_area` VALUES (310117, 310100, '松江区');
  4254. INSERT INTO `wk_crm_area` VALUES (310107, 310100, '普陀区');
  4255. INSERT INTO `wk_crm_area` VALUES (310118, 310100, '青浦区');
  4256. INSERT INTO `wk_crm_area` VALUES (310109, 310100, '虹口区');
  4257. INSERT INTO `wk_crm_area` VALUES (460205, 460200, '崖州区');
  4258. INSERT INTO `wk_crm_area` VALUES (460204, 460200, '天涯区');
  4259. INSERT INTO `wk_crm_area` VALUES (460203, 460200, '吉阳区');
  4260. INSERT INTO `wk_crm_area` VALUES (460202, 460200, '海棠区');
  4261. INSERT INTO `wk_crm_area` VALUES (610429, 610400, '旬邑县');
  4262. INSERT INTO `wk_crm_area` VALUES (610428, 610400, '长武县');
  4263. INSERT INTO `wk_crm_area` VALUES (610403, 610400, '杨陵区');
  4264. INSERT INTO `wk_crm_area` VALUES (610425, 610400, '礼泉县');
  4265. INSERT INTO `wk_crm_area` VALUES (610404, 610400, '渭城区');
  4266. INSERT INTO `wk_crm_area` VALUES (610426, 610400, '永寿县');
  4267. INSERT INTO `wk_crm_area` VALUES (610423, 610400, '泾阳县');
  4268. INSERT INTO `wk_crm_area` VALUES (610402, 610400, '秦都区');
  4269. INSERT INTO `wk_crm_area` VALUES (610424, 610400, '乾县');
  4270. INSERT INTO `wk_crm_area` VALUES (610422, 610400, '三原县');
  4271. INSERT INTO `wk_crm_area` VALUES (610430, 610400, '淳化县');
  4272. INSERT INTO `wk_crm_area` VALUES (610431, 610400, '武功县');
  4273. INSERT INTO `wk_crm_area` VALUES (610481, 610400, '兴平市');
  4274. INSERT INTO `wk_crm_area` VALUES (610482, 610400, '彬州市');
  4275. INSERT INTO `wk_crm_area` VALUES (420984, 420900, '汉川市');
  4276. INSERT INTO `wk_crm_area` VALUES (420982, 420900, '安陆市');
  4277. INSERT INTO `wk_crm_area` VALUES (420981, 420900, '应城市');
  4278. INSERT INTO `wk_crm_area` VALUES (420922, 420900, '大悟县');
  4279. INSERT INTO `wk_crm_area` VALUES (420921, 420900, '孝昌县');
  4280. INSERT INTO `wk_crm_area` VALUES (420902, 420900, '孝南区');
  4281. INSERT INTO `wk_crm_area` VALUES (420923, 420900, '云梦县');
  4282. INSERT INTO `wk_crm_area` VALUES (520281, 520200, '盘州市');
  4283. INSERT INTO `wk_crm_area` VALUES (520221, 520200, '水城县');
  4284. INSERT INTO `wk_crm_area` VALUES (520201, 520200, '钟山区');
  4285. INSERT INTO `wk_crm_area` VALUES (520203, 520200, '六枝特区');
  4286. INSERT INTO `wk_crm_area` VALUES (451481, 451400, '凭祥市');
  4287. INSERT INTO `wk_crm_area` VALUES (451423, 451400, '龙州县');
  4288. INSERT INTO `wk_crm_area` VALUES (451422, 451400, '宁明县');
  4289. INSERT INTO `wk_crm_area` VALUES (451425, 451400, '天等县');
  4290. INSERT INTO `wk_crm_area` VALUES (451402, 451400, '江州区');
  4291. INSERT INTO `wk_crm_area` VALUES (451424, 451400, '大新县');
  4292. INSERT INTO `wk_crm_area` VALUES (451421, 451400, '扶绥县');
  4293. INSERT INTO `wk_crm_area` VALUES (321012, 321000, '江都区');
  4294. INSERT INTO `wk_crm_area` VALUES (321023, 321000, '宝应县');
  4295. INSERT INTO `wk_crm_area` VALUES (321084, 321000, '高邮市');
  4296. INSERT INTO `wk_crm_area` VALUES (321071, 321000, '扬州经济技术开发区');
  4297. INSERT INTO `wk_crm_area` VALUES (321081, 321000, '仪征市');
  4298. INSERT INTO `wk_crm_area` VALUES (321002, 321000, '广陵区');
  4299. INSERT INTO `wk_crm_area` VALUES (321003, 321000, '邗江区');
  4300. INSERT INTO `wk_crm_area` VALUES (371002, 371000, '环翠区');
  4301. INSERT INTO `wk_crm_area` VALUES (371003, 371000, '文登区');
  4302. INSERT INTO `wk_crm_area` VALUES (371071, 371000, '威海火炬高技术产业开发区');
  4303. INSERT INTO `wk_crm_area` VALUES (371082, 371000, '荣成市');
  4304. INSERT INTO `wk_crm_area` VALUES (371073, 371000, '威海临港经济技术开发区');
  4305. INSERT INTO `wk_crm_area` VALUES (371072, 371000, '威海经济技术开发区');
  4306. INSERT INTO `wk_crm_area` VALUES (371083, 371000, '乳山市');
  4307. INSERT INTO `wk_crm_area` VALUES (510311, 510300, '沿滩区');
  4308. INSERT INTO `wk_crm_area` VALUES (510322, 510300, '富顺县');
  4309. INSERT INTO `wk_crm_area` VALUES (510321, 510300, '荣县');
  4310. INSERT INTO `wk_crm_area` VALUES (510302, 510300, '自流井区');
  4311. INSERT INTO `wk_crm_area` VALUES (510304, 510300, '大安区');
  4312. INSERT INTO `wk_crm_area` VALUES (510303, 510300, '贡井区');
  4313. INSERT INTO `wk_crm_area` VALUES (130372, 130300, '北戴河新区');
  4314. INSERT INTO `wk_crm_area` VALUES (130302, 130300, '海港区');
  4315. INSERT INTO `wk_crm_area` VALUES (130324, 130300, '卢龙县');
  4316. INSERT INTO `wk_crm_area` VALUES (130321, 130300, '青龙满族自治县');
  4317. INSERT INTO `wk_crm_area` VALUES (130322, 130300, '昌黎县');
  4318. INSERT INTO `wk_crm_area` VALUES (130306, 130300, '抚宁区');
  4319. INSERT INTO `wk_crm_area` VALUES (130303, 130300, '山海关区');
  4320. INSERT INTO `wk_crm_area` VALUES (130304, 130300, '北戴河区');
  4321. INSERT INTO `wk_crm_area` VALUES (130371, 130300, '秦皇岛市经济技术开发区');
  4322. INSERT INTO `wk_crm_area` VALUES (430771, 430700, '常德市西洞庭管理区');
  4323. INSERT INTO `wk_crm_area` VALUES (430721, 430700, '安乡县');
  4324. INSERT INTO `wk_crm_area` VALUES (430723, 430700, '澧县');
  4325. INSERT INTO `wk_crm_area` VALUES (430722, 430700, '汉寿县');
  4326. INSERT INTO `wk_crm_area` VALUES (430703, 430700, '鼎城区');
  4327. INSERT INTO `wk_crm_area` VALUES (430725, 430700, '桃源县');
  4328. INSERT INTO `wk_crm_area` VALUES (430702, 430700, '武陵区');
  4329. INSERT INTO `wk_crm_area` VALUES (430724, 430700, '临澧县');
  4330. INSERT INTO `wk_crm_area` VALUES (430726, 430700, '石门县');
  4331. INSERT INTO `wk_crm_area` VALUES (430781, 430700, '津市市');
  4332. INSERT INTO `wk_crm_area` VALUES (533401, 533400, '香格里拉市');
  4333. INSERT INTO `wk_crm_area` VALUES (533423, 533400, '维西傈僳族自治县');
  4334. INSERT INTO `wk_crm_area` VALUES (533422, 533400, '德钦县');
  4335. INSERT INTO `wk_crm_area` VALUES (440507, 440500, '龙湖区');
  4336. INSERT INTO `wk_crm_area` VALUES (440515, 440500, '澄海区');
  4337. INSERT INTO `wk_crm_area` VALUES (440514, 440500, '潮南区');
  4338. INSERT INTO `wk_crm_area` VALUES (440513, 440500, '潮阳区');
  4339. INSERT INTO `wk_crm_area` VALUES (440512, 440500, '濠江区');
  4340. INSERT INTO `wk_crm_area` VALUES (440523, 440500, '南澳县');
  4341. INSERT INTO `wk_crm_area` VALUES (440511, 440500, '金平区');
  4342. INSERT INTO `wk_crm_area` VALUES (350205, 350200, '海沧区');
  4343. INSERT INTO `wk_crm_area` VALUES (350206, 350200, '湖里区');
  4344. INSERT INTO `wk_crm_area` VALUES (350211, 350200, '集美区');
  4345. INSERT INTO `wk_crm_area` VALUES (350212, 350200, '同安区');
  4346. INSERT INTO `wk_crm_area` VALUES (350213, 350200, '翔安区');
  4347. INSERT INTO `wk_crm_area` VALUES (350203, 350200, '思明区');
  4348. INSERT INTO `wk_crm_area` VALUES (610582, 610500, '华阴市');
  4349. INSERT INTO `wk_crm_area` VALUES (610581, 610500, '韩城市');
  4350. INSERT INTO `wk_crm_area` VALUES (610528, 610500, '富平县');
  4351. INSERT INTO `wk_crm_area` VALUES (610526, 610500, '蒲城县');
  4352. INSERT INTO `wk_crm_area` VALUES (610527, 610500, '白水县');
  4353. INSERT INTO `wk_crm_area` VALUES (610502, 610500, '临渭区');
  4354. INSERT INTO `wk_crm_area` VALUES (610524, 610500, '合阳县');
  4355. INSERT INTO `wk_crm_area` VALUES (610503, 610500, '华州区');
  4356. INSERT INTO `wk_crm_area` VALUES (610525, 610500, '澄城县');
  4357. INSERT INTO `wk_crm_area` VALUES (610522, 610500, '潼关县');
  4358. INSERT INTO `wk_crm_area` VALUES (610523, 610500, '大荔县');
  4359. INSERT INTO `wk_crm_area` VALUES (652924, 652900, '沙雅县');
  4360. INSERT INTO `wk_crm_area` VALUES (652925, 652900, '新和县');
  4361. INSERT INTO `wk_crm_area` VALUES (652926, 652900, '拜城县');
  4362. INSERT INTO `wk_crm_area` VALUES (652927, 652900, '乌什县');
  4363. INSERT INTO `wk_crm_area` VALUES (652928, 652900, '阿瓦提县');
  4364. INSERT INTO `wk_crm_area` VALUES (652929, 652900, '柯坪县');
  4365. INSERT INTO `wk_crm_area` VALUES (652922, 652900, '温宿县');
  4366. INSERT INTO `wk_crm_area` VALUES (652901, 652900, '阿克苏市');
  4367. INSERT INTO `wk_crm_area` VALUES (652923, 652900, '库车县');
  4368. INSERT INTO `wk_crm_area` VALUES (140110, 140100, '晋源区');
  4369. INSERT INTO `wk_crm_area` VALUES (140121, 140100, '清徐县');
  4370. INSERT INTO `wk_crm_area` VALUES (140122, 140100, '阳曲县');
  4371. INSERT INTO `wk_crm_area` VALUES (140123, 140100, '娄烦县');
  4372. INSERT INTO `wk_crm_area` VALUES (140105, 140100, '小店区');
  4373. INSERT INTO `wk_crm_area` VALUES (140106, 140100, '迎泽区');
  4374. INSERT INTO `wk_crm_area` VALUES (140107, 140100, '杏花岭区');
  4375. INSERT INTO `wk_crm_area` VALUES (140108, 140100, '尖草坪区');
  4376. INSERT INTO `wk_crm_area` VALUES (140109, 140100, '万柏林区');
  4377. INSERT INTO `wk_crm_area` VALUES (140181, 140100, '古交市');
  4378. INSERT INTO `wk_crm_area` VALUES (140171, 140100, '山西转型综合改革示范区');
  4379. INSERT INTO `wk_crm_area` VALUES (360300, 360000, '萍乡市');
  4380. INSERT INTO `wk_crm_area` VALUES (360400, 360000, '九江市');
  4381. INSERT INTO `wk_crm_area` VALUES (360100, 360000, '南昌市');
  4382. INSERT INTO `wk_crm_area` VALUES (360200, 360000, '景德镇市');
  4383. INSERT INTO `wk_crm_area` VALUES (361100, 360000, '上饶市');
  4384. INSERT INTO `wk_crm_area` VALUES (361000, 360000, '抚州市');
  4385. INSERT INTO `wk_crm_area` VALUES (360900, 360000, '宜春市');
  4386. INSERT INTO `wk_crm_area` VALUES (360700, 360000, '赣州市');
  4387. INSERT INTO `wk_crm_area` VALUES (360800, 360000, '吉安市');
  4388. INSERT INTO `wk_crm_area` VALUES (360500, 360000, '新余市');
  4389. INSERT INTO `wk_crm_area` VALUES (360600, 360000, '鹰潭市');
  4390. INSERT INTO `wk_crm_area` VALUES (450381, 450300, '荔浦市');
  4391. INSERT INTO `wk_crm_area` VALUES (450305, 450300, '七星区');
  4392. INSERT INTO `wk_crm_area` VALUES (450327, 450300, '灌阳县');
  4393. INSERT INTO `wk_crm_area` VALUES (450304, 450300, '象山区');
  4394. INSERT INTO `wk_crm_area` VALUES (450326, 450300, '永福县');
  4395. INSERT INTO `wk_crm_area` VALUES (450329, 450300, '资源县');
  4396. INSERT INTO `wk_crm_area` VALUES (450328, 450300, '龙胜各族自治县');
  4397. INSERT INTO `wk_crm_area` VALUES (450312, 450300, '临桂区');
  4398. INSERT INTO `wk_crm_area` VALUES (450323, 450300, '灵川县');
  4399. INSERT INTO `wk_crm_area` VALUES (450311, 450300, '雁山区');
  4400. INSERT INTO `wk_crm_area` VALUES (450303, 450300, '叠彩区');
  4401. INSERT INTO `wk_crm_area` VALUES (450325, 450300, '兴安县');
  4402. INSERT INTO `wk_crm_area` VALUES (450302, 450300, '秀峰区');
  4403. INSERT INTO `wk_crm_area` VALUES (450324, 450300, '全州县');
  4404. INSERT INTO `wk_crm_area` VALUES (450330, 450300, '平乐县');
  4405. INSERT INTO `wk_crm_area` VALUES (450321, 450300, '阳朔县');
  4406. INSERT INTO `wk_crm_area` VALUES (450332, 450300, '恭城瑶族自治县');
  4407. INSERT INTO `wk_crm_area` VALUES (511502, 511500, '翠屏区');
  4408. INSERT INTO `wk_crm_area` VALUES (511524, 511500, '长宁县');
  4409. INSERT INTO `wk_crm_area` VALUES (511503, 511500, '南溪区');
  4410. INSERT INTO `wk_crm_area` VALUES (511525, 511500, '高县');
  4411. INSERT INTO `wk_crm_area` VALUES (511523, 511500, '江安县');
  4412. INSERT INTO `wk_crm_area` VALUES (511528, 511500, '兴文县');
  4413. INSERT INTO `wk_crm_area` VALUES (511529, 511500, '屏山县');
  4414. INSERT INTO `wk_crm_area` VALUES (511504, 511500, '叙州区');
  4415. INSERT INTO `wk_crm_area` VALUES (511526, 511500, '珙县');
  4416. INSERT INTO `wk_crm_area` VALUES (511527, 511500, '筠连县');
  4417. INSERT INTO `wk_crm_area` VALUES (152202, 152200, '阿尔山市');
  4418. INSERT INTO `wk_crm_area` VALUES (152224, 152200, '突泉县');
  4419. INSERT INTO `wk_crm_area` VALUES (152201, 152200, '乌兰浩特市');
  4420. INSERT INTO `wk_crm_area` VALUES (152223, 152200, '扎赉特旗');
  4421. INSERT INTO `wk_crm_area` VALUES (152222, 152200, '科尔沁右翼中旗');
  4422. INSERT INTO `wk_crm_area` VALUES (152221, 152200, '科尔沁右翼前旗');
  4423. INSERT INTO `wk_crm_area` VALUES (712183, 712100, '土库镇');
  4424. INSERT INTO `wk_crm_area` VALUES (712194, 712100, '二仑乡');
  4425. INSERT INTO `wk_crm_area` VALUES (712184, 712100, '褒忠乡');
  4426. INSERT INTO `wk_crm_area` VALUES (712195, 712100, '北港镇');
  4427. INSERT INTO `wk_crm_area` VALUES (712185, 712100, '东势乡');
  4428. INSERT INTO `wk_crm_area` VALUES (712196, 712100, '水林乡');
  4429. INSERT INTO `wk_crm_area` VALUES (712186, 712100, '台西乡');
  4430. INSERT INTO `wk_crm_area` VALUES (712197, 712100, '口湖乡');
  4431. INSERT INTO `wk_crm_area` VALUES (712190, 712100, '林内乡');
  4432. INSERT INTO `wk_crm_area` VALUES (712180, 712100, '斗南镇');
  4433. INSERT INTO `wk_crm_area` VALUES (712191, 712100, '古坑乡');
  4434. INSERT INTO `wk_crm_area` VALUES (712181, 712100, '大埤乡');
  4435. INSERT INTO `wk_crm_area` VALUES (712192, 712100, '莿桐乡');
  4436. INSERT INTO `wk_crm_area` VALUES (712182, 712100, '虎尾镇');
  4437. INSERT INTO `wk_crm_area` VALUES (712193, 712100, '西螺镇');
  4438. INSERT INTO `wk_crm_area` VALUES (712187, 712100, '仑背乡');
  4439. INSERT INTO `wk_crm_area` VALUES (712198, 712100, '四湖乡');
  4440. INSERT INTO `wk_crm_area` VALUES (712188, 712100, '麦寮乡');
  4441. INSERT INTO `wk_crm_area` VALUES (712199, 712100, '元长乡');
  4442. INSERT INTO `wk_crm_area` VALUES (712189, 712100, '斗六市');
  4443. INSERT INTO `wk_crm_area` VALUES (710999, 710900, '其它区');
  4444. INSERT INTO `wk_crm_area` VALUES (710902, 710900, '西区');
  4445. INSERT INTO `wk_crm_area` VALUES (710901, 710900, '东区');
  4446. INSERT INTO `wk_crm_area` VALUES (321000, 320000, '扬州市');
  4447. INSERT INTO `wk_crm_area` VALUES (321100, 320000, '镇江市');
  4448. INSERT INTO `wk_crm_area` VALUES (320900, 320000, '盐城市');
  4449. INSERT INTO `wk_crm_area` VALUES (320700, 320000, '连云港市');
  4450. INSERT INTO `wk_crm_area` VALUES (320800, 320000, '淮安市');
  4451. INSERT INTO `wk_crm_area` VALUES (320500, 320000, '苏州市');
  4452. INSERT INTO `wk_crm_area` VALUES (320600, 320000, '南通市');
  4453. INSERT INTO `wk_crm_area` VALUES (320300, 320000, '徐州市');
  4454. INSERT INTO `wk_crm_area` VALUES (320400, 320000, '常州市');
  4455. INSERT INTO `wk_crm_area` VALUES (320100, 320000, '南京市');
  4456. INSERT INTO `wk_crm_area` VALUES (321200, 320000, '泰州市');
  4457. INSERT INTO `wk_crm_area` VALUES (320200, 320000, '无锡市');
  4458. INSERT INTO `wk_crm_area` VALUES (321300, 320000, '宿迁市');
  4459. INSERT INTO `wk_crm_area` VALUES (131002, 131000, '安次区');
  4460. INSERT INTO `wk_crm_area` VALUES (131024, 131000, '香河县');
  4461. INSERT INTO `wk_crm_area` VALUES (131023, 131000, '永清县');
  4462. INSERT INTO `wk_crm_area` VALUES (131022, 131000, '固安县');
  4463. INSERT INTO `wk_crm_area` VALUES (131028, 131000, '大厂回族自治县');
  4464. INSERT INTO `wk_crm_area` VALUES (131026, 131000, '文安县');
  4465. INSERT INTO `wk_crm_area` VALUES (131003, 131000, '广阳区');
  4466. INSERT INTO `wk_crm_area` VALUES (131025, 131000, '大城县');
  4467. INSERT INTO `wk_crm_area` VALUES (131071, 131000, '廊坊经济技术开发区');
  4468. INSERT INTO `wk_crm_area` VALUES (131082, 131000, '三河市');
  4469. INSERT INTO `wk_crm_area` VALUES (131081, 131000, '霸州市');
  4470. INSERT INTO `wk_crm_area` VALUES (211011, 211000, '太子河区');
  4471. INSERT INTO `wk_crm_area` VALUES (211021, 211000, '辽阳县');
  4472. INSERT INTO `wk_crm_area` VALUES (211005, 211000, '弓长岭区');
  4473. INSERT INTO `wk_crm_area` VALUES (211004, 211000, '宏伟区');
  4474. INSERT INTO `wk_crm_area` VALUES (211003, 211000, '文圣区');
  4475. INSERT INTO `wk_crm_area` VALUES (211002, 211000, '白塔区');
  4476. INSERT INTO `wk_crm_area` VALUES (211081, 211000, '灯塔市');
  4477. INSERT INTO `wk_crm_area` VALUES (540302, 540300, '卡若区');
  4478. INSERT INTO `wk_crm_area` VALUES (540324, 540300, '丁青县');
  4479. INSERT INTO `wk_crm_area` VALUES (540325, 540300, '察雅县');
  4480. INSERT INTO `wk_crm_area` VALUES (540326, 540300, '八宿县');
  4481. INSERT INTO `wk_crm_area` VALUES (540327, 540300, '左贡县');
  4482. INSERT INTO `wk_crm_area` VALUES (540321, 540300, '江达县');
  4483. INSERT INTO `wk_crm_area` VALUES (540322, 540300, '贡觉县');
  4484. INSERT INTO `wk_crm_area` VALUES (540323, 540300, '类乌齐县');
  4485. INSERT INTO `wk_crm_area` VALUES (540330, 540300, '边坝县');
  4486. INSERT INTO `wk_crm_area` VALUES (540328, 540300, '芒康县');
  4487. INSERT INTO `wk_crm_area` VALUES (540329, 540300, '洛隆县');
  4488. INSERT INTO `wk_crm_area` VALUES (44900119, 441900, '长安镇');
  4489. INSERT INTO `wk_crm_area` VALUES (44900121, 441900, '虎门镇');
  4490. INSERT INTO `wk_crm_area` VALUES (44900122, 441900, '厚街镇');
  4491. INSERT INTO `wk_crm_area` VALUES (44900101, 441900, '石碣镇');
  4492. INSERT INTO `wk_crm_area` VALUES (44900123, 441900, '沙田镇');
  4493. INSERT INTO `wk_crm_area` VALUES (44900003, 441900, '东城街道');
  4494. INSERT INTO `wk_crm_area` VALUES (44900102, 441900, '石龙镇');
  4495. INSERT INTO `wk_crm_area` VALUES (44900124, 441900, '道滘镇');
  4496. INSERT INTO `wk_crm_area` VALUES (44900004, 441900, '南城街道');
  4497. INSERT INTO `wk_crm_area` VALUES (44900103, 441900, '茶山镇');
  4498. INSERT INTO `wk_crm_area` VALUES (44900125, 441900, '洪梅镇');
  4499. INSERT INTO `wk_crm_area` VALUES (44900005, 441900, '万江街道');
  4500. INSERT INTO `wk_crm_area` VALUES (44900104, 441900, '石排镇');
  4501. INSERT INTO `wk_crm_area` VALUES (44900126, 441900, '麻涌镇');
  4502. INSERT INTO `wk_crm_area` VALUES (44900401, 441900, '松山湖管委会');
  4503. INSERT INTO `wk_crm_area` VALUES (44900006, 441900, '莞城街道');
  4504. INSERT INTO `wk_crm_area` VALUES (44900105, 441900, '企石镇');
  4505. INSERT INTO `wk_crm_area` VALUES (44900127, 441900, '望牛墩镇');
  4506. INSERT INTO `wk_crm_area` VALUES (44900402, 441900, '东莞港');
  4507. INSERT INTO `wk_crm_area` VALUES (44900106, 441900, '横沥镇');
  4508. INSERT INTO `wk_crm_area` VALUES (44900128, 441900, '中堂镇');
  4509. INSERT INTO `wk_crm_area` VALUES (44900403, 441900, '东莞生态园');
  4510. INSERT INTO `wk_crm_area` VALUES (44900107, 441900, '桥头镇');
  4511. INSERT INTO `wk_crm_area` VALUES (44900129, 441900, '高埗镇');
  4512. INSERT INTO `wk_crm_area` VALUES (44900108, 441900, '谢岗镇');
  4513. INSERT INTO `wk_crm_area` VALUES (44900109, 441900, '东坑镇');
  4514. INSERT INTO `wk_crm_area` VALUES (44900110, 441900, '常平镇');
  4515. INSERT INTO `wk_crm_area` VALUES (44900111, 441900, '寮步镇');
  4516. INSERT INTO `wk_crm_area` VALUES (44900112, 441900, '樟木头镇');
  4517. INSERT INTO `wk_crm_area` VALUES (44900113, 441900, '大朗镇');
  4518. INSERT INTO `wk_crm_area` VALUES (44900114, 441900, '黄江镇');
  4519. INSERT INTO `wk_crm_area` VALUES (44900115, 441900, '清溪镇');
  4520. INSERT INTO `wk_crm_area` VALUES (44900116, 441900, '塘厦镇');
  4521. INSERT INTO `wk_crm_area` VALUES (44900117, 441900, '凤岗镇');
  4522. INSERT INTO `wk_crm_area` VALUES (44900118, 441900, '大岭山镇');
  4523. INSERT INTO `wk_crm_area` VALUES (460323, 460300, '中沙群岛的岛礁及其海域');
  4524. INSERT INTO `wk_crm_area` VALUES (460322, 460300, '南沙群岛');
  4525. INSERT INTO `wk_crm_area` VALUES (460321, 460300, '西沙群岛');
  4526. INSERT INTO `wk_crm_area` VALUES (361126, 361100, '弋阳县');
  4527. INSERT INTO `wk_crm_area` VALUES (361103, 361100, '广丰区');
  4528. INSERT INTO `wk_crm_area` VALUES (361125, 361100, '横峰县');
  4529. INSERT INTO `wk_crm_area` VALUES (361102, 361100, '信州区');
  4530. INSERT INTO `wk_crm_area` VALUES (361124, 361100, '铅山县');
  4531. INSERT INTO `wk_crm_area` VALUES (361123, 361100, '玉山县');
  4532. INSERT INTO `wk_crm_area` VALUES (361121, 361100, '上饶县');
  4533. INSERT INTO `wk_crm_area` VALUES (361130, 361100, '婺源县');
  4534. INSERT INTO `wk_crm_area` VALUES (361181, 361100, '德兴市');
  4535. INSERT INTO `wk_crm_area` VALUES (361129, 361100, '万年县');
  4536. INSERT INTO `wk_crm_area` VALUES (361128, 361100, '鄱阳县');
  4537. INSERT INTO `wk_crm_area` VALUES (361127, 361100, '余干县');
  4538. INSERT INTO `wk_crm_area` VALUES (654221, 654200, '额敏县');
  4539. INSERT INTO `wk_crm_area` VALUES (654201, 654200, '塔城市');
  4540. INSERT INTO `wk_crm_area` VALUES (654223, 654200, '沙湾县');
  4541. INSERT INTO `wk_crm_area` VALUES (654202, 654200, '乌苏市');
  4542. INSERT INTO `wk_crm_area` VALUES (654224, 654200, '托里县');
  4543. INSERT INTO `wk_crm_area` VALUES (654225, 654200, '裕民县');
  4544. INSERT INTO `wk_crm_area` VALUES (654226, 654200, '和布克赛尔蒙古自治县');
  4545. INSERT INTO `wk_crm_area` VALUES (120102, 120100, '河东区');
  4546. INSERT INTO `wk_crm_area` VALUES (120113, 120100, '北辰区');
  4547. INSERT INTO `wk_crm_area` VALUES (120103, 120100, '河西区');
  4548. INSERT INTO `wk_crm_area` VALUES (120114, 120100, '武清区');
  4549. INSERT INTO `wk_crm_area` VALUES (120104, 120100, '南开区');
  4550. INSERT INTO `wk_crm_area` VALUES (120115, 120100, '宝坻区');
  4551. INSERT INTO `wk_crm_area` VALUES (120105, 120100, '河北区');
  4552. INSERT INTO `wk_crm_area` VALUES (120116, 120100, '滨海新区');
  4553. INSERT INTO `wk_crm_area` VALUES (120110, 120100, '东丽区');
  4554. INSERT INTO `wk_crm_area` VALUES (120111, 120100, '西青区');
  4555. INSERT INTO `wk_crm_area` VALUES (120101, 120100, '和平区');
  4556. INSERT INTO `wk_crm_area` VALUES (120112, 120100, '津南区');
  4557. INSERT INTO `wk_crm_area` VALUES (120106, 120100, '红桥区');
  4558. INSERT INTO `wk_crm_area` VALUES (120117, 120100, '宁河区');
  4559. INSERT INTO `wk_crm_area` VALUES (120118, 120100, '静海区');
  4560. INSERT INTO `wk_crm_area` VALUES (120119, 120100, '蓟州区');
  4561. INSERT INTO `wk_crm_area` VALUES (469007, 469000, '东方市');
  4562. INSERT INTO `wk_crm_area` VALUES (469029, 469000, '保亭黎族苗族自治县');
  4563. INSERT INTO `wk_crm_area` VALUES (469006, 469000, '万宁市');
  4564. INSERT INTO `wk_crm_area` VALUES (469028, 469000, '陵水黎族自治县');
  4565. INSERT INTO `wk_crm_area` VALUES (469005, 469000, '文昌市');
  4566. INSERT INTO `wk_crm_area` VALUES (469027, 469000, '乐东黎族自治县');
  4567. INSERT INTO `wk_crm_area` VALUES (469026, 469000, '昌江黎族自治县');
  4568. INSERT INTO `wk_crm_area` VALUES (469025, 469000, '白沙黎族自治县');
  4569. INSERT INTO `wk_crm_area` VALUES (469002, 469000, '琼海市');
  4570. INSERT INTO `wk_crm_area` VALUES (469024, 469000, '临高县');
  4571. INSERT INTO `wk_crm_area` VALUES (469001, 469000, '五指山市');
  4572. INSERT INTO `wk_crm_area` VALUES (469023, 469000, '澄迈县');
  4573. INSERT INTO `wk_crm_area` VALUES (469022, 469000, '屯昌县');
  4574. INSERT INTO `wk_crm_area` VALUES (469021, 469000, '定安县');
  4575. INSERT INTO `wk_crm_area` VALUES (469030, 469000, '琼中黎族苗族自治县');
  4576. INSERT INTO `wk_crm_area` VALUES (321271, 321200, '泰州医药高新技术产业开发区');
  4577. INSERT INTO `wk_crm_area` VALUES (321282, 321200, '靖江市');
  4578. INSERT INTO `wk_crm_area` VALUES (321283, 321200, '泰兴市');
  4579. INSERT INTO `wk_crm_area` VALUES (321281, 321200, '兴化市');
  4580. INSERT INTO `wk_crm_area` VALUES (321204, 321200, '姜堰区');
  4581. INSERT INTO `wk_crm_area` VALUES (321202, 321200, '海陵区');
  4582. INSERT INTO `wk_crm_area` VALUES (321203, 321200, '高港区');
  4583. INSERT INTO `wk_crm_area` VALUES (321111, 321100, '润州区');
  4584. INSERT INTO `wk_crm_area` VALUES (321183, 321100, '句容市');
  4585. INSERT INTO `wk_crm_area` VALUES (321181, 321100, '丹阳市');
  4586. INSERT INTO `wk_crm_area` VALUES (321171, 321100, '镇江新区');
  4587. INSERT INTO `wk_crm_area` VALUES (321182, 321100, '扬中市');
  4588. INSERT INTO `wk_crm_area` VALUES (321112, 321100, '丹徒区');
  4589. INSERT INTO `wk_crm_area` VALUES (321102, 321100, '京口区');
  4590. INSERT INTO `wk_crm_area` VALUES (440804, 440800, '坡头区');
  4591. INSERT INTO `wk_crm_area` VALUES (440803, 440800, '霞山区');
  4592. INSERT INTO `wk_crm_area` VALUES (440825, 440800, '徐闻县');
  4593. INSERT INTO `wk_crm_area` VALUES (440802, 440800, '赤坎区');
  4594. INSERT INTO `wk_crm_area` VALUES (440823, 440800, '遂溪县');
  4595. INSERT INTO `wk_crm_area` VALUES (440811, 440800, '麻章区');
  4596. INSERT INTO `wk_crm_area` VALUES (440883, 440800, '吴川市');
  4597. INSERT INTO `wk_crm_area` VALUES (440882, 440800, '雷州市');
  4598. INSERT INTO `wk_crm_area` VALUES (440881, 440800, '廉江市');
  4599. INSERT INTO `wk_crm_area` VALUES (623027, 623000, '夏河县');
  4600. INSERT INTO `wk_crm_area` VALUES (623025, 623000, '玛曲县');
  4601. INSERT INTO `wk_crm_area` VALUES (623026, 623000, '碌曲县');
  4602. INSERT INTO `wk_crm_area` VALUES (623001, 623000, '合作市');
  4603. INSERT INTO `wk_crm_area` VALUES (623023, 623000, '舟曲县');
  4604. INSERT INTO `wk_crm_area` VALUES (623024, 623000, '迭部县');
  4605. INSERT INTO `wk_crm_area` VALUES (623021, 623000, '临潭县');
  4606. INSERT INTO `wk_crm_area` VALUES (623022, 623000, '卓尼县');
  4607. INSERT INTO `wk_crm_area` VALUES (350105, 350100, '马尾区');
  4608. INSERT INTO `wk_crm_area` VALUES (350128, 350100, '平潭县');
  4609. INSERT INTO `wk_crm_area` VALUES (350121, 350100, '闽侯县');
  4610. INSERT INTO `wk_crm_area` VALUES (350111, 350100, '晋安区');
  4611. INSERT INTO `wk_crm_area` VALUES (350122, 350100, '连江县');
  4612. INSERT INTO `wk_crm_area` VALUES (350112, 350100, '长乐区');
  4613. INSERT INTO `wk_crm_area` VALUES (350123, 350100, '罗源县');
  4614. INSERT INTO `wk_crm_area` VALUES (350102, 350100, '鼓楼区');
  4615. INSERT INTO `wk_crm_area` VALUES (350124, 350100, '闽清县');
  4616. INSERT INTO `wk_crm_area` VALUES (350103, 350100, '台江区');
  4617. INSERT INTO `wk_crm_area` VALUES (350125, 350100, '永泰县');
  4618. INSERT INTO `wk_crm_area` VALUES (350104, 350100, '仓山区');
  4619. INSERT INTO `wk_crm_area` VALUES (350181, 350100, '福清市');
  4620. INSERT INTO `wk_crm_area` VALUES (532801, 532800, '景洪市');
  4621. INSERT INTO `wk_crm_area` VALUES (532823, 532800, '勐腊县');
  4622. INSERT INTO `wk_crm_area` VALUES (532822, 532800, '勐海县');
  4623. INSERT INTO `wk_crm_area` VALUES (530523, 530500, '龙陵县');
  4624. INSERT INTO `wk_crm_area` VALUES (530502, 530500, '隆阳区');
  4625. INSERT INTO `wk_crm_area` VALUES (530524, 530500, '昌宁县');
  4626. INSERT INTO `wk_crm_area` VALUES (530521, 530500, '施甸县');
  4627. INSERT INTO `wk_crm_area` VALUES (530581, 530500, '腾冲市');
  4628. INSERT INTO `wk_crm_area` VALUES (632323, 632300, '泽库县');
  4629. INSERT INTO `wk_crm_area` VALUES (632322, 632300, '尖扎县');
  4630. INSERT INTO `wk_crm_area` VALUES (632321, 632300, '同仁县');
  4631. INSERT INTO `wk_crm_area` VALUES (632324, 632300, '河南蒙古族自治县');
  4632. INSERT INTO `wk_crm_area` VALUES (653130, 653100, '巴楚县');
  4633. INSERT INTO `wk_crm_area` VALUES (653131, 653100, '塔什库尔干塔吉克自治县');
  4634. INSERT INTO `wk_crm_area` VALUES (653121, 653100, '疏附县');
  4635. INSERT INTO `wk_crm_area` VALUES (653122, 653100, '疏勒县');
  4636. INSERT INTO `wk_crm_area` VALUES (653101, 653100, '喀什市');
  4637. INSERT INTO `wk_crm_area` VALUES (653123, 653100, '英吉沙县');
  4638. INSERT INTO `wk_crm_area` VALUES (653124, 653100, '泽普县');
  4639. INSERT INTO `wk_crm_area` VALUES (653125, 653100, '莎车县');
  4640. INSERT INTO `wk_crm_area` VALUES (653126, 653100, '叶城县');
  4641. INSERT INTO `wk_crm_area` VALUES (653127, 653100, '麦盖提县');
  4642. INSERT INTO `wk_crm_area` VALUES (653128, 653100, '岳普湖县');
  4643. INSERT INTO `wk_crm_area` VALUES (653129, 653100, '伽师县');
  4644. INSERT INTO `wk_crm_area` VALUES (630100, 630000, '西宁市');
  4645. INSERT INTO `wk_crm_area` VALUES (630200, 630000, '海东市');
  4646. INSERT INTO `wk_crm_area` VALUES (632300, 630000, '黄南藏族自治州');
  4647. INSERT INTO `wk_crm_area` VALUES (632200, 630000, '海北藏族自治州');
  4648. INSERT INTO `wk_crm_area` VALUES (632800, 630000, '海西蒙古族藏族自治州');
  4649. INSERT INTO `wk_crm_area` VALUES (632700, 630000, '玉树藏族自治州');
  4650. INSERT INTO `wk_crm_area` VALUES (632600, 630000, '果洛藏族自治州');
  4651. INSERT INTO `wk_crm_area` VALUES (632500, 630000, '海南藏族自治州');
  4652. INSERT INTO `wk_crm_area` VALUES (450602, 450600, '港口区');
  4653. INSERT INTO `wk_crm_area` VALUES (450603, 450600, '防城区');
  4654. INSERT INTO `wk_crm_area` VALUES (450621, 450600, '上思县');
  4655. INSERT INTO `wk_crm_area` VALUES (450681, 450600, '东兴市');
  4656. INSERT INTO `wk_crm_area` VALUES (710801, 710800, '东区');
  4657. INSERT INTO `wk_crm_area` VALUES (710899, 710800, '其它区');
  4658. INSERT INTO `wk_crm_area` VALUES (710803, 710800, '香山区');
  4659. INSERT INTO `wk_crm_area` VALUES (710802, 710800, '北区');
  4660. INSERT INTO `wk_crm_area` VALUES (540423, 540400, '墨脱县');
  4661. INSERT INTO `wk_crm_area` VALUES (540402, 540400, '巴宜区');
  4662. INSERT INTO `wk_crm_area` VALUES (540424, 540400, '波密县');
  4663. INSERT INTO `wk_crm_area` VALUES (540425, 540400, '察隅县');
  4664. INSERT INTO `wk_crm_area` VALUES (540426, 540400, '朗县');
  4665. INSERT INTO `wk_crm_area` VALUES (540421, 540400, '工布江达县');
  4666. INSERT INTO `wk_crm_area` VALUES (540422, 540400, '米林县');
  4667. INSERT INTO `wk_crm_area` VALUES (441826, 441800, '连南瑶族自治县');
  4668. INSERT INTO `wk_crm_area` VALUES (441803, 441800, '清新区');
  4669. INSERT INTO `wk_crm_area` VALUES (441825, 441800, '连山壮族瑶族自治县');
  4670. INSERT INTO `wk_crm_area` VALUES (441802, 441800, '清城区');
  4671. INSERT INTO `wk_crm_area` VALUES (441823, 441800, '阳山县');
  4672. INSERT INTO `wk_crm_area` VALUES (441821, 441800, '佛冈县');
  4673. INSERT INTO `wk_crm_area` VALUES (441882, 441800, '连州市');
  4674. INSERT INTO `wk_crm_area` VALUES (441881, 441800, '英德市');
  4675. INSERT INTO `wk_crm_area` VALUES (46400105, 460400, '兰洋镇');
  4676. INSERT INTO `wk_crm_area` VALUES (46400116, 460400, '新州镇');
  4677. INSERT INTO `wk_crm_area` VALUES (46400106, 460400, '光村镇');
  4678. INSERT INTO `wk_crm_area` VALUES (46400107, 460400, '木棠镇');
  4679. INSERT INTO `wk_crm_area` VALUES (46400108, 460400, '海头镇');
  4680. INSERT INTO `wk_crm_area` VALUES (46400101, 460400, '和庆镇');
  4681. INSERT INTO `wk_crm_area` VALUES (46400112, 460400, '白马井镇');
  4682. INSERT INTO `wk_crm_area` VALUES (46400102, 460400, '南丰镇');
  4683. INSERT INTO `wk_crm_area` VALUES (46400113, 460400, '中和镇');
  4684. INSERT INTO `wk_crm_area` VALUES (46400103, 460400, '大成镇');
  4685. INSERT INTO `wk_crm_area` VALUES (46400114, 460400, '排浦镇');
  4686. INSERT INTO `wk_crm_area` VALUES (46400499, 460400, '洋浦经济开发区');
  4687. INSERT INTO `wk_crm_area` VALUES (46400104, 460400, '雅星镇');
  4688. INSERT INTO `wk_crm_area` VALUES (46400115, 460400, '东成镇');
  4689. INSERT INTO `wk_crm_area` VALUES (46400500, 460400, '华南热作学院');
  4690. INSERT INTO `wk_crm_area` VALUES (46400109, 460400, '峨蔓镇');
  4691. INSERT INTO `wk_crm_area` VALUES (46400100, 460400, '那大镇');
  4692. INSERT INTO `wk_crm_area` VALUES (46400111, 460400, '王五镇');
  4693. INSERT INTO `wk_crm_area` VALUES (331022, 331000, '三门县');
  4694. INSERT INTO `wk_crm_area` VALUES (331081, 331000, '温岭市');
  4695. INSERT INTO `wk_crm_area` VALUES (331082, 331000, '临海市');
  4696. INSERT INTO `wk_crm_area` VALUES (331083, 331000, '玉环市');
  4697. INSERT INTO `wk_crm_area` VALUES (331023, 331000, '天台县');
  4698. INSERT INTO `wk_crm_area` VALUES (331002, 331000, '椒江区');
  4699. INSERT INTO `wk_crm_area` VALUES (331024, 331000, '仙居县');
  4700. INSERT INTO `wk_crm_area` VALUES (331003, 331000, '黄岩区');
  4701. INSERT INTO `wk_crm_area` VALUES (331004, 331000, '路桥区');
  4702. INSERT INTO `wk_crm_area` VALUES (361027, 361000, '金溪县');
  4703. INSERT INTO `wk_crm_area` VALUES (361026, 361000, '宜黄县');
  4704. INSERT INTO `wk_crm_area` VALUES (361003, 361000, '东乡区');
  4705. INSERT INTO `wk_crm_area` VALUES (361025, 361000, '乐安县');
  4706. INSERT INTO `wk_crm_area` VALUES (361002, 361000, '临川区');
  4707. INSERT INTO `wk_crm_area` VALUES (361024, 361000, '崇仁县');
  4708. INSERT INTO `wk_crm_area` VALUES (361023, 361000, '南丰县');
  4709. INSERT INTO `wk_crm_area` VALUES (361022, 361000, '黎川县');
  4710. INSERT INTO `wk_crm_area` VALUES (361021, 361000, '南城县');
  4711. INSERT INTO `wk_crm_area` VALUES (361030, 361000, '广昌县');
  4712. INSERT INTO `wk_crm_area` VALUES (361028, 361000, '资溪县');
  4713. INSERT INTO `wk_crm_area` VALUES (321371, 321300, '宿迁经济技术开发区');
  4714. INSERT INTO `wk_crm_area` VALUES (321323, 321300, '泗阳县');
  4715. INSERT INTO `wk_crm_area` VALUES (321302, 321300, '宿城区');
  4716. INSERT INTO `wk_crm_area` VALUES (321324, 321300, '泗洪县');
  4717. INSERT INTO `wk_crm_area` VALUES (321311, 321300, '宿豫区');
  4718. INSERT INTO `wk_crm_area` VALUES (321322, 321300, '沭阳县');
  4719. INSERT INTO `wk_crm_area` VALUES (510903, 510900, '船山区');
  4720. INSERT INTO `wk_crm_area` VALUES (510904, 510900, '安居区');
  4721. INSERT INTO `wk_crm_area` VALUES (510923, 510900, '大英县');
  4722. INSERT INTO `wk_crm_area` VALUES (510921, 510900, '蓬溪县');
  4723. INSERT INTO `wk_crm_area` VALUES (510922, 510900, '射洪县');
  4724. INSERT INTO `wk_crm_area` VALUES (440705, 440700, '新会区');
  4725. INSERT INTO `wk_crm_area` VALUES (440704, 440700, '江海区');
  4726. INSERT INTO `wk_crm_area` VALUES (440703, 440700, '蓬江区');
  4727. INSERT INTO `wk_crm_area` VALUES (440785, 440700, '恩平市');
  4728. INSERT INTO `wk_crm_area` VALUES (440784, 440700, '鹤山市');
  4729. INSERT INTO `wk_crm_area` VALUES (440783, 440700, '开平市');
  4730. INSERT INTO `wk_crm_area` VALUES (440781, 440700, '台山市');
  4731. INSERT INTO `wk_crm_area` VALUES (430981, 430900, '沅江市');
  4732. INSERT INTO `wk_crm_area` VALUES (430972, 430900, '湖南益阳高新技术产业园区');
  4733. INSERT INTO `wk_crm_area` VALUES (430971, 430900, '益阳市大通湖管理区');
  4734. INSERT INTO `wk_crm_area` VALUES (430921, 430900, '南县');
  4735. INSERT INTO `wk_crm_area` VALUES (430923, 430900, '安化县');
  4736. INSERT INTO `wk_crm_area` VALUES (430922, 430900, '桃江县');
  4737. INSERT INTO `wk_crm_area` VALUES (430903, 430900, '赫山区');
  4738. INSERT INTO `wk_crm_area` VALUES (430902, 430900, '资阳区');
  4739. INSERT INTO `wk_crm_area` VALUES (350600, 350000, '漳州市');
  4740. INSERT INTO `wk_crm_area` VALUES (350700, 350000, '南平市');
  4741. INSERT INTO `wk_crm_area` VALUES (350800, 350000, '龙岩市');
  4742. INSERT INTO `wk_crm_area` VALUES (350900, 350000, '宁德市');
  4743. INSERT INTO `wk_crm_area` VALUES (350100, 350000, '福州市');
  4744. INSERT INTO `wk_crm_area` VALUES (350200, 350000, '厦门市');
  4745. INSERT INTO `wk_crm_area` VALUES (350300, 350000, '莆田市');
  4746. INSERT INTO `wk_crm_area` VALUES (350400, 350000, '三明市');
  4747. INSERT INTO `wk_crm_area` VALUES (350500, 350000, '泉州市');
  4748. INSERT INTO `wk_crm_area` VALUES (331121, 331100, '青田县');
  4749. INSERT INTO `wk_crm_area` VALUES (331181, 331100, '龙泉市');
  4750. INSERT INTO `wk_crm_area` VALUES (331126, 331100, '庆元县');
  4751. INSERT INTO `wk_crm_area` VALUES (331127, 331100, '景宁畲族自治县');
  4752. INSERT INTO `wk_crm_area` VALUES (331122, 331100, '缙云县');
  4753. INSERT INTO `wk_crm_area` VALUES (331123, 331100, '遂昌县');
  4754. INSERT INTO `wk_crm_area` VALUES (331102, 331100, '莲都区');
  4755. INSERT INTO `wk_crm_area` VALUES (331124, 331100, '松阳县');
  4756. INSERT INTO `wk_crm_area` VALUES (331125, 331100, '云和县');
  4757. INSERT INTO `wk_crm_area` VALUES (150902, 150900, '集宁区');
  4758. INSERT INTO `wk_crm_area` VALUES (150924, 150900, '兴和县');
  4759. INSERT INTO `wk_crm_area` VALUES (150923, 150900, '商都县');
  4760. INSERT INTO `wk_crm_area` VALUES (150922, 150900, '化德县');
  4761. INSERT INTO `wk_crm_area` VALUES (150921, 150900, '卓资县');
  4762. INSERT INTO `wk_crm_area` VALUES (150981, 150900, '丰镇市');
  4763. INSERT INTO `wk_crm_area` VALUES (150929, 150900, '四子王旗');
  4764. INSERT INTO `wk_crm_area` VALUES (150928, 150900, '察哈尔右翼后旗');
  4765. INSERT INTO `wk_crm_area` VALUES (150927, 150900, '察哈尔右翼中旗');
  4766. INSERT INTO `wk_crm_area` VALUES (150926, 150900, '察哈尔右翼前旗');
  4767. INSERT INTO `wk_crm_area` VALUES (150925, 150900, '凉城县');
  4768. INSERT INTO `wk_crm_area` VALUES (530602, 530600, '昭阳区');
  4769. INSERT INTO `wk_crm_area` VALUES (530624, 530600, '大关县');
  4770. INSERT INTO `wk_crm_area` VALUES (530625, 530600, '永善县');
  4771. INSERT INTO `wk_crm_area` VALUES (530622, 530600, '巧家县');
  4772. INSERT INTO `wk_crm_area` VALUES (530623, 530600, '盐津县');
  4773. INSERT INTO `wk_crm_area` VALUES (530621, 530600, '鲁甸县');
  4774. INSERT INTO `wk_crm_area` VALUES (530681, 530600, '水富市');
  4775. INSERT INTO `wk_crm_area` VALUES (530628, 530600, '彝良县');
  4776. INSERT INTO `wk_crm_area` VALUES (530629, 530600, '威信县');
  4777. INSERT INTO `wk_crm_area` VALUES (530626, 530600, '绥江县');
  4778. INSERT INTO `wk_crm_area` VALUES (530627, 530600, '镇雄县');
  4779. INSERT INTO `wk_crm_area` VALUES (532924, 532900, '宾川县');
  4780. INSERT INTO `wk_crm_area` VALUES (532901, 532900, '大理市');
  4781. INSERT INTO `wk_crm_area` VALUES (532923, 532900, '祥云县');
  4782. INSERT INTO `wk_crm_area` VALUES (532922, 532900, '漾濞彝族自治县');
  4783. INSERT INTO `wk_crm_area` VALUES (532932, 532900, '鹤庆县');
  4784. INSERT INTO `wk_crm_area` VALUES (532931, 532900, '剑川县');
  4785. INSERT INTO `wk_crm_area` VALUES (532930, 532900, '洱源县');
  4786. INSERT INTO `wk_crm_area` VALUES (532929, 532900, '云龙县');
  4787. INSERT INTO `wk_crm_area` VALUES (532928, 532900, '永平县');
  4788. INSERT INTO `wk_crm_area` VALUES (532927, 532900, '巍山彝族回族自治县');
  4789. INSERT INTO `wk_crm_area` VALUES (532926, 532900, '南涧彝族自治县');
  4790. INSERT INTO `wk_crm_area` VALUES (532925, 532900, '弥渡县');
  4791. INSERT INTO `wk_crm_area` VALUES (653022, 653000, '阿克陶县');
  4792. INSERT INTO `wk_crm_area` VALUES (653001, 653000, '阿图什市');
  4793. INSERT INTO `wk_crm_area` VALUES (653023, 653000, '阿合奇县');
  4794. INSERT INTO `wk_crm_area` VALUES (653024, 653000, '乌恰县');
  4795. INSERT INTO `wk_crm_area` VALUES (611026, 611000, '柞水县');
  4796. INSERT INTO `wk_crm_area` VALUES (611025, 611000, '镇安县');
  4797. INSERT INTO `wk_crm_area` VALUES (611002, 611000, '商州区');
  4798. INSERT INTO `wk_crm_area` VALUES (611024, 611000, '山阳县');
  4799. INSERT INTO `wk_crm_area` VALUES (611023, 611000, '商南县');
  4800. INSERT INTO `wk_crm_area` VALUES (611022, 611000, '丹凤县');
  4801. INSERT INTO `wk_crm_area` VALUES (611021, 611000, '洛南县');
  4802. INSERT INTO `wk_crm_area` VALUES (632224, 632200, '刚察县');
  4803. INSERT INTO `wk_crm_area` VALUES (632223, 632200, '海晏县');
  4804. INSERT INTO `wk_crm_area` VALUES (632222, 632200, '祁连县');
  4805. INSERT INTO `wk_crm_area` VALUES (632221, 632200, '门源回族自治县');
  4806. INSERT INTO `wk_crm_area` VALUES (450503, 450500, '银海区');
  4807. INSERT INTO `wk_crm_area` VALUES (450502, 450500, '海城区');
  4808. INSERT INTO `wk_crm_area` VALUES (450521, 450500, '合浦县');
  4809. INSERT INTO `wk_crm_area` VALUES (450512, 450500, '铁山港区');
  4810. INSERT INTO `wk_crm_area` VALUES (320106, 320100, '鼓楼区');
  4811. INSERT INTO `wk_crm_area` VALUES (320117, 320100, '溧水区');
  4812. INSERT INTO `wk_crm_area` VALUES (320118, 320100, '高淳区');
  4813. INSERT INTO `wk_crm_area` VALUES (320104, 320100, '秦淮区');
  4814. INSERT INTO `wk_crm_area` VALUES (320115, 320100, '江宁区');
  4815. INSERT INTO `wk_crm_area` VALUES (320105, 320100, '建邺区');
  4816. INSERT INTO `wk_crm_area` VALUES (320116, 320100, '六合区');
  4817. INSERT INTO `wk_crm_area` VALUES (320102, 320100, '玄武区');
  4818. INSERT INTO `wk_crm_area` VALUES (320113, 320100, '栖霞区');
  4819. INSERT INTO `wk_crm_area` VALUES (320114, 320100, '雨花台区');
  4820. INSERT INTO `wk_crm_area` VALUES (320111, 320100, '浦口区');
  4821. INSERT INTO `wk_crm_area` VALUES (540104, 540100, '达孜区');
  4822. INSERT INTO `wk_crm_area` VALUES (540127, 540100, '墨竹工卡县');
  4823. INSERT INTO `wk_crm_area` VALUES (540122, 540100, '当雄县');
  4824. INSERT INTO `wk_crm_area` VALUES (540123, 540100, '尼木县');
  4825. INSERT INTO `wk_crm_area` VALUES (540102, 540100, '城关区');
  4826. INSERT INTO `wk_crm_area` VALUES (540124, 540100, '曲水县');
  4827. INSERT INTO `wk_crm_area` VALUES (540103, 540100, '堆龙德庆区');
  4828. INSERT INTO `wk_crm_area` VALUES (540173, 540100, '西藏文化旅游创意园区');
  4829. INSERT INTO `wk_crm_area` VALUES (540174, 540100, '达孜工业园区');
  4830. INSERT INTO `wk_crm_area` VALUES (540121, 540100, '林周县');
  4831. INSERT INTO `wk_crm_area` VALUES (540171, 540100, '格尔木藏青工业园区');
  4832. INSERT INTO `wk_crm_area` VALUES (540172, 540100, '拉萨经济技术开发区');
  4833. INSERT INTO `wk_crm_area` VALUES (110105, 110100, '朝阳区');
  4834. INSERT INTO `wk_crm_area` VALUES (110116, 110100, '怀柔区');
  4835. INSERT INTO `wk_crm_area` VALUES (110106, 110100, '丰台区');
  4836. INSERT INTO `wk_crm_area` VALUES (110117, 110100, '平谷区');
  4837. INSERT INTO `wk_crm_area` VALUES (110114, 110100, '昌平区');
  4838. INSERT INTO `wk_crm_area` VALUES (110115, 110100, '大兴区');
  4839. INSERT INTO `wk_crm_area` VALUES (110101, 110100, '东城区');
  4840. INSERT INTO `wk_crm_area` VALUES (110112, 110100, '通州区');
  4841. INSERT INTO `wk_crm_area` VALUES (110102, 110100, '西城区');
  4842. INSERT INTO `wk_crm_area` VALUES (110113, 110100, '顺义区');
  4843. INSERT INTO `wk_crm_area` VALUES (110111, 110100, '房山区');
  4844. INSERT INTO `wk_crm_area` VALUES (110109, 110100, '门头沟区');
  4845. INSERT INTO `wk_crm_area` VALUES (110107, 110100, '石景山区');
  4846. INSERT INTO `wk_crm_area` VALUES (110118, 110100, '密云区');
  4847. INSERT INTO `wk_crm_area` VALUES (110108, 110100, '海淀区');
  4848. INSERT INTO `wk_crm_area` VALUES (110119, 110100, '延庆区');
  4849. INSERT INTO `wk_crm_area` VALUES (331000, 330000, '台州市');
  4850. INSERT INTO `wk_crm_area` VALUES (330800, 330000, '衢州市');
  4851. INSERT INTO `wk_crm_area` VALUES (330900, 330000, '舟山市');
  4852. INSERT INTO `wk_crm_area` VALUES (330400, 330000, '嘉兴市');
  4853. INSERT INTO `wk_crm_area` VALUES (330500, 330000, '湖州市');
  4854. INSERT INTO `wk_crm_area` VALUES (330600, 330000, '绍兴市');
  4855. INSERT INTO `wk_crm_area` VALUES (330700, 330000, '金华市');
  4856. INSERT INTO `wk_crm_area` VALUES (331100, 330000, '丽水市');
  4857. INSERT INTO `wk_crm_area` VALUES (330100, 330000, '杭州市');
  4858. INSERT INTO `wk_crm_area` VALUES (330200, 330000, '宁波市');
  4859. INSERT INTO `wk_crm_area` VALUES (330300, 330000, '温州市');
  4860. INSERT INTO `wk_crm_area` VALUES (141081, 141000, '侯马市');
  4861. INSERT INTO `wk_crm_area` VALUES (141082, 141000, '霍州市');
  4862. INSERT INTO `wk_crm_area` VALUES (141030, 141000, '大宁县');
  4863. INSERT INTO `wk_crm_area` VALUES (141021, 141000, '曲沃县');
  4864. INSERT INTO `wk_crm_area` VALUES (141032, 141000, '永和县');
  4865. INSERT INTO `wk_crm_area` VALUES (141031, 141000, '隰县');
  4866. INSERT INTO `wk_crm_area` VALUES (141023, 141000, '襄汾县');
  4867. INSERT INTO `wk_crm_area` VALUES (141034, 141000, '汾西县');
  4868. INSERT INTO `wk_crm_area` VALUES (141022, 141000, '翼城县');
  4869. INSERT INTO `wk_crm_area` VALUES (141033, 141000, '蒲县');
  4870. INSERT INTO `wk_crm_area` VALUES (141025, 141000, '古县');
  4871. INSERT INTO `wk_crm_area` VALUES (141002, 141000, '尧都区');
  4872. INSERT INTO `wk_crm_area` VALUES (141024, 141000, '洪洞县');
  4873. INSERT INTO `wk_crm_area` VALUES (141027, 141000, '浮山县');
  4874. INSERT INTO `wk_crm_area` VALUES (141026, 141000, '安泽县');
  4875. INSERT INTO `wk_crm_area` VALUES (141029, 141000, '乡宁县');
  4876. INSERT INTO `wk_crm_area` VALUES (141028, 141000, '吉县');
  4877. INSERT INTO `wk_crm_area` VALUES (654021, 654000, '伊宁县');
  4878. INSERT INTO `wk_crm_area` VALUES (654022, 654000, '察布查尔锡伯自治县');
  4879. INSERT INTO `wk_crm_area` VALUES (654023, 654000, '霍城县');
  4880. INSERT INTO `wk_crm_area` VALUES (654002, 654000, '伊宁市');
  4881. INSERT INTO `wk_crm_area` VALUES (654024, 654000, '巩留县');
  4882. INSERT INTO `wk_crm_area` VALUES (654003, 654000, '奎屯市');
  4883. INSERT INTO `wk_crm_area` VALUES (654025, 654000, '新源县');
  4884. INSERT INTO `wk_crm_area` VALUES (654004, 654000, '霍尔果斯市');
  4885. INSERT INTO `wk_crm_area` VALUES (654026, 654000, '昭苏县');
  4886. INSERT INTO `wk_crm_area` VALUES (654027, 654000, '特克斯县');
  4887. INSERT INTO `wk_crm_area` VALUES (654028, 654000, '尼勒克县');
  4888. INSERT INTO `wk_crm_area` VALUES (411171, 411100, '漯河经济技术开发区');
  4889. INSERT INTO `wk_crm_area` VALUES (411104, 411100, '召陵区');
  4890. INSERT INTO `wk_crm_area` VALUES (411103, 411100, '郾城区');
  4891. INSERT INTO `wk_crm_area` VALUES (411122, 411100, '临颍县');
  4892. INSERT INTO `wk_crm_area` VALUES (411121, 411100, '舞阳县');
  4893. INSERT INTO `wk_crm_area` VALUES (411102, 411100, '源汇区');
  4894. INSERT INTO `wk_crm_area` VALUES (820100, 820000, '澳门城区');
  4895. INSERT INTO `wk_crm_area` VALUES (510821, 510800, '旺苍县');
  4896. INSERT INTO `wk_crm_area` VALUES (510802, 510800, '利州区');
  4897. INSERT INTO `wk_crm_area` VALUES (510824, 510800, '苍溪县');
  4898. INSERT INTO `wk_crm_area` VALUES (510811, 510800, '昭化区');
  4899. INSERT INTO `wk_crm_area` VALUES (510822, 510800, '青川县');
  4900. INSERT INTO `wk_crm_area` VALUES (510812, 510800, '朝天区');
  4901. INSERT INTO `wk_crm_area` VALUES (510823, 510800, '剑阁县');
  4902. INSERT INTO `wk_crm_area` VALUES (130100, 130000, '石家庄市');
  4903. INSERT INTO `wk_crm_area` VALUES (131100, 130000, '衡水市');
  4904. INSERT INTO `wk_crm_area` VALUES (131000, 130000, '廊坊市');
  4905. INSERT INTO `wk_crm_area` VALUES (130400, 130000, '邯郸市');
  4906. INSERT INTO `wk_crm_area` VALUES (130500, 130000, '邢台市');
  4907. INSERT INTO `wk_crm_area` VALUES (130200, 130000, '唐山市');
  4908. INSERT INTO `wk_crm_area` VALUES (130300, 130000, '秦皇岛市');
  4909. INSERT INTO `wk_crm_area` VALUES (130800, 130000, '承德市');
  4910. INSERT INTO `wk_crm_area` VALUES (130900, 130000, '沧州市');
  4911. INSERT INTO `wk_crm_area` VALUES (130600, 130000, '保定市');
  4912. INSERT INTO `wk_crm_area` VALUES (130700, 130000, '张家口市');
  4913. INSERT INTO `wk_crm_area` VALUES (520521, 520500, '大方县');
  4914. INSERT INTO `wk_crm_area` VALUES (520522, 520500, '黔西县');
  4915. INSERT INTO `wk_crm_area` VALUES (520523, 520500, '金沙县');
  4916. INSERT INTO `wk_crm_area` VALUES (520502, 520500, '七星关区');
  4917. INSERT INTO `wk_crm_area` VALUES (520524, 520500, '织金县');
  4918. INSERT INTO `wk_crm_area` VALUES (520525, 520500, '纳雍县');
  4919. INSERT INTO `wk_crm_area` VALUES (520526, 520500, '威宁彝族回族苗族自治县');
  4920. INSERT INTO `wk_crm_area` VALUES (520527, 520500, '赫章县');
  4921. INSERT INTO `wk_crm_area` VALUES (445122, 445100, '饶平县');
  4922. INSERT INTO `wk_crm_area` VALUES (445103, 445100, '潮安区');
  4923. INSERT INTO `wk_crm_area` VALUES (445102, 445100, '湘桥区');
  4924. INSERT INTO `wk_crm_area` VALUES (450804, 450800, '覃塘区');
  4925. INSERT INTO `wk_crm_area` VALUES (450803, 450800, '港南区');
  4926. INSERT INTO `wk_crm_area` VALUES (450821, 450800, '平南县');
  4927. INSERT INTO `wk_crm_area` VALUES (450802, 450800, '港北区');
  4928. INSERT INTO `wk_crm_area` VALUES (450881, 450800, '桂平市');
  4929. INSERT INTO `wk_crm_area` VALUES (532627, 532600, '广南县');
  4930. INSERT INTO `wk_crm_area` VALUES (532626, 532600, '丘北县');
  4931. INSERT INTO `wk_crm_area` VALUES (532625, 532600, '马关县');
  4932. INSERT INTO `wk_crm_area` VALUES (532624, 532600, '麻栗坡县');
  4933. INSERT INTO `wk_crm_area` VALUES (532601, 532600, '文山市');
  4934. INSERT INTO `wk_crm_area` VALUES (532623, 532600, '西畴县');
  4935. INSERT INTO `wk_crm_area` VALUES (532622, 532600, '砚山县');
  4936. INSERT INTO `wk_crm_area` VALUES (532628, 532600, '富宁县');
  4937. INSERT INTO `wk_crm_area` VALUES (530303, 530300, '沾益区');
  4938. INSERT INTO `wk_crm_area` VALUES (530325, 530300, '富源县');
  4939. INSERT INTO `wk_crm_area` VALUES (530304, 530300, '马龙区');
  4940. INSERT INTO `wk_crm_area` VALUES (530326, 530300, '会泽县');
  4941. INSERT INTO `wk_crm_area` VALUES (530323, 530300, '师宗县');
  4942. INSERT INTO `wk_crm_area` VALUES (530302, 530300, '麒麟区');
  4943. INSERT INTO `wk_crm_area` VALUES (530324, 530300, '罗平县');
  4944. INSERT INTO `wk_crm_area` VALUES (530322, 530300, '陆良县');
  4945. INSERT INTO `wk_crm_area` VALUES (530381, 530300, '宣威市');
  4946. INSERT INTO `wk_crm_area` VALUES (341021, 341000, '歙县');
  4947. INSERT INTO `wk_crm_area` VALUES (341002, 341000, '屯溪区');
  4948. INSERT INTO `wk_crm_area` VALUES (341024, 341000, '祁门县');
  4949. INSERT INTO `wk_crm_area` VALUES (341003, 341000, '黄山区');
  4950. INSERT INTO `wk_crm_area` VALUES (341022, 341000, '休宁县');
  4951. INSERT INTO `wk_crm_area` VALUES (341023, 341000, '黟县');
  4952. INSERT INTO `wk_crm_area` VALUES (341004, 341000, '徽州区');
  4953. INSERT INTO `wk_crm_area` VALUES (230904, 230900, '茄子河区');
  4954. INSERT INTO `wk_crm_area` VALUES (230903, 230900, '桃山区');
  4955. INSERT INTO `wk_crm_area` VALUES (230902, 230900, '新兴区');
  4956. INSERT INTO `wk_crm_area` VALUES (230921, 230900, '勃利县');
  4957. INSERT INTO `wk_crm_area` VALUES (320281, 320200, '江阴市');
  4958. INSERT INTO `wk_crm_area` VALUES (320282, 320200, '宜兴市');
  4959. INSERT INTO `wk_crm_area` VALUES (320205, 320200, '锡山区');
  4960. INSERT INTO `wk_crm_area` VALUES (320206, 320200, '惠山区');
  4961. INSERT INTO `wk_crm_area` VALUES (320214, 320200, '新吴区');
  4962. INSERT INTO `wk_crm_area` VALUES (320213, 320200, '梁溪区');
  4963. INSERT INTO `wk_crm_area` VALUES (320211, 320200, '滨湖区');
  4964. INSERT INTO `wk_crm_area` VALUES (131123, 131100, '武强县');
  4965. INSERT INTO `wk_crm_area` VALUES (131122, 131100, '武邑县');
  4966. INSERT INTO `wk_crm_area` VALUES (131121, 131100, '枣强县');
  4967. INSERT INTO `wk_crm_area` VALUES (131127, 131100, '景县');
  4968. INSERT INTO `wk_crm_area` VALUES (131126, 131100, '故城县');
  4969. INSERT INTO `wk_crm_area` VALUES (131103, 131100, '冀州区');
  4970. INSERT INTO `wk_crm_area` VALUES (131125, 131100, '安平县');
  4971. INSERT INTO `wk_crm_area` VALUES (131102, 131100, '桃城区');
  4972. INSERT INTO `wk_crm_area` VALUES (131124, 131100, '饶阳县');
  4973. INSERT INTO `wk_crm_area` VALUES (131128, 131100, '阜城县');
  4974. INSERT INTO `wk_crm_area` VALUES (131172, 131100, '衡水滨湖新区');
  4975. INSERT INTO `wk_crm_area` VALUES (131171, 131100, '河北衡水高新技术产业开发区');
  4976. INSERT INTO `wk_crm_area` VALUES (131182, 131100, '深州市');
  4977. INSERT INTO `wk_crm_area` VALUES (540225, 540200, '拉孜县');
  4978. INSERT INTO `wk_crm_area` VALUES (540236, 540200, '萨嘎县');
  4979. INSERT INTO `wk_crm_area` VALUES (540226, 540200, '昂仁县');
  4980. INSERT INTO `wk_crm_area` VALUES (540237, 540200, '岗巴县');
  4981. INSERT INTO `wk_crm_area` VALUES (540227, 540200, '谢通门县');
  4982. INSERT INTO `wk_crm_area` VALUES (540228, 540200, '白朗县');
  4983. INSERT INTO `wk_crm_area` VALUES (540221, 540200, '南木林县');
  4984. INSERT INTO `wk_crm_area` VALUES (540232, 540200, '仲巴县');
  4985. INSERT INTO `wk_crm_area` VALUES (540222, 540200, '江孜县');
  4986. INSERT INTO `wk_crm_area` VALUES (540233, 540200, '亚东县');
  4987. INSERT INTO `wk_crm_area` VALUES (540223, 540200, '定日县');
  4988. INSERT INTO `wk_crm_area` VALUES (540234, 540200, '吉隆县');
  4989. INSERT INTO `wk_crm_area` VALUES (540202, 540200, '桑珠孜区');
  4990. INSERT INTO `wk_crm_area` VALUES (540224, 540200, '萨迦县');
  4991. INSERT INTO `wk_crm_area` VALUES (540235, 540200, '聂拉木县');
  4992. INSERT INTO `wk_crm_area` VALUES (540229, 540200, '仁布县');
  4993. INSERT INTO `wk_crm_area` VALUES (540230, 540200, '康马县');
  4994. INSERT INTO `wk_crm_area` VALUES (540231, 540200, '定结县');
  4995. INSERT INTO `wk_crm_area` VALUES (542525, 542500, '革吉县');
  4996. INSERT INTO `wk_crm_area` VALUES (542524, 542500, '日土县');
  4997. INSERT INTO `wk_crm_area` VALUES (542527, 542500, '措勤县');
  4998. INSERT INTO `wk_crm_area` VALUES (542526, 542500, '改则县');
  4999. INSERT INTO `wk_crm_area` VALUES (542521, 542500, '普兰县');
  5000. INSERT INTO `wk_crm_area` VALUES (542523, 542500, '噶尔县');
  5001. INSERT INTO `wk_crm_area` VALUES (542522, 542500, '札达县');
  5002. INSERT INTO `wk_crm_area` VALUES (330108, 330100, '滨江区');
  5003. INSERT INTO `wk_crm_area` VALUES (330109, 330100, '萧山区');
  5004. INSERT INTO `wk_crm_area` VALUES (330103, 330100, '下城区');
  5005. INSERT INTO `wk_crm_area` VALUES (330104, 330100, '江干区');
  5006. INSERT INTO `wk_crm_area` VALUES (330105, 330100, '拱墅区');
  5007. INSERT INTO `wk_crm_area` VALUES (330127, 330100, '淳安县');
  5008. INSERT INTO `wk_crm_area` VALUES (330106, 330100, '西湖区');
  5009. INSERT INTO `wk_crm_area` VALUES (330110, 330100, '余杭区');
  5010. INSERT INTO `wk_crm_area` VALUES (330111, 330100, '富阳区');
  5011. INSERT INTO `wk_crm_area` VALUES (330122, 330100, '桐庐县');
  5012. INSERT INTO `wk_crm_area` VALUES (330112, 330100, '临安区');
  5013. INSERT INTO `wk_crm_area` VALUES (330102, 330100, '上城区');
  5014. INSERT INTO `wk_crm_area` VALUES (330182, 330100, '建德市');
  5015. INSERT INTO `wk_crm_area` VALUES (120100, 120000, '天津城区');
  5016. INSERT INTO `wk_crm_area` VALUES (610300, 610000, '宝鸡市');
  5017. INSERT INTO `wk_crm_area` VALUES (610400, 610000, '咸阳市');
  5018. INSERT INTO `wk_crm_area` VALUES (610100, 610000, '西安市');
  5019. INSERT INTO `wk_crm_area` VALUES (610200, 610000, '铜川市');
  5020. INSERT INTO `wk_crm_area` VALUES (611000, 610000, '商洛市');
  5021. INSERT INTO `wk_crm_area` VALUES (610900, 610000, '安康市');
  5022. INSERT INTO `wk_crm_area` VALUES (610700, 610000, '汉中市');
  5023. INSERT INTO `wk_crm_area` VALUES (610800, 610000, '榆林市');
  5024. INSERT INTO `wk_crm_area` VALUES (610500, 610000, '渭南市');
  5025. INSERT INTO `wk_crm_area` VALUES (610600, 610000, '延安市');
  5026. INSERT INTO `wk_crm_area` VALUES (411081, 411000, '禹州市');
  5027. INSERT INTO `wk_crm_area` VALUES (411071, 411000, '许昌经济技术开发区');
  5028. INSERT INTO `wk_crm_area` VALUES (411082, 411000, '长葛市');
  5029. INSERT INTO `wk_crm_area` VALUES (411003, 411000, '建安区');
  5030. INSERT INTO `wk_crm_area` VALUES (411025, 411000, '襄城县');
  5031. INSERT INTO `wk_crm_area` VALUES (411002, 411000, '魏都区');
  5032. INSERT INTO `wk_crm_area` VALUES (411024, 411000, '鄢陵县');
  5033. INSERT INTO `wk_crm_area` VALUES (510705, 510700, '安州区');
  5034. INSERT INTO `wk_crm_area` VALUES (510727, 510700, '平武县');
  5035. INSERT INTO `wk_crm_area` VALUES (510781, 510700, '江油市');
  5036. INSERT INTO `wk_crm_area` VALUES (510722, 510700, '三台县');
  5037. INSERT INTO `wk_crm_area` VALUES (510723, 510700, '盐亭县');
  5038. INSERT INTO `wk_crm_area` VALUES (510704, 510700, '游仙区');
  5039. INSERT INTO `wk_crm_area` VALUES (510726, 510700, '北川羌族自治县');
  5040. INSERT INTO `wk_crm_area` VALUES (510703, 510700, '涪城区');
  5041. INSERT INTO `wk_crm_area` VALUES (510725, 510700, '梓潼县');
  5042. INSERT INTO `wk_crm_area` VALUES (820107, 820100, '路凼填海区');
  5043. INSERT INTO `wk_crm_area` VALUES (820108, 820100, '圣方济各堂区');
  5044. INSERT INTO `wk_crm_area` VALUES (820105, 820100, '风顺堂区');
  5045. INSERT INTO `wk_crm_area` VALUES (820106, 820100, '嘉模堂区');
  5046. INSERT INTO `wk_crm_area` VALUES (820103, 820100, '望德堂区');
  5047. INSERT INTO `wk_crm_area` VALUES (820104, 820100, '大堂区');
  5048. INSERT INTO `wk_crm_area` VALUES (820101, 820100, '花地玛堂区');
  5049. INSERT INTO `wk_crm_area` VALUES (820102, 820100, '花王堂区');
  5050. INSERT INTO `wk_crm_area` VALUES (440904, 440900, '电白区');
  5051. INSERT INTO `wk_crm_area` VALUES (440902, 440900, '茂南区');
  5052. INSERT INTO `wk_crm_area` VALUES (440983, 440900, '信宜市');
  5053. INSERT INTO `wk_crm_area` VALUES (440982, 440900, '化州市');
  5054. INSERT INTO `wk_crm_area` VALUES (440981, 440900, '高州市');
  5055. INSERT INTO `wk_crm_area` VALUES (621002, 621000, '西峰区');
  5056. INSERT INTO `wk_crm_area` VALUES (621024, 621000, '合水县');
  5057. INSERT INTO `wk_crm_area` VALUES (621023, 621000, '华池县');
  5058. INSERT INTO `wk_crm_area` VALUES (621026, 621000, '宁县');
  5059. INSERT INTO `wk_crm_area` VALUES (621025, 621000, '正宁县');
  5060. INSERT INTO `wk_crm_area` VALUES (621022, 621000, '环县');
  5061. INSERT INTO `wk_crm_area` VALUES (621021, 621000, '庆城县');
  5062. INSERT INTO `wk_crm_area` VALUES (621027, 621000, '镇原县');
  5063. INSERT INTO `wk_crm_area` VALUES (520627, 520600, '沿河土家族自治县');
  5064. INSERT INTO `wk_crm_area` VALUES (520628, 520600, '松桃苗族自治县');
  5065. INSERT INTO `wk_crm_area` VALUES (520621, 520600, '江口县');
  5066. INSERT INTO `wk_crm_area` VALUES (520622, 520600, '玉屏侗族自治县');
  5067. INSERT INTO `wk_crm_area` VALUES (520623, 520600, '石阡县');
  5068. INSERT INTO `wk_crm_area` VALUES (520602, 520600, '碧江区');
  5069. INSERT INTO `wk_crm_area` VALUES (520624, 520600, '思南县');
  5070. INSERT INTO `wk_crm_area` VALUES (520603, 520600, '万山区');
  5071. INSERT INTO `wk_crm_area` VALUES (520625, 520600, '印江土家族苗族自治县');
  5072. INSERT INTO `wk_crm_area` VALUES (520626, 520600, '德江县');
  5073. INSERT INTO `wk_crm_area` VALUES (530426, 530400, '峨山彝族自治县');
  5074. INSERT INTO `wk_crm_area` VALUES (530427, 530400, '新平彝族傣族自治县');
  5075. INSERT INTO `wk_crm_area` VALUES (530402, 530400, '红塔区');
  5076. INSERT INTO `wk_crm_area` VALUES (530424, 530400, '华宁县');
  5077. INSERT INTO `wk_crm_area` VALUES (530403, 530400, '江川区');
  5078. INSERT INTO `wk_crm_area` VALUES (530425, 530400, '易门县');
  5079. INSERT INTO `wk_crm_area` VALUES (530422, 530400, '澄江县');
  5080. INSERT INTO `wk_crm_area` VALUES (530423, 530400, '通海县');
  5081. INSERT INTO `wk_crm_area` VALUES (530428, 530400, '元江哈尼族彝族傣族自治县');
  5082. INSERT INTO `wk_crm_area` VALUES (450722, 450700, '浦北县');
  5083. INSERT INTO `wk_crm_area` VALUES (450703, 450700, '钦北区');
  5084. INSERT INTO `wk_crm_area` VALUES (450702, 450700, '钦南区');
  5085. INSERT INTO `wk_crm_area` VALUES (450721, 450700, '灵山县');
  5086. INSERT INTO `wk_crm_area` VALUES (341181, 341100, '天长市');
  5087. INSERT INTO `wk_crm_area` VALUES (341171, 341100, '苏滁现代产业园');
  5088. INSERT INTO `wk_crm_area` VALUES (341182, 341100, '明光市');
  5089. INSERT INTO `wk_crm_area` VALUES (341172, 341100, '滁州经济技术开发区');
  5090. INSERT INTO `wk_crm_area` VALUES (341102, 341100, '琅琊区');
  5091. INSERT INTO `wk_crm_area` VALUES (341124, 341100, '全椒县');
  5092. INSERT INTO `wk_crm_area` VALUES (341122, 341100, '来安县');
  5093. INSERT INTO `wk_crm_area` VALUES (341103, 341100, '南谯区');
  5094. INSERT INTO `wk_crm_area` VALUES (341125, 341100, '定远县');
  5095. INSERT INTO `wk_crm_area` VALUES (341126, 341100, '凤阳县');
  5096. INSERT INTO `wk_crm_area` VALUES (320371, 320300, '徐州经济技术开发区');
  5097. INSERT INTO `wk_crm_area` VALUES (320382, 320300, '邳州市');
  5098. INSERT INTO `wk_crm_area` VALUES (320381, 320300, '新沂市');
  5099. INSERT INTO `wk_crm_area` VALUES (320305, 320300, '贾汪区');
  5100. INSERT INTO `wk_crm_area` VALUES (320302, 320300, '鼓楼区');
  5101. INSERT INTO `wk_crm_area` VALUES (320324, 320300, '睢宁县');
  5102. INSERT INTO `wk_crm_area` VALUES (320303, 320300, '云龙区');
  5103. INSERT INTO `wk_crm_area` VALUES (320311, 320300, '泉山区');
  5104. INSERT INTO `wk_crm_area` VALUES (320322, 320300, '沛县');
  5105. INSERT INTO `wk_crm_area` VALUES (320312, 320300, '铜山区');
  5106. INSERT INTO `wk_crm_area` VALUES (320321, 320300, '丰县');
  5107. INSERT INTO `wk_crm_area` VALUES (230883, 230800, '抚远市');
  5108. INSERT INTO `wk_crm_area` VALUES (230882, 230800, '富锦市');
  5109. INSERT INTO `wk_crm_area` VALUES (230881, 230800, '同江市');
  5110. INSERT INTO `wk_crm_area` VALUES (230828, 230800, '汤原县');
  5111. INSERT INTO `wk_crm_area` VALUES (230805, 230800, '东风区');
  5112. INSERT INTO `wk_crm_area` VALUES (230804, 230800, '前进区');
  5113. INSERT INTO `wk_crm_area` VALUES (230826, 230800, '桦川县');
  5114. INSERT INTO `wk_crm_area` VALUES (230803, 230800, '向阳区');
  5115. INSERT INTO `wk_crm_area` VALUES (230811, 230800, '郊区');
  5116. INSERT INTO `wk_crm_area` VALUES (230822, 230800, '桦南县');
  5117. INSERT INTO `wk_crm_area` VALUES (511971, 511900, '巴中经济开发区');
  5118. INSERT INTO `wk_crm_area` VALUES (511921, 511900, '通江县');
  5119. INSERT INTO `wk_crm_area` VALUES (511902, 511900, '巴州区');
  5120. INSERT INTO `wk_crm_area` VALUES (511903, 511900, '恩阳区');
  5121. INSERT INTO `wk_crm_area` VALUES (511922, 511900, '南江县');
  5122. INSERT INTO `wk_crm_area` VALUES (511923, 511900, '平昌县');
  5123. -- ----------------------------
  5124. -- Table structure for wk_crm_back_log_deal
  5125. -- ----------------------------
  5126. DROP TABLE IF EXISTS `wk_crm_back_log_deal`;
  5127. CREATE TABLE `wk_crm_back_log_deal` (
  5128. `id` int(0) NOT NULL AUTO_INCREMENT,
  5129. `model` int(0) NOT NULL COMMENT '待办事项模块 1今日需联系客户 2分配给我的线索 3分配给我的客户 4待进入公海的客户 5待审核合同 6待审核回款 7待回款提醒 8即将到期的合同 9待回访合同 10待审核发票',
  5130. `crm_type` int(0) NOT NULL COMMENT '数据模块',
  5131. `type_id` int(0) NOT NULL COMMENT '数据id',
  5132. `pool_id` int(0) NULL DEFAULT NULL COMMENT '公海id',
  5133. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5134. `create_user_id` bigint(0) NOT NULL COMMENT '创建人',
  5135. PRIMARY KEY (`id`) USING BTREE
  5136. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '待办事项标记处理表' ROW_FORMAT = Dynamic;
  5137. -- ----------------------------
  5138. -- Records of wk_crm_back_log_deal
  5139. -- ----------------------------
  5140. -- ----------------------------
  5141. -- Table structure for wk_crm_business
  5142. -- ----------------------------
  5143. DROP TABLE IF EXISTS `wk_crm_business`;
  5144. CREATE TABLE `wk_crm_business` (
  5145. `business_id` int(0) NOT NULL AUTO_INCREMENT,
  5146. `type_id` int(0) NULL DEFAULT NULL COMMENT '商机状态组',
  5147. `status_id` int(0) NULL DEFAULT NULL COMMENT '销售阶段',
  5148. `next_time` datetime(0) NULL DEFAULT NULL COMMENT '下次联系时间',
  5149. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户ID',
  5150. `contacts_id` int(0) NULL DEFAULT NULL COMMENT '首要联系人ID',
  5151. `deal_date` datetime(0) NULL DEFAULT NULL COMMENT '预计成交日期',
  5152. `business_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '商机名称',
  5153. `money` decimal(18, 2) NULL DEFAULT NULL COMMENT '商机金额',
  5154. `discount_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '整单折扣',
  5155. `total_price` decimal(17, 2) NULL DEFAULT NULL COMMENT '产品总金额',
  5156. `remark` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '' COMMENT '备注',
  5157. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  5158. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  5159. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5160. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  5161. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次 比如附件批次',
  5162. `ro_user_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '只读权限',
  5163. `rw_user_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '读写权限',
  5164. `is_end` int(0) NOT NULL DEFAULT 0 COMMENT '1赢单2输单3无效',
  5165. `status_remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  5166. `status` int(0) NULL DEFAULT 1 COMMENT '1正常 3 删除',
  5167. `last_time` datetime(0) NULL DEFAULT NULL COMMENT '最后跟进时间',
  5168. `followup` int(0) NULL DEFAULT NULL COMMENT '0 未跟进 1 已跟进',
  5169. PRIMARY KEY (`business_id`) USING BTREE,
  5170. INDEX `owner_user_id`(`owner_user_id`) USING BTREE
  5171. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机表' ROW_FORMAT = Dynamic;
  5172. -- ----------------------------
  5173. -- Records of wk_crm_business
  5174. -- ----------------------------
  5175. -- ----------------------------
  5176. -- Table structure for wk_crm_business_change
  5177. -- ----------------------------
  5178. DROP TABLE IF EXISTS `wk_crm_business_change`;
  5179. CREATE TABLE `wk_crm_business_change` (
  5180. `change_id` int(0) NOT NULL AUTO_INCREMENT,
  5181. `business_id` int(0) NOT NULL COMMENT '商机ID',
  5182. `status_id` int(0) NOT NULL COMMENT '阶段ID',
  5183. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5184. `create_user_id` bigint(0) NOT NULL COMMENT '创建人',
  5185. PRIMARY KEY (`change_id`) USING BTREE
  5186. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机阶段变化表' ROW_FORMAT = Dynamic;
  5187. -- ----------------------------
  5188. -- Records of wk_crm_business_change
  5189. -- ----------------------------
  5190. -- ----------------------------
  5191. -- Table structure for wk_crm_business_data
  5192. -- ----------------------------
  5193. DROP TABLE IF EXISTS `wk_crm_business_data`;
  5194. CREATE TABLE `wk_crm_business_data` (
  5195. `id` int(0) NOT NULL AUTO_INCREMENT,
  5196. `field_id` int(0) NOT NULL,
  5197. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5198. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  5199. `create_time` datetime(0) NOT NULL,
  5200. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  5201. PRIMARY KEY (`id`) USING BTREE,
  5202. INDEX `batch_id`(`batch_id`) USING BTREE,
  5203. INDEX `name`(`name`) USING BTREE
  5204. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '商机扩展字段数据表' ROW_FORMAT = Dynamic;
  5205. -- ----------------------------
  5206. -- Records of wk_crm_business_data
  5207. -- ----------------------------
  5208. -- ----------------------------
  5209. -- Table structure for wk_crm_business_product
  5210. -- ----------------------------
  5211. DROP TABLE IF EXISTS `wk_crm_business_product`;
  5212. CREATE TABLE `wk_crm_business_product` (
  5213. `r_id` int(0) NOT NULL AUTO_INCREMENT,
  5214. `business_id` int(0) NOT NULL COMMENT '商机ID',
  5215. `product_id` int(0) NOT NULL COMMENT '产品ID',
  5216. `price` decimal(18, 2) NOT NULL COMMENT '产品单价',
  5217. `sales_price` decimal(18, 2) NOT NULL COMMENT '销售价格',
  5218. `num` decimal(10, 2) NOT NULL COMMENT '数量',
  5219. `discount` int(0) NOT NULL COMMENT '折扣',
  5220. `subtotal` decimal(18, 2) NOT NULL COMMENT '小计(折扣后价格)',
  5221. `unit` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '单位',
  5222. PRIMARY KEY (`r_id`) USING BTREE
  5223. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机产品关系表' ROW_FORMAT = Dynamic;
  5224. -- ----------------------------
  5225. -- Records of wk_crm_business_product
  5226. -- ----------------------------
  5227. -- ----------------------------
  5228. -- Table structure for wk_crm_business_status
  5229. -- ----------------------------
  5230. DROP TABLE IF EXISTS `wk_crm_business_status`;
  5231. CREATE TABLE `wk_crm_business_status` (
  5232. `status_id` int(0) NOT NULL AUTO_INCREMENT,
  5233. `type_id` int(0) NOT NULL COMMENT '商机状态类别ID',
  5234. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '标识',
  5235. `rate` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '赢单率',
  5236. `order_num` int(0) NULL DEFAULT NULL COMMENT '排序',
  5237. PRIMARY KEY (`status_id`) USING BTREE
  5238. ) ENGINE = InnoDB AUTO_INCREMENT = 47646 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机状态' ROW_FORMAT = Dynamic;
  5239. -- ----------------------------
  5240. -- Records of wk_crm_business_status
  5241. -- ----------------------------
  5242. INSERT INTO `wk_crm_business_status` VALUES (47643, 12366, '验证客户', '20', 1);
  5243. INSERT INTO `wk_crm_business_status` VALUES (47644, 12366, '需求分析', '30', 2);
  5244. INSERT INTO `wk_crm_business_status` VALUES (47645, 12366, '方案/报价', '80', 3);
  5245. -- ----------------------------
  5246. -- Table structure for wk_crm_business_type
  5247. -- ----------------------------
  5248. DROP TABLE IF EXISTS `wk_crm_business_type`;
  5249. CREATE TABLE `wk_crm_business_type` (
  5250. `type_id` int(0) NOT NULL AUTO_INCREMENT,
  5251. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '标识',
  5252. `dept_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '部门ID',
  5253. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  5254. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5255. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  5256. `status` int(0) NOT NULL DEFAULT 1 COMMENT '0禁用1启用2删除',
  5257. PRIMARY KEY (`type_id`) USING BTREE
  5258. ) ENGINE = InnoDB AUTO_INCREMENT = 12367 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机状态组类别' ROW_FORMAT = Dynamic;
  5259. -- ----------------------------
  5260. -- Records of wk_crm_business_type
  5261. -- ----------------------------
  5262. INSERT INTO `wk_crm_business_type` VALUES (12366, '销售流程商机组', '', 3, '2019-05-11 16:25:09', NULL, 1);
  5263. -- ----------------------------
  5264. -- Table structure for wk_crm_business_user_star
  5265. -- ----------------------------
  5266. DROP TABLE IF EXISTS `wk_crm_business_user_star`;
  5267. CREATE TABLE `wk_crm_business_user_star` (
  5268. `id` int(0) NOT NULL AUTO_INCREMENT,
  5269. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  5270. `business_id` int(0) NOT NULL COMMENT '客户id',
  5271. PRIMARY KEY (`id`) USING BTREE,
  5272. UNIQUE INDEX `user_id`(`user_id`, `business_id`) USING BTREE
  5273. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户商机标星关系表 ' ROW_FORMAT = Dynamic;
  5274. -- ----------------------------
  5275. -- Records of wk_crm_business_user_star
  5276. -- ----------------------------
  5277. -- ----------------------------
  5278. -- Table structure for wk_crm_contacts
  5279. -- ----------------------------
  5280. DROP TABLE IF EXISTS `wk_crm_contacts`;
  5281. CREATE TABLE `wk_crm_contacts` (
  5282. `contacts_id` int(0) NOT NULL AUTO_INCREMENT,
  5283. `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人名称',
  5284. `next_time` datetime(0) NULL DEFAULT NULL COMMENT '下次联系时间',
  5285. `mobile` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '手机',
  5286. `telephone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '电话',
  5287. `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电子邮箱',
  5288. `post` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '职务',
  5289. `customer_id` int(0) NOT NULL COMMENT '客户ID',
  5290. `address` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '地址',
  5291. `remark` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '' COMMENT '备注',
  5292. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  5293. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  5294. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5295. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  5296. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次',
  5297. `last_time` datetime(0) NULL DEFAULT NULL COMMENT '最后跟进时间',
  5298. PRIMARY KEY (`contacts_id`) USING BTREE,
  5299. INDEX `owner_user_id`(`owner_user_id`) USING BTREE,
  5300. INDEX `customer_id`(`customer_id`) USING BTREE
  5301. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '联系人表' ROW_FORMAT = Dynamic;
  5302. -- ----------------------------
  5303. -- Records of wk_crm_contacts
  5304. -- ----------------------------
  5305. -- ----------------------------
  5306. -- Table structure for wk_crm_contacts_business
  5307. -- ----------------------------
  5308. DROP TABLE IF EXISTS `wk_crm_contacts_business`;
  5309. CREATE TABLE `wk_crm_contacts_business` (
  5310. `id` int(0) NOT NULL AUTO_INCREMENT,
  5311. `business_id` int(0) NOT NULL,
  5312. `contacts_id` int(0) NOT NULL,
  5313. PRIMARY KEY (`id`) USING BTREE
  5314. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商机联系人关联表' ROW_FORMAT = Dynamic;
  5315. -- ----------------------------
  5316. -- Records of wk_crm_contacts_business
  5317. -- ----------------------------
  5318. -- ----------------------------
  5319. -- Table structure for wk_crm_contacts_data
  5320. -- ----------------------------
  5321. DROP TABLE IF EXISTS `wk_crm_contacts_data`;
  5322. CREATE TABLE `wk_crm_contacts_data` (
  5323. `id` int(0) NOT NULL AUTO_INCREMENT,
  5324. `field_id` int(0) NOT NULL,
  5325. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5326. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  5327. `create_time` datetime(0) NOT NULL,
  5328. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  5329. PRIMARY KEY (`id`) USING BTREE,
  5330. INDEX `batch_id`(`batch_id`) USING BTREE,
  5331. INDEX `name`(`name`) USING BTREE
  5332. ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '联系人扩展字段数据表' ROW_FORMAT = Dynamic;
  5333. -- ----------------------------
  5334. -- Records of wk_crm_contacts_data
  5335. -- ----------------------------
  5336. -- ----------------------------
  5337. -- Table structure for wk_crm_contacts_user_star
  5338. -- ----------------------------
  5339. DROP TABLE IF EXISTS `wk_crm_contacts_user_star`;
  5340. CREATE TABLE `wk_crm_contacts_user_star` (
  5341. `id` int(0) NOT NULL AUTO_INCREMENT,
  5342. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  5343. `contacts_id` int(0) NOT NULL COMMENT '客户id',
  5344. PRIMARY KEY (`id`) USING BTREE,
  5345. UNIQUE INDEX `user_id`(`user_id`, `contacts_id`) USING BTREE
  5346. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户联系人标星关系表 ' ROW_FORMAT = Dynamic;
  5347. -- ----------------------------
  5348. -- Records of wk_crm_contacts_user_star
  5349. -- ----------------------------
  5350. -- ----------------------------
  5351. -- Table structure for wk_crm_contract
  5352. -- ----------------------------
  5353. DROP TABLE IF EXISTS `wk_crm_contract`;
  5354. CREATE TABLE `wk_crm_contract` (
  5355. `contract_id` int(0) NOT NULL AUTO_INCREMENT,
  5356. `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同名称',
  5357. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户ID',
  5358. `business_id` int(0) NULL DEFAULT NULL COMMENT '商机ID',
  5359. `check_status` int(0) NOT NULL DEFAULT 0 COMMENT '0待审核、1通过、2拒绝、3审核中 4:撤回 5 未提交 6 创建 7 已删除 8 作废',
  5360. `examine_record_id` int(0) NULL DEFAULT NULL COMMENT '审核记录ID',
  5361. `order_date` datetime(0) NULL DEFAULT NULL COMMENT '下单日期',
  5362. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  5363. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  5364. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5365. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  5366. `num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同编号',
  5367. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  5368. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  5369. `money` decimal(18, 2) NULL DEFAULT NULL COMMENT '合同金额',
  5370. `discount_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '整单折扣',
  5371. `total_price` decimal(17, 2) NULL DEFAULT NULL COMMENT '产品总金额',
  5372. `types` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  5373. `payment_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '付款方式',
  5374. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次 比如附件批次',
  5375. `ro_user_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '只读权限',
  5376. `rw_user_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '读写权限',
  5377. `contacts_id` int(0) NULL DEFAULT NULL COMMENT '客户签约人(联系人id)',
  5378. `remark` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  5379. `company_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '公司签约人',
  5380. `last_time` datetime(0) NULL DEFAULT NULL COMMENT '最后跟进时间',
  5381. `received_money` decimal(17, 2) NULL DEFAULT 0.00,
  5382. `unreceived_money` decimal(17, 2) NULL DEFAULT NULL,
  5383. `old_contract_id` int(0) NULL DEFAULT NULL,
  5384. PRIMARY KEY (`contract_id`) USING BTREE
  5385. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同表' ROW_FORMAT = Dynamic;
  5386. -- ----------------------------
  5387. -- Records of wk_crm_contract
  5388. -- ----------------------------
  5389. -- ----------------------------
  5390. -- Table structure for wk_crm_contract_data
  5391. -- ----------------------------
  5392. DROP TABLE IF EXISTS `wk_crm_contract_data`;
  5393. CREATE TABLE `wk_crm_contract_data` (
  5394. `id` int(0) NOT NULL AUTO_INCREMENT,
  5395. `field_id` int(0) NOT NULL,
  5396. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5397. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  5398. `create_time` datetime(0) NOT NULL,
  5399. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  5400. PRIMARY KEY (`id`) USING BTREE,
  5401. INDEX `batch_id`(`batch_id`) USING BTREE,
  5402. INDEX `name`(`name`) USING BTREE
  5403. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '合同扩展字段数据表' ROW_FORMAT = Dynamic;
  5404. -- ----------------------------
  5405. -- Records of wk_crm_contract_data
  5406. -- ----------------------------
  5407. -- ----------------------------
  5408. -- Table structure for wk_crm_contract_product
  5409. -- ----------------------------
  5410. DROP TABLE IF EXISTS `wk_crm_contract_product`;
  5411. CREATE TABLE `wk_crm_contract_product` (
  5412. `r_id` int(0) NOT NULL AUTO_INCREMENT,
  5413. `contract_id` int(0) NOT NULL COMMENT '合同ID',
  5414. `product_id` int(0) NOT NULL COMMENT '产品ID',
  5415. `price` decimal(18, 2) NOT NULL COMMENT '产品单价',
  5416. `sales_price` decimal(18, 2) NOT NULL COMMENT '销售价格',
  5417. `num` decimal(10, 2) NOT NULL COMMENT '数量',
  5418. `discount` decimal(18, 4) NOT NULL COMMENT '折扣',
  5419. `subtotal` decimal(18, 2) NOT NULL COMMENT '小计(折扣后价格)',
  5420. `unit` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '单位',
  5421. PRIMARY KEY (`r_id`) USING BTREE
  5422. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合同产品关系表' ROW_FORMAT = Dynamic;
  5423. -- ----------------------------
  5424. -- Records of wk_crm_contract_product
  5425. -- ----------------------------
  5426. -- ----------------------------
  5427. -- Table structure for wk_crm_customer
  5428. -- ----------------------------
  5429. DROP TABLE IF EXISTS `wk_crm_customer`;
  5430. CREATE TABLE `wk_crm_customer` (
  5431. `customer_id` int(0) NOT NULL AUTO_INCREMENT,
  5432. `customer_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '客户名称',
  5433. `followup` int(0) NULL DEFAULT NULL COMMENT '跟进状态 0未跟进1已跟进',
  5434. `is_lock` int(0) NOT NULL DEFAULT 0 COMMENT '1锁定',
  5435. `next_time` datetime(0) NULL DEFAULT NULL COMMENT '下次联系时间',
  5436. `deal_status` int(0) NULL DEFAULT 0 COMMENT '成交状态 0 未成交 1 已成交',
  5437. `deal_time` datetime(0) NULL DEFAULT NULL COMMENT '成交时间',
  5438. `contacts_id` int(0) NULL DEFAULT NULL COMMENT '首要联系人ID',
  5439. `mobile` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机',
  5440. `telephone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '电话',
  5441. `website` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '网址',
  5442. `email` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  5443. `remark` varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
  5444. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  5445. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  5446. `ro_user_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '只读权限',
  5447. `rw_user_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '读写权限',
  5448. `address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '省市区',
  5449. `location` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '定位信息',
  5450. `detail_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '详细地址',
  5451. `lng` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '地理位置经度',
  5452. `lat` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '地理位置维度',
  5453. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5454. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  5455. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次 比如附件批次',
  5456. `status` int(0) NULL DEFAULT 1 COMMENT '客户状态 1 正常 2锁定 3删除',
  5457. `last_time` datetime(0) NULL DEFAULT NULL COMMENT '最后跟进时间',
  5458. `pool_time` datetime(0) NULL DEFAULT NULL COMMENT '放入公海时间',
  5459. `is_receive` int(0) NULL DEFAULT NULL COMMENT '1 分配 2 领取',
  5460. `last_content` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '最后一条跟进记录',
  5461. `receive_time` datetime(0) NULL DEFAULT NULL COMMENT '接收到客户时间',
  5462. `pre_owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '进入公海前负责人id',
  5463. PRIMARY KEY (`customer_id`) USING BTREE,
  5464. INDEX `update_time`(`update_time`) USING BTREE,
  5465. INDEX `owner_user_id`(`owner_user_id`) USING BTREE
  5466. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客户表' ROW_FORMAT = Dynamic;
  5467. -- ----------------------------
  5468. -- Records of wk_crm_customer
  5469. -- ----------------------------
  5470. -- ----------------------------
  5471. -- Table structure for wk_crm_customer_data
  5472. -- ----------------------------
  5473. DROP TABLE IF EXISTS `wk_crm_customer_data`;
  5474. CREATE TABLE `wk_crm_customer_data` (
  5475. `id` int(0) NOT NULL AUTO_INCREMENT,
  5476. `field_id` int(0) NOT NULL,
  5477. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5478. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  5479. `create_time` datetime(0) NOT NULL,
  5480. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  5481. PRIMARY KEY (`id`) USING BTREE,
  5482. INDEX `batch_id`(`batch_id`) USING BTREE,
  5483. INDEX `name`(`name`) USING BTREE
  5484. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客户扩展字段数据表' ROW_FORMAT = Dynamic;
  5485. -- ----------------------------
  5486. -- Records of wk_crm_customer_data
  5487. -- ----------------------------
  5488. -- ----------------------------
  5489. -- Table structure for wk_crm_customer_pool
  5490. -- ----------------------------
  5491. DROP TABLE IF EXISTS `wk_crm_customer_pool`;
  5492. CREATE TABLE `wk_crm_customer_pool` (
  5493. `pool_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '公海id',
  5494. `pool_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公海名称',
  5495. `admin_user_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员 “,”分割',
  5496. `member_user_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '公海规则员工成员 “,”分割',
  5497. `member_dept_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '公海规则部门成员 “,”分割',
  5498. `status` int(0) NOT NULL DEFAULT 1 COMMENT '状态 0 停用 1启用',
  5499. `pre_owner_setting` int(0) NOT NULL COMMENT '前负责人领取规则 0不限制 1限制',
  5500. `pre_owner_setting_day` int(0) NULL DEFAULT NULL COMMENT '前负责人领取规则限制天数',
  5501. `receive_setting` int(0) NOT NULL COMMENT '是否限制领取频率 0不限制 1限制',
  5502. `receive_num` int(0) NULL DEFAULT NULL COMMENT '领取频率规则',
  5503. `remind_setting` int(0) NOT NULL COMMENT '是否设置提前提醒 0不开启 1开启',
  5504. `remind_day` int(0) NULL DEFAULT NULL COMMENT '提醒规则天数',
  5505. `put_in_rule` int(0) NOT NULL COMMENT '收回规则 0不自动收回 1自动收回',
  5506. `create_user_id` bigint(0) NOT NULL,
  5507. `create_time` datetime(0) NOT NULL,
  5508. PRIMARY KEY (`pool_id`) USING BTREE
  5509. ) ENGINE = InnoDB AUTO_INCREMENT = 34553 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公海表' ROW_FORMAT = Dynamic;
  5510. -- ----------------------------
  5511. -- Records of wk_crm_customer_pool
  5512. -- ----------------------------
  5513. INSERT INTO `wk_crm_customer_pool` VALUES (34552, '系统默认公海', '14773', '14773', '', 1, 0, NULL, 0, NULL, 0, NULL, 0, 0, '2019-06-30 18:13:08');
  5514. -- ----------------------------
  5515. -- Table structure for wk_crm_customer_pool_field_setting
  5516. -- ----------------------------
  5517. DROP TABLE IF EXISTS `wk_crm_customer_pool_field_setting`;
  5518. CREATE TABLE `wk_crm_customer_pool_field_setting` (
  5519. `setting_id` int(0) NOT NULL AUTO_INCREMENT,
  5520. `pool_id` int(0) NOT NULL COMMENT '公海id',
  5521. `field_id` int(0) NULL DEFAULT NULL COMMENT '字段id',
  5522. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段中文名称',
  5523. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5524. `type` int(0) NOT NULL COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  5525. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  5526. PRIMARY KEY (`setting_id`) USING BTREE
  5527. ) ENGINE = InnoDB AUTO_INCREMENT = 439856 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公海列表页字段设置表' ROW_FORMAT = Dynamic;
  5528. -- ----------------------------
  5529. -- Records of wk_crm_customer_pool_field_setting
  5530. -- ----------------------------
  5531. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439842, 34552, 1101827, '客户名称', 'customerName', 1, 0);
  5532. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439843, 34552, 1101829, '手机', 'mobile', 7, 0);
  5533. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439844, 34552, 1101830, '电话', 'telephone', 1, 0);
  5534. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439845, 34552, 1101831, '网址', 'website', 1, 0);
  5535. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439846, 34552, 1101834, '下次联系时间', 'nextTime', 13, 0);
  5536. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439847, 34552, 1101835, '备注', 'remark', 1, 0);
  5537. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439848, 34552, 1101833, '客户级别', 'level', 3, 0);
  5538. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439849, 34552, 1101828, '客户来源', 'source', 3, 0);
  5539. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439850, 34552, 1101832, '客户行业', 'industry', 3, 0);
  5540. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439851, 34552, NULL, '成交状态', 'dealStatus', 3, 0);
  5541. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439852, 34552, NULL, '最后跟进时间', 'lastTime', 4, 0);
  5542. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439853, 34552, NULL, '更新时间', 'updateTime', 4, 0);
  5543. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439854, 34552, NULL, '创建时间', 'createTime', 4, 0);
  5544. INSERT INTO `wk_crm_customer_pool_field_setting` VALUES (439855, 34552, NULL, '创建人', 'createUserName', 1, 0);
  5545. -- ----------------------------
  5546. -- Table structure for wk_crm_customer_pool_field_sort
  5547. -- ----------------------------
  5548. DROP TABLE IF EXISTS `wk_crm_customer_pool_field_sort`;
  5549. CREATE TABLE `wk_crm_customer_pool_field_sort` (
  5550. `id` int(0) NOT NULL AUTO_INCREMENT,
  5551. `pool_id` int(0) NOT NULL COMMENT '公海id',
  5552. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  5553. `field_id` int(0) NULL DEFAULT NULL COMMENT '字段id',
  5554. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5555. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段中文名称',
  5556. `type` int(0) NOT NULL COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  5557. `sort` int(0) NOT NULL COMMENT '字段排序',
  5558. `is_hidden` int(0) NOT NULL COMMENT '是否隐藏 0、不隐藏 1、隐藏',
  5559. PRIMARY KEY (`id`) USING BTREE
  5560. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公海列表页字段排序表' ROW_FORMAT = Dynamic;
  5561. -- ----------------------------
  5562. -- Records of wk_crm_customer_pool_field_sort
  5563. -- ----------------------------
  5564. -- ----------------------------
  5565. -- Table structure for wk_crm_customer_pool_field_style
  5566. -- ----------------------------
  5567. DROP TABLE IF EXISTS `wk_crm_customer_pool_field_style`;
  5568. CREATE TABLE `wk_crm_customer_pool_field_style` (
  5569. `id` int(0) NOT NULL AUTO_INCREMENT,
  5570. `pool_id` int(0) NOT NULL COMMENT '公海id',
  5571. `style` int(0) NOT NULL COMMENT '字段宽度',
  5572. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  5573. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  5574. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5575. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  5576. PRIMARY KEY (`id`) USING BTREE
  5577. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公海列表页字段样式表' ROW_FORMAT = Dynamic;
  5578. -- ----------------------------
  5579. -- Records of wk_crm_customer_pool_field_style
  5580. -- ----------------------------
  5581. -- ----------------------------
  5582. -- Table structure for wk_crm_customer_pool_relation
  5583. -- ----------------------------
  5584. DROP TABLE IF EXISTS `wk_crm_customer_pool_relation`;
  5585. CREATE TABLE `wk_crm_customer_pool_relation` (
  5586. `id` int(0) NOT NULL AUTO_INCREMENT,
  5587. `customer_id` int(0) NOT NULL COMMENT '客户id',
  5588. `pool_id` int(0) NOT NULL COMMENT '公海id',
  5589. PRIMARY KEY (`id`) USING BTREE,
  5590. INDEX `pool_id`(`pool_id`) USING BTREE
  5591. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客户公海关联表' ROW_FORMAT = Dynamic;
  5592. -- ----------------------------
  5593. -- Records of wk_crm_customer_pool_relation
  5594. -- ----------------------------
  5595. -- ----------------------------
  5596. -- Table structure for wk_crm_customer_pool_rule
  5597. -- ----------------------------
  5598. DROP TABLE IF EXISTS `wk_crm_customer_pool_rule`;
  5599. CREATE TABLE `wk_crm_customer_pool_rule` (
  5600. `rule_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '收回规则id',
  5601. `pool_id` int(0) NOT NULL COMMENT '公海id',
  5602. `type` int(0) NOT NULL COMMENT '收回规则判断类型 1跟进记录 2商机 3成交状态',
  5603. `deal_handle` int(0) NULL DEFAULT NULL COMMENT '已成交客户是否进入公海 0不进入 1进入',
  5604. `business_handle` int(0) NULL DEFAULT NULL COMMENT '有商机客户是否进入公海 0不进入 1进入',
  5605. `customer_level_setting` int(0) NOT NULL COMMENT '客户级别设置 1全部 2根据级别分别设置',
  5606. `level` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户级别 1全部',
  5607. `limit_day` int(0) NOT NULL COMMENT '公海规则限制天数',
  5608. PRIMARY KEY (`rule_id`) USING BTREE
  5609. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公海收回规则表' ROW_FORMAT = Dynamic;
  5610. -- ----------------------------
  5611. -- Records of wk_crm_customer_pool_rule
  5612. -- ----------------------------
  5613. -- ----------------------------
  5614. -- Table structure for wk_crm_customer_setting
  5615. -- ----------------------------
  5616. DROP TABLE IF EXISTS `wk_crm_customer_setting`;
  5617. CREATE TABLE `wk_crm_customer_setting` (
  5618. `setting_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  5619. `setting_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规则名称',
  5620. `customer_num` int(0) NULL DEFAULT NULL COMMENT '可拥有客户数量',
  5621. `customer_deal` int(0) NULL DEFAULT 0 COMMENT '成交客户是否占用数量 0 不占用 1 占用',
  5622. `type` int(0) NULL DEFAULT NULL COMMENT '类型 1 拥有客户数限制 2 锁定客户数限制',
  5623. `create_time` datetime(0) NULL DEFAULT NULL,
  5624. PRIMARY KEY (`setting_id`) USING BTREE
  5625. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工拥有以及锁定客户数限制' ROW_FORMAT = Dynamic;
  5626. -- ----------------------------
  5627. -- Records of wk_crm_customer_setting
  5628. -- ----------------------------
  5629. -- ----------------------------
  5630. -- Table structure for wk_crm_customer_setting_user
  5631. -- ----------------------------
  5632. DROP TABLE IF EXISTS `wk_crm_customer_setting_user`;
  5633. CREATE TABLE `wk_crm_customer_setting_user` (
  5634. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  5635. `setting_id` int(0) NOT NULL COMMENT '客户规则限制ID',
  5636. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '用户id',
  5637. `dept_id` int(0) NULL DEFAULT NULL COMMENT '部门ID',
  5638. `type` int(0) NULL DEFAULT NULL COMMENT '1 员工 2 部门',
  5639. PRIMARY KEY (`id`) USING BTREE
  5640. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工拥有以及锁定客户员工关联表' ROW_FORMAT = Dynamic;
  5641. -- ----------------------------
  5642. -- Records of wk_crm_customer_setting_user
  5643. -- ----------------------------
  5644. -- ----------------------------
  5645. -- Table structure for wk_crm_customer_stats_2021
  5646. -- ----------------------------
  5647. DROP TABLE IF EXISTS `wk_crm_customer_stats_2021`;
  5648. CREATE TABLE `wk_crm_customer_stats_2021` (
  5649. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
  5650. `customer_num` bigint(0) NULL DEFAULT NULL COMMENT '客户数量',
  5651. `deal_status` int(0) NULL DEFAULT NULL COMMENT '成交状态 0 未成交 1 已成交',
  5652. `owner_user_id` int(0) NULL DEFAULT NULL COMMENT '负责人ID',
  5653. `create_date` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建时间 年月日',
  5654. `deal_date` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建时间 年月日',
  5655. PRIMARY KEY (`id`) USING BTREE,
  5656. UNIQUE INDEX `id`(`customer_num`, `deal_status`, `owner_user_id`, `create_date`, `deal_date`) USING BTREE,
  5657. INDEX `create_date`(`create_date`) USING BTREE
  5658. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  5659. -- ----------------------------
  5660. -- Records of wk_crm_customer_stats_2021
  5661. -- ----------------------------
  5662. -- ----------------------------
  5663. -- Table structure for wk_crm_customer_stats_info
  5664. -- ----------------------------
  5665. DROP TABLE IF EXISTS `wk_crm_customer_stats_info`;
  5666. CREATE TABLE `wk_crm_customer_stats_info` (
  5667. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  5668. `last_customer_id` int(0) NOT NULL COMMENT '最后同步客户ID',
  5669. `create_time` datetime(0) NOT NULL COMMENT '同步时间',
  5670. `sync_num` int(0) NULL DEFAULT NULL COMMENT '同步数量',
  5671. PRIMARY KEY (`id`) USING BTREE
  5672. ) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '客户数量统计汇总表' ROW_FORMAT = Dynamic;
  5673. -- ----------------------------
  5674. -- Records of wk_crm_customer_stats_info
  5675. -- ----------------------------
  5676. -- ----------------------------
  5677. -- Table structure for wk_crm_customer_user_star
  5678. -- ----------------------------
  5679. DROP TABLE IF EXISTS `wk_crm_customer_user_star`;
  5680. CREATE TABLE `wk_crm_customer_user_star` (
  5681. `id` int(0) NOT NULL AUTO_INCREMENT,
  5682. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  5683. `customer_id` int(0) NOT NULL COMMENT '客户id',
  5684. PRIMARY KEY (`id`) USING BTREE,
  5685. UNIQUE INDEX `user_id`(`user_id`, `customer_id`) USING BTREE
  5686. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户客户标星关系表 ' ROW_FORMAT = Dynamic;
  5687. -- ----------------------------
  5688. -- Records of wk_crm_customer_user_star
  5689. -- ----------------------------
  5690. -- ----------------------------
  5691. -- Table structure for wk_crm_examine
  5692. -- ----------------------------
  5693. DROP TABLE IF EXISTS `wk_crm_examine`;
  5694. CREATE TABLE `wk_crm_examine` (
  5695. `examine_id` int(0) NOT NULL AUTO_INCREMENT,
  5696. `category_type` int(0) NOT NULL DEFAULT 1 COMMENT '1 合同 2 回款 3发票 4薪资 5 采购审核 6采购退货审核 7销售审核 8 销售退货审核 9付款单审核10 回款单审核11盘点审核12调拨审核',
  5697. `examine_type` int(0) NULL DEFAULT NULL COMMENT '审核类型 1 固定审批 2 授权审批',
  5698. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批流名称',
  5699. `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
  5700. `dept_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '部门ID(0为全部)',
  5701. `user_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '员工ID',
  5702. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5703. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  5704. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  5705. `update_user_id` bigint(0) NULL DEFAULT NULL COMMENT '修改人',
  5706. `status` int(0) NULL DEFAULT NULL COMMENT '状态 1 启用 0 禁用 2 删除',
  5707. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程说明',
  5708. PRIMARY KEY (`examine_id`) USING BTREE
  5709. ) ENGINE = InnoDB AUTO_INCREMENT = 25378 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审批流程表' ROW_FORMAT = Dynamic;
  5710. -- ----------------------------
  5711. -- Records of wk_crm_examine
  5712. -- ----------------------------
  5713. INSERT INTO `wk_crm_examine` VALUES (25375, 2, 2, '回款审批流程', NULL, NULL, NULL, NULL, 3, NULL, 3, 1, '');
  5714. INSERT INTO `wk_crm_examine` VALUES (25376, 1, 2, '合同审批流程', NULL, NULL, NULL, NULL, 3, NULL, 3, 1, '说明');
  5715. INSERT INTO `wk_crm_examine` VALUES (25377, 3, 2, '发票审批流程', NULL, NULL, NULL, NULL, 0, NULL, 0, 1, '');
  5716. -- ----------------------------
  5717. -- Table structure for wk_crm_examine_log
  5718. -- ----------------------------
  5719. DROP TABLE IF EXISTS `wk_crm_examine_log`;
  5720. CREATE TABLE `wk_crm_examine_log` (
  5721. `log_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  5722. `record_id` int(0) NULL DEFAULT NULL COMMENT '审批记录ID',
  5723. `examine_step_id` bigint(0) NULL DEFAULT NULL COMMENT '审核步骤ID',
  5724. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝3 撤回审核',
  5725. `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  5726. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5727. `examine_user` bigint(0) NULL DEFAULT NULL COMMENT '审核人',
  5728. `examine_time` datetime(0) NULL DEFAULT NULL COMMENT '审核时间',
  5729. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注',
  5730. `is_recheck` int(0) NULL DEFAULT 0 COMMENT '是否是撤回之前的日志 0或者null为新数据 1:撤回之前的数据',
  5731. `order_id` int(0) NULL DEFAULT NULL,
  5732. PRIMARY KEY (`log_id`) USING BTREE
  5733. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审核日志表' ROW_FORMAT = Dynamic;
  5734. -- ----------------------------
  5735. -- Records of wk_crm_examine_log
  5736. -- ----------------------------
  5737. -- ----------------------------
  5738. -- Table structure for wk_crm_examine_record
  5739. -- ----------------------------
  5740. DROP TABLE IF EXISTS `wk_crm_examine_record`;
  5741. CREATE TABLE `wk_crm_examine_record` (
  5742. `record_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '审核记录ID',
  5743. `examine_id` int(0) NULL DEFAULT NULL COMMENT '审批ID',
  5744. `examine_step_id` bigint(0) NULL DEFAULT NULL COMMENT '当前进行的审批步骤ID',
  5745. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回',
  5746. `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  5747. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5748. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注',
  5749. PRIMARY KEY (`record_id`) USING BTREE
  5750. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审核记录表' ROW_FORMAT = Dynamic;
  5751. -- ----------------------------
  5752. -- Records of wk_crm_examine_record
  5753. -- ----------------------------
  5754. -- ----------------------------
  5755. -- Table structure for wk_crm_examine_step
  5756. -- ----------------------------
  5757. DROP TABLE IF EXISTS `wk_crm_examine_step`;
  5758. CREATE TABLE `wk_crm_examine_step` (
  5759. `step_id` bigint(0) NOT NULL AUTO_INCREMENT,
  5760. `step_type` int(0) NULL DEFAULT NULL COMMENT '步骤类型1、负责人主管,2、指定用户(任意一人),3、指定用户(多人会签),4、上一级审批人主管',
  5761. `examine_id` int(0) NOT NULL COMMENT '审批ID',
  5762. `check_user_id` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批人ID (使用逗号隔开) ,1,2,',
  5763. `step_num` int(0) NULL DEFAULT 1 COMMENT '排序',
  5764. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  5765. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  5766. PRIMARY KEY (`step_id`) USING BTREE
  5767. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审批步骤表' ROW_FORMAT = Dynamic;
  5768. -- ----------------------------
  5769. -- Records of wk_crm_examine_step
  5770. -- ----------------------------
  5771. -- ----------------------------
  5772. -- Table structure for wk_crm_field
  5773. -- ----------------------------
  5774. DROP TABLE IF EXISTS `wk_crm_field`;
  5775. CREATE TABLE `wk_crm_field` (
  5776. `field_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  5777. `field_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自定义字段英文标识',
  5778. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段名称',
  5779. `type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  5780. `label` int(0) NOT NULL COMMENT '标签 1 线索 2 客户 3 联系人 4 产品 5 商机 6 合同 7回款8.回款计划',
  5781. `remark` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段说明',
  5782. `input_tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输入提示',
  5783. `max_length` int(0) NULL DEFAULT NULL COMMENT '最大长度',
  5784. `default_value` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '默认值',
  5785. `is_unique` int(0) NULL DEFAULT 0 COMMENT '是否唯一 1 是 0 否',
  5786. `is_null` int(0) NULL DEFAULT 0 COMMENT '是否必填 1 是 0 否',
  5787. `sorting` int(0) NULL DEFAULT 1 COMMENT '排序 从小到大',
  5788. `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '如果类型是选项,此处不能为空,多个选项以,隔开',
  5789. `operating` int(0) NULL DEFAULT 255 COMMENT '是否可以删除修改',
  5790. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  5791. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最后修改时间',
  5792. `field_type` int(0) NOT NULL DEFAULT 0 COMMENT '字段来源 0.自定义 1.原始固定 2原始字段但值存在扩展表中',
  5793. `relevant` int(0) NULL DEFAULT NULL COMMENT '只有线索需要,转换客户的自定义字段ID',
  5794. `style_percent` int(0) NULL DEFAULT 50 COMMENT '样式百分比%',
  5795. `precisions` int(0) NULL DEFAULT NULL COMMENT '精度,允许的最大小数位',
  5796. `form_position` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单定位 坐标格式: 1,1',
  5797. `max_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最大数值',
  5798. `min_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最小数值',
  5799. `form_assist_id` int(0) NULL DEFAULT NULL COMMENT '表单辅助id,前端生成',
  5800. PRIMARY KEY (`field_id`) USING BTREE,
  5801. INDEX `label`(`label`) USING BTREE,
  5802. INDEX `update_time`(`update_time`) USING BTREE
  5803. ) ENGINE = InnoDB AUTO_INCREMENT = 1101914 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '自定义字段表' ROW_FORMAT = Dynamic;
  5804. -- ----------------------------
  5805. -- Records of wk_crm_field
  5806. -- ----------------------------
  5807. INSERT INTO `wk_crm_field` VALUES (1101827, 'customer_name', '客户名称', 1, 2, NULL, NULL, 255, '', 1, 1, 0, NULL, 189, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5808. INSERT INTO `wk_crm_field` VALUES (1101828, 'source', '客户来源', 3, 2, NULL, NULL, NULL, '', 0, 0, 1, '促销,搜索引擎,广告,转介绍,线上注册,线上询价,预约上门,陌拜,电话咨询,邮件咨询', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5809. INSERT INTO `wk_crm_field` VALUES (1101829, 'mobile', '手机', 7, 2, NULL, NULL, 255, '', 0, 0, 2, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5810. INSERT INTO `wk_crm_field` VALUES (1101830, 'telephone', '电话', 1, 2, NULL, NULL, 255, '', 0, 0, 3, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5811. INSERT INTO `wk_crm_field` VALUES (1101831, 'website', '网址', 1, 2, NULL, NULL, 255, '', 0, 0, 4, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5812. INSERT INTO `wk_crm_field` VALUES (1101832, 'industry', '客户行业', 3, 2, NULL, NULL, NULL, '', 0, 0, 5, 'IT,金融业,房地产,商业服务,运输/物流,生产,政府,文化传媒', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5813. INSERT INTO `wk_crm_field` VALUES (1101833, 'level', '客户级别', 3, 2, NULL, NULL, NULL, '', 0, 0, 6, 'A(重点客户),B(普通客户),C(非优先客户)', 63, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5814. INSERT INTO `wk_crm_field` VALUES (1101834, 'next_time', '下次联系时间', 13, 2, NULL, NULL, NULL, '', 0, 0, 7, NULL, 63, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5815. INSERT INTO `wk_crm_field` VALUES (1101835, 'remark', '备注', 2, 2, NULL, NULL, 255, '', 0, 0, 8, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5816. INSERT INTO `wk_crm_field` VALUES (1101836, 'email', '邮箱', 14, 2, NULL, NULL, 255, '', 0, 0, 4, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5817. INSERT INTO `wk_crm_field` VALUES (1101837, 'leads_name', '线索名称', 1, 1, NULL, NULL, 255, '', 0, 1, 0, NULL, 189, 0, '2021-03-24 16:55:24', 1, 1101827, 50, NULL, NULL, NULL, NULL, NULL);
  5818. INSERT INTO `wk_crm_field` VALUES (1101838, 'email', '邮箱', 14, 1, NULL, NULL, 255, '', 0, 0, 1, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5819. INSERT INTO `wk_crm_field` VALUES (1101839, 'source', '线索来源', 3, 1, NULL, NULL, NULL, '', 0, 0, 2, '促销,搜索引擎,广告,转介绍,线上注册,线上询价,预约上门,陌拜,电话咨询,邮件咨询', 191, 0, '2021-03-24 16:55:24', 2, 1101828, 50, NULL, NULL, NULL, NULL, NULL);
  5820. INSERT INTO `wk_crm_field` VALUES (1101840, 'mobile', '手机', 7, 1, NULL, NULL, 255, '', 0, 0, 3, NULL, 191, 0, '2021-03-24 16:55:24', 1, 1101829, 50, NULL, NULL, NULL, NULL, NULL);
  5821. INSERT INTO `wk_crm_field` VALUES (1101841, 'telephone', '电话', 1, 1, NULL, NULL, 255, '', 0, 0, 4, NULL, 191, 0, '2021-03-24 16:55:24', 1, 1101830, 50, NULL, NULL, NULL, NULL, NULL);
  5822. INSERT INTO `wk_crm_field` VALUES (1101842, 'address', '地址', 1, 1, NULL, NULL, 255, '', 0, 0, 5, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5823. INSERT INTO `wk_crm_field` VALUES (1101843, 'industry', '客户行业', 3, 1, NULL, NULL, NULL, '', 0, 0, 6, 'IT,金融业,房地产,商业服务,运输/物流,生产,政府,文化传媒', 191, 0, '2021-03-24 16:55:24', 2, 1101832, 50, NULL, NULL, NULL, NULL, NULL);
  5824. INSERT INTO `wk_crm_field` VALUES (1101844, 'level', '客户级别', 3, 1, NULL, NULL, NULL, '', 0, 0, 7, 'A(重点客户),B(普通客户),C(非优先客户)', 191, 0, '2021-03-24 16:55:24', 2, 1101833, 50, NULL, NULL, NULL, NULL, NULL);
  5825. INSERT INTO `wk_crm_field` VALUES (1101845, 'next_time', '下次联系时间', 13, 1, NULL, NULL, NULL, '', 0, 0, 8, NULL, 63, 0, '2021-03-24 16:55:24', 1, 1101834, 50, NULL, NULL, NULL, NULL, NULL);
  5826. INSERT INTO `wk_crm_field` VALUES (1101846, 'remark', '备注', 2, 1, NULL, NULL, 255, '', 0, 0, 9, NULL, 191, 0, '2021-03-24 16:55:24', 1, 1101835, 50, NULL, NULL, NULL, NULL, NULL);
  5827. INSERT INTO `wk_crm_field` VALUES (1101847, 'name', '姓名', 1, 3, NULL, NULL, 255, '', 0, 1, 0, NULL, 181, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5828. INSERT INTO `wk_crm_field` VALUES (1101848, 'customer_id', '客户名称', 15, 3, NULL, NULL, NULL, '', 0, 1, 1, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5829. INSERT INTO `wk_crm_field` VALUES (1101849, 'mobile', '手机', 7, 3, NULL, NULL, 255, '', 0, 0, 2, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5830. INSERT INTO `wk_crm_field` VALUES (1101850, 'telephone', '电话', 1, 3, NULL, NULL, 255, '', 0, 0, 3, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5831. INSERT INTO `wk_crm_field` VALUES (1101851, 'email', '邮箱', 14, 3, NULL, NULL, 255, '', 0, 0, 4, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5832. INSERT INTO `wk_crm_field` VALUES (1101852, 'post', '职务', 1, 3, NULL, NULL, 255, '', 0, 0, 5, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5833. INSERT INTO `wk_crm_field` VALUES (1101853, 'policymakers', '是否关键决策人', 3, 3, NULL, NULL, NULL, '', 0, 0, 6, '是,否', 190, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5834. INSERT INTO `wk_crm_field` VALUES (1101854, 'address', '地址', 1, 3, NULL, NULL, 255, '', 0, 0, 7, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5835. INSERT INTO `wk_crm_field` VALUES (1101855, 'next_time', '下次联系时间', 13, 3, NULL, NULL, NULL, '', 0, 0, 8, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5836. INSERT INTO `wk_crm_field` VALUES (1101856, 'remark', '备注', 2, 3, NULL, NULL, 255, '', 0, 0, 9, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5837. INSERT INTO `wk_crm_field` VALUES (1101857, 'sex', '性别', 3, 3, NULL, NULL, NULL, '', 0, 0, 10, '男,女', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5838. INSERT INTO `wk_crm_field` VALUES (1101858, 'name', '产品名称', 1, 4, NULL, NULL, 255, '', 0, 1, 0, NULL, 177, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5839. INSERT INTO `wk_crm_field` VALUES (1101859, 'category_id', '产品类型', 19, 4, NULL, NULL, NULL, '', 0, 1, 1, NULL, 1, 0, NULL, 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5840. INSERT INTO `wk_crm_field` VALUES (1101860, 'unit', '产品单位', 3, 4, NULL, NULL, NULL, '', 0, 0, 2, '个,块,只,把,枚,瓶,盒,台,吨,千克,米,箱,套', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5841. INSERT INTO `wk_crm_field` VALUES (1101861, 'num', '产品编码', 1, 4, NULL, NULL, 255, '', 1, 1, 3, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5842. INSERT INTO `wk_crm_field` VALUES (1101862, 'price', '价格', 6, 4, NULL, NULL, 255, '', 0, 1, 4, NULL, 181, 0, '2021-05-07 13:58:21', 1, NULL, 50, 2, NULL, NULL, NULL, NULL);
  5843. INSERT INTO `wk_crm_field` VALUES (1101863, 'description', '产品描述', 1, 4, NULL, NULL, 255, '', 0, 0, 6, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5844. INSERT INTO `wk_crm_field` VALUES (1101864, 'business_name', '商机名称', 1, 5, NULL, NULL, 255, '', 0, 1, 0, NULL, 181, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5845. INSERT INTO `wk_crm_field` VALUES (1101865, 'customer_id', '客户名称', 15, 5, NULL, NULL, NULL, '', 0, 1, 1, NULL, 149, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5846. INSERT INTO `wk_crm_field` VALUES (1101866, 'money', '商机金额', 6, 5, NULL, NULL, 255, '', 0, 0, 2, NULL, 189, 0, '2021-05-07 13:58:21', 1, NULL, 50, 2, NULL, NULL, NULL, NULL);
  5847. INSERT INTO `wk_crm_field` VALUES (1101867, 'deal_date', '预计成交日期', 13, 5, NULL, NULL, NULL, '', 0, 0, 3, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5848. INSERT INTO `wk_crm_field` VALUES (1101868, 'remark', '备注', 2, 5, NULL, NULL, 255, '', 0, 0, 4, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5849. INSERT INTO `wk_crm_field` VALUES (1101869, 'name', '合同名称', 1, 6, NULL, NULL, 255, '', 0, 1, 1, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5850. INSERT INTO `wk_crm_field` VALUES (1101870, 'num', '合同编号', 1, 6, NULL, NULL, 255, '', 1, 1, 0, NULL, 177, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5851. INSERT INTO `wk_crm_field` VALUES (1101871, 'customer_id', '客户名称', 15, 6, NULL, NULL, NULL, '', 0, 1, 2, NULL, 149, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5852. INSERT INTO `wk_crm_field` VALUES (1101872, 'business_id', '商机名称', 16, 6, NULL, NULL, NULL, '', 0, 0, 3, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5853. INSERT INTO `wk_crm_field` VALUES (1101873, 'money', '合同金额', 6, 6, NULL, NULL, 255, '', 0, 1, 4, NULL, 189, 0, '2021-05-07 13:58:21', 1, NULL, 50, 2, NULL, NULL, NULL, NULL);
  5854. INSERT INTO `wk_crm_field` VALUES (1101874, 'order_date', '下单时间', 4, 6, NULL, NULL, NULL, '', 0, 1, 5, NULL, 181, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5855. INSERT INTO `wk_crm_field` VALUES (1101875, 'start_time', '合同开始时间', 4, 6, NULL, NULL, NULL, '', 0, 0, 6, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5856. INSERT INTO `wk_crm_field` VALUES (1101876, 'end_time', '合同结束时间', 4, 6, NULL, NULL, NULL, '', 0, 0, 7, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5857. INSERT INTO `wk_crm_field` VALUES (1101877, 'contacts_id', '客户签约人', 17, 6, NULL, NULL, NULL, '', 0, 0, 8, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5858. INSERT INTO `wk_crm_field` VALUES (1101878, 'company_user_id', '公司签约人', 10, 6, NULL, NULL, NULL, '', 0, 0, 9, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5859. INSERT INTO `wk_crm_field` VALUES (1101879, 'remark', '备注', 2, 6, NULL, NULL, 255, '', 0, 0, 10, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5860. INSERT INTO `wk_crm_field` VALUES (1101880, 'flied_xucqai', '合同类型', 3, 6, NULL, NULL, 255, '', 0, 0, 11, '直销合同,代理合同,服务合同,快销合同', 255, 0, '2021-03-24 16:55:24', 0, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5861. INSERT INTO `wk_crm_field` VALUES (1101881, 'number', '回款编号', 1, 7, NULL, NULL, 255, '', 1, 1, 0, NULL, 177, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5862. INSERT INTO `wk_crm_field` VALUES (1101882, 'customer_id', '客户名称', 15, 7, NULL, NULL, NULL, '', 0, 1, 1, NULL, 149, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5863. INSERT INTO `wk_crm_field` VALUES (1101883, 'contract_id', '合同编号', 20, 7, NULL, NULL, NULL, '', 0, 1, 2, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5864. INSERT INTO `wk_crm_field` VALUES (1101884, 'receivables_plan_id', '期数', 21, 7, NULL, NULL, NULL, '', 0, 0, 3, NULL, 1, 0, '2021-08-02 11:10:31', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5865. INSERT INTO `wk_crm_field` VALUES (1101885, 'return_time', '回款日期', 4, 7, NULL, NULL, NULL, '', 0, 1, 4, NULL, 181, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5866. INSERT INTO `wk_crm_field` VALUES (1101886, 'money', '回款金额', 6, 7, NULL, NULL, 255, '', 0, 1, 5, NULL, 181, 0, '2021-05-07 13:58:21', 1, NULL, 50, 2, NULL, NULL, NULL, NULL);
  5867. INSERT INTO `wk_crm_field` VALUES (1101887, 'return_type', '回款方式', 3, 7, NULL, NULL, NULL, '', 0, 0, 6, '支票,现金,邮政汇款,电汇,网上转账,支付宝,微信支付,其他', 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5868. INSERT INTO `wk_crm_field` VALUES (1101888, 'remark', '备注', 2, 7, NULL, NULL, 255, '', 0, 0, 7, NULL, 191, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5869. INSERT INTO `wk_crm_field` VALUES (1101889, 'customer_id', '客户名称', 15, 8, NULL, NULL, NULL, '', 0, 1, 1, NULL, 181, 0, '2021-08-02 11:01:53', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5870. INSERT INTO `wk_crm_field` VALUES (1101890, 'contract_id', '合同编号', 20, 8, NULL, NULL, 11, '', 0, 1, 2, NULL, 181, 0, '2021-08-02 11:01:53', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5871. INSERT INTO `wk_crm_field` VALUES (1101891, 'money', '计划回款金额', 6, 8, NULL, NULL, NULL, '', 0, 1, 3, NULL, 181, 0, '2021-08-02 11:01:53', 1, NULL, 50, 2, NULL, NULL, NULL, NULL);
  5872. INSERT INTO `wk_crm_field` VALUES (1101892, 'return_date', '计划回款日期', 4, 8, NULL, NULL, NULL, '', 0, 1, 4, NULL, 183, 0, '2021-08-02 11:01:53', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5873. INSERT INTO `wk_crm_field` VALUES (1101893, 'remind', '提前几天提醒', 5, 8, NULL, NULL, 11, '', 0, 0, 5, NULL, 1, 0, NULL, 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5874. INSERT INTO `wk_crm_field` VALUES (1101894, 'remark', '备注', 2, 8, NULL, NULL, 1000, '', 0, 0, 6, NULL, 1, 0, NULL, 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5875. INSERT INTO `wk_crm_field` VALUES (1101895, 'visit_number', '回访编号', 1, 17, NULL, NULL, NULL, '', 1, 1, 0, NULL, 177, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5876. INSERT INTO `wk_crm_field` VALUES (1101896, 'visit_time', '回访时间', 13, 17, NULL, NULL, NULL, '', 0, 1, 1, NULL, 181, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5877. INSERT INTO `wk_crm_field` VALUES (1101897, 'owner_user_id', '回访人', 28, 17, NULL, NULL, NULL, '', 0, 1, 2, NULL, 149, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5878. INSERT INTO `wk_crm_field` VALUES (1101898, 'return_visit_type', '回访形式', 3, 17, NULL, NULL, NULL, '', 0, 0, 3, '见面拜访,电话,短信,邮件,微信', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5879. INSERT INTO `wk_crm_field` VALUES (1101899, 'customer_id', '客户名称', 15, 17, NULL, NULL, NULL, '', 0, 1, 4, NULL, 149, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5880. INSERT INTO `wk_crm_field` VALUES (1101900, 'contacts_id', '联系人', 17, 17, NULL, NULL, NULL, '', 0, 0, 5, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5881. INSERT INTO `wk_crm_field` VALUES (1101901, 'contract_id', '合同编号', 20, 17, NULL, NULL, NULL, '', 0, 1, 6, NULL, 159, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5882. INSERT INTO `wk_crm_field` VALUES (1101902, 'satisficing', '客户满意度', 3, 17, NULL, NULL, NULL, '', 0, 0, 7, '很满意,满意,一般,不满意,很不满意', 191, 0, '2021-03-24 16:55:24', 2, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5883. INSERT INTO `wk_crm_field` VALUES (1101903, 'flied_itvzix', '客户反馈', 2, 17, NULL, NULL, 1000, '', 0, 0, 8, NULL, 191, 0, '2021-03-24 16:55:24', 0, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5884. INSERT INTO `wk_crm_field` VALUES (1101905, 'invoice_apply_number', '发票申请编号', 1, 18, NULL, NULL, NULL, '', 1, 1, 0, NULL, 176, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '0,0', NULL, NULL, NULL);
  5885. INSERT INTO `wk_crm_field` VALUES (1101906, 'customer_id', '客户名称', 15, 18, NULL, NULL, NULL, '', 0, 1, 1, NULL, 148, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '0,1', NULL, NULL, NULL);
  5886. INSERT INTO `wk_crm_field` VALUES (1101907, 'contract_id', '合同编号', 20, 18, NULL, NULL, NULL, '', 0, 1, 2, NULL, 148, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '1,0', NULL, NULL, NULL);
  5887. INSERT INTO `wk_crm_field` VALUES (1101908, 'contract_money', '合同金额', 6, 18, NULL, NULL, NULL, '', 0, 0, 3, NULL, 144, 0, '2021-05-07 13:58:07', 1, NULL, 50, 2, '1,1', NULL, NULL, NULL);
  5888. INSERT INTO `wk_crm_field` VALUES (1101909, 'invoice_money', '开票金额', 6, 18, NULL, NULL, NULL, '', 0, 1, 4, NULL, 148, 0, '2021-05-07 13:58:07', 1, NULL, 50, 2, '2,0', NULL, NULL, NULL);
  5889. INSERT INTO `wk_crm_field` VALUES (1101910, 'invoice_date', '开票日期', 13, 18, NULL, NULL, NULL, '', 0, 0, 5, NULL, 190, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '2,1', NULL, NULL, NULL);
  5890. INSERT INTO `wk_crm_field` VALUES (1101911, 'invoice_type', '开票类型', 3, 18, NULL, NULL, NULL, '', 0, 1, 6, '增值税专用发票,增值税普通发票,国税通用机打发票,地税通用机打发票,收据', 158, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '3,0', NULL, NULL, NULL);
  5891. INSERT INTO `wk_crm_field` VALUES (1101912, 'remark', '备注', 2, 18, NULL, NULL, 255, '', 0, 0, 7, NULL, 190, 0, '2021-05-07 13:58:07', 1, NULL, 50, NULL, '3,1', NULL, NULL, NULL);
  5892. INSERT INTO `wk_crm_field` VALUES (1101913, 'return_type', '回款方式', 3, 8, NULL, NULL, NULL, '', 0, 0, 6, '支票,现金,邮政汇款,电汇,网上转账,支付宝,微信支付,其他', 0, 0, '2021-03-24 16:55:24', 1, NULL, 50, NULL, NULL, NULL, NULL, NULL);
  5893. -- ----------------------------
  5894. -- Table structure for wk_crm_field_config
  5895. -- ----------------------------
  5896. DROP TABLE IF EXISTS `wk_crm_field_config`;
  5897. CREATE TABLE `wk_crm_field_config` (
  5898. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  5899. `field_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字段名称',
  5900. `field_type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 keyword 2 date 3 number 4 nested 5 datetime',
  5901. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  5902. `label` int(0) NOT NULL COMMENT 'label',
  5903. PRIMARY KEY (`id`) USING BTREE,
  5904. UNIQUE INDEX `field_name`(`field_name`, `label`) USING BTREE
  5905. ) ENGINE = InnoDB AUTO_INCREMENT = 100294 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '字段配置表' ROW_FORMAT = Dynamic;
  5906. -- ----------------------------
  5907. -- Records of wk_crm_field_config
  5908. -- ----------------------------
  5909. INSERT INTO `wk_crm_field_config` VALUES (100257, 'flied_dzmbcn', 4, '2020-08-03 18:46:43', 6);
  5910. INSERT INTO `wk_crm_field_config` VALUES (100258, 'flied_ivcdhc', 4, '2020-08-03 18:47:30', 3);
  5911. INSERT INTO `wk_crm_field_config` VALUES (100259, 'flied_pyrnyn', 1, '2020-08-03 19:12:42', 1);
  5912. INSERT INTO `wk_crm_field_config` VALUES (100260, 'flied_dknbbe', 4, '2020-08-03 19:12:42', 1);
  5913. INSERT INTO `wk_crm_field_config` VALUES (100261, 'flied_jhsivt', 1, '2020-08-03 19:15:51', 2);
  5914. INSERT INTO `wk_crm_field_config` VALUES (100262, 'flied_bcethz', 3, '2020-08-04 17:17:04', 2);
  5915. INSERT INTO `wk_crm_field_config` VALUES (100263, 'flied_jeqgso', 1, '2020-08-04 17:17:04', 2);
  5916. INSERT INTO `wk_crm_field_config` VALUES (100264, 'flied_mjrdbe', 1, '2020-08-05 11:17:16', 2);
  5917. INSERT INTO `wk_crm_field_config` VALUES (100265, 'flied_mtfnrf', 1, '2020-08-05 11:17:17', 2);
  5918. INSERT INTO `wk_crm_field_config` VALUES (100266, 'flied_dlyjjb', 2, '2020-08-06 15:27:17', 1);
  5919. INSERT INTO `wk_crm_field_config` VALUES (100267, 'flied_wxpcbx', 3, '2020-08-06 15:27:18', 1);
  5920. INSERT INTO `wk_crm_field_config` VALUES (100268, 'flied_kjhmgc', 4, '2020-08-06 15:27:18', 2);
  5921. INSERT INTO `wk_crm_field_config` VALUES (100269, 'flied_gdcrxx', 2, '2020-08-06 15:27:18', 2);
  5922. INSERT INTO `wk_crm_field_config` VALUES (100270, 'flied_xfhonw', 1, '2020-08-06 15:27:18', 3);
  5923. INSERT INTO `wk_crm_field_config` VALUES (100271, 'flied_fdncyr', 2, '2020-08-06 15:27:18', 3);
  5924. INSERT INTO `wk_crm_field_config` VALUES (100272, 'flied_ijtnfc', 3, '2020-08-06 15:27:18', 3);
  5925. INSERT INTO `wk_crm_field_config` VALUES (100273, 'flied_wuggiv', 1, '2020-08-06 15:27:18', 4);
  5926. INSERT INTO `wk_crm_field_config` VALUES (100274, 'flied_mswlgq', 4, '2020-08-06 15:27:18', 4);
  5927. INSERT INTO `wk_crm_field_config` VALUES (100275, 'flied_nmkltw', 2, '2020-08-06 15:27:18', 4);
  5928. INSERT INTO `wk_crm_field_config` VALUES (100276, 'flied_jokwgt', 3, '2020-08-06 15:27:19', 4);
  5929. INSERT INTO `wk_crm_field_config` VALUES (100277, 'flied_drfhhl', 1, '2020-08-06 15:27:19', 5);
  5930. INSERT INTO `wk_crm_field_config` VALUES (100278, 'flied_uvqlpy', 4, '2020-08-06 15:27:19', 5);
  5931. INSERT INTO `wk_crm_field_config` VALUES (100279, 'flied_temgvq', 2, '2020-08-06 15:27:19', 5);
  5932. INSERT INTO `wk_crm_field_config` VALUES (100280, 'flied_lxujya', 3, '2020-08-06 15:27:19', 5);
  5933. INSERT INTO `wk_crm_field_config` VALUES (100281, 'flied_kixhfg', 1, '2020-08-06 15:27:19', 6);
  5934. INSERT INTO `wk_crm_field_config` VALUES (100282, 'flied_lzwnik', 2, '2020-08-06 15:27:19', 6);
  5935. INSERT INTO `wk_crm_field_config` VALUES (100283, 'flied_dununn', 3, '2020-08-06 15:27:19', 6);
  5936. INSERT INTO `wk_crm_field_config` VALUES (100284, 'flied_cqlfka', 1, '2020-08-06 15:27:19', 7);
  5937. INSERT INTO `wk_crm_field_config` VALUES (100285, 'flied_ylgnov', 4, '2020-08-06 15:27:19', 7);
  5938. INSERT INTO `wk_crm_field_config` VALUES (100286, 'flied_umnxvp', 2, '2020-08-06 15:27:19', 7);
  5939. INSERT INTO `wk_crm_field_config` VALUES (100287, 'flied_mhbkno', 3, '2020-08-06 15:27:19', 7);
  5940. INSERT INTO `wk_crm_field_config` VALUES (100288, 'flied_bthxmi', 1, '2020-08-06 15:27:20', 17);
  5941. INSERT INTO `wk_crm_field_config` VALUES (100289, 'flied_xqimlp', 4, '2020-08-06 15:27:20', 17);
  5942. INSERT INTO `wk_crm_field_config` VALUES (100290, 'flied_oojrlh', 2, '2020-08-06 15:27:20', 17);
  5943. INSERT INTO `wk_crm_field_config` VALUES (100291, 'flied_tmboyd', 3, '2020-08-06 15:27:20', 17);
  5944. INSERT INTO `wk_crm_field_config` VALUES (100292, 'flied_grasid', 1, '2020-08-12 18:14:51', 2);
  5945. INSERT INTO `wk_crm_field_config` VALUES (100293, 'flied_ilvojx', 1, '2020-08-19 17:17:04', 1);
  5946. -- ----------------------------
  5947. -- Table structure for wk_crm_field_extend
  5948. -- ----------------------------
  5949. DROP TABLE IF EXISTS `wk_crm_field_extend`;
  5950. CREATE TABLE `wk_crm_field_extend` (
  5951. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  5952. `parent_field_id` int(0) NOT NULL COMMENT '对应主字段id',
  5953. `field_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自定义字段英文标识',
  5954. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段名称',
  5955. `type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  5956. `remark` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段说明',
  5957. `input_tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输入提示',
  5958. `max_length` int(0) NULL DEFAULT NULL COMMENT '最大长度',
  5959. `default_value` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '默认值',
  5960. `is_unique` int(0) NULL DEFAULT 0 COMMENT '是否唯一 1 是 0 否',
  5961. `is_null` int(0) NULL DEFAULT 0 COMMENT '是否必填 1 是 0 否',
  5962. `sorting` int(0) NULL DEFAULT 1 COMMENT '排序 从小到大',
  5963. `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '如果类型是选项,此处不能为空,多个选项以,隔开',
  5964. `operating` int(0) NULL DEFAULT 255 COMMENT '是否允许编辑',
  5965. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  5966. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最后修改时间',
  5967. `field_type` int(0) NOT NULL DEFAULT 0 COMMENT '字段来源 0.自定义 1.原始固定 2原始字段但值存在扩展表中',
  5968. `style_percent` int(0) NULL DEFAULT 50 COMMENT '样式百分比%',
  5969. `precisions` int(0) NULL DEFAULT NULL COMMENT '精度,允许的最大小数位',
  5970. `form_position` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单定位 坐标格式: 1,1',
  5971. `max_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最大数值',
  5972. `min_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最小数值',
  5973. `form_assist_id` int(0) NULL DEFAULT NULL COMMENT '表单辅助id,前端生成',
  5974. PRIMARY KEY (`id`) USING BTREE,
  5975. INDEX `update_time`(`update_time`) USING BTREE
  5976. ) ENGINE = InnoDB AUTO_INCREMENT = 12231 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '自定义字段表' ROW_FORMAT = Dynamic;
  5977. -- ----------------------------
  5978. -- Records of wk_crm_field_extend
  5979. -- ----------------------------
  5980. -- ----------------------------
  5981. -- Table structure for wk_crm_field_sort
  5982. -- ----------------------------
  5983. DROP TABLE IF EXISTS `wk_crm_field_sort`;
  5984. CREATE TABLE `wk_crm_field_sort` (
  5985. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  5986. `field_id` int(0) NULL DEFAULT NULL COMMENT '字段ID',
  5987. `field_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段名称',
  5988. `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
  5989. `label` int(0) NOT NULL COMMENT '标签 1 线索 2 客户 3 联系人 4 产品 5 商机 6 合同 7回款8.回款计划',
  5990. `type` int(0) NULL DEFAULT NULL COMMENT '字段类型',
  5991. `style` int(0) NULL DEFAULT NULL COMMENT '字段宽度',
  5992. `sort` int(0) NOT NULL DEFAULT 0 COMMENT '字段排序',
  5993. `user_id` bigint(0) NOT NULL DEFAULT 0 COMMENT '用户id',
  5994. `is_hide` int(0) NOT NULL DEFAULT 1 COMMENT '是否隐藏 0、不隐藏 1、隐藏',
  5995. PRIMARY KEY (`id`) USING BTREE,
  5996. UNIQUE INDEX `label`(`user_id`, `field_name`, `label`) USING BTREE
  5997. ) ENGINE = InnoDB AUTO_INCREMENT = 1961 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字段排序表' ROW_FORMAT = Dynamic;
  5998. -- ----------------------------
  5999. -- Records of wk_crm_field_sort
  6000. -- ----------------------------
  6001. -- ----------------------------
  6002. -- Table structure for wk_crm_instrument_sort
  6003. -- ----------------------------
  6004. DROP TABLE IF EXISTS `wk_crm_instrument_sort`;
  6005. CREATE TABLE `wk_crm_instrument_sort` (
  6006. `id` int(0) NOT NULL AUTO_INCREMENT,
  6007. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  6008. `model_id` int(0) NOT NULL COMMENT '模块id 1、合同金额目标及完成情况 2、数据汇总 3、回款金额目标及完成情况 4、业绩指标完成率 5、销售漏斗 6、遗忘提醒 7、排行榜',
  6009. `list` int(0) NOT NULL COMMENT '列 1左侧 2右侧',
  6010. `sort` int(0) NOT NULL COMMENT '排序',
  6011. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0显示 1隐藏',
  6012. PRIMARY KEY (`id`) USING BTREE
  6013. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '仪表盘排序表' ROW_FORMAT = Dynamic;
  6014. -- ----------------------------
  6015. -- Records of wk_crm_instrument_sort
  6016. -- ----------------------------
  6017. -- ----------------------------
  6018. -- Table structure for wk_crm_invoice
  6019. -- ----------------------------
  6020. DROP TABLE IF EXISTS `wk_crm_invoice`;
  6021. CREATE TABLE `wk_crm_invoice` (
  6022. `invoice_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '发票id',
  6023. `invoice_apply_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '发票申请编号',
  6024. `customer_id` int(0) NOT NULL COMMENT '客户id',
  6025. `contract_id` int(0) NULL DEFAULT NULL COMMENT '合同id',
  6026. `invoice_money` decimal(10, 2) NOT NULL COMMENT '开票金额',
  6027. `invoice_date` date NULL DEFAULT NULL COMMENT '开票日期',
  6028. `invoice_type` int(0) NOT NULL COMMENT '开票类型',
  6029. `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  6030. `title_type` int(0) NULL DEFAULT NULL COMMENT '抬头类型 1单位 2个人',
  6031. `invoice_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开票抬头',
  6032. `tax_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纳税识别号',
  6033. `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户行',
  6034. `deposit_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户账户',
  6035. `deposit_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开票地址',
  6036. `telephone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  6037. `contacts_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人名称',
  6038. `contacts_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  6039. `contacts_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮寄地址',
  6040. `examine_record_id` int(0) NULL DEFAULT NULL COMMENT '审批记录id',
  6041. `check_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0待审核、1通过、2拒绝、3审核中、4撤回',
  6042. `owner_user_id` bigint(0) NOT NULL COMMENT '负责人id',
  6043. `invoice_number` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发票号码',
  6044. `real_invoice_date` date NULL DEFAULT NULL COMMENT '实际开票日期',
  6045. `logistics_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '物流单号',
  6046. `invoice_status` int(0) NOT NULL DEFAULT 0 COMMENT '开票状态 0 未开票, 1 已开票',
  6047. `create_user_id` bigint(0) NOT NULL COMMENT '创建人id',
  6048. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6049. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6050. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '批次id',
  6051. PRIMARY KEY (`invoice_id`) USING BTREE
  6052. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发票表' ROW_FORMAT = Dynamic;
  6053. -- ----------------------------
  6054. -- Records of wk_crm_invoice
  6055. -- ----------------------------
  6056. -- ----------------------------
  6057. -- Table structure for wk_crm_invoice_data
  6058. -- ----------------------------
  6059. DROP TABLE IF EXISTS `wk_crm_invoice_data`;
  6060. CREATE TABLE `wk_crm_invoice_data` (
  6061. `id` int(0) NOT NULL AUTO_INCREMENT,
  6062. `field_id` int(0) NOT NULL,
  6063. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6064. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6065. `create_time` datetime(0) NOT NULL,
  6066. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6067. PRIMARY KEY (`id`) USING BTREE,
  6068. INDEX `batch_id`(`batch_id`) USING BTREE,
  6069. INDEX `name`(`name`) USING BTREE
  6070. ) ENGINE = InnoDB AUTO_INCREMENT = 2250 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发票扩展字段数据表' ROW_FORMAT = Dynamic;
  6071. -- ----------------------------
  6072. -- Records of wk_crm_invoice_data
  6073. -- ----------------------------
  6074. -- ----------------------------
  6075. -- Table structure for wk_crm_invoice_info
  6076. -- ----------------------------
  6077. DROP TABLE IF EXISTS `wk_crm_invoice_info`;
  6078. CREATE TABLE `wk_crm_invoice_info` (
  6079. `info_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '发票信息id',
  6080. `customer_id` int(0) NOT NULL COMMENT '客户id',
  6081. `title_type` int(0) NULL DEFAULT NULL COMMENT '抬头类型 1单位 2个人',
  6082. `invoice_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开票抬头',
  6083. `tax_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纳税识别号',
  6084. `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户行',
  6085. `deposit_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户账户',
  6086. `deposit_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开票地址',
  6087. `telephone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  6088. `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  6089. `create_user_id` bigint(0) NOT NULL COMMENT '创建人id',
  6090. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6091. PRIMARY KEY (`info_id`) USING BTREE
  6092. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发票详情表' ROW_FORMAT = Dynamic;
  6093. -- ----------------------------
  6094. -- Records of wk_crm_invoice_info
  6095. -- ----------------------------
  6096. -- ----------------------------
  6097. -- Table structure for wk_crm_leads
  6098. -- ----------------------------
  6099. DROP TABLE IF EXISTS `wk_crm_leads`;
  6100. CREATE TABLE `wk_crm_leads` (
  6101. `leads_id` int(0) NOT NULL AUTO_INCREMENT,
  6102. `is_transform` int(0) NULL DEFAULT 0 COMMENT '1已转化 0 未转化',
  6103. `followup` int(0) NULL DEFAULT NULL COMMENT '跟进状态 0未跟进1已跟进',
  6104. `leads_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '线索名称',
  6105. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户id',
  6106. `next_time` datetime(0) NULL DEFAULT NULL COMMENT '下次联系时间',
  6107. `telephone` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话',
  6108. `mobile` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号',
  6109. `email` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  6110. `address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '地址',
  6111. `remark` varchar(800) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
  6112. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  6113. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  6114. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6115. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6116. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次 比如附件批次',
  6117. `is_receive` int(0) NULL DEFAULT NULL COMMENT '1 分配',
  6118. `last_time` datetime(0) NULL DEFAULT NULL COMMENT '最后跟进时间',
  6119. `last_content` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '最后一条跟进记录',
  6120. PRIMARY KEY (`leads_id`) USING BTREE,
  6121. INDEX `owner_user_id`(`owner_user_id`) USING BTREE
  6122. ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '线索表' ROW_FORMAT = Dynamic;
  6123. -- ----------------------------
  6124. -- Records of wk_crm_leads
  6125. -- ----------------------------
  6126. -- ----------------------------
  6127. -- Table structure for wk_crm_leads_data
  6128. -- ----------------------------
  6129. DROP TABLE IF EXISTS `wk_crm_leads_data`;
  6130. CREATE TABLE `wk_crm_leads_data` (
  6131. `id` int(0) NOT NULL AUTO_INCREMENT,
  6132. `field_id` int(0) NOT NULL,
  6133. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6134. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6135. `create_time` datetime(0) NOT NULL,
  6136. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6137. PRIMARY KEY (`id`) USING BTREE,
  6138. INDEX `batch_id`(`batch_id`) USING BTREE,
  6139. INDEX `name`(`name`) USING BTREE
  6140. ) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '线索自定义字段存值表' ROW_FORMAT = Dynamic;
  6141. -- ----------------------------
  6142. -- Records of wk_crm_leads_data
  6143. -- ----------------------------
  6144. -- ----------------------------
  6145. -- Table structure for wk_crm_leads_user_star
  6146. -- ----------------------------
  6147. DROP TABLE IF EXISTS `wk_crm_leads_user_star`;
  6148. CREATE TABLE `wk_crm_leads_user_star` (
  6149. `id` int(0) NOT NULL AUTO_INCREMENT,
  6150. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  6151. `leads_id` int(0) NOT NULL COMMENT '客户id',
  6152. PRIMARY KEY (`id`) USING BTREE,
  6153. UNIQUE INDEX `user_id`(`user_id`, `leads_id`) USING BTREE
  6154. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户线索标星关系表 ' ROW_FORMAT = Dynamic;
  6155. -- ----------------------------
  6156. -- Records of wk_crm_leads_user_star
  6157. -- ----------------------------
  6158. -- ----------------------------
  6159. -- Table structure for wk_crm_marketing
  6160. -- ----------------------------
  6161. DROP TABLE IF EXISTS `wk_crm_marketing`;
  6162. CREATE TABLE `wk_crm_marketing` (
  6163. `marketing_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '营销id',
  6164. `marketing_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '营销名称',
  6165. `crm_type` int(0) NOT NULL DEFAULT 1 COMMENT '1线索 2客户',
  6166. `end_time` datetime(0) NOT NULL COMMENT '截止时间',
  6167. `relation_user_id` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '关联人员ID',
  6168. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  6169. `status` int(0) NOT NULL DEFAULT 1 COMMENT '1启用 0禁用',
  6170. `second` int(0) NOT NULL DEFAULT 0 COMMENT '每个客户只能填写次数 0 1',
  6171. `field_data_id` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '营销内容填写字段',
  6172. `browse` int(0) NULL DEFAULT 0 COMMENT '浏览数',
  6173. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6174. `update_time` datetime(0) NOT NULL COMMENT '修改时间',
  6175. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  6176. `share_num` int(0) NULL DEFAULT 0 COMMENT '分享数',
  6177. `submit_num` int(0) NULL DEFAULT 0 COMMENT '提交数',
  6178. `synopsis` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '简介',
  6179. `main_file_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '首图id',
  6180. `detail_file_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  6181. `address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动地址',
  6182. `marketing_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动类型',
  6183. `marketing_money` decimal(11, 2) NULL DEFAULT NULL COMMENT '活动金额',
  6184. `relation_dept_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联部门id',
  6185. PRIMARY KEY (`marketing_id`) USING BTREE,
  6186. INDEX `status`(`status`) USING BTREE
  6187. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '营销表' ROW_FORMAT = Dynamic;
  6188. -- ----------------------------
  6189. -- Records of wk_crm_marketing
  6190. -- ----------------------------
  6191. -- ----------------------------
  6192. -- Table structure for wk_crm_marketing_field
  6193. -- ----------------------------
  6194. DROP TABLE IF EXISTS `wk_crm_marketing_field`;
  6195. CREATE TABLE `wk_crm_marketing_field` (
  6196. `field_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  6197. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '自定义字段英文标识',
  6198. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段名称',
  6199. `type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  6200. `remark` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段说明',
  6201. `input_tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输入提示',
  6202. `max_length` int(0) NULL DEFAULT NULL COMMENT '最大长度',
  6203. `default_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '默认值',
  6204. `is_unique` int(0) NULL DEFAULT 0 COMMENT '是否唯一 1 是 0 否',
  6205. `is_null` int(0) NULL DEFAULT 0 COMMENT '是否必填 1 是 0 否',
  6206. `sorting` int(0) NULL DEFAULT 1 COMMENT '排序 从小到大',
  6207. `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '如果类型是选项,此处不能为空,多个选项以,隔开',
  6208. `operating` int(0) NULL DEFAULT 0 COMMENT '是否可以删除修改 0 改删 1 改 2 删 3 无',
  6209. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  6210. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最后修改时间',
  6211. `form_id` int(0) NULL DEFAULT NULL COMMENT '表单Id',
  6212. `field_type` int(0) NOT NULL DEFAULT 0 COMMENT '字段来源 0.自定义 1.原始固定 2原始字段但值存在扩展表中',
  6213. PRIMARY KEY (`field_id`) USING BTREE
  6214. ) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '市场活动字段表' ROW_FORMAT = Dynamic;
  6215. -- ----------------------------
  6216. -- Records of wk_crm_marketing_field
  6217. -- ----------------------------
  6218. -- ----------------------------
  6219. -- Table structure for wk_crm_marketing_form
  6220. -- ----------------------------
  6221. DROP TABLE IF EXISTS `wk_crm_marketing_form`;
  6222. CREATE TABLE `wk_crm_marketing_form` (
  6223. `id` int(0) NOT NULL AUTO_INCREMENT,
  6224. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  6225. `remarks` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  6226. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6227. `status` int(0) NULL DEFAULT 1 COMMENT '1启用,0禁用',
  6228. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6229. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6230. `is_deleted` int(0) NULL DEFAULT 0 COMMENT '1已删除',
  6231. `delete_time` datetime(0) NULL DEFAULT NULL COMMENT '删除时间',
  6232. `delete_user_id` bigint(0) NULL DEFAULT NULL COMMENT '删除人ID',
  6233. `update_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6234. PRIMARY KEY (`id`) USING BTREE
  6235. ) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '市场活动表单信息' ROW_FORMAT = Dynamic;
  6236. -- ----------------------------
  6237. -- Records of wk_crm_marketing_form
  6238. -- ----------------------------
  6239. -- ----------------------------
  6240. -- Table structure for wk_crm_marketing_info
  6241. -- ----------------------------
  6242. DROP TABLE IF EXISTS `wk_crm_marketing_info`;
  6243. CREATE TABLE `wk_crm_marketing_info` (
  6244. `r_id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  6245. `marketing_id` int(0) NOT NULL COMMENT '关联ID',
  6246. `status` int(0) NOT NULL DEFAULT 0 COMMENT '0未同步 1同步成功 2同步失败',
  6247. `field_info` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '营销内容填写字段内容',
  6248. `device` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备号',
  6249. `owner_user_id` bigint(0) NOT NULL COMMENT '关联ID',
  6250. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6251. PRIMARY KEY (`r_id`) USING BTREE
  6252. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '营销数据表' ROW_FORMAT = Dynamic;
  6253. -- ----------------------------
  6254. -- Records of wk_crm_marketing_info
  6255. -- ----------------------------
  6256. -- ----------------------------
  6257. -- Table structure for wk_crm_number_setting
  6258. -- ----------------------------
  6259. DROP TABLE IF EXISTS `wk_crm_number_setting`;
  6260. CREATE TABLE `wk_crm_number_setting` (
  6261. `setting_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '设置id',
  6262. `pid` int(0) NOT NULL COMMENT '父级设置id',
  6263. `sort` int(0) NOT NULL COMMENT '编号顺序',
  6264. `type` int(0) NOT NULL COMMENT '编号类型 1文本 2日期 3数字',
  6265. `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文本内容或日期格式或起始编号',
  6266. `increase_number` int(0) NULL DEFAULT NULL COMMENT '递增数',
  6267. `reset_type` int(0) NULL DEFAULT NULL COMMENT '重新编号周期 1每天 2每月 3每年 4从不',
  6268. `last_number` int(0) NULL DEFAULT NULL COMMENT '上次生成的编号',
  6269. `last_date` date NULL DEFAULT NULL COMMENT '上次生成的时间',
  6270. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6271. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  6272. PRIMARY KEY (`setting_id`) USING BTREE
  6273. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统自动生成编号设置表' ROW_FORMAT = Dynamic;
  6274. -- ----------------------------
  6275. -- Records of wk_crm_number_setting
  6276. -- ----------------------------
  6277. -- ----------------------------
  6278. -- Table structure for wk_crm_owner_record
  6279. -- ----------------------------
  6280. DROP TABLE IF EXISTS `wk_crm_owner_record`;
  6281. CREATE TABLE `wk_crm_owner_record` (
  6282. `record_id` int(0) NOT NULL AUTO_INCREMENT,
  6283. `type_id` int(0) NOT NULL COMMENT '对象id',
  6284. `type` int(0) NOT NULL COMMENT '对象类型',
  6285. `pre_owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '上一负责人',
  6286. `post_owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '接手负责人',
  6287. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6288. PRIMARY KEY (`record_id`) USING BTREE
  6289. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '负责人变更记录表' ROW_FORMAT = Dynamic;
  6290. -- ----------------------------
  6291. -- Records of wk_crm_owner_record
  6292. -- ----------------------------
  6293. -- ----------------------------
  6294. -- Table structure for wk_crm_print_record
  6295. -- ----------------------------
  6296. DROP TABLE IF EXISTS `wk_crm_print_record`;
  6297. CREATE TABLE `wk_crm_print_record` (
  6298. `record_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '记录id',
  6299. `crm_type` int(0) NOT NULL,
  6300. `type_id` int(0) NOT NULL,
  6301. `template_id` int(0) NOT NULL COMMENT '模板id',
  6302. `record_content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '打印记录',
  6303. `create_user_id` bigint(0) NOT NULL COMMENT '创建人id',
  6304. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6305. PRIMARY KEY (`record_id`) USING BTREE
  6306. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '打印记录表' ROW_FORMAT = Dynamic;
  6307. -- ----------------------------
  6308. -- Records of wk_crm_print_record
  6309. -- ----------------------------
  6310. -- ----------------------------
  6311. -- Table structure for wk_crm_print_template
  6312. -- ----------------------------
  6313. DROP TABLE IF EXISTS `wk_crm_print_template`;
  6314. CREATE TABLE `wk_crm_print_template` (
  6315. `template_id` int(0) NOT NULL AUTO_INCREMENT,
  6316. `template_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模板名称',
  6317. `type` int(0) NOT NULL COMMENT '关联对象',
  6318. `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模板',
  6319. `create_user_id` bigint(0) NOT NULL COMMENT '创建人id',
  6320. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6321. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6322. PRIMARY KEY (`template_id`) USING BTREE
  6323. ) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '打印模板表' ROW_FORMAT = Dynamic;
  6324. -- ----------------------------
  6325. -- Records of wk_crm_print_template
  6326. -- ----------------------------
  6327. INSERT INTO `wk_crm_print_template` VALUES (20, '合同条款打印模板', 6, '<p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">***有限公司</span></p><p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">销售合同</span></p><p style=\"text-align: right;\"><span style=\"font-size: 14px; font-family: simsun, serif; color: #525151;\">合同编号:<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.num\">{合同编号}</span></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">甲方:<span class=\"wk-print-tag-wukong wk-tiny-color--customer\" contenteditable=\"true\" data-wk-tag=\"customer.customer_name\">{客户名称}</span><u></u></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">乙方:郑州卡卡罗特软件科技有限公司</span></p><p style=\"line-height: 1.75;\">&nbsp;</p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">甲乙双方本着相互信任,真诚合作的原则,经双方友好协商,就乙方为甲方提供特定服务达成一致意见,特签订本合同。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\"><strong>一、服务内容</strong></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">1、乙方同意向甲方提供的特定服务。服务的内容的标准见附件A。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">2、如果乙方在工作中因自身过错而发生任何错误或遗漏,乙方应无条件更正,而不另外收费,并对因此而对甲方造成的损失承担赔偿责任,赔偿以附件A所载明的该项服务内容对应之服务费为限。若因甲方原因造成工作的延误,将由甲方承担相应的损失。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">3、乙方的服务承诺:</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">&nbsp; &nbsp; 1)乙方接到甲方通过电话、信函传真、电子邮件、网上提交等方式提出关于附件A所列服务的请求后,在两个有效工作日内给予响应并提供服务。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">&nbsp; &nbsp; 2)乙方提供给甲方的服务,必须按照合同附件A规定的标准进行。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">4、产品明细:</span></p><table style=\"border-collapse: collapse; width: 100%; float: right;\" border=\"1\" data-wk-table-tag=\"table\"><tbody><tr data-wk-table-tr-tag=\"header\"><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">产品名称</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">产品类别</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">单位</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">价格</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">售价</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">数量</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">折扣</span></strong></td><td style=\"background-color: #ffffff;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">合计</span></strong></td></tr><tr data-wk-table-tr-tag=\"value\"><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品名称}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.category_name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品类别}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.单位\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{单位}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{价格}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{售价}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_num\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{数量}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.discount\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{折扣}</span></span></td><td data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.subtotal\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合计}</span></span></td></tr></tbody></table><p style=\"line-height: 1.75;\"><span style=\"font-family: simsun, serif;\"><span style=\"font-size: 14px;\">整单折扣:<span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-tag=\"contract.discount_rate\">{整单折扣}</span></span><span style=\"font-size: 14px;\">&nbsp; &nbsp;产品总金额(元):<span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-tag=\"contract.total_price\">{产品总金额}</span></span></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\"><strong>二、服务费的支付</strong></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">1、服务费总金额为<u>&nbsp; &nbsp;&nbsp;<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.money\">{合同金额}</span>&nbsp; &nbsp;</u>元人民币(人民币大写:<u>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</u>元整)。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">2、本费用结构仅限於附件A中列明的工作。如果甲方要求扩大项目范围,或因甲方改变已经议定的项目内容导致乙方需重复进行项目步骤,乙方将需要重新评估上述费用结构。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">3、甲乙双方一致同意项目服务费按一次性以人民币形式支付。服务完成后,甲方将在验收确认服务完成合格,并且乙方发出该阶段工作的费用账单及正式有效的税务发票后3个工作日内,向乙方支付约定的费用。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">4、有关发票方面的任何问题,甲方应在收到发票后及时书面通知乙方,便乙方及时作出解释或解决问题,以使甲方能按时付款。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">5、乙方将自行承担项目实施范围内合理的差旅费用。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">6、乙方同意免除项目杂费。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">7、本协议有效期为:&nbsp; <u>&nbsp; &nbsp;<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.start_time\">{合同开始时间}</span></u><u>&nbsp; &nbsp; </u>&nbsp; 起&nbsp; <u>&nbsp; &nbsp;&nbsp;<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.end_time\">{合同结束时间}</span></u><u>&nbsp; &nbsp; </u>&nbsp;止</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\"><strong>三、服务的变更</strong></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">甲方可以提前个工作日以书面形式要求变更或增加所提供的服务。该等变更最终应由双方互相商定认可,其中包括与该等变更有关的任何费用调整。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\"><strong>四、争议处理</strong></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">甲乙双方如对协议条款规定的理解有异议,或者对与协议有关的事项发生争议,双方应本着友好合作的精神进行协商。协商不能解决的,任何一方可向仲裁委员会提起仲裁。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\"><strong>五、其他</strong></span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">1、本合同中所用的标题仅为方便而设,而不影响对本合同的解释。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">2、附件A是本合同不可分割的组成部分,与本合同具有同等法律效力。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">3、本合同未尽事宜,由甲乙双方协商后产生书面文件,作为本合同的补充条款,具备与本合同同等法律效力。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">4、对本合同内容的任何修改和变更需要,用书面形式,并经双方确认后生效。</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">(以下无正文)</span></p><p style=\"line-height: 1.75;\">&nbsp;</p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">甲方(签章)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;乙方(签章)</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">代表签字:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;代表签字:</span></p><p style=\"line-height: 1.75;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">日期:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;日期:</span></p>', 0, '2020-08-22 11:40:42', NULL);
  6328. INSERT INTO `wk_crm_print_template` VALUES (21, '合同订单打印模板', 6, '<p style=\"text-align: center; line-height: 2;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">合同订单</span></p><p style=\"line-height: 2; text-align: right;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">合同编号:<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.num\">{合同编号}</span></span></p><table style=\"border-collapse: collapse; width: 102.185%; height: 147px;\" border=\"1\"><tbody><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">合同名称:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合同名称}</span></span><span style=\"font-size: 14px; font-family: simsun, serif;\">&nbsp;</span></td><td style=\"width: 52.3571%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">客户名称:</span><span class=\"wk-print-tag-wukong wk-tiny-color--customer\" contenteditable=\"true\" data-wk-tag=\"customer.customer_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{客户名称}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">合同总金额:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.money\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合同金额}</span></span></td><td style=\"width: 52.3571%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">负责人:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.owner_user_name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{负责人}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">相关商机:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.business_name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{商机名称}</span></span><span style=\"font-size: 14px; font-family: simsun, serif;\">&nbsp;</span></td><td style=\"width: 52.3571%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">签订时间:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.order_date\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{下单时间}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">开始时间:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.start_time\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合同开始时间}</span></span></td><td style=\"width: 52.3571%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">结束时间:</span><span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"true\" data-wk-tag=\"contract.end_time\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{合同结束时间}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">备注:<span class=\"wk-print-tag-wukong wk-tiny-color--contract\" contenteditable=\"false\" data-wk-tag=\"contract.remark\">{备注}</span></span></td><td style=\"width: 52.3571%; height: 21px;\">&nbsp;</td></tr></tbody></table><p style=\"line-height: 2;\">&nbsp;</p><p style=\"line-height: 2;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">产品明细:</span></p><table style=\"border-collapse: collapse; width: 102.185%; height: 60px; line-height: 2;\" border=\"1\" data-wk-table-tag=\"table\"><tbody><tr data-wk-table-tr-tag=\"header\"><td style=\"width: 16.2207%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">产品名称</span></strong></td><td style=\"width: 16.2207%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">产品类别</span></strong></td><td style=\"width: 9.53177%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">单位</span></strong></td><td style=\"width: 13.8796%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">标准价格</span></strong></td><td style=\"width: 13.8796%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">销售单价</span></strong></td><td style=\"width: 9.699%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">数量</span></strong></td><td style=\"width: 9.699%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">折扣</span></strong></td><td style=\"width: 9.69447%;\" data-wk-table-td-tag=\"name\"><strong><span style=\"font-size: 14px; font-family: simsun, serif;\">合计</span></strong></td></tr><tr data-wk-table-tr-tag=\"value\"><td style=\"width: 16.2207%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品名称}</span></span></td><td style=\"width: 16.2207%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.category_name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品类别}</span></span></td><td style=\"width: 9.53177%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.单位\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{单位}</span></span></td><td style=\"width: 13.8796%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{价格}</span></span></td><td style=\"width: 13.8796%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{售价}</span></span></td><td style=\"width: 9.699%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_num\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{数量}</span></span></td><td style=\"width: 9.699%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.discount\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{折扣}</span></span></td><td style=\"width: 9.69447%;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.subtotal\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合计}</span></span></td></tr></tbody></table><p style=\"text-align: right; line-height: 2;\"><span style=\"font-family: simsun, serif;\">产品总金额:</span><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-tag=\"contract.total_price\"><span style=\"font-family: simsun, serif;\">{产品总金额}</span></span></p><p>&nbsp;</p><p>&nbsp;</p>', 0, '2020-08-22 11:40:42', NULL);
  6329. INSERT INTO `wk_crm_print_template` VALUES (22, '商机打印模板', 5, '<p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">***有限公司</span></p><p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">商机</span></p><table style=\"border-collapse: collapse; width: 100.337%; height: 138px;\" border=\"1\"><tbody><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">商机名称:</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.business_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{商机名称}</span></span></td><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">客户名称:</span><span class=\"wk-print-tag-wukong wk-tiny-color--customer\" contenteditable=\"true\" data-wk-tag=\"customer.customer_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{客户名称}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">商机状态组:</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.type_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{商机状态组}</span></span></td><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">商机阶段:</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.status_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{商机阶段}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">预计成交时间:</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.deal_date\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{预计成交日期}</span></span></td><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">商机金额(元):</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.money\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{商机金额}</span></span></td></tr><tr style=\"height: 21px;\"><td style=\"width: 50%; height: 21px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">负责人:</span><span class=\"wk-print-tag-wukong wk-tiny-color--business\" contenteditable=\"true\" data-wk-tag=\"business.owner_user_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{负责人}</span></span></td><td style=\"width: 50%; height: 21px;\">&nbsp;</td></tr></tbody></table><p style=\"text-align: left; line-height: 2;\">&nbsp;</p><p style=\"text-align: left; line-height: 2;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">产品明细:</span></p><table style=\"border-collapse: collapse; width: 100%; height: 65px; line-height: 2;\" border=\"1\" data-wk-table-tag=\"table\"><tbody><tr style=\"height: 31px;\" data-wk-table-tr-tag=\"header\"><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">产品名称</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">产品类型</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">单位</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">价格</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">售价</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">数量</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">折扣</span></strong></span></td><td style=\"height: 31px;\" data-wk-table-td-tag=\"name\"><span style=\"font-size: 14px;\"><strong><span style=\"font-family: simsun, serif;\">合计</span></strong></span></td></tr><tr style=\"height: 38px;\" data-wk-table-tr-tag=\"value\"><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.name\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品名称}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.category_id\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品类型}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.单位\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{单位}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{价格}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{售价}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.sales_num\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{数量}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.discount\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{折扣}</span></span></td><td style=\"height: 34px;\" data-wk-table-td-tag=\"value\"><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-table-value-tag=\"product.subtotal\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{合计}</span></span></td></tr></tbody></table><p style=\"text-align: left; line-height: 2;\"><span style=\"font-size: 14px; font-family: simsun, serif;\">整单折扣:</span><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-tag=\"business.discount_rate\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{整单折扣}</span></span><span style=\"font-size: 14px; font-family: simsun, serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;产品总金额(元):</span><span class=\"wk-print-tag-wukong wk-tiny-color--product\" contenteditable=\"true\" data-wk-tag=\"business.total_price\"><span style=\"font-size: 14px; font-family: simsun, serif;\">{产品总金额}</span></span></p>', 0, '2020-08-22 11:40:42', NULL);
  6330. INSERT INTO `wk_crm_print_template` VALUES (23, '回款打印模板', 7, '<p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">***有限公司</span></p><p style=\"text-align: center; line-height: 1; margin-bottom: 15px;\"><span style=\"font-size: 36px; font-family: simsun, serif;\">回款单</span></p><table style=\"border-collapse: collapse; width: 100.842%; height: 146px;\" border=\"1\"><tbody><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">客户名称:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.customer_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{客户名称}</span></span></td><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">回款编号:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.number\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{回款编号}</span></span></td></tr><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">回款日期:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.return_time\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{回款日期}</span></span></td><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">回款方式:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.return_type\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{回款方式}</span></span></td></tr><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">回款期数:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.plan_num\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{期数}</span></span></td><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">回款金额(元):</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.money\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{回款金额}</span></span></td></tr><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\"><span style=\"font-family: simsun, serif; font-size: 14px;\">负责人:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.owner_user_name\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{负责人}</span></span></td><td style=\"width: 50%; height: 18px;\">&nbsp;</td></tr><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\" colspan=\"2\"><span style=\"font-family: simsun, serif; font-size: 14px;\">备注:</span><span class=\"wk-print-tag-wukong wk-tiny-color--receivables\" contenteditable=\"true\" data-wk-tag=\"receivables.remark\"><span style=\"font-family: simsun, serif; font-size: 14px;\">{备注}</span></span></td></tr></tbody></table>', 0, '2020-08-22 11:40:42', NULL);
  6331. -- ----------------------------
  6332. -- Table structure for wk_crm_product
  6333. -- ----------------------------
  6334. DROP TABLE IF EXISTS `wk_crm_product`;
  6335. CREATE TABLE `wk_crm_product` (
  6336. `product_id` int(0) NOT NULL AUTO_INCREMENT,
  6337. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '产品名称',
  6338. `num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '产品编码',
  6339. `unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位',
  6340. `price` decimal(18, 2) NULL DEFAULT 0.00 COMMENT '价格',
  6341. `status` int(0) NULL DEFAULT NULL COMMENT '状态 1 上架 0 下架 3 删除',
  6342. `category_id` int(0) NULL DEFAULT NULL COMMENT '产品分类ID',
  6343. `description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '产品描述',
  6344. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  6345. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  6346. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6347. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6348. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次',
  6349. `old_product_id` int(0) NULL DEFAULT NULL,
  6350. PRIMARY KEY (`product_id`) USING BTREE
  6351. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品表' ROW_FORMAT = Dynamic;
  6352. -- ----------------------------
  6353. -- Records of wk_crm_product
  6354. -- ----------------------------
  6355. -- ----------------------------
  6356. -- Table structure for wk_crm_product_category
  6357. -- ----------------------------
  6358. DROP TABLE IF EXISTS `wk_crm_product_category`;
  6359. CREATE TABLE `wk_crm_product_category` (
  6360. `category_id` int(0) NOT NULL AUTO_INCREMENT,
  6361. `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  6362. `pid` int(0) NULL DEFAULT 0,
  6363. PRIMARY KEY (`category_id`) USING BTREE
  6364. ) ENGINE = InnoDB AUTO_INCREMENT = 14768 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品分类表' ROW_FORMAT = Dynamic;
  6365. -- ----------------------------
  6366. -- Records of wk_crm_product_category
  6367. -- ----------------------------
  6368. INSERT INTO `wk_crm_product_category` VALUES (14767, '默认', 0);
  6369. -- ----------------------------
  6370. -- Table structure for wk_crm_product_data
  6371. -- ----------------------------
  6372. DROP TABLE IF EXISTS `wk_crm_product_data`;
  6373. CREATE TABLE `wk_crm_product_data` (
  6374. `id` int(0) NOT NULL AUTO_INCREMENT,
  6375. `field_id` int(0) NOT NULL,
  6376. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6377. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6378. `create_time` datetime(0) NOT NULL,
  6379. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6380. PRIMARY KEY (`id`) USING BTREE,
  6381. INDEX `batch_id`(`batch_id`) USING BTREE,
  6382. INDEX `name`(`name`) USING BTREE
  6383. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '产品自定义字段存值表' ROW_FORMAT = Dynamic;
  6384. -- ----------------------------
  6385. -- Records of wk_crm_product_data
  6386. -- ----------------------------
  6387. -- ----------------------------
  6388. -- Table structure for wk_crm_product_detail_img
  6389. -- ----------------------------
  6390. DROP TABLE IF EXISTS `wk_crm_product_detail_img`;
  6391. CREATE TABLE `wk_crm_product_detail_img` (
  6392. `img_id` int(0) NOT NULL AUTO_INCREMENT,
  6393. `product_id` int(0) NULL DEFAULT NULL COMMENT '产品id',
  6394. `remarks` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6395. `main_file_ids` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主图',
  6396. `detail_file_ids` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  6397. PRIMARY KEY (`img_id`) USING BTREE
  6398. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '产品详情图片' ROW_FORMAT = Dynamic;
  6399. -- ----------------------------
  6400. -- Records of wk_crm_product_detail_img
  6401. -- ----------------------------
  6402. -- ----------------------------
  6403. -- Table structure for wk_crm_product_user
  6404. -- ----------------------------
  6405. DROP TABLE IF EXISTS `wk_crm_product_user`;
  6406. CREATE TABLE `wk_crm_product_user` (
  6407. `product_user_id` bigint(0) NOT NULL AUTO_INCREMENT,
  6408. `product_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6409. `user_id` bigint(0) NOT NULL,
  6410. PRIMARY KEY (`product_user_id`) USING BTREE
  6411. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '产品员工小程序显示关联表' ROW_FORMAT = Dynamic;
  6412. -- ----------------------------
  6413. -- Records of wk_crm_product_user
  6414. -- ----------------------------
  6415. -- ----------------------------
  6416. -- Table structure for wk_crm_receivables
  6417. -- ----------------------------
  6418. DROP TABLE IF EXISTS `wk_crm_receivables`;
  6419. CREATE TABLE `wk_crm_receivables` (
  6420. `receivables_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '回款ID',
  6421. `number` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回款编号',
  6422. `receivables_plan_id` int(0) NULL DEFAULT NULL COMMENT '回款计划ID',
  6423. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户ID',
  6424. `contract_id` int(0) NULL DEFAULT NULL COMMENT '合同ID',
  6425. `check_status` int(0) NULL DEFAULT NULL COMMENT '0待审核、1通过、2拒绝、3审核中 4:撤回 5 未提交',
  6426. `examine_record_id` int(0) NULL DEFAULT NULL COMMENT '审核记录ID',
  6427. `return_time` date NULL DEFAULT NULL COMMENT '回款日期',
  6428. `return_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回款方式',
  6429. `money` decimal(17, 2) NULL DEFAULT NULL COMMENT '回款金额',
  6430. `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  6431. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  6432. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  6433. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6434. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6435. `remarks` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  6436. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次',
  6437. PRIMARY KEY (`receivables_id`) USING BTREE
  6438. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '回款表' ROW_FORMAT = Dynamic;
  6439. -- ----------------------------
  6440. -- Records of wk_crm_receivables
  6441. -- ----------------------------
  6442. -- ----------------------------
  6443. -- Table structure for wk_crm_receivables_data
  6444. -- ----------------------------
  6445. DROP TABLE IF EXISTS `wk_crm_receivables_data`;
  6446. CREATE TABLE `wk_crm_receivables_data` (
  6447. `id` int(0) NOT NULL AUTO_INCREMENT,
  6448. `field_id` int(0) NOT NULL,
  6449. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6450. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6451. `create_time` datetime(0) NOT NULL,
  6452. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6453. PRIMARY KEY (`id`) USING BTREE,
  6454. INDEX `batch_id`(`batch_id`) USING BTREE,
  6455. INDEX `name`(`name`) USING BTREE
  6456. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '回款自定义字段存值表' ROW_FORMAT = Dynamic;
  6457. -- ----------------------------
  6458. -- Records of wk_crm_receivables_data
  6459. -- ----------------------------
  6460. -- ----------------------------
  6461. -- Table structure for wk_crm_receivables_plan
  6462. -- ----------------------------
  6463. DROP TABLE IF EXISTS `wk_crm_receivables_plan`;
  6464. CREATE TABLE `wk_crm_receivables_plan` (
  6465. `receivables_plan_id` int(0) NOT NULL AUTO_INCREMENT,
  6466. `num` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '期数',
  6467. `receivables_id` int(0) NULL DEFAULT NULL COMMENT '回款ID',
  6468. `status` int(0) NULL DEFAULT NULL COMMENT '1完成 0 未完成',
  6469. `money` decimal(18, 2) NULL DEFAULT NULL COMMENT '计划回款金额',
  6470. `return_date` datetime(0) NULL DEFAULT NULL COMMENT '计划回款日期',
  6471. `return_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计划回款方式',
  6472. `remind` int(0) NULL DEFAULT NULL COMMENT '提前几天提醒',
  6473. `remind_date` datetime(0) NULL DEFAULT NULL COMMENT '提醒日期',
  6474. `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  6475. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  6476. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  6477. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6478. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6479. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '附件批次ID',
  6480. `real_received_money` decimal(18, 2) NULL DEFAULT NULL COMMENT '实际回款金额',
  6481. `real_return_date` datetime(0) NULL DEFAULT NULL COMMENT '实际回款日期',
  6482. `unreceived_money` decimal(18, 2) NULL DEFAULT NULL COMMENT '未回款金额',
  6483. `received_status` int(0) NULL DEFAULT 0 COMMENT '回款状态 0 待回款 1 回款完成 2 部分回款 3 作废 4 逾期 5 待生效',
  6484. `contract_id` int(0) NOT NULL COMMENT '合同ID',
  6485. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户ID',
  6486. PRIMARY KEY (`receivables_plan_id`) USING BTREE
  6487. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '回款计划表' ROW_FORMAT = Dynamic;
  6488. -- ----------------------------
  6489. -- Records of wk_crm_receivables_plan
  6490. -- ----------------------------
  6491. -- ----------------------------
  6492. -- Table structure for wk_crm_receivables_plan_data
  6493. -- ----------------------------
  6494. DROP TABLE IF EXISTS `wk_crm_receivables_plan_data`;
  6495. CREATE TABLE `wk_crm_receivables_plan_data` (
  6496. `id` int(0) NOT NULL AUTO_INCREMENT,
  6497. `field_id` int(0) NOT NULL,
  6498. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6499. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6500. `create_time` datetime(0) NOT NULL,
  6501. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6502. PRIMARY KEY (`id`) USING BTREE,
  6503. INDEX `batch_id`(`batch_id`) USING BTREE,
  6504. INDEX `name`(`name`) USING BTREE
  6505. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '回款计划自定义字段存值表' ROW_FORMAT = Dynamic;
  6506. -- ----------------------------
  6507. -- Records of wk_crm_receivables_plan_data
  6508. -- ----------------------------
  6509. -- ----------------------------
  6510. -- Table structure for wk_crm_return_visit
  6511. -- ----------------------------
  6512. DROP TABLE IF EXISTS `wk_crm_return_visit`;
  6513. CREATE TABLE `wk_crm_return_visit` (
  6514. `visit_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '回访id',
  6515. `visit_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '回访编号',
  6516. `visit_time` datetime(0) NULL DEFAULT NULL COMMENT '回访时间',
  6517. `owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '回访人id',
  6518. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户id',
  6519. `contract_id` int(0) NULL DEFAULT NULL COMMENT '合同id',
  6520. `contacts_id` int(0) NULL DEFAULT NULL COMMENT '联系人id',
  6521. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  6522. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6523. `update_time` datetime(0) NOT NULL COMMENT '更新时间',
  6524. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '批次id',
  6525. PRIMARY KEY (`visit_id`) USING BTREE
  6526. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '回访表\r\n' ROW_FORMAT = Dynamic;
  6527. -- ----------------------------
  6528. -- Records of wk_crm_return_visit
  6529. -- ----------------------------
  6530. -- ----------------------------
  6531. -- Table structure for wk_crm_return_visit_data
  6532. -- ----------------------------
  6533. DROP TABLE IF EXISTS `wk_crm_return_visit_data`;
  6534. CREATE TABLE `wk_crm_return_visit_data` (
  6535. `id` int(0) NOT NULL AUTO_INCREMENT,
  6536. `field_id` int(0) NOT NULL,
  6537. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  6538. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  6539. `create_time` datetime(0) NOT NULL,
  6540. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  6541. PRIMARY KEY (`id`) USING BTREE
  6542. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '回访扩展数据表' ROW_FORMAT = Dynamic;
  6543. -- ----------------------------
  6544. -- Records of wk_crm_return_visit_data
  6545. -- ----------------------------
  6546. -- ----------------------------
  6547. -- Table structure for wk_crm_role_field
  6548. -- ----------------------------
  6549. DROP TABLE IF EXISTS `wk_crm_role_field`;
  6550. CREATE TABLE `wk_crm_role_field` (
  6551. `id` int(0) NOT NULL AUTO_INCREMENT,
  6552. `role_id` int(0) NOT NULL COMMENT '角色id',
  6553. `label` int(0) NOT NULL COMMENT 'crm模块',
  6554. `field_id` int(0) NULL DEFAULT NULL COMMENT '字段id',
  6555. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段标识',
  6556. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段名称',
  6557. `auth_level` int(0) NOT NULL COMMENT '权限 1不可编辑不可查看 2可查看不可编辑 3可编辑可查看',
  6558. `operate_type` int(0) NOT NULL COMMENT '操作权限 1都可以设置 2只有查看权限可设置 3只有编辑权限可设置 4都不能设置',
  6559. `mask_type` int(0) NULL DEFAULT 0 COMMENT '掩码类型 0 都不隐藏 1 列表隐藏详情不隐藏 2 都隐藏',
  6560. `field_type` int(0) NULL DEFAULT NULL COMMENT ' 0自定义字段 1原始字段 2原始字段但值在data表 3关联表的字段 4系统字段',
  6561. PRIMARY KEY (`id`) USING BTREE
  6562. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色字段授权表' ROW_FORMAT = Dynamic;
  6563. -- ----------------------------
  6564. -- Records of wk_crm_role_field
  6565. -- ----------------------------
  6566. -- ----------------------------
  6567. -- Table structure for wk_crm_scene
  6568. -- ----------------------------
  6569. DROP TABLE IF EXISTS `wk_crm_scene`;
  6570. CREATE TABLE `wk_crm_scene` (
  6571. `scene_id` int(0) NOT NULL AUTO_INCREMENT,
  6572. `type` int(0) NOT NULL COMMENT '分类',
  6573. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '场景名称',
  6574. `user_id` bigint(0) NOT NULL COMMENT '用户ID',
  6575. `sort` int(0) NOT NULL COMMENT '排序ID',
  6576. `data` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '属性值',
  6577. `is_hide` int(0) NOT NULL COMMENT '1隐藏',
  6578. `is_system` int(0) NOT NULL COMMENT '1系统0自定义',
  6579. `bydata` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '系统参数',
  6580. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6581. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6582. PRIMARY KEY (`scene_id`) USING BTREE
  6583. ) ENGINE = InnoDB AUTO_INCREMENT = 621 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '场景' ROW_FORMAT = Dynamic;
  6584. -- ----------------------------
  6585. -- Records of wk_crm_scene
  6586. -- ----------------------------
  6587. -- ----------------------------
  6588. -- Table structure for wk_crm_scene_default
  6589. -- ----------------------------
  6590. DROP TABLE IF EXISTS `wk_crm_scene_default`;
  6591. CREATE TABLE `wk_crm_scene_default` (
  6592. `default_id` int(0) NOT NULL AUTO_INCREMENT,
  6593. `type` int(0) NOT NULL COMMENT '类型',
  6594. `user_id` bigint(0) NOT NULL COMMENT '人员ID',
  6595. `scene_id` int(0) NOT NULL COMMENT '场景ID',
  6596. PRIMARY KEY (`default_id`) USING BTREE,
  6597. UNIQUE INDEX `default_id`(`default_id`) USING BTREE
  6598. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '场景默认关系表' ROW_FORMAT = Dynamic;
  6599. -- ----------------------------
  6600. -- Records of wk_crm_scene_default
  6601. -- ----------------------------
  6602. -- ----------------------------
  6603. -- Table structure for wk_crm_team_members
  6604. -- ----------------------------
  6605. DROP TABLE IF EXISTS `wk_crm_team_members`;
  6606. CREATE TABLE `wk_crm_team_members` (
  6607. `id` int(0) NOT NULL AUTO_INCREMENT,
  6608. `type` int(0) NOT NULL COMMENT '类型,同crm类型',
  6609. `type_id` int(0) NOT NULL COMMENT '对应类型主键ID',
  6610. `user_id` bigint(0) NOT NULL COMMENT '用户ID',
  6611. `power` int(0) NULL DEFAULT NULL COMMENT '1 只读 2 读写 3 负责人',
  6612. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6613. `expires_time` datetime(0) NULL DEFAULT NULL COMMENT '过期时间',
  6614. PRIMARY KEY (`id`) USING BTREE,
  6615. INDEX `type`(`type`, `type_id`) USING BTREE,
  6616. INDEX `user_id`(`user_id`) USING BTREE
  6617. ) ENGINE = InnoDB AUTO_INCREMENT = 348 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = 'crm团队成员表' ROW_FORMAT = Dynamic;
  6618. -- ----------------------------
  6619. -- Records of wk_crm_team_members
  6620. -- ----------------------------
  6621. -- ----------------------------
  6622. -- Table structure for wk_email_account
  6623. -- ----------------------------
  6624. DROP TABLE IF EXISTS `wk_email_account`;
  6625. CREATE TABLE `wk_email_account` (
  6626. `id` int(0) NOT NULL AUTO_INCREMENT,
  6627. `email_account` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱账号',
  6628. `email_password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱密码',
  6629. `send_nick` varchar(225) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '发送昵称',
  6630. `configuration_mode` int(0) NULL DEFAULT 1 COMMENT '配置邮箱方式 1:自动配置 2:手动配置',
  6631. `service_type` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '收信服务类型 :POP3、IMAP',
  6632. `receiving_server` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '收信服务器地址',
  6633. `is_receiving` int(0) NULL DEFAULT 1 COMMENT '收信服务器是否启用ssl 代理 0:未启用 1:已启用',
  6634. `receiving_ssl` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '收信服务器 SSL 端口',
  6635. `smtp_server` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'SMTP服务器',
  6636. `is_smtp` int(0) NULL DEFAULT 1 COMMENT 'smtp服务器是否启用ssl 代理 0:未启用 1:已启用',
  6637. `smtp_ssl` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'smtp端口号',
  6638. `signature` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '个性签名',
  6639. `email_count` int(0) NULL DEFAULT NULL COMMENT '邮件总数量',
  6640. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6641. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  6642. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6643. PRIMARY KEY (`id`) USING BTREE
  6644. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '邮箱账号' ROW_FORMAT = Dynamic;
  6645. -- ----------------------------
  6646. -- Records of wk_email_account
  6647. -- ----------------------------
  6648. -- ----------------------------
  6649. -- Table structure for wk_email_file
  6650. -- ----------------------------
  6651. DROP TABLE IF EXISTS `wk_email_file`;
  6652. CREATE TABLE `wk_email_file` (
  6653. `id` int(0) NOT NULL AUTO_INCREMENT,
  6654. `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  6655. `file_size` bigint(0) NULL DEFAULT NULL COMMENT '文件大小',
  6656. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6657. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  6658. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '文件批次ID',
  6659. PRIMARY KEY (`id`) USING BTREE,
  6660. INDEX `batch_id`(`batch_id`) USING BTREE
  6661. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '邮箱附件名称表' ROW_FORMAT = Dynamic;
  6662. -- ----------------------------
  6663. -- Records of wk_email_file
  6664. -- ----------------------------
  6665. -- ----------------------------
  6666. -- Table structure for wk_email_lately
  6667. -- ----------------------------
  6668. DROP TABLE IF EXISTS `wk_email_lately`;
  6669. CREATE TABLE `wk_email_lately` (
  6670. `id` int(0) NOT NULL AUTO_INCREMENT,
  6671. `customer_id` int(0) NULL DEFAULT NULL COMMENT '客户id 为空时表示不是列表客户 不为空时表示客户',
  6672. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  6673. `email` varchar(225) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  6674. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6675. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  6676. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  6677. PRIMARY KEY (`id`) USING BTREE
  6678. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '邮箱最近联系人' ROW_FORMAT = Dynamic;
  6679. -- ----------------------------
  6680. -- Records of wk_email_lately
  6681. -- ----------------------------
  6682. -- ----------------------------
  6683. -- Table structure for wk_email_record
  6684. -- ----------------------------
  6685. DROP TABLE IF EXISTS `wk_email_record`;
  6686. CREATE TABLE `wk_email_record` (
  6687. `id` int(0) NOT NULL AUTO_INCREMENT,
  6688. `email_account_id` int(0) NULL DEFAULT NULL COMMENT '发送账号id',
  6689. `sender` varchar(225) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '发送人昵称',
  6690. `sender_email` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '发送人邮箱',
  6691. `receipt_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
  6692. `receipt_emails` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '收件人邮箱集合 逗号分隔',
  6693. `cc_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
  6694. `cc_emails` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '抄送邮箱 逗号隔开',
  6695. `theme` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '主题',
  6696. `attachment` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '附件',
  6697. `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '内容',
  6698. `email_type` int(0) NULL DEFAULT NULL COMMENT '邮箱类型 1:收件箱 2:发件箱 3:草稿箱 4:删除箱 5:垃圾箱',
  6699. `is_read` int(0) NULL DEFAULT 0 COMMENT '是否已读取 0:未读 1:已读',
  6700. `is_start` int(0) NULL DEFAULT 0 COMMENT '是否标星 0:未标星 1:已标星',
  6701. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6702. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6703. `record_type` int(0) NULL DEFAULT NULL COMMENT '记录类型 1:发送 2:保存草稿 3:删除邮件 4:星标邮件 5:垃圾邮件 ',
  6704. `message_id` int(0) NULL DEFAULT NULL COMMENT '邮件id',
  6705. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  6706. `is_del` int(0) NULL DEFAULT 0 COMMENT '0:未删除 1:已删除',
  6707. `email_uid` bigint(0) NULL DEFAULT NULL COMMENT '邮件uid',
  6708. PRIMARY KEY (`id`) USING BTREE
  6709. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '邮件记录' ROW_FORMAT = Dynamic;
  6710. -- ----------------------------
  6711. -- Records of wk_email_record
  6712. -- ----------------------------
  6713. -- ----------------------------
  6714. -- Table structure for wk_examine
  6715. -- ----------------------------
  6716. DROP TABLE IF EXISTS `wk_examine`;
  6717. CREATE TABLE `wk_examine` (
  6718. `examine_id` bigint(0) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '审批ID',
  6719. `examine_init_id` bigint(0) NULL DEFAULT NULL COMMENT '审批初始化Id',
  6720. `label` int(0) UNSIGNED NULL DEFAULT NULL COMMENT '0 OA 1 合同 2 回款 3发票 4薪资 5 采购审核 6采购退货审核 7销售审核 8 销售退货审核 9付款单审核10 回款单审核11盘点审核12调拨审核',
  6721. `examine_icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图标',
  6722. `examine_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '审批名称',
  6723. `recheck_type` int(0) NULL DEFAULT NULL COMMENT '撤回之后重新审核操作 1 从第一层开始 2 从拒绝的层级开始',
  6724. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6725. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  6726. `status` int(0) NULL DEFAULT NULL COMMENT '1 正常 2 停用 3 删除 ',
  6727. `batch_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6728. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  6729. `update_time` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  6730. `update_user_id` bigint(0) NULL DEFAULT NULL COMMENT '修改人',
  6731. `user_ids` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '可见范围(员工)',
  6732. `dept_ids` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '可见范围(部门)',
  6733. `oa_type` int(0) NULL DEFAULT 0 COMMENT '1 普通审批 2 请假审批 3 出差审批 4 加班审批 5 差旅报销 6 借款申请 0 自定义审批',
  6734. PRIMARY KEY (`examine_id`) USING BTREE
  6735. ) ENGINE = InnoDB AUTO_INCREMENT = 1164178 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批表' ROW_FORMAT = Dynamic;
  6736. -- ----------------------------
  6737. -- Records of wk_examine
  6738. -- ----------------------------
  6739. INSERT INTO `wk_examine` VALUES (25375, 25375, 2, NULL, '回款审批流程', 1, NULL, 3, 1, '38e4ecd1525111ebbe7418c04d26d688', '', '2021-05-07 14:00:50', 3, NULL, NULL, 0);
  6740. INSERT INTO `wk_examine` VALUES (25376, 25376, 1, NULL, '合同审批流程', 1, NULL, 3, 1, '38e4f6e4525111ebbe7418c04d26d688', '说明', '2021-05-07 14:00:50', 3, NULL, NULL, 0);
  6741. INSERT INTO `wk_examine` VALUES (25377, 25377, 3, NULL, '发票审批流程', 1, NULL, 0, 1, '38e4f798525111ebbe7418c04d26d688', '', '2021-05-07 14:00:50', 0, NULL, NULL, 0);
  6742. INSERT INTO `wk_examine` VALUES (1072979, 1072979, 0, 'wk wk-l-record,#3ABCFB', '普通审批', 1, '2019-04-26 15:06:34', 3, 1, '38efbcd2525111ebbe7418c04d26d688', '普通审批', '2021-05-07 14:00:50', 3, '', '', 1);
  6743. INSERT INTO `wk_examine` VALUES (1072980, 1072980, 0, 'wk wk-leave,#00CAAB', '请假审批', 1, '2019-04-17 18:52:44', 3, 1, '38efbdd4525111ebbe7418c04d26d688', '请假审批', '2021-05-07 14:00:50', 3, '', '', 2);
  6744. INSERT INTO `wk_examine` VALUES (1072981, 1072981, 0, 'wk wk-trip,#3ABCFB', '出差审批', 1, '2019-04-17 18:52:50', 3, 1, '38efbe57525111ebbe7418c04d26d688', '出差审批', '2021-05-07 14:00:50', 3, '', '', 3);
  6745. INSERT INTO `wk_examine` VALUES (1072982, 1072982, 0, 'wk wk-overtime,#FAAD14', '加班审批', 1, '2019-04-17 18:52:59', 3, 1, '38efbe9f525111ebbe7418c04d26d688', '加班审批', '2021-05-07 14:00:50', 3, '', '', 4);
  6746. INSERT INTO `wk_examine` VALUES (1072983, 1072983, 0, 'wk wk-reimbursement,#3ABCFB', '差旅报销', 1, '2019-04-17 18:53:13', 3, 1, '38efbee2525111ebbe7418c04d26d688', '差旅报销', '2021-05-07 14:00:50', 3, '', '', 5);
  6747. INSERT INTO `wk_examine` VALUES (1072984, 1072984, 0, 'wk wk-go-out,#FF6033', '借款申请', 1, '2019-04-17 18:54:44', 3, 1, '38efbf24525111ebbe7418c04d26d688', '借款申请', '2021-05-07 14:00:50', 3, '', '', 6);
  6748. -- ----------------------------
  6749. -- Table structure for wk_examine_condition
  6750. -- ----------------------------
  6751. DROP TABLE IF EXISTS `wk_examine_condition`;
  6752. CREATE TABLE `wk_examine_condition` (
  6753. `condition_id` int(0) NOT NULL AUTO_INCREMENT,
  6754. `condition_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '条件名称',
  6755. `flow_id` int(0) NOT NULL COMMENT '审批流程ID',
  6756. `priority` int(0) NOT NULL COMMENT '优先级 数字越低优先级越高',
  6757. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6758. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6759. `batch_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6760. PRIMARY KEY (`condition_id`) USING BTREE
  6761. ) ENGINE = InnoDB AUTO_INCREMENT = 1490 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批条件表' ROW_FORMAT = Dynamic;
  6762. -- ----------------------------
  6763. -- Records of wk_examine_condition
  6764. -- ----------------------------
  6765. -- ----------------------------
  6766. -- Table structure for wk_examine_condition_data
  6767. -- ----------------------------
  6768. DROP TABLE IF EXISTS `wk_examine_condition_data`;
  6769. CREATE TABLE `wk_examine_condition_data` (
  6770. `id` int(0) NOT NULL AUTO_INCREMENT,
  6771. `condition_id` int(0) NOT NULL COMMENT '条件ID',
  6772. `flow_id` int(0) NOT NULL COMMENT '审批流程ID',
  6773. `field_id` int(0) NULL DEFAULT NULL COMMENT '字段ID',
  6774. `field_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '字段名称',
  6775. `condition_type` int(0) NULL DEFAULT NULL COMMENT '连接条件 1 等于 2 大于 3 小于 4 大于等于 5 小于等于 6 两者之间 7 包含 8 员工 9 部门 10 角色',
  6776. `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '值,json数组格式',
  6777. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6778. `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '字段中文名称',
  6779. `type` int(0) NULL DEFAULT NULL COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  6780. PRIMARY KEY (`id`) USING BTREE
  6781. ) ENGINE = InnoDB AUTO_INCREMENT = 1506 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批条件扩展字段表' ROW_FORMAT = Dynamic;
  6782. -- ----------------------------
  6783. -- Records of wk_examine_condition_data
  6784. -- ----------------------------
  6785. -- ----------------------------
  6786. -- Table structure for wk_examine_flow
  6787. -- ----------------------------
  6788. DROP TABLE IF EXISTS `wk_examine_flow`;
  6789. CREATE TABLE `wk_examine_flow` (
  6790. `flow_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '审核流程ID',
  6791. `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  6792. `examine_id` bigint(0) UNSIGNED NULL DEFAULT NULL COMMENT '审批ID',
  6793. `examine_type` int(0) NOT NULL COMMENT '0 条件 1 指定成员 2 主管 3 角色 4 发起人自选 5 连续多级主管',
  6794. `examine_error_handling` int(0) NOT NULL DEFAULT 1 COMMENT '审批找不到用户或者条件均不满足时怎么处理 1 自动通过 2 管理员审批',
  6795. `condition_id` int(0) NOT NULL DEFAULT 0 COMMENT '条件ID',
  6796. `sort` int(0) NOT NULL COMMENT '执行顺序,不可为空',
  6797. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6798. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '用户ID',
  6799. `batch_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6800. PRIMARY KEY (`flow_id`) USING BTREE,
  6801. INDEX `examine_id`(`examine_id`) USING BTREE
  6802. ) ENGINE = InnoDB AUTO_INCREMENT = 1163342 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程表' ROW_FORMAT = Dynamic;
  6803. -- ----------------------------
  6804. -- Records of wk_examine_flow
  6805. -- ----------------------------
  6806. INSERT INTO `wk_examine_flow` VALUES (1163333, '业务审批6375', 25375, 4, 2, 0, 1, NULL, 3, '38e4ecd1525111ebbe7418c04d26d688');
  6807. INSERT INTO `wk_examine_flow` VALUES (1163334, '业务审批3841', 25376, 4, 2, 0, 1, NULL, 3, '38e4f6e4525111ebbe7418c04d26d688');
  6808. INSERT INTO `wk_examine_flow` VALUES (1163335, '业务审批3682', 25377, 4, 2, 0, 1, NULL, 0, '38e4f798525111ebbe7418c04d26d688');
  6809. INSERT INTO `wk_examine_flow` VALUES (1163336, '办公审批3621', 1072979, 4, 2, 0, 1, '2019-04-26 15:06:34', 3, '38efbcd2525111ebbe7418c04d26d688');
  6810. INSERT INTO `wk_examine_flow` VALUES (1163337, '办公审批1325', 1072980, 4, 2, 0, 1, '2019-04-17 18:52:44', 3, '38efbdd4525111ebbe7418c04d26d688');
  6811. INSERT INTO `wk_examine_flow` VALUES (1163338, '办公审批6681', 1072981, 4, 2, 0, 1, '2019-04-17 18:52:50', 3, '38efbe57525111ebbe7418c04d26d688');
  6812. INSERT INTO `wk_examine_flow` VALUES (1163339, '办公审批2494', 1072982, 4, 2, 0, 1, '2019-04-17 18:52:59', 3, '38efbe9f525111ebbe7418c04d26d688');
  6813. INSERT INTO `wk_examine_flow` VALUES (1163340, '办公审批8739', 1072983, 4, 2, 0, 1, '2019-04-17 18:53:13', 3, '38efbee2525111ebbe7418c04d26d688');
  6814. INSERT INTO `wk_examine_flow` VALUES (1163341, '办公审批8180', 1072984, 4, 2, 0, 1, '2019-04-17 18:54:44', 3, '38efbf24525111ebbe7418c04d26d688');
  6815. -- ----------------------------
  6816. -- Table structure for wk_examine_flow_continuous_superior
  6817. -- ----------------------------
  6818. DROP TABLE IF EXISTS `wk_examine_flow_continuous_superior`;
  6819. CREATE TABLE `wk_examine_flow_continuous_superior` (
  6820. `id` int(0) NOT NULL AUTO_INCREMENT,
  6821. `flow_id` int(0) NOT NULL COMMENT '审批流程ID',
  6822. `role_id` int(0) NULL DEFAULT NULL COMMENT '角色ID',
  6823. `max_level` int(0) NULL DEFAULT NULL COMMENT '角色审批的最高级别或者组织架构的第N级',
  6824. `type` int(0) NULL DEFAULT NULL COMMENT '1 指定角色 2 组织架构的最上级',
  6825. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6826. PRIMARY KEY (`id`) USING BTREE
  6827. ) ENGINE = InnoDB AUTO_INCREMENT = 143 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程连续多级主管审批记录表' ROW_FORMAT = Dynamic;
  6828. -- ----------------------------
  6829. -- Records of wk_examine_flow_continuous_superior
  6830. -- ----------------------------
  6831. -- ----------------------------
  6832. -- Table structure for wk_examine_flow_member
  6833. -- ----------------------------
  6834. DROP TABLE IF EXISTS `wk_examine_flow_member`;
  6835. CREATE TABLE `wk_examine_flow_member` (
  6836. `id` int(0) NOT NULL AUTO_INCREMENT,
  6837. `flow_id` int(0) NOT NULL COMMENT '审批流程ID',
  6838. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '审批人ID',
  6839. `type` int(0) NULL DEFAULT NULL COMMENT '1 依次审批 2 会签 3 或签',
  6840. `sort` int(0) NOT NULL DEFAULT 0 COMMENT '排序规则',
  6841. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6842. PRIMARY KEY (`id`) USING BTREE
  6843. ) ENGINE = InnoDB AUTO_INCREMENT = 4448 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程指定成员记录表' ROW_FORMAT = Dynamic;
  6844. -- ----------------------------
  6845. -- Records of wk_examine_flow_member
  6846. -- ----------------------------
  6847. -- ----------------------------
  6848. -- Table structure for wk_examine_flow_optional
  6849. -- ----------------------------
  6850. DROP TABLE IF EXISTS `wk_examine_flow_optional`;
  6851. CREATE TABLE `wk_examine_flow_optional` (
  6852. `id` int(0) NOT NULL AUTO_INCREMENT,
  6853. `flow_id` int(0) NOT NULL COMMENT '审核流程ID',
  6854. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '审批人ID',
  6855. `role_id` int(0) NULL DEFAULT NULL COMMENT '角色ID',
  6856. `choose_type` int(0) NULL DEFAULT NULL COMMENT '选择类型 1 自选一人 2 自选多人',
  6857. `type` int(0) NULL DEFAULT NULL COMMENT '1 依次审批 2 会签 3 或签',
  6858. `sort` int(0) NOT NULL DEFAULT 0 COMMENT '排序规则',
  6859. `batch_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6860. `range_type` int(0) NULL DEFAULT NULL COMMENT '选择范围 1 全公司 2 指定成员 3 指定角色 ',
  6861. PRIMARY KEY (`id`) USING BTREE,
  6862. INDEX `flow_id`(`flow_id`) USING BTREE
  6863. ) ENGINE = InnoDB AUTO_INCREMENT = 1313998 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程自选成员记录表' ROW_FORMAT = Dynamic;
  6864. -- ----------------------------
  6865. -- Records of wk_examine_flow_optional
  6866. -- ----------------------------
  6867. INSERT INTO `wk_examine_flow_optional` VALUES (1313980, 1163333, NULL, NULL, 2, 1, 0, '38e4ecd1525111ebbe7418c04d26d688', 1);
  6868. INSERT INTO `wk_examine_flow_optional` VALUES (1313981, 1163334, NULL, NULL, 2, 1, 0, '38e4f6e4525111ebbe7418c04d26d688', 1);
  6869. INSERT INTO `wk_examine_flow_optional` VALUES (1313982, 1163335, NULL, NULL, 2, 1, 0, '38e4f798525111ebbe7418c04d26d688', 1);
  6870. INSERT INTO `wk_examine_flow_optional` VALUES (1313983, 1163333, NULL, NULL, 2, 1, 0, '38e4ecd1525111ebbe7418c04d26d688', 1);
  6871. INSERT INTO `wk_examine_flow_optional` VALUES (1313984, 1163334, NULL, NULL, 2, 1, 0, '38e4f6e4525111ebbe7418c04d26d688', 1);
  6872. INSERT INTO `wk_examine_flow_optional` VALUES (1313985, 1163335, NULL, NULL, 2, 1, 0, '38e4f798525111ebbe7418c04d26d688', 1);
  6873. INSERT INTO `wk_examine_flow_optional` VALUES (1313986, 1163336, NULL, NULL, 2, 1, 0, '38efbcd2525111ebbe7418c04d26d688', 1);
  6874. INSERT INTO `wk_examine_flow_optional` VALUES (1313987, 1163337, NULL, NULL, 2, 1, 0, '38efbdd4525111ebbe7418c04d26d688', 1);
  6875. INSERT INTO `wk_examine_flow_optional` VALUES (1313988, 1163338, NULL, NULL, 2, 1, 0, '38efbe57525111ebbe7418c04d26d688', 1);
  6876. INSERT INTO `wk_examine_flow_optional` VALUES (1313989, 1163339, NULL, NULL, 2, 1, 0, '38efbe9f525111ebbe7418c04d26d688', 1);
  6877. INSERT INTO `wk_examine_flow_optional` VALUES (1313990, 1163340, NULL, NULL, 2, 1, 0, '38efbee2525111ebbe7418c04d26d688', 1);
  6878. INSERT INTO `wk_examine_flow_optional` VALUES (1313991, 1163341, NULL, NULL, 2, 1, 0, '38efbf24525111ebbe7418c04d26d688', 1);
  6879. -- ----------------------------
  6880. -- Table structure for wk_examine_flow_role
  6881. -- ----------------------------
  6882. DROP TABLE IF EXISTS `wk_examine_flow_role`;
  6883. CREATE TABLE `wk_examine_flow_role` (
  6884. `id` int(0) NOT NULL AUTO_INCREMENT,
  6885. `flow_id` int(0) NOT NULL COMMENT '审核流程ID',
  6886. `role_id` int(0) NULL DEFAULT NULL COMMENT '角色ID',
  6887. `type` int(0) NULL DEFAULT NULL COMMENT '2 会签 3 或签',
  6888. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6889. PRIMARY KEY (`id`) USING BTREE
  6890. ) ENGINE = InnoDB AUTO_INCREMENT = 311 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程角色审批记录表' ROW_FORMAT = Dynamic;
  6891. -- ----------------------------
  6892. -- Records of wk_examine_flow_role
  6893. -- ----------------------------
  6894. -- ----------------------------
  6895. -- Table structure for wk_examine_flow_superior
  6896. -- ----------------------------
  6897. DROP TABLE IF EXISTS `wk_examine_flow_superior`;
  6898. CREATE TABLE `wk_examine_flow_superior` (
  6899. `id` int(0) NOT NULL AUTO_INCREMENT,
  6900. `flow_id` int(0) NOT NULL COMMENT '审核流程ID',
  6901. `parent_level` int(0) NULL DEFAULT NULL COMMENT '直属上级级别 1 代表直属上级 2 代表 直属上级的上级',
  6902. `type` int(0) NULL DEFAULT NULL COMMENT '找不到上级时,是否由上一级上级代审批 0 否 1 是',
  6903. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '批次ID',
  6904. PRIMARY KEY (`id`) USING BTREE
  6905. ) ENGINE = InnoDB AUTO_INCREMENT = 2478 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批流程主管审批记录表' ROW_FORMAT = Dynamic;
  6906. -- ----------------------------
  6907. -- Records of wk_examine_flow_superior
  6908. -- ----------------------------
  6909. -- ----------------------------
  6910. -- Table structure for wk_examine_manager_user
  6911. -- ----------------------------
  6912. DROP TABLE IF EXISTS `wk_examine_manager_user`;
  6913. CREATE TABLE `wk_examine_manager_user` (
  6914. `id` int(0) UNSIGNED NOT NULL AUTO_INCREMENT,
  6915. `examine_id` bigint(0) UNSIGNED NOT NULL COMMENT '审批ID',
  6916. `user_id` bigint(0) NOT NULL COMMENT '管理员ID',
  6917. `sort` int(0) NOT NULL DEFAULT 0 COMMENT '从小到大',
  6918. PRIMARY KEY (`id`) USING BTREE,
  6919. INDEX `examine_id`(`examine_id`) USING BTREE
  6920. ) ENGINE = InnoDB AUTO_INCREMENT = 527852 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审批管理员设置表' ROW_FORMAT = Dynamic;
  6921. -- ----------------------------
  6922. -- Records of wk_examine_manager_user
  6923. -- ----------------------------
  6924. INSERT INTO `wk_examine_manager_user` VALUES (527837, 25375, 14773, 0);
  6925. INSERT INTO `wk_examine_manager_user` VALUES (527838, 25376, 14773, 0);
  6926. INSERT INTO `wk_examine_manager_user` VALUES (527839, 25377, 14773, 0);
  6927. INSERT INTO `wk_examine_manager_user` VALUES (527840, 1072979, 14773, 0);
  6928. INSERT INTO `wk_examine_manager_user` VALUES (527841, 1072980, 14773, 0);
  6929. INSERT INTO `wk_examine_manager_user` VALUES (527842, 1072981, 14773, 0);
  6930. INSERT INTO `wk_examine_manager_user` VALUES (527843, 1072982, 14773, 0);
  6931. INSERT INTO `wk_examine_manager_user` VALUES (527844, 1072983, 14773, 0);
  6932. INSERT INTO `wk_examine_manager_user` VALUES (527845, 1072984, 14773, 0);
  6933. -- ----------------------------
  6934. -- Table structure for wk_examine_record
  6935. -- ----------------------------
  6936. DROP TABLE IF EXISTS `wk_examine_record`;
  6937. CREATE TABLE `wk_examine_record` (
  6938. `record_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '审核记录ID',
  6939. `examine_id` bigint(0) NOT NULL COMMENT '审核ID',
  6940. `label` int(0) NULL DEFAULT NULL COMMENT '业务类型',
  6941. `flow_id` int(0) NOT NULL COMMENT '流程ID',
  6942. `type_id` int(0) NULL DEFAULT NULL COMMENT '关联业务主键ID',
  6943. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回',
  6944. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  6945. `create_user_id` bigint(0) NOT NULL COMMENT '创建人',
  6946. `update_time` datetime(0) NOT NULL COMMENT '修改时间',
  6947. `update_user_id` bigint(0) NOT NULL COMMENT '修改人',
  6948. PRIMARY KEY (`record_id`) USING BTREE
  6949. ) ENGINE = InnoDB AUTO_INCREMENT = 1004974 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审核记录表' ROW_FORMAT = Dynamic;
  6950. -- ----------------------------
  6951. -- Records of wk_examine_record
  6952. -- ----------------------------
  6953. -- ----------------------------
  6954. -- Table structure for wk_examine_record_log
  6955. -- ----------------------------
  6956. DROP TABLE IF EXISTS `wk_examine_record_log`;
  6957. CREATE TABLE `wk_examine_record_log` (
  6958. `log_id` int(0) NOT NULL AUTO_INCREMENT,
  6959. `examine_id` bigint(0) NOT NULL COMMENT '审批ID',
  6960. `flow_id` int(0) NOT NULL COMMENT '审批流程ID',
  6961. `record_id` int(0) NOT NULL COMMENT '审批记录ID',
  6962. `type` int(0) NULL DEFAULT NULL COMMENT '1 依次审批 2 会签 3 或签',
  6963. `sort` int(0) NULL DEFAULT NULL COMMENT '排序',
  6964. `examine_status` int(0) NOT NULL COMMENT '审核状态0待审核、1通过、2拒绝、3审核中 4:撤回 5 未提交 6 创建 7 已删除 8 作废',
  6965. `examine_user_id` bigint(0) NULL DEFAULT 0 COMMENT '审核人ID',
  6966. `examine_role_id` int(0) NULL DEFAULT 0 COMMENT '审核角色ID',
  6967. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  6968. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  6969. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  6970. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '批次ID',
  6971. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注',
  6972. PRIMARY KEY (`log_id`) USING BTREE
  6973. ) ENGINE = InnoDB AUTO_INCREMENT = 1137829 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审核日志表' ROW_FORMAT = Dynamic;
  6974. -- ----------------------------
  6975. -- Records of wk_examine_record_log
  6976. -- ----------------------------
  6977. -- ----------------------------
  6978. -- Table structure for wk_examine_record_optional
  6979. -- ----------------------------
  6980. DROP TABLE IF EXISTS `wk_examine_record_optional`;
  6981. CREATE TABLE `wk_examine_record_optional` (
  6982. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  6983. `flow_id` int(0) NOT NULL COMMENT '流程ID',
  6984. `record_id` int(0) NOT NULL COMMENT '审核记录ID',
  6985. `user_id` bigint(0) NOT NULL COMMENT '用户ID',
  6986. `sort` int(0) NOT NULL DEFAULT 1 COMMENT '排序。从小到大',
  6987. PRIMARY KEY (`id`) USING BTREE
  6988. ) ENGINE = InnoDB AUTO_INCREMENT = 326 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '审核自选成员选择成员表' ROW_FORMAT = Dynamic;
  6989. -- ----------------------------
  6990. -- Records of wk_examine_record_optional
  6991. -- ----------------------------
  6992. -- ----------------------------
  6993. -- Table structure for wk_km_action_record
  6994. -- ----------------------------
  6995. DROP TABLE IF EXISTS `wk_km_action_record`;
  6996. CREATE TABLE `wk_km_action_record` (
  6997. `record_id` int(0) NOT NULL AUTO_INCREMENT,
  6998. `status` int(0) NULL DEFAULT NULL COMMENT '1 浏览 2 删除',
  6999. `type` int(0) NOT NULL COMMENT '1 知识库 2 文件夹 3 文档 4 文件 ',
  7000. `type_id` int(0) NOT NULL,
  7001. `create_user_id` bigint(0) NOT NULL,
  7002. `create_time` datetime(0) NOT NULL,
  7003. PRIMARY KEY (`record_id`) USING BTREE
  7004. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库操作记录(最近使用)' ROW_FORMAT = Dynamic;
  7005. -- ----------------------------
  7006. -- Records of wk_km_action_record
  7007. -- ----------------------------
  7008. -- ----------------------------
  7009. -- Table structure for wk_km_auth
  7010. -- ----------------------------
  7011. DROP TABLE IF EXISTS `wk_km_auth`;
  7012. CREATE TABLE `wk_km_auth` (
  7013. `auth_id` int(0) NOT NULL AUTO_INCREMENT,
  7014. `is_open` int(0) NULL DEFAULT NULL COMMENT '是否公开 0 私有 1 公开',
  7015. `open_auth` int(0) NULL DEFAULT NULL COMMENT '公开权限 2 均可编辑 3 均可见,不可编辑',
  7016. PRIMARY KEY (`auth_id`) USING BTREE
  7017. ) ENGINE = InnoDB AUTO_INCREMENT = 92 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '文档文件夹权限表' ROW_FORMAT = Dynamic;
  7018. -- ----------------------------
  7019. -- Records of wk_km_auth
  7020. -- ----------------------------
  7021. INSERT INTO `wk_km_auth` VALUES (87, 1, 2);
  7022. INSERT INTO `wk_km_auth` VALUES (88, 1, 2);
  7023. INSERT INTO `wk_km_auth` VALUES (89, 1, 2);
  7024. INSERT INTO `wk_km_auth` VALUES (90, 1, 2);
  7025. INSERT INTO `wk_km_auth` VALUES (91, 1, 2);
  7026. -- ----------------------------
  7027. -- Table structure for wk_km_auth_user
  7028. -- ----------------------------
  7029. DROP TABLE IF EXISTS `wk_km_auth_user`;
  7030. CREATE TABLE `wk_km_auth_user` (
  7031. `r_id` int(0) NOT NULL AUTO_INCREMENT,
  7032. `auth_id` int(0) NULL DEFAULT NULL,
  7033. `user_id` bigint(0) NULL DEFAULT NULL,
  7034. `auth` int(0) NULL DEFAULT NULL COMMENT '私有权限 1 所有权限 2 编辑权限 3只读权限',
  7035. `create_time` datetime(0) NULL DEFAULT NULL,
  7036. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7037. PRIMARY KEY (`r_id`) USING BTREE
  7038. ) ENGINE = InnoDB AUTO_INCREMENT = 147 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库权限用户关联表' ROW_FORMAT = Dynamic;
  7039. -- ----------------------------
  7040. -- Records of wk_km_auth_user
  7041. -- ----------------------------
  7042. INSERT INTO `wk_km_auth_user` VALUES (142, 87, 14773, 1, '2020-08-22 16:11:27', 14773);
  7043. INSERT INTO `wk_km_auth_user` VALUES (143, 88, 14773, 1, '2020-08-22 16:11:27', 14773);
  7044. INSERT INTO `wk_km_auth_user` VALUES (144, 89, 14773, 1, '2020-08-22 16:11:27', 14773);
  7045. INSERT INTO `wk_km_auth_user` VALUES (145, 90, 14773, 1, '2020-08-22 16:11:27', 14773);
  7046. INSERT INTO `wk_km_auth_user` VALUES (146, 91, 14773, 1, '2020-08-22 16:11:27', 14773);
  7047. -- ----------------------------
  7048. -- Table structure for wk_km_collect
  7049. -- ----------------------------
  7050. DROP TABLE IF EXISTS `wk_km_collect`;
  7051. CREATE TABLE `wk_km_collect` (
  7052. `collect_id` int(0) NOT NULL AUTO_INCREMENT,
  7053. `type` int(0) NOT NULL COMMENT '1 知识库 2 文件夹 3 文件',
  7054. `type_id` int(0) NOT NULL,
  7055. `create_time` datetime(0) NOT NULL,
  7056. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7057. PRIMARY KEY (`collect_id`) USING BTREE
  7058. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库收藏表' ROW_FORMAT = Dynamic;
  7059. -- ----------------------------
  7060. -- Records of wk_km_collect
  7061. -- ----------------------------
  7062. -- ----------------------------
  7063. -- Table structure for wk_km_document
  7064. -- ----------------------------
  7065. DROP TABLE IF EXISTS `wk_km_document`;
  7066. CREATE TABLE `wk_km_document` (
  7067. `document_id` int(0) NOT NULL AUTO_INCREMENT,
  7068. `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '文档标题',
  7069. `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
  7070. `type` int(0) NOT NULL COMMENT '3 富文本 4 文件',
  7071. `parent_id` int(0) NULL DEFAULT 0,
  7072. `status` int(0) NULL DEFAULT 1 COMMENT '-1 删除 0 草稿 1 正常 2 模板',
  7073. `library_id` int(0) NULL DEFAULT NULL,
  7074. `folder_id` int(0) NOT NULL COMMENT '文件夹id',
  7075. `auth_id` int(0) NULL DEFAULT NULL,
  7076. `label_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '标签id',
  7077. `create_time` datetime(0) NOT NULL,
  7078. `create_user_id` bigint(0) NOT NULL,
  7079. `update_time` datetime(0) NULL DEFAULT NULL,
  7080. `delete_user_id` bigint(0) NULL DEFAULT NULL,
  7081. `delete_time` datetime(0) NULL DEFAULT NULL,
  7082. PRIMARY KEY (`document_id`) USING BTREE
  7083. ) ENGINE = InnoDB AUTO_INCREMENT = 90 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库文档表' ROW_FORMAT = Dynamic;
  7084. -- ----------------------------
  7085. -- Records of wk_km_document
  7086. -- ----------------------------
  7087. INSERT INTO `wk_km_document` VALUES (85, '产品需求文档', '<div id=\"wk-knowledge-title-wukong\">\n<p id=\"wk-knowledge-content-wukong\">产品需求文档</p>\n</div>\n<h1 style=\"mso-pagination: widow-orphan;\">基本信息</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">目标上线时间:请输入时间</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">项目人员</h1>\n<p class=\"MsoNormal\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->产品:请输入人员<a name=\"_GoBack\"></a></p>\n<p class=\"MsoNormal\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->设计:请输入人员</p>\n<p class=\"MsoNormal\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->研发:请输入人员</p>\n<p class=\"MsoNormal\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->测试:请输入人员</p>\n<p class=\"MsoNormal\" style=\"margin-left: 36.0pt; text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">需求背景</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">描述产品需求诞生的背景;我们为什么要做这件事情,和战略方向的契合点。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">产品目标</h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">描述产品的目标用户,以及期望通过产品实现的核心目标。</p>\n<p class=\"MsoNormal\" style=\"margin-left: 36.0pt; text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">衡量指标</h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">用于衡量产品成功的关键指标</p>\n<p class=\"MsoNormal\" style=\"margin-left: 36.0pt; text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"margin-left: 36.0pt; text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">产品需求</p>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 106.5pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n<td style=\"width: 106.5pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">作为</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">我想要的</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">以便于</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 106.5pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 106.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">产品经理</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">从模版直接创建产品需求文档的功能</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">快速并有条理的进行需求文档的撰写</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 2; mso-yfti-lastrow: yes;\">\n<td style=\"width: 106.5pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">2</span></p>\n</td>\n<td style=\"width: 106.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">团队负责人</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">自定义文档模版的能力</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">规范不同场景下的撰写文档的格式和要求</p>\n</td>\n</tr>\n</tbody>\n</table>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">功能及界面设计</h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">描述详细功能设计,以及相关的线框设计、视觉设计图。</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">+</span>上传图片</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">+</span>上传附件</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">问题</p>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 47.95pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">#</span></p>\n</td>\n<td style=\"width: 224.75pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"300\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">问题</p>\n</td>\n<td style=\"width: 153.0pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"204\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">结论</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 47.95pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 224.75pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"300\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">描述评审、研发等过程中发现的问题</p>\n</td>\n<td style=\"width: 153.0pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"204\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">描述最终讨论得出的决定</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 2; mso-yfti-lastrow: yes; height: 22.15pt;\">\n<td style=\"width: 47.95pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 22.15pt;\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">2</span></p>\n</td>\n<td style=\"width: 224.75pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 22.15pt;\" valign=\"top\" width=\"300\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n<td style=\"width: 153.0pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 22.15pt;\" valign=\"top\" width=\"204\">\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n</tr>\n</tbody>\n</table>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">暂不支持</h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">由于受限团队目标、技术、时间等不支持的功能</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">附录</h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">+</span>上传附件</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>', 3, 0, 1, 25, 0, 87, NULL, '2020-08-22 16:11:27', 14773, '2020-08-22 16:11:27', NULL, NULL);
  7088. INSERT INTO `wk_km_document` VALUES (86, '会议纪要', '<div id=\"wk-knowledge-title-wukong\">\n<p id=\"wk-knowledge-content-wukong\" style=\"font-size: 24pt; font-weight: bold;\">会议纪要</p>\n</div>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">产品研发团队的周会纪要</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">日期:请输入日期</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">与会人员:请输入人员</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">目标</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">制定本次会议的目标或者描述会议的上下文。</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">议程</h1>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 47.95pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"64\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">#</span></p>\n</td>\n<td style=\"width: 165.05pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"220\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">议题</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">负责人</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1; mso-yfti-lastrow: yes;\">\n<td style=\"width: 47.95pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"64\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 165.05pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"220\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">议题内容描述</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">持续时间</p>\n</td>\n</tr>\n</tbody>\n</table>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\">记录</h1>\n<p class=\"MsoListParagraph\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-char-indent-count: 0; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->会议要点<span lang=\"EN-US\">1</span></p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 21.0pt; text-align: left; text-indent: -21.0pt; mso-char-indent-count: 0; mso-pagination: widow-orphan; mso-list: l0 level1 lfo1;\" align=\"left\"><!-- [if !supportLists]--><span lang=\"EN-US\"><span style=\"mso-list: Ignore;\">l<span style=\"font-style: normal; font-variant: normal; font-stretch: normal; line-height: normal;\">&nbsp; </span></span></span><!--[endif]-->会议要点<span lang=\"EN-US\">2</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\"><a name=\"_GoBack\"></a>后续工作</h1>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 62.1pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"83\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">负责人</p>\n</td>\n<td style=\"width: 150.9pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"201\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作安排</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">执行人</p>\n</td>\n<td style=\"width: 106.55pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1; mso-yfti-lastrow: yes;\">\n<td style=\"width: 62.1pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"83\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 150.9pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"201\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作安排项</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 106.55pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"142\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n</tbody>\n</table>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>', 3, 0, 1, 25, 0, 88, NULL, '2020-08-22 16:11:27', 14773, '2020-08-22 16:11:27', NULL, NULL);
  7089. INSERT INTO `wk_km_document` VALUES (87, '技术文档', '<div id=\"wk-knowledge-title-wukong\">\n<p id=\"wk-knowledge-content-wukong\" style=\"font-size: 24pt; font-weight: bold;\">技术文档</p>\n</div>\n<p class=\"MsoNormal\">标题</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\">在这里描述</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">1//</span>在这里编写代码</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">2</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">3</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">4</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">5</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">+ </span>上传图片</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\"><a name=\"_GoBack\"></a><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\">标题</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\">在这里描述</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;\" align=\"left\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">1//</span>在这里编写代码</p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">2</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">3</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">4</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">5</span></p>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\"><span lang=\"EN-US\">+ </span>上传图片</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>', 3, 0, 1, 25, 0, 89, NULL, '2020-08-22 16:11:27', 14773, '2020-08-22 16:11:27', NULL, NULL);
  7090. INSERT INTO `wk_km_document` VALUES (88, '竞品分析', '<div id=\"wk-knowledge-title-wukong\">\n<p id=\"wk-knowledge-content-wukong\" style=\"font-size: 24pt; font-weight: bold;\">竞品分析</p>\n</div>\n<h1 style=\"mso-pagination: widow-orphan;\">目的</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">描述做这次竞品分析的目的,因为不同的目的侧重点也会有所差异。</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">可能是为了寻找可借鉴学习之处;可能是为了摸查竞争对手情况做好应对策略;也有可能是作为融资计划的参考<a name=\"_GoBack\"></a>数据。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">市场分析</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">描述目前行业市场的相关信息,可以通过以下渠道收集信息:</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">从公司内部市场、运营部门、管理层等收集信息;行业媒体平台新闻及论坛及<span lang=\"EN-US\">QQ</span>群,搜索引擎,比如艾瑞咨询,<span lang=\"EN-US\">AppAnnie</span>;行业专家博客、微博、微信公众账号订阅。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">竞品概况</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">描述竞品相关的一些信息,比如公司团队状况、产品定位、核心数据分析、盈利模式等等。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">产品分析</h1>\n<h2 style=\"mso-pagination: widow-orphan;\">产品功能</h2>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">可以从产品基本信息、产品功能逻辑、产品渠道(平台)等方面进行分析。</p>\n<h2 style=\"mso-pagination: widow-orphan;\">产品交互设计</h2>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">通过截图的方式对比交互和设计内容,可以包含:主要风格、色彩体系、布局结构、品质感、字体、功能页面比较。</p>\n<h2 style=\"mso-pagination: widow-orphan;\">技术分析</h2>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">以移动<span lang=\"EN-US\">App</span>举例,技术分析包含:应用大小、启动时长、功能页面加载时长、<span lang=\"EN-US\">CPU</span>、内存消耗、崩溃率、版本迭代速度等。 这需要根据不同产品进行不同的技术分析。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">产品优劣势</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">综合评价所选竞品的优势势,以及各自其中的机会和威胁。</p>\n<h1 style=\"mso-pagination: widow-orphan;\">总结</h1>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">分析的结论一般可以包括两大部分,一是对研究对象的分析总结,二是对自己的行动建议。</p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>', 3, 0, 1, 25, 0, 90, NULL, '2020-08-22 16:11:27', 14773, '2020-08-22 16:11:27', NULL, NULL);
  7091. INSERT INTO `wk_km_document` VALUES (89, '产品规划', '<div id=\"wk-knowledge-title-wukong\">\n<p id=\"wk-knowledge-content-wukong\" style=\"font-size: 24pt; font-weight: bold;\">产品规划</p>\n</div>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">发布时间:请输入日期</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">产品负责人:请输入人员</p>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\"><span lang=\"EN-US\">Sprint 1</span></h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">时间:请输入起止时间</p>\n<p>工作项:</p>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">该冲刺的工作项</p>\n</td>\n<td style=\"width: 77.95pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">执行人</p>\n</td>\n<td style=\"width: 127.6pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 2; mso-yfti-lastrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">2</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n</tr>\n</tbody>\n</table>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\"><span lang=\"EN-US\">Sprint 2</span></h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">时间:请输入起止时间</p>\n<p>工作项:</p>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">该冲刺的工作项</p>\n</td>\n<td style=\"width: 77.95pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">执行人</p>\n</td>\n<td style=\"width: 127.6pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 2; mso-yfti-lastrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">2</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n</tr>\n</tbody>\n</table>\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n<h1 style=\"mso-pagination: widow-orphan;\"><span lang=\"EN-US\">Sprint 3<a name=\"_GoBack\"></a></span></h1>\n<p class=\"MsoNormal\" style=\"text-align: left; mso-pagination: widow-orphan;\" align=\"left\">时间:请输入起止时间</p>\n<p>工作项:</p>\n<table class=\"MsoTableGrid\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: 0; mso-yfti-firstrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">该冲刺的工作项</p>\n</td>\n<td style=\"width: 77.95pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">执行人</p>\n</td>\n<td style=\"width: 127.6pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">1</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">人员姓名</p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">截止时间</p>\n</td>\n</tr>\n<tr style=\"mso-yfti-irow: 2; mso-yfti-lastrow: yes;\">\n<td style=\"width: 155.7pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"208\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\">工作项<span lang=\"EN-US\">2</span></p>\n</td>\n<td style=\"width: 77.95pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"104\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n<td style=\"width: 127.6pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt;\" valign=\"top\" width=\"170\">\n<p style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-pagination: widow-orphan;\"><span lang=\"EN-US\">&nbsp;</span></p>\n</td>\n</tr>\n</tbody>\n</table>\n<p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>', 3, 0, 1, 25, 0, 91, NULL, '2020-08-22 16:11:27', 14773, '2020-08-22 16:11:27', NULL, NULL);
  7092. -- ----------------------------
  7093. -- Table structure for wk_km_document_favor
  7094. -- ----------------------------
  7095. DROP TABLE IF EXISTS `wk_km_document_favor`;
  7096. CREATE TABLE `wk_km_document_favor` (
  7097. `favor_id` int(0) NOT NULL AUTO_INCREMENT,
  7098. `document_id` int(0) NULL DEFAULT NULL,
  7099. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7100. `create_time` datetime(0) NULL DEFAULT NULL,
  7101. PRIMARY KEY (`favor_id`) USING BTREE,
  7102. UNIQUE INDEX `wk_km_document_favor_document_id_create_user_id_uindex`(`document_id`, `create_user_id`) USING BTREE
  7103. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '文档点赞表' ROW_FORMAT = Dynamic;
  7104. -- ----------------------------
  7105. -- Records of wk_km_document_favor
  7106. -- ----------------------------
  7107. -- ----------------------------
  7108. -- Table structure for wk_km_document_label
  7109. -- ----------------------------
  7110. DROP TABLE IF EXISTS `wk_km_document_label`;
  7111. CREATE TABLE `wk_km_document_label` (
  7112. `label_id` int(0) NOT NULL AUTO_INCREMENT,
  7113. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  7114. `color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  7115. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7116. `create_time` datetime(0) NULL DEFAULT NULL,
  7117. PRIMARY KEY (`label_id`) USING BTREE
  7118. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '文档标签表' ROW_FORMAT = Dynamic;
  7119. -- ----------------------------
  7120. -- Records of wk_km_document_label
  7121. -- ----------------------------
  7122. -- ----------------------------
  7123. -- Table structure for wk_km_document_share
  7124. -- ----------------------------
  7125. DROP TABLE IF EXISTS `wk_km_document_share`;
  7126. CREATE TABLE `wk_km_document_share` (
  7127. `share_id` int(0) NOT NULL AUTO_INCREMENT,
  7128. `document_id` int(0) NULL DEFAULT NULL COMMENT '文档id',
  7129. `share_user_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '分享内部成员id',
  7130. `share_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '外部分享链接',
  7131. `token` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '外部查看文档的唯一标识',
  7132. `status` int(0) NULL DEFAULT NULL COMMENT '1 启用 0 关闭分享',
  7133. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7134. `create_time` datetime(0) NULL DEFAULT NULL,
  7135. `close_user_id` bigint(0) NULL DEFAULT NULL,
  7136. `close_time` datetime(0) NULL DEFAULT NULL,
  7137. PRIMARY KEY (`share_id`) USING BTREE
  7138. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '文档分享' ROW_FORMAT = Dynamic;
  7139. -- ----------------------------
  7140. -- Records of wk_km_document_share
  7141. -- ----------------------------
  7142. -- ----------------------------
  7143. -- Table structure for wk_km_folder
  7144. -- ----------------------------
  7145. DROP TABLE IF EXISTS `wk_km_folder`;
  7146. CREATE TABLE `wk_km_folder` (
  7147. `folder_id` int(0) NOT NULL AUTO_INCREMENT,
  7148. `library_id` int(0) NULL DEFAULT NULL COMMENT '知识库id',
  7149. `parent_id` int(0) NULL DEFAULT 0 COMMENT '父id',
  7150. `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  7151. `status` int(0) NULL DEFAULT 1 COMMENT '-1 删除 1 正常',
  7152. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7153. `create_time` datetime(0) NULL DEFAULT NULL,
  7154. `auth_id` int(0) NULL DEFAULT NULL,
  7155. `delete_user_id` bigint(0) NULL DEFAULT NULL,
  7156. `delete_time` datetime(0) NULL DEFAULT NULL,
  7157. PRIMARY KEY (`folder_id`) USING BTREE
  7158. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库文件夹' ROW_FORMAT = Dynamic;
  7159. -- ----------------------------
  7160. -- Records of wk_km_folder
  7161. -- ----------------------------
  7162. -- ----------------------------
  7163. -- Table structure for wk_km_knowledge_library
  7164. -- ----------------------------
  7165. DROP TABLE IF EXISTS `wk_km_knowledge_library`;
  7166. CREATE TABLE `wk_km_knowledge_library` (
  7167. `library_id` int(0) NOT NULL AUTO_INCREMENT,
  7168. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '知识库名称',
  7169. `description` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '简介',
  7170. `is_open` int(0) NOT NULL COMMENT '是否公开 1 公开 2 私有',
  7171. `status` int(0) NULL DEFAULT 1 COMMENT '-1 删除 1 正常 2 模板',
  7172. `is_system_cover` int(0) NULL DEFAULT NULL COMMENT '0 否 1 是',
  7173. `cover_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '知识库封面',
  7174. `create_user_id` bigint(0) NOT NULL COMMENT '创建人',
  7175. `create_time` datetime(0) NULL DEFAULT NULL,
  7176. `update_time` datetime(0) NULL DEFAULT NULL,
  7177. `delete_user_id` bigint(0) NULL DEFAULT NULL,
  7178. `delete_time` datetime(0) NULL DEFAULT NULL,
  7179. PRIMARY KEY (`library_id`) USING BTREE
  7180. ) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库' ROW_FORMAT = Dynamic;
  7181. -- ----------------------------
  7182. -- Records of wk_km_knowledge_library
  7183. -- ----------------------------
  7184. INSERT INTO `wk_km_knowledge_library` VALUES (25, '产品研发', '提供完善的产品流程文档', 0, 1, 1, 'https://www.72crm.com/api/uploads/kw/1.png', 14773, '2020-08-22 16:11:27', NULL, NULL, NULL);
  7185. -- ----------------------------
  7186. -- Table structure for wk_km_knowledge_library_user
  7187. -- ----------------------------
  7188. DROP TABLE IF EXISTS `wk_km_knowledge_library_user`;
  7189. CREATE TABLE `wk_km_knowledge_library_user` (
  7190. `r_id` int(0) NOT NULL AUTO_INCREMENT,
  7191. `library_id` int(0) NOT NULL,
  7192. `user_id` bigint(0) NOT NULL,
  7193. `role` int(0) NULL DEFAULT NULL COMMENT '1 创建人 2 管理员 3 成员',
  7194. PRIMARY KEY (`r_id`) USING BTREE
  7195. ) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '知识库成员' ROW_FORMAT = Dynamic;
  7196. -- ----------------------------
  7197. -- Records of wk_km_knowledge_library_user
  7198. -- ----------------------------
  7199. INSERT INTO `wk_km_knowledge_library_user` VALUES (55, 25, 14773, 1);
  7200. -- ----------------------------
  7201. -- Table structure for wk_oa_announcement
  7202. -- ----------------------------
  7203. DROP TABLE IF EXISTS `wk_oa_announcement`;
  7204. CREATE TABLE `wk_oa_announcement` (
  7205. `announcement_id` int(0) NOT NULL AUTO_INCREMENT,
  7206. `title` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '标题',
  7207. `content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '内容',
  7208. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7209. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7210. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7211. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  7212. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  7213. `dept_ids` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '通知部门',
  7214. `owner_user_ids` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '通知人',
  7215. `read_user_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '已读用户',
  7216. PRIMARY KEY (`announcement_id`) USING BTREE
  7217. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '公告表' ROW_FORMAT = Dynamic;
  7218. -- ----------------------------
  7219. -- Records of wk_oa_announcement
  7220. -- ----------------------------
  7221. -- ----------------------------
  7222. -- Table structure for wk_oa_calendar_type
  7223. -- ----------------------------
  7224. DROP TABLE IF EXISTS `wk_oa_calendar_type`;
  7225. CREATE TABLE `wk_oa_calendar_type` (
  7226. `type_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '日历类型id',
  7227. `type_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型名称',
  7228. `color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '颜色',
  7229. `type` int(0) NULL DEFAULT NULL COMMENT '1 系统类型 2 自定义类型',
  7230. `create_time` datetime(0) NULL DEFAULT NULL,
  7231. `create_user_id` bigint(0) NULL DEFAULT NULL,
  7232. `update_time` datetime(0) NULL DEFAULT NULL,
  7233. `sort` int(0) NULL DEFAULT 1,
  7234. PRIMARY KEY (`type_id`) USING BTREE
  7235. ) ENGINE = InnoDB AUTO_INCREMENT = 500 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日历类型' ROW_FORMAT = Dynamic;
  7236. -- ----------------------------
  7237. -- Records of wk_oa_calendar_type
  7238. -- ----------------------------
  7239. INSERT INTO `wk_oa_calendar_type` VALUES (492, '分配的任务', '1', 1, '2020-01-13 09:44:05', 14773, NULL, 1);
  7240. INSERT INTO `wk_oa_calendar_type` VALUES (493, '需联系的线索', '5', 1, '2020-01-13 09:44:05', 14773, NULL, 2);
  7241. INSERT INTO `wk_oa_calendar_type` VALUES (494, '需联系的客户', '2', 1, '2020-01-13 09:44:05', 14773, NULL, 3);
  7242. INSERT INTO `wk_oa_calendar_type` VALUES (495, '需联系的商机', '6', 1, '2020-01-13 09:44:05', 14773, NULL, 4);
  7243. INSERT INTO `wk_oa_calendar_type` VALUES (496, '预计成交的商机', '7', 1, '2020-01-13 09:44:05', 14773, NULL, 5);
  7244. INSERT INTO `wk_oa_calendar_type` VALUES (497, '即将到期的合同', '3', 1, '2020-01-13 09:44:05', 14773, NULL, 6);
  7245. INSERT INTO `wk_oa_calendar_type` VALUES (498, '计划回款', '4', 1, '2020-01-13 09:44:05', 14773, NULL, 7);
  7246. INSERT INTO `wk_oa_calendar_type` VALUES (499, '开会', '#53D397', 2, '2020-01-13 09:44:05', 14773, NULL, 1);
  7247. -- ----------------------------
  7248. -- Table structure for wk_oa_calendar_type_user
  7249. -- ----------------------------
  7250. DROP TABLE IF EXISTS `wk_oa_calendar_type_user`;
  7251. CREATE TABLE `wk_oa_calendar_type_user` (
  7252. `id` int(0) NOT NULL AUTO_INCREMENT,
  7253. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  7254. `type_id` int(0) NOT NULL COMMENT '日历类型id',
  7255. PRIMARY KEY (`id`) USING BTREE
  7256. ) ENGINE = InnoDB AUTO_INCREMENT = 8738 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '用户关联日历类型' ROW_FORMAT = Dynamic;
  7257. -- ----------------------------
  7258. -- Records of wk_oa_calendar_type_user
  7259. -- ----------------------------
  7260. INSERT INTO `wk_oa_calendar_type_user` VALUES (8733, 14773, 487);
  7261. INSERT INTO `wk_oa_calendar_type_user` VALUES (8734, 14773, 488);
  7262. INSERT INTO `wk_oa_calendar_type_user` VALUES (8735, 14773, 489);
  7263. INSERT INTO `wk_oa_calendar_type_user` VALUES (8736, 14773, 490);
  7264. INSERT INTO `wk_oa_calendar_type_user` VALUES (8737, 14773, 491);
  7265. -- ----------------------------
  7266. -- Table structure for wk_oa_event
  7267. -- ----------------------------
  7268. DROP TABLE IF EXISTS `wk_oa_event`;
  7269. CREATE TABLE `wk_oa_event` (
  7270. `event_id` int(0) NOT NULL AUTO_INCREMENT,
  7271. `title` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '标题',
  7272. `type_id` int(0) NOT NULL COMMENT '日程类型',
  7273. `start_time` datetime(0) NOT NULL COMMENT '开始时间',
  7274. `end_time` datetime(0) NOT NULL COMMENT '结束时间',
  7275. `owner_user_ids` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参与人',
  7276. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  7277. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  7278. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7279. `repetition_type` int(0) NULL DEFAULT 1 COMMENT '重复类型 1从不重复 2每天 3每周 4每月 5每年',
  7280. `repeat_rate` int(0) NULL DEFAULT NULL COMMENT '重复频率',
  7281. `repeat_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '3:周/4:月',
  7282. `end_type` int(0) NULL DEFAULT NULL COMMENT '结束类型 1从不 2重复次数 3结束日期',
  7283. `end_type_config` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '2:次数/3:时间',
  7284. `repeat_start_time` datetime(0) NOT NULL COMMENT '循环开始时间',
  7285. `repeat_end_time` datetime(0) NULL DEFAULT NULL COMMENT '循环结束时间',
  7286. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  7287. PRIMARY KEY (`event_id`) USING BTREE
  7288. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '日程表' ROW_FORMAT = Dynamic;
  7289. -- ----------------------------
  7290. -- Records of wk_oa_event
  7291. -- ----------------------------
  7292. -- ----------------------------
  7293. -- Table structure for wk_oa_event_notice
  7294. -- ----------------------------
  7295. DROP TABLE IF EXISTS `wk_oa_event_notice`;
  7296. CREATE TABLE `wk_oa_event_notice` (
  7297. `id` int(0) NOT NULL AUTO_INCREMENT,
  7298. `event_id` int(0) NOT NULL COMMENT '日程ID',
  7299. `type` int(0) NOT NULL COMMENT '1分钟 2小时 3天',
  7300. `value` int(0) NOT NULL,
  7301. PRIMARY KEY (`id`) USING BTREE
  7302. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '日程提醒设置表' ROW_FORMAT = Dynamic;
  7303. -- ----------------------------
  7304. -- Records of wk_oa_event_notice
  7305. -- ----------------------------
  7306. -- ----------------------------
  7307. -- Table structure for wk_oa_event_relation
  7308. -- ----------------------------
  7309. DROP TABLE IF EXISTS `wk_oa_event_relation`;
  7310. CREATE TABLE `wk_oa_event_relation` (
  7311. `eventrelation_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '日程关联业务表',
  7312. `event_id` int(0) NOT NULL COMMENT '日程ID',
  7313. `customer_ids` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户IDs',
  7314. `contacts_ids` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人IDs',
  7315. `business_ids` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商机IDs',
  7316. `contract_ids` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同IDs',
  7317. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  7318. PRIMARY KEY (`eventrelation_id`) USING BTREE
  7319. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '日程关联业务表' ROW_FORMAT = Dynamic;
  7320. -- ----------------------------
  7321. -- Records of wk_oa_event_relation
  7322. -- ----------------------------
  7323. -- ----------------------------
  7324. -- Table structure for wk_oa_event_update_record
  7325. -- ----------------------------
  7326. DROP TABLE IF EXISTS `wk_oa_event_update_record`;
  7327. CREATE TABLE `wk_oa_event_update_record` (
  7328. `id` int(0) NOT NULL AUTO_INCREMENT,
  7329. `event_id` int(0) NOT NULL,
  7330. `time` bigint(0) NOT NULL COMMENT '标题',
  7331. `status` int(0) NULL DEFAULT NULL COMMENT '1 删除本次 2 修改本次 3 修改本次及以后',
  7332. `new_event_id` int(0) NULL DEFAULT NULL,
  7333. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  7334. PRIMARY KEY (`id`) USING BTREE
  7335. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '日程表' ROW_FORMAT = Dynamic;
  7336. -- ----------------------------
  7337. -- Records of wk_oa_event_update_record
  7338. -- ----------------------------
  7339. -- ----------------------------
  7340. -- Table structure for wk_oa_examine
  7341. -- ----------------------------
  7342. DROP TABLE IF EXISTS `wk_oa_examine`;
  7343. CREATE TABLE `wk_oa_examine` (
  7344. `examine_id` int(0) NOT NULL AUTO_INCREMENT,
  7345. `category_id` int(0) NOT NULL DEFAULT 1 COMMENT '审批类型',
  7346. `content` varchar(800) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容',
  7347. `remark` varchar(800) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  7348. `type_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请假类型',
  7349. `money` decimal(18, 2) NULL DEFAULT NULL COMMENT '差旅、报销总金额',
  7350. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  7351. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  7352. `duration` decimal(18, 2) NULL DEFAULT NULL COMMENT '时长',
  7353. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  7354. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  7355. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7356. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '附件批次id',
  7357. `examine_record_id` int(0) NULL DEFAULT NULL COMMENT '审核记录ID',
  7358. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回',
  7359. PRIMARY KEY (`examine_id`) USING BTREE
  7360. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '审批表' ROW_FORMAT = Dynamic;
  7361. -- ----------------------------
  7362. -- Records of wk_oa_examine
  7363. -- ----------------------------
  7364. -- ----------------------------
  7365. -- Table structure for wk_oa_examine_category
  7366. -- ----------------------------
  7367. DROP TABLE IF EXISTS `wk_oa_examine_category`;
  7368. CREATE TABLE `wk_oa_examine_category` (
  7369. `category_id` int(0) NOT NULL AUTO_INCREMENT,
  7370. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  7371. `remarks` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  7372. `icon` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标',
  7373. `type` int(0) NULL DEFAULT 0 COMMENT '1 普通审批 2 请假审批 3 出差审批 4 加班审批 5 差旅报销 6 借款申请 0 自定义审批',
  7374. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7375. `status` int(0) NULL DEFAULT 1 COMMENT '1启用,0禁用',
  7376. `is_sys` int(0) NULL DEFAULT NULL COMMENT '1为系统类型,不能删除',
  7377. `examine_type` int(0) NULL DEFAULT NULL COMMENT '1固定2自选',
  7378. `user_ids` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '可见范围(员工)',
  7379. `dept_ids` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '可见范围(部门)',
  7380. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7381. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7382. `is_deleted` int(0) NULL DEFAULT 0 COMMENT '1已删除',
  7383. `delete_time` datetime(0) NULL DEFAULT NULL COMMENT '删除时间',
  7384. `delete_user_id` bigint(0) NULL DEFAULT NULL COMMENT '删除人ID',
  7385. PRIMARY KEY (`category_id`) USING BTREE,
  7386. INDEX `create_time`(`create_time`) USING BTREE
  7387. ) ENGINE = InnoDB AUTO_INCREMENT = 72985 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '审批类型表' ROW_FORMAT = Dynamic;
  7388. -- ----------------------------
  7389. -- Records of wk_oa_examine_category
  7390. -- ----------------------------
  7391. INSERT INTO `wk_oa_examine_category` VALUES (72979, '普通审批', '普通审批', 'wk wk-l-record,#3ABCFB', 1, 3, 1, 1, 2, '', '', '2019-04-26 15:06:34', '2019-04-26 15:06:34', 0, NULL, NULL);
  7392. INSERT INTO `wk_oa_examine_category` VALUES (72980, '请假审批', '请假审批', 'wk wk-leave,#00CAAB', 2, 3, 1, 1, 2, '', '', '2019-04-17 18:52:44', '2019-04-17 18:52:44', 0, NULL, NULL);
  7393. INSERT INTO `wk_oa_examine_category` VALUES (72981, '出差审批', '出差审批', 'wk wk-trip,#3ABCFB', 3, 3, 1, 1, 2, '', '', '2019-04-17 18:52:50', '2019-04-17 18:52:50', 0, NULL, NULL);
  7394. INSERT INTO `wk_oa_examine_category` VALUES (72982, '加班审批', '加班审批', 'wk wk-overtime,#FAAD14', 4, 3, 1, 1, 2, '', '', '2019-04-17 18:52:59', '2019-04-17 18:52:59', 0, NULL, NULL);
  7395. INSERT INTO `wk_oa_examine_category` VALUES (72983, '差旅报销', '差旅报销', 'wk wk-reimbursement,#3ABCFB', 5, 3, 1, 1, 2, '', '', '2019-04-17 18:53:13', '2019-04-17 18:53:13', 0, NULL, NULL);
  7396. INSERT INTO `wk_oa_examine_category` VALUES (72984, '借款申请', '借款申请', 'wk wk-go-out,#FF6033', 6, 3, 1, 1, 2, '', '', '2019-04-17 18:54:44', '2019-04-17 18:54:44', 0, NULL, NULL);
  7397. -- ----------------------------
  7398. -- Table structure for wk_oa_examine_data
  7399. -- ----------------------------
  7400. DROP TABLE IF EXISTS `wk_oa_examine_data`;
  7401. CREATE TABLE `wk_oa_examine_data` (
  7402. `id` int(0) NOT NULL AUTO_INCREMENT,
  7403. `field_id` int(0) NOT NULL COMMENT '字段id',
  7404. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  7405. `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  7406. `create_time` datetime(0) NOT NULL,
  7407. `batch_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  7408. PRIMARY KEY (`id`) USING BTREE
  7409. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'oa审批自定义字段存值表' ROW_FORMAT = Dynamic;
  7410. -- ----------------------------
  7411. -- Records of wk_oa_examine_data
  7412. -- ----------------------------
  7413. -- ----------------------------
  7414. -- Table structure for wk_oa_examine_field
  7415. -- ----------------------------
  7416. DROP TABLE IF EXISTS `wk_oa_examine_field`;
  7417. CREATE TABLE `wk_oa_examine_field` (
  7418. `field_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  7419. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '自定义字段英文标识',
  7420. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段名称',
  7421. `type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  7422. `remark` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段说明',
  7423. `input_tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输入提示',
  7424. `max_length` int(0) NULL DEFAULT NULL COMMENT '最大长度',
  7425. `default_value` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '默认值',
  7426. `is_unique` int(0) NULL DEFAULT 0 COMMENT '是否唯一 1 是 0 否',
  7427. `is_null` int(0) NULL DEFAULT 0 COMMENT '是否必填 1 是 0 否',
  7428. `sorting` int(0) NULL DEFAULT 1 COMMENT '排序 从小到大',
  7429. `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '如果类型是选项,此处不能为空,多个选项以,隔开',
  7430. `operating` int(0) NULL DEFAULT 255 COMMENT '是否可以删除修改',
  7431. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  7432. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最后修改时间',
  7433. `examine_category_id` int(0) NULL DEFAULT NULL COMMENT '审批ID label为10需要',
  7434. `field_type` int(0) NOT NULL DEFAULT 0 COMMENT '字段来源 0.自定义 1.原始固定 2原始字段但值存在扩展表中',
  7435. `style_percent` int(0) NULL DEFAULT 50 COMMENT '样式百分比%',
  7436. `precisions` int(0) NULL DEFAULT NULL COMMENT '精度,允许的最大小数位',
  7437. `form_position` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单定位 坐标格式: 1,1',
  7438. `max_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最大数值',
  7439. `min_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最小数值',
  7440. `form_assist_id` int(0) NULL DEFAULT NULL COMMENT '表单辅助id,前端生成',
  7441. PRIMARY KEY (`field_id`) USING BTREE
  7442. ) ENGINE = InnoDB AUTO_INCREMENT = 572 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '自定义字段表' ROW_FORMAT = Dynamic;
  7443. -- ----------------------------
  7444. -- Records of wk_oa_examine_field
  7445. -- ----------------------------
  7446. INSERT INTO `wk_oa_examine_field` VALUES (548, 'content', '审批内容', 1, NULL, '', NULL, '', 0, 1, 0, NULL, 3, 0, '2021-01-09 16:03:54', 1072979, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7447. INSERT INTO `wk_oa_examine_field` VALUES (549, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 1, NULL, 3, 0, '2021-01-09 16:03:54', 1072979, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7448. INSERT INTO `wk_oa_examine_field` VALUES (550, 'type_id', '请假类型', 3, NULL, '', NULL, '年假', 0, 1, 0, '年假,事假,病假,产假,调休,婚假,丧假,其他', 3, 0, '2021-01-09 16:03:54', 1072980, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7449. INSERT INTO `wk_oa_examine_field` VALUES (551, 'content', '审批内容', 1, NULL, '', NULL, '', 0, 1, 1, NULL, 3, 0, '2021-01-09 16:03:54', 1072980, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7450. INSERT INTO `wk_oa_examine_field` VALUES (552, 'start_time', '开始时间', 13, NULL, '', NULL, '', 0, 1, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072980, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7451. INSERT INTO `wk_oa_examine_field` VALUES (553, 'end_time', '结束时间', 13, NULL, '', NULL, '', 0, 1, 3, NULL, 3, 0, '2021-01-09 16:03:54', 1072980, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7452. INSERT INTO `wk_oa_examine_field` VALUES (554, 'duration', '时长(天)', 6, NULL, '', NULL, '', 0, 1, 4, NULL, 3, 0, '2021-05-07 13:58:14', 1072980, 1, 50, 2, NULL, NULL, NULL, NULL);
  7453. INSERT INTO `wk_oa_examine_field` VALUES (555, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 5, NULL, 3, 0, '2021-01-09 16:03:54', 1072980, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7454. INSERT INTO `wk_oa_examine_field` VALUES (556, 'content', '出差事由', 1, NULL, '', NULL, '', 0, 1, 0, NULL, 3, 0, '2021-01-09 16:03:54', 1072981, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7455. INSERT INTO `wk_oa_examine_field` VALUES (557, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 1, NULL, 3, 0, '2021-01-09 16:03:54', 1072981, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7456. INSERT INTO `wk_oa_examine_field` VALUES (558, 'duration', '出差总天数', 6, NULL, '', NULL, '', 0, 1, 2, NULL, 3, 0, '2021-05-07 13:58:14', 1072981, 1, 50, 2, NULL, NULL, NULL, NULL);
  7457. INSERT INTO `wk_oa_examine_field` VALUES (559, 'cause', '行程明细', 22, NULL, '', NULL, '', 0, 1, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072981, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7458. INSERT INTO `wk_oa_examine_field` VALUES (560, 'content', '加班原因', 1, NULL, '', NULL, '', 0, 1, 0, NULL, 3, 0, '2021-01-09 16:03:54', 1072982, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7459. INSERT INTO `wk_oa_examine_field` VALUES (561, 'start_time', '开始时间', 13, NULL, '', NULL, '', 0, 1, 1, NULL, 3, 0, '2021-01-09 16:03:54', 1072982, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7460. INSERT INTO `wk_oa_examine_field` VALUES (562, 'end_time', '结束时间', 13, NULL, '', NULL, '', 0, 1, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072982, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7461. INSERT INTO `wk_oa_examine_field` VALUES (563, 'duration', '加班总天数', 6, NULL, '', NULL, '', 0, 1, 3, NULL, 3, 0, '2021-05-07 13:58:14', 1072982, 1, 50, 2, NULL, NULL, NULL, NULL);
  7462. INSERT INTO `wk_oa_examine_field` VALUES (564, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 4, NULL, 3, 0, '2021-01-09 16:03:54', 1072982, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7463. INSERT INTO `wk_oa_examine_field` VALUES (565, 'content', '差旅事由', 1, NULL, '', NULL, '', 0, 1, 0, NULL, 3, 0, '2021-01-09 16:03:54', 1072983, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7464. INSERT INTO `wk_oa_examine_field` VALUES (566, 'money', '报销总金额', 6, NULL, '', 0, '', 0, 1, 1, NULL, 3, 0, '2021-05-07 13:58:14', 1072983, 1, 50, 2, NULL, NULL, NULL, NULL);
  7465. INSERT INTO `wk_oa_examine_field` VALUES (567, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072983, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7466. INSERT INTO `wk_oa_examine_field` VALUES (568, 'cause', '费用明细', 23, NULL, '', 1000, '', 0, 0, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072983, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7467. INSERT INTO `wk_oa_examine_field` VALUES (569, 'content', '借款事由', 1, NULL, '', NULL, '', 0, 1, 0, NULL, 3, 0, '2021-01-09 16:03:54', 1072984, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7468. INSERT INTO `wk_oa_examine_field` VALUES (570, 'money', '借款金额(元)', 6, NULL, '', 0, '', 0, 1, 1, NULL, 3, 0, '2021-05-07 13:58:14', 1072984, 1, 50, 2, NULL, NULL, NULL, NULL);
  7469. INSERT INTO `wk_oa_examine_field` VALUES (571, 'remark', '备注', 2, NULL, '', 1000, '', 0, 0, 2, NULL, 3, 0, '2021-01-09 16:03:54', 1072984, 1, 50, NULL, NULL, NULL, NULL, NULL);
  7470. -- ----------------------------
  7471. -- Table structure for wk_oa_examine_field_extend
  7472. -- ----------------------------
  7473. DROP TABLE IF EXISTS `wk_oa_examine_field_extend`;
  7474. CREATE TABLE `wk_oa_examine_field_extend` (
  7475. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  7476. `parent_field_id` int(0) NOT NULL COMMENT '对应主字段id',
  7477. `field_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '自定义字段英文标识',
  7478. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段名称',
  7479. `type` int(0) NOT NULL DEFAULT 1 COMMENT '字段类型 1 单行文本 2 多行文本 3 单选 4日期 5 数字 6 小数 7 手机 8 文件 9 多选 10 人员 11 附件 12 部门 13 日期时间 14 邮箱 15客户 16 商机 17 联系人 18 地图 19 产品类型 20 合同 21 回款计划',
  7480. `remark` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段说明',
  7481. `input_tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '输入提示',
  7482. `max_length` int(0) NULL DEFAULT NULL COMMENT '最大长度',
  7483. `default_value` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '默认值',
  7484. `is_unique` int(0) NULL DEFAULT 0 COMMENT '是否唯一 1 是 0 否',
  7485. `is_null` int(0) NULL DEFAULT 0 COMMENT '是否必填 1 是 0 否',
  7486. `sorting` int(0) NULL DEFAULT 1 COMMENT '排序 从小到大',
  7487. `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '如果类型是选项,此处不能为空,多个选项以,隔开',
  7488. `operating` int(0) NULL DEFAULT 255 COMMENT '是否可以删除修改',
  7489. `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
  7490. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最后修改时间',
  7491. `field_type` int(0) NOT NULL DEFAULT 0 COMMENT '字段来源 0.自定义 1.原始固定 2原始字段但值存在扩展表中',
  7492. `style_percent` int(0) NULL DEFAULT 50 COMMENT '样式百分比%',
  7493. `precisions` int(0) NULL DEFAULT NULL COMMENT '精度,允许的最大小数位',
  7494. `form_position` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单定位 坐标格式: 1,1',
  7495. `max_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最大数值',
  7496. `min_num_restrict` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限制的最小数值',
  7497. `form_assist_id` int(0) NULL DEFAULT NULL COMMENT '表单辅助id,前端生成',
  7498. PRIMARY KEY (`id`) USING BTREE
  7499. ) ENGINE = InnoDB AUTO_INCREMENT = 5645 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '自定义字段表' ROW_FORMAT = Dynamic;
  7500. -- ----------------------------
  7501. -- Records of wk_oa_examine_field_extend
  7502. -- ----------------------------
  7503. -- ----------------------------
  7504. -- Table structure for wk_oa_examine_log
  7505. -- ----------------------------
  7506. DROP TABLE IF EXISTS `wk_oa_examine_log`;
  7507. CREATE TABLE `wk_oa_examine_log` (
  7508. `log_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  7509. `record_id` int(0) NULL DEFAULT NULL COMMENT '审批记录ID',
  7510. `examine_step_id` bigint(0) NULL DEFAULT NULL COMMENT '审核步骤ID',
  7511. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝4 撤回审核',
  7512. `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  7513. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7514. `examine_user` bigint(0) NULL DEFAULT NULL COMMENT '审核人',
  7515. `examine_time` datetime(0) NULL DEFAULT NULL COMMENT '审核时间',
  7516. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注',
  7517. `is_recheck` int(0) NULL DEFAULT 0 COMMENT '是否是撤回之前的日志 0或者null为新数据 1:撤回之前的数据',
  7518. `order_id` int(0) NULL DEFAULT NULL COMMENT '排序id',
  7519. PRIMARY KEY (`log_id`) USING BTREE
  7520. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审核日志表' ROW_FORMAT = Dynamic;
  7521. -- ----------------------------
  7522. -- Records of wk_oa_examine_log
  7523. -- ----------------------------
  7524. -- ----------------------------
  7525. -- Table structure for wk_oa_examine_record
  7526. -- ----------------------------
  7527. DROP TABLE IF EXISTS `wk_oa_examine_record`;
  7528. CREATE TABLE `wk_oa_examine_record` (
  7529. `record_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '审核记录ID',
  7530. `examine_id` int(0) NULL DEFAULT NULL COMMENT '审批ID',
  7531. `examine_step_id` bigint(0) NULL DEFAULT NULL COMMENT '当前进行的审批步骤ID',
  7532. `examine_status` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回',
  7533. `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
  7534. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7535. `remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核备注',
  7536. PRIMARY KEY (`record_id`) USING BTREE
  7537. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审核记录表' ROW_FORMAT = Dynamic;
  7538. -- ----------------------------
  7539. -- Records of wk_oa_examine_record
  7540. -- ----------------------------
  7541. -- ----------------------------
  7542. -- Table structure for wk_oa_examine_relation
  7543. -- ----------------------------
  7544. DROP TABLE IF EXISTS `wk_oa_examine_relation`;
  7545. CREATE TABLE `wk_oa_examine_relation` (
  7546. `r_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '审批关联业务表',
  7547. `examine_id` int(0) NULL DEFAULT NULL COMMENT '审批ID',
  7548. `customer_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户IDs',
  7549. `contacts_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人IDs',
  7550. `business_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商机IDs',
  7551. `contract_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同IDs',
  7552. `status` int(0) NULL DEFAULT 1 COMMENT '状态1可用',
  7553. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7554. PRIMARY KEY (`r_id`) USING BTREE
  7555. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '审批关联业务表' ROW_FORMAT = Dynamic;
  7556. -- ----------------------------
  7557. -- Records of wk_oa_examine_relation
  7558. -- ----------------------------
  7559. -- ----------------------------
  7560. -- Table structure for wk_oa_examine_sort
  7561. -- ----------------------------
  7562. DROP TABLE IF EXISTS `wk_oa_examine_sort`;
  7563. CREATE TABLE `wk_oa_examine_sort` (
  7564. `id` int(0) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  7565. `category_id` int(0) NULL DEFAULT NULL COMMENT '审批类型id',
  7566. `sort` int(0) NULL DEFAULT NULL COMMENT '排序',
  7567. `user_id` bigint(0) NULL DEFAULT NULL COMMENT '用户id',
  7568. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7569. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7570. PRIMARY KEY (`id`) USING BTREE
  7571. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '审批类型排序' ROW_FORMAT = Dynamic;
  7572. -- ----------------------------
  7573. -- Records of wk_oa_examine_sort
  7574. -- ----------------------------
  7575. -- ----------------------------
  7576. -- Table structure for wk_oa_examine_step
  7577. -- ----------------------------
  7578. DROP TABLE IF EXISTS `wk_oa_examine_step`;
  7579. CREATE TABLE `wk_oa_examine_step` (
  7580. `step_id` bigint(0) NOT NULL AUTO_INCREMENT,
  7581. `step_type` int(0) NULL DEFAULT NULL COMMENT '步骤类型1、负责人主管,2、指定用户(任意一人),3、指定用户(多人会签),4、上一级审批人主管',
  7582. `category_id` int(0) NOT NULL COMMENT '审批ID',
  7583. `check_user_id` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批人ID (使用逗号隔开) ,1,2,',
  7584. `step_num` int(0) NULL DEFAULT 1 COMMENT '排序',
  7585. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7586. PRIMARY KEY (`step_id`) USING BTREE,
  7587. INDEX `category_id`(`category_id`) USING BTREE
  7588. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '审批步骤表' ROW_FORMAT = Dynamic;
  7589. -- ----------------------------
  7590. -- Records of wk_oa_examine_step
  7591. -- ----------------------------
  7592. -- ----------------------------
  7593. -- Table structure for wk_oa_examine_travel
  7594. -- ----------------------------
  7595. DROP TABLE IF EXISTS `wk_oa_examine_travel`;
  7596. CREATE TABLE `wk_oa_examine_travel` (
  7597. `travel_id` int(0) NOT NULL AUTO_INCREMENT,
  7598. `examine_id` int(0) NOT NULL COMMENT '审批ID',
  7599. `start_address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '出发地',
  7600. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '出发时间',
  7601. `end_address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '目的地',
  7602. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '到达时间',
  7603. `traffic` decimal(18, 2) NULL DEFAULT NULL COMMENT '交通费',
  7604. `stay` decimal(18, 2) NULL DEFAULT NULL COMMENT '住宿费',
  7605. `diet` decimal(18, 2) NULL DEFAULT NULL COMMENT '餐饮费',
  7606. `other` decimal(18, 2) NULL DEFAULT NULL COMMENT '其他费用',
  7607. `money` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  7608. `vehicle` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '交通工具',
  7609. `trip` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单程往返(单程、往返)',
  7610. `duration` decimal(18, 2) NULL DEFAULT NULL COMMENT '时长',
  7611. `description` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  7612. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次id',
  7613. PRIMARY KEY (`travel_id`) USING BTREE
  7614. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '差旅行程表' ROW_FORMAT = Dynamic;
  7615. -- ----------------------------
  7616. -- Records of wk_oa_examine_travel
  7617. -- ----------------------------
  7618. -- ----------------------------
  7619. -- Table structure for wk_oa_log
  7620. -- ----------------------------
  7621. DROP TABLE IF EXISTS `wk_oa_log`;
  7622. CREATE TABLE `wk_oa_log` (
  7623. `log_id` int(0) NOT NULL AUTO_INCREMENT,
  7624. `category_id` int(0) NOT NULL DEFAULT 1 COMMENT '日志类型(1日报,2周报,3月报)',
  7625. `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志标题',
  7626. `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '日志内容',
  7627. `tomorrow` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '明日工作内容',
  7628. `question` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '遇到问题',
  7629. `create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
  7630. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  7631. `update_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  7632. `send_user_ids` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '通知人',
  7633. `send_dept_ids` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '通知部门',
  7634. `read_user_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '已读人',
  7635. `batch_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件批次ID',
  7636. PRIMARY KEY (`log_id`) USING BTREE
  7637. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作日志表' ROW_FORMAT = Dynamic;
  7638. -- ----------------------------
  7639. -- Records of wk_oa_log
  7640. -- ----------------------------
  7641. -- ----------------------------
  7642. -- Table structure for wk_oa_log_bulletin
  7643. -- ----------------------------
  7644. DROP TABLE IF EXISTS `wk_oa_log_bulletin`;
  7645. CREATE TABLE `wk_oa_log_bulletin` (
  7646. `id` int(0) NOT NULL AUTO_INCREMENT,
  7647. `log_id` int(0) NULL DEFAULT NULL COMMENT '日志ID',
  7648. `type` int(0) NULL DEFAULT NULL COMMENT '关联类型 1 客户 2 商机 3 合同 4 回款 5 跟进记录 ',
  7649. `type_id` int(0) NULL DEFAULT NULL COMMENT '类型ID',
  7650. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7651. PRIMARY KEY (`id`) USING BTREE
  7652. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作日志与业务ID关联表' ROW_FORMAT = Dynamic;
  7653. -- ----------------------------
  7654. -- Records of wk_oa_log_bulletin
  7655. -- ----------------------------
  7656. -- ----------------------------
  7657. -- Table structure for wk_oa_log_record
  7658. -- ----------------------------
  7659. DROP TABLE IF EXISTS `wk_oa_log_record`;
  7660. CREATE TABLE `wk_oa_log_record` (
  7661. `id` int(0) NOT NULL AUTO_INCREMENT,
  7662. `log_id` int(0) NOT NULL,
  7663. `customer_num` int(0) NULL DEFAULT 0 COMMENT '客户数量',
  7664. `business_num` int(0) NULL DEFAULT 0 COMMENT '商机数量',
  7665. `contract_num` int(0) NULL DEFAULT 0 COMMENT '合同数量',
  7666. `receivables_money` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '回款金额',
  7667. `activity_num` int(0) NULL DEFAULT 0 COMMENT '跟进记录',
  7668. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7669. PRIMARY KEY (`id`) USING BTREE
  7670. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日志关联销售简报表' ROW_FORMAT = Dynamic;
  7671. -- ----------------------------
  7672. -- Records of wk_oa_log_record
  7673. -- ----------------------------
  7674. -- ----------------------------
  7675. -- Table structure for wk_oa_log_relation
  7676. -- ----------------------------
  7677. DROP TABLE IF EXISTS `wk_oa_log_relation`;
  7678. CREATE TABLE `wk_oa_log_relation` (
  7679. `r_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '日志关联业务表',
  7680. `log_id` int(0) NULL DEFAULT NULL COMMENT '日志ID',
  7681. `customer_ids` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户IDs',
  7682. `contacts_ids` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人IDs',
  7683. `business_ids` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商机IDs',
  7684. `contract_ids` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同IDs',
  7685. `status` int(0) NULL DEFAULT NULL COMMENT '状态1可用',
  7686. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7687. PRIMARY KEY (`r_id`) USING BTREE
  7688. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '日志关联业务表' ROW_FORMAT = Dynamic;
  7689. -- ----------------------------
  7690. -- Records of wk_oa_log_relation
  7691. -- ----------------------------
  7692. -- ----------------------------
  7693. -- Table structure for wk_oa_log_rule
  7694. -- ----------------------------
  7695. DROP TABLE IF EXISTS `wk_oa_log_rule`;
  7696. CREATE TABLE `wk_oa_log_rule` (
  7697. `rule_id` int(0) NOT NULL AUTO_INCREMENT,
  7698. `status` int(0) NOT NULL DEFAULT 1 COMMENT '状态 0停用 1启用',
  7699. `member_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '需要提交的员工id,“,”分割',
  7700. `type` int(0) NULL DEFAULT NULL COMMENT '日志类型 1日报 2周报 3月报',
  7701. `effective_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '每周需要统计的日期 1-6是周一到周六 7是周日',
  7702. `start_day` int(0) NULL DEFAULT NULL COMMENT '开始日期',
  7703. `start_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开始时间',
  7704. `end_day` int(0) NULL DEFAULT NULL COMMENT '结束日期',
  7705. `end_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结束时间',
  7706. `create_user_id` bigint(0) NOT NULL COMMENT '创建人',
  7707. `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  7708. PRIMARY KEY (`rule_id`) USING BTREE
  7709. ) ENGINE = InnoDB AUTO_INCREMENT = 268 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'oa日志规则表' ROW_FORMAT = Dynamic;
  7710. -- ----------------------------
  7711. -- Records of wk_oa_log_rule
  7712. -- ----------------------------
  7713. INSERT INTO `wk_oa_log_rule` VALUES (265, 1, NULL, 1, '1,2,3,4,5', NULL, '00:00', NULL, '23:00', 0, '2020-08-22 11:40:42');
  7714. INSERT INTO `wk_oa_log_rule` VALUES (266, 1, NULL, 2, NULL, 1, NULL, 7, NULL, 0, '2020-08-22 11:40:42');
  7715. INSERT INTO `wk_oa_log_rule` VALUES (267, 1, NULL, 3, NULL, 1, NULL, 31, NULL, 0, '2020-08-22 11:40:42');
  7716. -- ----------------------------
  7717. -- Table structure for wk_oa_log_user_favour
  7718. -- ----------------------------
  7719. DROP TABLE IF EXISTS `wk_oa_log_user_favour`;
  7720. CREATE TABLE `wk_oa_log_user_favour` (
  7721. `id` int(0) NOT NULL AUTO_INCREMENT,
  7722. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  7723. `log_id` int(0) NOT NULL COMMENT '日志id',
  7724. PRIMARY KEY (`id`) USING BTREE,
  7725. UNIQUE INDEX `user_id`(`user_id`, `log_id`) USING BTREE
  7726. ) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户点赞日志关系表 ' ROW_FORMAT = Dynamic;
  7727. -- ----------------------------
  7728. -- Records of wk_oa_log_user_favour
  7729. -- ----------------------------
  7730. -- ----------------------------
  7731. -- Table structure for wk_work
  7732. -- ----------------------------
  7733. DROP TABLE IF EXISTS `wk_work`;
  7734. CREATE TABLE `wk_work` (
  7735. `work_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '项目ID',
  7736. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名字',
  7737. `status` int(0) NULL DEFAULT 1 COMMENT '状态 1启用 3归档 2 删除',
  7738. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7739. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7740. `description` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '描述',
  7741. `color` varchar(15) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '颜色',
  7742. `is_open` int(0) NOT NULL DEFAULT 1 COMMENT '是否所有人可见 1 是 0 否',
  7743. `owner_role` int(0) NULL DEFAULT NULL COMMENT '公开项目成员角色id',
  7744. `archive_time` datetime(0) NULL DEFAULT NULL COMMENT '归档时间',
  7745. `delete_time` datetime(0) NULL DEFAULT NULL COMMENT '删除时间',
  7746. `is_system_cover` int(0) NULL DEFAULT NULL COMMENT '是否是系统自带封面 0不是 1是',
  7747. `cover_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目封面路径 仅系统自带封面需要',
  7748. `batch_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  7749. `owner_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目成员',
  7750. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7751. PRIMARY KEY (`work_id`) USING BTREE
  7752. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目表' ROW_FORMAT = Dynamic;
  7753. -- ----------------------------
  7754. -- Records of wk_work
  7755. -- ----------------------------
  7756. -- ----------------------------
  7757. -- Table structure for wk_work_collect
  7758. -- ----------------------------
  7759. DROP TABLE IF EXISTS `wk_work_collect`;
  7760. CREATE TABLE `wk_work_collect` (
  7761. `collect_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '项目收藏id',
  7762. `work_id` int(0) NOT NULL COMMENT '项目id',
  7763. `user_id` bigint(0) NOT NULL COMMENT '用户id',
  7764. `create_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  7765. PRIMARY KEY (`collect_id`) USING BTREE
  7766. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目收藏表' ROW_FORMAT = Dynamic;
  7767. -- ----------------------------
  7768. -- Records of wk_work_collect
  7769. -- ----------------------------
  7770. -- ----------------------------
  7771. -- Table structure for wk_work_order
  7772. -- ----------------------------
  7773. DROP TABLE IF EXISTS `wk_work_order`;
  7774. CREATE TABLE `wk_work_order` (
  7775. `order_id` int(0) NOT NULL AUTO_INCREMENT,
  7776. `work_id` int(0) NOT NULL,
  7777. `user_id` bigint(0) NOT NULL,
  7778. `order_num` int(0) NOT NULL DEFAULT 999,
  7779. PRIMARY KEY (`order_id`) USING BTREE
  7780. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目排序表' ROW_FORMAT = Dynamic;
  7781. -- ----------------------------
  7782. -- Records of wk_work_order
  7783. -- ----------------------------
  7784. -- ----------------------------
  7785. -- Table structure for wk_work_task
  7786. -- ----------------------------
  7787. DROP TABLE IF EXISTS `wk_work_task`;
  7788. CREATE TABLE `wk_work_task` (
  7789. `task_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '任务表',
  7790. `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务名称',
  7791. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7792. `main_user_id` bigint(0) NULL DEFAULT NULL COMMENT '负责人ID',
  7793. `owner_user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '团队成员ID',
  7794. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新建时间',
  7795. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  7796. `status` int(0) NULL DEFAULT 1 COMMENT '完成状态 1正在进行2延期3归档 5结束',
  7797. `class_id` int(0) NULL DEFAULT -1 COMMENT '分类id',
  7798. `label_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标签 ,号拼接',
  7799. `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '描述',
  7800. `pid` int(0) NULL DEFAULT 0 COMMENT '上级ID',
  7801. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  7802. `stop_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  7803. `priority` int(0) NULL DEFAULT 0 COMMENT '优先级 从大到小 3高 2中 1低 0无',
  7804. `work_id` int(0) NULL DEFAULT 0 COMMENT '项目ID',
  7805. `is_top` int(0) NULL DEFAULT 0 COMMENT '工作台展示 0收件箱 1今天要做,2下一步要做,3以后要做',
  7806. `is_open` int(0) NULL DEFAULT 1 COMMENT '是否公开',
  7807. `order_num` int(0) NULL DEFAULT 999 COMMENT '排序ID',
  7808. `top_order_num` int(0) NULL DEFAULT 999 COMMENT '我的任务排序ID',
  7809. `archive_time` datetime(0) NULL DEFAULT NULL COMMENT '归档时间',
  7810. `ishidden` int(0) NULL DEFAULT 0 COMMENT '是否删除 0 未删除 1 删除',
  7811. `hidden_time` datetime(0) NULL DEFAULT NULL COMMENT '删除时间',
  7812. `batch_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次',
  7813. `is_archive` int(0) NULL DEFAULT 0 COMMENT '1归档',
  7814. PRIMARY KEY (`task_id`) USING BTREE,
  7815. INDEX `pid`(`pid`) USING BTREE
  7816. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务表' ROW_FORMAT = Dynamic;
  7817. -- ----------------------------
  7818. -- Records of wk_work_task
  7819. -- ----------------------------
  7820. -- ----------------------------
  7821. -- Table structure for wk_work_task_class
  7822. -- ----------------------------
  7823. DROP TABLE IF EXISTS `wk_work_task_class`;
  7824. CREATE TABLE `wk_work_task_class` (
  7825. `class_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '任务分类表',
  7826. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类名',
  7827. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7828. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7829. `status` int(0) NULL DEFAULT 0 COMMENT '状态1正常',
  7830. `work_id` int(0) NULL DEFAULT NULL COMMENT '项目ID',
  7831. `order_num` int(0) NULL DEFAULT NULL COMMENT '排序',
  7832. PRIMARY KEY (`class_id`) USING BTREE
  7833. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务分类表' ROW_FORMAT = Dynamic;
  7834. -- ----------------------------
  7835. -- Records of wk_work_task_class
  7836. -- ----------------------------
  7837. -- ----------------------------
  7838. -- Table structure for wk_work_task_comment
  7839. -- ----------------------------
  7840. DROP TABLE IF EXISTS `wk_work_task_comment`;
  7841. CREATE TABLE `wk_work_task_comment` (
  7842. `comment_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '评论表',
  7843. `user_id` bigint(0) NOT NULL COMMENT '评论人ID',
  7844. `content` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容(答案)',
  7845. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新建时间',
  7846. `main_id` int(0) NULL DEFAULT 0 COMMENT '主评论的id',
  7847. `pid` bigint(0) NULL DEFAULT 0 COMMENT '回复对象ID',
  7848. `status` int(0) NULL DEFAULT 1 COMMENT '状态 ',
  7849. `type_id` int(0) NULL DEFAULT 0 COMMENT '评论项目任务ID 或评论其他模块ID',
  7850. `favour` int(0) NULL DEFAULT 0 COMMENT '赞',
  7851. `type` int(0) NULL DEFAULT 0 COMMENT '评论分类 1:任务评论 2:日志评论',
  7852. PRIMARY KEY (`comment_id`) USING BTREE
  7853. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务评论表' ROW_FORMAT = Dynamic;
  7854. -- ----------------------------
  7855. -- Records of wk_work_task_comment
  7856. -- ----------------------------
  7857. -- ----------------------------
  7858. -- Table structure for wk_work_task_label
  7859. -- ----------------------------
  7860. DROP TABLE IF EXISTS `wk_work_task_label`;
  7861. CREATE TABLE `wk_work_task_label` (
  7862. `label_id` int(0) NOT NULL AUTO_INCREMENT,
  7863. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标签名',
  7864. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7865. `create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
  7866. `status` int(0) NULL DEFAULT 0 COMMENT '状态',
  7867. `color` varchar(15) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '颜色',
  7868. PRIMARY KEY (`label_id`) USING BTREE
  7869. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务标签表' ROW_FORMAT = Dynamic;
  7870. -- ----------------------------
  7871. -- Records of wk_work_task_label
  7872. -- ----------------------------
  7873. -- ----------------------------
  7874. -- Table structure for wk_work_task_label_order
  7875. -- ----------------------------
  7876. DROP TABLE IF EXISTS `wk_work_task_label_order`;
  7877. CREATE TABLE `wk_work_task_label_order` (
  7878. `order_id` int(0) NOT NULL AUTO_INCREMENT,
  7879. `label_id` int(0) NOT NULL,
  7880. `user_id` bigint(0) NOT NULL,
  7881. `order_num` int(0) NOT NULL DEFAULT 999,
  7882. PRIMARY KEY (`order_id`) USING BTREE
  7883. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目标签排序表' ROW_FORMAT = Dynamic;
  7884. -- ----------------------------
  7885. -- Records of wk_work_task_label_order
  7886. -- ----------------------------
  7887. -- ----------------------------
  7888. -- Table structure for wk_work_task_log
  7889. -- ----------------------------
  7890. DROP TABLE IF EXISTS `wk_work_task_log`;
  7891. CREATE TABLE `wk_work_task_log` (
  7892. `log_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '项目日志表',
  7893. `user_id` bigint(0) NOT NULL COMMENT '操作人ID',
  7894. `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '内容',
  7895. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7896. `status` int(0) NULL DEFAULT 0 COMMENT '状态 4删除',
  7897. `task_id` int(0) NULL DEFAULT 0 COMMENT '任务ID',
  7898. `work_id` int(0) NULL DEFAULT 0 COMMENT '项目ID',
  7899. PRIMARY KEY (`log_id`) USING BTREE
  7900. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务日志表' ROW_FORMAT = Dynamic;
  7901. -- ----------------------------
  7902. -- Records of wk_work_task_log
  7903. -- ----------------------------
  7904. -- ----------------------------
  7905. -- Table structure for wk_work_task_relation
  7906. -- ----------------------------
  7907. DROP TABLE IF EXISTS `wk_work_task_relation`;
  7908. CREATE TABLE `wk_work_task_relation` (
  7909. `r_id` int(0) NOT NULL AUTO_INCREMENT COMMENT '任务关联业务表',
  7910. `task_id` int(0) NULL DEFAULT NULL COMMENT '任务ID',
  7911. `customer_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户IDs',
  7912. `contacts_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人IDs',
  7913. `business_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商机IDs',
  7914. `contract_ids` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '合同IDs',
  7915. `status` int(0) NULL DEFAULT NULL COMMENT '状态1可用',
  7916. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  7917. PRIMARY KEY (`r_id`) USING BTREE
  7918. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务关联业务表' ROW_FORMAT = Dynamic;
  7919. -- ----------------------------
  7920. -- Records of wk_work_task_relation
  7921. -- ----------------------------
  7922. -- ----------------------------
  7923. -- Table structure for wk_work_user
  7924. -- ----------------------------
  7925. DROP TABLE IF EXISTS `wk_work_user`;
  7926. CREATE TABLE `wk_work_user` (
  7927. `id` int(0) NOT NULL AUTO_INCREMENT,
  7928. `work_id` int(0) NOT NULL COMMENT '项目ID',
  7929. `user_id` bigint(0) NOT NULL COMMENT '成员ID',
  7930. `role_id` int(0) NOT NULL COMMENT '角色ID',
  7931. PRIMARY KEY (`id`) USING BTREE
  7932. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目成员表' ROW_FORMAT = Dynamic;
  7933. -- ----------------------------
  7934. -- Records of wk_work_user
  7935. -- ----------------------------
  7936. SET FOREIGN_KEY_CHECKS = 1;