mysqldata.cpp 239 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363
  1. // MySqlData.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "mysqldata.h"
  5. #include "DBServer.h"
  6. #include <math.h>
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. ////////////////////////////////////////////////////////////////////////////////
  13. // CTblCloundSelection 实现
  14. // 代码生成在 2016年07月01日, 9:08
  15. IMPLEMENT_DYNAMIC(CTblCloundResult, CRecordset)
  16. CTblCloundResult::CTblCloundResult(CDatabase* pdb): CRecordset(pdb)
  17. {
  18. m_order = _T("");
  19. m_name1 = _T("");
  20. m_name2 = _T("");
  21. m_cloundtype = 0;
  22. m_resultjson = _T("");
  23. m_nFields = 5; // 注意:image类型未生成成员变量,此处值可能不对。
  24. m_nDefaultType = dynaset;
  25. }
  26. //#error 安全问题:连接字符串可能包含密码。
  27. // 此连接字符串中可能包含明文密码和/或其他重要
  28. // 信息。请在查看完此连接字符串并找到所有与安全
  29. // 有关的问题后移除 #error。可能需要将此密码存
  30. // 储为其他格式或使用其他的用户身份验证。
  31. CString CTblCloundResult::GetDefaultConnect()
  32. {
  33. return _T("ODBC;DSN");
  34. }
  35. CString CTblCloundResult::GetDefaultSQL()
  36. {
  37. return _T("[dbo].[CloundResult]");
  38. }
  39. void CTblCloundResult::DoFieldExchange(CFieldExchange* pFX)
  40. {
  41. pFX->SetFieldType(CFieldExchange::outputColumn);
  42. RFX_Text(pFX, _T("[order]"), m_order);
  43. RFX_Text(pFX, _T("name1"), m_name1);
  44. RFX_Text(pFX, _T("name2"), m_name2);
  45. RFX_Int(pFX, _T("cloundtype"), m_cloundtype);
  46. RFX_Text(pFX, _T("resultjson"), m_resultjson,8192);
  47. }
  48. /////////////////////////////////////////////////////////////////////////////
  49. // CTblCloundSelection 诊断
  50. #ifdef _DEBUG
  51. void CTblCloundResult::AssertValid() const
  52. {
  53. CRecordset::AssertValid();
  54. }
  55. void CTblCloundResult::Dump(CDumpContext& dc) const
  56. {
  57. CRecordset::Dump(dc);
  58. }
  59. #endif //_DEBUG
  60. /////////////////////////////////////////////////////////////////////////////delphotos
  61. IMPLEMENT_DYNAMIC(COrderItems, CRecordset)
  62. COrderItems::COrderItems(CDatabase* pdb): CRecordset(pdb)
  63. {
  64. m_id = "";
  65. m_autoid = 0;
  66. m_spid = "";
  67. m_spname = "";
  68. m_splb = "";
  69. m_status1 = "";
  70. m_status2 = "";
  71. m_shuliang = "";
  72. m_BackItemsCot = "0";
  73. m_PickupItemsCot = "0";
  74. m_nFields = 10;
  75. m_strSort = _T("id desc");
  76. m_nDefaultType = dynaset;
  77. }
  78. CString COrderItems::GetDefaultConnect()
  79. {
  80. return _T("ODBC;DSN=");
  81. }
  82. CString COrderItems::GetDefaultSQL()
  83. {
  84. return _T("[dbo].[OrderItems]");
  85. }
  86. void COrderItems::DoFieldExchange(CFieldExchange* pFX)
  87. {
  88. pFX->SetFieldType(CFieldExchange::outputColumn);
  89. // RFX_Text() 和 RFX_Int() 这类宏依赖的是
  90. // 成员变量的类型,而不是数据库字段的类型。
  91. // ODBC 尝试自动将列值转换为所请求的类型
  92. RFX_Text(pFX, _T("[id]"), m_id);
  93. RFX_Long(pFX, _T("[autoid]"), m_autoid);
  94. RFX_Text(pFX, _T("[spid]"), m_spid);
  95. RFX_Text(pFX, _T("[spname]"), m_spname);
  96. RFX_Text(pFX, _T("[splb]"), m_splb);
  97. RFX_Text(pFX, _T("[status1]"), m_status1);
  98. RFX_Text(pFX, _T("[status2]"), m_status2);
  99. RFX_Text(pFX, _T("[shuliang]"), m_shuliang);
  100. RFX_Text(pFX, _T("[BackItemsCot]"), m_BackItemsCot);
  101. RFX_Text(pFX, _T("[PickupItemsCot]"), m_PickupItemsCot);
  102. }
  103. /////////////////////////////////////////////////////////////////////////////
  104. // COrderItems 诊断
  105. #ifdef _DEBUG
  106. void COrderItems::AssertValid() const
  107. {
  108. CRecordset::AssertValid();
  109. }
  110. void COrderItems::Dump(CDumpContext& dc) const
  111. {
  112. CRecordset::Dump(dc);
  113. }
  114. #endif //_DEBUG
  115. /////////////////////////////////////////////////////////////////////////////
  116. // CRstSPLB
  117. IMPLEMENT_DYNAMIC(CRstSPLB, CRecordset)
  118. CRstSPLB::CRstSPLB(CDatabase* pdb)
  119. : CRecordset(pdb)
  120. {
  121. //{{AFX_FIELD_INIT(CRstSPLB)
  122. m_name = _T("");
  123. m_nFields = 1;
  124. //}}AFX_FIELD_INIT
  125. m_nDefaultType = forwardOnly;
  126. this->m_pDatabase = g_curdb;
  127. }
  128. CString CRstSPLB::GetDefaultConnect()
  129. {
  130. return _T("ODBC;DSN=");
  131. }
  132. CString CRstSPLB::GetDefaultSQL()
  133. {
  134. return _T("[shangpinlb]");
  135. }
  136. void CRstSPLB::DoFieldExchange(CFieldExchange* pFX)
  137. {
  138. //{{AFX_FIELD_MAP(CRstSPLB)
  139. pFX->SetFieldType(CFieldExchange::outputColumn);
  140. RFX_Text(pFX, _T("[name]"), m_name);
  141. //}}AFX_FIELD_MAP
  142. }
  143. /////////////////////////////////////////////////////////////////////////////
  144. // CRstSPLB diagnostics
  145. #ifdef _DEBUG
  146. void CRstSPLB::AssertValid() const
  147. {
  148. CRecordset::AssertValid();
  149. }
  150. void CRstSPLB::Dump(CDumpContext& dc) const
  151. {
  152. CRecordset::Dump(dc);
  153. }
  154. #endif //_DEBUG
  155. IMPLEMENT_DYNAMIC(CRstJD, CRecordset)
  156. CRstJD::CRstJD(CDatabase* pdb)
  157. : CRecordset(pdb)
  158. {
  159. //{{AFX_FIELD_INIT(CRstJD)
  160. m_name = _T("");
  161. m_nFields = 1;
  162. //}}AFX_FIELD_INIT
  163. m_nDefaultType = forwardOnly;
  164. this->m_pDatabase = g_curdb;
  165. }
  166. CString CRstJD::GetDefaultConnect()
  167. {
  168. return _T("ODBC;DSN=");
  169. }
  170. CString CRstJD::GetDefaultSQL()
  171. {
  172. return _T("[jd]");
  173. }
  174. void CRstJD::DoFieldExchange(CFieldExchange* pFX)
  175. {
  176. //{{AFX_FIELD_MAP(CRstJD)
  177. pFX->SetFieldType(CFieldExchange::outputColumn);
  178. RFX_Text(pFX, _T("[name]"), m_name);
  179. //}}AFX_FIELD_MAP
  180. }
  181. /////////////////////////////////////////////////////////////////////////////
  182. // CRstJD diagnostics
  183. #ifdef _DEBUG
  184. void CRstJD::AssertValid() const
  185. {
  186. CRecordset::AssertValid();
  187. }
  188. void CRstJD::Dump(CDumpContext& dc) const
  189. {
  190. CRecordset::Dump(dc);
  191. }
  192. #endif //_DEBUG
  193. IMPLEMENT_DYNAMIC(CRstTXLB, CRecordset)
  194. CRstTXLB::CRstTXLB(CDatabase* pdb)
  195. : CRecordset(pdb)
  196. {
  197. //{{AFX_FIELD_INIT(CRstTXLB)
  198. m_name = _T("");
  199. m_nFields = 1;
  200. //}}AFX_FIELD_INIT
  201. m_nDefaultType = forwardOnly;
  202. this->m_pDatabase = g_curdb;
  203. }
  204. CString CRstTXLB::GetDefaultConnect()
  205. {
  206. return _T("ODBC;DSN=");
  207. }
  208. CString CRstTXLB::GetDefaultSQL()
  209. {
  210. return _T("[txlb]");
  211. }
  212. void CRstTXLB::DoFieldExchange(CFieldExchange* pFX)
  213. {
  214. //{{AFX_FIELD_MAP(CRstTXLB)
  215. pFX->SetFieldType(CFieldExchange::outputColumn);
  216. RFX_Text(pFX, _T("[name]"), m_name);
  217. //}}AFX_FIELD_MAP
  218. }
  219. /////////////////////////////////////////////////////////////////////////////
  220. // CRstTXLB diagnostics
  221. #ifdef _DEBUG
  222. void CRstTXLB::AssertValid() const
  223. {
  224. CRecordset::AssertValid();
  225. }
  226. void CRstTXLB::Dump(CDumpContext& dc) const
  227. {
  228. CRecordset::Dump(dc);
  229. }
  230. #endif //_DEBUG
  231. IMPLEMENT_DYNAMIC(CRstGrowthTX, CRecordset)
  232. CRstGrowthTX::CRstGrowthTX(CDatabase* pdb)
  233. : CRecordset(pdb)
  234. {
  235. //{{AFX_FIELD_INIT(CRstGrowthTX)
  236. m_name = _T("");
  237. m_nFields = 1;
  238. //}}AFX_FIELD_INIT
  239. m_nDefaultType = forwardOnly;
  240. this->m_pDatabase = g_curdb;
  241. }
  242. CString CRstGrowthTX::GetDefaultConnect()
  243. {
  244. return _T("ODBC;DSN=");
  245. }
  246. CString CRstGrowthTX::GetDefaultSQL()
  247. {
  248. return _T("[growthtx]");
  249. }
  250. void CRstGrowthTX::DoFieldExchange(CFieldExchange* pFX)
  251. {
  252. //{{AFX_FIELD_MAP(CRstGrowthTX)
  253. pFX->SetFieldType(CFieldExchange::outputColumn);
  254. RFX_Text(pFX, _T("[name]"), m_name);
  255. //}}AFX_FIELD_MAP
  256. }
  257. /////////////////////////////////////////////////////////////////////////////
  258. // CRstGrowthTX diagnostics
  259. #ifdef _DEBUG
  260. void CRstGrowthTX::AssertValid() const
  261. {
  262. CRecordset::AssertValid();
  263. }
  264. void CRstGrowthTX::Dump(CDumpContext& dc) const
  265. {
  266. CRecordset::Dump(dc);
  267. }
  268. #endif //_DEBUG
  269. IMPLEMENT_DYNAMIC(CRstWorkType, CRecordset)
  270. CRstWorkType::CRstWorkType(CDatabase* pdb)
  271. : CRecordset(pdb)
  272. {
  273. //{{AFX_FIELD_INIT(CRstWorkType)
  274. m_name = _T("");
  275. m_nFields = 1;
  276. //}}AFX_FIELD_INIT
  277. m_nDefaultType = forwardOnly;
  278. this->m_pDatabase = g_curdb;
  279. }
  280. CString CRstWorkType::GetDefaultConnect()
  281. {
  282. return _T("ODBC;DSN=");
  283. }
  284. CString CRstWorkType::GetDefaultSQL()
  285. {
  286. return _T("[worktype]");
  287. }
  288. void CRstWorkType::DoFieldExchange(CFieldExchange* pFX)
  289. {
  290. //{{AFX_FIELD_MAP(CRstWorkType)
  291. pFX->SetFieldType(CFieldExchange::outputColumn);
  292. RFX_Text(pFX, _T("[name]"), m_name);
  293. //}}AFX_FIELD_MAP
  294. }
  295. /////////////////////////////////////////////////////////////////////////////
  296. // CRstWorkType diagnostics
  297. #ifdef _DEBUG
  298. void CRstWorkType::AssertValid() const
  299. {
  300. CRecordset::AssertValid();
  301. }
  302. void CRstWorkType::Dump(CDumpContext& dc) const
  303. {
  304. CRecordset::Dump(dc);
  305. }
  306. #endif //_DEBUG
  307. IMPLEMENT_DYNAMIC(CRstExpendType, CRecordset)
  308. CRstExpendType::CRstExpendType(CDatabase* pdb)
  309. : CRecordset(pdb)
  310. {
  311. //{{AFX_FIELD_INIT(CRstExpendType)
  312. m_name = _T("");
  313. m_nFields = 1;
  314. //}}AFX_FIELD_INIT
  315. m_nDefaultType = forwardOnly;
  316. this->m_pDatabase = g_curdb;
  317. }
  318. CString CRstExpendType::GetDefaultConnect()
  319. {
  320. return _T("ODBC;DSN=");
  321. }
  322. CString CRstExpendType::GetDefaultSQL()
  323. {
  324. return _T("[expendtype]");
  325. }
  326. void CRstExpendType::DoFieldExchange(CFieldExchange* pFX)
  327. {
  328. //{{AFX_FIELD_MAP(CRstExpendType)
  329. pFX->SetFieldType(CFieldExchange::outputColumn);
  330. RFX_Text(pFX, _T("[name]"), m_name);
  331. //}}AFX_FIELD_MAP
  332. }
  333. /////////////////////////////////////////////////////////////////////////////
  334. // CRstExpendType diagnostics
  335. #ifdef _DEBUG
  336. void CRstExpendType::AssertValid() const
  337. {
  338. CRecordset::AssertValid();
  339. }
  340. void CRstExpendType::Dump(CDumpContext& dc) const
  341. {
  342. CRecordset::Dump(dc);
  343. }
  344. #endif //_DEBUG
  345. IMPLEMENT_DYNAMIC(CRstBaseExpendType, CRecordset)
  346. CRstBaseExpendType::CRstBaseExpendType(CDatabase* pdb)
  347. : CRecordset(pdb)
  348. {
  349. //{{AFX_FIELD_INIT(CRstBaseExpendType)
  350. m_name = _T("");
  351. m_nFields = 1;
  352. //}}AFX_FIELD_INIT
  353. m_nDefaultType = forwardOnly;
  354. this->m_pDatabase = g_curdb;
  355. }
  356. CString CRstBaseExpendType::GetDefaultConnect()
  357. {
  358. return _T("ODBC;DSN=");
  359. }
  360. CString CRstBaseExpendType::GetDefaultSQL()
  361. {
  362. return _T("[baseexpendtype]");
  363. }
  364. void CRstBaseExpendType::DoFieldExchange(CFieldExchange* pFX)
  365. {
  366. //{{AFX_FIELD_MAP(CRstBaseExpendType)
  367. pFX->SetFieldType(CFieldExchange::outputColumn);
  368. RFX_Text(pFX, _T("[name]"), m_name);
  369. //}}AFX_FIELD_MAP
  370. }
  371. /////////////////////////////////////////////////////////////////////////////
  372. // CRstBaseExpendType diagnostics
  373. #ifdef _DEBUG
  374. void CRstBaseExpendType::AssertValid() const
  375. {
  376. CRecordset::AssertValid();
  377. }
  378. void CRstBaseExpendType::Dump(CDumpContext& dc) const
  379. {
  380. CRecordset::Dump(dc);
  381. }
  382. #endif //_DEBUG
  383. IMPLEMENT_DYNAMIC(CRstjdd, CRecordset)
  384. CRstjdd::CRstjdd(CDatabase* pdb)
  385. : CRecordset(pdb)
  386. {
  387. //{{AFX_FIELD_INIT(CRstjdd)
  388. m_name = _T("");
  389. m_nFields = 1;
  390. //}}AFX_FIELD_INIT
  391. m_nDefaultType = forwardOnly;
  392. this->m_pDatabase = g_curdb;
  393. }
  394. CString CRstjdd::GetDefaultConnect()
  395. {
  396. return _T("ODBC;DSN=");
  397. }
  398. CString CRstjdd::GetDefaultSQL()
  399. {
  400. return _T("[jdd]");
  401. }
  402. void CRstjdd::DoFieldExchange(CFieldExchange* pFX)
  403. {
  404. //{{AFX_FIELD_MAP(CRstjdd)
  405. pFX->SetFieldType(CFieldExchange::outputColumn);
  406. RFX_Text(pFX, _T("[name]"), m_name);
  407. //}}AFX_FIELD_MAP
  408. }
  409. /////////////////////////////////////////////////////////////////////////////
  410. // CRstjdd diagnostics
  411. #ifdef _DEBUG
  412. void CRstjdd::AssertValid() const
  413. {
  414. CRecordset::AssertValid();
  415. }
  416. void CRstjdd::Dump(CDumpContext& dc) const
  417. {
  418. CRecordset::Dump(dc);
  419. }
  420. #endif //_DEBUG
  421. IMPLEMENT_DYNAMIC(CRstdressarea, CRecordset)
  422. CRstdressarea::CRstdressarea(CDatabase* pdb)
  423. : CRecordset(pdb)
  424. {
  425. //{{AFX_FIELD_INIT(CRstdressarea)
  426. m_name = _T("");
  427. m_nFields = 1;
  428. //}}AFX_FIELD_INIT
  429. m_nDefaultType = forwardOnly;
  430. this->m_pDatabase = g_curdb;
  431. }
  432. CString CRstdressarea::GetDefaultConnect()
  433. {
  434. return _T("ODBC;DSN=");
  435. }
  436. CString CRstdressarea::GetDefaultSQL()
  437. {
  438. return _T("[dressarea]");
  439. }
  440. void CRstdressarea::DoFieldExchange(CFieldExchange* pFX)
  441. {
  442. //{{AFX_FIELD_MAP(CRstdressarea)
  443. pFX->SetFieldType(CFieldExchange::outputColumn);
  444. RFX_Text(pFX, _T("[name]"), m_name);
  445. //}}AFX_FIELD_MAP
  446. }
  447. /////////////////////////////////////////////////////////////////////////////
  448. // CRstdressarea diagnostics
  449. #ifdef _DEBUG
  450. void CRstdressarea::AssertValid() const
  451. {
  452. CRecordset::AssertValid();
  453. }
  454. void CRstdressarea::Dump(CDumpContext& dc) const
  455. {
  456. CRecordset::Dump(dc);
  457. }
  458. #endif //_DEBUG
  459. IMPLEMENT_DYNAMIC(CRsttxlb2, CRecordset)
  460. CRsttxlb2::CRsttxlb2(CDatabase* pdb)
  461. : CRecordset(pdb)
  462. {
  463. //{{AFX_FIELD_INIT(CRsttxlb2)
  464. m_name = _T("");
  465. m_nFields = 1;
  466. //}}AFX_FIELD_INIT
  467. m_nDefaultType = forwardOnly;
  468. this->m_pDatabase = g_curdb;
  469. }
  470. CString CRsttxlb2::GetDefaultConnect()
  471. {
  472. return _T("ODBC;DSN=");
  473. }
  474. CString CRsttxlb2::GetDefaultSQL()
  475. {
  476. return _T("[txlb2]");
  477. }
  478. void CRsttxlb2::DoFieldExchange(CFieldExchange* pFX)
  479. {
  480. //{{AFX_FIELD_MAP(CRsttxlb2)
  481. pFX->SetFieldType(CFieldExchange::outputColumn);
  482. RFX_Text(pFX, _T("[name]"), m_name);
  483. //}}AFX_FIELD_MAP
  484. }
  485. /////////////////////////////////////////////////////////////////////////////
  486. // CRsttxlb2 diagnostics
  487. #ifdef _DEBUG
  488. void CRsttxlb2::AssertValid() const
  489. {
  490. CRecordset::AssertValid();
  491. }
  492. void CRsttxlb2::Dump(CDumpContext& dc) const
  493. {
  494. CRecordset::Dump(dc);
  495. }
  496. #endif //_DEBUG
  497. IMPLEMENT_DYNAMIC(CRstsale2type, CRecordset)
  498. CRstsale2type::CRstsale2type(CDatabase* pdb)
  499. : CRecordset(pdb)
  500. {
  501. //{{AFX_FIELD_INIT(CRstsale2type)
  502. m_name = _T("");
  503. m_nFields = 1;
  504. //}}AFX_FIELD_INIT
  505. m_nDefaultType = forwardOnly;
  506. this->m_pDatabase = g_curdb;
  507. }
  508. CString CRstsale2type::GetDefaultConnect()
  509. {
  510. return _T("ODBC;DSN=");
  511. }
  512. CString CRstsale2type::GetDefaultSQL()
  513. {
  514. return _T("[sale2type]");
  515. }
  516. void CRstsale2type::DoFieldExchange(CFieldExchange* pFX)
  517. {
  518. //{{AFX_FIELD_MAP(CRstsale2type)
  519. pFX->SetFieldType(CFieldExchange::outputColumn);
  520. RFX_Text(pFX, _T("[name]"), m_name);
  521. //}}AFX_FIELD_MAP
  522. }
  523. /////////////////////////////////////////////////////////////////////////////
  524. // CRstsale2type diagnostics
  525. #ifdef _DEBUG
  526. void CRstsale2type::AssertValid() const
  527. {
  528. CRecordset::AssertValid();
  529. }
  530. void CRstsale2type::Dump(CDumpContext& dc) const
  531. {
  532. CRecordset::Dump(dc);
  533. }
  534. #endif //_DEBUG
  535. IMPLEMENT_DYNAMIC(CRstclientfrom, CRecordset)
  536. CRstclientfrom::CRstclientfrom(CDatabase* pdb)
  537. : CRecordset(pdb)
  538. {
  539. //{{AFX_FIELD_INIT(CRstclientfrom)
  540. m_name = _T("");
  541. m_nFields = 1;
  542. //}}AFX_FIELD_INIT
  543. m_nDefaultType = forwardOnly;
  544. this->m_pDatabase = g_curdb;
  545. }
  546. CString CRstclientfrom::GetDefaultConnect()
  547. {
  548. return _T("ODBC;DSN=");
  549. }
  550. CString CRstclientfrom::GetDefaultSQL()
  551. {
  552. return _T("[clientfrom]");
  553. }
  554. void CRstclientfrom::DoFieldExchange(CFieldExchange* pFX)
  555. {
  556. //{{AFX_FIELD_MAP(CRstclientfrom)
  557. pFX->SetFieldType(CFieldExchange::outputColumn);
  558. RFX_Text(pFX, _T("[name]"), m_name);
  559. //}}AFX_FIELD_MAP
  560. }
  561. /////////////////////////////////////////////////////////////////////////////
  562. // CRstclientfrom diagnostics
  563. #ifdef _DEBUG
  564. void CRstclientfrom::AssertValid() const
  565. {
  566. CRecordset::AssertValid();
  567. }
  568. void CRstclientfrom::Dump(CDumpContext& dc) const
  569. {
  570. CRecordset::Dump(dc);
  571. }
  572. #endif //_DEBUG
  573. IMPLEMENT_DYNAMIC(CRstclientreason, CRecordset)
  574. CRstclientreason::CRstclientreason(CDatabase* pdb)
  575. : CRecordset(pdb)
  576. {
  577. //{{AFX_FIELD_INIT(CRstclientreason)
  578. m_name = _T("");
  579. m_nFields = 1;
  580. //}}AFX_FIELD_INIT
  581. m_nDefaultType = forwardOnly;
  582. this->m_pDatabase = g_curdb;
  583. }
  584. CString CRstclientreason::GetDefaultConnect()
  585. {
  586. return _T("ODBC;DSN=");
  587. }
  588. CString CRstclientreason::GetDefaultSQL()
  589. {
  590. return _T("[clientreason]");
  591. }
  592. void CRstclientreason::DoFieldExchange(CFieldExchange* pFX)
  593. {
  594. //{{AFX_FIELD_MAP(CRstclientreason)
  595. pFX->SetFieldType(CFieldExchange::outputColumn);
  596. RFX_Text(pFX, _T("[name]"), m_name);
  597. //}}AFX_FIELD_MAP
  598. }
  599. /////////////////////////////////////////////////////////////////////////////
  600. // CRstclientreason diagnostics
  601. #ifdef _DEBUG
  602. void CRstclientreason::AssertValid() const
  603. {
  604. CRecordset::AssertValid();
  605. }
  606. void CRstclientreason::Dump(CDumpContext& dc) const
  607. {
  608. CRecordset::Dump(dc);
  609. }
  610. #endif //_DEBUG
  611. IMPLEMENT_DYNAMIC(CRstArea, CRecordset)
  612. CRstArea::CRstArea(CDatabase* pdb)
  613. : CRecordset(pdb)
  614. {
  615. //{{AFX_FIELD_INIT(CRstArea)
  616. m_name = _T("");
  617. m_nFields = 1;
  618. //}}AFX_FIELD_INIT
  619. m_nDefaultType = forwardOnly;
  620. this->m_pDatabase = g_curdb;
  621. }
  622. CString CRstArea::GetDefaultConnect()
  623. {
  624. return _T("ODBC;DSN=");
  625. }
  626. CString CRstArea::GetDefaultSQL()
  627. {
  628. return _T("[area]");
  629. }
  630. void CRstArea::DoFieldExchange(CFieldExchange* pFX)
  631. {
  632. //{{AFX_FIELD_MAP(CRstArea)
  633. pFX->SetFieldType(CFieldExchange::outputColumn);
  634. RFX_Text(pFX, _T("[name]"), m_name);
  635. //}}AFX_FIELD_MAP
  636. }
  637. /////////////////////////////////////////////////////////////////////////////
  638. // CRstArea diagnostics
  639. #ifdef _DEBUG
  640. void CRstArea::AssertValid() const
  641. {
  642. CRecordset::AssertValid();
  643. }
  644. void CRstArea::Dump(CDumpContext& dc) const
  645. {
  646. CRecordset::Dump(dc);
  647. }
  648. #endif //_DEBUG
  649. /////////////////////////////////////////////////////////////////////////////
  650. // CRstBuMen
  651. IMPLEMENT_DYNAMIC(CRstBuMen, CRecordset)
  652. CRstBuMen::CRstBuMen(CDatabase* pdb)
  653. : CRecordset(pdb)
  654. {
  655. //{{AFX_FIELD_INIT(CRstBuMen)
  656. m_name = _T("");
  657. m_nFields = 1;
  658. //}}AFX_FIELD_INIT
  659. m_nDefaultType = forwardOnly;
  660. this->m_pDatabase = g_curdb;
  661. }
  662. CString CRstBuMen::GetDefaultConnect()
  663. {
  664. return _T("ODBC;DSN=");
  665. }
  666. CString CRstBuMen::GetDefaultSQL()
  667. {
  668. return _T("[bumen]");
  669. }
  670. void CRstBuMen::DoFieldExchange(CFieldExchange* pFX)
  671. {
  672. //{{AFX_FIELD_MAP(CRstBuMen)
  673. pFX->SetFieldType(CFieldExchange::outputColumn);
  674. RFX_Text(pFX, _T("[name]"), m_name);
  675. //}}AFX_FIELD_MAP
  676. }
  677. /////////////////////////////////////////////////////////////////////////////
  678. // CRstBuMen diagnostics
  679. #ifdef _DEBUG
  680. void CRstBuMen::AssertValid() const
  681. {
  682. CRecordset::AssertValid();
  683. }
  684. void CRstBuMen::Dump(CDumpContext& dc) const
  685. {
  686. CRecordset::Dump(dc);
  687. }
  688. #endif //_DEBUG
  689. IMPLEMENT_DYNAMIC(CRstPayOutSet, CRecordset)
  690. CRstPayOutSet::CRstPayOutSet(CDatabase* pdb)
  691. : CRecordset(pdb)
  692. {
  693. //{{AFX_FIELD_INIT(CRstPayOutSet)
  694. xiangmu = _T("");
  695. m_nFields = 1;
  696. //}}AFX_FIELD_INIT
  697. m_nDefaultType = forwardOnly;
  698. this->m_pDatabase = g_curdb;
  699. }
  700. CString CRstPayOutSet::GetDefaultConnect()
  701. {
  702. return _T("ODBC;DSN=");
  703. }
  704. CString CRstPayOutSet::GetDefaultSQL()
  705. {
  706. return _T("[gudingfeiyongxiangmu]");
  707. }
  708. void CRstPayOutSet::DoFieldExchange(CFieldExchange* pFX)
  709. {
  710. //{{AFX_FIELD_MAP(CRstPayOutSet)
  711. pFX->SetFieldType(CFieldExchange::outputColumn);
  712. RFX_Text(pFX, _T("[xiangmu]"), xiangmu);
  713. //}}AFX_FIELD_MAP
  714. }
  715. /////////////////////////////////////////////////////////////////////////////
  716. // CRstPayOutSet diagnostics
  717. #ifdef _DEBUG
  718. void CRstPayOutSet::AssertValid() const
  719. {
  720. CRecordset::AssertValid();
  721. }
  722. void CRstPayOutSet::Dump(CDumpContext& dc) const
  723. {
  724. CRecordset::Dump(dc);
  725. }
  726. #endif //_DEBUG
  727. /////////////////////////////////////////////////////////////////////////////
  728. // CRstShangPin
  729. IMPLEMENT_DYNAMIC(CRstShangPin, CRecordset)
  730. CRstShangPin::CRstShangPin(CDatabase* pdb)
  731. : CRecordset(pdb)
  732. {
  733. //{{AFX_FIELD_INIT(CRstShangPin)
  734. spid = _T("");
  735. spname = _T("");
  736. spdanwei = _T("");
  737. spjiaga1 = _T("");
  738. spjiage2 = _T("");
  739. spjiage3 = _T("");
  740. splb = _T("");
  741. spbz = _T("");
  742. hide = _T("");
  743. m_nFields = 9;
  744. //}}AFX_FIELD_INIT
  745. m_nDefaultType = forwardOnly;
  746. this->m_pDatabase = g_curdb;
  747. // m_strSort="spid desc";
  748. }
  749. CString CRstShangPin::GetDefaultConnect()
  750. {
  751. return _T("ODBC;DSN=");
  752. }
  753. CString CRstShangPin::GetDefaultSQL()
  754. {
  755. return _T("[shangpin]");
  756. }
  757. void CRstShangPin::DoFieldExchange(CFieldExchange* pFX)
  758. {
  759. //{{AFX_FIELD_MAP(CRstShangPin)
  760. pFX->SetFieldType(CFieldExchange::outputColumn);
  761. RFX_Text(pFX, _T("[spid]"), spid);
  762. RFX_Text(pFX, _T("[spname]"), spname);
  763. RFX_Text(pFX, _T("[spdanwei]"), spdanwei);
  764. RFX_Text(pFX, _T("[spjiaga1]"), spjiaga1);
  765. RFX_Text(pFX, _T("[spjiage2]"), spjiage2);
  766. RFX_Text(pFX, _T("[spjiage3]"), spjiage3);
  767. RFX_Text(pFX, _T("[splb]"), splb);
  768. RFX_Text(pFX, _T("[hide]"), hide);
  769. RFX_Text(pFX, _T("[spbz]"), spbz, 4096);
  770. //}}AFX_FIELD_MAP
  771. }
  772. /////////////////////////////////////////////////////////////////////////////
  773. // CRstShangPin diagnostics
  774. #ifdef _DEBUG
  775. void CRstShangPin::AssertValid() const
  776. {
  777. CRecordset::AssertValid();
  778. }
  779. void CRstShangPin::Dump(CDumpContext& dc) const
  780. {
  781. CRecordset::Dump(dc);
  782. }
  783. #endif //_DEBUG
  784. /////////////////////////////////////////////////////////////////////////////
  785. // CRstRenYuan
  786. IMPLEMENT_DYNAMIC(CRstRenYuan, CRecordset)
  787. CRstRenYuan::CRstRenYuan(CDatabase* pdb)
  788. : CRecordset(pdb)
  789. {
  790. //{{AFX_FIELD_INIT(CRstRenYuan)
  791. bm = _T("");
  792. id = _T("");
  793. name = _T("");
  794. sex = _T("");
  795. phone = _T("");
  796. address = _T("");
  797. bz = _T("");
  798. address2 = _T("");
  799. idno = _T("");
  800. marry = _T("");
  801. dimission = _T("");
  802. loginno1 = _T("");
  803. loginno2 = _T("");
  804. m_nFields = 14;
  805. //}}AFX_FIELD_INIT
  806. m_nDefaultType = forwardOnly;
  807. this->m_pDatabase = g_curdb;
  808. m_strSort="bm desc,name desc";
  809. }
  810. CString CRstRenYuan::GetDefaultConnect()
  811. {
  812. return _T("ODBC;DSN=");
  813. }
  814. CString CRstRenYuan::GetDefaultSQL()
  815. {
  816. return _T("[renyuan]");
  817. }
  818. void CRstRenYuan::DoFieldExchange(CFieldExchange* pFX)
  819. {
  820. //{{AFX_FIELD_MAP(CRstRenYuan)
  821. pFX->SetFieldType(CFieldExchange::outputColumn);
  822. RFX_Text(pFX, _T("[bm]"), bm);
  823. RFX_Text(pFX, _T("[id]"), id);
  824. RFX_Text(pFX, _T("[name]"), name);
  825. RFX_Text(pFX, _T("[sex]"), sex);
  826. RFX_Text(pFX, _T("[phone]"), phone);
  827. RFX_Text(pFX, _T("[address]"), address);
  828. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  829. RFX_Text(pFX, _T("[address2]"), address2);
  830. RFX_Text(pFX, _T("[idno]"), idno);
  831. RFX_Text(pFX, _T("[marry]"), marry);
  832. RFX_Text(pFX, _T("[dimission]"), dimission);
  833. RFX_Text(pFX, _T("[loginno1]"), loginno1);
  834. RFX_Text(pFX, _T("[loginno2]"), loginno2); RFX_Text(pFX, _T("[level]"), level);
  835. //}}AFX_FIELD_MAP
  836. }
  837. /////////////////////////////////////////////////////////////////////////////
  838. // CRstRenYuan diagnostics
  839. #ifdef _DEBUG
  840. void CRstRenYuan::AssertValid() const
  841. {
  842. CRecordset::AssertValid();
  843. }
  844. void CRstRenYuan::Dump(CDumpContext& dc) const
  845. {
  846. CRecordset::Dump(dc);
  847. }
  848. #endif //_DEBUG
  849. IMPLEMENT_DYNAMIC(CRstRenYuanPhoto, CRecordset)
  850. CRstRenYuanPhoto::CRstRenYuanPhoto(CDatabase* pdb)
  851. : CRecordset(pdb)
  852. {
  853. //{{AFX_FIELD_INIT(CRstRenYuanPhoto)
  854. m_nFields = 1;
  855. //}}AFX_FIELD_INIT
  856. this->m_pDatabase = g_curdb;
  857. m_nDefaultType = dynamic;
  858. }
  859. CString CRstRenYuanPhoto::GetDefaultConnect()
  860. {
  861. return _T("ODBC;DSN=");
  862. }
  863. CString CRstRenYuanPhoto::GetDefaultSQL()
  864. {
  865. return _T("[renyuan]");
  866. }
  867. void CRstRenYuanPhoto::DoFieldExchange(CFieldExchange* pFX)
  868. {
  869. //{{AFX_FIELD_MAP(CRstRenYuanPhoto)
  870. pFX->SetFieldType(CFieldExchange::outputColumn);
  871. RFX_LongBinary(pFX, _T("[photo]"), photo);
  872. //}}AFX_FIELD_MAP
  873. }
  874. /////////////////////////////////////////////////////////////////////////////
  875. // CRstRenYuanPhoto diagnostics
  876. #ifdef _DEBUG
  877. void CRstRenYuanPhoto::AssertValid() const
  878. {
  879. CRecordset::AssertValid();
  880. }
  881. void CRstRenYuanPhoto::Dump(CDumpContext& dc) const
  882. {
  883. CRecordset::Dump(dc);
  884. }
  885. #endif //_DEBUG
  886. IMPLEMENT_DYNAMIC(CRstClientPhoto, CRecordset)
  887. CRstClientPhoto::CRstClientPhoto(CDatabase* pdb)
  888. : CRecordset(pdb)
  889. {
  890. //{{AFX_FIELD_INIT(CRstClientPhoto)
  891. m_nFields = 1;
  892. //}}AFX_FIELD_INIT
  893. this->m_pDatabase = g_curdb;
  894. m_nDefaultType = dynamic;
  895. }
  896. CString CRstClientPhoto::GetDefaultConnect()
  897. {
  898. return _T("ODBC;DSN=");
  899. }
  900. CString CRstClientPhoto::GetDefaultSQL()
  901. {
  902. return _T("[client]");
  903. }
  904. void CRstClientPhoto::DoFieldExchange(CFieldExchange* pFX)
  905. {
  906. //{{AFX_FIELD_MAP(CRstClientPhoto)
  907. pFX->SetFieldType(CFieldExchange::outputColumn);
  908. RFX_LongBinary(pFX, _T("[photo]"), photo);
  909. //}}AFX_FIELD_MAP
  910. }
  911. /////////////////////////////////////////////////////////////////////////////
  912. // CRstClientPhoto diagnostics
  913. #ifdef _DEBUG
  914. void CRstClientPhoto::AssertValid() const
  915. {
  916. CRecordset::AssertValid();
  917. }
  918. void CRstClientPhoto::Dump(CDumpContext& dc) const
  919. {
  920. CRecordset::Dump(dc);
  921. }
  922. #endif //_DEBUG
  923. IMPLEMENT_DYNAMIC(CRstclientcontract, CRecordset)
  924. CRstclientcontract::CRstclientcontract(CDatabase* pdb)
  925. : CRecordset(pdb)
  926. {
  927. //{{AFX_FIELD_INIT(CRstclientcontract)
  928. m_nFields = 3;
  929. //}}AFX_FIELD_INIT
  930. this->m_pDatabase = g_curdb;
  931. m_nDefaultType = dynamic;
  932. }
  933. CString CRstclientcontract::GetDefaultConnect()
  934. {
  935. return _T("ODBC;DSN=");
  936. }
  937. CString CRstclientcontract::GetDefaultSQL()
  938. {
  939. return _T("[clientcontract]");
  940. }
  941. void CRstclientcontract::DoFieldExchange(CFieldExchange* pFX)
  942. {
  943. //{{AFX_FIELD_MAP(CRstclientcontract)
  944. pFX->SetFieldType(CFieldExchange::outputColumn);
  945. RFX_LongBinary(pFX, _T("[photo]"), photo);
  946. RFX_Text(pFX, _T("[date]"), date); RFX_Text(pFX, _T("[id]"), id);
  947. //}}AFX_FIELD_MAP
  948. }
  949. /////////////////////////////////////////////////////////////////////////////
  950. // CRstclientcontract diagnostics
  951. #ifdef _DEBUG
  952. void CRstclientcontract::AssertValid() const
  953. {
  954. CRecordset::AssertValid();
  955. }
  956. void CRstclientcontract::Dump(CDumpContext& dc) const
  957. {
  958. CRecordset::Dump(dc);
  959. }
  960. #endif //_DEBUG
  961. IMPLEMENT_DYNAMIC(CRstclientcontract2, CRecordset)
  962. CRstclientcontract2::CRstclientcontract2(CDatabase* pdb)
  963. : CRecordset(pdb)
  964. {
  965. //{{AFX_FIELD_INIT(CRstclientcontract2)
  966. m_nFields = 1;
  967. //}}AFX_FIELD_INIT
  968. m_nDefaultType = forwardOnly;
  969. this->m_pDatabase = g_curdb;
  970. m_strSort="date";
  971. }
  972. CString CRstclientcontract2::GetDefaultConnect()
  973. {
  974. return _T("ODBC;DSN=");
  975. }
  976. CString CRstclientcontract2::GetDefaultSQL()
  977. {
  978. return _T("[clientcontract]");
  979. }
  980. void CRstclientcontract2::DoFieldExchange(CFieldExchange* pFX)
  981. {
  982. //{{AFX_FIELD_MAP(CRstclientcontract2)
  983. pFX->SetFieldType(CFieldExchange::outputColumn);
  984. RFX_Text(pFX, _T("[date]"), date);
  985. //}}AFX_FIELD_MAP
  986. }
  987. /////////////////////////////////////////////////////////////////////////////
  988. // CRstclientcontract2 diagnostics
  989. #ifdef _DEBUG
  990. void CRstclientcontract2::AssertValid() const
  991. {
  992. CRecordset::AssertValid();
  993. }
  994. void CRstclientcontract2::Dump(CDumpContext& dc) const
  995. {
  996. CRecordset::Dump(dc);
  997. }
  998. #endif //_DEBUG
  999. IMPLEMENT_DYNAMIC(CRstgudingfeiyongPhoto, CRecordset)
  1000. CRstgudingfeiyongPhoto::CRstgudingfeiyongPhoto(CDatabase* pdb)
  1001. : CRecordset(pdb)
  1002. {
  1003. //{{AFX_FIELD_INIT(CRstgudingfeiyongPhoto)
  1004. m_nFields = 1;
  1005. //}}AFX_FIELD_INIT
  1006. this->m_pDatabase = g_curdb;
  1007. m_nDefaultType = dynamic;
  1008. }
  1009. CString CRstgudingfeiyongPhoto::GetDefaultConnect()
  1010. {
  1011. return _T("ODBC;DSN=");
  1012. }
  1013. CString CRstgudingfeiyongPhoto::GetDefaultSQL()
  1014. {
  1015. return _T("[gudingfeiyong]");
  1016. }
  1017. void CRstgudingfeiyongPhoto::DoFieldExchange(CFieldExchange* pFX)
  1018. {
  1019. //{{AFX_FIELD_MAP(CRstgudingfeiyongPhoto)
  1020. pFX->SetFieldType(CFieldExchange::outputColumn);
  1021. RFX_LongBinary(pFX, _T("[photo]"), photo);
  1022. //}}AFX_FIELD_MAP
  1023. }
  1024. /////////////////////////////////////////////////////////////////////////////
  1025. // CRstgudingfeiyongPhoto diagnostics
  1026. #ifdef _DEBUG
  1027. void CRstgudingfeiyongPhoto::AssertValid() const
  1028. {
  1029. CRecordset::AssertValid();
  1030. }
  1031. void CRstgudingfeiyongPhoto::Dump(CDumpContext& dc) const
  1032. {
  1033. CRecordset::Dump(dc);
  1034. }
  1035. #endif //_DEBUG
  1036. IMPLEMENT_DYNAMIC(CRstinsidemsgFile, CRecordset)
  1037. CRstinsidemsgFile::CRstinsidemsgFile(CDatabase* pdb)
  1038. : CRecordset(pdb)
  1039. {
  1040. //{{AFX_FIELD_INIT(CRstinsidemsgFile)
  1041. m_nFields = 1;
  1042. //}}AFX_FIELD_INIT
  1043. this->m_pDatabase = g_curdb;
  1044. m_nDefaultType = dynamic;
  1045. }
  1046. CString CRstinsidemsgFile::GetDefaultConnect()
  1047. {
  1048. return _T("ODBC;DSN=");
  1049. }
  1050. CString CRstinsidemsgFile::GetDefaultSQL()
  1051. {
  1052. return _T("[insidemsg]");
  1053. }
  1054. void CRstinsidemsgFile::DoFieldExchange(CFieldExchange* pFX)
  1055. {
  1056. //{{AFX_FIELD_MAP(CRstinsidemsgFile)
  1057. pFX->SetFieldType(CFieldExchange::outputColumn);
  1058. RFX_LongBinary(pFX, _T("[files]"), files);
  1059. //}}AFX_FIELD_MAP
  1060. }
  1061. /////////////////////////////////////////////////////////////////////////////
  1062. // CRstinsidemsgFile diagnostics
  1063. #ifdef _DEBUG
  1064. void CRstinsidemsgFile::AssertValid() const
  1065. {
  1066. CRecordset::AssertValid();
  1067. }
  1068. void CRstinsidemsgFile::Dump(CDumpContext& dc) const
  1069. {
  1070. CRecordset::Dump(dc);
  1071. }
  1072. #endif //_DEBUG
  1073. IMPLEMENT_DYNAMIC(CRstversion2, CRecordset)
  1074. CRstversion2::CRstversion2(CDatabase* pdb)
  1075. : CRecordset(pdb)
  1076. {
  1077. //{{AFX_FIELD_INIT(CRstversion2)
  1078. m_nFields = 1;
  1079. //}}AFX_FIELD_INIT
  1080. this->m_pDatabase = g_curdb;
  1081. m_nDefaultType = dynamic;
  1082. }
  1083. CString CRstversion2::GetDefaultConnect()
  1084. {
  1085. return _T("ODBC;DSN=");
  1086. }
  1087. CString CRstversion2::GetDefaultSQL()
  1088. {
  1089. return _T("[version]");
  1090. }
  1091. void CRstversion2::DoFieldExchange(CFieldExchange* pFX)
  1092. {
  1093. //{{AFX_FIELD_MAP(CRstversion2)
  1094. pFX->SetFieldType(CFieldExchange::outputColumn);
  1095. RFX_LongBinary(pFX, _T("[photo]"), photo);
  1096. //}}AFX_FIELD_MAP
  1097. }
  1098. /////////////////////////////////////////////////////////////////////////////
  1099. // CRstversion2 diagnostics
  1100. #ifdef _DEBUG
  1101. void CRstversion2::AssertValid() const
  1102. {
  1103. CRecordset::AssertValid();
  1104. }
  1105. void CRstversion2::Dump(CDumpContext& dc) const
  1106. {
  1107. CRecordset::Dump(dc);
  1108. }
  1109. #endif //_DEBUG
  1110. IMPLEMENT_DYNAMIC(CRstTaoXi, CRecordset)
  1111. CRstTaoXi::CRstTaoXi(CDatabase* pdb)
  1112. : CRecordset(pdb)
  1113. {
  1114. //{{AFX_FIELD_INIT(CRstTaoXi)
  1115. taoxiid = _T("");
  1116. taoxiname = _T("");
  1117. taoxijiage = _T("");
  1118. zs = _T("");
  1119. type = _T("");
  1120. show = _T("");
  1121. m_nFields = 6;
  1122. //}}AFX_FIELD_INIT
  1123. m_nDefaultType = forwardOnly;
  1124. this->m_pDatabase = g_curdb;
  1125. m_strSort="type,taoxiname";
  1126. }
  1127. CString CRstTaoXi::GetDefaultConnect()
  1128. {
  1129. return _T("ODBC;DSN=");
  1130. }
  1131. CString CRstTaoXi::GetDefaultSQL()
  1132. {
  1133. return _T("[taoxi]");
  1134. }
  1135. void CRstTaoXi::DoFieldExchange(CFieldExchange* pFX)
  1136. {
  1137. //{{AFX_FIELD_MAP(CRstTaoXi)
  1138. pFX->SetFieldType(CFieldExchange::outputColumn);
  1139. RFX_Text(pFX, _T("[taoxiid]"), taoxiid);
  1140. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  1141. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  1142. RFX_Text(pFX, _T("[zs]"), zs);
  1143. RFX_Text(pFX, _T("[type]"), type);
  1144. RFX_Text(pFX, _T("[show]"), show);
  1145. //}}AFX_FIELD_MAP
  1146. }
  1147. /////////////////////////////////////////////////////////////////////////////
  1148. // CRstTaoXi diagnostics
  1149. #ifdef _DEBUG
  1150. void CRstTaoXi::AssertValid() const
  1151. {
  1152. CRecordset::AssertValid();
  1153. }
  1154. void CRstTaoXi::Dump(CDumpContext& dc) const
  1155. {
  1156. CRecordset::Dump(dc);
  1157. }
  1158. #endif //_DEBUG
  1159. IMPLEMENT_DYNAMIC(CRstTaoXiSP1, CRecordset)
  1160. CRstTaoXiSP1::CRstTaoXiSP1(CDatabase* pdb)
  1161. : CRecordset(pdb)
  1162. {
  1163. //{{AFX_FIELD_INIT(CRstTaoXiSP1)
  1164. taoxiid = _T("");
  1165. spid1 = _T("");
  1166. shuliang = _T("");
  1167. m_nFields = 3;
  1168. //}}AFX_FIELD_INIT
  1169. m_nDefaultType = forwardOnly;
  1170. this->m_pDatabase = g_curdb;
  1171. }
  1172. CString CRstTaoXiSP1::GetDefaultConnect()
  1173. {
  1174. return _T("ODBC;DSN=");
  1175. }
  1176. CString CRstTaoXiSP1::GetDefaultSQL()
  1177. {
  1178. return _T("[taoxishangpin1]");
  1179. }
  1180. void CRstTaoXiSP1::DoFieldExchange(CFieldExchange* pFX)
  1181. {
  1182. //{{AFX_FIELD_MAP(CRstTaoXiSP1)
  1183. pFX->SetFieldType(CFieldExchange::outputColumn);
  1184. RFX_Text(pFX, _T("[taoxiid]"), taoxiid);
  1185. RFX_Text(pFX, _T("[spid1]"), spid1);
  1186. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  1187. //}}AFX_FIELD_MAP
  1188. }
  1189. /////////////////////////////////////////////////////////////////////////////
  1190. // CRstTaoXiSP1 diagnostics
  1191. #ifdef _DEBUG
  1192. void CRstTaoXiSP1::AssertValid() const
  1193. {
  1194. CRecordset::AssertValid();
  1195. }
  1196. void CRstTaoXiSP1::Dump(CDumpContext& dc) const
  1197. {
  1198. CRecordset::Dump(dc);
  1199. }
  1200. #endif //_DEBUG
  1201. IMPLEMENT_DYNAMIC(CRstTaoXiSP2, CRecordset)
  1202. CRstTaoXiSP2::CRstTaoXiSP2(CDatabase* pdb)
  1203. : CRecordset(pdb)
  1204. {
  1205. //{{AFX_FIELD_INIT(CRstTaoXiSP2)
  1206. taoxiid = _T("");
  1207. spid2 = _T("");
  1208. shuliang = _T("");
  1209. m_nFields = 3;
  1210. //}}AFX_FIELD_INIT
  1211. m_nDefaultType = forwardOnly;
  1212. this->m_pDatabase = g_curdb;
  1213. }
  1214. CString CRstTaoXiSP2::GetDefaultConnect()
  1215. {
  1216. return _T("ODBC;DSN=");
  1217. }
  1218. CString CRstTaoXiSP2::GetDefaultSQL()
  1219. {
  1220. return _T("[taoxishangpin2]");
  1221. }
  1222. void CRstTaoXiSP2::DoFieldExchange(CFieldExchange* pFX)
  1223. {
  1224. //{{AFX_FIELD_MAP(CRstTaoXiSP2)
  1225. pFX->SetFieldType(CFieldExchange::outputColumn);
  1226. RFX_Text(pFX, _T("[taoxiid]"), taoxiid);
  1227. RFX_Text(pFX, _T("[spid2]"), spid2);
  1228. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  1229. //}}AFX_FIELD_MAP
  1230. }
  1231. /////////////////////////////////////////////////////////////////////////////
  1232. // CRstTaoXiSP2 diagnostics
  1233. #ifdef _DEBUG
  1234. void CRstTaoXiSP2::AssertValid() const
  1235. {
  1236. CRecordset::AssertValid();
  1237. }
  1238. void CRstTaoXiSP2::Dump(CDumpContext& dc) const
  1239. {
  1240. CRecordset::Dump(dc);
  1241. }
  1242. #endif //_DEBUG
  1243. IMPLEMENT_DYNAMIC(CRstProvider, CRecordset)
  1244. CRstProvider::CRstProvider(CDatabase* pdb)
  1245. : CRecordset(pdb)
  1246. {
  1247. //{{AFX_FIELD_INIT(CRstProvider)
  1248. gyid = _T("");
  1249. gyname = _T("");
  1250. addr = _T("");
  1251. tel = _T("");
  1252. fax = _T("");
  1253. netaddress = _T("");
  1254. bz = _T("");
  1255. m_nFields = 7;
  1256. //}}AFX_FIELD_INIT
  1257. m_nDefaultType = forwardOnly;
  1258. this->m_pDatabase = g_curdb;
  1259. }
  1260. CString CRstProvider::GetDefaultConnect()
  1261. {
  1262. return _T("ODBC;DSN=");
  1263. }
  1264. CString CRstProvider::GetDefaultSQL()
  1265. {
  1266. return _T("[gongyingshang]");
  1267. }
  1268. void CRstProvider::DoFieldExchange(CFieldExchange* pFX)
  1269. {
  1270. //{{AFX_FIELD_MAP(CRstProvider)
  1271. pFX->SetFieldType(CFieldExchange::outputColumn);
  1272. RFX_Text(pFX, _T("[gyid]"), gyid);
  1273. RFX_Text(pFX, _T("[gyname]"), gyname);
  1274. RFX_Text(pFX, _T("[addr]"), addr);
  1275. RFX_Text(pFX, _T("[tel]"), tel);
  1276. RFX_Text(pFX, _T("[fax]"), fax);
  1277. RFX_Text(pFX, _T("[netaddress]"), netaddress);
  1278. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  1279. //}}AFX_FIELD_MAP
  1280. }
  1281. /////////////////////////////////////////////////////////////////////////////
  1282. // CRstProvider diagnostics
  1283. #ifdef _DEBUG
  1284. void CRstProvider::AssertValid() const
  1285. {
  1286. CRecordset::AssertValid();
  1287. }
  1288. void CRstProvider::Dump(CDumpContext& dc) const
  1289. {
  1290. CRecordset::Dump(dc);
  1291. }
  1292. #endif //_DEBUG
  1293. IMPLEMENT_DYNAMIC(CRstdindanclientview, CRecordset)
  1294. CRstdindanclientview::CRstdindanclientview(CDatabase* pdb)
  1295. : CRecordset(pdb)
  1296. {
  1297. //{{AFX_FIELD_INIT(CRstdindanclientview)
  1298. m_nFields = 14;
  1299. //}}AFX_FIELD_INIT
  1300. m_nDefaultType = forwardOnly;
  1301. this->m_pDatabase = g_curdb;
  1302. }
  1303. CString CRstdindanclientview::GetDefaultConnect()
  1304. {
  1305. return _T("ODBC;DSN=");
  1306. }
  1307. CString CRstdindanclientview::GetDefaultSQL()
  1308. {
  1309. return _T("[dindanclient]");
  1310. }
  1311. void CRstdindanclientview::DoFieldExchange(CFieldExchange* pFX)
  1312. {
  1313. //{{AFX_FIELD_MAP(CRstdindanclientview)
  1314. pFX->SetFieldType(CFieldExchange::outputColumn);
  1315. RFX_Text(pFX, _T("[name1]"), name1);
  1316. RFX_Text(pFX, _T("[name2]"), name2);
  1317. RFX_Text(pFX, _T("[phone1]"), phone1);
  1318. RFX_Text(pFX, _T("[phone2]"), phone2);
  1319. RFX_Text(pFX, _T("[birthday1]"), birthday1);
  1320. RFX_Text(pFX, _T("[birthday2]"), birthday2);
  1321. RFX_Text(pFX, _T("[check1]"), check1);
  1322. RFX_Text(pFX, _T("[check2]"), check2);
  1323. RFX_Text(pFX, _T("[check3]"), check3);
  1324. RFX_Text(pFX, _T("[time3]"), time3);
  1325. RFX_Text(pFX, _T("[time1]"), time1);
  1326. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  1327. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  1328. RFX_Text(pFX, _T("[payed4]"), payed4);
  1329. //}}AFX_FIELD_MAP
  1330. }
  1331. /////////////////////////////////////////////////////////////////////////////
  1332. // CRstdindanclientview diagnostics
  1333. #ifdef _DEBUG
  1334. void CRstdindanclientview::AssertValid() const
  1335. {
  1336. CRecordset::AssertValid();
  1337. }
  1338. void CRstdindanclientview::Dump(CDumpContext& dc) const
  1339. {
  1340. CRecordset::Dump(dc);
  1341. }
  1342. #endif //_DEBUG
  1343. IMPLEMENT_DYNAMIC(CRstalarmview, CRecordset)
  1344. CRstalarmview::CRstalarmview(CDatabase* pdb)
  1345. : CRecordset(pdb)
  1346. {
  1347. //{{AFX_FIELD_INIT(CRstalarmview)
  1348. //m_nFields = 14; // modify at 2014.06.12
  1349. m_nFields = 16; // modify at 2014.06.12
  1350. //}}AFX_FIELD_INIT
  1351. m_nDefaultType = forwardOnly;
  1352. this->m_pDatabase = g_curdb;
  1353. m_strSort="id";
  1354. }
  1355. CString CRstalarmview::GetDefaultConnect()
  1356. {
  1357. return _T("ODBC;DSN=");
  1358. }
  1359. CString CRstalarmview::GetDefaultSQL()
  1360. {
  1361. return _T("[alarmview]");
  1362. }
  1363. void CRstalarmview::DoFieldExchange(CFieldExchange* pFX)
  1364. {
  1365. //{{AFX_FIELD_MAP(CRstalarmview)
  1366. pFX->SetFieldType(CFieldExchange::outputColumn);
  1367. RFX_Text(pFX, _T("[id]"), id); RFX_Text(pFX, _T("[name1]"), name1);
  1368. RFX_Text(pFX, _T("[name2]"), name2);
  1369. RFX_Text(pFX, _T("[ren]"), ren);
  1370. RFX_Text(pFX, _T("[time1]"), time1);
  1371. RFX_Text(pFX, _T("[time2]"), time2); // Jeff add at 2014.06.12:拍照时间;
  1372. RFX_Text(pFX, _T("[time4]"), time4); // Jeff add at 2014.06.12:选片时间;
  1373. RFX_Text(pFX, _T("[status]"), status);
  1374. RFX_Text(pFX, _T("[status2]"), status2);
  1375. RFX_Text(pFX, _T("[status8]"), status8);
  1376. RFX_Text(pFX, _T("[cot1]"), cot1);
  1377. RFX_Text(pFX, _T("[cot2]"), cot2);
  1378. RFX_Text(pFX, _T("[phone1]"), phone1);
  1379. RFX_Text(pFX, _T("[phone2]"), phone2);
  1380. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  1381. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  1382. //}}AFX_FIELD_MAP
  1383. }
  1384. /////////////////////////////////////////////////////////////////////////////
  1385. // CRstalarmview diagnostics
  1386. #ifdef _DEBUG
  1387. void CRstalarmview::AssertValid() const
  1388. {
  1389. CRecordset::AssertValid();
  1390. }
  1391. void CRstalarmview::Dump(CDumpContext& dc) const
  1392. {
  1393. CRecordset::Dump(dc);
  1394. }
  1395. #endif //_DEBUG
  1396. IMPLEMENT_DYNAMIC(CRstBooking, CRecordset)
  1397. CRstBooking::CRstBooking(CDatabase* pdb)
  1398. : CRecordset(pdb)
  1399. {
  1400. id = _T("");
  1401. money1 = _T("");
  1402. money2 = _T("");
  1403. money3 = _T("");
  1404. name1 = _T("");
  1405. name2 = _T("");
  1406. taoxiid = _T("");
  1407. taoxiname = _T("");
  1408. taoxijiage = _T("");
  1409. taoxizs = _T("");
  1410. time1 = _T("");
  1411. time2 = _T("");
  1412. time3 = _T("");
  1413. bm = _T("");
  1414. ren = _T("");
  1415. discount = _T("");
  1416. payed1 = _T("");
  1417. payed2 = _T("");
  1418. payed3 = _T("");
  1419. payed4 = _T("");
  1420. payed5 = _T("");
  1421. time4 = _T("");
  1422. time5 = _T("");
  1423. takezs = _T("");
  1424. choosezs = _T("");
  1425. status = _T("");
  1426. clothescount = _T("");
  1427. clothescount2 = _T("");
  1428. outside = _T("");
  1429. outside2 = _T("");
  1430. style = _T("");
  1431. payed4time = _T("");
  1432. status2 = _T("");
  1433. status3 = _T("");
  1434. waiter1 = _T("");
  1435. waiter2 = _T("");
  1436. waiter3 = _T("");
  1437. waiter4 = _T("");
  1438. bz = _T("");
  1439. bz2 = _T("");
  1440. bz3 = _T("");
  1441. urgent = _T("");
  1442. waiter6 = _T("");
  1443. waiter5 = _T("");
  1444. waiter7 = _T("");
  1445. waiter8 = _T(""); // add by Jeff;
  1446. status4 = _T("");
  1447. status5 = _T("");
  1448. status6 = _T("");
  1449. memberno = _T("");
  1450. time6 = _T("");
  1451. waiter12 = _T("");
  1452. waiter22 = _T("");
  1453. waiter1rate = _T("");
  1454. waiter2rate = _T("");
  1455. txtype = _T("");
  1456. ren2 = _T("");
  1457. delphotos = _T("");
  1458. delphotos2 = _T("");
  1459. status8 = _T("");
  1460. growthtxselname = _T("");
  1461. designno = _T("");
  1462. designreplaceno = _T("");
  1463. size = _T("");
  1464. phone1 = _T("");
  1465. phone2 = _T("");
  1466. dindantype = _T("");
  1467. contractno1 = _T("");
  1468. contractno2 = _T("");
  1469. cfno = _T("");
  1470. from = _T("");
  1471. reason = _T("");
  1472. time7 = _T("");
  1473. waiter13 = _T("");
  1474. waiter14 = _T("");
  1475. time8 = _T("");
  1476. time9 = _T("");
  1477. time10 = _T("");
  1478. //m_nFields = 78;
  1479. m_nFields = 79; // modify by Jeff,添加了新的字段waiter8:看设计人;
  1480. //}}AFX_FIELD_INIT
  1481. m_nDefaultType = forwardOnly;
  1482. this->m_pDatabase = g_curdb;
  1483. m_strSort="id desc";
  1484. }
  1485. CString CRstBooking::GetDefaultConnect()
  1486. {
  1487. return _T("ODBC;DSN=");
  1488. }
  1489. CString CRstBooking::GetDefaultSQL()
  1490. {
  1491. return _T("[dindan]");
  1492. }
  1493. void CRstBooking::DoFieldExchange(CFieldExchange* pFX)
  1494. {
  1495. pFX->SetFieldType(CFieldExchange::outputColumn);
  1496. RFX_Text(pFX, _T("[id]"), id);
  1497. RFX_Text(pFX, _T("[money1]"), money1);
  1498. RFX_Text(pFX, _T("[money2]"), money2);
  1499. RFX_Text(pFX, _T("[money3]"), money3);
  1500. RFX_Text(pFX, _T("[name1]"), name1);
  1501. RFX_Text(pFX, _T("[name2]"), name2);
  1502. RFX_Text(pFX, _T("[taoxiid]"), taoxiid);
  1503. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  1504. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  1505. RFX_Text(pFX, _T("[taoxizs]"), taoxizs);
  1506. RFX_Text(pFX, _T("[time1]"), time1);
  1507. RFX_Text(pFX, _T("[time2]"), time2);
  1508. RFX_Text(pFX, _T("[time3]"), time3);
  1509. RFX_Text(pFX, _T("[bm]"), bm);
  1510. RFX_Text(pFX, _T("[ren]"), ren);
  1511. RFX_Text(pFX, _T("[discount]"), discount);
  1512. RFX_Text(pFX, _T("[payed1]"), payed1);
  1513. RFX_Text(pFX, _T("[payed2]"), payed2);
  1514. RFX_Text(pFX, _T("[payed3]"), payed3);
  1515. RFX_Text(pFX, _T("[payed4]"), payed4);
  1516. RFX_Text(pFX, _T("[payed5]"), payed5);
  1517. RFX_Text(pFX, _T("[time4]"), time4);
  1518. RFX_Text(pFX, _T("[time5]"), time5);
  1519. RFX_Text(pFX, _T("[takezs]"), takezs);
  1520. RFX_Text(pFX, _T("[choosezs]"), choosezs);
  1521. RFX_Text(pFX, _T("[status]"), status);
  1522. RFX_Text(pFX, _T("[clothescount]"), clothescount);
  1523. RFX_Text(pFX, _T("[clothescount2]"),clothescount2);
  1524. RFX_Text(pFX, _T("[outside]"), outside);
  1525. RFX_Text(pFX, _T("[outside2]"),outside2);
  1526. RFX_Text(pFX, _T("[style]"), style);
  1527. RFX_Text(pFX, _T("[payed4time]"),payed4time);
  1528. RFX_Text(pFX, _T("[status2]"),status2);
  1529. RFX_Text(pFX, _T("[status3]"),status3);
  1530. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  1531. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  1532. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  1533. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  1534. RFX_Text(pFX, _T("[bz]"),bz, 4096);
  1535. RFX_Text(pFX, _T("[bz2]"),bz2, 4096);
  1536. RFX_Text(pFX, _T("[bz3]"),bz3, 4096);
  1537. RFX_Text(pFX, _T("[bz4]"),bz4, 4096);
  1538. RFX_Text(pFX, _T("[size]"),size, 4096);
  1539. RFX_Text(pFX, _T("[urgent]"),urgent);
  1540. RFX_Text(pFX, _T("[waiter6]"),waiter6);
  1541. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  1542. RFX_Text(pFX, _T("[waiter7]"),waiter7);
  1543. RFX_Text(pFX, _T("[status4]"),status4);
  1544. RFX_Text(pFX, _T("[status5]"),status5);
  1545. RFX_Text(pFX, _T("[status6]"),status6);
  1546. RFX_Text(pFX, _T("[memberno]"),memberno);
  1547. RFX_Text(pFX, _T("[time6]"),time6);
  1548. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  1549. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  1550. RFX_Text(pFX, _T("[waiter1rate]"),waiter1rate);
  1551. RFX_Text(pFX, _T("[waiter2rate]"),waiter2rate);
  1552. RFX_Text(pFX, _T("[ren2]"),ren2);
  1553. RFX_Text(pFX, _T("[txtype]"),txtype);
  1554. RFX_Text(pFX, _T("[status8]"),status8);
  1555. RFX_Text(pFX, _T("[phone1]"),phone1);
  1556. RFX_Text(pFX, _T("[phone2]"),phone2);
  1557. RFX_Text(pFX, _T("[delphotos]"),delphotos, 10240);
  1558. RFX_Text(pFX, _T("[delphotos2]"),delphotos2, 10240);
  1559. RFX_Text(pFX, _T("[growthtxselname]"),growthtxselname, 4096);
  1560. RFX_Text(pFX, _T("[designno]"),designno, 4096);
  1561. RFX_Text(pFX, _T("[designreplaceno]"),designreplaceno, 4096);
  1562. RFX_Text(pFX, _T("[dindantype]"),dindantype);
  1563. RFX_Text(pFX, _T("[contractno1]"),contractno1);
  1564. RFX_Text(pFX, _T("[contractno2]"),contractno2);
  1565. RFX_Text(pFX, _T("[cfno]"),cfno);
  1566. RFX_Text(pFX, _T("[from]"),from);
  1567. RFX_Text(pFX, _T("[reason]"),reason);
  1568. RFX_Text(pFX, _T("[time7]"),time7);
  1569. RFX_Text(pFX, _T("[waiter13]"),waiter13);
  1570. RFX_Text(pFX, _T("[waiter14]"),waiter14);
  1571. RFX_Text(pFX, _T("[time8]"),time8);
  1572. RFX_Text(pFX, _T("[time9]"),time9);
  1573. RFX_Text(pFX, _T("[time10]"),time10);
  1574. RFX_Text(pFX, _T("[waiter8]"),waiter8); // add by Jeff;
  1575. //}}AFX_FIELD_MAP
  1576. }
  1577. /////////////////////////////////////////////////////////////////////////////
  1578. // CRstBooking diagnostics
  1579. #ifdef _DEBUG
  1580. void CRstBooking::AssertValid() const
  1581. {
  1582. CRecordset::AssertValid();
  1583. }
  1584. void CRstBooking::Dump(CDumpContext& dc) const
  1585. {
  1586. CRecordset::Dump(dc);
  1587. }
  1588. #endif //_DEBUG
  1589. IMPLEMENT_DYNAMIC(CRstBooking2, CRecordset)
  1590. CRstBooking2::CRstBooking2(CDatabase* pdb)
  1591. : CRecordset(pdb)
  1592. {
  1593. //{{AFX_FIELD_INIT(CRstBooking2)
  1594. name1 = _T("");
  1595. name2 = _T("");
  1596. money1 = _T("");
  1597. payed1 = _T("");
  1598. time1 = _T("");
  1599. m_nFields = 5;
  1600. //}}AFX_FIELD_INIT
  1601. m_nDefaultType = forwardOnly;
  1602. this->m_pDatabase = g_curdb;
  1603. m_strSort="id desc";
  1604. }
  1605. CString CRstBooking2::GetDefaultConnect()
  1606. {
  1607. return _T("ODBC;DSN=");
  1608. }
  1609. CString CRstBooking2::GetDefaultSQL()
  1610. {
  1611. return _T("[dindan]");
  1612. }
  1613. void CRstBooking2::DoFieldExchange(CFieldExchange* pFX)
  1614. {
  1615. //{{AFX_FIELD_MAP(CRstBooking2)
  1616. pFX->SetFieldType(CFieldExchange::outputColumn);
  1617. RFX_Text(pFX, _T("[name1]"), name1);
  1618. RFX_Text(pFX, _T("[name2]"), name2);
  1619. RFX_Text(pFX, _T("[money1]"), money1);
  1620. RFX_Text(pFX, _T("[time1]"), time1);
  1621. RFX_Text(pFX, _T("[payed1]"), payed1);
  1622. //}}AFX_FIELD_MAP
  1623. }
  1624. /////////////////////////////////////////////////////////////////////////////
  1625. // CRstBooking2 diagnostics
  1626. #ifdef _DEBUG
  1627. void CRstBooking2::AssertValid() const
  1628. {
  1629. CRecordset::AssertValid();
  1630. }
  1631. void CRstBooking2::Dump(CDumpContext& dc) const
  1632. {
  1633. CRecordset::Dump(dc);
  1634. }
  1635. #endif //_DEBUG
  1636. IMPLEMENT_DYNAMIC(CRstDinDanSP, CRecordset)
  1637. CRstDinDanSP::CRstDinDanSP(CDatabase* pdb)
  1638. : CRecordset(pdb)
  1639. {
  1640. //{{AFX_FIELD_INIT(CRstDinDanSP)
  1641. id = _T("");
  1642. spid = _T("");
  1643. price = _T("");
  1644. shuliang = _T("");
  1645. kind = _T("");
  1646. name = _T("");
  1647. no = _T("");
  1648. no2 = _T("");
  1649. autoid = _T("");
  1650. m_nFields = 12;
  1651. //}}AFX_FIELD_INIT
  1652. m_nDefaultType = forwardOnly;
  1653. this->m_pDatabase = g_curdb;
  1654. m_strSort="id desc,kind,name";
  1655. }
  1656. CString CRstDinDanSP::GetDefaultConnect()
  1657. {
  1658. return _T("ODBC;DSN=");
  1659. }
  1660. CString CRstDinDanSP::GetDefaultSQL()
  1661. {
  1662. return _T("[dindansp]");
  1663. }
  1664. void CRstDinDanSP::DoFieldExchange(CFieldExchange* pFX)
  1665. {
  1666. //{{AFX_FIELD_MAP(CRstDinDanSP)
  1667. pFX->SetFieldType(CFieldExchange::outputColumn);
  1668. RFX_Text(pFX, _T("[id]"), id);
  1669. RFX_Text(pFX, _T("[spid]"), spid);
  1670. RFX_Text(pFX, _T("[price]"), price);
  1671. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  1672. RFX_Text(pFX, _T("[kind]"), kind);
  1673. RFX_Text(pFX, _T("[name]"), name);
  1674. RFX_Text(pFX, _T("[no]"), no, 4096);
  1675. RFX_Text(pFX, _T("[no2]"), no2, 4096);
  1676. RFX_Text(pFX, _T("[autoid]"), autoid);
  1677. RFX_Text(pFX, _T("[ps]"), ps);
  1678. RFX_Text(pFX, _T("[zs]"), zs);
  1679. RFX_Text(pFX, _T("[bz]"), bz);
  1680. //}}AFX_FIELD_MAP
  1681. }
  1682. /////////////////////////////////////////////////////////////////////////////
  1683. // CRstDinDanSP diagnostics
  1684. #ifdef _DEBUG
  1685. void CRstDinDanSP::AssertValid() const
  1686. {
  1687. CRecordset::AssertValid();
  1688. }
  1689. void CRstDinDanSP::Dump(CDumpContext& dc) const
  1690. {
  1691. CRecordset::Dump(dc);
  1692. }
  1693. #endif //_DEBUG
  1694. IMPLEMENT_DYNAMIC(CRstDinDanSPView2, CRecordset)
  1695. CRstDinDanSPView2::CRstDinDanSPView2(CDatabase* pdb)
  1696. : CRecordset(pdb)
  1697. {
  1698. //{{AFX_FIELD_INIT(CRstDinDanSPView2)
  1699. id = _T("");
  1700. spid = _T("");
  1701. price = _T("");
  1702. shuliang = _T("");
  1703. kind = _T("");
  1704. name = _T("");
  1705. no = _T("");
  1706. no2 = _T("");
  1707. autoid = _T("");
  1708. m_nFields = 13;
  1709. //}}AFX_FIELD_INIT
  1710. m_nDefaultType = forwardOnly;
  1711. this->m_pDatabase = g_curdb;
  1712. m_strSort="splb desc,name desc";
  1713. }
  1714. CString CRstDinDanSPView2::GetDefaultConnect()
  1715. {
  1716. return _T("ODBC;DSN=");
  1717. }
  1718. CString CRstDinDanSPView2::GetDefaultSQL()
  1719. {
  1720. return _T("[dindanspview2]");
  1721. }
  1722. void CRstDinDanSPView2::DoFieldExchange(CFieldExchange* pFX)
  1723. {
  1724. //{{AFX_FIELD_MAP(CRstDinDanSPView2)
  1725. pFX->SetFieldType(CFieldExchange::outputColumn);
  1726. RFX_Text(pFX, _T("[id]"), id);
  1727. RFX_Text(pFX, _T("[spid]"), spid);
  1728. RFX_Text(pFX, _T("[price]"), price);
  1729. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  1730. RFX_Text(pFX, _T("[kind]"), kind);
  1731. RFX_Text(pFX, _T("[name]"), name);
  1732. RFX_Text(pFX, _T("[no]"), no, 4096);
  1733. RFX_Text(pFX, _T("[no2]"), no2, 4096);
  1734. RFX_Text(pFX, _T("[autoid]"), autoid);
  1735. RFX_Text(pFX, _T("[ps]"), ps);
  1736. RFX_Text(pFX, _T("[zs]"), zs);
  1737. RFX_Text(pFX, _T("[splb]"), splb);
  1738. RFX_Text(pFX, _T("[bz]"), bz);
  1739. //}}AFX_FIELD_MAP
  1740. }
  1741. /////////////////////////////////////////////////////////////////////////////
  1742. // CRstDinDanSPView2 diagnostics
  1743. #ifdef _DEBUG
  1744. void CRstDinDanSPView2::AssertValid() const
  1745. {
  1746. CRecordset::AssertValid();
  1747. }
  1748. void CRstDinDanSPView2::Dump(CDumpContext& dc) const
  1749. {
  1750. CRecordset::Dump(dc);
  1751. }
  1752. #endif //_DEBUG
  1753. IMPLEMENT_DYNAMIC(CRstDinDanSP3, CRecordset)
  1754. CRstDinDanSP3::CRstDinDanSP3(CDatabase* pdb)
  1755. : CRecordset(pdb)
  1756. {
  1757. //{{AFX_FIELD_INIT(CRstDinDanSP3)
  1758. kind = _T("");
  1759. name = _T("");
  1760. hqdate = _T("");
  1761. hqtime = _T("");
  1762. id = _T("");
  1763. m_nFields = 10;
  1764. //}}AFX_FIELD_INIT
  1765. m_nDefaultType = forwardOnly;
  1766. this->m_pDatabase = g_curdb;
  1767. m_strSort="id desc,name";
  1768. }
  1769. CString CRstDinDanSP3::GetDefaultConnect()
  1770. {
  1771. return _T("ODBC;DSN=");
  1772. }
  1773. CString CRstDinDanSP3::GetDefaultSQL()
  1774. {
  1775. return _T("[dindansp]");
  1776. }
  1777. void CRstDinDanSP3::DoFieldExchange(CFieldExchange* pFX)
  1778. {
  1779. //{{AFX_FIELD_MAP(CRstDinDanSP3)
  1780. pFX->SetFieldType(CFieldExchange::outputColumn);
  1781. RFX_Text(pFX, _T("[kind]"), kind);
  1782. RFX_Text(pFX, _T("[name]"), name);
  1783. RFX_Text(pFX, _T("[hqdate]"), hqdate);
  1784. RFX_Text(pFX, _T("[hqtime]"), hqtime);
  1785. RFX_Text(pFX, _T("[id]"), id);
  1786. RFX_Text(pFX, _T("[ren1]"), ren1);
  1787. RFX_Text(pFX, _T("[ren2]"), ren2);
  1788. RFX_Text(pFX, _T("[hqstatus]"), hqstatus);
  1789. RFX_Text(pFX, _T("[autoid]"), autoid); RFX_Text(pFX, _T("[bz]"), bz, 200);
  1790. //}}AFX_FIELD_MAP
  1791. }
  1792. /////////////////////////////////////////////////////////////////////////////
  1793. // CRstDinDanSP3 diagnostics
  1794. #ifdef _DEBUG
  1795. void CRstDinDanSP3::AssertValid() const
  1796. {
  1797. CRecordset::AssertValid();
  1798. }
  1799. void CRstDinDanSP3::Dump(CDumpContext& dc) const
  1800. {
  1801. CRecordset::Dump(dc);
  1802. }
  1803. #endif //_DEBUG
  1804. IMPLEMENT_DYNAMIC(CRstDinDanSP2, CRecordset)
  1805. CRstDinDanSP2::CRstDinDanSP2(CDatabase* pdb)
  1806. : CRecordset(pdb)
  1807. {
  1808. //{{AFX_FIELD_INIT(CRstDinDanSP2)
  1809. id = _T("");
  1810. shuliang = _T("");
  1811. name = _T("");
  1812. status1 = _T("");
  1813. status2 = _T("");
  1814. status3 = _T("");
  1815. status4 = _T("");
  1816. kind = _T("");
  1817. no = _T("");
  1818. no2 = _T("");
  1819. autoid = _T("");
  1820. spid = _T("");
  1821. date1 = _T("");
  1822. date2 = _T("");
  1823. date3 = _T("");
  1824. date4 = _T("");
  1825. name1 = _T("");
  1826. name2 = _T("");
  1827. name3 = _T("");
  1828. name4 = _T("");
  1829. price = _T("");
  1830. urgent = _T("");
  1831. taketime = _T("");
  1832. growthtxname = _T("");
  1833. m_nFields = 32;
  1834. //}}AFX_FIELD_INIT
  1835. m_nDefaultType = forwardOnly;
  1836. this->m_pDatabase = g_curdb;
  1837. m_strSort="id desc,name";
  1838. }
  1839. CString CRstDinDanSP2::GetDefaultConnect()
  1840. {
  1841. return _T("ODBC;DSN=");
  1842. }
  1843. CString CRstDinDanSP2::GetDefaultSQL()
  1844. {
  1845. return _T("[dindansp]");
  1846. }
  1847. void CRstDinDanSP2::DoFieldExchange(CFieldExchange* pFX)
  1848. {
  1849. //{{AFX_FIELD_MAP(CRstDinDanSP2)
  1850. pFX->SetFieldType(CFieldExchange::outputColumn);
  1851. RFX_Text(pFX, _T("[id]"), id);
  1852. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  1853. RFX_Text(pFX, _T("[status1]"), status1);
  1854. RFX_Text(pFX, _T("[name]"), name);
  1855. RFX_Text(pFX, _T("[status2]"), status2);
  1856. RFX_Text(pFX, _T("[status3]"), status3);
  1857. RFX_Text(pFX, _T("[status4]"), status4);
  1858. RFX_Text(pFX, _T("[kind]"), kind);
  1859. RFX_Text(pFX, _T("[no]"), no, 8000);
  1860. RFX_Text(pFX, _T("[no2]"), no2, 8000);
  1861. RFX_Text(pFX, _T("[autoid]"), autoid);
  1862. RFX_Text(pFX, _T("[spid]"), spid);
  1863. RFX_Text(pFX, _T("[date1]"), date1);
  1864. RFX_Text(pFX, _T("[date2]"), date2);
  1865. RFX_Text(pFX, _T("[date3]"), date3);
  1866. RFX_Text(pFX, _T("[date4]"), date4);
  1867. RFX_Text(pFX, _T("[name1]"), name1);
  1868. RFX_Text(pFX, _T("[name2]"), name2);
  1869. RFX_Text(pFX, _T("[name3]"), name3);
  1870. RFX_Text(pFX, _T("[name4]"), name4);
  1871. RFX_Text(pFX, _T("[price]"), price);
  1872. RFX_Text(pFX, _T("[urgent]"), urgent);
  1873. RFX_Text(pFX, _T("[taketime]"), taketime);
  1874. RFX_Text(pFX, _T("[growthtxname]"), growthtxname);
  1875. RFX_Text(pFX, _T("[status5]"), status5);
  1876. RFX_Text(pFX, _T("[status6]"), status6);
  1877. RFX_Text(pFX, _T("[date5]"), date5);
  1878. RFX_Text(pFX, _T("[date6]"), date6);
  1879. RFX_Text(pFX, _T("[name5]"), name5);
  1880. RFX_Text(pFX, _T("[name6]"), name6);
  1881. RFX_Text(pFX, _T("[ps]"), ps);
  1882. RFX_Text(pFX, _T("[zs]"), zs);
  1883. //}}AFX_FIELD_MAP
  1884. }
  1885. /////////////////////////////////////////////////////////////////////////////
  1886. // CRstDinDanSP2 diagnostics
  1887. #ifdef _DEBUG
  1888. void CRstDinDanSP2::AssertValid() const
  1889. {
  1890. CRecordset::AssertValid();
  1891. }
  1892. void CRstDinDanSP2::Dump(CDumpContext& dc) const
  1893. {
  1894. CRecordset::Dump(dc);
  1895. }
  1896. #endif //_DEBUG
  1897. IMPLEMENT_DYNAMIC(CRstPayOutInput, CRecordset)
  1898. CRstPayOutInput::CRstPayOutInput(CDatabase* pdb)
  1899. : CRecordset(pdb)
  1900. {
  1901. //{{AFX_FIELD_INIT(CRstPayOutInput)
  1902. id = _T("");
  1903. name = _T("");
  1904. money = _T("");
  1905. date = _T("");
  1906. renyuan1 = _T("");
  1907. renyuan2 = _T("");
  1908. bz = _T("");
  1909. financecheck = _T("");
  1910. m_nFields = 13;
  1911. //}}AFX_FIELD_INIT
  1912. m_nDefaultType = forwardOnly;
  1913. this->m_pDatabase = g_curdb;
  1914. m_strSort="name";
  1915. }
  1916. CString CRstPayOutInput::GetDefaultConnect()
  1917. {
  1918. return _T("ODBC;DSN=");
  1919. }
  1920. CString CRstPayOutInput::GetDefaultSQL()
  1921. {
  1922. return _T("[gudingfeiyong]");
  1923. }
  1924. void CRstPayOutInput::DoFieldExchange(CFieldExchange* pFX)
  1925. {
  1926. //{{AFX_FIELD_MAP(CRstPayOutInput)
  1927. pFX->SetFieldType(CFieldExchange::outputColumn);
  1928. RFX_Text(pFX, _T("[id]"), id);
  1929. RFX_Text(pFX, _T("[name]"), name);
  1930. RFX_Text(pFX, _T("[money]"), money);
  1931. RFX_Text(pFX, _T("[dat]"), date);
  1932. RFX_Text(pFX, _T("[renyuan1]"), renyuan1);
  1933. RFX_Text(pFX, _T("[renyuan2]"), renyuan2);
  1934. RFX_Text(pFX, _T("[financecheck]"), financecheck);
  1935. RFX_Text(pFX, _T("[financecheck2]"), financecheck2);
  1936. RFX_Text(pFX, _T("[financecheck3]"), financecheck3);
  1937. RFX_Text(pFX, _T("[hasphoto]"), hasphoto);
  1938. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  1939. RFX_Text(pFX, _T("[time]"), time);
  1940. RFX_Text(pFX, _T("[jdd]"), jdd);
  1941. //}}AFX_FIELD_MAP
  1942. }
  1943. /////////////////////////////////////////////////////////////////////////////
  1944. // CRstPayOutInput diagnostics
  1945. #ifdef _DEBUG
  1946. void CRstPayOutInput::AssertValid() const
  1947. {
  1948. CRecordset::AssertValid();
  1949. }
  1950. void CRstPayOutInput::Dump(CDumpContext& dc) const
  1951. {
  1952. CRecordset::Dump(dc);
  1953. }
  1954. #endif //_DEBUG
  1955. IMPLEMENT_DYNAMIC(CRstIncomeInput, CRecordset)
  1956. CRstIncomeInput::CRstIncomeInput(CDatabase* pdb)
  1957. : CRecordset(pdb)
  1958. {
  1959. //{{AFX_FIELD_INIT(CRstIncomeInput)
  1960. id = _T("");
  1961. name = _T("");
  1962. money = _T("");
  1963. pinyin = _T("");
  1964. date = _T("");
  1965. renyuan1 = _T("");
  1966. renyuan2 = _T("");
  1967. renyuan3 = _T("");
  1968. bz = _T("");
  1969. sale2type = _T("");
  1970. paytype = _T("");
  1971. phone = _T("");
  1972. payed = _T("");
  1973. balance = _T("");
  1974. financecheck = _T("");
  1975. jdd = _T("");
  1976. m_nFields = 18;
  1977. //}}AFX_FIELD_INIT
  1978. m_nDefaultType = forwardOnly;
  1979. this->m_pDatabase = g_curdb;
  1980. m_strSort="dat desc";
  1981. }
  1982. CString CRstIncomeInput::GetDefaultConnect()
  1983. {
  1984. return _T("ODBC;DSN=");
  1985. }
  1986. CString CRstIncomeInput::GetDefaultSQL()
  1987. {
  1988. return _T("[singleincome]");
  1989. }
  1990. void CRstIncomeInput::DoFieldExchange(CFieldExchange* pFX)
  1991. {
  1992. //{{AFX_FIELD_MAP(CRstIncomeInput)
  1993. pFX->SetFieldType(CFieldExchange::outputColumn);
  1994. RFX_Text(pFX, _T("[id]"), id);
  1995. RFX_Text(pFX, _T("[name]"), name);
  1996. RFX_Text(pFX, _T("[money]"), money);
  1997. RFX_Text(pFX, _T("[dat]"), date);
  1998. RFX_Text(pFX, _T("[renyuan1]"), renyuan1);
  1999. RFX_Text(pFX, _T("[renyuan2]"), renyuan2);
  2000. RFX_Text(pFX, _T("[renyuan3]"), renyuan3);
  2001. RFX_Text(pFX, _T("[sale2type]"), sale2type);
  2002. RFX_Text(pFX, _T("[paytype]"), paytype);
  2003. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  2004. RFX_Text(pFX, _T("[phone]"), phone);
  2005. RFX_Text(pFX, _T("[payed]"), payed);
  2006. RFX_Text(pFX, _T("[balance]"), balance);
  2007. RFX_Text(pFX, _T("[pinyin]"), pinyin);
  2008. RFX_Text(pFX, _T("[financecheck]"), financecheck);
  2009. RFX_Text(pFX, _T("[count]"), count);
  2010. RFX_Text(pFX, _T("[time]"), time);
  2011. RFX_Text(pFX, _T("[jdd]"), jdd);
  2012. //}}AFX_FIELD_MAP
  2013. }
  2014. /////////////////////////////////////////////////////////////////////////////
  2015. // CRstIncomeInput diagnostics
  2016. #ifdef _DEBUG
  2017. void CRstIncomeInput::AssertValid() const
  2018. {
  2019. CRecordset::AssertValid();
  2020. }
  2021. void CRstIncomeInput::Dump(CDumpContext& dc) const
  2022. {
  2023. CRecordset::Dump(dc);
  2024. }
  2025. #endif //_DEBUG
  2026. IMPLEMENT_DYNAMIC(CRstClient, CRecordset)
  2027. CRstClient::CRstClient(CDatabase* pdb)
  2028. : CRecordset(pdb)
  2029. {
  2030. //{{AFX_FIELD_INIT(CRstClient)
  2031. id = _T("");
  2032. name1 = _T("");
  2033. name2 = _T("");
  2034. phone1 = _T("");
  2035. phone2 = _T("");
  2036. qq1 = _T("");
  2037. qq2 = _T("");
  2038. addr1 = _T("");
  2039. addr2 = _T("");
  2040. occupation1 = _T("");
  2041. occupation2 = _T("");
  2042. birthday1 = _T("");
  2043. birthday2 = _T("");
  2044. area = _T("");
  2045. area2 = _T("");
  2046. check1 = _T("");
  2047. check2 = _T("");
  2048. check3 = _T("");
  2049. sex = _T("");
  2050. zodiac = _T("");
  2051. time3 = _T("");
  2052. m_nFields = 21;
  2053. //}}AFX_FIELD_INIT
  2054. m_nDefaultType = forwardOnly;
  2055. this->m_pDatabase = g_curdb;
  2056. }
  2057. CString CRstClient::GetDefaultConnect()
  2058. {
  2059. return _T("ODBC;DSN=");
  2060. }
  2061. CString CRstClient::GetDefaultSQL()
  2062. {
  2063. return _T("[client]");
  2064. }
  2065. void CRstClient::DoFieldExchange(CFieldExchange* pFX)
  2066. {
  2067. //{{AFX_FIELD_MAP(CRstClient)
  2068. pFX->SetFieldType(CFieldExchange::outputColumn);
  2069. RFX_Text(pFX, _T("[id]"), id);
  2070. RFX_Text(pFX, _T("[name1]"), name1);
  2071. RFX_Text(pFX, _T("[name2]"), name2);
  2072. RFX_Text(pFX, _T("[phone1]"), phone1);
  2073. RFX_Text(pFX, _T("[phone2]"), phone2);
  2074. RFX_Text(pFX, _T("[qq1]"), qq1);
  2075. RFX_Text(pFX, _T("[qq2]"), qq2);
  2076. RFX_Text(pFX, _T("[addr1]"), addr1);
  2077. RFX_Text(pFX, _T("[addr2]"), addr2);
  2078. RFX_Text(pFX, _T("[occupation1]"), occupation1);
  2079. RFX_Text(pFX, _T("[occupation2]"), occupation2);
  2080. RFX_Text(pFX, _T("[birthday1]"), birthday1);
  2081. RFX_Text(pFX, _T("[birthday2]"), birthday2);
  2082. RFX_Text(pFX, _T("[area]"), area);
  2083. RFX_Text(pFX, _T("[area2]"), area2);
  2084. RFX_Text(pFX, _T("[check1]"), check1);
  2085. RFX_Text(pFX, _T("[check2]"), check2);
  2086. RFX_Text(pFX, _T("[check3]"), check3);
  2087. RFX_Text(pFX, _T("[sex]"), sex);
  2088. RFX_Text(pFX, _T("[zodiac]"), zodiac);
  2089. RFX_Text(pFX, _T("[time3]"), time3);
  2090. //}}AFX_FIELD_MAP
  2091. }
  2092. /////////////////////////////////////////////////////////////////////////////
  2093. // CRstClient diagnostics
  2094. #ifdef _DEBUG
  2095. void CRstClient::AssertValid() const
  2096. {
  2097. CRecordset::AssertValid();
  2098. }
  2099. void CRstClient::Dump(CDumpContext& dc) const
  2100. {
  2101. CRecordset::Dump(dc);
  2102. }
  2103. #endif //_DEBUG
  2104. IMPLEMENT_DYNAMIC(CRstClient2, CRecordset)
  2105. CRstClient2::CRstClient2(CDatabase* pdb)
  2106. : CRecordset(pdb)
  2107. {
  2108. //{{AFX_FIELD_INIT(CRstClient2)
  2109. id = _T("");
  2110. name1 = _T("");
  2111. name2 = _T("");
  2112. phone1 = _T("");
  2113. phone2 = _T("");
  2114. qq1 = _T("");
  2115. qq2 = _T("");
  2116. addr1 = _T("");
  2117. addr2 = _T("");
  2118. occupation1 = _T("");
  2119. occupation2 = _T("");
  2120. birthday1 = _T("");
  2121. birthday2 = _T("");
  2122. area = _T("");
  2123. area2 = _T("");
  2124. check1 = _T("");
  2125. check2 = _T("");
  2126. check3 = _T("");
  2127. sex = _T("");
  2128. zodiac = _T("");
  2129. m_nFields = 20;
  2130. //}}AFX_FIELD_INIT
  2131. m_nDefaultType = forwardOnly;
  2132. this->m_pDatabase = g_curdb;
  2133. }
  2134. CString CRstClient2::GetDefaultConnect()
  2135. {
  2136. return _T("ODBC;DSN=");
  2137. }
  2138. CString CRstClient2::GetDefaultSQL()
  2139. {
  2140. return _T("[client]");
  2141. }
  2142. void CRstClient2::DoFieldExchange(CFieldExchange* pFX)
  2143. {
  2144. //{{AFX_FIELD_MAP(CRstClient2)
  2145. pFX->SetFieldType(CFieldExchange::outputColumn);
  2146. RFX_Text(pFX, _T("[id]"), id);
  2147. RFX_Text(pFX, _T("[name1]"), name1);
  2148. RFX_Text(pFX, _T("[name2]"), name2);
  2149. RFX_Text(pFX, _T("[phone1]"), phone1);
  2150. RFX_Text(pFX, _T("[phone2]"), phone2);
  2151. RFX_Text(pFX, _T("[qq1]"), qq1);
  2152. RFX_Text(pFX, _T("[qq2]"), qq2);
  2153. RFX_Text(pFX, _T("[addr1]"), addr1);
  2154. RFX_Text(pFX, _T("[addr2]"), addr2);
  2155. RFX_Text(pFX, _T("[occupation1]"), occupation1);
  2156. RFX_Text(pFX, _T("[occupation2]"), occupation2);
  2157. RFX_Text(pFX, _T("[birthday1]"), birthday1);
  2158. RFX_Text(pFX, _T("[birthday2]"), birthday2);
  2159. RFX_Text(pFX, _T("[area]"), area);
  2160. RFX_Text(pFX, _T("[area2]"), area2);
  2161. RFX_Text(pFX, _T("[check1]"), check1);
  2162. RFX_Text(pFX, _T("[check2]"), check2);
  2163. RFX_Text(pFX, _T("[check3]"), check3);
  2164. RFX_Text(pFX, _T("[sex]"), sex);
  2165. RFX_Text(pFX, _T("[zodiac]"), zodiac);
  2166. //}}AFX_FIELD_MAP
  2167. }
  2168. /////////////////////////////////////////////////////////////////////////////
  2169. // CRstClient2 diagnostics
  2170. #ifdef _DEBUG
  2171. void CRstClient2::AssertValid() const
  2172. {
  2173. CRecordset::AssertValid();
  2174. }
  2175. void CRstClient2::Dump(CDumpContext& dc) const
  2176. {
  2177. CRecordset::Dump(dc);
  2178. }
  2179. #endif //_DEBUG
  2180. IMPLEMENT_DYNAMIC(CRstDinDanClient, CRecordset)
  2181. CRstDinDanClient::CRstDinDanClient(CDatabase* pdb)
  2182. : CRecordset(pdb)
  2183. {
  2184. //{{AFX_FIELD_INIT(CRstDinDanClient)
  2185. id = _T("");
  2186. name1 = _T("");
  2187. name2 = _T("");
  2188. phone1 = _T("");
  2189. phone2 = _T("");
  2190. qq1 = _T("");
  2191. qq2 = _T("");
  2192. addr1 = _T("");
  2193. addr2 = _T("");
  2194. occupation1 = _T("");
  2195. occupation2 = _T("");
  2196. birthday1 = _T("");
  2197. birthday2 = _T("");
  2198. taoxiname = _T("");
  2199. taoxijiage = _T("");
  2200. time1 = _T("");
  2201. time3 = _T("");
  2202. pinyin1 = _T("");
  2203. pinyin2 = _T("");
  2204. m_nFields = 19;
  2205. //}}AFX_FIELD_INIT
  2206. m_nDefaultType = forwardOnly;
  2207. this->m_pDatabase = g_curdb;
  2208. m_strSort="id desc";
  2209. }
  2210. CString CRstDinDanClient::GetDefaultConnect()
  2211. {
  2212. return _T("ODBC;DSN=");
  2213. }
  2214. CString CRstDinDanClient::GetDefaultSQL()
  2215. {
  2216. return _T("[dindanclient]");
  2217. }
  2218. void CRstDinDanClient::DoFieldExchange(CFieldExchange* pFX)
  2219. {
  2220. //{{AFX_FIELD_MAP(CRstDinDanClient)
  2221. pFX->SetFieldType(CFieldExchange::outputColumn);
  2222. RFX_Text(pFX, _T("[id]"), id);
  2223. RFX_Text(pFX, _T("[name1]"), name1);
  2224. RFX_Text(pFX, _T("[name2]"), name2);
  2225. RFX_Text(pFX, _T("[phone1]"), phone1);
  2226. RFX_Text(pFX, _T("[phone2]"), phone2);
  2227. RFX_Text(pFX, _T("[qq1]"), qq1);
  2228. RFX_Text(pFX, _T("[qq2]"), qq2);
  2229. RFX_Text(pFX, _T("[addr1]"), addr1);
  2230. RFX_Text(pFX, _T("[addr2]"), addr2);
  2231. RFX_Text(pFX, _T("[occupation1]"), occupation1);
  2232. RFX_Text(pFX, _T("[occupation2]"), occupation2);
  2233. RFX_Text(pFX, _T("[birthday1]"), birthday1);
  2234. RFX_Text(pFX, _T("[birthday2]"), birthday2);
  2235. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  2236. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  2237. RFX_Text(pFX, _T("[time1]"), time1);
  2238. RFX_Text(pFX, _T("[time3]"), time3);
  2239. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  2240. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  2241. //}}AFX_FIELD_MAP
  2242. }
  2243. /////////////////////////////////////////////////////////////////////////////
  2244. // CRstDinDanClient diagnostics
  2245. #ifdef _DEBUG
  2246. void CRstDinDanClient::AssertValid() const
  2247. {
  2248. CRecordset::AssertValid();
  2249. }
  2250. void CRstDinDanClient::Dump(CDumpContext& dc) const
  2251. {
  2252. CRecordset::Dump(dc);
  2253. }
  2254. #endif //_DEBUG
  2255. IMPLEMENT_DYNAMIC(CRstDinDanClient2, CRecordset)
  2256. CRstDinDanClient2::CRstDinDanClient2(CDatabase* pdb)
  2257. : CRecordset(pdb)
  2258. {
  2259. //{{AFX_FIELD_INIT(CRstDinDanClient2)
  2260. id = _T("");
  2261. name1 = _T("");
  2262. name2 = _T("");
  2263. phone1 = _T("");
  2264. phone2 = _T("");
  2265. qq1 = _T("");
  2266. qq2 = _T("");
  2267. addr1 = _T("");
  2268. addr2 = _T("");
  2269. area1 = _T("");
  2270. area2 = _T("");
  2271. birthday1 = _T("");
  2272. birthday2 = _T("");
  2273. m_nFields = 13;
  2274. //}}AFX_FIELD_INIT
  2275. m_nDefaultType = forwardOnly;
  2276. this->m_pDatabase = g_curdb;
  2277. m_strSort="id desc";
  2278. }
  2279. CString CRstDinDanClient2::GetDefaultConnect()
  2280. {
  2281. return _T("ODBC;DSN=");
  2282. }
  2283. CString CRstDinDanClient2::GetDefaultSQL()
  2284. {
  2285. return _T("[client]");
  2286. }
  2287. void CRstDinDanClient2::DoFieldExchange(CFieldExchange* pFX)
  2288. {
  2289. //{{AFX_FIELD_MAP(CRstDinDanClient2)
  2290. pFX->SetFieldType(CFieldExchange::outputColumn);
  2291. RFX_Text(pFX, _T("[id]"), id);
  2292. RFX_Text(pFX, _T("[name1]"), name1);
  2293. RFX_Text(pFX, _T("[name2]"), name2);
  2294. RFX_Text(pFX, _T("[phone1]"), phone1);
  2295. RFX_Text(pFX, _T("[phone2]"), phone2);
  2296. RFX_Text(pFX, _T("[qq1]"), qq1);
  2297. RFX_Text(pFX, _T("[qq2]"), qq2);
  2298. RFX_Text(pFX, _T("[addr1]"), addr1);
  2299. RFX_Text(pFX, _T("[addr2]"), addr2);
  2300. RFX_Text(pFX, _T("[area]"), area1);
  2301. RFX_Text(pFX, _T("[area2]"), area2);
  2302. RFX_Text(pFX, _T("[birthday1]"), birthday1);
  2303. RFX_Text(pFX, _T("[birthday2]"), birthday2);
  2304. //}}AFX_FIELD_MAP
  2305. }
  2306. /////////////////////////////////////////////////////////////////////////////
  2307. // CRstDinDanClient2 diagnostics
  2308. #ifdef _DEBUG
  2309. void CRstDinDanClient2::AssertValid() const
  2310. {
  2311. CRecordset::AssertValid();
  2312. }
  2313. void CRstDinDanClient2::Dump(CDumpContext& dc) const
  2314. {
  2315. CRecordset::Dump(dc);
  2316. }
  2317. #endif //_DEBUG
  2318. IMPLEMENT_DYNAMIC(CRstDinDanBuKuan, CRecordset)
  2319. CRstDinDanBuKuan::CRstDinDanBuKuan(CDatabase* pdb)
  2320. : CRecordset(pdb)
  2321. {
  2322. //{{AFX_FIELD_INIT(CRstDinDanBuKuan)
  2323. id = _T("");
  2324. money = _T("");
  2325. ren = _T("");
  2326. date = _T("");
  2327. bz = _T("");
  2328. kind = _T("");
  2329. m_nFields = 6;
  2330. //}}AFX_FIELD_INIT
  2331. m_nDefaultType = forwardOnly;
  2332. this->m_pDatabase = g_curdb;
  2333. }
  2334. CString CRstDinDanBuKuan::GetDefaultConnect()
  2335. {
  2336. return _T("ODBC;DSN=");
  2337. }
  2338. CString CRstDinDanBuKuan::GetDefaultSQL()
  2339. {
  2340. return _T("[dindanbukuan]");
  2341. }
  2342. void CRstDinDanBuKuan::DoFieldExchange(CFieldExchange* pFX)
  2343. {
  2344. //{{AFX_FIELD_MAP(CRstDinDanBuKuan)
  2345. pFX->SetFieldType(CFieldExchange::outputColumn);
  2346. RFX_Text(pFX, _T("[id]"), id);
  2347. RFX_Text(pFX, _T("[money]"), money);
  2348. RFX_Text(pFX, _T("[ren]"), ren);
  2349. RFX_Text(pFX, _T("[date]"), date);
  2350. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  2351. RFX_Text(pFX, _T("[kind]"), kind);
  2352. //}}AFX_FIELD_MAP
  2353. }
  2354. /////////////////////////////////////////////////////////////////////////////
  2355. // CRstDinDanBuKuan diagnostics
  2356. #ifdef _DEBUG
  2357. void CRstDinDanBuKuan::AssertValid() const
  2358. {
  2359. CRecordset::AssertValid();
  2360. }
  2361. void CRstDinDanBuKuan::Dump(CDumpContext& dc) const
  2362. {
  2363. CRecordset::Dump(dc);
  2364. }
  2365. #endif //_DEBUG
  2366. IMPLEMENT_DYNAMIC(CRstDinDanBuKuanDaily, CRecordset)
  2367. CRstDinDanBuKuanDaily::CRstDinDanBuKuanDaily(CDatabase* pdb)
  2368. : CRecordset(pdb)
  2369. {
  2370. //{{AFX_FIELD_INIT(CRstDinDanBuKuanDaily)
  2371. id = _T("");
  2372. name1 = _T("");
  2373. name2 = _T("");
  2374. ren = _T("");
  2375. money = _T("");
  2376. bz = _T("");
  2377. kind = _T("");
  2378. date = _T("");
  2379. m_nFields = 8;
  2380. //}}AFX_FIELD_INIT
  2381. m_nDefaultType = forwardOnly;
  2382. this->m_pDatabase = g_curdb;
  2383. }
  2384. CString CRstDinDanBuKuanDaily::GetDefaultConnect()
  2385. {
  2386. return _T("ODBC;DSN=");
  2387. }
  2388. CString CRstDinDanBuKuanDaily::GetDefaultSQL()
  2389. {
  2390. return _T("[dindanbukuandaily]");
  2391. }
  2392. void CRstDinDanBuKuanDaily::DoFieldExchange(CFieldExchange* pFX)
  2393. {
  2394. //{{AFX_FIELD_MAP(CRstDinDanBuKuanDaily)
  2395. pFX->SetFieldType(CFieldExchange::outputColumn);
  2396. RFX_Text(pFX, _T("[id]"), id);
  2397. RFX_Text(pFX, _T("[name1]"), name1);
  2398. RFX_Text(pFX, _T("[name2]"), name2);
  2399. RFX_Text(pFX, _T("[ren]"), ren);
  2400. RFX_Text(pFX, _T("[money]"), money);
  2401. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  2402. RFX_Text(pFX, _T("[kind]"), kind);
  2403. RFX_Text(pFX, _T("[date]"), date);
  2404. //}}AFX_FIELD_MAP
  2405. }
  2406. /////////////////////////////////////////////////////////////////////////////
  2407. // CRstDinDanBuKuanDaily diagnostics
  2408. #ifdef _DEBUG
  2409. void CRstDinDanBuKuanDaily::AssertValid() const
  2410. {
  2411. CRecordset::AssertValid();
  2412. }
  2413. void CRstDinDanBuKuanDaily::Dump(CDumpContext& dc) const
  2414. {
  2415. CRecordset::Dump(dc);
  2416. }
  2417. #endif //_DEBUG
  2418. IMPLEMENT_DYNAMIC(CRstTodayForm, CRecordset)
  2419. CRstTodayForm::CRstTodayForm(CDatabase* pdb)
  2420. : CRecordset(pdb)
  2421. {
  2422. //{{AFX_FIELD_INIT(CRstTodayForm)
  2423. id = _T("");
  2424. name1 = _T("");
  2425. name2 = _T("");
  2426. phone1 = _T("");
  2427. phone2 = _T("");
  2428. taoxiname = _T("");
  2429. taoxijiage = _T("");
  2430. status2 = _T("");
  2431. status3 = _T("");
  2432. time1 = _T("");
  2433. time2 = _T("");
  2434. time3 = _T("");
  2435. taketime = _T("");
  2436. time4 = _T("");
  2437. time5 = _T("");
  2438. time6 = _T("");
  2439. datetime4 = _T("");
  2440. datetime5 = _T("");
  2441. datetime6 = _T("");
  2442. ren = _T("");
  2443. waiter1 = _T("");
  2444. waiter2 = _T("");
  2445. waiter3 = _T("");
  2446. status = _T("");
  2447. waiter8 = _T("");
  2448. status8 = _T("");
  2449. status5 = _T("");
  2450. pinyin1 = _T("");
  2451. pinyin2 = _T("");
  2452. // Jeff add waiter6 = _T("");
  2453. xplrr = _T("");
  2454. xplrtime = _T("");
  2455. //m_nFields = 31;
  2456. m_nFields = 33;
  2457. //}}AFX_FIELD_INIT
  2458. m_nDefaultType = forwardOnly;
  2459. this->m_pDatabase = g_curdb;
  2460. }
  2461. CString CRstTodayForm::GetDefaultConnect()
  2462. {
  2463. return _T("ODBC;DSN=");
  2464. }
  2465. CString CRstTodayForm::GetDefaultSQL()
  2466. {
  2467. return _T("[dindan]");
  2468. }
  2469. void CRstTodayForm::DoFieldExchange(CFieldExchange* pFX)
  2470. {
  2471. //{{AFX_FIELD_MAP(CRstTodayForm)
  2472. pFX->SetFieldType(CFieldExchange::outputColumn);
  2473. RFX_Text(pFX, _T("[id]"), id);
  2474. RFX_Text(pFX, _T("[name1]"), name1);
  2475. RFX_Text(pFX, _T("[name2]"), name2);
  2476. RFX_Text(pFX, _T("[phone1]"), phone1);
  2477. RFX_Text(pFX, _T("[phone2]"), phone2);
  2478. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  2479. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  2480. RFX_Text(pFX, _T("[status2]"), status2);
  2481. RFX_Text(pFX, _T("[status3]"), status3);
  2482. RFX_Text(pFX, _T("[time1]"), time1);
  2483. RFX_Text(pFX, _T("[time2]"), time2);
  2484. RFX_Text(pFX, _T("[time3]"), time3);
  2485. RFX_Text(pFX, _T("[taketime]"), taketime);
  2486. RFX_Text(pFX, _T("[time4]"), time4);
  2487. RFX_Text(pFX, _T("[time5]"), time5);
  2488. RFX_Text(pFX, _T("[time6]"), time6);
  2489. RFX_Text(pFX, _T("[datetime4]"), datetime4);
  2490. RFX_Text(pFX, _T("[datetime5]"), datetime5);
  2491. RFX_Text(pFX, _T("[datetime6]"), datetime6);
  2492. RFX_Text(pFX, _T("[ren]"), ren);
  2493. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  2494. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  2495. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  2496. RFX_Text(pFX, _T("[status]"),status);
  2497. RFX_Text(pFX, _T("[waiter8]"),waiter8);
  2498. RFX_Text(pFX, _T("[status8]"),status8);
  2499. RFX_Text(pFX, _T("[status5]"),status5);
  2500. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  2501. RFX_Text(pFX, _T("[status4]"),status4);
  2502. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  2503. RFX_Text(pFX, _T("[waiter9]"),waiter9);
  2504. // Jeff add
  2505. RFX_Text(pFX, _T("[xplrr]"),xplrr);
  2506. RFX_Text(pFX, _T("[xplrtime]"),xplrtime);
  2507. //}}AFX_FIELD_MAP
  2508. }
  2509. /////////////////////////////////////////////////////////////////////////////
  2510. // CRstTodayForm diagnostics
  2511. #ifdef _DEBUG
  2512. void CRstTodayForm::AssertValid() const
  2513. {
  2514. CRecordset::AssertValid();
  2515. }
  2516. void CRstTodayForm::Dump(CDumpContext& dc) const
  2517. {
  2518. CRecordset::Dump(dc);
  2519. }
  2520. #endif //_DEBUG
  2521. IMPLEMENT_DYNAMIC(CRsthqview, CRecordset)
  2522. CRsthqview::CRsthqview(CDatabase* pdb)
  2523. : CRecordset(pdb)
  2524. {
  2525. //{{AFX_FIELD_INIT(CRsthqview)
  2526. m_nFields = 17;
  2527. //}}AFX_FIELD_INIT
  2528. m_nDefaultType = forwardOnly;
  2529. this->m_pDatabase = g_curdb;
  2530. }
  2531. CString CRsthqview::GetDefaultConnect()
  2532. {
  2533. return _T("ODBC;DSN=");
  2534. }
  2535. CString CRsthqview::GetDefaultSQL()
  2536. {
  2537. return _T("[hqview]");
  2538. }
  2539. void CRsthqview::DoFieldExchange(CFieldExchange* pFX)
  2540. {
  2541. //{{AFX_FIELD_MAP(CRsthqview)
  2542. pFX->SetFieldType(CFieldExchange::outputColumn);
  2543. RFX_Text(pFX, _T("[id]"), id);
  2544. RFX_Text(pFX, _T("[name1]"), name1);
  2545. RFX_Text(pFX, _T("[name2]"), name2);
  2546. RFX_Text(pFX, _T("[phone1]"), phone1);
  2547. RFX_Text(pFX, _T("[phone2]"), phone2);
  2548. RFX_Text(pFX, _T("[time3]"), time3);
  2549. RFX_Text(pFX, _T("[check3]"), check3);
  2550. RFX_Text(pFX, _T("[ren]"), ren);
  2551. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  2552. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  2553. RFX_Text(pFX, _T("[name]"), name);
  2554. RFX_Text(pFX, _T("[hqdate]"), hqdate);
  2555. RFX_Text(pFX, _T("[hqtime]"), hqtime);
  2556. RFX_Text(pFX, _T("[ren1]"), ren1);
  2557. RFX_Text(pFX, _T("[ren2]"), ren2);
  2558. RFX_Text(pFX, _T("[hqstatus]"), hqstatus);
  2559. RFX_Text(pFX, _T("[bz]"), bz, 200);
  2560. //}}AFX_FIELD_MAP
  2561. }
  2562. /////////////////////////////////////////////////////////////////////////////
  2563. // CRsthqview diagnostics
  2564. #ifdef _DEBUG
  2565. void CRsthqview::AssertValid() const
  2566. {
  2567. CRecordset::AssertValid();
  2568. }
  2569. void CRsthqview::Dump(CDumpContext& dc) const
  2570. {
  2571. CRecordset::Dump(dc);
  2572. }
  2573. #endif //_DEBUG
  2574. IMPLEMENT_DYNAMIC(CRstUser, CRecordset)
  2575. CRstUser::CRstUser(CDatabase* pdb)
  2576. : CRecordset(pdb)
  2577. {
  2578. //{{AFX_FIELD_INIT(CRstUser)
  2579. account = _T("");
  2580. name = _T("");
  2581. psw = _T("");
  2582. rights = _T("");
  2583. rights2 = _T("");
  2584. discount = _T("");
  2585. discount2 = _T("");
  2586. m_nFields = 9;
  2587. //}}AFX_FIELD_INIT
  2588. m_nDefaultType = forwardOnly;
  2589. this->m_pDatabase = g_curdb;
  2590. m_strSort="bm desc,name desc";
  2591. }
  2592. CString CRstUser::GetDefaultConnect()
  2593. {
  2594. return _T("ODBC;DSN=");
  2595. }
  2596. CString CRstUser::GetDefaultSQL()
  2597. {
  2598. return _T("[accountview]");
  2599. }
  2600. void CRstUser::DoFieldExchange(CFieldExchange* pFX)
  2601. {
  2602. //{{AFX_FIELD_MAP(CRstUser)
  2603. pFX->SetFieldType(CFieldExchange::outputColumn);
  2604. RFX_Text(pFX, _T("[account]"), account);
  2605. RFX_Text(pFX, _T("[name]"), name);
  2606. RFX_Text(pFX, _T("[psw]"), psw);
  2607. RFX_Text(pFX, _T("[rights]"), rights);
  2608. RFX_Text(pFX, _T("[discount]"), discount);
  2609. RFX_Text(pFX, _T("[rights2]"), rights2, 4096);
  2610. RFX_Text(pFX, _T("[discount2]"), discount2); RFX_Text(pFX, _T("[level]"), level); RFX_Text(pFX, _T("[bm]"), bm);
  2611. //}}AFX_FIELD_MAP
  2612. }
  2613. /////////////////////////////////////////////////////////////////////////////
  2614. // CRstUser diagnostics
  2615. #ifdef _DEBUG
  2616. void CRstUser::AssertValid() const
  2617. {
  2618. CRecordset::AssertValid();
  2619. }
  2620. void CRstUser::Dump(CDumpContext& dc) const
  2621. {
  2622. CRecordset::Dump(dc);
  2623. }
  2624. #endif //_DEBUG
  2625. IMPLEMENT_DYNAMIC(CRstRenYuan2, CRecordset)
  2626. CRstRenYuan2::CRstRenYuan2(CDatabase* pdb)
  2627. : CRecordset(pdb)
  2628. {
  2629. //{{AFX_FIELD_INIT(CRstRenYuan2)
  2630. name = _T("");
  2631. base = _T("");
  2632. rate1 = _T("");
  2633. rate2 = _T("");
  2634. rate3 = _T("");
  2635. rate4 = _T("");
  2636. rate5 = _T("");
  2637. bz = _T("");
  2638. bm = _T("");
  2639. m_nFields = 9;
  2640. //}}AFX_FIELD_INIT
  2641. m_nDefaultType = forwardOnly;
  2642. this->m_pDatabase = g_curdb;
  2643. m_strSort="bm desc,name desc";
  2644. }
  2645. CString CRstRenYuan2::GetDefaultConnect()
  2646. {
  2647. return _T("ODBC;DSN=");
  2648. }
  2649. CString CRstRenYuan2::GetDefaultSQL()
  2650. {
  2651. return _T("[renyuan]");
  2652. }
  2653. void CRstRenYuan2::DoFieldExchange(CFieldExchange* pFX)
  2654. {
  2655. //{{AFX_FIELD_MAP(CRstRenYuan2)
  2656. pFX->SetFieldType(CFieldExchange::outputColumn);
  2657. RFX_Text(pFX, _T("[name]"), name);
  2658. RFX_Text(pFX, _T("[base]"), base);
  2659. RFX_Text(pFX, _T("[rate1]"), rate1);
  2660. RFX_Text(pFX, _T("[rate2]"), rate2);
  2661. RFX_Text(pFX, _T("[rate3]"), rate3);
  2662. RFX_Text(pFX, _T("[rate4]"), rate4);
  2663. RFX_Text(pFX, _T("[rate5]"), rate5);
  2664. RFX_Text(pFX, _T("[bz2]"), bz, 4096);
  2665. RFX_Text(pFX, _T("[bm]"), bm);
  2666. //}}AFX_FIELD_MAP
  2667. }
  2668. /////////////////////////////////////////////////////////////////////////////
  2669. // CRstRenYuan2 diagnostics
  2670. #ifdef _DEBUG
  2671. void CRstRenYuan2::AssertValid() const
  2672. {
  2673. CRecordset::AssertValid();
  2674. }
  2675. void CRstRenYuan2::Dump(CDumpContext& dc) const
  2676. {
  2677. CRecordset::Dump(dc);
  2678. }
  2679. #endif //_DEBUG
  2680. IMPLEMENT_DYNAMIC(CRstUpdate, CRecordset)
  2681. CRstUpdate::CRstUpdate(CDatabase* pdb)
  2682. : CRecordset(pdb)
  2683. {
  2684. //{{AFX_FIELD_INIT(CRstUpdate)
  2685. m_nFields = 8;
  2686. //}}AFX_FIELD_INIT
  2687. this->m_pDatabase = g_curdb;
  2688. // m_nDefaultType = snapshot;
  2689. m_nDefaultType = dynaset;
  2690. }
  2691. CString CRstUpdate::GetDefaultConnect()
  2692. {
  2693. return _T("ODBC;DSN=");
  2694. }
  2695. CString CRstUpdate::GetDefaultSQL()
  2696. {
  2697. return _T("[update]");
  2698. }
  2699. void CRstUpdate::DoFieldExchange(CFieldExchange* pFX)
  2700. {
  2701. //{{AFX_FIELD_MAP(CRstUpdate)
  2702. pFX->SetFieldType(CFieldExchange::outputColumn);
  2703. RFX_LongBinary(pFX, _T("[data]"), data);
  2704. RFX_LongBinary(pFX, _T("[data2]"), data2);
  2705. RFX_LongBinary(pFX, _T("[data3]"), data3);
  2706. RFX_LongBinary(pFX, _T("[data4]"), data4);
  2707. RFX_LongBinary(pFX, _T("[data5]"), data5);
  2708. RFX_LongBinary(pFX, _T("[data6]"), data6);
  2709. RFX_LongBinary(pFX, _T("[data7]"), data7);
  2710. RFX_LongBinary(pFX, _T("[ocx]"), m_lbOCX); // 新添加 2014.09.05;
  2711. //}}AFX_FIELD_MAP
  2712. }
  2713. /////////////////////////////////////////////////////////////////////////////
  2714. // CRstUpdate diagnostics
  2715. #ifdef _DEBUG
  2716. void CRstUpdate::AssertValid() const
  2717. {
  2718. CRecordset::AssertValid();
  2719. }
  2720. void CRstUpdate::Dump(CDumpContext& dc) const
  2721. {
  2722. CRecordset::Dump(dc);
  2723. }
  2724. #endif //_DEBUG
  2725. IMPLEMENT_DYNAMIC(CRstDindanForm, CRecordset)
  2726. CRstDindanForm::CRstDindanForm(CDatabase* pdb)
  2727. : CRecordset(pdb)
  2728. {
  2729. //{{AFX_FIELD_INIT(CRstDindanForm)
  2730. id = _T("");
  2731. name1 = _T("");
  2732. name2 = _T("");
  2733. taoxiname = _T("");
  2734. taoxijiage = _T("");
  2735. time1 = _T("");
  2736. time2 = _T("");
  2737. time3 = _T("");
  2738. ren = _T("");
  2739. time4 = _T("");
  2740. time5 = _T("");
  2741. time6 = _T("");
  2742. status = _T("");
  2743. status2 = _T("");
  2744. status3 = _T("");
  2745. status4 = _T("");
  2746. status5 = _T("");
  2747. status8 = _T("");
  2748. waiter1 = _T("");
  2749. waiter12 = _T("");
  2750. waiter13 = _T("");
  2751. waiter14 = _T("");
  2752. waiter2 = _T("");
  2753. waiter22 = _T("");
  2754. waiter23 = _T("");
  2755. waiter24 = _T("");
  2756. waiter8 = _T("");
  2757. waiter4 = _T("");
  2758. phone1 = _T("");
  2759. phone2 = _T("");
  2760. taketime = _T("");
  2761. pinyin1 = _T("");
  2762. pinyin2 = _T("");
  2763. status6 = _T("");
  2764. waiter3 = _T("");
  2765. waiter5 = _T("");
  2766. waiter7 = _T("");
  2767. waiter6 = _T("");
  2768. tichenren1 = _T("");
  2769. tichenren2 = _T("");
  2770. tichenren3 = _T("");
  2771. tichenren4 = _T("");
  2772. tichenren5 = _T("");
  2773. send1 = _T("");
  2774. send2 = _T("");
  2775. send3 = _T("");
  2776. txtype = _T("");
  2777. outside = _T("");
  2778. discount = _T("");
  2779. discount2 = _T("");
  2780. authorize = _T("");
  2781. authorize2 = _T("");
  2782. contractno1 = _T("");
  2783. contractno2 = _T("");
  2784. m_nFields = 58;
  2785. //}}AFX_FIELD_INIT
  2786. m_nDefaultType = forwardOnly;
  2787. this->m_pDatabase = g_curdb;
  2788. m_strSort="id desc";
  2789. }
  2790. CString CRstDindanForm::GetDefaultConnect()
  2791. {
  2792. return _T("ODBC;DSN=");
  2793. }
  2794. CString CRstDindanForm::GetDefaultSQL()
  2795. {
  2796. return _T("[dindan]");
  2797. }
  2798. void CRstDindanForm::DoFieldExchange(CFieldExchange* pFX)
  2799. {
  2800. //{{AFX_FIELD_MAP(CRstDindanForm)
  2801. pFX->SetFieldType(CFieldExchange::outputColumn);
  2802. RFX_Text(pFX, _T("[id]"), id);
  2803. RFX_Text(pFX, _T("[name1]"), name1);
  2804. RFX_Text(pFX, _T("[name2]"), name2);
  2805. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  2806. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  2807. RFX_Text(pFX, _T("[time1]"), time1);
  2808. RFX_Text(pFX, _T("[time2]"), time2);
  2809. RFX_Text(pFX, _T("[ren]"), ren);
  2810. RFX_Text(pFX, _T("[time4]"), time4);
  2811. RFX_Text(pFX, _T("[time5]"), time5);
  2812. RFX_Text(pFX, _T("[time6]"), time6);
  2813. RFX_Text(pFX, _T("[status]"), status);
  2814. RFX_Text(pFX, _T("[status2]"),status2);
  2815. RFX_Text(pFX, _T("[status3]"),status3);
  2816. RFX_Text(pFX, _T("[status4]"),status4);
  2817. RFX_Text(pFX, _T("[status5]"),status5);
  2818. RFX_Text(pFX, _T("[status8]"),status8);
  2819. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  2820. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  2821. RFX_Text(pFX, _T("[waiter13]"),waiter13);
  2822. RFX_Text(pFX, _T("[waiter14]"),waiter14);
  2823. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  2824. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  2825. RFX_Text(pFX, _T("[waiter23]"),waiter23);
  2826. RFX_Text(pFX, _T("[waiter24]"),waiter24);
  2827. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  2828. RFX_Text(pFX, _T("[waiter8]"),waiter8);
  2829. RFX_Text(pFX, _T("[phone1]"),phone1);
  2830. RFX_Text(pFX, _T("[phone2]"),phone2);
  2831. RFX_Text(pFX, _T("[taketime]"),taketime);
  2832. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  2833. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  2834. RFX_Text(pFX, _T("[status6]"),status6);
  2835. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  2836. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  2837. RFX_Text(pFX, _T("[waiter6]"),waiter6);
  2838. RFX_Text(pFX, _T("[waiter7]"),waiter7);
  2839. RFX_Text(pFX, _T("[tichenren1]"),tichenren1);
  2840. RFX_Text(pFX, _T("[tichenren2]"),tichenren2);
  2841. RFX_Text(pFX, _T("[tichenren3]"),tichenren3);
  2842. RFX_Text(pFX, _T("[tichenren4]"),tichenren4);
  2843. RFX_Text(pFX, _T("[tichenren5]"),tichenren5);
  2844. RFX_Text(pFX, _T("[send1]"),send1);
  2845. RFX_Text(pFX, _T("[send2]"),send2);
  2846. RFX_Text(pFX, _T("[send3]"),send3);
  2847. RFX_Text(pFX, _T("[txtype]"),txtype);
  2848. RFX_Text(pFX, _T("[outside]"),outside);
  2849. RFX_Text(pFX, _T("[discount]"),discount);
  2850. RFX_Text(pFX, _T("[authorize]"),authorize);
  2851. RFX_Text(pFX, _T("[discount2]"),discount2);
  2852. RFX_Text(pFX, _T("[authorize2]"),authorize2);
  2853. RFX_Text(pFX, _T("[contractno1]"),contractno1);
  2854. RFX_Text(pFX, _T("[contractno2]"),contractno2);
  2855. RFX_Text(pFX, _T("[send4]"),send4);
  2856. RFX_Text(pFX, _T("[send5]"),send5);
  2857. RFX_Text(pFX, _T("[dindantype]"),dindantype);
  2858. RFX_Text(pFX, _T("[from]"),from);
  2859. RFX_Text(pFX, _T("[time3]"),time3); // 婚期;
  2860. //}}AFX_FIELD_MAP
  2861. }
  2862. /////////////////////////////////////////////////////////////////////////////
  2863. // CRstDindanForm diagnostics
  2864. #ifdef _DEBUG
  2865. void CRstDindanForm::AssertValid() const
  2866. {
  2867. CRecordset::AssertValid();
  2868. }
  2869. void CRstDindanForm::Dump(CDumpContext& dc) const
  2870. {
  2871. CRecordset::Dump(dc);
  2872. }
  2873. #endif //_DEBUG
  2874. IMPLEMENT_DYNAMIC(CRstDindanView, CRecordset)
  2875. CRstDindanView::CRstDindanView(CDatabase* pdb)
  2876. : CRecordset(pdb)
  2877. {
  2878. //{{AFX_FIELD_INIT(CRstDindanView)
  2879. id = _T("");
  2880. name1 = _T("");
  2881. name2 = _T("");
  2882. taoxiname = _T("");
  2883. taoxijiage = _T("");
  2884. time1 = _T("");
  2885. time2 = _T("");
  2886. ren = _T("");
  2887. time4 = _T("");
  2888. time5 = _T("");
  2889. time6 = _T("");
  2890. status = _T("");
  2891. status2 = _T("");
  2892. status3 = _T("");
  2893. status4 = _T("");
  2894. status5 = _T("");
  2895. status8 = _T("");
  2896. waiter1 = _T("");
  2897. waiter12 = _T("");
  2898. waiter13 = _T("");
  2899. waiter14 = _T("");
  2900. waiter2 = _T("");
  2901. waiter22 = _T("");
  2902. waiter23 = _T("");
  2903. waiter24 = _T("");
  2904. waiter8 = _T("");
  2905. waiter4 = _T("");
  2906. phone1 = _T("");
  2907. phone2 = _T("");
  2908. taketime = _T("");
  2909. pinyin1 = _T("");
  2910. pinyin2 = _T("");
  2911. status6 = _T("");
  2912. waiter3 = _T("");
  2913. waiter5 = _T("");
  2914. waiter7 = _T("");
  2915. waiter6 = _T("");
  2916. tichenren1 = _T("");
  2917. tichenren2 = _T("");
  2918. tichenren3 = _T("");
  2919. tichenren4 = _T("");
  2920. tichenren5 = _T("");
  2921. send1 = _T("");
  2922. send2 = _T("");
  2923. send3 = _T("");
  2924. txtype = _T("");
  2925. outside = _T("");
  2926. discount = _T("");
  2927. discount2 = _T("");
  2928. authorize = _T("");
  2929. authorize2 = _T("");
  2930. contractno1 = _T("");
  2931. contractno2 = _T("");
  2932. m_nFields = 57;
  2933. //}}AFX_FIELD_INIT
  2934. m_nDefaultType = forwardOnly;
  2935. this->m_pDatabase = g_curdb;
  2936. m_strSort="id desc";
  2937. }
  2938. CString CRstDindanView::GetDefaultConnect()
  2939. {
  2940. return _T("ODBC;DSN=");
  2941. }
  2942. CString CRstDindanView::GetDefaultSQL()
  2943. {
  2944. return _T("[dindanview]");
  2945. }
  2946. void CRstDindanView::DoFieldExchange(CFieldExchange* pFX)
  2947. {
  2948. //{{AFX_FIELD_MAP(CRstDindanView)
  2949. pFX->SetFieldType(CFieldExchange::outputColumn);
  2950. RFX_Text(pFX, _T("[id]"), id);
  2951. RFX_Text(pFX, _T("[name1]"), name1);
  2952. RFX_Text(pFX, _T("[name2]"), name2);
  2953. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  2954. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  2955. RFX_Text(pFX, _T("[time1]"), time1);
  2956. RFX_Text(pFX, _T("[time2]"), time2);
  2957. RFX_Text(pFX, _T("[ren]"), ren);
  2958. RFX_Text(pFX, _T("[time4]"), time4);
  2959. RFX_Text(pFX, _T("[time5]"), time5);
  2960. RFX_Text(pFX, _T("[time6]"), time6);
  2961. RFX_Text(pFX, _T("[status]"), status);
  2962. RFX_Text(pFX, _T("[status2]"),status2);
  2963. RFX_Text(pFX, _T("[status3]"),status3);
  2964. RFX_Text(pFX, _T("[status4]"),status4);
  2965. RFX_Text(pFX, _T("[status5]"),status5);
  2966. RFX_Text(pFX, _T("[status8]"),status8);
  2967. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  2968. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  2969. RFX_Text(pFX, _T("[waiter13]"),waiter13);
  2970. RFX_Text(pFX, _T("[waiter14]"),waiter14);
  2971. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  2972. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  2973. RFX_Text(pFX, _T("[waiter23]"),waiter23);
  2974. RFX_Text(pFX, _T("[waiter24]"),waiter24);
  2975. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  2976. RFX_Text(pFX, _T("[waiter8]"),waiter8);
  2977. RFX_Text(pFX, _T("[phone1]"),phone1);
  2978. RFX_Text(pFX, _T("[phone2]"),phone2);
  2979. RFX_Text(pFX, _T("[taketime]"),taketime);
  2980. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  2981. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  2982. RFX_Text(pFX, _T("[status6]"),status6);
  2983. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  2984. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  2985. RFX_Text(pFX, _T("[waiter6]"),waiter6);
  2986. RFX_Text(pFX, _T("[waiter7]"),waiter7);
  2987. RFX_Text(pFX, _T("[tichenren1]"),tichenren1);
  2988. RFX_Text(pFX, _T("[tichenren2]"),tichenren2);
  2989. RFX_Text(pFX, _T("[tichenren3]"),tichenren3);
  2990. RFX_Text(pFX, _T("[tichenren4]"),tichenren4);
  2991. RFX_Text(pFX, _T("[tichenren5]"),tichenren5);
  2992. RFX_Text(pFX, _T("[send1]"),send1);
  2993. RFX_Text(pFX, _T("[send2]"),send2);
  2994. RFX_Text(pFX, _T("[send3]"),send3);
  2995. RFX_Text(pFX, _T("[txtype]"),txtype);
  2996. RFX_Text(pFX, _T("[outside]"),outside);
  2997. RFX_Text(pFX, _T("[discount]"),discount);
  2998. RFX_Text(pFX, _T("[authorize]"),authorize);
  2999. RFX_Text(pFX, _T("[discount2]"),discount2);
  3000. RFX_Text(pFX, _T("[authorize2]"),authorize2);
  3001. RFX_Text(pFX, _T("[contractno1]"),contractno1);
  3002. RFX_Text(pFX, _T("[contractno2]"),contractno2);
  3003. RFX_Text(pFX, _T("[send4]"),send4);
  3004. RFX_Text(pFX, _T("[send5]"),send5);
  3005. RFX_Text(pFX, _T("[dindantype]"),dindantype); RFX_Text(pFX, _T("[STA]"),STA);
  3006. //}}AFX_FIELD_MAP
  3007. }
  3008. /////////////////////////////////////////////////////////////////////////////
  3009. // CRstDindanView diagnostics
  3010. #ifdef _DEBUG
  3011. void CRstDindanView::AssertValid() const
  3012. {
  3013. CRecordset::AssertValid();
  3014. }
  3015. void CRstDindanView::Dump(CDumpContext& dc) const
  3016. {
  3017. CRecordset::Dump(dc);
  3018. }
  3019. #endif //_DEBUG
  3020. IMPLEMENT_DYNAMIC(CRsttakeview, CRecordset)
  3021. CRsttakeview::CRsttakeview(CDatabase* pdb)
  3022. : CRecordset(pdb)
  3023. {
  3024. //{{AFX_FIELD_INIT(CRsttakeview)
  3025. m_nFields = 33;
  3026. //}}AFX_FIELD_INIT
  3027. m_nDefaultType = forwardOnly;
  3028. this->m_pDatabase = g_curdb;
  3029. m_strSort="bookingdate,time";
  3030. }
  3031. CString CRsttakeview::GetDefaultConnect()
  3032. {
  3033. return _T("ODBC;DSN=");
  3034. }
  3035. CString CRsttakeview::GetDefaultSQL()
  3036. {
  3037. return _T("[takeview]");
  3038. }
  3039. void CRsttakeview::DoFieldExchange(CFieldExchange* pFX)
  3040. {
  3041. //{{AFX_FIELD_MAP(CRsttakeview)
  3042. pFX->SetFieldType(CFieldExchange::outputColumn);
  3043. RFX_Text(pFX, _T("[id]"), id);
  3044. RFX_Text(pFX, _T("[name1]"), name1);
  3045. RFX_Text(pFX, _T("[name2]"), name2);
  3046. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3047. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3048. RFX_Text(pFX, _T("[ren]"), ren);
  3049. RFX_Text(pFX, _T("[phone1]"),phone1);
  3050. RFX_Text(pFX, _T("[phone2]"),phone2);
  3051. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3052. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3053. RFX_Text(pFX, _T("[name]"),name);
  3054. RFX_Text(pFX, _T("[status]"),status);
  3055. RFX_Text(pFX, _T("[date]"),date);
  3056. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3057. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  3058. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  3059. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  3060. RFX_Text(pFX, _T("[time5]"),time5);
  3061. RFX_Text(pFX, _T("[time3]"),time3);
  3062. RFX_Text(pFX, _T("[bookingdate]"),bookingdate);
  3063. RFX_Text(pFX, _T("[time]"),time);
  3064. RFX_Text(pFX, _T("[dress]"),dress);
  3065. RFX_Text(pFX, _T("[bz]"),bz);
  3066. RFX_Text(pFX, _T("[birthday1]"),birthday1);
  3067. RFX_Text(pFX, _T("[check1]"),check1);
  3068. RFX_Text(pFX, _T("[clerk]"),clerk);
  3069. RFX_Text(pFX, _T("[payed4]"),m_payed4);
  3070. RFX_Text(pFX, _T("[payed5]"),m_payed5);
  3071. RFX_Text(pFX, _T("[money1]"),m_money1);
  3072. RFX_Text(pFX, _T("[sex]"),sex);
  3073. RFX_Text(pFX, _T("[inputtime]"),inputtime);
  3074. RFX_Text(pFX, _T("[branch]"),branch); RFX_Text(pFX, _T("[curno]"),curno);
  3075. //}}AFX_FIELD_MAP
  3076. }
  3077. /////////////////////////////////////////////////////////////////////////////
  3078. // CRsttakeview diagnostics
  3079. #ifdef _DEBUG
  3080. void CRsttakeview::AssertValid() const
  3081. {
  3082. CRecordset::AssertValid();
  3083. }
  3084. void CRsttakeview::Dump(CDumpContext& dc) const
  3085. {
  3086. CRecordset::Dump(dc);
  3087. }
  3088. #endif //_DEBUG
  3089. IMPLEMENT_DYNAMIC(CRstannualfeeview, CRecordset)
  3090. CRstannualfeeview::CRstannualfeeview(CDatabase* pdb)
  3091. : CRecordset(pdb)
  3092. {
  3093. //{{AFX_FIELD_INIT(CRstannualfeeview)
  3094. m_nFields = 14;
  3095. //}}AFX_FIELD_INIT
  3096. m_nDefaultType = forwardOnly;
  3097. this->m_pDatabase = g_curdb;
  3098. m_strSort="id,year,date";
  3099. }
  3100. CString CRstannualfeeview::GetDefaultConnect()
  3101. {
  3102. return _T("ODBC;DSN=");
  3103. }
  3104. CString CRstannualfeeview::GetDefaultSQL()
  3105. {
  3106. return _T("[annualfeeview]");
  3107. }
  3108. void CRstannualfeeview::DoFieldExchange(CFieldExchange* pFX)
  3109. {
  3110. //{{AFX_FIELD_MAP(CRstannualfeeview)
  3111. pFX->SetFieldType(CFieldExchange::outputColumn);
  3112. RFX_Text(pFX, _T("[id]"), id);
  3113. RFX_Text(pFX, _T("[name1]"), name1);
  3114. RFX_Text(pFX, _T("[name2]"), name2);
  3115. RFX_Text(pFX, _T("[time2]"), time2);
  3116. RFX_Text(pFX, _T("[ren]"), ren);
  3117. RFX_Text(pFX, _T("[phone1]"),phone1);
  3118. RFX_Text(pFX, _T("[phone2]"),phone2);
  3119. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3120. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3121. RFX_Text(pFX, _T("[year]"),year);
  3122. RFX_Text(pFX, _T("[clerk]"),clerk);
  3123. RFX_Text(pFX, _T("[date]"),date); RFX_Text(pFX, _T("[status5]"),status5);
  3124. RFX_Text(pFX, _T("[bz]"),bz,4096);
  3125. //}}AFX_FIELD_MAP
  3126. }
  3127. /////////////////////////////////////////////////////////////////////////////
  3128. // CRstannualfeeview diagnostics
  3129. #ifdef _DEBUG
  3130. void CRstannualfeeview::AssertValid() const
  3131. {
  3132. CRecordset::AssertValid();
  3133. }
  3134. void CRstannualfeeview::Dump(CDumpContext& dc) const
  3135. {
  3136. CRecordset::Dump(dc);
  3137. }
  3138. #endif //_DEBUG
  3139. IMPLEMENT_DYNAMIC(CRstDindanFormLKAY, CRecordset)
  3140. CRstDindanFormLKAY::CRstDindanFormLKAY(CDatabase* pdb)
  3141. : CRecordset(pdb)
  3142. {
  3143. //{{AFX_FIELD_INIT(CRstDindanFormLKAY)
  3144. id = _T("");
  3145. name1 = _T("");
  3146. name2 = _T("");
  3147. taoxiname = _T("");
  3148. taoxijiage = _T("");
  3149. time1 = _T("");
  3150. time2 = _T("");
  3151. ren = _T("");
  3152. time4 = _T("");
  3153. time5 = _T("");
  3154. time6 = _T("");
  3155. status = _T("");
  3156. status2 = _T("");
  3157. status3 = _T("");
  3158. status4 = _T("");
  3159. status5 = _T("");
  3160. status8 = _T("");
  3161. waiter1 = _T("");
  3162. waiter12 = _T("");
  3163. waiter13 = _T("");
  3164. waiter14 = _T("");
  3165. waiter2 = _T("");
  3166. waiter22 = _T("");
  3167. waiter23 = _T("");
  3168. waiter24 = _T("");
  3169. waiter8 = _T("");
  3170. waiter4 = _T("");
  3171. phone1 = _T("");
  3172. phone2 = _T("");
  3173. taketime = _T("");
  3174. pinyin1 = _T("");
  3175. pinyin2 = _T("");
  3176. status6 = _T("");
  3177. waiter3 = _T("");
  3178. waiter5 = _T("");
  3179. waiter7 = _T("");
  3180. waiter6 = _T("");
  3181. tichenren1 = _T("");
  3182. tichenren2 = _T("");
  3183. tichenren3 = _T("");
  3184. tichenren4 = _T("");
  3185. tichenren5 = _T("");
  3186. send1 = _T("");
  3187. send2 = _T("");
  3188. send3 = _T("");
  3189. txtype = _T("");
  3190. outside = _T("");
  3191. discount = _T("");
  3192. discount2 = _T("");
  3193. authorize = _T("");
  3194. authorize2 = _T("");
  3195. contractno1 = _T("");
  3196. contractno2 = _T("");
  3197. sex = _T("");
  3198. birthday1 = _T("");
  3199. check1 = _T("");
  3200. m_nFields = 56;
  3201. //}}AFX_FIELD_INIT
  3202. m_nDefaultType = forwardOnly;
  3203. this->m_pDatabase = g_curdb;
  3204. m_strSort="id desc";
  3205. }
  3206. CString CRstDindanFormLKAY::GetDefaultConnect()
  3207. {
  3208. return _T("ODBC;DSN=");
  3209. }
  3210. CString CRstDindanFormLKAY::GetDefaultSQL()
  3211. {
  3212. return _T("[dindanlkay]");
  3213. }
  3214. void CRstDindanFormLKAY::DoFieldExchange(CFieldExchange* pFX)
  3215. {
  3216. //{{AFX_FIELD_MAP(CRstDindanFormLKAY)
  3217. pFX->SetFieldType(CFieldExchange::outputColumn);
  3218. RFX_Text(pFX, _T("[id]"), id);
  3219. RFX_Text(pFX, _T("[name1]"), name1);
  3220. RFX_Text(pFX, _T("[name2]"), name2);
  3221. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3222. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3223. RFX_Text(pFX, _T("[time1]"), time1);
  3224. RFX_Text(pFX, _T("[time2]"), time2);
  3225. RFX_Text(pFX, _T("[ren]"), ren);
  3226. RFX_Text(pFX, _T("[time4]"), time4);
  3227. RFX_Text(pFX, _T("[time5]"), time5);
  3228. RFX_Text(pFX, _T("[time6]"), time6);
  3229. RFX_Text(pFX, _T("[status]"), status);
  3230. RFX_Text(pFX, _T("[status2]"),status2);
  3231. RFX_Text(pFX, _T("[status3]"),status3);
  3232. RFX_Text(pFX, _T("[status4]"),status4);
  3233. RFX_Text(pFX, _T("[status5]"),status5);
  3234. RFX_Text(pFX, _T("[status8]"),status8);
  3235. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3236. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  3237. RFX_Text(pFX, _T("[waiter13]"),waiter13);
  3238. RFX_Text(pFX, _T("[waiter14]"),waiter14);
  3239. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  3240. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  3241. RFX_Text(pFX, _T("[waiter23]"),waiter23);
  3242. RFX_Text(pFX, _T("[waiter24]"),waiter24);
  3243. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  3244. RFX_Text(pFX, _T("[waiter8]"),waiter8);
  3245. RFX_Text(pFX, _T("[phone1]"),phone1);
  3246. RFX_Text(pFX, _T("[phone2]"),phone2);
  3247. RFX_Text(pFX, _T("[taketime]"),taketime);
  3248. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3249. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3250. RFX_Text(pFX, _T("[status6]"),status6);
  3251. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  3252. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  3253. RFX_Text(pFX, _T("[waiter6]"),waiter6);
  3254. RFX_Text(pFX, _T("[waiter7]"),waiter7);
  3255. RFX_Text(pFX, _T("[tichenren1]"),tichenren1);
  3256. RFX_Text(pFX, _T("[tichenren2]"),tichenren2);
  3257. RFX_Text(pFX, _T("[tichenren3]"),tichenren3);
  3258. RFX_Text(pFX, _T("[tichenren4]"),tichenren4);
  3259. RFX_Text(pFX, _T("[tichenren5]"),tichenren5);
  3260. RFX_Text(pFX, _T("[send1]"),send1);
  3261. RFX_Text(pFX, _T("[send2]"),send2);
  3262. RFX_Text(pFX, _T("[send3]"),send3);
  3263. RFX_Text(pFX, _T("[txtype]"),txtype);
  3264. RFX_Text(pFX, _T("[outside]"),outside);
  3265. RFX_Text(pFX, _T("[discount]"),discount);
  3266. RFX_Text(pFX, _T("[authorize]"),authorize);
  3267. RFX_Text(pFX, _T("[discount2]"),discount2);
  3268. RFX_Text(pFX, _T("[authorize2]"),authorize2);
  3269. RFX_Text(pFX, _T("[contractno1]"),contractno1);
  3270. RFX_Text(pFX, _T("[contractno2]"),contractno2);
  3271. RFX_Text(pFX, _T("[sex]"),sex);
  3272. RFX_Text(pFX, _T("[birthday1]"),birthday1);
  3273. RFX_Text(pFX, _T("[check1]"),check1);
  3274. //}}AFX_FIELD_MAP
  3275. }
  3276. /////////////////////////////////////////////////////////////////////////////
  3277. // CRstDindanFormLKAY diagnostics
  3278. #ifdef _DEBUG
  3279. void CRstDindanFormLKAY::AssertValid() const
  3280. {
  3281. CRecordset::AssertValid();
  3282. }
  3283. void CRstDindanFormLKAY::Dump(CDumpContext& dc) const
  3284. {
  3285. CRecordset::Dump(dc);
  3286. }
  3287. #endif //_DEBUG
  3288. IMPLEMENT_DYNAMIC(CRstDindanForm9, CRecordset)
  3289. CRstDindanForm9::CRstDindanForm9(CDatabase* pdb)
  3290. : CRecordset(pdb)
  3291. {
  3292. //{{AFX_FIELD_INIT(CRstDindanForm9)
  3293. id = _T("");
  3294. name1 = _T("");
  3295. name2 = _T("");
  3296. taoxiname = _T("");
  3297. taoxijiage = _T("");
  3298. waiter1 = _T("");
  3299. waiter12 = _T("");
  3300. waiter13 = _T("");
  3301. waiter14 = _T("");
  3302. waiter1rate = _T("");
  3303. waiter12rate = _T("");
  3304. waiter13rate = _T("");
  3305. waiter14rate = _T("");
  3306. waiter2 = _T("");
  3307. waiter22 = _T("");
  3308. waiter23 = _T("");
  3309. waiter24 = _T("");
  3310. waiter2rate = _T("");
  3311. waiter22rate = _T("");
  3312. waiter23rate = _T("");
  3313. waiter24rate = _T("");
  3314. phone1 = _T("");
  3315. phone2 = _T("");
  3316. pinyin1 = _T("");
  3317. pinyin2 = _T("");
  3318. status3 = _T("");
  3319. choosezs = _T("");
  3320. ren = _T("");
  3321. ren2 = _T("");
  3322. renrate = _T("");
  3323. ren2rate = _T("");
  3324. status = _T("");
  3325. time2 = _T("");
  3326. m_nFields = 33;
  3327. //}}AFX_FIELD_INIT
  3328. m_nDefaultType = forwardOnly;
  3329. this->m_pDatabase = g_curdb;
  3330. m_strSort="id desc";
  3331. }
  3332. CString CRstDindanForm9::GetDefaultConnect()
  3333. {
  3334. return _T("ODBC;DSN=");
  3335. }
  3336. CString CRstDindanForm9::GetDefaultSQL()
  3337. {
  3338. return _T("[dindan]");
  3339. }
  3340. void CRstDindanForm9::DoFieldExchange(CFieldExchange* pFX)
  3341. {
  3342. //{{AFX_FIELD_MAP(CRstDindanForm9)
  3343. pFX->SetFieldType(CFieldExchange::outputColumn);
  3344. RFX_Text(pFX, _T("[id]"), id);
  3345. RFX_Text(pFX, _T("[name1]"), name1);
  3346. RFX_Text(pFX, _T("[name2]"), name2);
  3347. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3348. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3349. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3350. RFX_Text(pFX, _T("[waiter12]"),waiter12);
  3351. RFX_Text(pFX, _T("[waiter13]"),waiter13);
  3352. RFX_Text(pFX, _T("[waiter14]"),waiter14);
  3353. RFX_Text(pFX, _T("[waiter1rate]"),waiter1rate);
  3354. RFX_Text(pFX, _T("[waiter12rate]"),waiter12rate);
  3355. RFX_Text(pFX, _T("[waiter13rate]"),waiter13rate);
  3356. RFX_Text(pFX, _T("[waiter14rate]"),waiter14rate);
  3357. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  3358. RFX_Text(pFX, _T("[waiter22]"),waiter22);
  3359. RFX_Text(pFX, _T("[waiter23]"),waiter23);
  3360. RFX_Text(pFX, _T("[waiter24]"),waiter24);
  3361. RFX_Text(pFX, _T("[waiter2rate]"),waiter2rate);
  3362. RFX_Text(pFX, _T("[waiter22rate]"),waiter22rate);
  3363. RFX_Text(pFX, _T("[waiter23rate]"),waiter23rate);
  3364. RFX_Text(pFX, _T("[waiter24rate]"),waiter24rate);
  3365. RFX_Text(pFX, _T("[phone1]"),phone1);
  3366. RFX_Text(pFX, _T("[phone2]"),phone2);
  3367. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3368. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3369. RFX_Text(pFX, _T("[status3]"),status3);
  3370. RFX_Text(pFX, _T("[choosezs]"),choosezs);
  3371. RFX_Text(pFX, _T("[ren]"),ren);
  3372. RFX_Text(pFX, _T("[ren2]"),ren2);
  3373. RFX_Text(pFX, _T("[renrate]"),renrate);
  3374. RFX_Text(pFX, _T("[ren2rate]"),ren2rate);
  3375. RFX_Text(pFX, _T("[time2]"),time2);
  3376. RFX_Text(pFX, _T("[status]"),status);
  3377. //}}AFX_FIELD_MAP
  3378. }
  3379. /////////////////////////////////////////////////////////////////////////////
  3380. // CRstDindanForm9 diagnostics
  3381. #ifdef _DEBUG
  3382. void CRstDindanForm9::AssertValid() const
  3383. {
  3384. CRecordset::AssertValid();
  3385. }
  3386. void CRstDindanForm9::Dump(CDumpContext& dc) const
  3387. {
  3388. CRecordset::Dump(dc);
  3389. }
  3390. #endif //_DEBUG
  3391. IMPLEMENT_DYNAMIC(CRstDindanForm2, CRecordset)
  3392. CRstDindanForm2::CRstDindanForm2(CDatabase* pdb)
  3393. : CRecordset(pdb)
  3394. {
  3395. //{{AFX_FIELD_INIT(CRstDindanForm2)
  3396. id = _T("");
  3397. name1 = _T("");
  3398. name2 = _T("");
  3399. status4 = _T("");
  3400. status2 = _T("");
  3401. time4 = _T("");
  3402. money3 = _T("");
  3403. choosezs = _T("");
  3404. ren = _T("");
  3405. waiter3 = _T("");
  3406. waiter1 = _T(""); //摄影师
  3407. waiter5 = _T(""); //初修师
  3408. taoxiname = _T("");
  3409. taoxijiage = _T("");
  3410. phone1 = _T("");
  3411. phone2 = _T("");
  3412. pinyin1 = _T("");
  3413. pinyin2 = _T("");
  3414. strDateOfEarlyRepair = _T("");
  3415. strXPCloundSite = _T("");
  3416. m_nFields = 20;
  3417. //}}AFX_FIELD_INIT
  3418. m_nDefaultType = forwardOnly;
  3419. this->m_pDatabase = g_curdb;
  3420. m_strSort="id desc";
  3421. }
  3422. CString CRstDindanForm2::GetDefaultConnect()
  3423. {
  3424. return _T("ODBC;DSN=");
  3425. }
  3426. CString CRstDindanForm2::GetDefaultSQL()
  3427. {
  3428. return _T("[dindan]");
  3429. }
  3430. void CRstDindanForm2::DoFieldExchange(CFieldExchange* pFX)
  3431. {
  3432. //{{AFX_FIELD_MAP(CRstDindanForm2)
  3433. pFX->SetFieldType(CFieldExchange::outputColumn);
  3434. RFX_Text(pFX, _T("[id]"), id);
  3435. RFX_Text(pFX, _T("[name1]"), name1);
  3436. RFX_Text(pFX, _T("[name2]"), name2);
  3437. RFX_Text(pFX, _T("[status4]"),status4); // 初修状态;
  3438. RFX_Text(pFX, _T("[time8]"),strDateOfEarlyRepair); // 初修日期;
  3439. RFX_Text(pFX, _T("[status2]"),status2);
  3440. RFX_Text(pFX, _T("[time4]"), time4);
  3441. RFX_Text(pFX, _T("[money3]"), money3);
  3442. RFX_Text(pFX, _T("[choosezs]"), choosezs);
  3443. RFX_Text(pFX, _T("[ren]"), ren);
  3444. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  3445. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3446. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  3447. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3448. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3449. RFX_Text(pFX, _T("[phone1]"),phone1);
  3450. RFX_Text(pFX, _T("[phone2]"),phone2);
  3451. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3452. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3453. RFX_Text(pFX, _T("[XPCloundSite]"),strXPCloundSite);
  3454. //}}AFX_FIELD_MAP
  3455. }
  3456. /////////////////////////////////////////////////////////////////////////////
  3457. // CRstDindanForm2 diagnostics
  3458. #ifdef _DEBUG
  3459. void CRstDindanForm2::AssertValid() const
  3460. {
  3461. CRecordset::AssertValid();
  3462. }
  3463. void CRstDindanForm2::Dump(CDumpContext& dc) const
  3464. {
  3465. CRecordset::Dump(dc);
  3466. }
  3467. #endif //_DEBUG
  3468. IMPLEMENT_DYNAMIC(CRstDindanForm7, CRecordset)
  3469. CRstDindanForm7::CRstDindanForm7(CDatabase* pdb)
  3470. : CRecordset(pdb)
  3471. {
  3472. //{{AFX_FIELD_INIT(CRstDindanForm7)
  3473. id = _T("");
  3474. name1 = _T("");
  3475. name2 = _T("");
  3476. status3 = _T("");
  3477. taoxiname = _T("");
  3478. taoxijiage = _T("");
  3479. phone1 = _T("");
  3480. phone2 = _T("");
  3481. pinyin1 = _T("");
  3482. pinyin2 = _T("");
  3483. m_payed4 = _T("");
  3484. m_payed5 = _T("");
  3485. m_money1 = _T("");
  3486. status5 = _T("");
  3487. urgent = _T("");
  3488. time5 = _T("");
  3489. ren = _T("");
  3490. time1 = _T("");
  3491. txtype = _T("");
  3492. discount = _T("");
  3493. taoxizs= _T("");
  3494. takezs= _T("");
  3495. choosezs= _T("");
  3496. status2= _T("");
  3497. waiter1= _T("");
  3498. waiter2= _T("");
  3499. clothescount= _T("");
  3500. dindantype= _T("");
  3501. reason= _T("");
  3502. from= _T("");
  3503. m_nFields = 30;
  3504. //}}AFX_FIELD_INIT
  3505. m_nDefaultType = forwardOnly;
  3506. this->m_pDatabase = g_curdb;
  3507. m_strSort="id desc";
  3508. }
  3509. CString CRstDindanForm7::GetDefaultConnect()
  3510. {
  3511. return _T("ODBC;DSN=");
  3512. }
  3513. CString CRstDindanForm7::GetDefaultSQL()
  3514. {
  3515. return _T("[dindan]");
  3516. }
  3517. void CRstDindanForm7::DoFieldExchange(CFieldExchange* pFX)
  3518. {
  3519. //{{AFX_FIELD_MAP(CRstDindanForm7)
  3520. pFX->SetFieldType(CFieldExchange::outputColumn);
  3521. RFX_Text(pFX, _T("[id]"), id);
  3522. RFX_Text(pFX, _T("[name1]"), name1);
  3523. RFX_Text(pFX, _T("[name2]"), name2);
  3524. RFX_Text(pFX, _T("[status3]"),status3);
  3525. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3526. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3527. RFX_Text(pFX, _T("[phone1]"),phone1);
  3528. RFX_Text(pFX, _T("[phone2]"),phone2);
  3529. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3530. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3531. RFX_Text(pFX, _T("[payed4]"),m_payed4);
  3532. RFX_Text(pFX, _T("[payed5]"),m_payed5);
  3533. RFX_Text(pFX, _T("[money1]"),m_money1);
  3534. RFX_Text(pFX, _T("[status5]"),status5);
  3535. RFX_Text(pFX, _T("[urgent]"),urgent);
  3536. RFX_Text(pFX, _T("[time5]"),time5);
  3537. RFX_Text(pFX, _T("[ren]"),ren);
  3538. RFX_Text(pFX, _T("[time1]"),time1);
  3539. RFX_Text(pFX, _T("[txtype]"),txtype);
  3540. RFX_Text(pFX, _T("[discount]"),discount);
  3541. RFX_Text(pFX, _T("[taoxizs]"),taoxizs);
  3542. RFX_Text(pFX, _T("[takezs]"),takezs);
  3543. RFX_Text(pFX, _T("[choosezs]"),choosezs);
  3544. RFX_Text(pFX, _T("[status2]"),status2);
  3545. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3546. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  3547. RFX_Text(pFX, _T("[clothescount]"),clothescount);
  3548. RFX_Text(pFX, _T("[dindantype]"),dindantype);
  3549. RFX_Text(pFX, _T("[from]"),from);
  3550. RFX_Text(pFX, _T("[reason]"),reason);
  3551. //}}AFX_FIELD_MAP
  3552. }
  3553. /////////////////////////////////////////////////////////////////////////////
  3554. // CRstDindanForm7 diagnostics
  3555. #ifdef _DEBUG
  3556. void CRstDindanForm7::AssertValid() const
  3557. {
  3558. CRecordset::AssertValid();
  3559. }
  3560. void CRstDindanForm7::Dump(CDumpContext& dc) const
  3561. {
  3562. CRecordset::Dump(dc);
  3563. }
  3564. #endif //_DEBUG
  3565. IMPLEMENT_DYNAMIC(CRstdindanspview, CRecordset)
  3566. CRstdindanspview::CRstdindanspview(CDatabase* pdb)
  3567. : CRecordset(pdb)
  3568. {
  3569. //m_nFields = 24;
  3570. m_nFields = 27;
  3571. m_nDefaultType = forwardOnly;
  3572. this->m_pDatabase = g_curdb;
  3573. m_strSort="id desc";
  3574. }
  3575. CString CRstdindanspview::GetDefaultConnect()
  3576. {
  3577. return _T("ODBC;DSN=");
  3578. }
  3579. CString CRstdindanspview::GetDefaultSQL()
  3580. {
  3581. return _T("[dindanspview]");
  3582. }
  3583. void CRstdindanspview::DoFieldExchange(CFieldExchange* pFX)
  3584. {
  3585. pFX->SetFieldType(CFieldExchange::outputColumn);
  3586. RFX_Text(pFX, _T("[id]"), id);
  3587. RFX_Text(pFX, _T("[name1]"), name1);
  3588. RFX_Text(pFX, _T("[name2]"), name2);
  3589. RFX_Text(pFX, _T("[status5]"),status5);
  3590. RFX_Text(pFX, _T("[waiter4]"),m_strDesigner); //Jeff.add.for.ddf
  3591. RFX_Text(pFX, _T("[urgent]"),urgent);
  3592. RFX_Text(pFX, _T("[time5]"),time5);
  3593. RFX_Text(pFX, _T("[ren]"),ren);
  3594. RFX_Text(pFX, _T("[phone1]"),phone1);
  3595. RFX_Text(pFX, _T("[phone2]"),phone2);
  3596. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3597. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3598. RFX_Text(pFX, _T("[taoxijiage]"),taoxijiage);
  3599. RFX_Text(pFX, _T("[payed4]"),m_payed4);
  3600. RFX_Text(pFX, _T("[payed5]"),m_payed5);
  3601. RFX_Text(pFX, _T("[money1]"),m_money1);
  3602. RFX_Text(pFX, _T("[status52]"),status52);
  3603. RFX_Text(pFX, _T("[status6]"),status6);
  3604. RFX_Text(pFX, _T("[name]"),name);
  3605. RFX_Text(pFX, _T("[status32]"),status3);
  3606. RFX_Text(pFX, _T("[status4]"),status4);
  3607. RFX_Text(pFX, _T("[status1]"),status1);
  3608. RFX_Text(pFX, _T("[status2]"),status2);
  3609. RFX_Text(pFX, _T("[urgent2]"),urgent2);
  3610. //RFX_Text(pFX, _T("[taketime]"),taketime);//delete by Jeff.
  3611. RFX_Text(pFX, _T("[date4]"),taketime); // 将taketime用date4来代替:取件日期;
  3612. RFX_Int(pFX, _T("[autoid]"), m_nAutoid);
  3613. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  3614. //}}AFX_FIELD_MAP
  3615. }
  3616. /////////////////////////////////////////////////////////////////////////////
  3617. // CRstdindanspview diagnostics
  3618. #ifdef _DEBUG
  3619. void CRstdindanspview::AssertValid() const
  3620. {
  3621. CRecordset::AssertValid();
  3622. }
  3623. void CRstdindanspview::Dump(CDumpContext& dc) const
  3624. {
  3625. CRecordset::Dump(dc);
  3626. }
  3627. #endif //_DEBUG
  3628. IMPLEMENT_DYNAMIC(CRstDindanForm4, CRecordset)
  3629. CRstDindanForm4::CRstDindanForm4(CDatabase* pdb)
  3630. : CRecordset(pdb)
  3631. {
  3632. //{{AFX_FIELD_INIT(CRstDindanForm4)
  3633. id = _T("");
  3634. name1 = _T("");
  3635. name2 = _T("");
  3636. status6 = _T("");
  3637. status5 = _T("");
  3638. status8 = _T("");
  3639. urgent = _T("");
  3640. time5 = _T("");
  3641. time6 = _T("");
  3642. time10 = _T("");
  3643. bz2 = _T("");
  3644. ren = _T("");
  3645. waiter8 = _T("");
  3646. waiter4 = _T("");
  3647. taoxiname = _T("");
  3648. taoxijiage = _T("");
  3649. phone1 = _T("");
  3650. phone2 = _T("");
  3651. pinyin1 = _T("");
  3652. pinyin2 = _T("");
  3653. strDateOfRefinement = _T("");
  3654. strXYCloundSite = _T("");
  3655. m_nFields = 22;
  3656. //}}AFX_FIELD_INIT
  3657. m_nDefaultType = forwardOnly;
  3658. this->m_pDatabase = g_curdb;
  3659. m_strSort="id desc";
  3660. }
  3661. CString CRstDindanForm4::GetDefaultConnect()
  3662. {
  3663. return _T("ODBC;DSN=");
  3664. }
  3665. CString CRstDindanForm4::GetDefaultSQL()
  3666. {
  3667. return _T("[dindan]");
  3668. }
  3669. void CRstDindanForm4::DoFieldExchange(CFieldExchange* pFX)
  3670. {
  3671. //{{AFX_FIELD_MAP(CRstDindanForm4)
  3672. pFX->SetFieldType(CFieldExchange::outputColumn);
  3673. RFX_Text(pFX, _T("[id]"), id);
  3674. RFX_Text(pFX, _T("[name1]"), name1);
  3675. RFX_Text(pFX, _T("[name2]"), name2);
  3676. RFX_Text(pFX, _T("[status6]"),status6); // 精修状态;
  3677. // Jeff.add.time9 精修日期;
  3678. RFX_Text(pFX, _T("[time9]"),strDateOfRefinement);
  3679. RFX_Text(pFX, _T("[status5]"), status5);
  3680. RFX_Text(pFX, _T("[status8]"), status8);
  3681. RFX_Text(pFX, _T("[urgent]"), urgent);
  3682. RFX_Text(pFX, _T("[time5]"), time5);
  3683. RFX_Text(pFX, _T("[time6]"), time6);
  3684. RFX_Text(pFX, _T("[time10]"), time10);
  3685. RFX_Text(pFX, _T("[bz2]"), bz2, 4096);
  3686. RFX_Text(pFX, _T("[ren]"), ren);
  3687. RFX_Text(pFX, _T("[waiter8]"),waiter8);
  3688. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  3689. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3690. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3691. RFX_Text(pFX, _T("[phone1]"),phone1);
  3692. RFX_Text(pFX, _T("[phone2]"),phone2);
  3693. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3694. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3695. RFX_Text(pFX, _T("[XYCloundSite]"),strXYCloundSite);
  3696. //}}AFX_FIELD_MAP
  3697. }
  3698. /////////////////////////////////////////////////////////////////////////////
  3699. // CRstDindanForm4 diagnostics
  3700. #ifdef _DEBUG
  3701. void CRstDindanForm4::AssertValid() const
  3702. {
  3703. CRecordset::AssertValid();
  3704. }
  3705. void CRstDindanForm4::Dump(CDumpContext& dc) const
  3706. {
  3707. CRecordset::Dump(dc);
  3708. }
  3709. #endif //_DEBUG
  3710. IMPLEMENT_DYNAMIC(CRstDindanForm6, CRecordset)
  3711. CRstDindanForm6::CRstDindanForm6(CDatabase* pdb)
  3712. : CRecordset(pdb)
  3713. {
  3714. //{{AFX_FIELD_INIT(CRstDindanForm6)
  3715. id = _T("");
  3716. name1 = _T("");
  3717. name2 = _T("");
  3718. status2 = _T("");
  3719. status7 = _T("");
  3720. bruncount = _T("");
  3721. urgent = _T("");
  3722. time5 = _T("");
  3723. ren = _T("");
  3724. taoxiname = _T("");
  3725. taoxijiage = _T("");
  3726. phone1 = _T("");
  3727. phone2 = _T("");
  3728. pinyin1 = _T("");
  3729. pinyin2 = _T("");
  3730. m_nFields = 15;
  3731. //}}AFX_FIELD_INIT
  3732. m_nDefaultType = forwardOnly;
  3733. this->m_pDatabase = g_curdb;
  3734. m_strSort="id desc";
  3735. }
  3736. CString CRstDindanForm6::GetDefaultConnect()
  3737. {
  3738. return _T("ODBC;DSN=");
  3739. }
  3740. CString CRstDindanForm6::GetDefaultSQL()
  3741. {
  3742. return _T("[dindan]");
  3743. }
  3744. void CRstDindanForm6::DoFieldExchange(CFieldExchange* pFX)
  3745. {
  3746. //{{AFX_FIELD_MAP(CRstDindanForm6)
  3747. pFX->SetFieldType(CFieldExchange::outputColumn);
  3748. RFX_Text(pFX, _T("[id]"), id);
  3749. RFX_Text(pFX, _T("[name1]"), name1);
  3750. RFX_Text(pFX, _T("[name2]"), name2);
  3751. RFX_Text(pFX, _T("[status2]"),status2);
  3752. RFX_Text(pFX, _T("[status7]"),status7);
  3753. RFX_Text(pFX, _T("[bruncount]"),bruncount);
  3754. RFX_Text(pFX, _T("[urgent]"), urgent);
  3755. RFX_Text(pFX, _T("[time5]"), time5);
  3756. RFX_Text(pFX, _T("[ren]"), ren);
  3757. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3758. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3759. RFX_Text(pFX, _T("[phone1]"),phone1);
  3760. RFX_Text(pFX, _T("[phone2]"),phone2);
  3761. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3762. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3763. //}}AFX_FIELD_MAP
  3764. }
  3765. /////////////////////////////////////////////////////////////////////////////
  3766. // CRstDindanForm6 diagnostics
  3767. #ifdef _DEBUG
  3768. void CRstDindanForm6::AssertValid() const
  3769. {
  3770. CRecordset::AssertValid();
  3771. }
  3772. void CRstDindanForm6::Dump(CDumpContext& dc) const
  3773. {
  3774. CRecordset::Dump(dc);
  3775. }
  3776. #endif //_DEBUG
  3777. IMPLEMENT_DYNAMIC(CRstDindanForm3, CRecordset)
  3778. CRstDindanForm3::CRstDindanForm3(CDatabase* pdb)
  3779. : CRecordset(pdb)
  3780. {
  3781. //{{AFX_FIELD_INIT(CRstDindanForm3)
  3782. id = _T("");
  3783. name1 = _T("");
  3784. name2 = _T("");
  3785. status = _T("");
  3786. status4 = _T("");
  3787. urgent = _T("");
  3788. time4 = _T("");
  3789. time8 = _T("");
  3790. taoxiname = _T("");
  3791. taoxijiage = _T("");
  3792. waiter1 = _T("");
  3793. waiter5 = _T("");
  3794. ren = _T("");
  3795. phone1 = _T("");
  3796. phone2 = _T("");
  3797. pinyin1 = _T("");
  3798. pinyin2 = _T("");
  3799. m_nFields = 17;
  3800. //}}AFX_FIELD_INIT
  3801. m_nDefaultType = forwardOnly;
  3802. this->m_pDatabase = g_curdb;
  3803. m_strSort="id desc";
  3804. }
  3805. CString CRstDindanForm3::GetDefaultConnect()
  3806. {
  3807. return _T("ODBC;DSN=");
  3808. }
  3809. CString CRstDindanForm3::GetDefaultSQL()
  3810. {
  3811. return _T("[dindan]");
  3812. }
  3813. void CRstDindanForm3::DoFieldExchange(CFieldExchange* pFX)
  3814. {
  3815. //{{AFX_FIELD_MAP(CRstDindanForm3)
  3816. pFX->SetFieldType(CFieldExchange::outputColumn);
  3817. RFX_Text(pFX, _T("[id]"), id);
  3818. RFX_Text(pFX, _T("[name1]"), name1);
  3819. RFX_Text(pFX, _T("[name2]"), name2);
  3820. RFX_Text(pFX, _T("[status]"), status);
  3821. RFX_Text(pFX, _T("[status4]"), status4);
  3822. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3823. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3824. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  3825. RFX_Text(pFX, _T("[waiter5]"), waiter5);
  3826. RFX_Text(pFX, _T("[ren]"), ren);
  3827. RFX_Text(pFX, _T("[phone1]"),phone1);
  3828. RFX_Text(pFX, _T("[phone2]"),phone2);
  3829. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3830. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3831. RFX_Text(pFX, _T("[urgent]"),urgent);
  3832. RFX_Text(pFX, _T("[time4]"),time4);
  3833. RFX_Text(pFX, _T("[time8]"),time8);
  3834. //}}AFX_FIELD_MAP
  3835. }
  3836. #ifdef _DEBUG
  3837. void CRstDindanForm3::AssertValid() const
  3838. {
  3839. CRecordset::AssertValid();
  3840. }
  3841. void CRstDindanForm3::Dump(CDumpContext& dc) const
  3842. {
  3843. CRecordset::Dump(dc);
  3844. }
  3845. #endif //_DEBUG
  3846. IMPLEMENT_DYNAMIC(CRstDindanSatisfaction, CRecordset)
  3847. CRstDindanSatisfaction::CRstDindanSatisfaction(CDatabase* pdb): CRecordset(pdb)
  3848. {
  3849. id = _T("");
  3850. name1 = _T("");
  3851. name2 = _T("");
  3852. satisfaction1 = _T("");
  3853. satisfaction2 = _T("");
  3854. satisfaction3 = _T("");
  3855. satisfaction4 = _T("");
  3856. satisfaction5 = _T("");
  3857. satisfaction6 = _T("");
  3858. satisfaction7 = _T("");
  3859. bz5 = _T("");
  3860. ren = _T("");
  3861. taoxiname = _T("");
  3862. taoxijiage = _T("");
  3863. phone1 = _T("");
  3864. phone2 = _T("");
  3865. pinyin1 = _T("");
  3866. pinyin2 = _T("");
  3867. time1 = _T("");
  3868. #if JEFF_TEST_ON
  3869. satisfaction8 = _T("");
  3870. strVisitPeople1 = _T("");
  3871. strVisitPeople2 = _T("");
  3872. strVisitPeople3 = _T("");
  3873. strVisitPeople4 = _T("");
  3874. strVisitPeople5 = _T("");
  3875. strVisitPeople6 = _T("");
  3876. strVisitPeople7 = _T("");
  3877. strVisitPeople8 = _T("");
  3878. strVisitTime1 = _T("");
  3879. strVisitTime2 = _T("");
  3880. strVisitTime3 = _T("");
  3881. strVisitTime4 = _T("");
  3882. strVisitTime5 = _T("");
  3883. strVisitTime6 = _T("");
  3884. strVisitTime7 = _T("");
  3885. strVisitTime8 = _T("");
  3886. m_nFields = 42;
  3887. #else
  3888. m_nFields = 25;
  3889. #endif
  3890. m_nDefaultType = forwardOnly;
  3891. this->m_pDatabase = g_curdb;
  3892. m_strSort="id desc";
  3893. }
  3894. CString CRstDindanSatisfaction::GetDefaultConnect()
  3895. {
  3896. return _T("ODBC;DSN=");
  3897. }
  3898. CString CRstDindanSatisfaction::GetDefaultSQL()
  3899. {
  3900. return _T("[dindan]");
  3901. }
  3902. void CRstDindanSatisfaction::DoFieldExchange(CFieldExchange* pFX)
  3903. {
  3904. pFX->SetFieldType(CFieldExchange::outputColumn);
  3905. RFX_Text(pFX, _T("[id]"), id);
  3906. RFX_Text(pFX, _T("[name1]"), name1);
  3907. RFX_Text(pFX, _T("[name2]"), name2);
  3908. RFX_Text(pFX, _T("[satisfaction1]"), satisfaction1);
  3909. RFX_Text(pFX, _T("[satisfaction2]"), satisfaction2);
  3910. RFX_Text(pFX, _T("[satisfaction3]"), satisfaction3);
  3911. RFX_Text(pFX, _T("[satisfaction4]"), satisfaction4);
  3912. RFX_Text(pFX, _T("[satisfaction5]"), satisfaction5);
  3913. RFX_Text(pFX, _T("[satisfaction6]"), satisfaction6);
  3914. RFX_Text(pFX, _T("[satisfaction7]"), satisfaction7);
  3915. RFX_Text(pFX, _T("[bz5]"), bz5, 4096);
  3916. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  3917. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  3918. RFX_Text(pFX, _T("[ren]"), ren);
  3919. RFX_Text(pFX, _T("[phone1]"),phone1);
  3920. RFX_Text(pFX, _T("[phone2]"),phone2);
  3921. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  3922. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  3923. RFX_Text(pFX, _T("[time1]"),time1);
  3924. RFX_Text(pFX, _T("[waiter1]"),waiter1);
  3925. RFX_Text(pFX, _T("[waiter2]"),waiter2);
  3926. RFX_Text(pFX, _T("[waiter3]"),waiter3);
  3927. RFX_Text(pFX, _T("[waiter4]"),waiter4);
  3928. RFX_Text(pFX, _T("[waiter5]"),waiter5);
  3929. RFX_Text(pFX, _T("[waiter7]"),waiter7);
  3930. #if JEFF_TEST_ON
  3931. RFX_Text(pFX, _T("[satisfaction8]"), satisfaction8);
  3932. RFX_Text(pFX, _T("[VisitPeople1]"), strVisitPeople1);
  3933. RFX_Text(pFX, _T("[VisitPeople2]"), strVisitPeople2);
  3934. RFX_Text(pFX, _T("[VisitPeople3]"), strVisitPeople3);
  3935. RFX_Text(pFX, _T("[VisitPeople4]"), strVisitPeople4);
  3936. RFX_Text(pFX, _T("[VisitPeople5]"), strVisitPeople5);
  3937. RFX_Text(pFX, _T("[VisitPeople6]"), strVisitPeople6);
  3938. RFX_Text(pFX, _T("[VisitPeople7]"), strVisitPeople7);
  3939. RFX_Text(pFX, _T("[VisitPeople8]"), strVisitPeople8);
  3940. RFX_Text(pFX, _T("[VisitTime1]"), strVisitTime1);
  3941. RFX_Text(pFX, _T("[VisitTime2]"), strVisitTime2);
  3942. RFX_Text(pFX, _T("[VisitTime3]"), strVisitTime3);
  3943. RFX_Text(pFX, _T("[VisitTime4]"), strVisitTime4);
  3944. RFX_Text(pFX, _T("[VisitTime5]"), strVisitTime5);
  3945. RFX_Text(pFX, _T("[VisitTime6]"), strVisitTime6);
  3946. RFX_Text(pFX, _T("[VisitTime7]"), strVisitTime7);
  3947. RFX_Text(pFX, _T("[VisitTime8]"), strVisitTime8);
  3948. #endif
  3949. }
  3950. #ifdef _DEBUG
  3951. void CRstDindanSatisfaction::AssertValid() const
  3952. {
  3953. CRecordset::AssertValid();
  3954. }
  3955. void CRstDindanSatisfaction::Dump(CDumpContext& dc) const
  3956. {
  3957. CRecordset::Dump(dc);
  3958. }
  3959. #endif //_DEBUG
  3960. IMPLEMENT_DYNAMIC(CRstworkerreport, CRecordset)
  3961. CRstworkerreport::CRstworkerreport(CDatabase* pdb)
  3962. : CRecordset(pdb)
  3963. {
  3964. //{{AFX_FIELD_INIT(CRstworkerreport)
  3965. m_nFields = 9;
  3966. //}}AFX_FIELD_INIT
  3967. m_nDefaultType = forwardOnly;
  3968. this->m_pDatabase = g_curdb;
  3969. m_strSort="date1 desc";
  3970. }
  3971. CString CRstworkerreport::GetDefaultConnect()
  3972. {
  3973. return _T("ODBC;DSN=");
  3974. }
  3975. CString CRstworkerreport::GetDefaultSQL()
  3976. {
  3977. return _T("[workerreport]");
  3978. }
  3979. void CRstworkerreport::DoFieldExchange(CFieldExchange* pFX)
  3980. {
  3981. //{{AFX_FIELD_MAP(CRstworkerreport)
  3982. pFX->SetFieldType(CFieldExchange::outputColumn);
  3983. RFX_Text(pFX, _T("[id]"), id);
  3984. RFX_Text(pFX, _T("[worker]"), worker);
  3985. RFX_Text(pFX, _T("[addr]"), addr);
  3986. RFX_Text(pFX, _T("[date1]"), date1);
  3987. RFX_Text(pFX, _T("[date2]"), date2);
  3988. RFX_Text(pFX, _T("[read]"), read);
  3989. RFX_Text(pFX, _T("[remark]"), remark, 10240);
  3990. RFX_Text(pFX, _T("[remark2]"), remark2, 10240);
  3991. RFX_Text(pFX, _T("[remark3]"), remark3, 10240);
  3992. //}}AFX_FIELD_MAP
  3993. }
  3994. /////////////////////////////////////////////////////////////////////////////
  3995. // CRstworkerreport diagnostics
  3996. #ifdef _DEBUG
  3997. void CRstworkerreport::AssertValid() const
  3998. {
  3999. CRecordset::AssertValid();
  4000. }
  4001. void CRstworkerreport::Dump(CDumpContext& dc) const
  4002. {
  4003. CRecordset::Dump(dc);
  4004. }
  4005. #endif //_DEBUG
  4006. IMPLEMENT_DYNAMIC(CRstmsgcode, CRecordset)
  4007. CRstmsgcode::CRstmsgcode(CDatabase* pdb)
  4008. : CRecordset(pdb)
  4009. {
  4010. //{{AFX_FIELD_INIT(CRstmsgcode)
  4011. m_nFields = 5;
  4012. //}}AFX_FIELD_INIT
  4013. m_nDefaultType = forwardOnly;
  4014. this->m_pDatabase = g_curdb;
  4015. m_strSort="type";
  4016. }
  4017. CString CRstmsgcode::GetDefaultConnect()
  4018. {
  4019. return _T("ODBC;DSN=");
  4020. }
  4021. CString CRstmsgcode::GetDefaultSQL()
  4022. {
  4023. return _T("[msgcode]");
  4024. }
  4025. void CRstmsgcode::DoFieldExchange(CFieldExchange* pFX)
  4026. {
  4027. //{{AFX_FIELD_MAP(CRstmsgcode)
  4028. pFX->SetFieldType(CFieldExchange::outputColumn);
  4029. RFX_Text(pFX, _T("[type]"), type);
  4030. RFX_Text(pFX, _T("[code]"), code);
  4031. RFX_Text(pFX, _T("[good]"), good);
  4032. RFX_Text(pFX, _T("[medium]"), medium);
  4033. RFX_Text(pFX, _T("[bad]"), bad);
  4034. //}}AFX_FIELD_MAP
  4035. }
  4036. /////////////////////////////////////////////////////////////////////////////
  4037. // CRstmsgcode diagnostics
  4038. #ifdef _DEBUG
  4039. void CRstmsgcode::AssertValid() const
  4040. {
  4041. CRecordset::AssertValid();
  4042. }
  4043. void CRstmsgcode::Dump(CDumpContext& dc) const
  4044. {
  4045. CRecordset::Dump(dc);
  4046. }
  4047. #endif //_DEBUG
  4048. IMPLEMENT_DYNAMIC(CRstTakeControl, CRecordset)
  4049. CRstTakeControl::CRstTakeControl(CDatabase* pdb)
  4050. : CRecordset(pdb)
  4051. {
  4052. //{{AFX_FIELD_INIT(CRstTakeControl)
  4053. m_time2 = _T("");
  4054. m_time4 = _T("");
  4055. m_time5 = _T("");
  4056. m_time6 = _T("");
  4057. m_taketime = _T("");
  4058. m_id = _T("");
  4059. m_name1 = _T("");
  4060. m_name2 = _T("");
  4061. m_phone1 = _T("");
  4062. m_phone2 = _T("");
  4063. m_taoxiname = _T("");
  4064. m_waiter1 = _T("");
  4065. m_waiter2 = _T("");
  4066. m_waiter3 = _T("");
  4067. m_waiter8 = _T("");
  4068. m_clothescount = _T("");
  4069. m_outside = _T("");
  4070. m_ren = _T("");
  4071. m_bz2 = _T("");
  4072. pinyin1 = _T("");
  4073. pinyin2 = _T("");
  4074. datetime4 = _T("");
  4075. datetime5 = _T("");
  4076. datetime6 = _T("");
  4077. m_nFields = 25;
  4078. //}}AFX_FIELD_INIT
  4079. m_nDefaultType = forwardOnly;
  4080. this->m_pDatabase = g_curdb;
  4081. m_strSort="time2 desc,taketime desc,id desc";
  4082. }
  4083. CString CRstTakeControl::GetDefaultConnect()
  4084. {
  4085. return _T("ODBC;DSN=");
  4086. }
  4087. CString CRstTakeControl::GetDefaultSQL()
  4088. {
  4089. return _T("[dindan]");
  4090. }
  4091. void CRstTakeControl::DoFieldExchange(CFieldExchange* pFX)
  4092. {
  4093. //{{AFX_FIELD_MAP(CRstTakeControl)
  4094. pFX->SetFieldType(CFieldExchange::outputColumn);
  4095. RFX_Text(pFX, _T("[time2]"), m_time2);
  4096. RFX_Text(pFX, _T("[time4]"), m_time4);
  4097. RFX_Text(pFX, _T("[time5]"), m_time5);
  4098. RFX_Text(pFX, _T("[time6]"), m_time6);
  4099. RFX_Text(pFX, _T("[taketime]"), m_taketime);
  4100. RFX_Text(pFX, _T("[id]"), m_id);
  4101. RFX_Text(pFX, _T("[name1]"), m_name1);
  4102. RFX_Text(pFX, _T("[name2]"), m_name2);
  4103. RFX_Text(pFX, _T("[phone1]"), m_phone1);
  4104. RFX_Text(pFX, _T("[phone2]"), m_phone2);
  4105. RFX_Text(pFX, _T("[taoxiname]"), m_taoxiname);
  4106. RFX_Text(pFX, _T("[waiter1]"), m_waiter1);
  4107. RFX_Text(pFX, _T("[waiter2]"), m_waiter2);
  4108. RFX_Text(pFX, _T("[waiter3]"), m_waiter3);
  4109. RFX_Text(pFX, _T("[waiter8]"), m_waiter8);
  4110. RFX_Text(pFX, _T("[clothescount]"), m_clothescount);
  4111. RFX_Text(pFX, _T("[outside]"), m_outside);
  4112. RFX_Text(pFX, _T("[ren]"), m_ren);
  4113. RFX_Text(pFX, _T("[bz2]"), m_bz2, 4096);
  4114. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  4115. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  4116. RFX_Text(pFX, _T("[datetime4]"), datetime4);
  4117. RFX_Text(pFX, _T("[datetime5]"), datetime5);
  4118. RFX_Text(pFX, _T("[datetime6]"), datetime6); RFX_Text(pFX, _T("[waiter9]"), m_waiter9);
  4119. //}}AFX_FIELD_MAP
  4120. }
  4121. /////////////////////////////////////////////////////////////////////////////
  4122. // CRstTakeControl diagnostics
  4123. #ifdef _DEBUG
  4124. void CRstTakeControl::AssertValid() const
  4125. {
  4126. CRecordset::AssertValid();
  4127. }
  4128. void CRstTakeControl::Dump(CDumpContext& dc) const
  4129. {
  4130. CRecordset::Dump(dc);
  4131. }
  4132. #endif //_DEBUG
  4133. IMPLEMENT_DYNAMIC(CRstBuKuan, CRecordset)
  4134. CRstBuKuan::CRstBuKuan(CDatabase* pdb)
  4135. : CRecordset(pdb)
  4136. {
  4137. //{{AFX_FIELD_INIT(CRstBuKuan)
  4138. m_autoid = _T("");
  4139. m_id = _T("");
  4140. m_money = _T("");
  4141. m_ren = _T("");
  4142. m_ren2 = _T("");
  4143. m_date = _T("");
  4144. m_bz = _T("");
  4145. m_kind = _T("");
  4146. m_item = _T("");
  4147. paytype = _T("");
  4148. jdd = _T("");
  4149. m_financecheck = _T("");
  4150. m_nFields = 13;
  4151. //}}AFX_FIELD_INIT
  4152. m_nDefaultType = forwardOnly;
  4153. this->m_pDatabase = g_curdb;
  4154. m_strSort="id desc";
  4155. }
  4156. CString CRstBuKuan::GetDefaultConnect()
  4157. {
  4158. return _T("ODBC;DSN=");
  4159. }
  4160. CString CRstBuKuan::GetDefaultSQL()
  4161. {
  4162. return _T("[dindanbukuan]");
  4163. }
  4164. void CRstBuKuan::DoFieldExchange(CFieldExchange* pFX)
  4165. {
  4166. //{{AFX_FIELD_MAP(CRstBuKuan)
  4167. pFX->SetFieldType(CFieldExchange::outputColumn);
  4168. RFX_Text(pFX, _T("[autoid]"), m_autoid);
  4169. RFX_Text(pFX, _T("[id]"), m_id);
  4170. RFX_Text(pFX, _T("[money]"), m_money);
  4171. RFX_Text(pFX, _T("[ren]"), m_ren);
  4172. RFX_Text(pFX, _T("[ren2]"), m_ren2);
  4173. RFX_Text(pFX, _T("[date]"), m_date);
  4174. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  4175. RFX_Text(pFX, _T("[kind]"), m_kind);
  4176. RFX_Text(pFX, _T("[item]"), m_item, 8912);
  4177. RFX_Text(pFX, _T("[paytype]"), paytype);
  4178. RFX_Text(pFX, _T("[jdd]"), jdd);
  4179. RFX_Text(pFX, _T("[financecheck]"), m_financecheck);
  4180. RFX_Text(pFX, _T("[discount]"), m_discount);
  4181. //}}AFX_FIELD_MAP
  4182. }
  4183. /////////////////////////////////////////////////////////////////////////////
  4184. // CRstBuKuan diagnostics
  4185. #ifdef _DEBUG
  4186. void CRstBuKuan::AssertValid() const
  4187. {
  4188. CRecordset::AssertValid();
  4189. }
  4190. void CRstBuKuan::Dump(CDumpContext& dc) const
  4191. {
  4192. CRecordset::Dump(dc);
  4193. }
  4194. #endif //_DEBUG
  4195. IMPLEMENT_DYNAMIC(CRstBuKuanView2, CRecordset)
  4196. CRstBuKuanView2::CRstBuKuanView2(CDatabase* pdb)
  4197. : CRecordset(pdb)
  4198. {
  4199. //{{AFX_FIELD_INIT(CRstBuKuanView2)
  4200. m_autoid = _T("");
  4201. m_id = _T("");
  4202. m_money = _T("");
  4203. m_ren = _T("");
  4204. m_ren2 = _T("");
  4205. m_date = _T("");
  4206. m_bz = _T("");
  4207. m_kind = _T("");
  4208. m_item = _T("");
  4209. paytype = _T("");
  4210. jdd = _T("");
  4211. m_financecheck = _T("");
  4212. m_nFields = 16;
  4213. //}}AFX_FIELD_INIT
  4214. m_nDefaultType = forwardOnly;
  4215. this->m_pDatabase = g_curdb;
  4216. m_strSort="id desc";
  4217. }
  4218. CString CRstBuKuanView2::GetDefaultConnect()
  4219. {
  4220. return _T("ODBC;DSN=");
  4221. }
  4222. CString CRstBuKuanView2::GetDefaultSQL()
  4223. {
  4224. return _T("[dindanbukuanview2]");
  4225. }
  4226. void CRstBuKuanView2::DoFieldExchange(CFieldExchange* pFX)
  4227. {
  4228. //{{AFX_FIELD_MAP(CRstBuKuanView2)
  4229. pFX->SetFieldType(CFieldExchange::outputColumn);
  4230. RFX_Text(pFX, _T("[autoid]"), m_autoid);
  4231. RFX_Text(pFX, _T("[id]"), m_id);
  4232. RFX_Text(pFX, _T("[money]"), m_money);
  4233. RFX_Text(pFX, _T("[ren]"), m_ren);
  4234. RFX_Text(pFX, _T("[ren2]"), m_ren2);
  4235. RFX_Text(pFX, _T("[date]"), m_date);
  4236. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  4237. RFX_Text(pFX, _T("[kind]"), m_kind);
  4238. RFX_Text(pFX, _T("[item]"), m_item);
  4239. RFX_Text(pFX, _T("[paytype]"), paytype);
  4240. RFX_Text(pFX, _T("[jdd]"), jdd);
  4241. RFX_Text(pFX, _T("[financecheck]"), m_financecheck);
  4242. RFX_Text(pFX, _T("[name1]"), m_name1);
  4243. RFX_Text(pFX, _T("[name2]"), m_name2);
  4244. RFX_Text(pFX, _T("[time]"), m_time);
  4245. //}}AFX_FIELD_MAP
  4246. }
  4247. /////////////////////////////////////////////////////////////////////////////
  4248. // CRstBuKuanView2 diagnostics
  4249. #ifdef _DEBUG
  4250. void CRstBuKuanView2::AssertValid() const
  4251. {
  4252. CRecordset::AssertValid();
  4253. }
  4254. void CRstBuKuanView2::Dump(CDumpContext& dc) const
  4255. {
  4256. CRecordset::Dump(dc);
  4257. }
  4258. #endif //_DEBUG
  4259. IMPLEMENT_DYNAMIC(CRstdindanbukuanview, CRecordset)
  4260. CRstdindanbukuanview::CRstdindanbukuanview(CDatabase* pdb)
  4261. : CRecordset(pdb)
  4262. {
  4263. //{{AFX_FIELD_INIT(CRstdindanbukuanview)
  4264. m_nFields = 11;
  4265. //}}AFX_FIELD_INIT
  4266. m_nDefaultType = forwardOnly;
  4267. this->m_pDatabase = g_curdb;
  4268. m_strSort="id desc";
  4269. }
  4270. CString CRstdindanbukuanview::GetDefaultConnect()
  4271. {
  4272. return _T("ODBC;DSN=");
  4273. }
  4274. CString CRstdindanbukuanview::GetDefaultSQL()
  4275. {
  4276. return _T("[dindanbukuanview]");
  4277. }
  4278. void CRstdindanbukuanview::DoFieldExchange(CFieldExchange* pFX)
  4279. {
  4280. //{{AFX_FIELD_MAP(CRstdindanbukuanview)
  4281. pFX->SetFieldType(CFieldExchange::outputColumn);
  4282. RFX_Text(pFX, _T("[money]"), money);
  4283. RFX_Text(pFX, _T("[date]"), date);
  4284. RFX_Text(pFX, _T("[kind]"), kind);
  4285. RFX_Text(pFX, _T("[name1]"), name1);
  4286. RFX_Text(pFX, _T("[name2]"), name2);
  4287. RFX_Text(pFX, _T("[id]"), id);
  4288. RFX_Text(pFX, _T("[ren]"), ren);
  4289. RFX_Text(pFX, _T("[paytype]"), paytype);
  4290. RFX_Text(pFX, _T("[bz]"), bz, 4096);
  4291. RFX_Text(pFX, _T("[txtype]"), txtype);
  4292. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  4293. //}}AFX_FIELD_MAP
  4294. }
  4295. /////////////////////////////////////////////////////////////////////////////
  4296. // CRstdindanbukuanview diagnostics
  4297. #ifdef _DEBUG
  4298. void CRstdindanbukuanview::AssertValid() const
  4299. {
  4300. CRecordset::AssertValid();
  4301. }
  4302. void CRstdindanbukuanview::Dump(CDumpContext& dc) const
  4303. {
  4304. CRecordset::Dump(dc);
  4305. }
  4306. #endif //_DEBUG
  4307. IMPLEMENT_DYNAMIC(CRstBuKuan2, CRecordset)
  4308. CRstBuKuan2::CRstBuKuan2(CDatabase* pdb)
  4309. : CRecordset(pdb)
  4310. {
  4311. //{{AFX_FIELD_INIT(CRstBuKuan2)
  4312. m_autoid = _T("");
  4313. m_id = _T("");
  4314. m_money = _T("");
  4315. m_ren = _T("");
  4316. m_ren2 = _T("");
  4317. m_date = _T("");
  4318. m_bz = _T("");
  4319. m_kind = _T("");
  4320. m_nFields = 8;
  4321. //}}AFX_FIELD_INIT
  4322. m_nDefaultType = forwardOnly;
  4323. this->m_pDatabase = g_curdb;
  4324. m_strSort="id desc";
  4325. }
  4326. CString CRstBuKuan2::GetDefaultConnect()
  4327. {
  4328. return _T("ODBC;DSN=");
  4329. }
  4330. CString CRstBuKuan2::GetDefaultSQL()
  4331. {
  4332. return _T("[dindanbukuan2]");
  4333. }
  4334. void CRstBuKuan2::DoFieldExchange(CFieldExchange* pFX)
  4335. {
  4336. //{{AFX_FIELD_MAP(CRstBuKuan2)
  4337. pFX->SetFieldType(CFieldExchange::outputColumn);
  4338. RFX_Text(pFX, _T("[autoid]"), m_autoid);
  4339. RFX_Text(pFX, _T("[id]"), m_id);
  4340. RFX_Text(pFX, _T("[money]"), m_money);
  4341. RFX_Text(pFX, _T("[ren]"), m_ren);
  4342. RFX_Text(pFX, _T("[ren2]"), m_ren2);
  4343. RFX_Text(pFX, _T("[date]"), m_date);
  4344. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  4345. RFX_Text(pFX, _T("[kind]"), m_kind);
  4346. //}}AFX_FIELD_MAP
  4347. }
  4348. /////////////////////////////////////////////////////////////////////////////
  4349. // CRstBuKuan2 diagnostics
  4350. #ifdef _DEBUG
  4351. void CRstBuKuan2::AssertValid() const
  4352. {
  4353. CRecordset::AssertValid();
  4354. }
  4355. void CRstBuKuan2::Dump(CDumpContext& dc) const
  4356. {
  4357. CRecordset::Dump(dc);
  4358. }
  4359. #endif //_DEBUG
  4360. IMPLEMENT_DYNAMIC(CRstPath, CRecordset)
  4361. CRstPath::CRstPath(CDatabase* pdb)
  4362. : CRecordset(pdb)
  4363. {
  4364. //{{AFX_FIELD_INIT(CRstPath)
  4365. path1 = _T("");
  4366. path2 = _T("");
  4367. path3 = _T("");
  4368. path4 = _T("");
  4369. path5 = _T("");
  4370. m_nFields = 5;
  4371. //}}AFX_FIELD_INIT
  4372. m_nDefaultType = forwardOnly;
  4373. this->m_pDatabase = g_curdb;
  4374. }
  4375. CString CRstPath::GetDefaultConnect()
  4376. {
  4377. return _T("ODBC;DSN=");
  4378. }
  4379. CString CRstPath::GetDefaultSQL()
  4380. {
  4381. return _T("[path]");
  4382. }
  4383. void CRstPath::DoFieldExchange(CFieldExchange* pFX)
  4384. {
  4385. //{{AFX_FIELD_MAP(CRstPath)
  4386. pFX->SetFieldType(CFieldExchange::outputColumn);
  4387. RFX_Text(pFX, _T("[path1]"), path1);
  4388. RFX_Text(pFX, _T("[path2]"), path2);
  4389. RFX_Text(pFX, _T("[path3]"), path3);
  4390. RFX_Text(pFX, _T("[path4]"), path4);
  4391. RFX_Text(pFX, _T("[path5]"), path5);
  4392. //}}AFX_FIELD_MAP
  4393. }
  4394. /////////////////////////////////////////////////////////////////////////////
  4395. // CRstPath diagnostics
  4396. #ifdef _DEBUG
  4397. void CRstPath::AssertValid() const
  4398. {
  4399. CRecordset::AssertValid();
  4400. }
  4401. void CRstPath::Dump(CDumpContext& dc) const
  4402. {
  4403. CRecordset::Dump(dc);
  4404. }
  4405. #endif //_DEBUG
  4406. IMPLEMENT_DYNAMIC(CRstoutsourcing, CRecordset)
  4407. CRstoutsourcing::CRstoutsourcing(CDatabase* pdb)
  4408. : CRecordset(pdb)
  4409. {
  4410. //{{AFX_FIELD_INIT(CRstoutsourcing)
  4411. m_id = _T("");
  4412. m_name1 = _T("");
  4413. m_name2 = _T("");
  4414. m_status5 = _T("");
  4415. m_urgent = _T("");
  4416. m_time5 = _T("");
  4417. m_ren = _T("");
  4418. m_name = _T("");
  4419. m_status3 = _T("");
  4420. m_status4 = _T("");
  4421. m_status1 = _T("");
  4422. m_status2 = _T("");
  4423. m_phone1 = _T("");
  4424. m_phone2 = _T("");
  4425. pinyin1 = _T("");
  4426. pinyin2 = _T("");
  4427. qjstatus = _T("");
  4428. m_nFields = 17;
  4429. //}}AFX_FIELD_INIT
  4430. m_nDefaultType = forwardOnly;
  4431. this->m_pDatabase = g_curdb;
  4432. m_strSort="id desc";
  4433. }
  4434. CString CRstoutsourcing::GetDefaultConnect()
  4435. {
  4436. return _T("ODBC;DSN=");
  4437. }
  4438. CString CRstoutsourcing::GetDefaultSQL()
  4439. {
  4440. return _T("[outsourcing]");
  4441. }
  4442. void CRstoutsourcing::DoFieldExchange(CFieldExchange* pFX)
  4443. {
  4444. //{{AFX_FIELD_MAP(CRstoutsourcing)
  4445. pFX->SetFieldType(CFieldExchange::outputColumn);
  4446. RFX_Text(pFX, _T("[id]"), m_id);
  4447. RFX_Text(pFX, _T("[name1]"), m_name1);
  4448. RFX_Text(pFX, _T("[name2]"), m_name2);
  4449. RFX_Text(pFX, _T("[status5]"), m_status5);
  4450. RFX_Text(pFX, _T("[urgent]"), m_urgent);
  4451. RFX_Text(pFX, _T("[time5]"), m_time5);
  4452. RFX_Text(pFX, _T("[ren]"), m_ren);
  4453. RFX_Text(pFX, _T("[name]"), m_name);
  4454. RFX_Text(pFX, _T("[status3]"), m_status3);
  4455. RFX_Text(pFX, _T("[status4]"), m_status4);
  4456. RFX_Text(pFX, _T("[status1]"), m_status1);
  4457. RFX_Text(pFX, _T("[status2]"), m_status2);
  4458. RFX_Text(pFX, _T("[phone1]"), m_phone1);
  4459. RFX_Text(pFX, _T("[phone2]"), m_phone2);
  4460. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  4461. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  4462. RFX_Text(pFX, _T("[qjstatus]"), qjstatus);
  4463. //}}AFX_FIELD_MAP
  4464. }
  4465. /////////////////////////////////////////////////////////////////////////////
  4466. // CRstoutsourcing diagnostics
  4467. #ifdef _DEBUG
  4468. void CRstoutsourcing::AssertValid() const
  4469. {
  4470. CRecordset::AssertValid();
  4471. }
  4472. void CRstoutsourcing::Dump(CDumpContext& dc) const
  4473. {
  4474. CRecordset::Dump(dc);
  4475. }
  4476. #endif //_DEBUG
  4477. IMPLEMENT_DYNAMIC(CRstmysalary, CRecordset)
  4478. CRstmysalary::CRstmysalary(CDatabase* pdb)
  4479. : CRecordset(pdb)
  4480. {
  4481. //{{AFX_FIELD_INIT(CRstmysalary)
  4482. m_money = _T("");
  4483. m_date = _T("");
  4484. m_kind = _T("");
  4485. m_name1 = _T("");
  4486. m_name2 = _T("");
  4487. m_id = _T("");
  4488. m_ren = _T("");
  4489. m_nFields = 7;
  4490. //}}AFX_FIELD_INIT
  4491. m_nDefaultType = forwardOnly;
  4492. this->m_pDatabase = g_curdb;
  4493. m_strSort="kind desc,id desc";
  4494. }
  4495. CString CRstmysalary::GetDefaultConnect()
  4496. {
  4497. return _T("ODBC;DSN=");
  4498. }
  4499. CString CRstmysalary::GetDefaultSQL()
  4500. {
  4501. return _T("[mysalary]");
  4502. }
  4503. void CRstmysalary::DoFieldExchange(CFieldExchange* pFX)
  4504. {
  4505. //{{AFX_FIELD_MAP(CRstmysalary)
  4506. pFX->SetFieldType(CFieldExchange::outputColumn);
  4507. RFX_Text(pFX, _T("[money]"), m_money);
  4508. RFX_Text(pFX, _T("[date]"), m_date);
  4509. RFX_Text(pFX, _T("[kind]"), m_kind);
  4510. RFX_Text(pFX, _T("[name1]"), m_name1);
  4511. RFX_Text(pFX, _T("[name2]"), m_name2);
  4512. RFX_Text(pFX, _T("[id]"), m_id);
  4513. RFX_Text(pFX, _T("[ren]"), m_ren);
  4514. //}}AFX_FIELD_MAP
  4515. }
  4516. /////////////////////////////////////////////////////////////////////////////
  4517. // CRstmysalary diagnostics
  4518. #ifdef _DEBUG
  4519. void CRstmysalary::AssertValid() const
  4520. {
  4521. CRecordset::AssertValid();
  4522. }
  4523. void CRstmysalary::Dump(CDumpContext& dc) const
  4524. {
  4525. CRecordset::Dump(dc);
  4526. }
  4527. #endif //_DEBUG
  4528. IMPLEMENT_DYNAMIC(CRstmysalary2, CRecordset)
  4529. CRstmysalary2::CRstmysalary2(CDatabase* pdb)
  4530. : CRecordset(pdb)
  4531. {
  4532. //{{AFX_FIELD_INIT(CRstmysalary2)
  4533. m_money = _T("");
  4534. m_date = _T("");
  4535. m_kind = _T("");
  4536. m_name1 = _T("");
  4537. m_name2 = _T("");
  4538. m_id = _T("");
  4539. m_ren = _T("");
  4540. m_nFields = 7;
  4541. //}}AFX_FIELD_INIT
  4542. m_nDefaultType = forwardOnly;
  4543. this->m_pDatabase = g_curdb;
  4544. m_strSort="kind desc,id desc";
  4545. }
  4546. CString CRstmysalary2::GetDefaultConnect()
  4547. {
  4548. return _T("ODBC;DSN=");
  4549. }
  4550. CString CRstmysalary2::GetDefaultSQL()
  4551. {
  4552. return _T("[mysalary2]");
  4553. }
  4554. void CRstmysalary2::DoFieldExchange(CFieldExchange* pFX)
  4555. {
  4556. //{{AFX_FIELD_MAP(CRstmysalary2)
  4557. pFX->SetFieldType(CFieldExchange::outputColumn);
  4558. RFX_Text(pFX, _T("[money]"), m_money);
  4559. RFX_Text(pFX, _T("[date]"), m_date);
  4560. RFX_Text(pFX, _T("[kind]"), m_kind);
  4561. RFX_Text(pFX, _T("[name1]"), m_name1);
  4562. RFX_Text(pFX, _T("[name2]"), m_name2);
  4563. RFX_Text(pFX, _T("[id]"), m_id);
  4564. RFX_Text(pFX, _T("[ren]"), m_ren);
  4565. //}}AFX_FIELD_MAP
  4566. }
  4567. /////////////////////////////////////////////////////////////////////////////
  4568. // CRstmysalary2 diagnostics
  4569. #ifdef _DEBUG
  4570. void CRstmysalary2::AssertValid() const
  4571. {
  4572. CRecordset::AssertValid();
  4573. }
  4574. void CRstmysalary2::Dump(CDumpContext& dc) const
  4575. {
  4576. CRecordset::Dump(dc);
  4577. }
  4578. #endif //_DEBUG
  4579. IMPLEMENT_DYNAMIC(CRstDindanForm5, CRecordset)
  4580. CRstDindanForm5::CRstDindanForm5(CDatabase* pdb)
  4581. : CRecordset(pdb)
  4582. {
  4583. //{{AFX_FIELD_INIT(CRstDindanForm5)
  4584. m_id = _T("");
  4585. m_name1 = _T("");
  4586. m_name2 = _T("");
  4587. m_status4 = _T("");
  4588. m_status2 = _T("");
  4589. m_status6 = _T("");
  4590. m_ren = _T("");
  4591. m_taoxiname = _T("");
  4592. m_taoxijiage = _T("");
  4593. m_phone1 = _T("");
  4594. m_phone2 = _T("");
  4595. m_waiter5 = _T("");
  4596. m_waiter7 = _T("");
  4597. m_pinyin1 = _T("");
  4598. m_pinyin2 = _T("");
  4599. m_urgent = _T("");
  4600. m_time5 = _T("");
  4601. m_time9 = _T("");
  4602. m_time4 = _T("");
  4603. m_status5 = _T("");
  4604. m_time6 = _T("");
  4605. m_nFields = 21;
  4606. //}}AFX_FIELD_INIT
  4607. m_nDefaultType = forwardOnly;
  4608. this->m_pDatabase = g_curdb;
  4609. m_strSort="id desc";
  4610. }
  4611. CString CRstDindanForm5::GetDefaultConnect()
  4612. {
  4613. return _T("ODBC;DSN=");
  4614. }
  4615. CString CRstDindanForm5::GetDefaultSQL()
  4616. {
  4617. return _T("[dindan]");
  4618. }
  4619. void CRstDindanForm5::DoFieldExchange(CFieldExchange* pFX)
  4620. {
  4621. //{{AFX_FIELD_MAP(CRstDindanForm5)
  4622. pFX->SetFieldType(CFieldExchange::outputColumn);
  4623. RFX_Text(pFX, _T("[id]"), m_id);
  4624. RFX_Text(pFX, _T("[name1]"), m_name1);
  4625. RFX_Text(pFX, _T("[name2]"), m_name2);
  4626. RFX_Text(pFX, _T("[status4]"), m_status4);
  4627. RFX_Text(pFX, _T("[status2]"), m_status2);
  4628. RFX_Text(pFX, _T("[status6]"), m_status6);
  4629. RFX_Text(pFX, _T("[ren]"), m_ren);
  4630. RFX_Text(pFX, _T("[taoxiname]"), m_taoxiname);
  4631. RFX_Text(pFX, _T("[taoxijiage]"), m_taoxijiage);
  4632. RFX_Text(pFX, _T("[phone1]"), m_phone1);
  4633. RFX_Text(pFX, _T("[phone2]"), m_phone2);
  4634. RFX_Text(pFX, _T("[waiter5]"), m_waiter5);
  4635. RFX_Text(pFX, _T("[waiter7]"), m_waiter7);
  4636. RFX_Text(pFX, _T("[pinyin1]"), m_pinyin1);
  4637. RFX_Text(pFX, _T("[pinyin2]"), m_pinyin2);
  4638. RFX_Text(pFX, _T("[urgent]"), m_urgent);
  4639. RFX_Text(pFX, _T("[time5]"), m_time5);
  4640. RFX_Text(pFX, _T("[time9]"), m_time9);
  4641. RFX_Text(pFX, _T("[time4]"), m_time4);
  4642. RFX_Text(pFX, _T("[status5]"), m_status5); // 设计状态;
  4643. RFX_Text(pFX, _T("[time6]"), m_time6);
  4644. //}}AFX_FIELD_MAP
  4645. }
  4646. /////////////////////////////////////////////////////////////////////////////
  4647. // CRstDindanForm5 diagnostics
  4648. #ifdef _DEBUG
  4649. void CRstDindanForm5::AssertValid() const
  4650. {
  4651. CRecordset::AssertValid();
  4652. }
  4653. void CRstDindanForm5::Dump(CDumpContext& dc) const
  4654. {
  4655. CRecordset::Dump(dc);
  4656. }
  4657. #endif //_DEBUG
  4658. IMPLEMENT_DYNAMIC(CRstDindanForm8, CRecordset)
  4659. CRstDindanForm8::CRstDindanForm8(CDatabase* pdb)
  4660. : CRecordset(pdb)
  4661. {
  4662. //{{AFX_FIELD_INIT(CRstDindanForm8)
  4663. id = _T("");
  4664. name1 = _T("");
  4665. name2 = _T("");
  4666. status = _T("");
  4667. status4 = _T("");
  4668. status2 = _T("");
  4669. status6 = _T("");
  4670. status5 = _T("");
  4671. waiter5 = _T("");
  4672. waiter7 = _T("");
  4673. waiter4 = _T("");
  4674. urgent = _T("");
  4675. time5 = _T("");
  4676. time2 = _T("");
  4677. time4 = _T("");
  4678. time6 = _T("");
  4679. ren = _T("");
  4680. taoxiname = _T("");
  4681. taoxijiage = _T("");
  4682. phone1 = _T("");
  4683. phone2 = _T("");
  4684. pinyin1 = _T("");
  4685. pinyin2 = _T("");
  4686. m_nFields = 23;
  4687. //}}AFX_FIELD_INIT
  4688. m_nDefaultType = forwardOnly;
  4689. this->m_pDatabase = g_curdb;
  4690. m_strSort="id desc";
  4691. }
  4692. CString CRstDindanForm8::GetDefaultConnect()
  4693. {
  4694. return _T("ODBC;DSN=");
  4695. }
  4696. CString CRstDindanForm8::GetDefaultSQL()
  4697. {
  4698. return _T("[dindan]");
  4699. }
  4700. void CRstDindanForm8::DoFieldExchange(CFieldExchange* pFX)
  4701. {
  4702. //{{AFX_FIELD_MAP(CRstDindanForm8)
  4703. pFX->SetFieldType(CFieldExchange::outputColumn);
  4704. RFX_Text(pFX, _T("[id]"), id);
  4705. RFX_Text(pFX, _T("[name1]"), name1);
  4706. RFX_Text(pFX, _T("[name2]"), name2);
  4707. RFX_Text(pFX, _T("[status]"), status);
  4708. RFX_Text(pFX, _T("[status4]"), status4);
  4709. RFX_Text(pFX, _T("[status2]"), status2);
  4710. RFX_Text(pFX, _T("[status6]"), status6);
  4711. RFX_Text(pFX, _T("[status5]"), status5);
  4712. RFX_Text(pFX, _T("[waiter5]"), waiter5);
  4713. RFX_Text(pFX, _T("[waiter7]"), waiter7);
  4714. RFX_Text(pFX, _T("[waiter4]"), waiter4);
  4715. RFX_Text(pFX, _T("[urgent]"), urgent);
  4716. RFX_Text(pFX, _T("[time5]"), time5);
  4717. RFX_Text(pFX, _T("[time2]"), time2);
  4718. RFX_Text(pFX, _T("[time4]"), time4);
  4719. RFX_Text(pFX, _T("[time6]"), time6);
  4720. RFX_Text(pFX, _T("[ren]"), ren);
  4721. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  4722. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  4723. RFX_Text(pFX, _T("[phone1]"),phone1);
  4724. RFX_Text(pFX, _T("[phone2]"),phone2);
  4725. RFX_Text(pFX, _T("[pinyin1]"),pinyin1);
  4726. RFX_Text(pFX, _T("[pinyin2]"),pinyin2);
  4727. //}}AFX_FIELD_MAP
  4728. }
  4729. /////////////////////////////////////////////////////////////////////////////
  4730. // CRstDindanForm8 diagnostics
  4731. #ifdef _DEBUG
  4732. void CRstDindanForm8::AssertValid() const
  4733. {
  4734. CRecordset::AssertValid();
  4735. }
  4736. void CRstDindanForm8::Dump(CDumpContext& dc) const
  4737. {
  4738. CRecordset::Dump(dc);
  4739. }
  4740. #endif //_DEBUG
  4741. IMPLEMENT_DYNAMIC(CRstPhotoPrint, CRecordset)
  4742. CRstPhotoPrint::CRstPhotoPrint(CDatabase* pdb)
  4743. : CRecordset(pdb)
  4744. {
  4745. //{{AFX_FIELD_INIT(CRstPhotoPrint)
  4746. m_count = _T("");
  4747. m_id = _T("");
  4748. m_name = _T("");
  4749. m_status1 = _T("");
  4750. m_status2 = _T("");
  4751. m_time1 = _T("");
  4752. m_time2 = _T("");
  4753. m_area = _T("");
  4754. m_strStatusOfReWork = _T("");
  4755. m_strTimeOfReWork = _T("");
  4756. //m_nFields = 8;
  4757. m_nFields = 10;
  4758. //}}AFX_FIELD_INIT
  4759. m_nDefaultType = forwardOnly;
  4760. this->m_pDatabase = g_curdb;
  4761. m_strSort="id desc,name desc";
  4762. }
  4763. CString CRstPhotoPrint::GetDefaultConnect()
  4764. {
  4765. return _T("ODBC;DSN=");
  4766. }
  4767. CString CRstPhotoPrint::GetDefaultSQL()
  4768. {
  4769. return _T("[photoprint]");
  4770. }
  4771. void CRstPhotoPrint::DoFieldExchange(CFieldExchange* pFX)
  4772. {
  4773. //{{AFX_FIELD_MAP(CRstPhotoPrint)
  4774. pFX->SetFieldType(CFieldExchange::outputColumn);
  4775. RFX_Text(pFX, _T("[id]"), m_id);
  4776. RFX_Text(pFX, _T("[count]"), m_count);
  4777. RFX_Text(pFX, _T("[name]"), m_name);
  4778. RFX_Text(pFX, _T("[status1]"), m_status1);
  4779. RFX_Text(pFX, _T("[status2]"), m_status2);
  4780. RFX_Text(pFX, _T("[statusOfReWork]"), m_strStatusOfReWork); // Jeff.
  4781. RFX_Text(pFX, _T("[timeOfReWork]"), m_strTimeOfReWork);
  4782. RFX_Text(pFX, _T("[time1]"), m_time1);
  4783. RFX_Text(pFX, _T("[time2]"), m_time2);
  4784. RFX_Text(pFX, _T("[area]"), m_area);
  4785. //}}AFX_FIELD_MAP
  4786. }
  4787. /////////////////////////////////////////////////////////////////////////////
  4788. // CRstPhotoPrint diagnostics
  4789. #ifdef _DEBUG
  4790. void CRstPhotoPrint::AssertValid() const
  4791. {
  4792. CRecordset::AssertValid();
  4793. }
  4794. void CRstPhotoPrint::Dump(CDumpContext& dc) const
  4795. {
  4796. CRecordset::Dump(dc);
  4797. }
  4798. #endif //_DEBUG
  4799. IMPLEMENT_DYNAMIC(CRstPhotoPrintForm, CRecordset)
  4800. CRstPhotoPrintForm::CRstPhotoPrintForm(CDatabase* pdb)
  4801. : CRecordset(pdb)
  4802. {
  4803. //{{AFX_FIELD_INIT(CRstPhotoPrintForm)
  4804. m_name = _T("");
  4805. m_count = _T("");
  4806. m_area = _T("");
  4807. m_status1 = _T("");
  4808. m_status2 = _T("");
  4809. m_time1 = _T("");
  4810. m_time2 = _T("");
  4811. #if 0 // Jeff delete
  4812. m_nFields = 17;
  4813. #else
  4814. m_strBllingPerson = _T("");
  4815. m_strDesigner = _T("");
  4816. m_strStatusOfReWork = _T("");
  4817. m_strTimeOfReWork = _T("");
  4818. m_nFields = 21;
  4819. #endif
  4820. //}}AFX_FIELD_INIT
  4821. m_nDefaultType = forwardOnly;
  4822. this->m_pDatabase = g_curdb;
  4823. m_strSort="id desc,name desc";
  4824. }
  4825. CString CRstPhotoPrintForm::GetDefaultConnect()
  4826. {
  4827. return _T("ODBC;DSN=");
  4828. }
  4829. CString CRstPhotoPrintForm::GetDefaultSQL()
  4830. {
  4831. return _T("[photoprintview]");
  4832. }
  4833. void CRstPhotoPrintForm::DoFieldExchange(CFieldExchange* pFX)
  4834. {
  4835. //{{AFX_FIELD_MAP(CRstPhotoPrintForm)
  4836. pFX->SetFieldType(CFieldExchange::outputColumn);
  4837. RFX_Text(pFX, _T("[name]"), m_name);
  4838. RFX_Text(pFX, _T("[count]"), m_count);
  4839. RFX_Text(pFX, _T("[area]"), m_area);
  4840. RFX_Text(pFX, _T("[status1]"), m_status1);
  4841. RFX_Text(pFX, _T("[status2]"), m_status2);
  4842. RFX_Text(pFX, _T("[time1]"), m_time1);
  4843. RFX_Text(pFX, _T("[time2]"), m_time2);
  4844. RFX_Text(pFX, _T("[id]"), id);
  4845. RFX_Text(pFX, _T("[name1]"), name1);
  4846. RFX_Text(pFX, _T("[name2]"), name2);
  4847. RFX_Text(pFX, _T("[status5]"), status5);
  4848. RFX_Text(pFX, _T("[urgent]"), urgent);
  4849. RFX_Text(pFX, _T("[time5]"), time5);
  4850. RFX_Text(pFX, _T("[phone1]"), phone1);
  4851. RFX_Text(pFX, _T("[phone2]"), phone2);
  4852. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  4853. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  4854. #if 1 // Jeff
  4855. RFX_Text(pFX, _T("[ren]"), m_strBllingPerson);
  4856. RFX_Text(pFX, _T("[waiter4]"), m_strDesigner);
  4857. RFX_Text(pFX, _T("[statusOfReWork]"), m_strStatusOfReWork);
  4858. RFX_Text(pFX, _T("[timeOfReWork]"), m_strTimeOfReWork);
  4859. #endif
  4860. //}}AFX_FIELD_MAP
  4861. }
  4862. /////////////////////////////////////////////////////////////////////////////
  4863. // CRstPhotoPrintForm diagnostics
  4864. #ifdef _DEBUG
  4865. void CRstPhotoPrintForm::AssertValid() const
  4866. {
  4867. CRecordset::AssertValid();
  4868. }
  4869. void CRstPhotoPrintForm::Dump(CDumpContext& dc) const
  4870. {
  4871. CRecordset::Dump(dc);
  4872. }
  4873. #endif //_DEBUG
  4874. IMPLEMENT_DYNAMIC(CRstHistorydb, CRecordset)
  4875. CRstHistorydb::CRstHistorydb(CDatabase* pdb)
  4876. : CRecordset(pdb)
  4877. {
  4878. //{{AFX_FIELD_INIT(CRstHistorydb)
  4879. year = _T("");
  4880. m_nFields = 1;
  4881. //}}AFX_FIELD_INIT
  4882. m_nDefaultType = forwardOnly;
  4883. this->m_pDatabase = g_curdb;
  4884. m_strSort="year desc";
  4885. }
  4886. CString CRstHistorydb::GetDefaultConnect()
  4887. {
  4888. return _T("ODBC;DSN=");
  4889. }
  4890. CString CRstHistorydb::GetDefaultSQL()
  4891. {
  4892. return _T("[historydb]");
  4893. }
  4894. void CRstHistorydb::DoFieldExchange(CFieldExchange* pFX)
  4895. {
  4896. //{{AFX_FIELD_MAP(CRstHistorydb)
  4897. pFX->SetFieldType(CFieldExchange::outputColumn);
  4898. RFX_Text(pFX, _T("[year]"), year);
  4899. //}}AFX_FIELD_MAP
  4900. }
  4901. /////////////////////////////////////////////////////////////////////////////
  4902. // CRstHistorydb diagnostics
  4903. #ifdef _DEBUG
  4904. void CRstHistorydb::AssertValid() const
  4905. {
  4906. CRecordset::AssertValid();
  4907. }
  4908. void CRstHistorydb::Dump(CDumpContext& dc) const
  4909. {
  4910. CRecordset::Dump(dc);
  4911. }
  4912. #endif //_DEBUG
  4913. IMPLEMENT_DYNAMIC(CRstFlowChart, CRecordset)
  4914. CRstFlowChart::CRstFlowChart(CDatabase* pdb)
  4915. : CRecordset(pdb)
  4916. {
  4917. //{{AFX_FIELD_INIT(CRstFlowChart)
  4918. m_id = _T("");
  4919. m_name1 = _T("");
  4920. m_name2 = _T("");
  4921. m_phone1 = _T("");
  4922. m_phone2 = _T("");
  4923. m_urgent = _T("");
  4924. m_time2 = _T("");
  4925. m_time4 = _T("");
  4926. m_time5 = _T("");
  4927. m_takezs = _T("");
  4928. m_taoxizs = _T("");
  4929. m_choosezs = _T("");
  4930. m_ren = _T("");
  4931. m_waiter3 = _T("");
  4932. m_waiter1 = _T("");
  4933. m_waiter2 = _T("");
  4934. m_waiter4 = _T("");
  4935. m_bz = _T("");
  4936. m_bz2 = _T("");
  4937. m_bz3 = _T("");
  4938. m_money3 = _T("");
  4939. m_money1 = _T("");
  4940. m_taoxijiage = _T("");
  4941. m_payed4 = _T("");
  4942. m_payed5 = _T("");
  4943. m_taoxiname = _T("");
  4944. m_time6 = _T("");
  4945. m_waiter8 = _T("");
  4946. designreplaceno = _T("");
  4947. m_nFields = 30;
  4948. //}}AFX_FIELD_INIT
  4949. m_nDefaultType = forwardOnly;
  4950. this->m_pDatabase = g_curdb;
  4951. }
  4952. CString CRstFlowChart::GetDefaultConnect()
  4953. {
  4954. return _T("ODBC;DSN=");
  4955. }
  4956. CString CRstFlowChart::GetDefaultSQL()
  4957. {
  4958. return _T("[dindan]");
  4959. }
  4960. void CRstFlowChart::DoFieldExchange(CFieldExchange* pFX)
  4961. {
  4962. //{{AFX_FIELD_MAP(CRstFlowChart)
  4963. pFX->SetFieldType(CFieldExchange::outputColumn);
  4964. RFX_Text(pFX, _T("[id]"), m_id);
  4965. RFX_Text(pFX, _T("[name1]"), m_name1);
  4966. RFX_Text(pFX, _T("[name2]"), m_name2);
  4967. RFX_Text(pFX, _T("[phone1]"), m_phone1);
  4968. RFX_Text(pFX, _T("[phone2]"), m_phone2);
  4969. RFX_Text(pFX, _T("[urgent]"), m_urgent);
  4970. RFX_Text(pFX, _T("[time2]"), m_time2);
  4971. RFX_Text(pFX, _T("[time4]"), m_time4);
  4972. RFX_Text(pFX, _T("[time5]"), m_time5);
  4973. RFX_Text(pFX, _T("[takezs]"), m_takezs);
  4974. RFX_Text(pFX, _T("[taoxizs]"), m_taoxizs);
  4975. RFX_Text(pFX, _T("[choosezs]"), m_choosezs);
  4976. RFX_Text(pFX, _T("[ren]"), m_ren);
  4977. RFX_Text(pFX, _T("[waiter3]"), m_waiter3);
  4978. RFX_Text(pFX, _T("[waiter1]"), m_waiter1);
  4979. RFX_Text(pFX, _T("[waiter2]"), m_waiter2);
  4980. RFX_Text(pFX, _T("[waiter4]"), m_waiter4);
  4981. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  4982. RFX_Text(pFX, _T("[bz2]"), m_bz2, 4096);
  4983. RFX_Text(pFX, _T("[bz3]"), m_bz3, 4096);
  4984. RFX_Text(pFX, _T("[bz4]"), m_bz4, 4096);
  4985. RFX_Text(pFX, _T("[designreplaceno]"), designreplaceno, 4096);
  4986. RFX_Text(pFX, _T("[money3]"), m_money3);
  4987. RFX_Text(pFX, _T("[money1]"), m_money1);
  4988. RFX_Text(pFX, _T("[taoxijiage]"), m_taoxijiage);
  4989. RFX_Text(pFX, _T("[payed4]"), m_payed4);
  4990. RFX_Text(pFX, _T("[payed5]"), m_payed5);
  4991. RFX_Text(pFX, _T("[taoxiname]"), m_taoxiname);
  4992. RFX_Text(pFX, _T("[time6]"), m_time6);
  4993. RFX_Text(pFX, _T("[waiter8]"), m_waiter8);
  4994. //}}AFX_FIELD_MAP
  4995. }
  4996. /////////////////////////////////////////////////////////////////////////////
  4997. // CRstFlowChart diagnostics
  4998. #ifdef _DEBUG
  4999. void CRstFlowChart::AssertValid() const
  5000. {
  5001. CRecordset::AssertValid();
  5002. }
  5003. void CRstFlowChart::Dump(CDumpContext& dc) const
  5004. {
  5005. CRecordset::Dump(dc);
  5006. }
  5007. #endif //_DEBUG
  5008. IMPLEMENT_DYNAMIC(RstSendReg, CRecordset)
  5009. RstSendReg::RstSendReg(CDatabase* pdb)
  5010. : CRecordset(pdb)
  5011. {
  5012. //{{AFX_FIELD_INIT(RstSendReg)
  5013. m_phones = _T("");
  5014. m_content = _T("");
  5015. m_timestamp = _T("");
  5016. m_msgcount = _T("");
  5017. m_log = _T("");
  5018. m_status = _T("");
  5019. m_id = _T("");
  5020. m_issended = _T("");
  5021. m_ren = _T("");
  5022. m_nFields = 9;
  5023. //}}AFX_FIELD_INIT
  5024. this->m_pDatabase = g_curdb;
  5025. m_nDefaultType = forwardOnly;
  5026. m_strSort="timestamp desc,phones desc";
  5027. }
  5028. CString RstSendReg::GetDefaultConnect()
  5029. {
  5030. return _T("ODBC;DSN=");
  5031. }
  5032. CString RstSendReg::GetDefaultSQL()
  5033. {
  5034. return _T("[sendreg]");
  5035. }
  5036. void RstSendReg::DoFieldExchange(CFieldExchange* pFX)
  5037. {
  5038. //{{AFX_FIELD_MAP(RstSendReg)
  5039. pFX->SetFieldType(CFieldExchange::outputColumn);
  5040. RFX_Text(pFX, _T("[phones]"), m_phones, 202400);
  5041. RFX_Text(pFX, _T("[content]"), m_content, 102400);
  5042. RFX_Text(pFX, _T("[timestamp]"), m_timestamp);
  5043. RFX_Text(pFX, _T("[msgcount]"), m_msgcount);
  5044. RFX_Text(pFX, _T("[log]"), m_log);
  5045. RFX_Text(pFX, _T("[status]"), m_status);
  5046. RFX_Text(pFX, _T("[autoid]"), m_id);
  5047. RFX_Text(pFX, _T("[issended]"), m_issended);
  5048. RFX_Text(pFX, _T("[ren]"), m_ren);
  5049. //}}AFX_FIELD_MAP
  5050. }
  5051. /////////////////////////////////////////////////////////////////////////////
  5052. // RstSendReg diagnostics
  5053. #ifdef _DEBUG
  5054. void RstSendReg::AssertValid() const
  5055. {
  5056. CRecordset::AssertValid();
  5057. }
  5058. void RstSendReg::Dump(CDumpContext& dc) const
  5059. {
  5060. CRecordset::Dump(dc);
  5061. }
  5062. #endif //_DEBUG
  5063. IMPLEMENT_DYNAMIC(RstSendReg2, CRecordset)
  5064. RstSendReg2::RstSendReg2(CDatabase* pdb)
  5065. : CRecordset(pdb)
  5066. {
  5067. //{{AFX_FIELD_INIT(RstSendReg2)
  5068. m_price = _T("");
  5069. m_yytime = _T("");
  5070. m_client = _T("");
  5071. m_type = _T("");
  5072. m_phones = _T("");
  5073. m_content = _T("");
  5074. m_timestamp = _T("");
  5075. m_ren = _T("");
  5076. m_nFields = 8;
  5077. //}}AFX_FIELD_INIT
  5078. this->m_pDatabase = g_curdb;
  5079. m_nDefaultType = forwardOnly;
  5080. m_strSort="date desc,phones desc";
  5081. }
  5082. CString RstSendReg2::GetDefaultConnect()
  5083. {
  5084. return _T("ODBC;DSN=");
  5085. }
  5086. CString RstSendReg2::GetDefaultSQL()
  5087. {
  5088. return _T("[sendreg2]");
  5089. }
  5090. void RstSendReg2::DoFieldExchange(CFieldExchange* pFX)
  5091. {
  5092. //{{AFX_FIELD_MAP(RstSendReg2)
  5093. pFX->SetFieldType(CFieldExchange::outputColumn);
  5094. RFX_Text(pFX, _T("[price]"), m_price);
  5095. RFX_Text(pFX, _T("[yytime]"), m_yytime);
  5096. RFX_Text(pFX, _T("[client]"), m_client);
  5097. RFX_Text(pFX, _T("[type]"), m_type);
  5098. RFX_Text(pFX, _T("[phones]"), m_phones, 202400 );
  5099. RFX_Text(pFX, _T("[content]"), m_content, 102400);
  5100. RFX_Text(pFX, _T("[date]"), m_timestamp);
  5101. RFX_Text(pFX, _T("[ren]"), m_ren);
  5102. //}}AFX_FIELD_MAP
  5103. }
  5104. /////////////////////////////////////////////////////////////////////////////
  5105. // RstSendReg2 diagnostics
  5106. #ifdef _DEBUG
  5107. void RstSendReg2::AssertValid() const
  5108. {
  5109. CRecordset::AssertValid();
  5110. }
  5111. void RstSendReg2::Dump(CDumpContext& dc) const
  5112. {
  5113. CRecordset::Dump(dc);
  5114. }
  5115. #endif //_DEBUG
  5116. IMPLEMENT_DYNAMIC(RstMemberReg, CRecordset)
  5117. RstMemberReg::RstMemberReg(CDatabase* pdb)
  5118. : CRecordset(pdb)
  5119. {
  5120. //{{AFX_FIELD_INIT(RstMemberReg)
  5121. m_memberno = _T("");
  5122. m_balance = _T("");
  5123. m_name = _T("");
  5124. m_date = _T("");
  5125. m_id = _T("");
  5126. m_sex = _T("");
  5127. m_phone = _T("");
  5128. m_qq = _T("");
  5129. m_addr = _T("");
  5130. m_occupation = _T("");
  5131. m_birthday = _T("");
  5132. m_money = _T("");
  5133. m_pinyin = _T("");
  5134. m_sendmark1 = _T("");
  5135. m_sendmark2 = _T("");
  5136. m_psw = _T("");
  5137. m_discount = _T("");
  5138. m_nFields = 19;
  5139. //}}AFX_FIELD_INIT
  5140. this->m_pDatabase = g_curdb;
  5141. m_nDefaultType = forwardOnly;
  5142. }
  5143. CString RstMemberReg::GetDefaultConnect()
  5144. {
  5145. return _T("ODBC;DSN=");
  5146. }
  5147. CString RstMemberReg::GetDefaultSQL()
  5148. {
  5149. return _T("[membermanage]");
  5150. }
  5151. void RstMemberReg::DoFieldExchange(CFieldExchange* pFX)
  5152. {
  5153. //{{AFX_FIELD_MAP(RstMemberReg)
  5154. pFX->SetFieldType(CFieldExchange::outputColumn);
  5155. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5156. RFX_Text(pFX, _T("[name]"), m_name);
  5157. RFX_Text(pFX, _T("[date]"), m_date);
  5158. RFX_Text(pFX, _T("[autoid]"), m_id);
  5159. RFX_Text(pFX, _T("[sex]"), m_sex);
  5160. RFX_Text(pFX, _T("[phone]"), m_phone);
  5161. RFX_Text(pFX, _T("[qq]"), m_qq);
  5162. RFX_Text(pFX, _T("[addr]"), m_addr);
  5163. RFX_Text(pFX, _T("[occupation]"), m_occupation);
  5164. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  5165. RFX_Text(pFX, _T("[money]"), m_money);
  5166. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  5167. RFX_Text(pFX, _T("[balance]"), m_balance);
  5168. RFX_Text(pFX, _T("[psw]"), m_psw);
  5169. RFX_Text(pFX, _T("[sendmark1]"), m_sendmark1, 4096);
  5170. RFX_Text(pFX, _T("[sendmark2]"), m_sendmark2, 4096);
  5171. RFX_Text(pFX, _T("[cardtype]"), m_cardtype);
  5172. RFX_Text(pFX, _T("[check1]"), m_check1);
  5173. RFX_Text(pFX, _T("[discount]"), m_discount);
  5174. //}}AFX_FIELD_MAP
  5175. }
  5176. /////////////////////////////////////////////////////////////////////////////
  5177. // RstMemberReg diagnostics
  5178. #ifdef _DEBUG
  5179. void RstMemberReg::AssertValid() const
  5180. {
  5181. CRecordset::AssertValid();
  5182. }
  5183. void RstMemberReg::Dump(CDumpContext& dc) const
  5184. {
  5185. CRecordset::Dump(dc);
  5186. }
  5187. #endif //_DEBUG
  5188. IMPLEMENT_DYNAMIC(memberview2Reg, CRecordset)
  5189. memberview2Reg::memberview2Reg(CDatabase* pdb)
  5190. : CRecordset(pdb)
  5191. {
  5192. //{{AFX_FIELD_INIT(memberview2Reg)
  5193. m_memberno = _T("");
  5194. m_balance = _T("");
  5195. m_name = _T("");
  5196. m_date = _T("");
  5197. m_id = _T("");
  5198. m_sex = _T("");
  5199. m_phone = _T("");
  5200. m_qq = _T("");
  5201. m_addr = _T("");
  5202. m_occupation = _T("");
  5203. m_birthday = _T("");
  5204. m_money = _T("");
  5205. m_pinyin = _T("");
  5206. m_sendmark1 = _T("");
  5207. m_sendmark2 = _T("");
  5208. m_psw = _T("");
  5209. m_discount = _T("");
  5210. m_nFields = 21;
  5211. //}}AFX_FIELD_INIT
  5212. this->m_pDatabase = g_curdb;
  5213. m_nDefaultType = forwardOnly;
  5214. }
  5215. CString memberview2Reg::GetDefaultConnect()
  5216. {
  5217. return _T("ODBC;DSN=");
  5218. }
  5219. CString memberview2Reg::GetDefaultSQL()
  5220. {
  5221. return _T("[memberview2]");
  5222. }
  5223. void memberview2Reg::DoFieldExchange(CFieldExchange* pFX)
  5224. {
  5225. //{{AFX_FIELD_MAP(memberview2Reg)
  5226. pFX->SetFieldType(CFieldExchange::outputColumn);
  5227. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5228. RFX_Text(pFX, _T("[name]"), m_name);
  5229. RFX_Text(pFX, _T("[date]"), m_date);
  5230. RFX_Text(pFX, _T("[autoid]"), m_id);
  5231. RFX_Text(pFX, _T("[sex]"), m_sex);
  5232. RFX_Text(pFX, _T("[phone]"), m_phone);
  5233. RFX_Text(pFX, _T("[qq]"), m_qq);
  5234. RFX_Text(pFX, _T("[addr]"), m_addr);
  5235. RFX_Text(pFX, _T("[occupation]"), m_occupation);
  5236. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  5237. RFX_Text(pFX, _T("[money]"), m_money);
  5238. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  5239. RFX_Text(pFX, _T("[balance]"), m_balance);
  5240. RFX_Text(pFX, _T("[psw]"), m_psw);
  5241. RFX_Text(pFX, _T("[sendmark1]"), m_sendmark1, 4096);
  5242. RFX_Text(pFX, _T("[sendmark2]"), m_sendmark2, 4096);
  5243. RFX_Text(pFX, _T("[cardtype]"), m_cardtype);
  5244. RFX_Text(pFX, _T("[check1]"), m_check1);
  5245. RFX_Text(pFX, _T("[discount]"), m_discount);
  5246. RFX_Text(pFX, _T("[card2no]"), card2no);
  5247. RFX_Text(pFX, _T("[card2date]"), card2date);
  5248. //}}AFX_FIELD_MAP
  5249. }
  5250. /////////////////////////////////////////////////////////////////////////////
  5251. // memberview2Reg diagnostics
  5252. #ifdef _DEBUG
  5253. void memberview2Reg::AssertValid() const
  5254. {
  5255. CRecordset::AssertValid();
  5256. }
  5257. void memberview2Reg::Dump(CDumpContext& dc) const
  5258. {
  5259. CRecordset::Dump(dc);
  5260. }
  5261. #endif //_DEBUG
  5262. IMPLEMENT_DYNAMIC(memberview3Reg, CRecordset)
  5263. memberview3Reg::memberview3Reg(CDatabase* pdb)
  5264. : CRecordset(pdb)
  5265. {
  5266. //{{AFX_FIELD_INIT(memberview3Reg)
  5267. m_memberno = _T("");
  5268. m_balance = _T("");
  5269. m_name = _T("");
  5270. m_date = _T("");
  5271. m_id = _T("");
  5272. m_sex = _T("");
  5273. m_phone = _T("");
  5274. m_qq = _T("");
  5275. m_addr = _T("");
  5276. m_occupation = _T("");
  5277. m_birthday = _T("");
  5278. m_money = _T("");
  5279. m_pinyin = _T("");
  5280. m_sendmark1 = _T("");
  5281. m_sendmark2 = _T("");
  5282. m_psw = _T("");
  5283. m_discount = _T("");
  5284. m_nFields = 25;
  5285. //}}AFX_FIELD_INIT
  5286. this->m_pDatabase = g_curdb;
  5287. m_nDefaultType = forwardOnly;
  5288. }
  5289. CString memberview3Reg::GetDefaultConnect()
  5290. {
  5291. return _T("ODBC;DSN=");
  5292. }
  5293. CString memberview3Reg::GetDefaultSQL()
  5294. {
  5295. return _T("[memberview3]");
  5296. }
  5297. void memberview3Reg::DoFieldExchange(CFieldExchange* pFX)
  5298. {
  5299. //{{AFX_FIELD_MAP(memberview3Reg)
  5300. pFX->SetFieldType(CFieldExchange::outputColumn);
  5301. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5302. RFX_Text(pFX, _T("[name]"), m_name);
  5303. RFX_Text(pFX, _T("[date]"), m_date);
  5304. RFX_Text(pFX, _T("[autoid]"), m_id);
  5305. RFX_Text(pFX, _T("[sex]"), m_sex);
  5306. RFX_Text(pFX, _T("[phone]"), m_phone);
  5307. RFX_Text(pFX, _T("[qq]"), m_qq);
  5308. RFX_Text(pFX, _T("[addr]"), m_addr);
  5309. RFX_Text(pFX, _T("[occupation]"), m_occupation);
  5310. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  5311. RFX_Text(pFX, _T("[money]"), m_money);
  5312. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  5313. RFX_Text(pFX, _T("[balance]"), m_balance);
  5314. RFX_Text(pFX, _T("[psw]"), m_psw);
  5315. RFX_Text(pFX, _T("[sendmark1]"), m_sendmark1, 4096);
  5316. RFX_Text(pFX, _T("[sendmark2]"), m_sendmark2, 4096);
  5317. RFX_Text(pFX, _T("[cardtype]"), m_cardtype);
  5318. RFX_Text(pFX, _T("[check1]"), m_check1);
  5319. RFX_Text(pFX, _T("[discount]"), m_discount);
  5320. RFX_Text(pFX, _T("[card2no]"), card2no);
  5321. RFX_Text(pFX, _T("[date2]"), date2);
  5322. RFX_Text(pFX, _T("[dindanid]"), dindanid);
  5323. RFX_Text(pFX, _T("[taoxi]"), taoxi);
  5324. RFX_Text(pFX, _T("[card2money]"), card2money);
  5325. RFX_Text(pFX, _T("[card2date]"), card2date);
  5326. //}}AFX_FIELD_MAP
  5327. }
  5328. /////////////////////////////////////////////////////////////////////////////
  5329. // memberview3Reg diagnostics
  5330. #ifdef _DEBUG
  5331. void memberview3Reg::AssertValid() const
  5332. {
  5333. CRecordset::AssertValid();
  5334. }
  5335. void memberview3Reg::Dump(CDumpContext& dc) const
  5336. {
  5337. CRecordset::Dump(dc);
  5338. }
  5339. #endif //_DEBUG
  5340. IMPLEMENT_DYNAMIC(RstMemberRegBlue, CRecordset)
  5341. RstMemberRegBlue::RstMemberRegBlue(CDatabase* pdb)
  5342. : CRecordset(pdb)
  5343. {
  5344. //{{AFX_FIELD_INIT(RstMemberRegBlue)
  5345. m_memberno = _T("");
  5346. m_name = _T("");
  5347. m_date = _T("");
  5348. m_id = _T("");
  5349. m_sex = _T("");
  5350. m_phone = _T("");
  5351. m_qq = _T("");
  5352. m_addr = _T("");
  5353. m_occupation = _T("");
  5354. m_birthday = _T("");
  5355. m_money = _T("");
  5356. m_money2 = _T("");
  5357. m_money3 = _T("");
  5358. m_occupation = _T("");
  5359. m_pinyin = _T("");
  5360. m_jiage = _T("");
  5361. m_nFields = 16;
  5362. //}}AFX_FIELD_INIT
  5363. this->m_pDatabase = g_curdb;
  5364. m_nDefaultType = forwardOnly;
  5365. }
  5366. CString RstMemberRegBlue::GetDefaultConnect()
  5367. {
  5368. return _T("ODBC;DSN=");
  5369. }
  5370. CString RstMemberRegBlue::GetDefaultSQL()
  5371. {
  5372. return _T("[membermanageblue]");
  5373. }
  5374. void RstMemberRegBlue::DoFieldExchange(CFieldExchange* pFX)
  5375. {
  5376. //{{AFX_FIELD_MAP(RstMemberRegBlue)
  5377. pFX->SetFieldType(CFieldExchange::outputColumn);
  5378. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5379. RFX_Text(pFX, _T("[name]"), m_name);
  5380. RFX_Text(pFX, _T("[date]"), m_date);
  5381. RFX_Text(pFX, _T("[autoid]"), m_id);
  5382. RFX_Text(pFX, _T("[sex]"), m_sex);
  5383. RFX_Text(pFX, _T("[phone]"), m_phone);
  5384. RFX_Text(pFX, _T("[qq]"), m_qq);
  5385. RFX_Text(pFX, _T("[addr]"), m_addr);
  5386. RFX_Text(pFX, _T("[occupation]"), m_occupation);
  5387. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  5388. RFX_Text(pFX, _T("[money]"), m_money);
  5389. RFX_Text(pFX, _T("[money2]"), m_money2);
  5390. RFX_Text(pFX, _T("[money3]"), m_money3);
  5391. RFX_Text(pFX, _T("[occupation]"), m_occupation);
  5392. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  5393. RFX_Text(pFX, _T("[jiage]"), m_jiage);
  5394. //}}AFX_FIELD_MAP
  5395. }
  5396. /////////////////////////////////////////////////////////////////////////////
  5397. // RstMemberRegBlue diagnostics
  5398. #ifdef _DEBUG
  5399. void RstMemberRegBlue::AssertValid() const
  5400. {
  5401. CRecordset::AssertValid();
  5402. }
  5403. void RstMemberRegBlue::Dump(CDumpContext& dc) const
  5404. {
  5405. CRecordset::Dump(dc);
  5406. }
  5407. #endif //_DEBUG
  5408. IMPLEMENT_DYNAMIC(RstMemberReg2, CRecordset)
  5409. RstMemberReg2::RstMemberReg2(CDatabase* pdb)
  5410. : CRecordset(pdb)
  5411. {
  5412. //{{AFX_FIELD_INIT(RstMemberReg2)
  5413. m_memberno = _T("");
  5414. m_dindanid = _T("");
  5415. m_money = _T("");
  5416. m_date = _T("");
  5417. m_date2 = _T("");
  5418. m_card2no = _T("");
  5419. m_taoxi = _T("");
  5420. m_nFields = 7;
  5421. //}}AFX_FIELD_INIT
  5422. this->m_pDatabase = g_curdb;
  5423. m_nDefaultType = forwardOnly;
  5424. }
  5425. CString RstMemberReg2::GetDefaultConnect()
  5426. {
  5427. return _T("ODBC;DSN=");
  5428. }
  5429. CString RstMemberReg2::GetDefaultSQL()
  5430. {
  5431. return _T("[memberreg]");
  5432. }
  5433. void RstMemberReg2::DoFieldExchange(CFieldExchange* pFX)
  5434. {
  5435. //{{AFX_FIELD_MAP(RstMemberReg2)
  5436. pFX->SetFieldType(CFieldExchange::outputColumn);
  5437. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5438. RFX_Text(pFX, _T("[dindanid]"), m_dindanid);
  5439. RFX_Text(pFX, _T("[money]"), m_money);
  5440. RFX_Text(pFX, _T("[date]"), m_date);
  5441. RFX_Text(pFX, _T("[date2]"), m_date2);
  5442. RFX_Text(pFX, _T("[card2no]"), m_card2no);
  5443. RFX_Text(pFX, _T("[taoxi]"), m_taoxi);
  5444. //}}AFX_FIELD_MAP
  5445. }
  5446. /////////////////////////////////////////////////////////////////////////////
  5447. // RstMemberReg2 diagnostics
  5448. #ifdef _DEBUG
  5449. void RstMemberReg2::AssertValid() const
  5450. {
  5451. CRecordset::AssertValid();
  5452. }
  5453. void RstMemberReg2::Dump(CDumpContext& dc) const
  5454. {
  5455. CRecordset::Dump(dc);
  5456. }
  5457. #endif //_DEBUG
  5458. IMPLEMENT_DYNAMIC(RstMemberReg32, CRecordset)
  5459. RstMemberReg32::RstMemberReg32(CDatabase* pdb)
  5460. : CRecordset(pdb)
  5461. {
  5462. //{{AFX_FIELD_INIT(RstMemberReg32)
  5463. m_memberno = _T("");
  5464. m_id = _T("");
  5465. m_money = _T("");
  5466. m_date = _T("");
  5467. m_clerk = _T("");
  5468. m_strRechargeRemark = _T("");
  5469. m_nFields = 7;
  5470. //}}AFX_FIELD_INIT
  5471. this->m_pDatabase = g_curdb;
  5472. m_nDefaultType = forwardOnly;
  5473. }
  5474. CString RstMemberReg32::GetDefaultConnect()
  5475. {
  5476. return _T("ODBC;DSN=");
  5477. }
  5478. CString RstMemberReg32::GetDefaultSQL()
  5479. {
  5480. return _T("[memberreg3]");
  5481. }
  5482. void RstMemberReg32::DoFieldExchange(CFieldExchange* pFX)
  5483. {
  5484. //{{AFX_FIELD_MAP(RstMemberReg32)
  5485. pFX->SetFieldType(CFieldExchange::outputColumn);
  5486. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5487. RFX_Text(pFX, _T("[id]"), m_id);
  5488. RFX_Text(pFX, _T("[money]"), m_money);
  5489. RFX_Text(pFX, _T("[date]"), m_date);
  5490. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  5491. RFX_Text(pFX, _T("[money2]"), m_money2);
  5492. RFX_Text(pFX, _T("[bz]"), m_strRechargeRemark);
  5493. //}}AFX_FIELD_MAP clerk
  5494. }
  5495. /////////////////////////////////////////////////////////////////////////////
  5496. // RstMemberReg32 diagnostics
  5497. #ifdef _DEBUG
  5498. void RstMemberReg32::AssertValid() const
  5499. {
  5500. CRecordset::AssertValid();
  5501. }
  5502. void RstMemberReg32::Dump(CDumpContext& dc) const
  5503. {
  5504. CRecordset::Dump(dc);
  5505. }
  5506. #endif //_DEBUG
  5507. IMPLEMENT_DYNAMIC(memberviewReg, CRecordset)
  5508. memberviewReg::memberviewReg(CDatabase* pdb)
  5509. : CRecordset(pdb)
  5510. {
  5511. //{{AFX_FIELD_INIT(memberviewReg)
  5512. m_memberno = _T("");
  5513. m_id = _T("");
  5514. m_money = _T("");
  5515. m_date = _T("");
  5516. m_clerk = _T("");
  5517. m_nFields = 9;
  5518. //}}AFX_FIELD_INIT
  5519. this->m_pDatabase = g_curdb;
  5520. m_nDefaultType = forwardOnly;
  5521. }
  5522. CString memberviewReg::GetDefaultConnect()
  5523. {
  5524. return _T("ODBC;DSN=");
  5525. }
  5526. CString memberviewReg::GetDefaultSQL()
  5527. {
  5528. return _T("[memberview]");
  5529. }
  5530. void memberviewReg::DoFieldExchange(CFieldExchange* pFX)
  5531. {
  5532. //{{AFX_FIELD_MAP(memberviewReg)
  5533. pFX->SetFieldType(CFieldExchange::outputColumn);
  5534. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5535. RFX_Text(pFX, _T("[id]"), m_id);
  5536. RFX_Text(pFX, _T("[money]"), m_money);
  5537. RFX_Text(pFX, _T("[date]"), m_date);
  5538. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  5539. RFX_Text(pFX, _T("[name]"), m_name);
  5540. RFX_Text(pFX, _T("[financecheck]"), m_financecheck);
  5541. RFX_Text(pFX, _T("[moneytype]"), m_moneytype);
  5542. RFX_Text(pFX, _T("[time]"), m_time);
  5543. //}}AFX_FIELD_MAP clerk
  5544. }
  5545. /////////////////////////////////////////////////////////////////////////////
  5546. // memberviewReg diagnostics
  5547. #ifdef _DEBUG
  5548. void memberviewReg::AssertValid() const
  5549. {
  5550. CRecordset::AssertValid();
  5551. }
  5552. void memberviewReg::Dump(CDumpContext& dc) const
  5553. {
  5554. CRecordset::Dump(dc);
  5555. }
  5556. #endif //_DEBUG
  5557. IMPLEMENT_DYNAMIC(RstMemberReg4, CRecordset)
  5558. RstMemberReg4::RstMemberReg4(CDatabase* pdb)
  5559. : CRecordset(pdb)
  5560. {
  5561. //{{AFX_FIELD_INIT(RstMemberReg4)
  5562. m_memberno = _T("");
  5563. m_id = _T("");
  5564. m_money = _T("");
  5565. m_date = _T("");
  5566. m_clerk = _T("");
  5567. m_card2no = _T("");
  5568. m_nFields = 6;
  5569. //}}AFX_FIELD_INIT
  5570. this->m_pDatabase = g_curdb;
  5571. m_nDefaultType = forwardOnly;
  5572. }
  5573. CString RstMemberReg4::GetDefaultConnect()
  5574. {
  5575. return _T("ODBC;DSN=");
  5576. }
  5577. CString RstMemberReg4::GetDefaultSQL()
  5578. {
  5579. return _T("[memberreg4]");
  5580. }
  5581. void RstMemberReg4::DoFieldExchange(CFieldExchange* pFX)
  5582. {
  5583. //{{AFX_FIELD_MAP(RstMemberReg4)
  5584. pFX->SetFieldType(CFieldExchange::outputColumn);
  5585. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5586. RFX_Text(pFX, _T("[id]"), m_id);
  5587. RFX_Text(pFX, _T("[money]"), m_money);
  5588. RFX_Text(pFX, _T("[date]"), m_date);
  5589. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  5590. RFX_Text(pFX, _T("[card2no]"), m_card2no);
  5591. //}}AFX_FIELD_MAP clerk
  5592. }
  5593. /////////////////////////////////////////////////////////////////////////////
  5594. // RstMemberReg4 diagnostics
  5595. #ifdef _DEBUG
  5596. void RstMemberReg4::AssertValid() const
  5597. {
  5598. CRecordset::AssertValid();
  5599. }
  5600. void RstMemberReg4::Dump(CDumpContext& dc) const
  5601. {
  5602. CRecordset::Dump(dc);
  5603. }
  5604. #endif //_DEBUG
  5605. IMPLEMENT_DYNAMIC(RstMemberReg2blue, CRecordset)
  5606. RstMemberReg2blue::RstMemberReg2blue(CDatabase* pdb)
  5607. : CRecordset(pdb)
  5608. {
  5609. //{{AFX_FIELD_INIT(RstMemberReg2blue)
  5610. m_memberno = _T("");
  5611. m_dindanid = _T("");
  5612. m_money = _T("");
  5613. m_date = _T("");
  5614. m_date2 = _T("");
  5615. m_card2no = _T("");
  5616. m_taoxi = _T("");
  5617. m_nFields = 7;
  5618. //}}AFX_FIELD_INIT
  5619. this->m_pDatabase = g_curdb;
  5620. m_nDefaultType = forwardOnly;
  5621. }
  5622. CString RstMemberReg2blue::GetDefaultConnect()
  5623. {
  5624. return _T("ODBC;DSN=");
  5625. }
  5626. CString RstMemberReg2blue::GetDefaultSQL()
  5627. {
  5628. return _T("[memberregblue]");
  5629. }
  5630. void RstMemberReg2blue::DoFieldExchange(CFieldExchange* pFX)
  5631. {
  5632. //{{AFX_FIELD_MAP(RstMemberReg2blue)
  5633. pFX->SetFieldType(CFieldExchange::outputColumn);
  5634. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5635. RFX_Text(pFX, _T("[dindanid]"), m_dindanid);
  5636. RFX_Text(pFX, _T("[money]"), m_money);
  5637. RFX_Text(pFX, _T("[date]"), m_date);
  5638. RFX_Text(pFX, _T("[date2]"), m_date2);
  5639. RFX_Text(pFX, _T("[card2no]"), m_card2no);
  5640. RFX_Text(pFX, _T("[taoxi]"), m_taoxi);
  5641. //}}AFX_FIELD_MAP
  5642. }
  5643. /////////////////////////////////////////////////////////////////////////////
  5644. // RstMemberReg2blue diagnostics
  5645. #ifdef _DEBUG
  5646. void RstMemberReg2blue::AssertValid() const
  5647. {
  5648. CRecordset::AssertValid();
  5649. }
  5650. void RstMemberReg2blue::Dump(CDumpContext& dc) const
  5651. {
  5652. CRecordset::Dump(dc);
  5653. }
  5654. #endif //_DEBUG
  5655. IMPLEMENT_DYNAMIC(RstMemberReg3, CRecordset)
  5656. RstMemberReg3::RstMemberReg3(CDatabase* pdb)
  5657. : CRecordset(pdb)
  5658. {
  5659. //{{AFX_FIELD_INIT(RstMemberReg3)
  5660. m_id = _T("");
  5661. m_memberno = _T("");
  5662. m_dindanid = _T("");
  5663. m_money = _T("");
  5664. m_point = _T("");
  5665. m_date = _T("");
  5666. m_nFields = 6;
  5667. //}}AFX_FIELD_INIT
  5668. this->m_pDatabase = g_curdb;
  5669. m_nDefaultType = forwardOnly;
  5670. }
  5671. CString RstMemberReg3::GetDefaultConnect()
  5672. {
  5673. return _T("ODBC;DSN=");
  5674. }
  5675. CString RstMemberReg3::GetDefaultSQL()
  5676. {
  5677. return _T("[memberreg2]");
  5678. }
  5679. void RstMemberReg3::DoFieldExchange(CFieldExchange* pFX)
  5680. {
  5681. //{{AFX_FIELD_MAP(RstMemberReg3)
  5682. pFX->SetFieldType(CFieldExchange::outputColumn);
  5683. RFX_Text(pFX, _T("[id]"), m_id);
  5684. RFX_Text(pFX, _T("[memberno]"), m_memberno);
  5685. RFX_Text(pFX, _T("[dindanid]"), m_dindanid);
  5686. RFX_Text(pFX, _T("[money]"), m_money);
  5687. RFX_Text(pFX, _T("[point]"), m_point);
  5688. RFX_Text(pFX, _T("[date]"), m_date);
  5689. //}}AFX_FIELD_MAP
  5690. }
  5691. /////////////////////////////////////////////////////////////////////////////
  5692. // RstMemberReg3 diagnostics
  5693. #ifdef _DEBUG
  5694. void RstMemberReg3::AssertValid() const
  5695. {
  5696. CRecordset::AssertValid();
  5697. }
  5698. void RstMemberReg3::Dump(CDumpContext& dc) const
  5699. {
  5700. CRecordset::Dump(dc);
  5701. }
  5702. #endif //_DEBUG
  5703. IMPLEMENT_DYNAMIC(RstDressTypeReg, CRecordset)
  5704. RstDressTypeReg::RstDressTypeReg(CDatabase* pdb)
  5705. : CRecordset(pdb)
  5706. {
  5707. //{{AFX_FIELD_INIT(RstDressTypeReg)
  5708. m_name = _T("");
  5709. m_nFields = 2;
  5710. //}}AFX_FIELD_INIT
  5711. this->m_pDatabase = g_curdb;
  5712. m_nDefaultType = forwardOnly;
  5713. }
  5714. CString RstDressTypeReg::GetDefaultConnect()
  5715. {
  5716. return _T("ODBC;DSN=");
  5717. }
  5718. CString RstDressTypeReg::GetDefaultSQL()
  5719. {
  5720. return _T("[dresstype]");
  5721. }
  5722. void RstDressTypeReg::DoFieldExchange(CFieldExchange* pFX)
  5723. {
  5724. //{{AFX_FIELD_MAP(RstDressTypeReg)
  5725. pFX->SetFieldType(CFieldExchange::outputColumn);
  5726. RFX_Text(pFX, _T("[name]"), m_name);
  5727. RFX_Text(pFX, _T("[type]"), m_type);
  5728. //}}AFX_FIELD_MAP
  5729. }
  5730. /////////////////////////////////////////////////////////////////////////////
  5731. // RstDressTypeReg diagnostics
  5732. #ifdef _DEBUG
  5733. void RstDressTypeReg::AssertValid() const
  5734. {
  5735. CRecordset::AssertValid();
  5736. }
  5737. void RstDressTypeReg::Dump(CDumpContext& dc) const
  5738. {
  5739. CRecordset::Dump(dc);
  5740. }
  5741. #endif //_DEBUG
  5742. IMPLEMENT_DYNAMIC(RstDressInfoReg, CRecordset)
  5743. RstDressInfoReg::RstDressInfoReg(CDatabase* pdb)
  5744. : CRecordset(pdb)
  5745. {
  5746. //{{AFX_FIELD_INIT(RstDressInfoReg)
  5747. m_name = _T("");
  5748. m_type = _T("");
  5749. m_no = _T("");
  5750. m_count = _T("");
  5751. m_hirecount = _T("");
  5752. m_salecount = _T("");
  5753. m_washcount = _T("");
  5754. m_balance = _T("");
  5755. m_price1 = _T("");
  5756. m_price2 = _T("");
  5757. m_date = _T("");
  5758. m_remark = _T("");
  5759. m_dressarea = _T("");
  5760. m_nFields = 14;
  5761. //}}AFX_FIELD_INIT
  5762. this->m_pDatabase = g_curdb;
  5763. m_nDefaultType = forwardOnly;
  5764. m_strSort="type desc,name desc";
  5765. }
  5766. CString RstDressInfoReg::GetDefaultConnect()
  5767. {
  5768. return _T("ODBC;DSN=");
  5769. }
  5770. CString RstDressInfoReg::GetDefaultSQL()
  5771. {
  5772. return _T("[dressinfo]");
  5773. }
  5774. void RstDressInfoReg::DoFieldExchange(CFieldExchange* pFX)
  5775. {
  5776. //{{AFX_FIELD_MAP(RstDressInfoReg)
  5777. pFX->SetFieldType(CFieldExchange::outputColumn);
  5778. RFX_Text(pFX, _T("[name]"), m_name);
  5779. RFX_Text(pFX, _T("[type]"), m_type);
  5780. RFX_Text(pFX, _T("[type2]"), m_type2);
  5781. RFX_Text(pFX, _T("[no]"), m_no);
  5782. RFX_Text(pFX, _T("[count]"), m_count);
  5783. RFX_Text(pFX, _T("[hirecount]"), m_hirecount);
  5784. RFX_Text(pFX, _T("[salecount]"), m_salecount);
  5785. RFX_Text(pFX, _T("[washcount]"), m_washcount);
  5786. RFX_Text(pFX, _T("[balance]"), m_balance);
  5787. RFX_Text(pFX, _T("[price1]"), m_price1);
  5788. RFX_Text(pFX, _T("[price2]"), m_price2);
  5789. RFX_Text(pFX, _T("[date]"), m_date);
  5790. RFX_Text(pFX, _T("[remark]"), m_remark);
  5791. RFX_Text(pFX, _T("[dressarea]"), m_dressarea);
  5792. //}}AFX_FIELD_MAP
  5793. }
  5794. /////////////////////////////////////////////////////////////////////////////
  5795. // RstDressInfoReg diagnostics
  5796. #ifdef _DEBUG
  5797. void RstDressInfoReg::AssertValid() const
  5798. {
  5799. CRecordset::AssertValid();
  5800. }
  5801. void RstDressInfoReg::Dump(CDumpContext& dc) const
  5802. {
  5803. CRecordset::Dump(dc);
  5804. }
  5805. #endif //_DEBUG
  5806. IMPLEMENT_DYNAMIC(RstDressHireReg, CRecordset)
  5807. RstDressHireReg::RstDressHireReg(CDatabase* pdb)
  5808. : CRecordset(pdb)
  5809. {
  5810. //{{AFX_FIELD_INIT(RstDressHireReg)
  5811. m_id = _T("");
  5812. m_money = _T("");
  5813. m_money2 = _T("");
  5814. m_name = _T("");
  5815. m_phone = _T("");
  5816. m_date = _T("");
  5817. m_date1 = _T("");
  5818. m_date2 = _T("");
  5819. m_clerk = _T("");
  5820. m_hireorsale = _T("");
  5821. m_remark = _T("");
  5822. m_nFields = 11;
  5823. //}}AFX_FIELD_INIT
  5824. this->m_pDatabase = g_curdb;
  5825. m_nDefaultType = forwardOnly;
  5826. m_strSort="id desc";
  5827. }
  5828. CString RstDressHireReg::GetDefaultConnect()
  5829. {
  5830. return _T("ODBC;DSN=");
  5831. }
  5832. CString RstDressHireReg::GetDefaultSQL()
  5833. {
  5834. return _T("[dresshire]");
  5835. }
  5836. void RstDressHireReg::DoFieldExchange(CFieldExchange* pFX)
  5837. {
  5838. //{{AFX_FIELD_MAP(RstDressHireReg)
  5839. pFX->SetFieldType(CFieldExchange::outputColumn);
  5840. RFX_Text(pFX, _T("[id]"), m_id);
  5841. RFX_Text(pFX, _T("[money]"), m_money);
  5842. RFX_Text(pFX, _T("[money2]"), m_money2);
  5843. RFX_Text(pFX, _T("[name]"), m_name);
  5844. RFX_Text(pFX, _T("[phone]"), m_phone);
  5845. RFX_Text(pFX, _T("[date]"), m_date);
  5846. RFX_Text(pFX, _T("[date1]"), m_date1);
  5847. RFX_Text(pFX, _T("[date2]"), m_date2);
  5848. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  5849. RFX_Text(pFX, _T("[hireorsale]"), m_hireorsale);
  5850. RFX_Text(pFX, _T("[remark]"), m_remark, 4096);
  5851. //}}AFX_FIELD_MAP
  5852. }
  5853. /////////////////////////////////////////////////////////////////////////////
  5854. // RstDressHireReg diagnostics
  5855. #ifdef _DEBUG
  5856. void RstDressHireReg::AssertValid() const
  5857. {
  5858. CRecordset::AssertValid();
  5859. }
  5860. void RstDressHireReg::Dump(CDumpContext& dc) const
  5861. {
  5862. CRecordset::Dump(dc);
  5863. }
  5864. #endif //_DEBUG
  5865. IMPLEMENT_DYNAMIC(RstDressView, CRecordset)
  5866. RstDressView::RstDressView(CDatabase* pdb)
  5867. : CRecordset(pdb)
  5868. {
  5869. //{{AFX_FIELD_INIT(RstDressView)
  5870. m_nFields = 11;
  5871. //}}AFX_FIELD_INIT
  5872. this->m_pDatabase = g_curdb;
  5873. m_nDefaultType = forwardOnly;
  5874. m_strSort="no,date1,date2";
  5875. }
  5876. CString RstDressView::GetDefaultConnect()
  5877. {
  5878. return _T("ODBC;DSN=");
  5879. }
  5880. CString RstDressView::GetDefaultSQL()
  5881. {
  5882. return _T("[dressview]");
  5883. }
  5884. void RstDressView::DoFieldExchange(CFieldExchange* pFX)
  5885. {
  5886. //{{AFX_FIELD_MAP(RstDressView)
  5887. pFX->SetFieldType(CFieldExchange::outputColumn);
  5888. RFX_Text(pFX, _T("[no]"), no);
  5889. RFX_Text(pFX, _T("[name]"), name);
  5890. RFX_Text(pFX, _T("[count]"), count);
  5891. RFX_Text(pFX, _T("[salecount]"), salecount);
  5892. RFX_Text(pFX, _T("[clientname]"), clientname);
  5893. RFX_Text(pFX, _T("[phone]"), phone);
  5894. RFX_Text(pFX, _T("[count2]"), count2);
  5895. RFX_Text(pFX, _T("[date1]"), date1);
  5896. RFX_Text(pFX, _T("[date2]"), date2);
  5897. RFX_Text(pFX, _T("[clerk]"), clerk);
  5898. RFX_Text(pFX, _T("[date]"), date);
  5899. //}}AFX_FIELD_MAP
  5900. }
  5901. /////////////////////////////////////////////////////////////////////////////
  5902. // RstDressView diagnostics
  5903. #ifdef _DEBUG
  5904. void RstDressView::AssertValid() const
  5905. {
  5906. CRecordset::AssertValid();
  5907. }
  5908. void RstDressView::Dump(CDumpContext& dc) const
  5909. {
  5910. CRecordset::Dump(dc);
  5911. }
  5912. #endif //_DEBUG
  5913. IMPLEMENT_DYNAMIC(RstDressHireData, CRecordset)
  5914. RstDressHireData::RstDressHireData(CDatabase* pdb)
  5915. : CRecordset(pdb)
  5916. {
  5917. //{{AFX_FIELD_INIT(RstDressHireData)
  5918. m_id = _T("");
  5919. m_name = _T("");
  5920. m_count = _T("");
  5921. m_isreturn = _T("");
  5922. m_returndate = _T("");
  5923. m_clerk = _T("");
  5924. m_no = _T("");
  5925. m_hireorsale = _T("");
  5926. m_nFields =8;
  5927. //}}AFX_FIELD_INIT
  5928. this->m_pDatabase = g_curdb;
  5929. m_nDefaultType = forwardOnly;
  5930. m_strSort="id desc";
  5931. }
  5932. CString RstDressHireData::GetDefaultConnect()
  5933. {
  5934. return _T("ODBC;DSN=");
  5935. }
  5936. CString RstDressHireData::GetDefaultSQL()
  5937. {
  5938. return _T("[dresshiredata]");
  5939. }
  5940. void RstDressHireData::DoFieldExchange(CFieldExchange* pFX)
  5941. {
  5942. //{{AFX_FIELD_MAP(RstDressHireData)
  5943. pFX->SetFieldType(CFieldExchange::outputColumn);
  5944. RFX_Text(pFX, _T("[id]"), m_id);
  5945. RFX_Text(pFX, _T("[name]"), m_name);
  5946. RFX_Text(pFX, _T("[count]"), m_count);
  5947. RFX_Text(pFX, _T("[isreturn]"), m_isreturn);
  5948. RFX_Text(pFX, _T("[returndate]"), m_returndate);
  5949. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  5950. RFX_Text(pFX, _T("[no]"), m_no);
  5951. RFX_Text(pFX, _T("[hireorsale]"), m_hireorsale);
  5952. //}}AFX_FIELD_MAP
  5953. }
  5954. /////////////////////////////////////////////////////////////////////////////
  5955. // RstDressHireData diagnostics
  5956. #ifdef _DEBUG
  5957. void RstDressHireData::AssertValid() const
  5958. {
  5959. CRecordset::AssertValid();
  5960. }
  5961. void RstDressHireData::Dump(CDumpContext& dc) const
  5962. {
  5963. CRecordset::Dump(dc);
  5964. }
  5965. #endif //_DEBUG
  5966. IMPLEMENT_DYNAMIC(CGoodsinfoSet, CRecordset)
  5967. CGoodsinfoSet::CGoodsinfoSet(CDatabase* pdb)
  5968. : CRecordset(pdb)
  5969. {
  5970. //{{AFX_FIELD_INIT(CGoodsinfoSet)
  5971. m_id = _T("");
  5972. m_type = _T("");
  5973. m_name = _T("");
  5974. m_count = _T("");
  5975. m_date = _T("");
  5976. m_clerk = _T("");
  5977. m_remark = _T("");
  5978. m_nFields = 7;
  5979. //}}AFX_FIELD_INIT
  5980. this->m_pDatabase = g_curdb;
  5981. m_nDefaultType = forwardOnly;
  5982. m_strSort="type desc,name desc";
  5983. }
  5984. CString CGoodsinfoSet::GetDefaultConnect()
  5985. {
  5986. return _T("ODBC;DSN=");
  5987. }
  5988. CString CGoodsinfoSet::GetDefaultSQL()
  5989. {
  5990. return _T("[storeinfo]");
  5991. }
  5992. void CGoodsinfoSet::DoFieldExchange(CFieldExchange* pFX)
  5993. {
  5994. //{{AFX_FIELD_MAP(CGoodsinfoSet)
  5995. pFX->SetFieldType(CFieldExchange::outputColumn);
  5996. RFX_Text(pFX, _T("[id]"), m_id);
  5997. RFX_Text(pFX, _T("[type]"), m_type);
  5998. RFX_Text(pFX, _T("[name]"), m_name);
  5999. RFX_Text(pFX, _T("[count]"), m_count);
  6000. RFX_Text(pFX, _T("[date]"), m_date);
  6001. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  6002. RFX_Text(pFX, _T("[remark]"), m_remark, 4096);
  6003. //}}AFX_FIELD_MAP
  6004. }
  6005. /////////////////////////////////////////////////////////////////////////////
  6006. // CGoodsinfoSet diagnostics
  6007. #ifdef _DEBUG
  6008. void CGoodsinfoSet::AssertValid() const
  6009. {
  6010. CRecordset::AssertValid();
  6011. }
  6012. void CGoodsinfoSet::Dump(CDumpContext& dc) const
  6013. {
  6014. CRecordset::Dump(dc);
  6015. }
  6016. #endif //_DEBUG
  6017. IMPLEMENT_DYNAMIC(CGoodsinfoSet2, CRecordset)
  6018. CGoodsinfoSet2::CGoodsinfoSet2(CDatabase* pdb)
  6019. : CRecordset(pdb)
  6020. {
  6021. //{{AFX_FIELD_INIT(CGoodsinfoSet2)
  6022. m_id = _T("");
  6023. m_type = _T("");
  6024. m_name = _T("");
  6025. m_count = _T("");
  6026. m_date = _T("");
  6027. m_clerk = _T("");
  6028. m_remark = _T("");
  6029. m_nFields = 7;
  6030. //}}AFX_FIELD_INIT
  6031. this->m_pDatabase = g_curdb;
  6032. m_nDefaultType = forwardOnly;
  6033. m_strSort="name desc";
  6034. }
  6035. CString CGoodsinfoSet2::GetDefaultConnect()
  6036. {
  6037. return _T("ODBC;DSN=");
  6038. }
  6039. CString CGoodsinfoSet2::GetDefaultSQL()
  6040. {
  6041. return _T("[storeinfo2]");
  6042. }
  6043. void CGoodsinfoSet2::DoFieldExchange(CFieldExchange* pFX)
  6044. {
  6045. //{{AFX_FIELD_MAP(CGoodsinfoSet2)
  6046. pFX->SetFieldType(CFieldExchange::outputColumn);
  6047. RFX_Text(pFX, _T("[id]"), m_id);
  6048. RFX_Text(pFX, _T("[type]"), m_type);
  6049. RFX_Text(pFX, _T("[name]"), m_name);
  6050. RFX_Text(pFX, _T("[count]"), m_count);
  6051. RFX_Text(pFX, _T("[date]"), m_date);
  6052. RFX_Text(pFX, _T("[clerk]"), m_clerk);
  6053. RFX_Text(pFX, _T("[remark]"), m_remark, 4096);
  6054. //}}AFX_FIELD_MAP
  6055. }
  6056. /////////////////////////////////////////////////////////////////////////////
  6057. // CGoodsinfoSet2 diagnostics
  6058. #ifdef _DEBUG
  6059. void CGoodsinfoSet2::AssertValid() const
  6060. {
  6061. CRecordset::AssertValid();
  6062. }
  6063. void CGoodsinfoSet2::Dump(CDumpContext& dc) const
  6064. {
  6065. CRecordset::Dump(dc);
  6066. }
  6067. #endif //_DEBUG
  6068. IMPLEMENT_DYNAMIC(RstTaoXifg, CRecordset)
  6069. RstTaoXifg::RstTaoXifg(CDatabase* pdb)
  6070. : CRecordset(pdb)
  6071. {
  6072. //{{AFX_FIELD_INIT(RstTaoXifg)
  6073. m_name = _T("");
  6074. m_nFields = 1;
  6075. //}}AFX_FIELD_INIT
  6076. this->m_pDatabase = g_curdb;
  6077. m_nDefaultType = forwardOnly;
  6078. }
  6079. CString RstTaoXifg::GetDefaultConnect()
  6080. {
  6081. return _T("ODBC;DSN=");
  6082. }
  6083. CString RstTaoXifg::GetDefaultSQL()
  6084. {
  6085. return _T("[taoxifg]");
  6086. }
  6087. void RstTaoXifg::DoFieldExchange(CFieldExchange* pFX)
  6088. {
  6089. //{{AFX_FIELD_MAP(RstTaoXifg)
  6090. pFX->SetFieldType(CFieldExchange::outputColumn);
  6091. RFX_Text(pFX, _T("[name]"), m_name);
  6092. //}}AFX_FIELD_MAP
  6093. }
  6094. /////////////////////////////////////////////////////////////////////////////
  6095. // RstTaoXifg diagnostics
  6096. #ifdef _DEBUG
  6097. void RstTaoXifg::AssertValid() const
  6098. {
  6099. CRecordset::AssertValid();
  6100. }
  6101. void RstTaoXifg::Dump(CDumpContext& dc) const
  6102. {
  6103. CRecordset::Dump(dc);
  6104. }
  6105. #endif //_DEBUG
  6106. IMPLEMENT_DYNAMIC(CRstburncdreg, CRecordset)
  6107. CRstburncdreg::CRstburncdreg(CDatabase* pdb)
  6108. : CRecordset(pdb)
  6109. {
  6110. //{{AFX_FIELD_INIT(CRstburncdreg)
  6111. m_name = _T("");
  6112. m_date = _T("");
  6113. id = _T("");
  6114. remark = _T("");
  6115. m_nFields = 4;
  6116. //}}AFX_FIELD_INIT
  6117. this->m_pDatabase = g_curdb;
  6118. m_nDefaultType = forwardOnly;
  6119. m_strSort="[date] desc";
  6120. }
  6121. CString CRstburncdreg::GetDefaultConnect()
  6122. {
  6123. return _T("ODBC;DSN=");
  6124. }
  6125. CString CRstburncdreg::GetDefaultSQL()
  6126. {
  6127. return _T("[burncdreg]");
  6128. }
  6129. void CRstburncdreg::DoFieldExchange(CFieldExchange* pFX)
  6130. {
  6131. //{{AFX_FIELD_MAP(CRstburncdreg)
  6132. pFX->SetFieldType(CFieldExchange::outputColumn);
  6133. RFX_Text(pFX, _T("[ren]"), m_name);
  6134. RFX_Text(pFX, _T("[date]"), m_date);
  6135. RFX_Text(pFX, _T("[id]"), id);
  6136. RFX_Text(pFX, _T("[remark]"), remark);
  6137. //}}AFX_FIELD_MAP
  6138. }
  6139. /////////////////////////////////////////////////////////////////////////////
  6140. // CRstburncdreg diagnostics
  6141. #ifdef _DEBUG
  6142. void CRstburncdreg::AssertValid() const
  6143. {
  6144. CRecordset::AssertValid();
  6145. }
  6146. void CRstburncdreg::Dump(CDumpContext& dc) const
  6147. {
  6148. CRecordset::Dump(dc);
  6149. }
  6150. #endif //_DEBUG
  6151. IMPLEMENT_DYNAMIC(CSalaryreg, CRecordset)
  6152. CSalaryreg::CSalaryreg(CDatabase* pdb)
  6153. : CRecordset(pdb)
  6154. {
  6155. //{{AFX_FIELD_INIT(CSalaryreg)
  6156. name = _T("");
  6157. year = _T("");
  6158. month = _T("");
  6159. money = _T("");
  6160. m_nFields = 4;
  6161. //}}AFX_FIELD_INIT
  6162. this->m_pDatabase = g_curdb;
  6163. m_nDefaultType = forwardOnly;
  6164. }
  6165. CString CSalaryreg::GetDefaultConnect()
  6166. {
  6167. return _T("ODBC;DSN=");
  6168. }
  6169. CString CSalaryreg::GetDefaultSQL()
  6170. {
  6171. return _T("[salary]");
  6172. }
  6173. void CSalaryreg::DoFieldExchange(CFieldExchange* pFX)
  6174. {
  6175. //{{AFX_FIELD_MAP(CSalaryreg)
  6176. pFX->SetFieldType(CFieldExchange::outputColumn);
  6177. RFX_Text(pFX, _T("[name]"), name);
  6178. RFX_Text(pFX, _T("[year]"), year);
  6179. RFX_Text(pFX, _T("[month]"), month);
  6180. RFX_Text(pFX, _T("[money]"), money);
  6181. //}}AFX_FIELD_MAP
  6182. }
  6183. /////////////////////////////////////////////////////////////////////////////
  6184. // CSalaryreg diagnostics
  6185. #ifdef _DEBUG
  6186. void CSalaryreg::AssertValid() const
  6187. {
  6188. CRecordset::AssertValid();
  6189. }
  6190. void CSalaryreg::Dump(CDumpContext& dc) const
  6191. {
  6192. CRecordset::Dump(dc);
  6193. }
  6194. #endif //_DEBUG
  6195. IMPLEMENT_DYNAMIC(CRstrewards, CRecordset)
  6196. CRstrewards::CRstrewards(CDatabase* pdb)
  6197. : CRecordset(pdb)
  6198. {
  6199. //{{AFX_FIELD_INIT(CRstrewards)
  6200. m_name = _T("");
  6201. m_type = _T("");
  6202. m_money = _T("");
  6203. m_execute = _T("");
  6204. m_date = _T("");
  6205. m_renyuan = _T("");
  6206. m_bz = _T("");
  6207. m_id = _T("");
  6208. m_nFields = 8;
  6209. //}}AFX_FIELD_INIT
  6210. this->m_pDatabase = g_curdb;
  6211. m_nDefaultType = forwardOnly;
  6212. }
  6213. CString CRstrewards::GetDefaultConnect()
  6214. {
  6215. return _T("ODBC;DSN=");
  6216. }
  6217. CString CRstrewards::GetDefaultSQL()
  6218. {
  6219. return _T("[rewards]");
  6220. }
  6221. void CRstrewards::DoFieldExchange(CFieldExchange* pFX)
  6222. {
  6223. //{{AFX_FIELD_MAP(CRstrewards)
  6224. pFX->SetFieldType(CFieldExchange::outputColumn);
  6225. RFX_Text(pFX, _T("[name]"), m_name);
  6226. RFX_Text(pFX, _T("[type]"), m_type);
  6227. RFX_Text(pFX, _T("[money]"), m_money);
  6228. RFX_Text(pFX, _T("[execute]"), m_execute);
  6229. RFX_Text(pFX, _T("[date]"), m_date);
  6230. RFX_Text(pFX, _T("[renyuan]"), m_renyuan);
  6231. RFX_Text(pFX, _T("[id]"), m_id);
  6232. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  6233. //}}AFX_FIELD_MAP
  6234. }
  6235. /////////////////////////////////////////////////////////////////////////////
  6236. // CRstrewards diagnostics
  6237. #ifdef _DEBUG
  6238. void CRstrewards::AssertValid() const
  6239. {
  6240. CRecordset::AssertValid();
  6241. }
  6242. void CRstrewards::Dump(CDumpContext& dc) const
  6243. {
  6244. CRecordset::Dump(dc);
  6245. }
  6246. #endif //_DEBUG
  6247. IMPLEMENT_DYNAMIC(RstClient2, CRecordset)
  6248. RstClient2::RstClient2(CDatabase* pdb)
  6249. : CRecordset(pdb)
  6250. {
  6251. //{{AFX_FIELD_INIT(RstClient2)
  6252. m_name = _T("");
  6253. m_phone = _T("");
  6254. m_qq = _T("");
  6255. m_addr = _T("");
  6256. m_from = _T("");
  6257. m_reason = _T("");
  6258. m_bz = _T("");
  6259. m_pinyin = _T("");
  6260. m_date = _T("");
  6261. m_id = _T("");
  6262. m_sex = _T("");
  6263. m_ren = _T("");
  6264. m_birthday = _T("");
  6265. m_check1 = _T("");
  6266. m_nFields = 14;
  6267. #ifdef LYFZ_VERSION
  6268. m_nFields = 18;
  6269. #endif
  6270. //}}AFX_FIELD_INIT
  6271. this->m_pDatabase = g_curdb;
  6272. m_nDefaultType = forwardOnly;
  6273. }
  6274. CString RstClient2::GetDefaultConnect()
  6275. {
  6276. return _T("ODBC;DSN=");
  6277. }
  6278. CString RstClient2::GetDefaultSQL()
  6279. {
  6280. return _T("[client2]");
  6281. }
  6282. void RstClient2::DoFieldExchange(CFieldExchange* pFX)
  6283. {
  6284. //{{AFX_FIELD_MAP(RstClient2)
  6285. pFX->SetFieldType(CFieldExchange::outputColumn);
  6286. RFX_Text(pFX, _T("[name]"), m_name);
  6287. RFX_Text(pFX, _T("[phone]"), m_phone);
  6288. RFX_Text(pFX, _T("[qq]"), m_qq);
  6289. RFX_Text(pFX, _T("[addr]"), m_addr);
  6290. RFX_Text(pFX, _T("[from]"), m_from);
  6291. RFX_Text(pFX, _T("[reason]"), m_reason);
  6292. RFX_Text(pFX, _T("[bz]"), m_bz, 4096);
  6293. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  6294. RFX_Text(pFX, _T("[date]"), m_date);
  6295. RFX_Text(pFX, _T("[id]"), m_id);
  6296. RFX_Text(pFX, _T("[sex]"), m_sex);
  6297. RFX_Text(pFX, _T("[ren]"), m_ren);
  6298. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  6299. RFX_Text(pFX, _T("[check1]"), m_check1);
  6300. #ifdef LYFZ_VERSION
  6301. RFX_Text(pFX, _T("[area]"), m_area);
  6302. RFX_Text(pFX, _T("[name2]"), m_name2);
  6303. RFX_Text(pFX, _T("[status]"), m_status);
  6304. RFX_Text(pFX, _T("[pinyin2]"), m_pinyin2);
  6305. #endif
  6306. //}}AFX_FIELD_MAP
  6307. }
  6308. /////////////////////////////////////////////////////////////////////////////
  6309. // RstClient2 diagnostics
  6310. #ifdef _DEBUG
  6311. void RstClient2::AssertValid() const
  6312. {
  6313. CRecordset::AssertValid();
  6314. }
  6315. void RstClient2::Dump(CDumpContext& dc) const
  6316. {
  6317. CRecordset::Dump(dc);
  6318. }
  6319. #endif //_DEBUG
  6320. IMPLEMENT_DYNAMIC(Rstclient3, CRecordset)
  6321. Rstclient3::Rstclient3(CDatabase* pdb)
  6322. : CRecordset(pdb)
  6323. {
  6324. //{{AFX_FIELD_INIT(Rstclient3)
  6325. m_name = _T("");
  6326. m_name2 = _T("");
  6327. m_sex = _T("");
  6328. m_phone = _T("");
  6329. m_phone2 = _T("");
  6330. m_qq = _T("");
  6331. m_qq2 = _T("");
  6332. m_birthday = _T("");
  6333. m_birthday2 = _T("");
  6334. m_time3 = _T("");
  6335. m_taoxiname = _T("");
  6336. m_taoxijiage = _T("");
  6337. m_dandate = _T("");
  6338. m_date = _T("");
  6339. m_ren = _T("");
  6340. m_pinyin = _T("");
  6341. m_pinyin2 = _T("");
  6342. m_id = _T("");
  6343. m_check1 = _T("");
  6344. m_check2 = _T("");
  6345. m_check3 = _T("");
  6346. m_nFields = 21;
  6347. //}}AFX_FIELD_INIT
  6348. this->m_pDatabase = g_curdb;
  6349. m_nDefaultType = forwardOnly;
  6350. }
  6351. CString Rstclient3::GetDefaultConnect()
  6352. {
  6353. return _T("ODBC;DSN=");
  6354. }
  6355. CString Rstclient3::GetDefaultSQL()
  6356. {
  6357. return _T("[client3]");
  6358. }
  6359. void Rstclient3::DoFieldExchange(CFieldExchange* pFX)
  6360. {
  6361. //{{AFX_FIELD_MAP(Rstclient3)
  6362. pFX->SetFieldType(CFieldExchange::outputColumn);
  6363. RFX_Text(pFX, _T("[name]"), m_name);
  6364. RFX_Text(pFX, _T("[name2]"), m_name2);
  6365. RFX_Text(pFX, _T("[sex]"), m_sex);
  6366. RFX_Text(pFX, _T("[phone]"), m_phone);
  6367. RFX_Text(pFX, _T("[phone2]"), m_phone2);
  6368. RFX_Text(pFX, _T("[qq]"), m_qq);
  6369. RFX_Text(pFX, _T("[qq2]"), m_qq2);
  6370. RFX_Text(pFX, _T("[birthday]"), m_birthday);
  6371. RFX_Text(pFX, _T("[birthday2]"), m_birthday2);
  6372. RFX_Text(pFX, _T("[time3]"), m_time3);
  6373. RFX_Text(pFX, _T("[taoxiname]"), m_taoxiname);
  6374. RFX_Text(pFX, _T("[taoxijiage]"), m_taoxijiage);
  6375. RFX_Text(pFX, _T("[dandate]"), m_dandate);
  6376. RFX_Text(pFX, _T("[date]"), m_date);
  6377. RFX_Text(pFX, _T("[ren]"), m_ren);
  6378. RFX_Text(pFX, _T("[pinyin]"), m_pinyin);
  6379. RFX_Text(pFX, _T("[pinyin2]"), m_pinyin2);
  6380. RFX_Text(pFX, _T("[id]"), m_id);
  6381. RFX_Text(pFX, _T("[check1]"), m_check1);
  6382. RFX_Text(pFX, _T("[check2]"), m_check2);
  6383. RFX_Text(pFX, _T("[check3]"), m_check3);
  6384. //}}AFX_FIELD_MAP
  6385. }
  6386. /////////////////////////////////////////////////////////////////////////////
  6387. // Rstclient3 diagnostics
  6388. #ifdef _DEBUG
  6389. void Rstclient3::AssertValid() const
  6390. {
  6391. CRecordset::AssertValid();
  6392. }
  6393. void Rstclient3::Dump(CDumpContext& dc) const
  6394. {
  6395. CRecordset::Dump(dc);
  6396. }
  6397. #endif //_DEBUG
  6398. IMPLEMENT_DYNAMIC(CRstLoninData, CRecordset)
  6399. CRstLoninData::CRstLoninData(CDatabase* pdb)
  6400. : CRecordset(pdb)
  6401. {
  6402. //{{AFX_FIELD_INIT(CRstLoninData)
  6403. no = _T("");
  6404. datetime = _T("");
  6405. m_nFields = 2;
  6406. //}}AFX_FIELD_INIT
  6407. this->m_pDatabase = g_curdb;
  6408. m_nDefaultType = forwardOnly;
  6409. m_strSort="datetime";
  6410. }
  6411. CString CRstLoninData::GetDefaultConnect()
  6412. {
  6413. return _T("ODBC;DSN=");
  6414. }
  6415. CString CRstLoninData::GetDefaultSQL()
  6416. {
  6417. return _T("[lonindata]");
  6418. }
  6419. void CRstLoninData::DoFieldExchange(CFieldExchange* pFX)
  6420. {
  6421. //{{AFX_FIELD_MAP(CRstLoninData)
  6422. pFX->SetFieldType(CFieldExchange::outputColumn);
  6423. RFX_Text(pFX, _T("[no]"), no);
  6424. RFX_Text(pFX, _T("[datetime]"), datetime);
  6425. //}}AFX_FIELD_MAP
  6426. }
  6427. /////////////////////////////////////////////////////////////////////////////
  6428. // CRstLoninData diagnostics
  6429. #ifdef _DEBUG
  6430. void CRstLoninData::AssertValid() const
  6431. {
  6432. CRecordset::AssertValid();
  6433. }
  6434. void CRstLoninData::Dump(CDumpContext& dc) const
  6435. {
  6436. CRecordset::Dump(dc);
  6437. }
  6438. #endif //_DEBUG
  6439. IMPLEMENT_DYNAMIC(CRstLoninTimeSet, CRecordset)
  6440. CRstLoninTimeSet::CRstLoninTimeSet(CDatabase* pdb)
  6441. : CRecordset(pdb)
  6442. {
  6443. //{{AFX_FIELD_INIT(CRstLoninTimeSet)
  6444. name = _T("");
  6445. time1 = _T("");
  6446. time2 = _T("");
  6447. time3 = _T("");
  6448. time4 = _T("");
  6449. m_nFields = 5;
  6450. //}}AFX_FIELD_INIT
  6451. this->m_pDatabase = g_curdb;
  6452. m_nDefaultType = forwardOnly;
  6453. }
  6454. CString CRstLoninTimeSet::GetDefaultConnect()
  6455. {
  6456. return _T("ODBC;DSN=");
  6457. }
  6458. CString CRstLoninTimeSet::GetDefaultSQL()
  6459. {
  6460. return _T("[lonintimeset]");
  6461. }
  6462. void CRstLoninTimeSet::DoFieldExchange(CFieldExchange* pFX)
  6463. {
  6464. //{{AFX_FIELD_MAP(CRstLoninTimeSet)
  6465. pFX->SetFieldType(CFieldExchange::outputColumn);
  6466. RFX_Text(pFX, _T("[name]"), name);
  6467. RFX_Text(pFX, _T("[time1]"), time1);
  6468. RFX_Text(pFX, _T("[time2]"), time2);
  6469. RFX_Text(pFX, _T("[time3]"), time3);
  6470. RFX_Text(pFX, _T("[time4]"), time4);
  6471. //}}AFX_FIELD_MAP
  6472. }
  6473. /////////////////////////////////////////////////////////////////////////////
  6474. // CRstLoninTimeSet diagnostics
  6475. #ifdef _DEBUG
  6476. void CRstLoninTimeSet::AssertValid() const
  6477. {
  6478. CRecordset::AssertValid();
  6479. }
  6480. void CRstLoninTimeSet::Dump(CDumpContext& dc) const
  6481. {
  6482. CRecordset::Dump(dc);
  6483. }
  6484. #endif //_DEBUG
  6485. IMPLEMENT_DYNAMIC(CRstLoninBanSet, CRecordset)
  6486. CRstLoninBanSet::CRstLoninBanSet(CDatabase* pdb)
  6487. : CRecordset(pdb)
  6488. {
  6489. //{{AFX_FIELD_INIT(CRstLoninBanSet)
  6490. weekname = _T("");
  6491. name = _T("");
  6492. banname1 = _T("");
  6493. banname2 = _T("");
  6494. banname3 = _T("");
  6495. banname4 = _T("");
  6496. banname5 = _T("");
  6497. banname6 = _T("");
  6498. banname7 = _T("");
  6499. m_nFields = 9;
  6500. //}}AFX_FIELD_INIT
  6501. this->m_pDatabase = g_curdb;
  6502. m_nDefaultType = forwardOnly;
  6503. m_strSort="weekname";
  6504. }
  6505. CString CRstLoninBanSet::GetDefaultConnect()
  6506. {
  6507. return _T("ODBC;DSN=");
  6508. }
  6509. CString CRstLoninBanSet::GetDefaultSQL()
  6510. {
  6511. return _T("[loninbanset]");
  6512. }
  6513. void CRstLoninBanSet::DoFieldExchange(CFieldExchange* pFX)
  6514. {
  6515. //{{AFX_FIELD_MAP(CRstLoninBanSet)
  6516. pFX->SetFieldType(CFieldExchange::outputColumn);
  6517. RFX_Text(pFX, _T("[weekname]"), weekname);
  6518. RFX_Text(pFX, _T("[name]"), name);
  6519. RFX_Text(pFX, _T("[banname1]"), banname1);
  6520. RFX_Text(pFX, _T("[banname2]"), banname2);
  6521. RFX_Text(pFX, _T("[banname3]"), banname3);
  6522. RFX_Text(pFX, _T("[banname4]"), banname4);
  6523. RFX_Text(pFX, _T("[banname5]"), banname5);
  6524. RFX_Text(pFX, _T("[banname6]"), banname6);
  6525. RFX_Text(pFX, _T("[banname7]"), banname7);
  6526. //}}AFX_FIELD_MAP
  6527. }
  6528. /////////////////////////////////////////////////////////////////////////////
  6529. // CRstLoninBanSet diagnostics
  6530. #ifdef _DEBUG
  6531. void CRstLoninBanSet::AssertValid() const
  6532. {
  6533. CRecordset::AssertValid();
  6534. }
  6535. void CRstLoninBanSet::Dump(CDumpContext& dc) const
  6536. {
  6537. CRecordset::Dump(dc);
  6538. }
  6539. #endif //_DEBUG
  6540. IMPLEMENT_DYNAMIC(CRstphonerecord, CRecordset)
  6541. CRstphonerecord::CRstphonerecord(CDatabase* pdb)
  6542. : CRecordset(pdb)
  6543. {
  6544. //{{AFX_FIELD_INIT(CRstphonerecord)
  6545. id = _T("");
  6546. phoneno = _T("");
  6547. datetime = _T("");
  6548. m_nFields = 3;
  6549. //}}AFX_FIELD_INIT
  6550. this->m_pDatabase = g_curdb;
  6551. m_nDefaultType = forwardOnly;
  6552. m_strSort="id desc";
  6553. }
  6554. CString CRstphonerecord::GetDefaultConnect()
  6555. {
  6556. return _T("ODBC;DSN=");
  6557. }
  6558. CString CRstphonerecord::GetDefaultSQL()
  6559. {
  6560. return _T("[phonerecord]");
  6561. }
  6562. void CRstphonerecord::DoFieldExchange(CFieldExchange* pFX)
  6563. {
  6564. //{{AFX_FIELD_MAP(CRstphonerecord)
  6565. pFX->SetFieldType(CFieldExchange::outputColumn);
  6566. RFX_Text(pFX, _T("[id]"), id);
  6567. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6568. RFX_Text(pFX, _T("[datetime]"), datetime);
  6569. //}}AFX_FIELD_MAP
  6570. }
  6571. /////////////////////////////////////////////////////////////////////////////
  6572. // CRstphonerecord diagnostics
  6573. #ifdef _DEBUG
  6574. void CRstphonerecord::AssertValid() const
  6575. {
  6576. CRecordset::AssertValid();
  6577. }
  6578. void CRstphonerecord::Dump(CDumpContext& dc) const
  6579. {
  6580. CRecordset::Dump(dc);
  6581. }
  6582. #endif //_DEBUG
  6583. IMPLEMENT_DYNAMIC(CRstclient2phonerecord, CRecordset)
  6584. CRstclient2phonerecord::CRstclient2phonerecord(CDatabase* pdb)
  6585. : CRecordset(pdb)
  6586. {
  6587. //{{AFX_FIELD_INIT(CRstclient2phonerecord)
  6588. phone = _T("");
  6589. datetime = _T("");
  6590. m_nFields = 2;
  6591. //}}AFX_FIELD_INIT
  6592. this->m_pDatabase = g_curdb;
  6593. m_nDefaultType = forwardOnly;
  6594. m_strSort="phone desc";
  6595. }
  6596. CString CRstclient2phonerecord::GetDefaultConnect()
  6597. {
  6598. return _T("ODBC;DSN=");
  6599. }
  6600. CString CRstclient2phonerecord::GetDefaultSQL()
  6601. {
  6602. return _T("[client2phonerecord]");
  6603. }
  6604. void CRstclient2phonerecord::DoFieldExchange(CFieldExchange* pFX)
  6605. {
  6606. //{{AFX_FIELD_MAP(CRstclient2phonerecord)
  6607. pFX->SetFieldType(CFieldExchange::outputColumn);
  6608. RFX_Text(pFX, _T("[phone]"), phone);
  6609. RFX_Text(pFX, _T("[datetime]"), datetime);
  6610. //}}AFX_FIELD_MAP
  6611. }
  6612. /////////////////////////////////////////////////////////////////////////////
  6613. // CRstclient2phonerecord diagnostics
  6614. #ifdef _DEBUG
  6615. void CRstclient2phonerecord::AssertValid() const
  6616. {
  6617. CRecordset::AssertValid();
  6618. }
  6619. void CRstclient2phonerecord::Dump(CDumpContext& dc) const
  6620. {
  6621. CRecordset::Dump(dc);
  6622. }
  6623. #endif //_DEBUG
  6624. IMPLEMENT_DYNAMIC(CRstclient3phonerecord, CRecordset)
  6625. CRstclient3phonerecord::CRstclient3phonerecord(CDatabase* pdb)
  6626. : CRecordset(pdb)
  6627. {
  6628. //{{AFX_FIELD_INIT(CRstclient3phonerecord)
  6629. phone = _T("");
  6630. datetime = _T("");
  6631. m_nFields = 2;
  6632. //}}AFX_FIELD_INIT
  6633. this->m_pDatabase = g_curdb;
  6634. m_nDefaultType = forwardOnly;
  6635. m_strSort="phone desc";
  6636. }
  6637. CString CRstclient3phonerecord::GetDefaultConnect()
  6638. {
  6639. return _T("ODBC;DSN=");
  6640. }
  6641. CString CRstclient3phonerecord::GetDefaultSQL()
  6642. {
  6643. return _T("[client3phonerecord]");
  6644. }
  6645. void CRstclient3phonerecord::DoFieldExchange(CFieldExchange* pFX)
  6646. {
  6647. //{{AFX_FIELD_MAP(CRstclient3phonerecord)
  6648. pFX->SetFieldType(CFieldExchange::outputColumn);
  6649. RFX_Text(pFX, _T("[phone]"), phone);
  6650. RFX_Text(pFX, _T("[datetime]"), datetime);
  6651. //}}AFX_FIELD_MAP
  6652. }
  6653. /////////////////////////////////////////////////////////////////////////////
  6654. // CRstclient3phonerecord diagnostics
  6655. #ifdef _DEBUG
  6656. void CRstclient3phonerecord::AssertValid() const
  6657. {
  6658. CRecordset::AssertValid();
  6659. }
  6660. void CRstclient3phonerecord::Dump(CDumpContext& dc) const
  6661. {
  6662. CRecordset::Dump(dc);
  6663. }
  6664. #endif //_DEBUG
  6665. IMPLEMENT_DYNAMIC(CRstemployeephonerecord, CRecordset)
  6666. CRstemployeephonerecord::CRstemployeephonerecord(CDatabase* pdb)
  6667. : CRecordset(pdb)
  6668. {
  6669. //{{AFX_FIELD_INIT(CRstemployeephonerecord)
  6670. name = _T("");
  6671. datetime = _T("");
  6672. m_nFields = 2;
  6673. //}}AFX_FIELD_INIT
  6674. this->m_pDatabase = g_curdb;
  6675. m_nDefaultType = forwardOnly;
  6676. m_strSort="name desc";
  6677. }
  6678. CString CRstemployeephonerecord::GetDefaultConnect()
  6679. {
  6680. return _T("ODBC;DSN=");
  6681. }
  6682. CString CRstemployeephonerecord::GetDefaultSQL()
  6683. {
  6684. return _T("[employeephonerecord]");
  6685. }
  6686. void CRstemployeephonerecord::DoFieldExchange(CFieldExchange* pFX)
  6687. {
  6688. //{{AFX_FIELD_MAP(CRstemployeephonerecord)
  6689. pFX->SetFieldType(CFieldExchange::outputColumn);
  6690. RFX_Text(pFX, _T("[name]"), name);
  6691. RFX_Text(pFX, _T("[datetime]"), datetime);
  6692. //}}AFX_FIELD_MAP
  6693. }
  6694. /////////////////////////////////////////////////////////////////////////////
  6695. // CRstemployeephonerecord diagnostics
  6696. #ifdef _DEBUG
  6697. void CRstemployeephonerecord::AssertValid() const
  6698. {
  6699. CRecordset::AssertValid();
  6700. }
  6701. void CRstemployeephonerecord::Dump(CDumpContext& dc) const
  6702. {
  6703. CRecordset::Dump(dc);
  6704. }
  6705. #endif //_DEBUG
  6706. IMPLEMENT_DYNAMIC(CRstunknownphonerecord, CRecordset)
  6707. CRstunknownphonerecord::CRstunknownphonerecord(CDatabase* pdb)
  6708. : CRecordset(pdb)
  6709. {
  6710. //{{AFX_FIELD_INIT(CRstunknownphonerecord)
  6711. phone = _T("");
  6712. datetime = _T("");
  6713. m_nFields = 2;
  6714. //}}AFX_FIELD_INIT
  6715. this->m_pDatabase = g_curdb;
  6716. m_nDefaultType = forwardOnly;
  6717. m_strSort="datetime desc";
  6718. }
  6719. CString CRstunknownphonerecord::GetDefaultConnect()
  6720. {
  6721. return _T("ODBC;DSN=");
  6722. }
  6723. CString CRstunknownphonerecord::GetDefaultSQL()
  6724. {
  6725. return _T("[unknownphonerecord]");
  6726. }
  6727. void CRstunknownphonerecord::DoFieldExchange(CFieldExchange* pFX)
  6728. {
  6729. //{{AFX_FIELD_MAP(CRstunknownphonerecord)
  6730. pFX->SetFieldType(CFieldExchange::outputColumn);
  6731. RFX_Text(pFX, _T("[phone]"), phone);
  6732. RFX_Text(pFX, _T("[datetime]"), datetime);
  6733. //}}AFX_FIELD_MAP
  6734. }
  6735. /////////////////////////////////////////////////////////////////////////////
  6736. // CRstunknownphonerecord diagnostics
  6737. #ifdef _DEBUG
  6738. void CRstunknownphonerecord::AssertValid() const
  6739. {
  6740. CRecordset::AssertValid();
  6741. }
  6742. void CRstunknownphonerecord::Dump(CDumpContext& dc) const
  6743. {
  6744. CRecordset::Dump(dc);
  6745. }
  6746. #endif //_DEBUG
  6747. IMPLEMENT_DYNAMIC(CRstphonerecordout, CRecordset)
  6748. CRstphonerecordout::CRstphonerecordout(CDatabase* pdb)
  6749. : CRecordset(pdb)
  6750. {
  6751. //{{AFX_FIELD_INIT(CRstphonerecordout)
  6752. name = _T("");
  6753. phoneno = _T("");
  6754. datetime = _T("");
  6755. m_nFields = 3;
  6756. //}}AFX_FIELD_INIT
  6757. this->m_pDatabase = g_curdb;
  6758. m_nDefaultType = forwardOnly;
  6759. m_strSort="datetime desc";
  6760. }
  6761. CString CRstphonerecordout::GetDefaultConnect()
  6762. {
  6763. return _T("ODBC;DSN=");
  6764. }
  6765. CString CRstphonerecordout::GetDefaultSQL()
  6766. {
  6767. return _T("[phonerecordout]");
  6768. }
  6769. void CRstphonerecordout::DoFieldExchange(CFieldExchange* pFX)
  6770. {
  6771. //{{AFX_FIELD_MAP(CRstphonerecordout)
  6772. pFX->SetFieldType(CFieldExchange::outputColumn);
  6773. RFX_Text(pFX, _T("[name]"), name);
  6774. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6775. RFX_Text(pFX, _T("[datetime]"), datetime);
  6776. //}}AFX_FIELD_MAP
  6777. }
  6778. /////////////////////////////////////////////////////////////////////////////
  6779. // CRstphonerecordout diagnostics
  6780. #ifdef _DEBUG
  6781. void CRstphonerecordout::AssertValid() const
  6782. {
  6783. CRecordset::AssertValid();
  6784. }
  6785. void CRstphonerecordout::Dump(CDumpContext& dc) const
  6786. {
  6787. CRecordset::Dump(dc);
  6788. }
  6789. #endif //_DEBUG
  6790. IMPLEMENT_DYNAMIC(CRstclient2phonerecordout, CRecordset)
  6791. CRstclient2phonerecordout::CRstclient2phonerecordout(CDatabase* pdb)
  6792. : CRecordset(pdb)
  6793. {
  6794. //{{AFX_FIELD_INIT(CRstclient2phonerecordout)
  6795. name = _T("");
  6796. phoneno = _T("");
  6797. datetime = _T("");
  6798. m_nFields = 3;
  6799. //}}AFX_FIELD_INIT
  6800. this->m_pDatabase = g_curdb;
  6801. m_nDefaultType = forwardOnly;
  6802. m_strSort="datetime desc";
  6803. }
  6804. CString CRstclient2phonerecordout::GetDefaultConnect()
  6805. {
  6806. return _T("ODBC;DSN=");
  6807. }
  6808. CString CRstclient2phonerecordout::GetDefaultSQL()
  6809. {
  6810. return _T("[client2phonerecordout]");
  6811. }
  6812. void CRstclient2phonerecordout::DoFieldExchange(CFieldExchange* pFX)
  6813. {
  6814. //{{AFX_FIELD_MAP(CRstclient2phonerecordout)
  6815. pFX->SetFieldType(CFieldExchange::outputColumn);
  6816. RFX_Text(pFX, _T("[name]"), name);
  6817. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6818. RFX_Text(pFX, _T("[datetime]"), datetime);
  6819. //}}AFX_FIELD_MAP
  6820. }
  6821. /////////////////////////////////////////////////////////////////////////////
  6822. // CRstclient2phonerecordout diagnostics
  6823. #ifdef _DEBUG
  6824. void CRstclient2phonerecordout::AssertValid() const
  6825. {
  6826. CRecordset::AssertValid();
  6827. }
  6828. void CRstclient2phonerecordout::Dump(CDumpContext& dc) const
  6829. {
  6830. CRecordset::Dump(dc);
  6831. }
  6832. #endif //_DEBUG
  6833. IMPLEMENT_DYNAMIC(CRstclient3phonerecordout, CRecordset)
  6834. CRstclient3phonerecordout::CRstclient3phonerecordout(CDatabase* pdb)
  6835. : CRecordset(pdb)
  6836. {
  6837. //{{AFX_FIELD_INIT(CRstclient3phonerecordout)
  6838. name = _T("");
  6839. phoneno = _T("");
  6840. datetime = _T("");
  6841. m_nFields = 3;
  6842. //}}AFX_FIELD_INIT
  6843. this->m_pDatabase = g_curdb;
  6844. m_nDefaultType = forwardOnly;
  6845. m_strSort="datetime desc";
  6846. }
  6847. CString CRstclient3phonerecordout::GetDefaultConnect()
  6848. {
  6849. return _T("ODBC;DSN=");
  6850. }
  6851. CString CRstclient3phonerecordout::GetDefaultSQL()
  6852. {
  6853. return _T("[client3phonerecordout]");
  6854. }
  6855. void CRstclient3phonerecordout::DoFieldExchange(CFieldExchange* pFX)
  6856. {
  6857. //{{AFX_FIELD_MAP(CRstclient3phonerecordout)
  6858. pFX->SetFieldType(CFieldExchange::outputColumn);
  6859. RFX_Text(pFX, _T("[name]"), name);
  6860. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6861. RFX_Text(pFX, _T("[datetime]"), datetime);
  6862. //}}AFX_FIELD_MAP
  6863. }
  6864. /////////////////////////////////////////////////////////////////////////////
  6865. // CRstclient3phonerecordout diagnostics
  6866. #ifdef _DEBUG
  6867. void CRstclient3phonerecordout::AssertValid() const
  6868. {
  6869. CRecordset::AssertValid();
  6870. }
  6871. void CRstclient3phonerecordout::Dump(CDumpContext& dc) const
  6872. {
  6873. CRecordset::Dump(dc);
  6874. }
  6875. #endif //_DEBUG
  6876. IMPLEMENT_DYNAMIC(CRstemployeephonerecordout, CRecordset)
  6877. CRstemployeephonerecordout::CRstemployeephonerecordout(CDatabase* pdb)
  6878. : CRecordset(pdb)
  6879. {
  6880. //{{AFX_FIELD_INIT(CRstemployeephonerecordout)
  6881. name = _T("");
  6882. phoneno = _T("");
  6883. datetime = _T("");
  6884. m_nFields = 3;
  6885. //}}AFX_FIELD_INIT
  6886. this->m_pDatabase = g_curdb;
  6887. m_nDefaultType = forwardOnly;
  6888. m_strSort="datetime desc";
  6889. }
  6890. CString CRstemployeephonerecordout::GetDefaultConnect()
  6891. {
  6892. return _T("ODBC;DSN=");
  6893. }
  6894. CString CRstemployeephonerecordout::GetDefaultSQL()
  6895. {
  6896. return _T("[employeephonerecordout]");
  6897. }
  6898. void CRstemployeephonerecordout::DoFieldExchange(CFieldExchange* pFX)
  6899. {
  6900. //{{AFX_FIELD_MAP(CRstemployeephonerecordout)
  6901. pFX->SetFieldType(CFieldExchange::outputColumn);
  6902. RFX_Text(pFX, _T("[name]"), name);
  6903. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6904. RFX_Text(pFX, _T("[datetime]"), datetime);
  6905. //}}AFX_FIELD_MAP
  6906. }
  6907. /////////////////////////////////////////////////////////////////////////////
  6908. // CRstemployeephonerecordout diagnostics
  6909. #ifdef _DEBUG
  6910. void CRstemployeephonerecordout::AssertValid() const
  6911. {
  6912. CRecordset::AssertValid();
  6913. }
  6914. void CRstemployeephonerecordout::Dump(CDumpContext& dc) const
  6915. {
  6916. CRecordset::Dump(dc);
  6917. }
  6918. #endif //_DEBUG
  6919. IMPLEMENT_DYNAMIC(CRstunknownphonerecordout, CRecordset)
  6920. CRstunknownphonerecordout::CRstunknownphonerecordout(CDatabase* pdb)
  6921. : CRecordset(pdb)
  6922. {
  6923. //{{AFX_FIELD_INIT(CRstunknownphonerecordout)
  6924. phoneno = _T("");
  6925. datetime = _T("");
  6926. m_nFields = 2;
  6927. //}}AFX_FIELD_INIT
  6928. this->m_pDatabase = g_curdb;
  6929. m_nDefaultType = forwardOnly;
  6930. m_strSort="datetime desc";
  6931. }
  6932. CString CRstunknownphonerecordout::GetDefaultConnect()
  6933. {
  6934. return _T("ODBC;DSN=");
  6935. }
  6936. CString CRstunknownphonerecordout::GetDefaultSQL()
  6937. {
  6938. return _T("[unknownphonerecordout]");
  6939. }
  6940. void CRstunknownphonerecordout::DoFieldExchange(CFieldExchange* pFX)
  6941. {
  6942. //{{AFX_FIELD_MAP(CRstunknownphonerecordout)
  6943. pFX->SetFieldType(CFieldExchange::outputColumn);
  6944. RFX_Text(pFX, _T("[phoneno]"), phoneno);
  6945. RFX_Text(pFX, _T("[datetime]"), datetime);
  6946. //}}AFX_FIELD_MAP
  6947. }
  6948. /////////////////////////////////////////////////////////////////////////////
  6949. // CRstunknownphonerecordout diagnostics
  6950. #ifdef _DEBUG
  6951. void CRstunknownphonerecordout::AssertValid() const
  6952. {
  6953. CRecordset::AssertValid();
  6954. }
  6955. void CRstunknownphonerecordout::Dump(CDumpContext& dc) const
  6956. {
  6957. CRecordset::Dump(dc);
  6958. }
  6959. #endif //_DEBUG
  6960. IMPLEMENT_DYNAMIC(CRstmisscallrecord, CRecordset)
  6961. CRstmisscallrecord::CRstmisscallrecord(CDatabase* pdb)
  6962. : CRecordset(pdb)
  6963. {
  6964. //{{AFX_FIELD_INIT(CRstmisscallrecord)
  6965. phone = _T("");
  6966. datetime = _T("");
  6967. name = _T("");
  6968. type = _T("");
  6969. m_nFields = 4;
  6970. //}}AFX_FIELD_INIT
  6971. this->m_pDatabase = g_curdb;
  6972. m_nDefaultType = forwardOnly;
  6973. m_strSort="datetime desc";
  6974. }
  6975. CString CRstmisscallrecord::GetDefaultConnect()
  6976. {
  6977. return _T("ODBC;DSN=");
  6978. }
  6979. CString CRstmisscallrecord::GetDefaultSQL()
  6980. {
  6981. return _T("[misscallrecord]");
  6982. }
  6983. void CRstmisscallrecord::DoFieldExchange(CFieldExchange* pFX)
  6984. {
  6985. //{{AFX_FIELD_MAP(CRstmisscallrecord)
  6986. pFX->SetFieldType(CFieldExchange::outputColumn);
  6987. RFX_Text(pFX, _T("[phone]"), phone);
  6988. RFX_Text(pFX, _T("[datetime]"), datetime);
  6989. RFX_Text(pFX, _T("[name]"), name);
  6990. RFX_Text(pFX, _T("[type]"), type);
  6991. //}}AFX_FIELD_MAP
  6992. }
  6993. /////////////////////////////////////////////////////////////////////////////
  6994. // CRstmisscallrecord diagnostics
  6995. #ifdef _DEBUG
  6996. void CRstmisscallrecord::AssertValid() const
  6997. {
  6998. CRecordset::AssertValid();
  6999. }
  7000. void CRstmisscallrecord::Dump(CDumpContext& dc) const
  7001. {
  7002. CRecordset::Dump(dc);
  7003. }
  7004. #endif //_DEBUG
  7005. IMPLEMENT_DYNAMIC(CRstsendregcard, CRecordset)
  7006. CRstsendregcard::CRstsendregcard(CDatabase* pdb)
  7007. : CRecordset(pdb)
  7008. {
  7009. //{{AFX_FIELD_INIT(CRstsendregcard)
  7010. timestamp = _T("");
  7011. phones = _T("");
  7012. m_nFields =2;
  7013. //}}AFX_FIELD_INIT
  7014. this->m_pDatabase = g_curdb;
  7015. m_nDefaultType = forwardOnly;
  7016. m_strSort="timestamp desc";
  7017. }
  7018. CString CRstsendregcard::GetDefaultConnect()
  7019. {
  7020. return _T("ODBC;DSN=");
  7021. }
  7022. CString CRstsendregcard::GetDefaultSQL()
  7023. {
  7024. return _T("[sendregcard]");
  7025. }
  7026. void CRstsendregcard::DoFieldExchange(CFieldExchange* pFX)
  7027. {
  7028. //{{AFX_FIELD_MAP(CRstsendregcard)
  7029. pFX->SetFieldType(CFieldExchange::outputColumn);
  7030. RFX_Text(pFX, _T("[timestamp]"), timestamp);
  7031. RFX_Text(pFX, _T("[phones]"), phones);
  7032. //}}AFX_FIELD_MAP
  7033. }
  7034. /////////////////////////////////////////////////////////////////////////////
  7035. // CRstsendregcard diagnostics
  7036. #ifdef _DEBUG
  7037. void CRstsendregcard::AssertValid() const
  7038. {
  7039. CRecordset::AssertValid();
  7040. }
  7041. void CRstsendregcard::Dump(CDumpContext& dc) const
  7042. {
  7043. CRecordset::Dump(dc);
  7044. }
  7045. #endif //_DEBUG
  7046. IMPLEMENT_DYNAMIC(CRstmsgview, CRecordset)
  7047. CRstmsgview::CRstmsgview(CDatabase* pdb)
  7048. : CRecordset(pdb)
  7049. {
  7050. //{{AFX_FIELD_INIT(CRstmsgview)
  7051. timestamp = _T("");
  7052. phones = _T("");
  7053. content = _T("");
  7054. m_nFields =13;
  7055. //}}AFX_FIELD_INIT
  7056. this->m_pDatabase = g_curdb;
  7057. m_nDefaultType = forwardOnly;
  7058. m_strSort="timestamp desc";
  7059. }
  7060. CString CRstmsgview::GetDefaultConnect()
  7061. {
  7062. return _T("ODBC;DSN=");
  7063. }
  7064. CString CRstmsgview::GetDefaultSQL()
  7065. {
  7066. return _T("[msgview]");
  7067. }
  7068. void CRstmsgview::DoFieldExchange(CFieldExchange* pFX)
  7069. {
  7070. //{{AFX_FIELD_MAP(CRstmsgview)
  7071. pFX->SetFieldType(CFieldExchange::outputColumn);
  7072. RFX_Text(pFX, _T("[timestamp]"), timestamp);
  7073. RFX_Text(pFX, _T("[phones]"), phones);
  7074. RFX_Text(pFX, _T("[content]"), content);
  7075. RFX_Text(pFX, _T("[name1]"), name1);
  7076. RFX_Text(pFX, _T("[name2]"), name2);
  7077. RFX_Text(pFX, _T("[time1]"), time1);
  7078. RFX_Text(pFX, _T("[ren]"), ren);
  7079. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  7080. RFX_Text(pFX, _T("[waiter2]"), waiter2);
  7081. RFX_Text(pFX, _T("[waiter3]"), waiter3);
  7082. RFX_Text(pFX, _T("[waiter4]"), waiter4);
  7083. RFX_Text(pFX, _T("[waiter5]"), waiter5);
  7084. RFX_Text(pFX, _T("[waiter7]"), waiter7);
  7085. //}}AFX_FIELD_MAP
  7086. }
  7087. /////////////////////////////////////////////////////////////////////////////
  7088. // CRstmsgview diagnostics
  7089. #ifdef _DEBUG
  7090. void CRstmsgview::AssertValid() const
  7091. {
  7092. CRecordset::AssertValid();
  7093. }
  7094. void CRstmsgview::Dump(CDumpContext& dc) const
  7095. {
  7096. CRecordset::Dump(dc);
  7097. }
  7098. #endif //_DEBUG
  7099. IMPLEMENT_DYNAMIC(CRstinsidemsg, CRecordset)
  7100. CRstinsidemsg::CRstinsidemsg(CDatabase* pdb)
  7101. : CRecordset(pdb)
  7102. {
  7103. //{{AFX_FIELD_INIT(CRstinsidemsg)
  7104. timestamp = _T("");
  7105. content = _T("");
  7106. sender = _T("");
  7107. receiver = _T("");
  7108. receiver2 = _T("");
  7109. m_nFields =6;
  7110. //}}AFX_FIELD_INIT
  7111. this->m_pDatabase = g_curdb;
  7112. m_nDefaultType = forwardOnly;
  7113. m_strSort="timestamp desc";
  7114. }
  7115. CString CRstinsidemsg::GetDefaultConnect()
  7116. {
  7117. return _T("ODBC;DSN=");
  7118. }
  7119. CString CRstinsidemsg::GetDefaultSQL()
  7120. {
  7121. return _T("[insidemsg]");
  7122. }
  7123. void CRstinsidemsg::DoFieldExchange(CFieldExchange* pFX)
  7124. {
  7125. //{{AFX_FIELD_MAP(CRstinsidemsg)
  7126. pFX->SetFieldType(CFieldExchange::outputColumn);
  7127. RFX_Text(pFX, _T("[timestamp]"), timestamp);
  7128. RFX_Text(pFX, _T("[sender]"), sender);
  7129. RFX_Text(pFX, _T("[file]"), file, 40960);
  7130. RFX_Text(pFX, _T("[content]"), content, 40960);
  7131. RFX_Text(pFX, _T("[receiver]"), receiver, 40960);
  7132. RFX_Text(pFX, _T("[receiver2]"), receiver2, 40960);
  7133. //}}AFX_FIELD_MAP
  7134. }
  7135. /////////////////////////////////////////////////////////////////////////////
  7136. // CRstinsidemsg diagnostics
  7137. #ifdef _DEBUG
  7138. void CRstinsidemsg::AssertValid() const
  7139. {
  7140. CRecordset::AssertValid();
  7141. }
  7142. void CRstinsidemsg::Dump(CDumpContext& dc) const
  7143. {
  7144. CRecordset::Dump(dc);
  7145. }
  7146. #endif //_DEBUG
  7147. IMPLEMENT_DYNAMIC(CRstmembercard2, CRecordset)
  7148. CRstmembercard2::CRstmembercard2(CDatabase* pdb)
  7149. : CRecordset(pdb)
  7150. {
  7151. //{{AFX_FIELD_INIT(CRstmembercard2)
  7152. memberno = _T("");
  7153. card2no = _T("");
  7154. date = _T("");
  7155. m_nFields =3;
  7156. //}}AFX_FIELD_INIT
  7157. this->m_pDatabase = g_curdb;
  7158. m_nDefaultType = forwardOnly;
  7159. }
  7160. CString CRstmembercard2::GetDefaultConnect()
  7161. {
  7162. return _T("ODBC;DSN=");
  7163. }
  7164. CString CRstmembercard2::GetDefaultSQL()
  7165. {
  7166. return _T("[membercard2]");
  7167. }
  7168. void CRstmembercard2::DoFieldExchange(CFieldExchange* pFX)
  7169. {
  7170. //{{AFX_FIELD_MAP(CRstmembercard2)
  7171. pFX->SetFieldType(CFieldExchange::outputColumn);
  7172. RFX_Text(pFX, _T("[memberno]"), memberno);
  7173. RFX_Text(pFX, _T("[card2no]"), card2no);
  7174. RFX_Text(pFX, _T("[date]"), date);
  7175. //}}AFX_FIELD_MAP
  7176. }
  7177. /////////////////////////////////////////////////////////////////////////////
  7178. // CRstmembercard2 diagnostics
  7179. #ifdef _DEBUG
  7180. void CRstmembercard2::AssertValid() const
  7181. {
  7182. CRecordset::AssertValid();
  7183. }
  7184. void CRstmembercard2::Dump(CDumpContext& dc) const
  7185. {
  7186. CRecordset::Dump(dc);
  7187. }
  7188. #endif //_DEBUG
  7189. IMPLEMENT_DYNAMIC(CRstmembercard3, CRecordset)
  7190. CRstmembercard3::CRstmembercard3(CDatabase* pdb)
  7191. : CRecordset(pdb)
  7192. {
  7193. //{{AFX_FIELD_INIT(CRstmembercard3)
  7194. memberno = _T("");
  7195. card2no = _T("");
  7196. date = _T("");
  7197. balance = _T("");
  7198. psw = _T("");
  7199. m_nFields =5;
  7200. //}}AFX_FIELD_INIT
  7201. this->m_pDatabase = g_curdb;
  7202. m_nDefaultType = forwardOnly;
  7203. }
  7204. CString CRstmembercard3::GetDefaultConnect()
  7205. {
  7206. return _T("ODBC;DSN=");
  7207. }
  7208. CString CRstmembercard3::GetDefaultSQL()
  7209. {
  7210. return _T("[membercard3]");
  7211. }
  7212. void CRstmembercard3::DoFieldExchange(CFieldExchange* pFX)
  7213. {
  7214. //{{AFX_FIELD_MAP(CRstmembercard3)
  7215. pFX->SetFieldType(CFieldExchange::outputColumn);
  7216. RFX_Text(pFX, _T("[memberno]"), memberno);
  7217. RFX_Text(pFX, _T("[card2no]"), card2no);
  7218. RFX_Text(pFX, _T("[date]"), date);
  7219. RFX_Text(pFX, _T("[balance]"), balance);
  7220. RFX_Text(pFX, _T("[psw]"), psw);
  7221. //}}AFX_FIELD_MAP
  7222. }
  7223. /////////////////////////////////////////////////////////////////////////////
  7224. // CRstmembercard3 diagnostics
  7225. #ifdef _DEBUG
  7226. void CRstmembercard3::AssertValid() const
  7227. {
  7228. CRecordset::AssertValid();
  7229. }
  7230. void CRstmembercard3::Dump(CDumpContext& dc) const
  7231. {
  7232. CRecordset::Dump(dc);
  7233. }
  7234. #endif //_DEBUG
  7235. IMPLEMENT_DYNAMIC(CRstmembercard3usereg, CRecordset)
  7236. CRstmembercard3usereg::CRstmembercard3usereg(CDatabase* pdb)
  7237. : CRecordset(pdb)
  7238. {
  7239. //{{AFX_FIELD_INIT(CRstmembercard3usereg)
  7240. memberno = _T("");
  7241. id = _T("");
  7242. date = _T("");
  7243. dindanid = _T("");
  7244. money = _T("");
  7245. #if 0 // Jeff.add;
  7246. m_strCashier = _T("");
  7247. m_strFinancialAudit = _T("");
  7248. m_strModeOfPayment = _T("");
  7249. m_nFields =8;
  7250. #else
  7251. m_nFields =5;
  7252. #endif
  7253. //}}AFX_FIELD_INIT
  7254. this->m_pDatabase = g_curdb;
  7255. m_nDefaultType = forwardOnly;
  7256. }
  7257. CString CRstmembercard3usereg::GetDefaultConnect()
  7258. {
  7259. return _T("ODBC;DSN=");
  7260. }
  7261. CString CRstmembercard3usereg::GetDefaultSQL()
  7262. {
  7263. return _T("[membercard3usereg]");
  7264. }
  7265. void CRstmembercard3usereg::DoFieldExchange(CFieldExchange* pFX)
  7266. {
  7267. //{{AFX_FIELD_MAP(CRstmembercard3usereg)
  7268. pFX->SetFieldType(CFieldExchange::outputColumn);
  7269. RFX_Text(pFX, _T("[memberno]"), memberno);
  7270. RFX_Text(pFX, _T("[id]"), id);
  7271. RFX_Text(pFX, _T("[date]"), date);
  7272. RFX_Text(pFX, _T("[dindanid]"), dindanid);
  7273. RFX_Text(pFX, _T("[money]"), money);
  7274. #if 0 // Jeff.add
  7275. RFX_Text(pFX,_T("[ModeOfPayment]"),m_strModeOfPayment);
  7276. RFX_Text(pFX,_T("[Cashier]"),m_strCashier);
  7277. RFX_Text(pFX,_T("[FinancialAudit]"),m_strFinancialAudit);
  7278. #endif
  7279. //}}AFX_FIELD_MAP
  7280. }
  7281. /////////////////////////////////////////////////////////////////////////////
  7282. // CRstmembercard3usereg diagnostics
  7283. #ifdef _DEBUG
  7284. void CRstmembercard3usereg::AssertValid() const
  7285. {
  7286. CRecordset::AssertValid();
  7287. }
  7288. void CRstmembercard3usereg::Dump(CDumpContext& dc) const
  7289. {
  7290. CRecordset::Dump(dc);
  7291. }
  7292. #endif //_DEBUG
  7293. IMPLEMENT_DYNAMIC(CRstmembercard3childusereg, CRecordset)
  7294. CRstmembercard3childusereg::CRstmembercard3childusereg(CDatabase* pdb)
  7295. : CRecordset(pdb)
  7296. {
  7297. //{{AFX_FIELD_INIT(CRstmembercard3childusereg)
  7298. memberno = _T("");
  7299. id = _T("");
  7300. date = _T("");
  7301. dindanid = _T("");
  7302. money = _T("");
  7303. m_nFields =5;
  7304. //}}AFX_FIELD_INIT
  7305. this->m_pDatabase = g_curdb;
  7306. m_nDefaultType = forwardOnly;
  7307. }
  7308. CString CRstmembercard3childusereg::GetDefaultConnect()
  7309. {
  7310. return _T("ODBC;DSN=");
  7311. }
  7312. CString CRstmembercard3childusereg::GetDefaultSQL()
  7313. {
  7314. return _T("[membercard3childusereg]");
  7315. }
  7316. void CRstmembercard3childusereg::DoFieldExchange(CFieldExchange* pFX)
  7317. {
  7318. //{{AFX_FIELD_MAP(CRstmembercard3childusereg)
  7319. pFX->SetFieldType(CFieldExchange::outputColumn);
  7320. RFX_Text(pFX, _T("[memberno]"), memberno);
  7321. RFX_Text(pFX, _T("[id]"), id);
  7322. RFX_Text(pFX, _T("[date]"), date);
  7323. RFX_Text(pFX, _T("[dindanid]"), dindanid);
  7324. RFX_Text(pFX, _T("[money]"), money);
  7325. //}}AFX_FIELD_MAP
  7326. }
  7327. /////////////////////////////////////////////////////////////////////////////
  7328. // CRstmembercard3childusereg diagnostics
  7329. #ifdef _DEBUG
  7330. void CRstmembercard3childusereg::AssertValid() const
  7331. {
  7332. CRecordset::AssertValid();
  7333. }
  7334. void CRstmembercard3childusereg::Dump(CDumpContext& dc) const
  7335. {
  7336. CRecordset::Dump(dc);
  7337. }
  7338. #endif //_DEBUG
  7339. IMPLEMENT_DYNAMIC(CRstmembercard2blue, CRecordset)
  7340. CRstmembercard2blue::CRstmembercard2blue(CDatabase* pdb)
  7341. : CRecordset(pdb)
  7342. {
  7343. //{{AFX_FIELD_INIT(CRstmembercard2blue)
  7344. memberno = _T("");
  7345. card2no = _T("");
  7346. date = _T("");
  7347. m_nFields =3;
  7348. //}}AFX_FIELD_INIT
  7349. this->m_pDatabase = g_curdb;
  7350. m_nDefaultType = forwardOnly;
  7351. }
  7352. CString CRstmembercard2blue::GetDefaultConnect()
  7353. {
  7354. return _T("ODBC;DSN=");
  7355. }
  7356. CString CRstmembercard2blue::GetDefaultSQL()
  7357. {
  7358. return _T("[membercard2blue]");
  7359. }
  7360. void CRstmembercard2blue::DoFieldExchange(CFieldExchange* pFX)
  7361. {
  7362. //{{AFX_FIELD_MAP(CRstmembercard2blue)
  7363. pFX->SetFieldType(CFieldExchange::outputColumn);
  7364. RFX_Text(pFX, _T("[memberno]"), memberno);
  7365. RFX_Text(pFX, _T("[card2no]"), card2no);
  7366. RFX_Text(pFX, _T("[date]"), date);
  7367. //}}AFX_FIELD_MAP
  7368. }
  7369. /////////////////////////////////////////////////////////////////////////////
  7370. // CRstmembercard2blue diagnostics
  7371. #ifdef _DEBUG
  7372. void CRstmembercard2blue::AssertValid() const
  7373. {
  7374. CRecordset::AssertValid();
  7375. }
  7376. void CRstmembercard2blue::Dump(CDumpContext& dc) const
  7377. {
  7378. CRecordset::Dump(dc);
  7379. }
  7380. #endif //_DEBUG
  7381. IMPLEMENT_DYNAMIC(CRstmsgtemp, CRecordset)
  7382. CRstmsgtemp::CRstmsgtemp(CDatabase* pdb)
  7383. : CRecordset(pdb)
  7384. {
  7385. //{{AFX_FIELD_INIT(CRstmsgtemp)
  7386. title = _T("");
  7387. content = _T("");
  7388. m_nFields =2;
  7389. //}}AFX_FIELD_INIT
  7390. this->m_pDatabase = g_curdb;
  7391. m_nDefaultType = forwardOnly;
  7392. }
  7393. CString CRstmsgtemp::GetDefaultConnect()
  7394. {
  7395. return _T("ODBC;DSN=");
  7396. }
  7397. CString CRstmsgtemp::GetDefaultSQL()
  7398. {
  7399. return _T("[msgtemp]");
  7400. }
  7401. void CRstmsgtemp::DoFieldExchange(CFieldExchange* pFX)
  7402. {
  7403. //{{AFX_FIELD_MAP(CRstmsgtemp)
  7404. pFX->SetFieldType(CFieldExchange::outputColumn);
  7405. RFX_Text(pFX, _T("[title]"), title);
  7406. RFX_Text(pFX, _T("[content]"), content, 4096);
  7407. //}}AFX_FIELD_MAP
  7408. }
  7409. /////////////////////////////////////////////////////////////////////////////
  7410. // CRstmsgtemp diagnostics
  7411. #ifdef _DEBUG
  7412. void CRstmsgtemp::AssertValid() const
  7413. {
  7414. CRecordset::AssertValid();
  7415. }
  7416. void CRstmsgtemp::Dump(CDumpContext& dc) const
  7417. {
  7418. CRecordset::Dump(dc);
  7419. }
  7420. #endif //_DEBUG
  7421. IMPLEMENT_DYNAMIC(CRstmsgtemp2, CRecordset)
  7422. CRstmsgtemp2::CRstmsgtemp2(CDatabase* pdb)
  7423. : CRecordset(pdb)
  7424. {
  7425. //{{AFX_FIELD_INIT(CRstmsgtemp2)
  7426. name = _T("");
  7427. content1 = _T("");
  7428. content2 = _T("");
  7429. check1 = _T("");
  7430. check2 = _T("");
  7431. point = _T("");
  7432. m_nFields =6;
  7433. //}}AFX_FIELD_INIT
  7434. this->m_pDatabase = g_curdb;
  7435. m_nDefaultType = forwardOnly;
  7436. m_strSort="point desc";
  7437. }
  7438. CString CRstmsgtemp2::GetDefaultConnect()
  7439. {
  7440. return _T("ODBC;DSN=");
  7441. }
  7442. CString CRstmsgtemp2::GetDefaultSQL()
  7443. {
  7444. return _T("[msgtemp2]");
  7445. }
  7446. void CRstmsgtemp2::DoFieldExchange(CFieldExchange* pFX)
  7447. {
  7448. //{{AFX_FIELD_MAP(CRstmsgtemp2)
  7449. pFX->SetFieldType(CFieldExchange::outputColumn);
  7450. RFX_Text(pFX, _T("[name]"), name);
  7451. RFX_Text(pFX, _T("[content1]"), content1, 4096);
  7452. RFX_Text(pFX, _T("[content2]"), content2, 4096);
  7453. RFX_Text(pFX, _T("[check1]"), check1);
  7454. RFX_Text(pFX, _T("[check2]"), check2);
  7455. RFX_Text(pFX, _T("[point]"), point);
  7456. //}}AFX_FIELD_MAP
  7457. }
  7458. /////////////////////////////////////////////////////////////////////////////
  7459. // CRstmsgtemp2 diagnostics
  7460. #ifdef _DEBUG
  7461. void CRstmsgtemp2::AssertValid() const
  7462. {
  7463. CRecordset::AssertValid();
  7464. }
  7465. void CRstmsgtemp2::Dump(CDumpContext& dc) const
  7466. {
  7467. CRecordset::Dump(dc);
  7468. }
  7469. #endif //_DEBUG
  7470. IMPLEMENT_DYNAMIC(CRstdigitalwork, CRecordset)
  7471. CRstdigitalwork::CRstdigitalwork(CDatabase* pdb)
  7472. : CRecordset(pdb)
  7473. {
  7474. //{{AFX_FIELD_INIT(CRstdigitalwork)
  7475. id = _T("");
  7476. waiter1 = _T("");
  7477. waiter2 = _T("");
  7478. waiter3 = _T("");
  7479. date1 = _T("");
  7480. date2 = _T("");
  7481. date3 = _T("");
  7482. m_nFields =7;
  7483. //}}AFX_FIELD_INIT
  7484. this->m_pDatabase = g_curdb;
  7485. m_nDefaultType = forwardOnly;
  7486. }
  7487. CString CRstdigitalwork::GetDefaultConnect()
  7488. {
  7489. return _T("ODBC;DSN=");
  7490. }
  7491. CString CRstdigitalwork::GetDefaultSQL()
  7492. {
  7493. return _T("[digitalwork]");
  7494. }
  7495. void CRstdigitalwork::DoFieldExchange(CFieldExchange* pFX)
  7496. {
  7497. //{{AFX_FIELD_MAP(CRstdigitalwork)
  7498. pFX->SetFieldType(CFieldExchange::outputColumn);
  7499. RFX_Text(pFX, _T("[id]"), id);
  7500. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  7501. RFX_Text(pFX, _T("[waiter2]"), waiter2);
  7502. RFX_Text(pFX, _T("[waiter3]"), waiter3);
  7503. RFX_Text(pFX, _T("[date1]"), date1);
  7504. RFX_Text(pFX, _T("[date2]"), date2);
  7505. RFX_Text(pFX, _T("[date3]"), date3);
  7506. //}}AFX_FIELD_MAP
  7507. }
  7508. /////////////////////////////////////////////////////////////////////////////
  7509. // CRstdigitalwork diagnostics
  7510. #ifdef _DEBUG
  7511. void CRstdigitalwork::AssertValid() const
  7512. {
  7513. CRecordset::AssertValid();
  7514. }
  7515. void CRstdigitalwork::Dump(CDumpContext& dc) const
  7516. {
  7517. CRecordset::Dump(dc);
  7518. }
  7519. #endif //_DEBUG
  7520. IMPLEMENT_DYNAMIC(CRstMyWork, CRecordset)
  7521. CRstMyWork::CRstMyWork(CDatabase* pdb)
  7522. : CRecordset(pdb)
  7523. {
  7524. //{{AFX_FIELD_INIT(CRstMyWork)
  7525. id = _T("");
  7526. name = _T("");
  7527. datetime = _T("");
  7528. count1 = _T("");
  7529. count2 = _T("");
  7530. count3 = _T("");
  7531. type = _T("");
  7532. inputdate = _T("");
  7533. inputren = _T("");
  7534. m_nFields =9;
  7535. //}}AFX_FIELD_INIT
  7536. this->m_pDatabase = g_curdb;
  7537. m_nDefaultType = forwardOnly;
  7538. }
  7539. CString CRstMyWork::GetDefaultConnect()
  7540. {
  7541. return _T("ODBC;DSN=");
  7542. }
  7543. CString CRstMyWork::GetDefaultSQL()
  7544. {
  7545. return _T("[mywork]");
  7546. }
  7547. void CRstMyWork::DoFieldExchange(CFieldExchange* pFX)
  7548. {
  7549. //{{AFX_FIELD_MAP(CRstMyWork)
  7550. pFX->SetFieldType(CFieldExchange::outputColumn);
  7551. RFX_Text(pFX, _T("[id]"), id);
  7552. RFX_Text(pFX, _T("[name]"), name);
  7553. RFX_Text(pFX, _T("[datetime]"), datetime);
  7554. RFX_Text(pFX, _T("[count1]"), count1);
  7555. RFX_Text(pFX, _T("[count2]"), count2);
  7556. RFX_Text(pFX, _T("[count3]"), count3);
  7557. RFX_Text(pFX, _T("[type]"), type);
  7558. RFX_Text(pFX, _T("[inputdate]"), inputdate);
  7559. RFX_Text(pFX, _T("[inputren]"), inputren);
  7560. //}}AFX_FIELD_MAP
  7561. }
  7562. /////////////////////////////////////////////////////////////////////////////
  7563. // CRstMyWork diagnostics
  7564. #ifdef _DEBUG
  7565. void CRstMyWork::AssertValid() const
  7566. {
  7567. CRecordset::AssertValid();
  7568. }
  7569. void CRstMyWork::Dump(CDumpContext& dc) const
  7570. {
  7571. CRecordset::Dump(dc);
  7572. }
  7573. #endif //_DEBUG
  7574. IMPLEMENT_DYNAMIC(CRstWorkRate, CRecordset)
  7575. CRstWorkRate::CRstWorkRate(CDatabase* pdb)
  7576. : CRecordset(pdb)
  7577. {
  7578. //{{AFX_FIELD_INIT(CRstWorkRate)
  7579. type = _T("");
  7580. data1 = _T("");
  7581. data2 = _T("");
  7582. data3 = _T("");
  7583. data4 = _T("");
  7584. data5 = _T("");
  7585. m_nFields =6;
  7586. //}}AFX_FIELD_INIT
  7587. this->m_pDatabase = g_curdb;
  7588. m_nDefaultType = forwardOnly;
  7589. }
  7590. CString CRstWorkRate::GetDefaultConnect()
  7591. {
  7592. return _T("ODBC;DSN=");
  7593. }
  7594. CString CRstWorkRate::GetDefaultSQL()
  7595. {
  7596. return _T("[workrate]");
  7597. }
  7598. void CRstWorkRate::DoFieldExchange(CFieldExchange* pFX)
  7599. {
  7600. //{{AFX_FIELD_MAP(CRstWorkRate)
  7601. pFX->SetFieldType(CFieldExchange::outputColumn);
  7602. RFX_Text(pFX, _T("[type]"), type);
  7603. RFX_Text(pFX, _T("[data1]"), data1);
  7604. RFX_Text(pFX, _T("[data2]"), data2);
  7605. RFX_Text(pFX, _T("[data3]"), data3);
  7606. RFX_Text(pFX, _T("[data4]"), data4);
  7607. RFX_Text(pFX, _T("[data5]"), data5);
  7608. //}}AFX_FIELD_MAP
  7609. }
  7610. /////////////////////////////////////////////////////////////////////////////
  7611. // CRstWorkRate diagnostics
  7612. #ifdef _DEBUG
  7613. void CRstWorkRate::AssertValid() const
  7614. {
  7615. CRecordset::AssertValid();
  7616. }
  7617. void CRstWorkRate::Dump(CDumpContext& dc) const
  7618. {
  7619. CRecordset::Dump(dc);
  7620. }
  7621. #endif //_DEBUG
  7622. IMPLEMENT_DYNAMIC(CRstdindanjd, CRecordset)
  7623. CRstdindanjd::CRstdindanjd(CDatabase* pdb)
  7624. : CRecordset(pdb)
  7625. {
  7626. id = _T("");
  7627. name = _T("");
  7628. date = _T("");
  7629. time = _T("");
  7630. waiter1 = _T("");
  7631. waiter2 = _T("");
  7632. status = _T("");
  7633. waiter12 = _T("");
  7634. waiter22 = _T("");
  7635. bookingdate = _T("");
  7636. dress = _T("");
  7637. bz = _T("");
  7638. m_nFields =13;
  7639. //}}AFX_FIELD_INIT
  7640. this->m_pDatabase = g_curdb;
  7641. m_nDefaultType = forwardOnly;
  7642. m_strSort="id desc,name desc";
  7643. }
  7644. CString CRstdindanjd::GetDefaultConnect()
  7645. {
  7646. return _T("ODBC;DSN=");
  7647. }
  7648. CString CRstdindanjd::GetDefaultSQL()
  7649. {
  7650. return _T("[dindanjd]");
  7651. }
  7652. void CRstdindanjd::DoFieldExchange(CFieldExchange* pFX)
  7653. {
  7654. pFX->SetFieldType(CFieldExchange::outputColumn);
  7655. RFX_Text(pFX, _T("[id]"), id);
  7656. RFX_Text(pFX, _T("[name]"), name);
  7657. RFX_Text(pFX, _T("[date]"), date);
  7658. RFX_Text(pFX, _T("[time]"), time);
  7659. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  7660. RFX_Text(pFX, _T("[waiter2]"), waiter2);
  7661. RFX_Text(pFX, _T("[status]"), status);
  7662. RFX_Text(pFX, _T("[waiter12]"), waiter12);
  7663. RFX_Text(pFX, _T("[waiter22]"), waiter22);
  7664. RFX_Text(pFX, _T("[bookingdate]"), bookingdate);
  7665. RFX_Text(pFX, _T("[dress]"), dress);
  7666. RFX_Text(pFX, _T("[bz]"), bz, 150);
  7667. RFX_Text(pFX, _T("[branch]"), branch);
  7668. //}}AFX_FIELD_MAP
  7669. }
  7670. /////////////////////////////////////////////////////////////////////////////
  7671. // CRstdindanjd diagnostics
  7672. #ifdef _DEBUG
  7673. void CRstdindanjd::AssertValid() const
  7674. {
  7675. CRecordset::AssertValid();
  7676. }
  7677. void CRstdindanjd::Dump(CDumpContext& dc) const
  7678. {
  7679. CRecordset::Dump(dc);
  7680. }
  7681. #endif //_DEBUG
  7682. IMPLEMENT_DYNAMIC(CRstloginsign, CRecordset)
  7683. CRstloginsign::CRstloginsign(CDatabase* pdb)
  7684. : CRecordset(pdb)
  7685. {
  7686. //{{AFX_FIELD_INIT(CRstloginsign)
  7687. id = _T("");
  7688. name = _T("");
  7689. date = _T("");
  7690. type = _T("");
  7691. cleck = _T("");
  7692. m_nFields =5;
  7693. //}}AFX_FIELD_INIT
  7694. this->m_pDatabase = g_curdb;
  7695. m_nDefaultType = forwardOnly;
  7696. }
  7697. CString CRstloginsign::GetDefaultConnect()
  7698. {
  7699. return _T("ODBC;DSN=");
  7700. }
  7701. CString CRstloginsign::GetDefaultSQL()
  7702. {
  7703. return _T("[loginsign]");
  7704. }
  7705. void CRstloginsign::DoFieldExchange(CFieldExchange* pFX)
  7706. {
  7707. //{{AFX_FIELD_MAP(CRstloginsign)
  7708. pFX->SetFieldType(CFieldExchange::outputColumn);
  7709. RFX_Text(pFX, _T("[id]"), id);
  7710. RFX_Text(pFX, _T("[name]"), name);
  7711. RFX_Text(pFX, _T("[date]"), date);
  7712. RFX_Text(pFX, _T("[type]"), type);
  7713. RFX_Text(pFX, _T("[cleck]"), cleck);
  7714. //}}AFX_FIELD_MAP
  7715. }
  7716. /////////////////////////////////////////////////////////////////////////////
  7717. // CRstloginsign diagnostics
  7718. #ifdef _DEBUG
  7719. void CRstloginsign::AssertValid() const
  7720. {
  7721. CRecordset::AssertValid();
  7722. }
  7723. void CRstloginsign::Dump(CDumpContext& dc) const
  7724. {
  7725. CRecordset::Dump(dc);
  7726. }
  7727. #endif //_DEBUG
  7728. IMPLEMENT_DYNAMIC(CRstbakstate, CRecordset)
  7729. CRstbakstate::CRstbakstate(CDatabase* pdb)
  7730. : CRecordset(pdb)
  7731. {
  7732. //{{AFX_FIELD_INIT(CRstbakstate)
  7733. date = _T("");
  7734. photo = _T("");
  7735. info = _T("");
  7736. m_nFields =3;
  7737. //}}AFX_FIELD_INIT
  7738. this->m_pDatabase = g_curdb;
  7739. m_nDefaultType = forwardOnly;
  7740. m_strSort="date";
  7741. }
  7742. CString CRstbakstate::GetDefaultConnect()
  7743. {
  7744. return _T("ODBC;DSN=");
  7745. }
  7746. CString CRstbakstate::GetDefaultSQL()
  7747. {
  7748. return _T("[bakstate]");
  7749. }
  7750. void CRstbakstate::DoFieldExchange(CFieldExchange* pFX)
  7751. {
  7752. //{{AFX_FIELD_MAP(CRstbakstate)
  7753. pFX->SetFieldType(CFieldExchange::outputColumn);
  7754. RFX_Text(pFX, _T("[date]"), date);
  7755. RFX_Text(pFX, _T("[photo]"), photo);
  7756. RFX_Text(pFX, _T("[info]"), info);
  7757. //}}AFX_FIELD_MAP
  7758. }
  7759. /////////////////////////////////////////////////////////////////////////////
  7760. // CRstbakstate diagnostics
  7761. #ifdef _DEBUG
  7762. void CRstbakstate::AssertValid() const
  7763. {
  7764. CRecordset::AssertValid();
  7765. }
  7766. void CRstbakstate::Dump(CDumpContext& dc) const
  7767. {
  7768. CRecordset::Dump(dc);
  7769. }
  7770. #endif //_DEBUG
  7771. IMPLEMENT_DYNAMIC(CRstdindansp2, CRecordset)
  7772. CRstdindansp2::CRstdindansp2(CDatabase* pdb)
  7773. : CRecordset(pdb)
  7774. {
  7775. //{{AFX_FIELD_INIT(CRstdindansp2)
  7776. id = _T("");
  7777. name = _T("");
  7778. count = _T("");
  7779. date = _T("");
  7780. clerk = _T("");
  7781. m_nFields =5;
  7782. //}}AFX_FIELD_INIT
  7783. this->m_pDatabase = g_curdb;
  7784. m_nDefaultType = forwardOnly;
  7785. m_strSort="date desc,name";
  7786. }
  7787. CString CRstdindansp2::GetDefaultConnect()
  7788. {
  7789. return _T("ODBC;DSN=");
  7790. }
  7791. CString CRstdindansp2::GetDefaultSQL()
  7792. {
  7793. return _T("[dindansp2]");
  7794. }
  7795. void CRstdindansp2::DoFieldExchange(CFieldExchange* pFX)
  7796. {
  7797. //{{AFX_FIELD_MAP(CRstdindansp2)
  7798. pFX->SetFieldType(CFieldExchange::outputColumn);
  7799. RFX_Text(pFX, _T("[id]"), id);
  7800. RFX_Text(pFX, _T("[name]"), name);
  7801. RFX_Text(pFX, _T("[count]"), count);
  7802. RFX_Text(pFX, _T("[date]"), date);
  7803. RFX_Text(pFX, _T("[clerk]"), clerk);
  7804. //}}AFX_FIELD_MAP
  7805. }
  7806. /////////////////////////////////////////////////////////////////////////////
  7807. // CRstdindansp2 diagnostics
  7808. #ifdef _DEBUG
  7809. void CRstdindansp2::AssertValid() const
  7810. {
  7811. CRecordset::AssertValid();
  7812. }
  7813. void CRstdindansp2::Dump(CDumpContext& dc) const
  7814. {
  7815. CRecordset::Dump(dc);
  7816. }
  7817. #endif //_DEBUG
  7818. IMPLEMENT_DYNAMIC(CRstframesize, CRecordset)
  7819. CRstframesize::CRstframesize(CDatabase* pdb)
  7820. : CRecordset(pdb)
  7821. {
  7822. //{{AFX_FIELD_INIT(CRstframesize)
  7823. name = _T("");
  7824. width = _T("");
  7825. height = _T("");
  7826. m_nFields =3;
  7827. //}}AFX_FIELD_INIT
  7828. this->m_pDatabase = g_curdb;
  7829. m_nDefaultType = forwardOnly;
  7830. }
  7831. CString CRstframesize::GetDefaultConnect()
  7832. {
  7833. return _T("ODBC;DSN=");
  7834. }
  7835. CString CRstframesize::GetDefaultSQL()
  7836. {
  7837. return _T("[framesize]");
  7838. }
  7839. void CRstframesize::DoFieldExchange(CFieldExchange* pFX)
  7840. {
  7841. //{{AFX_FIELD_MAP(CRstframesize)
  7842. pFX->SetFieldType(CFieldExchange::outputColumn);
  7843. RFX_Text(pFX, _T("[name]"), name);
  7844. RFX_Text(pFX, _T("[width]"), width);
  7845. RFX_Text(pFX, _T("[height]"), height);
  7846. //}}AFX_FIELD_MAP
  7847. }
  7848. /////////////////////////////////////////////////////////////////////////////
  7849. // CRstframesize diagnostics
  7850. #ifdef _DEBUG
  7851. void CRstframesize::AssertValid() const
  7852. {
  7853. CRecordset::AssertValid();
  7854. }
  7855. void CRstframesize::Dump(CDumpContext& dc) const
  7856. {
  7857. CRecordset::Dump(dc);
  7858. }
  7859. #endif //_DEBUG
  7860. IMPLEMENT_DYNAMIC(CRstchildmsg, CRecordset)
  7861. CRstchildmsg::CRstchildmsg(CDatabase* pdb)
  7862. : CRecordset(pdb)
  7863. {
  7864. //{{AFX_FIELD_INIT(CRstchildmsg)
  7865. check = _T("");
  7866. days = _T("");
  7867. content = _T("");
  7868. mode = _T("");
  7869. m_nFields =4;
  7870. //}}AFX_FIELD_INIT
  7871. this->m_pDatabase = g_curdb;
  7872. m_nDefaultType = forwardOnly;
  7873. }
  7874. CString CRstchildmsg::GetDefaultConnect()
  7875. {
  7876. return _T("ODBC;DSN=");
  7877. }
  7878. CString CRstchildmsg::GetDefaultSQL()
  7879. {
  7880. return _T("[childmsg]");
  7881. }
  7882. void CRstchildmsg::DoFieldExchange(CFieldExchange* pFX)
  7883. {
  7884. //{{AFX_FIELD_MAP(CRstchildmsg)
  7885. pFX->SetFieldType(CFieldExchange::outputColumn);
  7886. RFX_Text(pFX, _T("[check]"), check);
  7887. RFX_Text(pFX, _T("[days]"), days);
  7888. RFX_Text(pFX, _T("[mode]"), mode);
  7889. RFX_Text(pFX, _T("[content]"), content, 4096);
  7890. //}}AFX_FIELD_MAP
  7891. }
  7892. /////////////////////////////////////////////////////////////////////////////
  7893. // CRstchildmsg diagnostics
  7894. #ifdef _DEBUG
  7895. void CRstchildmsg::AssertValid() const
  7896. {
  7897. CRecordset::AssertValid();
  7898. }
  7899. void CRstchildmsg::Dump(CDumpContext& dc) const
  7900. {
  7901. CRecordset::Dump(dc);
  7902. }
  7903. #endif //_DEBUG
  7904. IMPLEMENT_DYNAMIC(CRsttodaytake, CRecordset)
  7905. CRsttodaytake::CRsttodaytake(CDatabase* pdb)
  7906. : CRecordset(pdb)
  7907. {
  7908. //{{AFX_FIELD_INIT(CRsttodaytake)
  7909. name = _T("");
  7910. phone = _T("");
  7911. date = _T("");
  7912. time = _T("");
  7913. type = _T("");
  7914. price = _T("");
  7915. waiter1 = _T("");
  7916. waiter2 = _T("");
  7917. receptionist = _T("");
  7918. arrearage = _T("");
  7919. clerk = _T("");
  7920. remark = _T("");
  7921. timestamp = _T("");
  7922. mode = _T("");
  7923. content = _T("");
  7924. arrive = _T("");
  7925. id = _T("");
  7926. m_nFields =17;
  7927. //}}AFX_FIELD_INIT
  7928. this->m_pDatabase = g_curdb;
  7929. m_nDefaultType = forwardOnly;
  7930. m_strSort="date";
  7931. }
  7932. CString CRsttodaytake::GetDefaultConnect()
  7933. {
  7934. return _T("ODBC;DSN=");
  7935. }
  7936. CString CRsttodaytake::GetDefaultSQL()
  7937. {
  7938. return _T("[todaytake]");
  7939. }
  7940. void CRsttodaytake::DoFieldExchange(CFieldExchange* pFX)
  7941. {
  7942. //{{AFX_FIELD_MAP(CRsttodaytake)
  7943. pFX->SetFieldType(CFieldExchange::outputColumn);
  7944. RFX_Text(pFX, _T("[name]"), name);
  7945. RFX_Text(pFX, _T("[phone]"), phone);
  7946. RFX_Text(pFX, _T("[date]"), date);
  7947. RFX_Text(pFX, _T("[time]"), time);
  7948. RFX_Text(pFX, _T("[type]"), type);
  7949. RFX_Text(pFX, _T("[price]"), price);
  7950. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  7951. RFX_Text(pFX, _T("[waiter2]"), waiter2);
  7952. RFX_Text(pFX, _T("[receptionist]"), receptionist);
  7953. RFX_Text(pFX, _T("[arrearage]"), arrearage);
  7954. RFX_Text(pFX, _T("[clerk]"), clerk);
  7955. RFX_Text(pFX, _T("[timestamp]"), timestamp);
  7956. RFX_Text(pFX, _T("[mode]"), mode);
  7957. RFX_Text(pFX, _T("[content]"), content);
  7958. RFX_Text(pFX, _T("[arrive]"), arrive);
  7959. RFX_Text(pFX, _T("[id]"), id);
  7960. RFX_Text(pFX, _T("[remark]"), remark, 4096);
  7961. //}}AFX_FIELD_MAP
  7962. }
  7963. /////////////////////////////////////////////////////////////////////////////
  7964. // CRsttodaytake diagnostics
  7965. #ifdef _DEBUG
  7966. void CRsttodaytake::AssertValid() const
  7967. {
  7968. CRecordset::AssertValid();
  7969. }
  7970. void CRsttodaytake::Dump(CDumpContext& dc) const
  7971. {
  7972. CRecordset::Dump(dc);
  7973. }
  7974. #endif //_DEBUG
  7975. IMPLEMENT_DYNAMIC(CRstdindansp3, CRecordset)
  7976. CRstdindansp3::CRstdindansp3(CDatabase* pdb)
  7977. : CRecordset(pdb)
  7978. {
  7979. //{{AFX_FIELD_INIT(CRstdindansp3)
  7980. spid = _T("");
  7981. name = _T("");
  7982. count = _T("");
  7983. id = _T("");
  7984. m_nFields =4;
  7985. //}}AFX_FIELD_INIT
  7986. this->m_pDatabase = g_curdb;
  7987. m_nDefaultType = forwardOnly;
  7988. m_strSort="id desc,name";
  7989. }
  7990. CString CRstdindansp3::GetDefaultConnect()
  7991. {
  7992. return _T("ODBC;DSN=");
  7993. }
  7994. CString CRstdindansp3::GetDefaultSQL()
  7995. {
  7996. return _T("[dindansp3]");
  7997. }
  7998. void CRstdindansp3::DoFieldExchange(CFieldExchange* pFX)
  7999. {
  8000. //{{AFX_FIELD_MAP(CRstdindansp3)
  8001. pFX->SetFieldType(CFieldExchange::outputColumn);
  8002. RFX_Text(pFX, _T("[id]"), id);
  8003. RFX_Text(pFX, _T("[spid]"), spid);
  8004. RFX_Text(pFX, _T("[name]"), name);
  8005. RFX_Text(pFX, _T("[count]"), count);
  8006. //}}AFX_FIELD_MAP
  8007. }
  8008. /////////////////////////////////////////////////////////////////////////////
  8009. // CRstdindansp3 diagnostics
  8010. #ifdef _DEBUG
  8011. void CRstdindansp3::AssertValid() const
  8012. {
  8013. CRecordset::AssertValid();
  8014. }
  8015. void CRstdindansp3::Dump(CDumpContext& dc) const
  8016. {
  8017. CRecordset::Dump(dc);
  8018. }
  8019. #endif //_DEBUG
  8020. IMPLEMENT_DYNAMIC(CRstLog, CRecordset)
  8021. CRstLog::CRstLog(CDatabase* pdb)
  8022. : CRecordset(pdb)
  8023. {
  8024. //{{AFX_FIELD_INIT(CRstLog)
  8025. datetime = _T("");
  8026. content = _T("");
  8027. m_nFields =2;
  8028. //}}AFX_FIELD_INIT
  8029. this->m_pDatabase = g_curdb;
  8030. m_nDefaultType = forwardOnly;
  8031. m_strSort="datetime desc";
  8032. }
  8033. CString CRstLog::GetDefaultConnect()
  8034. {
  8035. return _T("ODBC;DSN=");
  8036. }
  8037. CString CRstLog::GetDefaultSQL()
  8038. {
  8039. return _T("[log]");
  8040. }
  8041. void CRstLog::DoFieldExchange(CFieldExchange* pFX)
  8042. {
  8043. //{{AFX_FIELD_MAP(CRstLog)
  8044. pFX->SetFieldType(CFieldExchange::outputColumn);
  8045. RFX_Text(pFX, _T("[datetime]"), datetime);
  8046. RFX_Text(pFX, _T("[content]"), content, 1024);
  8047. //}}AFX_FIELD_MAP
  8048. }
  8049. /////////////////////////////////////////////////////////////////////////////
  8050. // CRstLog diagnostics
  8051. #ifdef _DEBUG
  8052. void CRstLog::AssertValid() const
  8053. {
  8054. CRecordset::AssertValid();
  8055. }
  8056. void CRstLog::Dump(CDumpContext& dc) const
  8057. {
  8058. CRecordset::Dump(dc);
  8059. }
  8060. #endif //_DEBUG 4096
  8061. IMPLEMENT_DYNAMIC(CRstDindanForm10, CRecordset)
  8062. CRstDindanForm10::CRstDindanForm10(CDatabase* pdb)
  8063. : CRecordset(pdb)
  8064. {
  8065. //{{AFX_FIELD_INIT(CRstDindanForm10)
  8066. m_id = _T("");
  8067. m_name1 = _T("");
  8068. m_name2 = _T("");
  8069. m_taoxiname = _T("");
  8070. m_taoxijiage = _T("");
  8071. m_waiter4 = _T("");
  8072. m_waiter5 = _T("");
  8073. m_waiter7 = _T("");
  8074. m_time8 = _T("");
  8075. m_time9 = _T("");
  8076. m_time10 = _T("");
  8077. m_status4 = _T("");
  8078. m_status6 = _T("");
  8079. m_status5 = _T("");
  8080. m_money2 = _T("");
  8081. m_nFields = 18;
  8082. //}}AFX_FIELD_INIT
  8083. m_nDefaultType = forwardOnly;
  8084. this->m_pDatabase = g_curdb;
  8085. }
  8086. CString CRstDindanForm10::GetDefaultConnect()
  8087. {
  8088. return _T("ODBC;DSN=");
  8089. }
  8090. CString CRstDindanForm10::GetDefaultSQL()
  8091. {
  8092. return _T("[digitalview]");
  8093. }
  8094. void CRstDindanForm10::DoFieldExchange(CFieldExchange* pFX)
  8095. {
  8096. //{{AFX_FIELD_MAP(CRstDindanForm10)
  8097. pFX->SetFieldType(CFieldExchange::outputColumn);
  8098. RFX_Text(pFX, _T("[id]"), m_id);
  8099. RFX_Text(pFX, _T("[name1]"), m_name1);
  8100. RFX_Text(pFX, _T("[name2]"), m_name2);
  8101. RFX_Text(pFX, _T("[taoxiname]"), m_taoxiname);
  8102. RFX_Text(pFX, _T("[taoxijiage]"), m_taoxijiage);
  8103. RFX_Text(pFX, _T("[waiter4]"), m_waiter4);
  8104. RFX_Text(pFX, _T("[waiter5]"), m_waiter5);
  8105. RFX_Text(pFX, _T("[waiter7]"), m_waiter7);
  8106. RFX_Text(pFX, _T("[time8]"), m_time8);
  8107. RFX_Text(pFX, _T("[time9]"), m_time9);
  8108. RFX_Text(pFX, _T("[time10]"), m_time10);
  8109. RFX_Text(pFX, _T("[status4]"), m_status4);
  8110. RFX_Text(pFX, _T("[status6]"), m_status6);
  8111. RFX_Text(pFX, _T("[status5]"), m_status5);
  8112. RFX_Text(pFX, _T("[money2]"), m_money2);
  8113. RFX_Text(pFX, _T("[txtype]"), txtype);
  8114. RFX_Text(pFX, _T("[ps]"), ps);
  8115. RFX_Text(pFX, _T("[zs]"), zs);
  8116. //}}AFX_FIELD_MAP
  8117. }
  8118. /////////////////////////////////////////////////////////////////////////////
  8119. // CRstDindanForm10 diagnostics
  8120. #ifdef _DEBUG
  8121. void CRstDindanForm10::AssertValid() const
  8122. {
  8123. CRecordset::AssertValid();
  8124. }
  8125. void CRstDindanForm10::Dump(CDumpContext& dc) const
  8126. {
  8127. CRecordset::Dump(dc);
  8128. }
  8129. #endif //_DEBUG
  8130. IMPLEMENT_DYNAMIC(CRstsingleincomemoney, CRecordset)
  8131. CRstsingleincomemoney::CRstsingleincomemoney(CDatabase* pdb)
  8132. : CRecordset(pdb)
  8133. {
  8134. //{{AFX_FIELD_INIT(CRstsingleincomemoney)
  8135. autoid = _T("");
  8136. id = _T("");
  8137. money = _T("");
  8138. date = _T("");
  8139. clerk = _T("");
  8140. paytype = _T("");
  8141. jdd = _T("");
  8142. m_nFields = 7;
  8143. //}}AFX_FIELD_INIT
  8144. m_nDefaultType = forwardOnly;
  8145. this->m_pDatabase = g_curdb;
  8146. }
  8147. CString CRstsingleincomemoney::GetDefaultConnect()
  8148. {
  8149. return _T("ODBC;DSN=");
  8150. }
  8151. CString CRstsingleincomemoney::GetDefaultSQL()
  8152. {
  8153. return _T("[singleincomemoney]");
  8154. }
  8155. void CRstsingleincomemoney::DoFieldExchange(CFieldExchange* pFX)
  8156. {
  8157. //{{AFX_FIELD_MAP(CRstsingleincomemoney)
  8158. pFX->SetFieldType(CFieldExchange::outputColumn);
  8159. RFX_Text(pFX, _T("[autoid]"), autoid);
  8160. RFX_Text(pFX, _T("[id]"), id);
  8161. RFX_Text(pFX, _T("[money]"), money);
  8162. RFX_Text(pFX, _T("[date]"), date);
  8163. RFX_Text(pFX, _T("[clerk]"), clerk);
  8164. RFX_Text(pFX, _T("[paytype]"), paytype);
  8165. RFX_Text(pFX, _T("[jdd]"), jdd);
  8166. //}}AFX_FIELD_MAP
  8167. }
  8168. /////////////////////////////////////////////////////////////////////////////
  8169. // CRstsingleincomemoney diagnostics
  8170. #ifdef _DEBUG
  8171. void CRstsingleincomemoney::AssertValid() const
  8172. {
  8173. CRecordset::AssertValid();
  8174. }
  8175. void CRstsingleincomemoney::Dump(CDumpContext& dc) const
  8176. {
  8177. CRecordset::Dump(dc);
  8178. }
  8179. #endif //_DEBUG
  8180. IMPLEMENT_DYNAMIC(CRstsingleincomemoneyview, CRecordset)
  8181. CRstsingleincomemoneyview::CRstsingleincomemoneyview(CDatabase* pdb)
  8182. : CRecordset(pdb)
  8183. {
  8184. //{{AFX_FIELD_INIT(CRstsingleincomemoneyview)
  8185. autoid = _T("");
  8186. id = _T("");
  8187. money = _T("");
  8188. date = _T("");
  8189. clerk = _T("");
  8190. paytype = _T("");
  8191. name = _T("");
  8192. renyuan1 = _T("");
  8193. renyuan3 = _T("");
  8194. sale2type = _T("");
  8195. financecheck = _T("");
  8196. jdd = _T("");
  8197. m_nFields = 13;
  8198. //}}AFX_FIELD_INIT
  8199. m_nDefaultType = forwardOnly;
  8200. this->m_pDatabase = g_curdb;
  8201. }
  8202. CString CRstsingleincomemoneyview::GetDefaultConnect()
  8203. {
  8204. return _T("ODBC;DSN=");
  8205. }
  8206. CString CRstsingleincomemoneyview::GetDefaultSQL()
  8207. {
  8208. return _T("[singleincomemoneyview]");
  8209. }
  8210. void CRstsingleincomemoneyview::DoFieldExchange(CFieldExchange* pFX)
  8211. {
  8212. //{{AFX_FIELD_MAP(CRstsingleincomemoneyview)
  8213. pFX->SetFieldType(CFieldExchange::outputColumn);
  8214. RFX_Text(pFX, _T("[autoid]"), autoid);
  8215. RFX_Text(pFX, _T("[id]"), id);
  8216. RFX_Text(pFX, _T("[money]"), money);
  8217. RFX_Text(pFX, _T("[date]"), date);
  8218. RFX_Text(pFX, _T("[clerk]"), clerk);
  8219. RFX_Text(pFX, _T("[paytype]"), paytype);
  8220. RFX_Text(pFX, _T("[name]"), name);
  8221. RFX_Text(pFX, _T("[renyuan1]"), renyuan1);
  8222. RFX_Text(pFX, _T("[renyuan3]"), renyuan3);
  8223. RFX_Text(pFX, _T("[sale2type]"), sale2type);
  8224. RFX_Text(pFX, _T("[financecheck]"), financecheck);
  8225. RFX_Text(pFX, _T("[time]"), time);
  8226. RFX_Text(pFX, _T("[jdd]"), jdd);
  8227. //}}AFX_FIELD_MAP
  8228. }
  8229. /////////////////////////////////////////////////////////////////////////////
  8230. // CRstsingleincomemoneyview diagnostics
  8231. #ifdef _DEBUG
  8232. void CRstsingleincomemoneyview::AssertValid() const
  8233. {
  8234. CRecordset::AssertValid();
  8235. }
  8236. void CRstsingleincomemoneyview::Dump(CDumpContext& dc) const
  8237. {
  8238. CRecordset::Dump(dc);
  8239. }
  8240. #endif //_DEBUG
  8241. IMPLEMENT_DYNAMIC(CRstversion, CRecordset)
  8242. CRstversion::CRstversion(CDatabase* pdb): CRecordset(pdb)
  8243. {
  8244. m_nFields = 158;
  8245. //}}AFX_FIELD_INIT
  8246. m_nDefaultType = forwardOnly;
  8247. this->m_pDatabase = g_curdb;
  8248. }
  8249. CString CRstversion::GetDefaultConnect()
  8250. {
  8251. return _T("ODBC;DSN=");
  8252. }
  8253. CString CRstversion::GetDefaultSQL()
  8254. {
  8255. return _T("[version]");
  8256. }
  8257. void CRstversion::DoFieldExchange(CFieldExchange* pFX)
  8258. {
  8259. //{{AFX_FIELD_MAP(CRstversion)
  8260. pFX->SetFieldType(CFieldExchange::outputColumn);
  8261. RFX_Text(pFX, _T("[version]"), version);
  8262. RFX_Text(pFX, _T("[check1]"), m_check1);
  8263. RFX_Text(pFX, _T("[check2]"), m_check2);
  8264. RFX_Text(pFX, _T("[check3]"), m_check3);
  8265. RFX_Text(pFX, _T("[check4]"), m_check4);
  8266. RFX_Text(pFX, _T("[edit1]"), m_edit1);
  8267. RFX_Text(pFX, _T("[edit2]"), m_edit2);
  8268. RFX_Text(pFX, _T("[edit3]"), m_edit3);
  8269. RFX_Text(pFX, _T("[edit4]"), m_edit4);
  8270. RFX_Text(pFX, _T("[info1]"), m_info1);
  8271. RFX_Text(pFX, _T("[info2]"), m_info2);
  8272. RFX_Text(pFX, _T("[info3]"), m_info3);
  8273. RFX_Text(pFX, _T("[info4]"), m_info4);
  8274. RFX_Text(pFX, _T("[info5]"), m_info5);
  8275. RFX_Text(pFX, _T("[info6]"), m_info6);
  8276. RFX_Text(pFX, _T("[bak1]"), m_bak1);
  8277. RFX_Text(pFX, _T("[bak2]"), m_bak2);
  8278. RFX_Text(pFX, _T("[bak3]"), m_bak3);
  8279. RFX_Text(pFX, _T("[bak4]"), m_bak4);
  8280. RFX_Text(pFX, _T("[bak5]"), m_bak5);
  8281. RFX_Text(pFX, _T("[bak6]"), m_bak6);
  8282. RFX_Text(pFX, _T("[bakserver1]"), m_bakserver1);
  8283. RFX_Text(pFX, _T("[bakserver2]"), m_bakserver2);
  8284. RFX_Text(pFX, _T("[bakserver3]"), m_bakserver3);
  8285. RFX_Text(pFX, _T("[bakserver4]"), m_bakserver4);
  8286. RFX_Text(pFX, _T("[bakserver5]"), m_bakserver5);
  8287. RFX_Text(pFX, _T("[baktime]"), m_baktime);
  8288. RFX_Text(pFX, _T("[msgaccount]"), msgaccount);
  8289. RFX_Text(pFX, _T("[msgpsw]"), msgpsw);
  8290. RFX_Text(pFX, _T("[msgused]"), msgused);
  8291. RFX_Text(pFX, _T("[msgbalance]"), msgbalance);
  8292. RFX_Text(pFX, _T("[msgcheck1]"), msgcheck1);
  8293. RFX_Text(pFX, _T("[msgcheck2]"), msgcheck2);
  8294. RFX_Text(pFX, _T("[msgdays1]"), msgdays1);
  8295. RFX_Text(pFX, _T("[msgdays2]"), msgdays2);
  8296. RFX_Text(pFX, _T("[msgcontent1]"), msgcontent1, 4096);
  8297. RFX_Text(pFX, _T("[msgcontent2]"), msgcontent2, 4096);
  8298. RFX_Text(pFX, _T("[remarks]"), remarks, 4096);
  8299. RFX_Text(pFX, _T("[rate]"), rate);
  8300. RFX_Text(pFX, _T("[msgcheck3]"), msgcheck3);
  8301. RFX_Text(pFX, _T("[msgcontent3]"), msgcontent3, 4096);
  8302. RFX_Text(pFX, _T("[msgcontent5]"), msgcontent5, 4096);
  8303. RFX_Text(pFX, _T("[msgcontent6]"), msgcontent6, 4096);
  8304. RFX_Text(pFX, _T("[salarycheck1]"), salarycheck1);
  8305. RFX_Text(pFX, _T("[salarycheck2]"), salarycheck2);
  8306. RFX_Text(pFX, _T("[salarycheck3]"), salarycheck3);
  8307. RFX_Text(pFX, _T("[salarycheck4]"), salarycheck4);
  8308. RFX_Text(pFX, _T("[msgcheck4]"), msgcheck4);
  8309. RFX_Text(pFX, _T("[msgcheck5]"), msgcheck5);
  8310. RFX_Text(pFX, _T("[msgcheck6]"), msgcheck6);
  8311. RFX_Text(pFX, _T("[msgtime]"), msgtime);
  8312. RFX_Text(pFX, _T("[msgphones]"), msgphones, 4096);
  8313. RFX_Text(pFX, _T("[msgphones2]"), msgphones2, 4096);
  8314. RFX_Text(pFX, _T("[msgcompanyname]"), msgcompanyname);
  8315. RFX_Text(pFX, _T("[msgsendtype]"), msgsendtype);
  8316. RFX_Text(pFX, _T("[rate2]"), rate2);
  8317. RFX_Text(pFX, _T("[setcheck1]"), setcheck1);
  8318. RFX_Text(pFX, _T("[setcheck2]"), setcheck2);
  8319. RFX_Text(pFX, _T("[setcheck3]"), setcheck3);
  8320. RFX_Text(pFX, _T("[setcheck4]"), setcheck4);
  8321. RFX_Text(pFX, _T("[setcheck5]"), setcheck5);
  8322. RFX_Text(pFX, _T("[setcheck10]"), setcheck10);
  8323. RFX_Text(pFX, _T("[printer1]"), printer1);
  8324. RFX_Text(pFX, _T("[printer2]"), printer2);
  8325. RFX_Text(pFX, _T("[printer3]"), printer3);
  8326. RFX_Text(pFX, _T("[setprintstyle]"), setprintstyle);
  8327. RFX_Text(pFX, _T("[setprintstyle2]"), setprintstyle2);
  8328. RFX_Text(pFX, _T("[uploadcheck1]"), uploadcheck1);
  8329. RFX_Text(pFX, _T("[uploadcheck2]"), uploadcheck2);
  8330. RFX_Text(pFX, _T("[uploadcheck3]"), uploadcheck3);
  8331. RFX_Text(pFX, _T("[uploadcheck4]"), uploadcheck4);
  8332. RFX_Text(pFX, _T("[bak11]"), bak11);
  8333. RFX_Text(pFX, _T("[bak22]"), bak22);
  8334. RFX_Text(pFX, _T("[bak33]"), bak33);
  8335. RFX_Text(pFX, _T("[bak44]"), bak44);
  8336. RFX_Text(pFX, _T("[salaryset]"), salaryset, 4096);
  8337. RFX_Text(pFX, _T("[ziptype1]"), ziptype1);
  8338. RFX_Text(pFX, _T("[ziptype2]"), ziptype2);
  8339. RFX_Text(pFX, _T("[ziptype3]"), ziptype3);
  8340. RFX_Text(pFX, _T("[ziptype4]"), ziptype4);
  8341. RFX_Text(pFX, _T("[limitcount1]"), limitcount1);
  8342. RFX_Text(pFX, _T("[limitcount2]"), limitcount2);
  8343. RFX_Text(pFX, _T("[limitcount3]"), limitcount3);
  8344. RFX_Text(pFX, _T("[setcheck11]"), setcheck11);
  8345. RFX_Text(pFX, _T("[setcheck12]"), setcheck12);
  8346. RFX_Text(pFX, _T("[setprintstyle3]"), setprintstyle3);
  8347. RFX_Text(pFX, _T("[msgcheck7]"), msgcheck7);
  8348. RFX_Text(pFX, _T("[msgcheck8]"), msgcheck8);
  8349. RFX_Text(pFX, _T("[msgcheck9]"), msgcheck9);
  8350. RFX_Text(pFX, _T("[msgcheck10]"), msgcheck10);
  8351. RFX_Text(pFX, _T("[msgcontent8]"), msgcontent8, 4096);
  8352. RFX_Text(pFX, _T("[msgcontent9]"), msgcontent9, 4096);
  8353. RFX_Text(pFX, _T("[msgcontent10]"), msgcontent10, 4096);
  8354. RFX_Text(pFX, _T("[setcheck13]"), setcheck13);
  8355. RFX_Text(pFX, _T("[time1]"), time1);
  8356. RFX_Text(pFX, _T("[time2]"), time2);
  8357. RFX_Text(pFX, _T("[time3]"), time3);
  8358. RFX_Text(pFX, _T("[setcheck14]"), setcheck14);
  8359. RFX_Text(pFX, _T("[setcheck15]"), setcheck15);
  8360. RFX_Text(pFX, _T("[setcheck17]"), setcheck17);
  8361. RFX_Text(pFX, _T("[setcheck18]"), setcheck18);
  8362. RFX_Text(pFX, _T("[setcheck19]"), setcheck19);
  8363. RFX_Text(pFX, _T("[msgcheck11]"), msgcheck11);
  8364. RFX_Text(pFX, _T("[msgcheck12]"), msgcheck12);
  8365. RFX_Text(pFX, _T("[msgcheck13]"), msgcheck13);
  8366. RFX_Text(pFX, _T("[msgcheck14]"), msgcheck14);
  8367. RFX_Text(pFX, _T("[msgcontent11]"), msgcontent11, 4096);
  8368. RFX_Text(pFX, _T("[msgcontent12]"), msgcontent12, 4096);
  8369. RFX_Text(pFX, _T("[msgcontent13]"), msgcontent13, 4096);
  8370. RFX_Text(pFX, _T("[msgcontent14]"), msgcontent14, 4096);
  8371. RFX_Text(pFX, _T("[setcheck6]"), setcheck6);
  8372. RFX_Text(pFX, _T("[msgcheck15]"), msgcheck15);
  8373. RFX_Text(pFX, _T("[msgcheck16]"), msgcheck16);
  8374. RFX_Text(pFX, _T("[msgcontent15]"), msgcontent15, 4096);
  8375. RFX_Text(pFX, _T("[logdays]"), logdays);
  8376. RFX_Text(pFX, _T("[uploadrule]"), uploadrule, 4096);
  8377. RFX_Text(pFX, _T("[setcheck20]"), setcheck20);
  8378. RFX_Text(pFX, _T("[cardnum]"), cardnum);
  8379. RFX_Text(pFX, _T("[info1]"), info1);
  8380. RFX_Text(pFX, _T("[info2]"), info2);
  8381. RFX_Text(pFX, _T("[info3]"), info3);
  8382. RFX_Text(pFX, _T("[cardscale]"), cardscale, 500);
  8383. RFX_Text(pFX, _T("[info7]"), m_info7, 120);
  8384. RFX_Text(pFX, _T("[setcheck21]"), setcheck21);
  8385. RFX_Text(pFX, _T("[setcheck22]"), setcheck22);
  8386. RFX_Text(pFX, _T("[setcheck23]"), setcheck23);
  8387. RFX_Text(pFX, _T("[hospitalmsgcheck1]"), hospitalmsgcheck1);
  8388. RFX_Text(pFX, _T("[hospitalmsgcheck2]"), hospitalmsgcheck2);
  8389. RFX_Text(pFX, _T("[serialno]"), serialno);
  8390. RFX_Text(pFX, _T("[serialno2]"), serialno2);
  8391. RFX_Text(pFX, _T("[msgcheck17]"), msgcheck17);
  8392. RFX_Text(pFX, _T("[info8]"), info8);
  8393. RFX_Text(pFX, _T("[info9]"), info9);
  8394. RFX_Text(pFX, _T("[setcheck24]"), setcheck24);
  8395. RFX_Text(pFX, _T("[outtime]"), outtime);
  8396. RFX_Text(pFX, _T("[msgcontent17]"), msgcontent17, 4096);
  8397. RFX_Text(pFX, _T("[reverse1]"), reverse1);
  8398. RFX_Text(pFX, _T("[reverse2]"), reverse2);
  8399. RFX_Text(pFX, _T("[reverse3]"), reverse3);
  8400. RFX_Text(pFX, _T("[reverse4]"), reverse4);
  8401. RFX_Text(pFX, _T("[reverse5]"), reverse5);
  8402. RFX_Text(pFX, _T("[delcheck1]"), m_delcheck1);
  8403. RFX_Text(pFX, _T("[delcheck2]"), m_delcheck2);
  8404. RFX_Text(pFX, _T("[delcheck3]"), m_delcheck3);
  8405. RFX_Text(pFX, _T("[delcheck4]"), m_delcheck4);
  8406. RFX_Text(pFX, _T("[deledit1]"), m_deledit1);
  8407. RFX_Text(pFX, _T("[deledit2]"), m_deledit2);
  8408. RFX_Text(pFX, _T("[deledit3]"), m_deledit3);
  8409. RFX_Text(pFX, _T("[deledit4]"), m_deledit4);
  8410. RFX_Text(pFX, _T("[alarmdays1]"), alarmdays1);
  8411. RFX_Text(pFX, _T("[alarmdays2]"), alarmdays2);
  8412. RFX_Text(pFX, _T("[alarmdays3]"), alarmdays3);
  8413. RFX_Text(pFX, _T("[alarmdays4]"), alarmdays4);
  8414. RFX_Text(pFX, _T("[alarmdays5]"), alarmdays5);
  8415. RFX_Text(pFX, _T("[alarmdays6]"), alarmdays6);
  8416. RFX_Text(pFX, _T("[msAccount]"), m_strMSAccount);
  8417. RFX_Text(pFX, _T("[msPassword]"), m_strMSPassWord);
  8418. RFX_Bool(pFX, _T("[original]"), m_bImgOriginal);
  8419. //}}AFX_FIELD_MAP
  8420. }
  8421. /////////////////////////////////////////////////////////////////////////////
  8422. // CRstversion diagnostics
  8423. #ifdef _DEBUG
  8424. void CRstversion::AssertValid() const
  8425. {
  8426. CRecordset::AssertValid();
  8427. }
  8428. void CRstversion::Dump(CDumpContext& dc) const
  8429. {
  8430. CRecordset::Dump(dc);
  8431. }
  8432. #endif //_DEBUG
  8433. IMPLEMENT_DYNAMIC(CRstbusinesstype, CRecordset)
  8434. CRstbusinesstype::CRstbusinesstype(CDatabase* pdb)
  8435. : CRecordset(pdb)
  8436. {
  8437. //{{AFX_FIELD_INIT(CRstbusinesstype)
  8438. m_name = _T("");
  8439. m_nFields = 1;
  8440. //}}AFX_FIELD_INIT
  8441. m_nDefaultType = forwardOnly;
  8442. this->m_pDatabase = g_curdb;
  8443. }
  8444. CString CRstbusinesstype::GetDefaultConnect()
  8445. {
  8446. return _T("ODBC;DSN=");
  8447. }
  8448. CString CRstbusinesstype::GetDefaultSQL()
  8449. {
  8450. return _T("[businesstype]");
  8451. }
  8452. void CRstbusinesstype::DoFieldExchange(CFieldExchange* pFX)
  8453. {
  8454. //{{AFX_FIELD_MAP(CRstbusinesstype)
  8455. pFX->SetFieldType(CFieldExchange::outputColumn);
  8456. RFX_Text(pFX, _T("[name]"), m_name);
  8457. //}}AFX_FIELD_MAP
  8458. }
  8459. /////////////////////////////////////////////////////////////////////////////
  8460. // CRstbusinesstype diagnostics
  8461. #ifdef _DEBUG
  8462. void CRstbusinesstype::AssertValid() const
  8463. {
  8464. CRecordset::AssertValid();
  8465. }
  8466. void CRstbusinesstype::Dump(CDumpContext& dc) const
  8467. {
  8468. CRecordset::Dump(dc);
  8469. }
  8470. #endif //_DEBUG
  8471. IMPLEMENT_DYNAMIC(CRstbusinessintention, CRecordset)
  8472. CRstbusinessintention::CRstbusinessintention(CDatabase* pdb)
  8473. : CRecordset(pdb)
  8474. {
  8475. //{{AFX_FIELD_INIT(CRstbusinessintention)
  8476. m_name = _T("");
  8477. m_nFields = 1;
  8478. //}}AFX_FIELD_INIT
  8479. m_nDefaultType = forwardOnly;
  8480. this->m_pDatabase = g_curdb;
  8481. }
  8482. CString CRstbusinessintention::GetDefaultConnect()
  8483. {
  8484. return _T("ODBC;DSN=");
  8485. }
  8486. CString CRstbusinessintention::GetDefaultSQL()
  8487. {
  8488. return _T("[businessintention]");
  8489. }
  8490. void CRstbusinessintention::DoFieldExchange(CFieldExchange* pFX)
  8491. {
  8492. //{{AFX_FIELD_MAP(CRstbusinessintention)
  8493. pFX->SetFieldType(CFieldExchange::outputColumn);
  8494. RFX_Text(pFX, _T("[name]"), m_name);
  8495. //}}AFX_FIELD_MAP
  8496. }
  8497. /////////////////////////////////////////////////////////////////////////////
  8498. // CRstbusinessintention diagnostics
  8499. #ifdef _DEBUG
  8500. void CRstbusinessintention::AssertValid() const
  8501. {
  8502. CRecordset::AssertValid();
  8503. }
  8504. void CRstbusinessintention::Dump(CDumpContext& dc) const
  8505. {
  8506. CRecordset::Dump(dc);
  8507. }
  8508. #endif //_DEBUG
  8509. IMPLEMENT_DYNAMIC(CRstclienttype, CRecordset)
  8510. CRstclienttype::CRstclienttype(CDatabase* pdb)
  8511. : CRecordset(pdb)
  8512. {
  8513. //{{AFX_FIELD_INIT(CRstclienttype)
  8514. m_name = _T("");
  8515. m_nFields = 1;
  8516. //}}AFX_FIELD_INIT
  8517. m_nDefaultType = forwardOnly;
  8518. this->m_pDatabase = g_curdb;
  8519. }
  8520. CString CRstclienttype::GetDefaultConnect()
  8521. {
  8522. return _T("ODBC;DSN=");
  8523. }
  8524. CString CRstclienttype::GetDefaultSQL()
  8525. {
  8526. return _T("[clienttype]");
  8527. }
  8528. void CRstclienttype::DoFieldExchange(CFieldExchange* pFX)
  8529. {
  8530. //{{AFX_FIELD_MAP(CRstclienttype)
  8531. pFX->SetFieldType(CFieldExchange::outputColumn);
  8532. RFX_Text(pFX, _T("[name]"), m_name);
  8533. //}}AFX_FIELD_MAP
  8534. }
  8535. /////////////////////////////////////////////////////////////////////////////
  8536. // CRstclienttype diagnostics
  8537. #ifdef _DEBUG
  8538. void CRstclienttype::AssertValid() const
  8539. {
  8540. CRecordset::AssertValid();
  8541. }
  8542. void CRstclienttype::Dump(CDumpContext& dc) const
  8543. {
  8544. CRecordset::Dump(dc);
  8545. }
  8546. #endif //_DEBUG
  8547. IMPLEMENT_DYNAMIC(CRsthospital, CRecordset)
  8548. CRsthospital::CRsthospital(CDatabase* pdb)
  8549. : CRecordset(pdb)
  8550. {
  8551. //{{AFX_FIELD_INIT(CRsthospital)
  8552. m_name = _T("");
  8553. m_nFields = 1;
  8554. //}}AFX_FIELD_INIT
  8555. m_nDefaultType = forwardOnly;
  8556. this->m_pDatabase = g_curdb;
  8557. }
  8558. CString CRsthospital::GetDefaultConnect()
  8559. {
  8560. return _T("ODBC;DSN=");
  8561. }
  8562. CString CRsthospital::GetDefaultSQL()
  8563. {
  8564. return _T("[hospital]");
  8565. }
  8566. void CRsthospital::DoFieldExchange(CFieldExchange* pFX)
  8567. {
  8568. //{{AFX_FIELD_MAP(CRsthospital)
  8569. pFX->SetFieldType(CFieldExchange::outputColumn);
  8570. RFX_Text(pFX, _T("[name]"), m_name);
  8571. //}}AFX_FIELD_MAP
  8572. }
  8573. /////////////////////////////////////////////////////////////////////////////
  8574. // CRsthospital diagnostics
  8575. #ifdef _DEBUG
  8576. void CRsthospital::AssertValid() const
  8577. {
  8578. CRecordset::AssertValid();
  8579. }
  8580. void CRsthospital::Dump(CDumpContext& dc) const
  8581. {
  8582. CRecordset::Dump(dc);
  8583. }
  8584. #endif //_DEBUG
  8585. IMPLEMENT_DYNAMIC(CRstclientqequirement, CRecordset)
  8586. CRstclientqequirement::CRstclientqequirement(CDatabase* pdb)
  8587. : CRecordset(pdb)
  8588. {
  8589. //{{AFX_FIELD_INIT(CRstclientqequirement)
  8590. m_name = _T("");
  8591. m_nFields = 1;
  8592. //}}AFX_FIELD_INIT
  8593. m_nDefaultType = forwardOnly;
  8594. this->m_pDatabase = g_curdb;
  8595. }
  8596. CString CRstclientqequirement::GetDefaultConnect()
  8597. {
  8598. return _T("ODBC;DSN=");
  8599. }
  8600. CString CRstclientqequirement::GetDefaultSQL()
  8601. {
  8602. return _T("[clientqequirement]");
  8603. }
  8604. void CRstclientqequirement::DoFieldExchange(CFieldExchange* pFX)
  8605. {
  8606. //{{AFX_FIELD_MAP(CRstclientqequirement)
  8607. pFX->SetFieldType(CFieldExchange::outputColumn);
  8608. RFX_Text(pFX, _T("[name]"), m_name);
  8609. //}}AFX_FIELD_MAP
  8610. }
  8611. /////////////////////////////////////////////////////////////////////////////
  8612. // CRstclientqequirement diagnostics
  8613. #ifdef _DEBUG
  8614. void CRstclientqequirement::AssertValid() const
  8615. {
  8616. CRecordset::AssertValid();
  8617. }
  8618. void CRstclientqequirement::Dump(CDumpContext& dc) const
  8619. {
  8620. CRecordset::Dump(dc);
  8621. }
  8622. #endif //_DEBUG
  8623. IMPLEMENT_DYNAMIC(CRsthospitalclientcontactreg, CRecordset)
  8624. CRsthospitalclientcontactreg::CRsthospitalclientcontactreg(CDatabase* pdb)
  8625. : CRecordset(pdb)
  8626. {
  8627. //{{AFX_FIELD_INIT(CRsthospitalclientcontactreg)
  8628. m_nFields = 8;
  8629. //}}AFX_FIELD_INIT
  8630. m_nDefaultType = forwardOnly;
  8631. this->m_pDatabase = g_curdb;
  8632. }
  8633. CString CRsthospitalclientcontactreg::GetDefaultConnect()
  8634. {
  8635. return _T("ODBC;DSN=");
  8636. }
  8637. CString CRsthospitalclientcontactreg::GetDefaultSQL()
  8638. {
  8639. return _T("[hospitalclientcontactreg]");
  8640. }
  8641. void CRsthospitalclientcontactreg::DoFieldExchange(CFieldExchange* pFX)
  8642. {
  8643. //{{AFX_FIELD_MAP(CRsthospitalclientcontactreg)
  8644. pFX->SetFieldType(CFieldExchange::outputColumn);
  8645. RFX_Text(pFX, _T("[autoid]"), autoid);
  8646. RFX_Text(pFX, _T("[businesstype]"), businesstype);
  8647. RFX_Text(pFX, _T("[businessintention]"), businessintention);
  8648. RFX_Text(pFX, _T("[bookingdate]"), bookingdate);
  8649. RFX_Text(pFX, _T("[desaddr]"), desaddr);
  8650. RFX_Text(pFX, _T("[businessremark]"), businessremark);
  8651. RFX_Text(pFX, _T("[alarmcheck]"), alarmcheck);
  8652. RFX_Text(pFX, _T("[alarmdate]"), alarmdate);
  8653. //}}AFX_FIELD_MAP
  8654. }
  8655. /////////////////////////////////////////////////////////////////////////////
  8656. // CRsthospitalclientcontactreg diagnostics
  8657. #ifdef _DEBUG
  8658. void CRsthospitalclientcontactreg::AssertValid() const
  8659. {
  8660. CRecordset::AssertValid();
  8661. }
  8662. void CRsthospitalclientcontactreg::Dump(CDumpContext& dc) const
  8663. {
  8664. CRecordset::Dump(dc);
  8665. }
  8666. #endif //_DEBUG
  8667. IMPLEMENT_DYNAMIC(CRsthospitalview, CRecordset)
  8668. CRsthospitalview::CRsthospitalview(CDatabase* pdb)
  8669. : CRecordset(pdb)
  8670. {
  8671. //m_nFields = 24; // Jeff,添加了变量,这里要修改个数;
  8672. m_nFields = 26;
  8673. //}}AFX_FIELD_INIT
  8674. m_nDefaultType = forwardOnly;
  8675. this->m_pDatabase = g_curdb;
  8676. m_strSort="id desc";
  8677. }
  8678. CString CRsthospitalview::GetDefaultConnect()
  8679. {
  8680. return _T("ODBC;DSN=");
  8681. }
  8682. CString CRsthospitalview::GetDefaultSQL()
  8683. {
  8684. return _T("[hospitalview]");
  8685. }
  8686. void CRsthospitalview::DoFieldExchange(CFieldExchange* pFX)
  8687. {
  8688. //{{AFX_FIELD_MAP(CRsthospitalview)
  8689. pFX->SetFieldType(CFieldExchange::outputColumn);
  8690. RFX_Text(pFX, _T("[id]"), id);
  8691. RFX_Text(pFX, _T("[name1]"), name1);
  8692. RFX_Text(pFX, _T("[name2]"), name2);
  8693. RFX_Text(pFX, _T("[sex]"), sex);
  8694. /************************************************************************/
  8695. RFX_Text(pFX, _T("[birthdaytype]"), birthdaytype);
  8696. RFX_Text(pFX, _T("[birthday]"), birthday);
  8697. /************************************************************************/
  8698. RFX_Text(pFX, _T("[from]"), from);
  8699. RFX_Text(pFX, _T("[type]"), type);
  8700. RFX_Text(pFX, _T("[hospital]"), hospital);
  8701. RFX_Text(pFX, _T("[phone1]"), phone1);
  8702. RFX_Text(pFX, _T("[phone2]"), phone2);
  8703. RFX_Text(pFX, _T("[qq]"), qq);
  8704. RFX_Text(pFX, _T("[addr1]"), addr1);
  8705. RFX_Text(pFX, _T("[addr2]"), addr2);
  8706. RFX_Text(pFX, _T("[addr3]"), addr3);
  8707. RFX_Text(pFX, _T("[inputdate]"), inputdate);
  8708. RFX_Text(pFX, _T("[clerk]"), clerk);
  8709. RFX_Text(pFX, _T("[inputer]"), inputer);
  8710. RFX_Text(pFX, _T("[businesstype]"), businesstype);
  8711. RFX_Text(pFX, _T("[businessintention]"), businessintention);
  8712. RFX_Text(pFX, _T("[bookingdate]"), bookingdate);
  8713. RFX_Text(pFX, _T("[alarmdate]"), alarmdate);
  8714. RFX_Text(pFX, _T("[desaddr]"), desaddr);
  8715. RFX_Text(pFX, _T("[businessremark]"), businessremark);
  8716. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  8717. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  8718. //}}AFX_FIELD_MAP
  8719. }
  8720. /////////////////////////////////////////////////////////////////////////////
  8721. // CRsthospitalview diagnostics
  8722. #ifdef _DEBUG
  8723. void CRsthospitalview::AssertValid() const
  8724. {
  8725. CRecordset::AssertValid();
  8726. }
  8727. void CRsthospitalview::Dump(CDumpContext& dc) const
  8728. {
  8729. CRecordset::Dump(dc);
  8730. }
  8731. #endif //_DEBUG
  8732. IMPLEMENT_DYNAMIC(CRstclientserviceview, CRecordset)
  8733. CRstclientserviceview::CRstclientserviceview(CDatabase* pdb)
  8734. : CRecordset(pdb)
  8735. {
  8736. //{{AFX_FIELD_INIT(CRstclientserviceview)
  8737. m_nFields = 22;
  8738. //}}AFX_FIELD_INIT
  8739. m_nDefaultType = forwardOnly;
  8740. this->m_pDatabase = g_curdb;
  8741. m_strSort="id desc,autoid";
  8742. }
  8743. CString CRstclientserviceview::GetDefaultConnect()
  8744. {
  8745. return _T("ODBC;DSN=");
  8746. }
  8747. CString CRstclientserviceview::GetDefaultSQL()
  8748. {
  8749. return _T("[clientserviceview]");
  8750. }
  8751. void CRstclientserviceview::DoFieldExchange(CFieldExchange* pFX)
  8752. {
  8753. //{{AFX_FIELD_MAP(CRstclientserviceview)
  8754. pFX->SetFieldType(CFieldExchange::outputColumn);
  8755. RFX_Text(pFX, _T("[dindanid]"), dindanid);
  8756. RFX_Text(pFX, _T("[name1]"), name1);
  8757. RFX_Text(pFX, _T("[name2]"), name2);
  8758. RFX_Text(pFX, _T("[phone1]"), phone1);
  8759. RFX_Text(pFX, _T("[addr1]"), addr1);
  8760. RFX_Text(pFX, _T("[qq1]"), qq1);
  8761. RFX_Text(pFX, _T("[txtype]"), txtype);
  8762. RFX_Text(pFX, _T("[ren]"), ren);
  8763. RFX_Text(pFX, _T("[from]"), from);
  8764. RFX_Text(pFX, _T("[checkcontent]"), checkcontent);
  8765. RFX_Text(pFX, _T("[clientqq]"), clientqq);
  8766. RFX_Text(pFX, _T("[contact]"), contact);
  8767. RFX_Text(pFX, _T("[time]"), time);
  8768. RFX_Text(pFX, _T("[clerk]"), clerk);
  8769. RFX_Text(pFX, _T("[useqq]"), useqq);
  8770. RFX_Text(pFX, _T("[date]"), date);
  8771. RFX_Text(pFX, _T("[question]"), question);
  8772. RFX_Text(pFX, _T("[solution]"), solution, 4096);
  8773. RFX_Text(pFX, _T("[result]"), result);
  8774. RFX_Text(pFX, _T("[autoid]"), autoid);
  8775. RFX_Text(pFX, _T("[pinyin1]"), pinyin1);
  8776. RFX_Text(pFX, _T("[pinyin2]"), pinyin2);
  8777. //}}AFX_FIELD_MAP
  8778. }
  8779. /////////////////////////////////////////////////////////////////////////////
  8780. // CRstclientserviceview diagnostics
  8781. #ifdef _DEBUG
  8782. void CRstclientserviceview::AssertValid() const
  8783. {
  8784. CRecordset::AssertValid();
  8785. }
  8786. void CRstclientserviceview::Dump(CDumpContext& dc) const
  8787. {
  8788. CRecordset::Dump(dc);
  8789. }
  8790. #endif //_DEBUG
  8791. IMPLEMENT_DYNAMIC(CRsthospitalclient, CRecordset)
  8792. CRsthospitalclient::CRsthospitalclient(CDatabase* pdb)
  8793. : CRecordset(pdb)
  8794. {
  8795. //{{AFX_FIELD_INIT(CRsthospitalclient)
  8796. m_nFields = 28;
  8797. //}}AFX_FIELD_INIT
  8798. m_nDefaultType = forwardOnly;
  8799. this->m_pDatabase = g_curdb;
  8800. }
  8801. CString CRsthospitalclient::GetDefaultConnect()
  8802. {
  8803. return _T("ODBC;DSN=");
  8804. }
  8805. CString CRsthospitalclient::GetDefaultSQL()
  8806. {
  8807. return _T("[hospitalclient]");
  8808. }
  8809. void CRsthospitalclient::DoFieldExchange(CFieldExchange* pFX)
  8810. {
  8811. //{{AFX_FIELD_MAP(CRsthospitalclient)
  8812. pFX->SetFieldType(CFieldExchange::outputColumn);
  8813. RFX_Text(pFX, _T("[checkmsg]"), checkmsg);
  8814. RFX_Text(pFX, _T("[name1]"), name1);
  8815. RFX_Text(pFX, _T("[name2]"), name2);
  8816. RFX_Text(pFX, _T("[food]"), food);
  8817. RFX_Text(pFX, _T("[sex]"), sex);
  8818. RFX_Text(pFX, _T("[check1]"), check1);
  8819. RFX_Text(pFX, _T("[birthdaytype]"), birthdaytype);
  8820. RFX_Text(pFX, _T("[birthday]"), birthday);
  8821. RFX_Text(pFX, _T("[pregnancydays]"), pregnancydays);
  8822. RFX_Text(pFX, _T("[qq]"), qq);
  8823. RFX_Text(pFX, _T("[date1]"), date1);
  8824. RFX_Text(pFX, _T("[id]"), no);
  8825. RFX_Text(pFX, _T("[from]"), from);
  8826. RFX_Text(pFX, _T("[clerk]"), clerk);
  8827. RFX_Text(pFX, _T("[type]"), type);
  8828. RFX_Text(pFX, _T("[hospital]"), hospital);
  8829. RFX_Text(pFX, _T("[remark]"), remark);
  8830. RFX_Text(pFX, _T("[phone1]"), phone1);
  8831. RFX_Text(pFX, _T("[phone2]"), phone2);
  8832. RFX_Text(pFX, _T("[phone3]"), phone3);
  8833. RFX_Text(pFX, _T("[phone4]"), phone4);
  8834. RFX_Text(pFX, _T("[phone5]"), phone5);
  8835. RFX_Text(pFX, _T("[addr1]"), addr1);
  8836. RFX_Text(pFX, _T("[addr2]"), addr2);
  8837. RFX_Text(pFX, _T("[addr3]"), addr3);
  8838. RFX_Text(pFX, _T("[post1]"), post1);
  8839. RFX_Text(pFX, _T("[post2]"), post2);
  8840. RFX_Text(pFX, _T("[post3]"), post3);
  8841. //}}AFX_FIELD_MAP
  8842. }
  8843. /////////////////////////////////////////////////////////////////////////////
  8844. // CRsthospitalclient diagnostics
  8845. #ifdef _DEBUG
  8846. void CRsthospitalclient::AssertValid() const
  8847. {
  8848. CRecordset::AssertValid();
  8849. }
  8850. void CRsthospitalclient::Dump(CDumpContext& dc) const
  8851. {
  8852. CRecordset::Dump(dc);
  8853. }
  8854. #endif //_DEBUG
  8855. IMPLEMENT_DYNAMIC(CRstfixedassets, CRecordset)
  8856. CRstfixedassets::CRstfixedassets(CDatabase* pdb)
  8857. : CRecordset(pdb)
  8858. {
  8859. //{{AFX_FIELD_INIT(CRstfixedassets)
  8860. m_nFields = 8;
  8861. //}}AFX_FIELD_INIT
  8862. m_nDefaultType = dynamic;
  8863. this->m_pDatabase = g_curdb;
  8864. }
  8865. CString CRstfixedassets::GetDefaultConnect()
  8866. {
  8867. return _T("ODBC;DSN=");
  8868. }
  8869. CString CRstfixedassets::GetDefaultSQL()
  8870. {
  8871. return _T("[fixedassets]");
  8872. }
  8873. void CRstfixedassets::DoFieldExchange(CFieldExchange* pFX)
  8874. {
  8875. //{{AFX_FIELD_MAP(CRstfixedassets)
  8876. pFX->SetFieldType(CFieldExchange::outputColumn);
  8877. RFX_Text(pFX, _T("[id]"), id);
  8878. RFX_Text(pFX, _T("[name]"), name);
  8879. RFX_Text(pFX, _T("[count]"), count);
  8880. RFX_Text(pFX, _T("[type]"), type);
  8881. RFX_Text(pFX, _T("[clerk]"), clerk);
  8882. RFX_Text(pFX, _T("[date]"), date);
  8883. RFX_Text(pFX, _T("[remark]"), remark, 4096);
  8884. RFX_LongBinary(pFX, _T("[photo]"), photo);
  8885. //}}AFX_FIELD_MAP
  8886. }
  8887. /////////////////////////////////////////////////////////////////////////////
  8888. // CRstfixedassets diagnostics
  8889. #ifdef _DEBUG
  8890. void CRstfixedassets::AssertValid() const
  8891. {
  8892. CRecordset::AssertValid();
  8893. }
  8894. void CRstfixedassets::Dump(CDumpContext& dc) const
  8895. {
  8896. CRecordset::Dump(dc);
  8897. }
  8898. #endif //_DEBUG [no]
  8899. IMPLEMENT_DYNAMIC(qjviewReg, CRecordset)
  8900. qjviewReg::qjviewReg(CDatabase* pdb)
  8901. : CRecordset(pdb)
  8902. {
  8903. //{{AFX_FIELD_INIT(qjviewReg)
  8904. //m_nFields = 10;
  8905. m_nFields = 11; // 多一列商品制作费用;
  8906. //}}AFX_FIELD_INIT
  8907. this->m_pDatabase = g_curdb;
  8908. m_nDefaultType = forwardOnly;
  8909. }
  8910. CString qjviewReg::GetDefaultConnect()
  8911. {
  8912. return _T("ODBC;DSN=");
  8913. }
  8914. CString qjviewReg::GetDefaultSQL()
  8915. {
  8916. return _T("[qjview]");
  8917. }
  8918. void qjviewReg::DoFieldExchange(CFieldExchange* pFX)
  8919. {
  8920. //{{AFX_FIELD_MAP(qjviewReg)
  8921. pFX->SetFieldType(CFieldExchange::outputColumn);
  8922. RFX_Text(pFX, _T("[id]"), id);
  8923. RFX_Text(pFX, _T("[name1]"), name1);
  8924. RFX_Text(pFX, _T("[name2]"), name2);
  8925. RFX_Text(pFX, _T("[name]"), name);
  8926. RFX_Text(pFX, _T("[shuliang]"), shuliang);
  8927. RFX_Text(pFX, _T("[status3]"), status3);
  8928. RFX_Text(pFX, _T("[status4]"), status4);
  8929. RFX_Text(pFX, _T("[date2]"), date2);
  8930. RFX_Text(pFX, _T("[status1]"), status1);
  8931. RFX_Text(pFX, _T("[date3]"), date3);
  8932. RFX_Text(pFX, _T("[prodcosts]"), m_strprodcosts); // 商品制作费用;
  8933. //}}AFX_FIELD_MAP clerk
  8934. }
  8935. /////////////////////////////////////////////////////////////////////////////
  8936. // qjviewReg diagnostics
  8937. #ifdef _DEBUG
  8938. void qjviewReg::AssertValid() const
  8939. {
  8940. CRecordset::AssertValid();
  8941. }
  8942. void qjviewReg::Dump(CDumpContext& dc) const
  8943. {
  8944. CRecordset::Dump(dc);
  8945. }
  8946. #endif //_DEBUG
  8947. IMPLEMENT_DYNAMIC(CRstfilemanage, CRecordset)
  8948. CRstfilemanage::CRstfilemanage(CDatabase* pdb)
  8949. : CRecordset(pdb)
  8950. {
  8951. //{{AFX_FIELD_INIT(CRstfilemanage)
  8952. m_nFields = 3;
  8953. //}}AFX_FIELD_INIT
  8954. this->m_pDatabase = g_curdb;
  8955. m_nDefaultType = forwardOnly;
  8956. }
  8957. CString CRstfilemanage::GetDefaultConnect()
  8958. {
  8959. return _T("ODBC;DSN=");
  8960. }
  8961. CString CRstfilemanage::GetDefaultSQL()
  8962. {
  8963. return _T("[filemanage]");
  8964. }
  8965. void CRstfilemanage::DoFieldExchange(CFieldExchange* pFX)
  8966. {
  8967. //{{AFX_FIELD_MAP(CRstfilemanage)
  8968. pFX->SetFieldType(CFieldExchange::outputColumn);
  8969. RFX_Text(pFX, _T("[autoid]"), autoid);
  8970. RFX_Text(pFX, _T("[parent]"), parent);
  8971. RFX_Text(pFX, _T("[name]"), name);
  8972. //}}AFX_FIELD_MAP clerk
  8973. }
  8974. /////////////////////////////////////////////////////////////////////////////
  8975. // CRstfilemanage diagnostics
  8976. #ifdef _DEBUG
  8977. void CRstfilemanage::AssertValid() const
  8978. {
  8979. CRecordset::AssertValid();
  8980. }
  8981. void CRstfilemanage::Dump(CDumpContext& dc) const
  8982. {
  8983. CRecordset::Dump(dc);
  8984. }
  8985. #endif //_DEBUG
  8986. IMPLEMENT_DYNAMIC(CRstfilemanage2, CRecordset)
  8987. CRstfilemanage2::CRstfilemanage2(CDatabase* pdb)
  8988. : CRecordset(pdb)
  8989. {
  8990. //{{AFX_FIELD_INIT(CRstfilemanage2)
  8991. m_nFields = 7;
  8992. //}}AFX_FIELD_INIT
  8993. this->m_pDatabase = g_curdb;
  8994. m_nDefaultType = forwardOnly;
  8995. m_strSort="date desc";
  8996. }
  8997. CString CRstfilemanage2::GetDefaultConnect()
  8998. {
  8999. return _T("ODBC;DSN=");
  9000. }
  9001. CString CRstfilemanage2::GetDefaultSQL()
  9002. {
  9003. return _T("[filemanage2]");
  9004. }
  9005. void CRstfilemanage2::DoFieldExchange(CFieldExchange* pFX)
  9006. {
  9007. //{{AFX_FIELD_MAP(CRstfilemanage2)
  9008. pFX->SetFieldType(CFieldExchange::outputColumn);
  9009. RFX_Text(pFX, _T("[parent]"), parent);
  9010. RFX_Text(pFX, _T("[filename]"), filename);
  9011. RFX_Text(pFX, _T("[clerk]"), clerk);
  9012. RFX_Text(pFX, _T("[date]"), date);
  9013. RFX_Text(pFX, _T("[level]"), level);
  9014. RFX_Text(pFX, _T("[bz]"), bz);
  9015. RFX_Text(pFX, _T("[position]"), position);
  9016. //}}AFX_FIELD_MAP clerk
  9017. }
  9018. /////////////////////////////////////////////////////////////////////////////
  9019. // CRstfilemanage2 diagnostics
  9020. #ifdef _DEBUG
  9021. void CRstfilemanage2::AssertValid() const
  9022. {
  9023. CRecordset::AssertValid();
  9024. }
  9025. void CRstfilemanage2::Dump(CDumpContext& dc) const
  9026. {
  9027. CRecordset::Dump(dc);
  9028. }
  9029. #endif //_DEBUG
  9030. #if JEFF_TEST_ON
  9031. IMPLEMENT_DYNAMIC(CRstTakePhotosOrder, CRecordset)
  9032. CRstTakePhotosOrder::CRstTakePhotosOrder(CDatabase* pdb): CRecordset(pdb)
  9033. {
  9034. m_nFields = 16;
  9035. m_nDefaultType = forwardOnly;
  9036. this->m_pDatabase = g_curdb;
  9037. m_strSort = "bookingdate,time";
  9038. }
  9039. CString CRstTakePhotosOrder::GetDefaultConnect()
  9040. {
  9041. return _T("ODBC;DSN=");
  9042. }
  9043. CString CRstTakePhotosOrder::GetDefaultSQL()
  9044. {
  9045. return _T("[takeview]");
  9046. }
  9047. void CRstTakePhotosOrder::DoFieldExchange(CFieldExchange* pFX)
  9048. {
  9049. pFX->SetFieldType(CFieldExchange::outputColumn);
  9050. RFX_Text(pFX, _T("[id]"), id);
  9051. RFX_Text(pFX, _T("[name1]"), name1);
  9052. RFX_Text(pFX, _T("[name2]"), name2);
  9053. RFX_Text(pFX, _T("[taoxiname]"), taoxiname);
  9054. RFX_Text(pFX, _T("[taoxijiage]"), taoxijiage);
  9055. RFX_Text(pFX, _T("[phone1]"), phone1);
  9056. RFX_Text(pFX, _T("[phone2]"), phone2);
  9057. RFX_Text(pFX, _T("[name]"), name);
  9058. RFX_Text(pFX, _T("[status]"), status);
  9059. RFX_Text(pFX, _T("[waiter1]"), waiter1);
  9060. RFX_Text(pFX, _T("[waiter2]"), waiter2);
  9061. RFX_Text(pFX, _T("[time5]"), time5);
  9062. RFX_Text(pFX, _T("[time3]"), time3);
  9063. RFX_Text(pFX, _T("[bookingdate]"), bookingdate);
  9064. RFX_Text(pFX, _T("[time]"), time);
  9065. RFX_Text(pFX, _T("[ren]"), ren);
  9066. }
  9067. #ifdef _DEBUG
  9068. void CRstTakePhotosOrder::AssertValid() const
  9069. {
  9070. CRecordset::AssertValid();
  9071. }
  9072. void CRstTakePhotosOrder::Dump(CDumpContext& dc) const
  9073. {
  9074. CRecordset::Dump(dc);
  9075. }
  9076. #endif //_DEBUG
  9077. #endif