.log 629 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417
  1. !SESSION 2019-05-05 09:07:51.889 -----------------------------------------------
  2. eclipse.buildId=4.4.2.M20150204-1700
  3. java.version=1.7.0_80
  4. java.vendor=Oracle Corporation
  5. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  6. Framework arguments: -product org.eclipse.epp.package.jee.product
  7. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  8. This is a continuation of log file F:\zhcx\.metadata\.bak_0.log
  9. Created Time: 2019-05-05 09:36:32.254
  10. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:36:32.255
  11. !MESSAGE Error while processing working copy
  12. !STACK 1
  13. JavaScript Model Exception: java.lang.NullPointerException
  14. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  15. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  16. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  17. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  18. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  19. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  20. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  21. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  22. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  23. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  24. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  25. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  26. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  27. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  28. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  29. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  30. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  31. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  32. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  33. Caused by: java.lang.NullPointerException
  34. Caused by: java.lang.NullPointerException
  35. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:36:32.255
  36. !MESSAGE java.lang.NullPointerException
  37. !STACK 0
  38. java.lang.NullPointerException
  39. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:37:09.493
  40. !MESSAGE Exception occurred during problem detection:
  41. ----------------------------------- SOURCE BEGIN -------------------------------------
  42. (function(){search();})();
  43. (function(){WdatePicker();})();
  44. (function(){WdatePicker();})();
  45. (function(){Data.get();})();
  46. var Data = {
  47. "get" : function(){
  48. var tip = layer.load(2);
  49. var url = "listAjax.do";
  50. $.ajax({
  51. "url" : url,
  52. "data" : {
  53. "departmentId" : $("#departmentId").val(),
  54. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  55. "jzh" : $("#jzh").val(),
  56. "begDate" : $("#dateBegin").val(),
  57. "endDate" : $("#dateEnd").val(),
  58. "searchKey" : $("#searchKey").val()
  59. },
  60. "type" : "POST",
  61. "dataType" : "json",
  62. "async" : true,
  63. "success" : function(data) {
  64. if(data != null && data != ""){
  65. var html = "";
  66. var sum =0;
  67. var ypsz = new Array();
  68. var jesz =new Array();
  69. var tjrq="";
  70. for(var i = 0; i < data.length; i++){
  71. var index = i + 1;
  72. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  73. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  74. var patient_name = data[i].XM == null ? "" : data[i].XM;
  75. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  76. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  77. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  78. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  79. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  80. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  81. sum = sum +sum_total;
  82. html += "_$ta";
  83. html += "_$tag____________" + index + "_$tag";
  84. html += "_$tag____________" + zyh + "_$tag";
  85. html += "_$tag____________" + jzh + "_$tag";
  86. html += "_$tag____________" + patient_name + "_$tag";
  87. html += "_$tag____________" + item_id + "_$tag";
  88. html += "_$tag____________" + item_cnname + "_$tag";
  89. html += "_$tag____________" + medcftype_name + "_$tag";
  90. html += "_$tag____________" + jsrq + "_$tag";
  91. html += "_$tag____________" + sum_total +"_$tag";
  92. html += "_$tag____________" + fempname + "_$tag";
  93. html += "_$tag";
  94. ypsz[i]=item_cnname;
  95. jesz[i]=sum_total;
  96. }
  97. html += "_$ta";
  98. html += "_$tag______________$tag";
  99. html += "_$tag______________$tag";
  100. html += "_$tag______________$tag";
  101. html += "_$tag______________$tag";
  102. html += "_$tag______________$tag";
  103. html += "_$tag______________$tag";
  104. html += "_$tag______________$tag";
  105. html += "_$tag_____________总计_$tag";
  106. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  107. html += "_$tag______________$tag";
  108. html += "_$tag";
  109. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  110. showpictab(ypsz,jesz,tjrq);
  111. $("#dataTable").html(html);
  112. }
  113. },
  114. "complete": function(){
  115. layer.close(tip);
  116. }
  117. });
  118. }
  119. }
  120. function search(){
  121. $("#form").submit();
  122. }
  123. Date.prototype.Format = function (fmt) {
  124. var o = {
  125. "M+": this.getMonth() + 1, //月份
  126. "d+": this.getDate(), //日
  127. "h+": this.getHours(), //小时
  128. "m+": this.getMinutes(), //分
  129. "s+": this.getSeconds(), //秒
  130. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  131. "S": this.getMilliseconds() //毫秒
  132. };
  133. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  134. for (var k in o)
  135. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  136. return fmt;
  137. }
  138. function showpictab(ypsz,jesz,tjrq){
  139. require.config({
  140. paths: {
  141. echarts: '/zhcx/js/dist'
  142. }
  143. });
  144. require(
  145. [
  146. 'echarts',
  147. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  148. 'echarts/chart/bar'
  149. ],
  150. function (ec) {
  151. var myChart = ec.init(document.getElementById('main'));
  152. var option = {
  153. title : {
  154. text: '住院医生病人费用统计报表',
  155. subtext: tjrq
  156. },
  157. tooltip : {
  158. trigger: 'axis'
  159. },
  160. toolbox: {
  161. show : true,
  162. feature : {
  163. mark : {show: true},
  164. dataView : {show: true, readOnly: false},
  165. magicType : {show: true, type: ['line', 'bar']},
  166. restore : {show: true},
  167. saveAsImage : {show: true}
  168. }
  169. },
  170. calculable : true,
  171. xAxis : [
  172. {
  173. type : 'category',
  174. data : ypsz
  175. }
  176. ],
  177. yAxis : [
  178. {
  179. type : 'value'
  180. }
  181. ],
  182. series : [
  183. {
  184. name:'金额',
  185. type:'bar',
  186. data:jesz,
  187. markPoint : {
  188. data : [
  189. {type : 'max', name: '最大值'},
  190. {type : 'min', name: '最小值'}
  191. ]
  192. },
  193. markLine : {
  194. data : [
  195. {type : 'average', name: '平均值'}
  196. ]
  197. }
  198. }
  199. ]
  200. };
  201. myChart.setOption(option);
  202. }
  203. );
  204. }
  205. ----------------------------------- SOURCE END -------------------------------------
  206. !STACK 0
  207. java.lang.NullPointerException
  208. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:37:09.494
  209. !MESSAGE java.lang.NullPointerException
  210. !STACK 1
  211. JavaScript Model Exception: java.lang.NullPointerException
  212. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  213. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  214. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  215. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  216. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  217. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  218. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  219. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  220. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  221. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  222. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  223. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  224. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  225. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  226. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  227. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  228. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  229. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  230. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  231. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  232. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  233. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  234. Caused by: java.lang.NullPointerException
  235. Caused by: java.lang.NullPointerException
  236. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:37:09.494
  237. !MESSAGE java.lang.NullPointerException
  238. !STACK 0
  239. java.lang.NullPointerException
  240. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:04.831
  241. !MESSAGE Exception occurred during problem detection:
  242. ----------------------------------- SOURCE BEGIN -------------------------------------
  243. (function(){search();})();
  244. (function(){WdatePicker();})();
  245. (function(){WdatePicker();})();
  246. (function(){Data.get();})();
  247. var Data = {
  248. "get" : function(){
  249. var tip = layer.load(2);
  250. var url = "listAjax.do";
  251. $.ajax({
  252. "url" : url,
  253. "data" : {
  254. "departmentId" : $("#departmentId").val(),
  255. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  256. "jzh" : $("#jzh").val(),
  257. "begDate" : $("#dateBegin").val(),
  258. "endDate" : $("#dateEnd").val(),
  259. "searchKey" : $("#searchKey").val()
  260. },
  261. "type" : "POST",
  262. "dataType" : "json",
  263. "async" : true,
  264. "success" : function(data) {
  265. if(data != null && data != ""){
  266. var html = "";
  267. var sum =0;
  268. var ypsz = new Array();
  269. var jesz =new Array();
  270. var tjrq="";
  271. for(var i = 0; i < data.length; i++){
  272. var index = i + 1;
  273. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  274. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  275. var patient_name = data[i].XM == null ? "" : data[i].XM;
  276. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  277. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  278. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  279. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  280. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  281. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  282. sum = sum +sum_total;
  283. html += "_$ta";
  284. html += "_$tag____________" + index + "_$tag";
  285. html += "_$tag____________" + zyh + "_$tag";
  286. html += "_$tag____________" + jzh + "_$tag";
  287. html += "_$tag____________" + patient_name + "_$tag";
  288. html += "_$tag____________" + item_id + "_$tag";
  289. html += "_$tag____________" + item_cnname + "_$tag";
  290. html += "_$tag____________" + medcftype_name + "_$tag";
  291. html += "_$tag____________" + jsrq + "_$tag";
  292. html += "_$tag____________" + sum_total +"_$tag";
  293. html += "_$tag____________" + fempname + "_$tag";
  294. html += "_$tag";
  295. ypsz[i]=item_cnname;
  296. jesz[i]=sum_total;
  297. }
  298. html += "_$ta";
  299. html += "_$tag______________$tag";
  300. html += "_$tag______________$tag";
  301. html += "_$tag______________$tag";
  302. html += "_$tag______________$tag";
  303. html += "_$tag______________$tag";
  304. html += "_$tag______________$tag";
  305. html += "_$tag______________$tag";
  306. html += "_$tag_____________总计_$tag";
  307. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  308. html += "_$tag______________$tag";
  309. html += "_$tag";
  310. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  311. showpictab(ypsz,jesz,tjrq);
  312. $("#dataTable").html(html);
  313. }
  314. },
  315. "complete": function(){
  316. layer.close(tip);
  317. }
  318. });
  319. }
  320. }
  321. function search(){
  322. $("#form").submit();
  323. }
  324. Date.prototype.Format = function (fmt) {
  325. var o = {
  326. "M+": this.getMonth() + 1, //月份
  327. "d+": this.getDate(), //日
  328. "h+": this.getHours(), //小时
  329. "m+": this.getMinutes(), //分
  330. "s+": this.getSeconds(), //秒
  331. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  332. "S": this.getMilliseconds() //毫秒
  333. };
  334. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  335. for (var k in o)
  336. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  337. return fmt;
  338. }
  339. function showpictab(ypsz,jesz,tjrq){
  340. require.config({
  341. paths: {
  342. echarts: '/zhcx/js/dist'
  343. }
  344. });
  345. require(
  346. [
  347. 'echarts',
  348. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  349. 'echarts/chart/bar'
  350. ],
  351. function (ec) {
  352. var myChart = ec.init(document.getElementById('main'));
  353. var option = {
  354. title : {
  355. text: '住院医生病人费用统计报表',
  356. subtext: tjrq
  357. },
  358. tooltip : {
  359. trigger: 'axis'
  360. },
  361. toolbox: {
  362. show : true,
  363. feature : {
  364. mark : {show: true},
  365. dataView : {show: true, readOnly: false},
  366. magicType : {show: true, type: ['line', 'bar']},
  367. restore : {show: true},
  368. saveAsImage : {show: true}
  369. }
  370. },
  371. calculable : true,
  372. xAxis : [
  373. {
  374. type : 'category',
  375. data : ypsz
  376. }
  377. ],
  378. yAxis : [
  379. {
  380. type : 'value'
  381. }
  382. ],
  383. series : [
  384. {
  385. name:'金额',
  386. type:'bar',
  387. data:jesz,
  388. markPoint : {
  389. data : [
  390. {type : 'max', name: '最大值'},
  391. {type : 'min', name: '最小值'}
  392. ]
  393. },
  394. markLine : {
  395. data : [
  396. {type : 'average', name: '平均值'}
  397. ]
  398. }
  399. }
  400. ]
  401. };
  402. myChart.setOption(option);
  403. }
  404. );
  405. }
  406. ----------------------------------- SOURCE END -------------------------------------
  407. !STACK 0
  408. java.lang.NullPointerException
  409. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:04.831
  410. !MESSAGE Error while processing working copy
  411. !STACK 1
  412. JavaScript Model Exception: java.lang.NullPointerException
  413. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  414. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  415. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  416. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  417. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  418. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  419. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  420. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  421. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  422. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  423. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  424. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  425. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  426. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  427. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  428. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  429. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  430. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  431. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  432. Caused by: java.lang.NullPointerException
  433. Caused by: java.lang.NullPointerException
  434. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:04.831
  435. !MESSAGE java.lang.NullPointerException
  436. !STACK 0
  437. java.lang.NullPointerException
  438. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:09.580
  439. !MESSAGE Exception occurred during problem detection:
  440. ----------------------------------- SOURCE BEGIN -------------------------------------
  441. (function(){search();})();
  442. (function(){WdatePicker();})();
  443. (function(){WdatePicker();})();
  444. (function(){Data.get();})();
  445. var Data = {
  446. "get" : function(){
  447. var tip = layer.load(2);
  448. var url = "listAjax.do";
  449. $.ajax({
  450. "url" : url,
  451. "data" : {
  452. "departmentId" : $("#departmentId").val(),
  453. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  454. "jzh" : $("#jzh").val(),
  455. "begDate" : $("#dateBegin").val(),
  456. "endDate" : $("#dateEnd").val(),
  457. "searchKey" : $("#searchKey").val()
  458. },
  459. "type" : "POST",
  460. "dataType" : "json",
  461. "async" : true,
  462. "success" : function(data) {
  463. if(data != null && data != ""){
  464. var html = "";
  465. var sum =0;
  466. var ypsz = new Array();
  467. var jesz =new Array();
  468. var tjrq="";
  469. for(var i = 0; i < data.length; i++){
  470. var index = i + 1;
  471. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  472. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  473. var patient_name = data[i].XM == null ? "" : data[i].XM;
  474. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  475. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  476. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  477. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  478. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  479. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  480. sum = sum +sum_total;
  481. html += "_$ta";
  482. html += "_$tag____________" + index + "_$tag";
  483. html += "_$tag____________" + zyh + "_$tag";
  484. html += "_$tag____________" + jzh + "_$tag";
  485. html += "_$tag____________" + patient_name + "_$tag";
  486. html += "_$tag____________" + item_id + "_$tag";
  487. html += "_$tag____________" + item_cnname + "_$tag";
  488. html += "_$tag____________" + medcftype_name + "_$tag";
  489. html += "_$tag____________" + jsrq + "_$tag";
  490. html += "_$tag____________" + sum_total +"_$tag";
  491. html += "_$tag____________" + fempname + "_$tag";
  492. html += "_$tag";
  493. ypsz[i]=item_cnname;
  494. jesz[i]=sum_total;
  495. }
  496. html += "_$ta";
  497. html += "_$tag______________$tag";
  498. html += "_$tag______________$tag";
  499. html += "_$tag______________$tag";
  500. html += "_$tag______________$tag";
  501. html += "_$tag______________$tag";
  502. html += "_$tag______________$tag";
  503. html += "_$tag______________$tag";
  504. html += "_$tag_____________总计_$tag";
  505. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  506. html += "_$tag______________$tag";
  507. html += "_$tag";
  508. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  509. showpictab(ypsz,jesz,tjrq);
  510. $("#dataTable").html(html);
  511. }
  512. },
  513. "complete": function(){
  514. layer.close(tip);
  515. }
  516. });
  517. }
  518. }
  519. function search(){
  520. $("#form").submit();
  521. }
  522. Date.prototype.Format = function (fmt) {
  523. var o = {
  524. "M+": this.getMonth() + 1, //月份
  525. "d+": this.getDate(), //日
  526. "h+": this.getHours(), //小时
  527. "m+": this.getMinutes(), //分
  528. "s+": this.getSeconds(), //秒
  529. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  530. "S": this.getMilliseconds() //毫秒
  531. };
  532. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  533. for (var k in o)
  534. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  535. return fmt;
  536. }
  537. function showpictab(ypsz,jesz,tjrq){
  538. require.config({
  539. paths: {
  540. echarts: '/zhcx/js/dist'
  541. }
  542. });
  543. require(
  544. [
  545. 'echarts',
  546. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  547. 'echarts/chart/bar'
  548. ],
  549. function (ec) {
  550. var myChart = ec.init(document.getElementById('main'));
  551. var option = {
  552. title : {
  553. text: '住院医生病人费用统计报表',
  554. subtext: tjrq
  555. },
  556. tooltip : {
  557. trigger: 'axis'
  558. },
  559. toolbox: {
  560. show : true,
  561. feature : {
  562. mark : {show: true},
  563. dataView : {show: true, readOnly: false},
  564. magicType : {show: true, type: ['line', 'bar']},
  565. restore : {show: true},
  566. saveAsImage : {show: true}
  567. }
  568. },
  569. calculable : true,
  570. xAxis : [
  571. {
  572. type : 'category',
  573. data : ypsz
  574. }
  575. ],
  576. yAxis : [
  577. {
  578. type : 'value'
  579. }
  580. ],
  581. series : [
  582. {
  583. name:'金额',
  584. type:'bar',
  585. data:jesz,
  586. markPoint : {
  587. data : [
  588. {type : 'max', name: '最大值'},
  589. {type : 'min', name: '最小值'}
  590. ]
  591. },
  592. markLine : {
  593. data : [
  594. {type : 'average', name: '平均值'}
  595. ]
  596. }
  597. }
  598. ]
  599. };
  600. myChart.setOption(option);
  601. }
  602. );
  603. }
  604. ----------------------------------- SOURCE END -------------------------------------
  605. !STACK 0
  606. java.lang.NullPointerException
  607. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:09.581
  608. !MESSAGE Error while processing working copy
  609. !STACK 1
  610. JavaScript Model Exception: java.lang.NullPointerException
  611. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  612. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  613. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  614. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  615. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  616. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  617. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  618. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  619. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  620. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  621. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  622. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  623. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  624. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  625. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  626. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  627. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  628. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  629. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  630. Caused by: java.lang.NullPointerException
  631. Caused by: java.lang.NullPointerException
  632. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:09.581
  633. !MESSAGE java.lang.NullPointerException
  634. !STACK 0
  635. java.lang.NullPointerException
  636. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:11.484
  637. !MESSAGE Exception occurred during problem detection:
  638. ----------------------------------- SOURCE BEGIN -------------------------------------
  639. (function(){search();})();
  640. (function(){WdatePicker();})();
  641. (function(){WdatePicker();})();
  642. (function(){Data.get();})();
  643. var Data = {
  644. "get" : function(){
  645. var tip = layer.load(2);
  646. var url = "listAjax.do";
  647. $.ajax({
  648. "url" : url,
  649. "data" : {
  650. "departmentId" : $("#departmentId").val(),
  651. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  652. "jzh" : $("#jzh").val(),
  653. "begDate" : $("#dateBegin").val(),
  654. "endDate" : $("#dateEnd").val(),
  655. "searchKey" : $("#searchKey").val()
  656. },
  657. "type" : "POST",
  658. "dataType" : "json",
  659. "async" : true,
  660. "success" : function(data) {
  661. if(data != null && data != ""){
  662. var html = "";
  663. var sum =0;
  664. var ypsz = new Array();
  665. var jesz =new Array();
  666. var tjrq="";
  667. for(var i = 0; i < data.length; i++){
  668. var index = i + 1;
  669. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  670. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  671. var patient_name = data[i].XM == null ? "" : data[i].XM;
  672. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  673. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  674. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  675. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  676. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  677. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  678. sum = sum +sum_total;
  679. html += "_$ta";
  680. html += "_$tag____________" + index + "_$tag";
  681. html += "_$tag____________" + zyh + "_$tag";
  682. html += "_$tag____________" + jzh + "_$tag";
  683. html += "_$tag____________" + patient_name + "_$tag";
  684. html += "_$tag____________" + item_id + "_$tag";
  685. html += "_$tag____________" + item_cnname + "_$tag";
  686. html += "_$tag____________" + medcftype_name + "_$tag";
  687. html += "_$tag____________" + jsrq + "_$tag";
  688. html += "_$tag____________" + sum_total +"_$tag";
  689. html += "_$tag____________" + fempname + "_$tag";
  690. html += "_$tag";
  691. ypsz[i]=item_cnname;
  692. jesz[i]=sum_total;
  693. }
  694. html += "_$ta";
  695. html += "_$tag______________$tag";
  696. html += "_$tag______________$tag";
  697. html += "_$tag______________$tag";
  698. html += "_$tag______________$tag";
  699. html += "_$tag______________$tag";
  700. html += "_$tag______________$tag";
  701. html += "_$tag______________$tag";
  702. html += "_$tag_____________总计_$tag";
  703. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  704. html += "_$tag______________$tag";
  705. html += "_$tag";
  706. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  707. showpictab(ypsz,jesz,tjrq);
  708. $("#dataTable").html(html);
  709. }
  710. },
  711. "complete": function(){
  712. layer.close(tip);
  713. }
  714. });
  715. }
  716. }
  717. function search(){
  718. $("#form").submit();
  719. }
  720. Date.prototype.Format = function (fmt) {
  721. var o = {
  722. "M+": this.getMonth() + 1, //月份
  723. "d+": this.getDate(), //日
  724. "h+": this.getHours(), //小时
  725. "m+": this.getMinutes(), //分
  726. "s+": this.getSeconds(), //秒
  727. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  728. "S": this.getMilliseconds() //毫秒
  729. };
  730. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  731. for (var k in o)
  732. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  733. return fmt;
  734. }
  735. function showpictab(ypsz,jesz,tjrq){
  736. require.config({
  737. paths: {
  738. echarts: '/zhcx/js/dist'
  739. }
  740. });
  741. require(
  742. [
  743. 'echarts',
  744. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  745. 'echarts/chart/bar'
  746. ],
  747. function (ec) {
  748. var myChart = ec.init(document.getElementById('main'));
  749. var option = {
  750. title : {
  751. text: '住院医生病人费用统计报表',
  752. subtext: tjrq
  753. },
  754. tooltip : {
  755. trigger: 'axis'
  756. },
  757. toolbox: {
  758. show : true,
  759. feature : {
  760. mark : {show: true},
  761. dataView : {show: true, readOnly: false},
  762. magicType : {show: true, type: ['line', 'bar']},
  763. restore : {show: true},
  764. saveAsImage : {show: true}
  765. }
  766. },
  767. calculable : true,
  768. xAxis : [
  769. {
  770. type : 'category',
  771. data : ypsz
  772. }
  773. ],
  774. yAxis : [
  775. {
  776. type : 'value'
  777. }
  778. ],
  779. series : [
  780. {
  781. name:'金额',
  782. type:'bar',
  783. data:jesz,
  784. markPoint : {
  785. data : [
  786. {type : 'max', name: '最大值'},
  787. {type : 'min', name: '最小值'}
  788. ]
  789. },
  790. markLine : {
  791. data : [
  792. {type : 'average', name: '平均值'}
  793. ]
  794. }
  795. }
  796. ]
  797. };
  798. myChart.setOption(option);
  799. }
  800. );
  801. }
  802. ----------------------------------- SOURCE END -------------------------------------
  803. !STACK 0
  804. java.lang.NullPointerException
  805. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:11.485
  806. !MESSAGE Error while processing working copy
  807. !STACK 1
  808. JavaScript Model Exception: java.lang.NullPointerException
  809. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  810. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  811. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  812. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  813. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  814. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  815. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  816. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  817. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  818. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  819. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  820. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  821. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  822. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  823. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  824. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  825. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  826. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  827. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  828. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  829. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  830. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  831. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  832. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  833. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  834. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  835. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  836. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  837. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  838. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  839. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  840. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  841. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  842. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  843. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  844. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  845. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  846. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  847. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  848. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  849. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  850. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  851. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  852. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  853. at java.lang.reflect.Method.invoke(Unknown Source)
  854. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  855. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  856. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  857. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  858. Caused by: java.lang.NullPointerException
  859. Caused by: java.lang.NullPointerException
  860. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:11.485
  861. !MESSAGE java.lang.NullPointerException
  862. !STACK 0
  863. java.lang.NullPointerException
  864. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:15.964
  865. !MESSAGE Exception occurred during problem detection:
  866. ----------------------------------- SOURCE BEGIN -------------------------------------
  867. (function(){search();})();
  868. (function(){WdatePicker();})();
  869. (function(){WdatePicker();})();
  870. (function(){Data.get();})();
  871. var Data = {
  872. "get" : function(){
  873. var tip = layer.load(2);
  874. var url = "listAjax.do";
  875. $.ajax({
  876. "url" : url,
  877. "data" : {
  878. "departmentId" : $("#departmentId").val(),
  879. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  880. "jzh" : $("#jzh").val(),
  881. "begDate" : $("#dateBegin").val(),
  882. "endDate" : $("#dateEnd").val(),
  883. "searchKey" : $("#searchKey").val()
  884. },
  885. "type" : "POST",
  886. "dataType" : "json",
  887. "async" : true,
  888. "success" : function(data) {
  889. if(data != null && data != ""){
  890. var html = "";
  891. var sum =0;
  892. var ypsz = new Array();
  893. var jesz =new Array();
  894. var tjrq="";
  895. for(var i = 0; i < data.length; i++){
  896. var index = i + 1;
  897. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  898. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  899. var patient_name = data[i].XM == null ? "" : data[i].XM;
  900. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  901. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  902. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  903. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  904. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  905. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  906. sum = sum +sum_total;
  907. html += "_$ta";
  908. html += "_$tag____________" + index + "_$tag";
  909. html += "_$tag____________" + zyh + "_$tag";
  910. html += "_$tag____________" + jzh + "_$tag";
  911. html += "_$tag____________" + patient_name + "_$tag";
  912. html += "_$tag____________" + item_id + "_$tag";
  913. html += "_$tag____________" + item_cnname + "_$tag";
  914. html += "_$tag____________" + medcftype_name + "_$tag";
  915. html += "_$tag____________" + jsrq + "_$tag";
  916. html += "_$tag____________" + sum_total +"_$tag";
  917. html += "_$tag____________" + fempname + "_$tag";
  918. html += "_$tag";
  919. ypsz[i]=item_cnname;
  920. jesz[i]=sum_total;
  921. }
  922. html += "_$ta";
  923. html += "_$tag______________$tag";
  924. html += "_$tag______________$tag";
  925. html += "_$tag______________$tag";
  926. html += "_$tag______________$tag";
  927. html += "_$tag______________$tag";
  928. html += "_$tag______________$tag";
  929. html += "_$tag______________$tag";
  930. html += "_$tag_____________总计_$tag";
  931. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  932. html += "_$tag______________$tag";
  933. html += "_$tag";
  934. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  935. showpictab(ypsz,jesz,tjrq);
  936. $("#dataTable").html(html);
  937. }
  938. },
  939. "complete": function(){
  940. layer.close(tip);
  941. }
  942. });
  943. }
  944. }
  945. function search(){
  946. $("#form").submit();
  947. }
  948. Date.prototype.Format = function (fmt) {
  949. var o = {
  950. "M+": this.getMonth() + 1, //月份
  951. "d+": this.getDate(), //日
  952. "h+": this.getHours(), //小时
  953. "m+": this.getMinutes(), //分
  954. "s+": this.getSeconds(), //秒
  955. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  956. "S": this.getMilliseconds() //毫秒
  957. };
  958. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  959. for (var k in o)
  960. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  961. return fmt;
  962. }
  963. function showpictab(ypsz,jesz,tjrq){
  964. require.config({
  965. paths: {
  966. echarts: '/zhcx/js/dist'
  967. }
  968. });
  969. require(
  970. [
  971. 'echarts',
  972. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  973. 'echarts/chart/bar'
  974. ],
  975. function (ec) {
  976. var myChart = ec.init(document.getElementById('main'));
  977. var option = {
  978. title : {
  979. text: '住院医生病人费用统计报表',
  980. subtext: tjrq
  981. },
  982. tooltip : {
  983. trigger: 'axis'
  984. },
  985. toolbox: {
  986. show : true,
  987. feature : {
  988. mark : {show: true},
  989. dataView : {show: true, readOnly: false},
  990. magicType : {show: true, type: ['line', 'bar']},
  991. restore : {show: true},
  992. saveAsImage : {show: true}
  993. }
  994. },
  995. calculable : true,
  996. xAxis : [
  997. {
  998. type : 'category',
  999. data : ypsz
  1000. }
  1001. ],
  1002. yAxis : [
  1003. {
  1004. type : 'value'
  1005. }
  1006. ],
  1007. series : [
  1008. {
  1009. name:'金额',
  1010. type:'bar',
  1011. data:jesz,
  1012. markPoint : {
  1013. data : [
  1014. {type : 'max', name: '最大值'},
  1015. {type : 'min', name: '最小值'}
  1016. ]
  1017. },
  1018. markLine : {
  1019. data : [
  1020. {type : 'average', name: '平均值'}
  1021. ]
  1022. }
  1023. }
  1024. ]
  1025. };
  1026. myChart.setOption(option);
  1027. }
  1028. );
  1029. }
  1030. ----------------------------------- SOURCE END -------------------------------------
  1031. !STACK 0
  1032. java.lang.NullPointerException
  1033. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:15.964
  1034. !MESSAGE Error while processing working copy
  1035. !STACK 1
  1036. JavaScript Model Exception: java.lang.NullPointerException
  1037. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1038. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1039. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1040. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1041. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1042. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1043. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1044. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1045. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1046. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1047. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1048. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1049. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1050. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1051. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1052. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1053. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  1054. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  1055. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  1056. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  1057. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  1058. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  1059. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  1060. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  1061. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  1062. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  1063. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  1064. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  1065. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  1066. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  1067. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  1068. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  1069. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  1070. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  1071. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  1072. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  1073. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  1074. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  1075. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  1076. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  1077. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  1078. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1079. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  1080. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  1081. at java.lang.reflect.Method.invoke(Unknown Source)
  1082. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  1083. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  1084. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  1085. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  1086. Caused by: java.lang.NullPointerException
  1087. Caused by: java.lang.NullPointerException
  1088. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:15.965
  1089. !MESSAGE java.lang.NullPointerException
  1090. !STACK 0
  1091. java.lang.NullPointerException
  1092. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.188
  1093. !MESSAGE Exception occurred during problem detection:
  1094. ----------------------------------- SOURCE BEGIN -------------------------------------
  1095. (function(){search();})();
  1096. (function(){WdatePicker();})();
  1097. (function(){WdatePicker();})();
  1098. (function(){Data.get();})();
  1099. var Data = {
  1100. "get" : function(){
  1101. var tip = layer.load(2);
  1102. var url = "listAjax.do";
  1103. $.ajax({
  1104. "url" : url,
  1105. "data" : {
  1106. "departmentId" : $("#departmentId").val(),
  1107. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  1108. "jzh" : $("#jzh").val(),
  1109. "begDate" : $("#dateBegin").val(),
  1110. "endDate" : $("#dateEnd").val(),
  1111. "searchKey" : $("#searchKey").val()
  1112. },
  1113. "type" : "POST",
  1114. "dataType" : "json",
  1115. "async" : true,
  1116. "success" : function(data) {
  1117. if(data != null && data != ""){
  1118. var html = "";
  1119. var sum =0;
  1120. var ypsz = new Array();
  1121. var jesz =new Array();
  1122. var tjrq="";
  1123. for(var i = 0; i < data.length; i++){
  1124. var index = i + 1;
  1125. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  1126. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  1127. var patient_name = data[i].XM == null ? "" : data[i].XM;
  1128. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  1129. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  1130. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  1131. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  1132. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  1133. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  1134. sum = sum +sum_total;
  1135. html += "_$ta";
  1136. html += "_$tag____________" + index + "_$tag";
  1137. html += "_$tag____________" + zyh + "_$tag";
  1138. html += "_$tag____________" + jzh + "_$tag";
  1139. html += "_$tag____________" + patient_name + "_$tag";
  1140. html += "_$tag____________" + item_id + "_$tag";
  1141. html += "_$tag____________" + item_cnname + "_$tag";
  1142. html += "_$tag____________" + medcftype_name + "_$tag";
  1143. html += "_$tag____________" + jsrq + "_$tag";
  1144. html += "_$tag____________" + sum_total +"_$tag";
  1145. html += "_$tag____________" + fempname + "_$tag";
  1146. html += "_$tag";
  1147. ypsz[i]=item_cnname;
  1148. jesz[i]=sum_total;
  1149. }
  1150. html += "_$ta";
  1151. html += "_$tag______________$tag";
  1152. html += "_$tag______________$tag";
  1153. html += "_$tag______________$tag";
  1154. html += "_$tag______________$tag";
  1155. html += "_$tag______________$tag";
  1156. html += "_$tag______________$tag";
  1157. html += "_$tag______________$tag";
  1158. html += "_$tag_____________总计_$tag";
  1159. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  1160. html += "_$tag______________$tag";
  1161. html += "_$tag";
  1162. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  1163. showpictab(ypsz,jesz,tjrq);
  1164. $("#dataTable").html(html);
  1165. }
  1166. },
  1167. "complete": function(){
  1168. layer.close(tip);
  1169. }
  1170. });
  1171. }
  1172. }
  1173. function search(){
  1174. $("#form").submit();
  1175. }
  1176. Date.prototype.Format = function (fmt) {
  1177. var o = {
  1178. "M+": this.getMonth() + 1, //月份
  1179. "d+": this.getDate(), //日
  1180. "h+": this.getHours(), //小时
  1181. "m+": this.getMinutes(), //分
  1182. "s+": this.getSeconds(), //秒
  1183. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1184. "S": this.getMilliseconds() //毫秒
  1185. };
  1186. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1187. for (var k in o)
  1188. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1189. return fmt;
  1190. }
  1191. function showpictab(ypsz,jesz,tjrq){
  1192. require.config({
  1193. paths: {
  1194. echarts: '/zhcx/js/dist'
  1195. }
  1196. });
  1197. require(
  1198. [
  1199. 'echarts',
  1200. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  1201. 'echarts/chart/bar'
  1202. ],
  1203. function (ec) {
  1204. var myChart = ec.init(document.getElementById('main'));
  1205. var option = {
  1206. title : {
  1207. text: '住院医生病人费用统计报表',
  1208. subtext: tjrq
  1209. },
  1210. tooltip : {
  1211. trigger: 'axis'
  1212. },
  1213. toolbox: {
  1214. show : true,
  1215. feature : {
  1216. mark : {show: true},
  1217. dataView : {show: true, readOnly: false},
  1218. magicType : {show: true, type: ['line', 'bar']},
  1219. restore : {show: true},
  1220. saveAsImage : {show: true}
  1221. }
  1222. },
  1223. calculable : true,
  1224. xAxis : [
  1225. {
  1226. type : 'category',
  1227. data : ypsz
  1228. }
  1229. ],
  1230. yAxis : [
  1231. {
  1232. type : 'value'
  1233. }
  1234. ],
  1235. series : [
  1236. {
  1237. name:'金额',
  1238. type:'bar',
  1239. data:jesz,
  1240. markPoint : {
  1241. data : [
  1242. {type : 'max', name: '最大值'},
  1243. {type : 'min', name: '最小值'}
  1244. ]
  1245. },
  1246. markLine : {
  1247. data : [
  1248. {type : 'average', name: '平均值'}
  1249. ]
  1250. }
  1251. }
  1252. ]
  1253. };
  1254. myChart.setOption(option);
  1255. }
  1256. );
  1257. }
  1258. ----------------------------------- SOURCE END -------------------------------------
  1259. !STACK 0
  1260. java.lang.NullPointerException
  1261. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.612
  1262. !MESSAGE Exception occurred during problem detection:
  1263. ----------------------------------- SOURCE BEGIN -------------------------------------
  1264. (function(){search();})();
  1265. (function(){WdatePicker();})();
  1266. (function(){WdatePicker();})();
  1267. (function(){Data.get();})();
  1268. var Data = {
  1269. "get" : function(){
  1270. var tip = layer.load(2);
  1271. var url = "listAjax.do";
  1272. $.ajax({
  1273. "url" : url,
  1274. "data" : {
  1275. "departmentId" : $("#departmentId").val(),
  1276. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  1277. "jzh" : $("#jzh").val(),
  1278. "begDate" : $("#dateBegin").val(),
  1279. "endDate" : $("#dateEnd").val(),
  1280. "searchKey" : $("#searchKey").val()
  1281. },
  1282. "type" : "POST",
  1283. "dataType" : "json",
  1284. "async" : true,
  1285. "success" : function(data) {
  1286. if(data != null && data != ""){
  1287. var html = "";
  1288. var sum =0;
  1289. var ypsz = new Array();
  1290. var jesz =new Array();
  1291. var tjrq="";
  1292. for(var i = 0; i < data.length; i++){
  1293. var index = i + 1;
  1294. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  1295. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  1296. var patient_name = data[i].XM == null ? "" : data[i].XM;
  1297. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  1298. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  1299. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  1300. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  1301. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  1302. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  1303. sum = sum +sum_total;
  1304. html += "_$ta";
  1305. html += "_$tag____________" + index + "_$tag";
  1306. html += "_$tag____________" + zyh + "_$tag";
  1307. html += "_$tag____________" + jzh + "_$tag";
  1308. html += "_$tag____________" + patient_name + "_$tag";
  1309. html += "_$tag____________" + item_id + "_$tag";
  1310. html += "_$tag____________" + item_cnname + "_$tag";
  1311. html += "_$tag____________" + medcftype_name + "_$tag";
  1312. html += "_$tag____________" + jsrq + "_$tag";
  1313. html += "_$tag____________" + sum_total +"_$tag";
  1314. html += "_$tag____________" + fempname + "_$tag";
  1315. html += "_$tag";
  1316. ypsz[i]=item_cnname;
  1317. jesz[i]=sum_total;
  1318. }
  1319. html += "_$ta";
  1320. html += "_$tag______________$tag";
  1321. html += "_$tag______________$tag";
  1322. html += "_$tag______________$tag";
  1323. html += "_$tag______________$tag";
  1324. html += "_$tag______________$tag";
  1325. html += "_$tag______________$tag";
  1326. html += "_$tag______________$tag";
  1327. html += "_$tag_____________总计_$tag";
  1328. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  1329. html += "_$tag______________$tag";
  1330. html += "_$tag";
  1331. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  1332. showpictab(ypsz,jesz,tjrq);
  1333. $("#dataTable").html(html);
  1334. }
  1335. },
  1336. "complete": function(){
  1337. layer.close(tip);
  1338. }
  1339. });
  1340. }
  1341. }
  1342. function search(){
  1343. $("#form").submit();
  1344. }
  1345. Date.prototype.Format = function (fmt) {
  1346. var o = {
  1347. "M+": this.getMonth() + 1, //月份
  1348. "d+": this.getDate(), //日
  1349. "h+": this.getHours(), //小时
  1350. "m+": this.getMinutes(), //分
  1351. "s+": this.getSeconds(), //秒
  1352. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1353. "S": this.getMilliseconds() //毫秒
  1354. };
  1355. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1356. for (var k in o)
  1357. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1358. return fmt;
  1359. }
  1360. function showpictab(ypsz,jesz,tjrq){
  1361. require.config({
  1362. paths: {
  1363. echarts: '/zhcx/js/dist'
  1364. }
  1365. });
  1366. require(
  1367. [
  1368. 'echarts',
  1369. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  1370. 'echarts/chart/bar'
  1371. ],
  1372. function (ec) {
  1373. var myChart = ec.init(document.getElementById('main'));
  1374. var option = {
  1375. title : {
  1376. text: '住院医生病人费用统计报表',
  1377. subtext: tjrq
  1378. },
  1379. tooltip : {
  1380. trigger: 'axis'
  1381. },
  1382. toolbox: {
  1383. show : true,
  1384. feature : {
  1385. mark : {show: true},
  1386. dataView : {show: true, readOnly: false},
  1387. magicType : {show: true, type: ['line', 'bar']},
  1388. restore : {show: true},
  1389. saveAsImage : {show: true}
  1390. }
  1391. },
  1392. calculable : true,
  1393. xAxis : [
  1394. {
  1395. type : 'category',
  1396. data : ypsz
  1397. }
  1398. ],
  1399. yAxis : [
  1400. {
  1401. type : 'value'
  1402. }
  1403. ],
  1404. series : [
  1405. {
  1406. name:'金额',
  1407. type:'bar',
  1408. data:jesz,
  1409. markPoint : {
  1410. data : [
  1411. {type : 'max', name: '最大值'},
  1412. {type : 'min', name: '最小值'}
  1413. ]
  1414. },
  1415. markLine : {
  1416. data : [
  1417. {type : 'average', name: '平均值'}
  1418. ]
  1419. }
  1420. }
  1421. ]
  1422. };
  1423. myChart.setOption(option);
  1424. }
  1425. );
  1426. }
  1427. ----------------------------------- SOURCE END -------------------------------------
  1428. !STACK 0
  1429. java.lang.NullPointerException
  1430. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.613
  1431. !MESSAGE Error while processing working copy
  1432. !STACK 1
  1433. JavaScript Model Exception: java.lang.NullPointerException
  1434. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1435. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1436. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1437. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1438. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1439. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1440. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1441. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1442. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1443. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1444. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1445. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1446. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1447. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1448. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1449. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1450. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  1451. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  1452. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  1453. Caused by: java.lang.NullPointerException
  1454. Caused by: java.lang.NullPointerException
  1455. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:17.613
  1456. !MESSAGE java.lang.NullPointerException
  1457. !STACK 0
  1458. java.lang.NullPointerException
  1459. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:18.641
  1460. !MESSAGE Exception occurred during problem detection:
  1461. ----------------------------------- SOURCE BEGIN -------------------------------------
  1462. (function(){search();})();
  1463. (function(){WdatePicker();})();
  1464. (function(){WdatePicker();})();
  1465. (function(){Data.get();})();
  1466. var Data = {
  1467. "get" : function(){
  1468. var tip = layer.load(2);
  1469. var url = "listAjax.do";
  1470. $.ajax({
  1471. "url" : url,
  1472. "data" : {
  1473. "departmentId" : $("#departmentId").val(),
  1474. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  1475. "jzh" : $("#jzh").val(),
  1476. "begDate" : $("#dateBegin").val(),
  1477. "endDate" : $("#dateEnd").val(),
  1478. "searchKey" : $("#searchKey").val()
  1479. },
  1480. "type" : "POST",
  1481. "dataType" : "json",
  1482. "async" : true,
  1483. "success" : function(data) {
  1484. if(data != null && data != ""){
  1485. var html = "";
  1486. var sum =0;
  1487. var ypsz = new Array();
  1488. var jesz =new Array();
  1489. var tjrq="";
  1490. for(var i = 0; i < data.length; i++){
  1491. var index = i + 1;
  1492. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  1493. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  1494. var patient_name = data[i].XM == null ? "" : data[i].XM;
  1495. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  1496. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  1497. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  1498. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  1499. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  1500. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  1501. sum = sum +sum_total;
  1502. html += "_$ta";
  1503. html += "_$tag____________" + index + "_$tag";
  1504. html += "_$tag____________" + zyh + "_$tag";
  1505. html += "_$tag____________" + jzh + "_$tag";
  1506. html += "_$tag____________" + patient_name + "_$tag";
  1507. html += "_$tag____________" + item_id + "_$tag";
  1508. html += "_$tag____________" + item_cnname + "_$tag";
  1509. html += "_$tag____________" + medcftype_name + "_$tag";
  1510. html += "_$tag____________" + jsrq + "_$tag";
  1511. html += "_$tag____________" + sum_total +"_$tag";
  1512. html += "_$tag____________" + fempname + "_$tag";
  1513. html += "_$tag";
  1514. ypsz[i]=item_cnname;
  1515. jesz[i]=sum_total;
  1516. }
  1517. html += "_$ta";
  1518. html += "_$tag______________$tag";
  1519. html += "_$tag______________$tag";
  1520. html += "_$tag______________$tag";
  1521. html += "_$tag______________$tag";
  1522. html += "_$tag______________$tag";
  1523. html += "_$tag______________$tag";
  1524. html += "_$tag______________$tag";
  1525. html += "_$tag_____________总计_$tag";
  1526. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  1527. html += "_$tag______________$tag";
  1528. html += "_$tag";
  1529. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  1530. showpictab(ypsz,jesz,tjrq);
  1531. $("#dataTable").html(html);
  1532. }
  1533. },
  1534. "complete": function(){
  1535. layer.close(tip);
  1536. }
  1537. });
  1538. }
  1539. }
  1540. function search(){
  1541. $("#form").submit();
  1542. }
  1543. Date.prototype.Format = function (fmt) {
  1544. var o = {
  1545. "M+": this.getMonth() + 1, //月份
  1546. "d+": this.getDate(), //日
  1547. "h+": this.getHours(), //小时
  1548. "m+": this.getMinutes(), //分
  1549. "s+": this.getSeconds(), //秒
  1550. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1551. "S": this.getMilliseconds() //毫秒
  1552. };
  1553. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1554. for (var k in o)
  1555. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1556. return fmt;
  1557. }
  1558. function showpictab(ypsz,jesz,tjrq){
  1559. require.config({
  1560. paths: {
  1561. echarts: '/zhcx/js/dist'
  1562. }
  1563. });
  1564. require(
  1565. [
  1566. 'echarts',
  1567. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  1568. 'echarts/chart/bar'
  1569. ],
  1570. function (ec) {
  1571. var myChart = ec.init(document.getElementById('main'));
  1572. var option = {
  1573. title : {
  1574. text: '住院医生病人费用统计报表',
  1575. subtext: tjrq
  1576. },
  1577. tooltip : {
  1578. trigger: 'axis'
  1579. },
  1580. toolbox: {
  1581. show : true,
  1582. feature : {
  1583. mark : {show: true},
  1584. dataView : {show: true, readOnly: false},
  1585. magicType : {show: true, type: ['line', 'bar']},
  1586. restore : {show: true},
  1587. saveAsImage : {show: true}
  1588. }
  1589. },
  1590. calculable : true,
  1591. xAxis : [
  1592. {
  1593. type : 'category',
  1594. data : ypsz
  1595. }
  1596. ],
  1597. yAxis : [
  1598. {
  1599. type : 'value'
  1600. }
  1601. ],
  1602. series : [
  1603. {
  1604. name:'金额',
  1605. type:'bar',
  1606. data:jesz,
  1607. markPoint : {
  1608. data : [
  1609. {type : 'max', name: '最大值'},
  1610. {type : 'min', name: '最小值'}
  1611. ]
  1612. },
  1613. markLine : {
  1614. data : [
  1615. {type : 'average', name: '平均值'}
  1616. ]
  1617. }
  1618. }
  1619. ]
  1620. };
  1621. myChart.setOption(option);
  1622. }
  1623. );
  1624. }
  1625. ----------------------------------- SOURCE END -------------------------------------
  1626. !STACK 0
  1627. java.lang.NullPointerException
  1628. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:19.054
  1629. !MESSAGE Exception occurred during problem detection:
  1630. ----------------------------------- SOURCE BEGIN -------------------------------------
  1631. (function(){search();})();
  1632. (function(){WdatePicker();})();
  1633. (function(){WdatePicker();})();
  1634. (function(){Data.get();})();
  1635. var Data = {
  1636. "get" : function(){
  1637. var tip = layer.load(2);
  1638. var url = "listAjax.do";
  1639. $.ajax({
  1640. "url" : url,
  1641. "data" : {
  1642. "departmentId" : $("#departmentId").val(),
  1643. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  1644. "jzh" : $("#jzh").val(),
  1645. "begDate" : $("#dateBegin").val(),
  1646. "endDate" : $("#dateEnd").val(),
  1647. "searchKey" : $("#searchKey").val()
  1648. },
  1649. "type" : "POST",
  1650. "dataType" : "json",
  1651. "async" : true,
  1652. "success" : function(data) {
  1653. if(data != null && data != ""){
  1654. var html = "";
  1655. var sum =0;
  1656. var ypsz = new Array();
  1657. var jesz =new Array();
  1658. var tjrq="";
  1659. for(var i = 0; i < data.length; i++){
  1660. var index = i + 1;
  1661. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  1662. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  1663. var patient_name = data[i].XM == null ? "" : data[i].XM;
  1664. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  1665. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  1666. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  1667. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  1668. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  1669. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  1670. sum = sum +sum_total;
  1671. html += "_$ta";
  1672. html += "_$tag____________" + index + "_$tag";
  1673. html += "_$tag____________" + zyh + "_$tag";
  1674. html += "_$tag____________" + jzh + "_$tag";
  1675. html += "_$tag____________" + patient_name + "_$tag";
  1676. html += "_$tag____________" + item_id + "_$tag";
  1677. html += "_$tag____________" + item_cnname + "_$tag";
  1678. html += "_$tag____________" + medcftype_name + "_$tag";
  1679. html += "_$tag____________" + jsrq + "_$tag";
  1680. html += "_$tag____________" + sum_total +"_$tag";
  1681. html += "_$tag____________" + fempname + "_$tag";
  1682. html += "_$tag";
  1683. ypsz[i]=item_cnname;
  1684. jesz[i]=sum_total;
  1685. }
  1686. html += "_$ta";
  1687. html += "_$tag______________$tag";
  1688. html += "_$tag______________$tag";
  1689. html += "_$tag______________$tag";
  1690. html += "_$tag______________$tag";
  1691. html += "_$tag______________$tag";
  1692. html += "_$tag______________$tag";
  1693. html += "_$tag______________$tag";
  1694. html += "_$tag_____________总计_$tag";
  1695. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  1696. html += "_$tag______________$tag";
  1697. html += "_$tag";
  1698. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  1699. showpictab(ypsz,jesz,tjrq);
  1700. $("#dataTable").html(html);
  1701. }
  1702. },
  1703. "complete": function(){
  1704. layer.close(tip);
  1705. }
  1706. });
  1707. }
  1708. }
  1709. function search(){
  1710. $("#form").submit();
  1711. }
  1712. Date.prototype.Format = function (fmt) {
  1713. var o = {
  1714. "M+": this.getMonth() + 1, //月份
  1715. "d+": this.getDate(), //日
  1716. "h+": this.getHours(), //小时
  1717. "m+": this.getMinutes(), //分
  1718. "s+": this.getSeconds(), //秒
  1719. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1720. "S": this.getMilliseconds() //毫秒
  1721. };
  1722. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1723. for (var k in o)
  1724. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1725. return fmt;
  1726. }
  1727. function showpictab(ypsz,jesz,tjrq){
  1728. require.config({
  1729. paths: {
  1730. echarts: '/zhcx/js/dist'
  1731. }
  1732. });
  1733. require(
  1734. [
  1735. 'echarts',
  1736. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  1737. 'echarts/chart/bar'
  1738. ],
  1739. function (ec) {
  1740. var myChart = ec.init(document.getElementById('main'));
  1741. var option = {
  1742. title : {
  1743. text: '住院医生病人费用统计报表',
  1744. subtext: tjrq
  1745. },
  1746. tooltip : {
  1747. trigger: 'axis'
  1748. },
  1749. toolbox: {
  1750. show : true,
  1751. feature : {
  1752. mark : {show: true},
  1753. dataView : {show: true, readOnly: false},
  1754. magicType : {show: true, type: ['line', 'bar']},
  1755. restore : {show: true},
  1756. saveAsImage : {show: true}
  1757. }
  1758. },
  1759. calculable : true,
  1760. xAxis : [
  1761. {
  1762. type : 'category',
  1763. data : ypsz
  1764. }
  1765. ],
  1766. yAxis : [
  1767. {
  1768. type : 'value'
  1769. }
  1770. ],
  1771. series : [
  1772. {
  1773. name:'金额',
  1774. type:'bar',
  1775. data:jesz,
  1776. markPoint : {
  1777. data : [
  1778. {type : 'max', name: '最大值'},
  1779. {type : 'min', name: '最小值'}
  1780. ]
  1781. },
  1782. markLine : {
  1783. data : [
  1784. {type : 'average', name: '平均值'}
  1785. ]
  1786. }
  1787. }
  1788. ]
  1789. };
  1790. myChart.setOption(option);
  1791. }
  1792. );
  1793. }
  1794. ----------------------------------- SOURCE END -------------------------------------
  1795. !STACK 0
  1796. java.lang.NullPointerException
  1797. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:19.054
  1798. !MESSAGE Error while processing working copy
  1799. !STACK 1
  1800. JavaScript Model Exception: java.lang.NullPointerException
  1801. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1802. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1803. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1804. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1805. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1806. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1807. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1808. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1809. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1810. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1811. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1812. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1813. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1814. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1815. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1816. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1817. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  1818. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  1819. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  1820. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  1821. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  1822. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  1823. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  1824. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  1825. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  1826. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  1827. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  1828. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  1829. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  1830. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  1831. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  1832. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  1833. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  1834. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  1835. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  1836. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  1837. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  1838. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  1839. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  1840. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  1841. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  1842. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1843. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  1844. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  1845. at java.lang.reflect.Method.invoke(Unknown Source)
  1846. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  1847. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  1848. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  1849. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  1850. Caused by: java.lang.NullPointerException
  1851. Caused by: java.lang.NullPointerException
  1852. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:19.055
  1853. !MESSAGE java.lang.NullPointerException
  1854. !STACK 0
  1855. java.lang.NullPointerException
  1856. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.152
  1857. !MESSAGE Exception occurred during problem detection:
  1858. ----------------------------------- SOURCE BEGIN -------------------------------------
  1859. (function(){search();})();
  1860. (function(){WdatePicker();})();
  1861. (function(){WdatePicker();})();
  1862. (function(){Data.get();})();
  1863. var Data = {
  1864. "get" : function(){
  1865. var tip = layer.load(2);
  1866. var url = "listAjax.do";
  1867. $.ajax({
  1868. "url" : url,
  1869. "data" : {
  1870. "departmentId" : $("#departmentId").val(),
  1871. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  1872. "jzh" : $("#jzh").val(),
  1873. "begDate" : $("#dateBegin").val(),
  1874. "endDate" : $("#dateEnd").val(),
  1875. "searchKey" : $("#searchKey").val()
  1876. },
  1877. "type" : "POST",
  1878. "dataType" : "json",
  1879. "async" : true,
  1880. "success" : function(data) {
  1881. if(data != null && data != ""){
  1882. var html = "";
  1883. var sum =0;
  1884. var ypsz = new Array();
  1885. var jesz =new Array();
  1886. var tjrq="";
  1887. for(var i = 0; i < data.length; i++){
  1888. var index = i + 1;
  1889. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  1890. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  1891. var patient_name = data[i].XM == null ? "" : data[i].XM;
  1892. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  1893. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  1894. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  1895. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  1896. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  1897. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  1898. sum = sum +sum_total;
  1899. html += "_$ta";
  1900. html += "_$tag____________" + index + "_$tag";
  1901. html += "_$tag____________" + zyh + "_$tag";
  1902. html += "_$tag____________" + jzh + "_$tag";
  1903. html += "_$tag____________" + patient_name + "_$tag";
  1904. html += "_$tag____________" + item_id + "_$tag";
  1905. html += "_$tag____________" + item_cnname + "_$tag";
  1906. html += "_$tag____________" + medcftype_name + "_$tag";
  1907. html += "_$tag____________" + jsrq + "_$tag";
  1908. html += "_$tag____________" + sum_total +"_$tag";
  1909. html += "_$tag____________" + fempname + "_$tag";
  1910. html += "_$tag";
  1911. ypsz[i]=item_cnname;
  1912. jesz[i]=sum_total;
  1913. }
  1914. html += "_$ta";
  1915. html += "_$tag______________$tag";
  1916. html += "_$tag______________$tag";
  1917. html += "_$tag______________$tag";
  1918. html += "_$tag______________$tag";
  1919. html += "_$tag______________$tag";
  1920. html += "_$tag______________$tag";
  1921. html += "_$tag______________$tag";
  1922. html += "_$tag_____________总计_$tag";
  1923. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  1924. html += "_$tag______________$tag";
  1925. html += "_$tag";
  1926. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  1927. showpictab(ypsz,jesz,tjrq);
  1928. $("#dataTable").html(html);
  1929. }
  1930. },
  1931. "complete": function(){
  1932. layer.close(tip);
  1933. }
  1934. });
  1935. }
  1936. }
  1937. function search(){
  1938. $("#form").submit();
  1939. }
  1940. Date.prototype.Format = function (fmt) {
  1941. var o = {
  1942. "M+": this.getMonth() + 1, //月份
  1943. "d+": this.getDate(), //日
  1944. "h+": this.getHours(), //小时
  1945. "m+": this.getMinutes(), //分
  1946. "s+": this.getSeconds(), //秒
  1947. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1948. "S": this.getMilliseconds() //毫秒
  1949. };
  1950. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1951. for (var k in o)
  1952. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1953. return fmt;
  1954. }
  1955. function showpictab(ypsz,jesz,tjrq){
  1956. require.config({
  1957. paths: {
  1958. echarts: '/zhcx/js/dist'
  1959. }
  1960. });
  1961. require(
  1962. [
  1963. 'echarts',
  1964. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  1965. 'echarts/chart/bar'
  1966. ],
  1967. function (ec) {
  1968. var myChart = ec.init(document.getElementById('main'));
  1969. var option = {
  1970. title : {
  1971. text: '住院医生病人费用统计报表',
  1972. subtext: tjrq
  1973. },
  1974. tooltip : {
  1975. trigger: 'axis'
  1976. },
  1977. toolbox: {
  1978. show : true,
  1979. feature : {
  1980. mark : {show: true},
  1981. dataView : {show: true, readOnly: false},
  1982. magicType : {show: true, type: ['line', 'bar']},
  1983. restore : {show: true},
  1984. saveAsImage : {show: true}
  1985. }
  1986. },
  1987. calculable : true,
  1988. xAxis : [
  1989. {
  1990. type : 'category',
  1991. data : ypsz
  1992. }
  1993. ],
  1994. yAxis : [
  1995. {
  1996. type : 'value'
  1997. }
  1998. ],
  1999. series : [
  2000. {
  2001. name:'金额',
  2002. type:'bar',
  2003. data:jesz,
  2004. markPoint : {
  2005. data : [
  2006. {type : 'max', name: '最大值'},
  2007. {type : 'min', name: '最小值'}
  2008. ]
  2009. },
  2010. markLine : {
  2011. data : [
  2012. {type : 'average', name: '平均值'}
  2013. ]
  2014. }
  2015. }
  2016. ]
  2017. };
  2018. myChart.setOption(option);
  2019. }
  2020. );
  2021. }
  2022. ----------------------------------- SOURCE END -------------------------------------
  2023. !STACK 0
  2024. java.lang.NullPointerException
  2025. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.570
  2026. !MESSAGE Exception occurred during problem detection:
  2027. ----------------------------------- SOURCE BEGIN -------------------------------------
  2028. (function(){search();})();
  2029. (function(){WdatePicker();})();
  2030. (function(){WdatePicker();})();
  2031. (function(){Data.get();})();
  2032. var Data = {
  2033. "get" : function(){
  2034. var tip = layer.load(2);
  2035. var url = "listAjax.do";
  2036. $.ajax({
  2037. "url" : url,
  2038. "data" : {
  2039. "departmentId" : $("#departmentId").val(),
  2040. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  2041. "jzh" : $("#jzh").val(),
  2042. "begDate" : $("#dateBegin").val(),
  2043. "endDate" : $("#dateEnd").val(),
  2044. "searchKey" : $("#searchKey").val()
  2045. },
  2046. "type" : "POST",
  2047. "dataType" : "json",
  2048. "async" : true,
  2049. "success" : function(data) {
  2050. if(data != null && data != ""){
  2051. var html = "";
  2052. var sum =0;
  2053. var ypsz = new Array();
  2054. var jesz =new Array();
  2055. var tjrq="";
  2056. for(var i = 0; i < data.length; i++){
  2057. var index = i + 1;
  2058. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  2059. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  2060. var patient_name = data[i].XM == null ? "" : data[i].XM;
  2061. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  2062. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  2063. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  2064. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  2065. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  2066. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  2067. sum = sum +sum_total;
  2068. html += "_$ta";
  2069. html += "_$tag____________" + index + "_$tag";
  2070. html += "_$tag____________" + zyh + "_$tag";
  2071. html += "_$tag____________" + jzh + "_$tag";
  2072. html += "_$tag____________" + patient_name + "_$tag";
  2073. html += "_$tag____________" + item_id + "_$tag";
  2074. html += "_$tag____________" + item_cnname + "_$tag";
  2075. html += "_$tag____________" + medcftype_name + "_$tag";
  2076. html += "_$tag____________" + jsrq + "_$tag";
  2077. html += "_$tag____________" + sum_total +"_$tag";
  2078. html += "_$tag____________" + fempname + "_$tag";
  2079. html += "_$tag";
  2080. ypsz[i]=item_cnname;
  2081. jesz[i]=sum_total;
  2082. }
  2083. html += "_$ta";
  2084. html += "_$tag______________$tag";
  2085. html += "_$tag______________$tag";
  2086. html += "_$tag______________$tag";
  2087. html += "_$tag______________$tag";
  2088. html += "_$tag______________$tag";
  2089. html += "_$tag______________$tag";
  2090. html += "_$tag______________$tag";
  2091. html += "_$tag_____________总计_$tag";
  2092. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  2093. html += "_$tag______________$tag";
  2094. html += "_$tag";
  2095. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  2096. showpictab(ypsz,jesz,tjrq);
  2097. $("#dataTable").html(html);
  2098. }
  2099. },
  2100. "complete": function(){
  2101. layer.close(tip);
  2102. }
  2103. });
  2104. }
  2105. }
  2106. function search(){
  2107. $("#form").submit();
  2108. }
  2109. Date.prototype.Format = function (fmt) {
  2110. var o = {
  2111. "M+": this.getMonth() + 1, //月份
  2112. "d+": this.getDate(), //日
  2113. "h+": this.getHours(), //小时
  2114. "m+": this.getMinutes(), //分
  2115. "s+": this.getSeconds(), //秒
  2116. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2117. "S": this.getMilliseconds() //毫秒
  2118. };
  2119. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2120. for (var k in o)
  2121. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2122. return fmt;
  2123. }
  2124. function showpictab(ypsz,jesz,tjrq){
  2125. require.config({
  2126. paths: {
  2127. echarts: '/zhcx/js/dist'
  2128. }
  2129. });
  2130. require(
  2131. [
  2132. 'echarts',
  2133. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  2134. 'echarts/chart/bar'
  2135. ],
  2136. function (ec) {
  2137. var myChart = ec.init(document.getElementById('main'));
  2138. var option = {
  2139. title : {
  2140. text: '住院医生病人费用统计报表',
  2141. subtext: tjrq
  2142. },
  2143. tooltip : {
  2144. trigger: 'axis'
  2145. },
  2146. toolbox: {
  2147. show : true,
  2148. feature : {
  2149. mark : {show: true},
  2150. dataView : {show: true, readOnly: false},
  2151. magicType : {show: true, type: ['line', 'bar']},
  2152. restore : {show: true},
  2153. saveAsImage : {show: true}
  2154. }
  2155. },
  2156. calculable : true,
  2157. xAxis : [
  2158. {
  2159. type : 'category',
  2160. data : ypsz
  2161. }
  2162. ],
  2163. yAxis : [
  2164. {
  2165. type : 'value'
  2166. }
  2167. ],
  2168. series : [
  2169. {
  2170. name:'金额',
  2171. type:'bar',
  2172. data:jesz,
  2173. markPoint : {
  2174. data : [
  2175. {type : 'max', name: '最大值'},
  2176. {type : 'min', name: '最小值'}
  2177. ]
  2178. },
  2179. markLine : {
  2180. data : [
  2181. {type : 'average', name: '平均值'}
  2182. ]
  2183. }
  2184. }
  2185. ]
  2186. };
  2187. myChart.setOption(option);
  2188. }
  2189. );
  2190. }
  2191. ----------------------------------- SOURCE END -------------------------------------
  2192. !STACK 0
  2193. java.lang.NullPointerException
  2194. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.571
  2195. !MESSAGE Error while processing working copy
  2196. !STACK 1
  2197. JavaScript Model Exception: java.lang.NullPointerException
  2198. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2199. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  2200. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2201. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2202. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  2203. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  2204. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  2205. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  2206. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  2207. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  2208. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  2209. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  2210. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  2211. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  2212. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  2213. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  2214. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  2215. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  2216. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  2217. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  2218. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  2219. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  2220. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  2221. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  2222. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  2223. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  2224. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  2225. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  2226. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  2227. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  2228. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  2229. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  2230. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  2231. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  2232. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  2233. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  2234. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  2235. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  2236. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  2237. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  2238. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  2239. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2240. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  2241. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  2242. at java.lang.reflect.Method.invoke(Unknown Source)
  2243. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  2244. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  2245. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  2246. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  2247. Caused by: java.lang.NullPointerException
  2248. Caused by: java.lang.NullPointerException
  2249. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:20.571
  2250. !MESSAGE java.lang.NullPointerException
  2251. !STACK 0
  2252. java.lang.NullPointerException
  2253. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:21.665
  2254. !MESSAGE Exception occurred during problem detection:
  2255. ----------------------------------- SOURCE BEGIN -------------------------------------
  2256. (function(){search();})();
  2257. (function(){WdatePicker();})();
  2258. (function(){WdatePicker();})();
  2259. (function(){Data.get();})();
  2260. var Data = {
  2261. "get" : function(){
  2262. var tip = layer.load(2);
  2263. var url = "listAjax.do";
  2264. $.ajax({
  2265. "url" : url,
  2266. "data" : {
  2267. "departmentId" : $("#departmentId").val(),
  2268. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  2269. "jzh" : $("#jzh").val(),
  2270. "begDate" : $("#dateBegin").val(),
  2271. "endDate" : $("#dateEnd").val(),
  2272. "searchKey" : $("#searchKey").val()
  2273. },
  2274. "type" : "POST",
  2275. "dataType" : "json",
  2276. "async" : true,
  2277. "success" : function(data) {
  2278. if(data != null && data != ""){
  2279. var html = "";
  2280. var sum =0;
  2281. var ypsz = new Array();
  2282. var jesz =new Array();
  2283. var tjrq="";
  2284. for(var i = 0; i < data.length; i++){
  2285. var index = i + 1;
  2286. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  2287. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  2288. var patient_name = data[i].XM == null ? "" : data[i].XM;
  2289. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  2290. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  2291. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  2292. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  2293. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  2294. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  2295. sum = sum +sum_total;
  2296. html += "_$ta";
  2297. html += "_$tag____________" + index + "_$tag";
  2298. html += "_$tag____________" + zyh + "_$tag";
  2299. html += "_$tag____________" + jzh + "_$tag";
  2300. html += "_$tag____________" + patient_name + "_$tag";
  2301. html += "_$tag____________" + item_id + "_$tag";
  2302. html += "_$tag____________" + item_cnname + "_$tag";
  2303. html += "_$tag____________" + medcftype_name + "_$tag";
  2304. html += "_$tag____________" + jsrq + "_$tag";
  2305. html += "_$tag____________" + sum_total +"_$tag";
  2306. html += "_$tag____________" + fempname + "_$tag";
  2307. html += "_$tag";
  2308. ypsz[i]=item_cnname;
  2309. jesz[i]=sum_total;
  2310. }
  2311. html += "_$ta";
  2312. html += "_$tag______________$tag";
  2313. html += "_$tag______________$tag";
  2314. html += "_$tag______________$tag";
  2315. html += "_$tag______________$tag";
  2316. html += "_$tag______________$tag";
  2317. html += "_$tag______________$tag";
  2318. html += "_$tag______________$tag";
  2319. html += "_$tag_____________总计_$tag";
  2320. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  2321. html += "_$tag______________$tag";
  2322. html += "_$tag";
  2323. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  2324. showpictab(ypsz,jesz,tjrq);
  2325. $("#dataTable").html(html);
  2326. }
  2327. },
  2328. "complete": function(){
  2329. layer.close(tip);
  2330. }
  2331. });
  2332. }
  2333. }
  2334. function search(){
  2335. $("#form").submit();
  2336. }
  2337. Date.prototype.Format = function (fmt) {
  2338. var o = {
  2339. "M+": this.getMonth() + 1, //月份
  2340. "d+": this.getDate(), //日
  2341. "h+": this.getHours(), //小时
  2342. "m+": this.getMinutes(), //分
  2343. "s+": this.getSeconds(), //秒
  2344. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2345. "S": this.getMilliseconds() //毫秒
  2346. };
  2347. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2348. for (var k in o)
  2349. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2350. return fmt;
  2351. }
  2352. function showpictab(ypsz,jesz,tjrq){
  2353. require.config({
  2354. paths: {
  2355. echarts: '/zhcx/js/dist'
  2356. }
  2357. });
  2358. require(
  2359. [
  2360. 'echarts',
  2361. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  2362. 'echarts/chart/bar'
  2363. ],
  2364. function (ec) {
  2365. var myChart = ec.init(document.getElementById('main'));
  2366. var option = {
  2367. title : {
  2368. text: '住院医生病人费用统计报表',
  2369. subtext: tjrq
  2370. },
  2371. tooltip : {
  2372. trigger: 'axis'
  2373. },
  2374. toolbox: {
  2375. show : true,
  2376. feature : {
  2377. mark : {show: true},
  2378. dataView : {show: true, readOnly: false},
  2379. magicType : {show: true, type: ['line', 'bar']},
  2380. restore : {show: true},
  2381. saveAsImage : {show: true}
  2382. }
  2383. },
  2384. calculable : true,
  2385. xAxis : [
  2386. {
  2387. type : 'category',
  2388. data : ypsz
  2389. }
  2390. ],
  2391. yAxis : [
  2392. {
  2393. type : 'value'
  2394. }
  2395. ],
  2396. series : [
  2397. {
  2398. name:'金额',
  2399. type:'bar',
  2400. data:jesz,
  2401. markPoint : {
  2402. data : [
  2403. {type : 'max', name: '最大值'},
  2404. {type : 'min', name: '最小值'}
  2405. ]
  2406. },
  2407. markLine : {
  2408. data : [
  2409. {type : 'average', name: '平均值'}
  2410. ]
  2411. }
  2412. }
  2413. ]
  2414. };
  2415. myChart.setOption(option);
  2416. }
  2417. );
  2418. }
  2419. ----------------------------------- SOURCE END -------------------------------------
  2420. !STACK 0
  2421. java.lang.NullPointerException
  2422. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:25.156
  2423. !MESSAGE Exception occurred during problem detection:
  2424. ----------------------------------- SOURCE BEGIN -------------------------------------
  2425. (function(){search();})();
  2426. (function(){WdatePicker();})();
  2427. (function(){WdatePicker();})();
  2428. (function(){Data.get();})();
  2429. var Data = {
  2430. "get" : function(){
  2431. var tip = layer.load(2);
  2432. var url = "listAjax.do";
  2433. $.ajax({
  2434. "url" : url,
  2435. "data" : {
  2436. "departmentId" : $("#departmentId").val(),
  2437. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  2438. "jzh" : $("#jzh").val(),
  2439. "begDate" : $("#dateBegin").val(),
  2440. "endDate" : $("#dateEnd").val(),
  2441. "searchKey" : $("#searchKey").val()
  2442. },
  2443. "type" : "POST",
  2444. "dataType" : "json",
  2445. "async" : true,
  2446. "success" : function(data) {
  2447. if(data != null && data != ""){
  2448. var html = "";
  2449. var sum =0;
  2450. var ypsz = new Array();
  2451. var jesz =new Array();
  2452. var tjrq="";
  2453. for(var i = 0; i < data.length; i++){
  2454. var index = i + 1;
  2455. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  2456. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  2457. var patient_name = data[i].XM == null ? "" : data[i].XM;
  2458. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  2459. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  2460. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  2461. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  2462. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  2463. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  2464. sum = sum +sum_total;
  2465. html += "_$ta";
  2466. html += "_$tag____________" + index + "_$tag";
  2467. html += "_$tag____________" + zyh + "_$tag";
  2468. html += "_$tag____________" + jzh + "_$tag";
  2469. html += "_$tag____________" + patient_name + "_$tag";
  2470. html += "_$tag____________" + item_id + "_$tag";
  2471. html += "_$tag____________" + item_cnname + "_$tag";
  2472. html += "_$tag____________" + medcftype_name + "_$tag";
  2473. html += "_$tag____________" + jsrq + "_$tag";
  2474. html += "_$tag____________" + sum_total +"_$tag";
  2475. html += "_$tag____________" + fempname + "_$tag";
  2476. html += "_$tag";
  2477. ypsz[i]=item_cnname;
  2478. jesz[i]=sum_total;
  2479. }
  2480. html += "_$ta";
  2481. html += "_$tag______________$tag";
  2482. html += "_$tag______________$tag";
  2483. html += "_$tag______________$tag";
  2484. html += "_$tag______________$tag";
  2485. html += "_$tag______________$tag";
  2486. html += "_$tag______________$tag";
  2487. html += "_$tag______________$tag";
  2488. html += "_$tag_____________总计_$tag";
  2489. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  2490. html += "_$tag______________$tag";
  2491. html += "_$tag";
  2492. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  2493. showpictab(ypsz,jesz,tjrq);
  2494. $("#dataTable").html(html);
  2495. }
  2496. },
  2497. "complete": function(){
  2498. layer.close(tip);
  2499. }
  2500. });
  2501. }
  2502. }
  2503. function search(){
  2504. $("#form").submit();
  2505. }
  2506. Date.prototype.Format = function (fmt) {
  2507. var o = {
  2508. "M+": this.getMonth() + 1, //月份
  2509. "d+": this.getDate(), //日
  2510. "h+": this.getHours(), //小时
  2511. "m+": this.getMinutes(), //分
  2512. "s+": this.getSeconds(), //秒
  2513. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2514. "S": this.getMilliseconds() //毫秒
  2515. };
  2516. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2517. for (var k in o)
  2518. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2519. return fmt;
  2520. }
  2521. function showpictab(ypsz,jesz,tjrq){
  2522. require.config({
  2523. paths: {
  2524. echarts: '/zhcx/js/dist'
  2525. }
  2526. });
  2527. require(
  2528. [
  2529. 'echarts',
  2530. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  2531. 'echarts/chart/bar'
  2532. ],
  2533. function (ec) {
  2534. var myChart = ec.init(document.getElementById('main'));
  2535. var option = {
  2536. title : {
  2537. text: '住院医生病人费用统计报表',
  2538. subtext: tjrq
  2539. },
  2540. tooltip : {
  2541. trigger: 'axis'
  2542. },
  2543. toolbox: {
  2544. show : true,
  2545. feature : {
  2546. mark : {show: true},
  2547. dataView : {show: true, readOnly: false},
  2548. magicType : {show: true, type: ['line', 'bar']},
  2549. restore : {show: true},
  2550. saveAsImage : {show: true}
  2551. }
  2552. },
  2553. calculable : true,
  2554. xAxis : [
  2555. {
  2556. type : 'category',
  2557. data : ypsz
  2558. }
  2559. ],
  2560. yAxis : [
  2561. {
  2562. type : 'value'
  2563. }
  2564. ],
  2565. series : [
  2566. {
  2567. name:'金额',
  2568. type:'bar',
  2569. data:jesz,
  2570. markPoint : {
  2571. data : [
  2572. {type : 'max', name: '最大值'},
  2573. {type : 'min', name: '最小值'}
  2574. ]
  2575. },
  2576. markLine : {
  2577. data : [
  2578. {type : 'average', name: '平均值'}
  2579. ]
  2580. }
  2581. }
  2582. ]
  2583. };
  2584. myChart.setOption(option);
  2585. }
  2586. );
  2587. }
  2588. ----------------------------------- SOURCE END -------------------------------------
  2589. !STACK 0
  2590. java.lang.NullPointerException
  2591. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:25.157
  2592. !MESSAGE Error while processing working copy
  2593. !STACK 1
  2594. JavaScript Model Exception: java.lang.NullPointerException
  2595. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2596. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  2597. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2598. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2599. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  2600. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  2601. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  2602. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  2603. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  2604. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  2605. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  2606. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  2607. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  2608. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  2609. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  2610. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  2611. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  2612. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  2613. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  2614. Caused by: java.lang.NullPointerException
  2615. Caused by: java.lang.NullPointerException
  2616. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:25.157
  2617. !MESSAGE java.lang.NullPointerException
  2618. !STACK 0
  2619. java.lang.NullPointerException
  2620. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:26.768
  2621. !MESSAGE Exception occurred during problem detection:
  2622. ----------------------------------- SOURCE BEGIN -------------------------------------
  2623. (function(){search();})();
  2624. (function(){WdatePicker();})();
  2625. (function(){WdatePicker();})();
  2626. (function(){Data.get();})();
  2627. var Data = {
  2628. "get" : function(){
  2629. var tip = layer.load(2);
  2630. var url = "listAjax.do";
  2631. $.ajax({
  2632. "url" : url,
  2633. "data" : {
  2634. "departmentId" : $("#departmentId").val(),
  2635. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  2636. "jzh" : $("#jzh").val(),
  2637. "begDate" : $("#dateBegin").val(),
  2638. "endDate" : $("#dateEnd").val(),
  2639. "searchKey" : $("#searchKey").val()
  2640. },
  2641. "type" : "POST",
  2642. "dataType" : "json",
  2643. "async" : true,
  2644. "success" : function(data) {
  2645. if(data != null && data != ""){
  2646. var html = "";
  2647. var sum =0;
  2648. var ypsz = new Array();
  2649. var jesz =new Array();
  2650. var tjrq="";
  2651. for(var i = 0; i < data.length; i++){
  2652. var index = i + 1;
  2653. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  2654. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  2655. var patient_name = data[i].XM == null ? "" : data[i].XM;
  2656. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  2657. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  2658. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  2659. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  2660. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  2661. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  2662. sum = sum +sum_total;
  2663. html += "_$ta";
  2664. html += "_$tag____________" + index + "_$tag";
  2665. html += "_$tag____________" + zyh + "_$tag";
  2666. html += "_$tag____________" + jzh + "_$tag";
  2667. html += "_$tag____________" + patient_name + "_$tag";
  2668. html += "_$tag____________" + item_id + "_$tag";
  2669. html += "_$tag____________" + item_cnname + "_$tag";
  2670. html += "_$tag____________" + medcftype_name + "_$tag";
  2671. html += "_$tag____________" + jsrq + "_$tag";
  2672. html += "_$tag____________" + sum_total +"_$tag";
  2673. html += "_$tag____________" + fempname + "_$tag";
  2674. html += "_$tag";
  2675. ypsz[i]=item_cnname;
  2676. jesz[i]=sum_total;
  2677. }
  2678. html += "_$ta";
  2679. html += "_$tag______________$tag";
  2680. html += "_$tag______________$tag";
  2681. html += "_$tag______________$tag";
  2682. html += "_$tag______________$tag";
  2683. html += "_$tag______________$tag";
  2684. html += "_$tag______________$tag";
  2685. html += "_$tag______________$tag";
  2686. html += "_$tag_____________总计_$tag";
  2687. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  2688. html += "_$tag______________$tag";
  2689. html += "_$tag";
  2690. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  2691. showpictab(ypsz,jesz,tjrq);
  2692. $("#dataTable").html(html);
  2693. }
  2694. },
  2695. "complete": function(){
  2696. layer.close(tip);
  2697. }
  2698. });
  2699. }
  2700. }
  2701. function search(){
  2702. $("#form").submit();
  2703. }
  2704. Date.prototype.Format = function (fmt) {
  2705. var o = {
  2706. "M+": this.getMonth() + 1, //月份
  2707. "d+": this.getDate(), //日
  2708. "h+": this.getHours(), //小时
  2709. "m+": this.getMinutes(), //分
  2710. "s+": this.getSeconds(), //秒
  2711. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2712. "S": this.getMilliseconds() //毫秒
  2713. };
  2714. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2715. for (var k in o)
  2716. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2717. return fmt;
  2718. }
  2719. function showpictab(ypsz,jesz,tjrq){
  2720. require.config({
  2721. paths: {
  2722. echarts: '/zhcx/js/dist'
  2723. }
  2724. });
  2725. require(
  2726. [
  2727. 'echarts',
  2728. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  2729. 'echarts/chart/bar'
  2730. ],
  2731. function (ec) {
  2732. var myChart = ec.init(document.getElementById('main'));
  2733. var option = {
  2734. title : {
  2735. text: '住院医生病人费用统计报表',
  2736. subtext: tjrq
  2737. },
  2738. tooltip : {
  2739. trigger: 'axis'
  2740. },
  2741. toolbox: {
  2742. show : true,
  2743. feature : {
  2744. mark : {show: true},
  2745. dataView : {show: true, readOnly: false},
  2746. magicType : {show: true, type: ['line', 'bar']},
  2747. restore : {show: true},
  2748. saveAsImage : {show: true}
  2749. }
  2750. },
  2751. calculable : true,
  2752. xAxis : [
  2753. {
  2754. type : 'category',
  2755. data : ypsz
  2756. }
  2757. ],
  2758. yAxis : [
  2759. {
  2760. type : 'value'
  2761. }
  2762. ],
  2763. series : [
  2764. {
  2765. name:'金额',
  2766. type:'bar',
  2767. data:jesz,
  2768. markPoint : {
  2769. data : [
  2770. {type : 'max', name: '最大值'},
  2771. {type : 'min', name: '最小值'}
  2772. ]
  2773. },
  2774. markLine : {
  2775. data : [
  2776. {type : 'average', name: '平均值'}
  2777. ]
  2778. }
  2779. }
  2780. ]
  2781. };
  2782. myChart.setOption(option);
  2783. }
  2784. );
  2785. }
  2786. ----------------------------------- SOURCE END -------------------------------------
  2787. !STACK 0
  2788. java.lang.NullPointerException
  2789. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:15.296
  2790. !MESSAGE Exception occurred during problem detection:
  2791. ----------------------------------- SOURCE BEGIN -------------------------------------
  2792. (function(){search();})();
  2793. (function(){WdatePicker();})();
  2794. (function(){WdatePicker();})();
  2795. (function(){Data.get();})();
  2796. var Data = {
  2797. "get" : function(){
  2798. var tip = layer.load(2);
  2799. var url = "listAjax.do";
  2800. $.ajax({
  2801. "url" : url,
  2802. "data" : {
  2803. "departmentId" : $("#departmentId").val(),
  2804. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  2805. "jzh" : $("#jzh").val(),
  2806. "begDate" : $("#dateBegin").val(),
  2807. "endDate" : $("#dateEnd").val(),
  2808. "searchKey" : $("#searchKey").val()
  2809. },
  2810. "type" : "POST",
  2811. "dataType" : "json",
  2812. "async" : true,
  2813. "success" : function(data) {
  2814. if(data != null && data != ""){
  2815. var html = "";
  2816. var sum =0;
  2817. var ypsz = new Array();
  2818. var jesz =new Array();
  2819. var tjrq="";
  2820. for(var i = 0; i < data.length; i++){
  2821. var index = i + 1;
  2822. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  2823. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  2824. var patient_name = data[i].XM == null ? "" : data[i].XM;
  2825. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  2826. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  2827. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  2828. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  2829. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  2830. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  2831. sum = sum +sum_total;
  2832. html += "_$ta";
  2833. html += "_$tag____________" + index + "_$tag";
  2834. html += "_$tag____________" + zyh + "_$tag";
  2835. html += "_$tag____________" + jzh + "_$tag";
  2836. html += "_$tag____________" + patient_name + "_$tag";
  2837. html += "_$tag____________" + item_id + "_$tag";
  2838. html += "_$tag____________" + item_cnname + "_$tag";
  2839. html += "_$tag____________" + medcftype_name + "_$tag";
  2840. html += "_$tag____________" + jsrq + "_$tag";
  2841. html += "_$tag____________" + sum_total +"_$tag";
  2842. html += "_$tag____________" + fempname + "_$tag";
  2843. html += "_$tag";
  2844. ypsz[i]=item_cnname;
  2845. jesz[i]=sum_total;
  2846. }
  2847. html += "_$ta";
  2848. html += "_$tag______________$tag";
  2849. html += "_$tag______________$tag";
  2850. html += "_$tag______________$tag";
  2851. html += "_$tag______________$tag";
  2852. html += "_$tag______________$tag";
  2853. html += "_$tag______________$tag";
  2854. html += "_$tag______________$tag";
  2855. html += "_$tag_____________总计_$tag";
  2856. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  2857. html += "_$tag______________$tag";
  2858. html += "_$tag";
  2859. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  2860. showpictab(ypsz,jesz,tjrq);
  2861. $("#dataTable").html(html);
  2862. }
  2863. },
  2864. "complete": function(){
  2865. layer.close(tip);
  2866. }
  2867. });
  2868. }
  2869. }
  2870. function search(){
  2871. $("#form").submit();
  2872. }
  2873. Date.prototype.Format = function (fmt) {
  2874. var o = {
  2875. "M+": this.getMonth() + 1, //月份
  2876. "d+": this.getDate(), //日
  2877. "h+": this.getHours(), //小时
  2878. "m+": this.getMinutes(), //分
  2879. "s+": this.getSeconds(), //秒
  2880. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2881. "S": this.getMilliseconds() //毫秒
  2882. };
  2883. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2884. for (var k in o)
  2885. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2886. return fmt;
  2887. }
  2888. function showpictab(ypsz,jesz,tjrq){
  2889. require.config({
  2890. paths: {
  2891. echarts: '/zhcx/js/dist'
  2892. }
  2893. });
  2894. require(
  2895. [
  2896. 'echarts',
  2897. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  2898. 'echarts/chart/bar'
  2899. ],
  2900. function (ec) {
  2901. var myChart = ec.init(document.getElementById('main'));
  2902. var option = {
  2903. title : {
  2904. text: '住院医生病人费用统计报表',
  2905. subtext: tjrq
  2906. },
  2907. tooltip : {
  2908. trigger: 'axis'
  2909. },
  2910. toolbox: {
  2911. show : true,
  2912. feature : {
  2913. mark : {show: true},
  2914. dataView : {show: true, readOnly: false},
  2915. magicType : {show: true, type: ['line', 'bar']},
  2916. restore : {show: true},
  2917. saveAsImage : {show: true}
  2918. }
  2919. },
  2920. calculable : true,
  2921. xAxis : [
  2922. {
  2923. type : 'category',
  2924. data : ypsz
  2925. }
  2926. ],
  2927. yAxis : [
  2928. {
  2929. type : 'value'
  2930. }
  2931. ],
  2932. series : [
  2933. {
  2934. name:'金额',
  2935. type:'bar',
  2936. data:jesz,
  2937. markPoint : {
  2938. data : [
  2939. {type : 'max', name: '最大值'},
  2940. {type : 'min', name: '最小值'}
  2941. ]
  2942. },
  2943. markLine : {
  2944. data : [
  2945. {type : 'average', name: '平均值'}
  2946. ]
  2947. }
  2948. }
  2949. ]
  2950. };
  2951. myChart.setOption(option);
  2952. }
  2953. );
  2954. }
  2955. ----------------------------------- SOURCE END -------------------------------------
  2956. !STACK 0
  2957. java.lang.NullPointerException
  2958. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:15.296
  2959. !MESSAGE java.lang.NullPointerException
  2960. !STACK 1
  2961. JavaScript Model Exception: java.lang.NullPointerException
  2962. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2963. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  2964. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2965. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2966. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  2967. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  2968. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  2969. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  2970. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  2971. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  2972. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  2973. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  2974. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  2975. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  2976. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  2977. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  2978. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  2979. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  2980. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  2981. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  2982. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  2983. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  2984. Caused by: java.lang.NullPointerException
  2985. Caused by: java.lang.NullPointerException
  2986. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:15.297
  2987. !MESSAGE java.lang.NullPointerException
  2988. !STACK 0
  2989. java.lang.NullPointerException
  2990. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:23.189
  2991. !MESSAGE Exception occurred during problem detection:
  2992. ----------------------------------- SOURCE BEGIN -------------------------------------
  2993. (function(){search();})();
  2994. (function(){WdatePicker();})();
  2995. (function(){WdatePicker();})();
  2996. (function(){Data.get();})();
  2997. var Data = {
  2998. "get" : function(){
  2999. var tip = layer.load(2);
  3000. var url = "listAjax.do";
  3001. $.ajax({
  3002. "url" : url,
  3003. "data" : {
  3004. "departmentId" : $("#departmentId").val(),
  3005. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  3006. "jzh" : $("#jzh").val(),
  3007. "begDate" : $("#dateBegin").val(),
  3008. "endDate" : $("#dateEnd").val(),
  3009. "searchKey" : $("#searchKey").val()
  3010. },
  3011. "type" : "POST",
  3012. "dataType" : "json",
  3013. "async" : true,
  3014. "success" : function(data) {
  3015. if(data != null && data != ""){
  3016. var html = "";
  3017. var sum =0;
  3018. var ypsz = new Array();
  3019. var jesz =new Array();
  3020. var tjrq="";
  3021. for(var i = 0; i < data.length; i++){
  3022. var index = i + 1;
  3023. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  3024. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  3025. var patient_name = data[i].XM == null ? "" : data[i].XM;
  3026. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  3027. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  3028. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  3029. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  3030. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  3031. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  3032. sum = sum +sum_total;
  3033. html += "_$ta";
  3034. html += "_$tag____________" + index + "_$tag";
  3035. html += "_$tag____________" + zyh + "_$tag";
  3036. html += "_$tag____________" + jzh + "_$tag";
  3037. html += "_$tag____________" + patient_name + "_$tag";
  3038. html += "_$tag____________" + item_id + "_$tag";
  3039. html += "_$tag____________" + item_cnname + "_$tag";
  3040. html += "_$tag____________" + medcftype_name + "_$tag";
  3041. html += "_$tag____________" + jsrq + "_$tag";
  3042. html += "_$tag____________" + sum_total +"_$tag";
  3043. html += "_$tag____________" + fempname + "_$tag";
  3044. html += "_$tag";
  3045. ypsz[i]=item_cnname;
  3046. jesz[i]=sum_total;
  3047. }
  3048. html += "_$ta";
  3049. html += "_$tag______________$tag";
  3050. html += "_$tag______________$tag";
  3051. html += "_$tag______________$tag";
  3052. html += "_$tag______________$tag";
  3053. html += "_$tag______________$tag";
  3054. html += "_$tag______________$tag";
  3055. html += "_$tag______________$tag";
  3056. html += "_$tag_____________总计_$tag";
  3057. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  3058. html += "_$tag______________$tag";
  3059. html += "_$tag";
  3060. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  3061. showpictab(ypsz,jesz,tjrq);
  3062. $("#dataTable").html(html);
  3063. }
  3064. },
  3065. "complete": function(){
  3066. layer.close(tip);
  3067. }
  3068. });
  3069. }
  3070. }
  3071. function search(){
  3072. $("#form").submit();
  3073. }
  3074. Date.prototype.Format = function (fmt) {
  3075. var o = {
  3076. "M+": this.getMonth() + 1, //月份
  3077. "d+": this.getDate(), //日
  3078. "h+": this.getHours(), //小时
  3079. "m+": this.getMinutes(), //分
  3080. "s+": this.getSeconds(), //秒
  3081. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3082. "S": this.getMilliseconds() //毫秒
  3083. };
  3084. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3085. for (var k in o)
  3086. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3087. return fmt;
  3088. }
  3089. function showpictab(ypsz,jesz,tjrq){
  3090. require.config({
  3091. paths: {
  3092. echarts: '/zhcx/js/dist'
  3093. }
  3094. });
  3095. require(
  3096. [
  3097. 'echarts',
  3098. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  3099. 'echarts/chart/bar'
  3100. ],
  3101. function (ec) {
  3102. var myChart = ec.init(document.getElementById('main'));
  3103. var option = {
  3104. title : {
  3105. text: '住院医生病人费用统计报表',
  3106. subtext: tjrq
  3107. },
  3108. tooltip : {
  3109. trigger: 'axis'
  3110. },
  3111. toolbox: {
  3112. show : true,
  3113. feature : {
  3114. mark : {show: true},
  3115. dataView : {show: true, readOnly: false},
  3116. magicType : {show: true, type: ['line', 'bar']},
  3117. restore : {show: true},
  3118. saveAsImage : {show: true}
  3119. }
  3120. },
  3121. calculable : true,
  3122. xAxis : [
  3123. {
  3124. type : 'category',
  3125. data : ypsz
  3126. }
  3127. ],
  3128. yAxis : [
  3129. {
  3130. type : 'value'
  3131. }
  3132. ],
  3133. series : [
  3134. {
  3135. name:'金额',
  3136. type:'bar',
  3137. data:jesz,
  3138. markPoint : {
  3139. data : [
  3140. {type : 'max', name: '最大值'},
  3141. {type : 'min', name: '最小值'}
  3142. ]
  3143. },
  3144. markLine : {
  3145. data : [
  3146. {type : 'average', name: '平均值'}
  3147. ]
  3148. }
  3149. }
  3150. ]
  3151. };
  3152. myChart.setOption(option);
  3153. }
  3154. );
  3155. }
  3156. ----------------------------------- SOURCE END -------------------------------------
  3157. !STACK 0
  3158. java.lang.NullPointerException
  3159. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:23.190
  3160. !MESSAGE java.lang.NullPointerException
  3161. !STACK 1
  3162. JavaScript Model Exception: java.lang.NullPointerException
  3163. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3164. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3165. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3166. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3167. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3168. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3169. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3170. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3171. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3172. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3173. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3174. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3175. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3176. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3177. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3178. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3179. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3180. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3181. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3182. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3183. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3184. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3185. Caused by: java.lang.NullPointerException
  3186. Caused by: java.lang.NullPointerException
  3187. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:23.190
  3188. !MESSAGE java.lang.NullPointerException
  3189. !STACK 0
  3190. java.lang.NullPointerException
  3191. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:28.941
  3192. !MESSAGE Exception occurred during problem detection:
  3193. ----------------------------------- SOURCE BEGIN -------------------------------------
  3194. (function(){search();})();
  3195. (function(){WdatePicker();})();
  3196. (function(){WdatePicker();})();
  3197. (function(){Data.get();})();
  3198. var Data = {
  3199. "get" : function(){
  3200. var tip = layer.load(2);
  3201. var url = "listAjax.do";
  3202. $.ajax({
  3203. "url" : url,
  3204. "data" : {
  3205. "departmentId" : $("#departmentId").val(),
  3206. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  3207. "jzh" : $("#jzh").val(),
  3208. "begDate" : $("#dateBegin").val(),
  3209. "endDate" : $("#dateEnd").val(),
  3210. "searchKey" : $("#searchKey").val()
  3211. },
  3212. "type" : "POST",
  3213. "dataType" : "json",
  3214. "async" : true,
  3215. "success" : function(data) {
  3216. if(data != null && data != ""){
  3217. var html = "";
  3218. var sum =0;
  3219. var ypsz = new Array();
  3220. var jesz =new Array();
  3221. var tjrq="";
  3222. for(var i = 0; i < data.length; i++){
  3223. var index = i + 1;
  3224. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  3225. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  3226. var patient_name = data[i].XM == null ? "" : data[i].XM;
  3227. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  3228. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  3229. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  3230. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  3231. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  3232. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  3233. sum = sum +sum_total;
  3234. html += "_$ta";
  3235. html += "_$tag____________" + index + "_$tag";
  3236. html += "_$tag____________" + zyh + "_$tag";
  3237. html += "_$tag____________" + jzh + "_$tag";
  3238. html += "_$tag____________" + patient_name + "_$tag";
  3239. html += "_$tag____________" + item_id + "_$tag";
  3240. html += "_$tag____________" + item_cnname + "_$tag";
  3241. html += "_$tag____________" + medcftype_name + "_$tag";
  3242. html += "_$tag____________" + jsrq + "_$tag";
  3243. html += "_$tag____________" + sum_total +"_$tag";
  3244. html += "_$tag____________" + fempname + "_$tag";
  3245. html += "_$tag";
  3246. ypsz[i]=item_cnname;
  3247. jesz[i]=sum_total;
  3248. }
  3249. html += "_$ta";
  3250. html += "_$tag______________$tag";
  3251. html += "_$tag______________$tag";
  3252. html += "_$tag______________$tag";
  3253. html += "_$tag______________$tag";
  3254. html += "_$tag______________$tag";
  3255. html += "_$tag______________$tag";
  3256. html += "_$tag______________$tag";
  3257. html += "_$tag_____________总计_$tag";
  3258. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  3259. html += "_$tag______________$tag";
  3260. html += "_$tag";
  3261. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  3262. showpictab(ypsz,jesz,tjrq);
  3263. $("#dataTable").html(html);
  3264. }
  3265. },
  3266. "complete": function(){
  3267. layer.close(tip);
  3268. }
  3269. });
  3270. }
  3271. }
  3272. function search(){
  3273. $("#form").submit();
  3274. }
  3275. Date.prototype.Format = function (fmt) {
  3276. var o = {
  3277. "M+": this.getMonth() + 1, //月份
  3278. "d+": this.getDate(), //日
  3279. "h+": this.getHours(), //小时
  3280. "m+": this.getMinutes(), //分
  3281. "s+": this.getSeconds(), //秒
  3282. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3283. "S": this.getMilliseconds() //毫秒
  3284. };
  3285. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3286. for (var k in o)
  3287. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3288. return fmt;
  3289. }
  3290. function showpictab(ypsz,jesz,tjrq){
  3291. require.config({
  3292. paths: {
  3293. echarts: '/zhcx/js/dist'
  3294. }
  3295. });
  3296. require(
  3297. [
  3298. 'echarts',
  3299. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  3300. 'echarts/chart/bar'
  3301. ],
  3302. function (ec) {
  3303. var myChart = ec.init(document.getElementById('main'));
  3304. var option = {
  3305. title : {
  3306. text: '住院医生病人费用统计报表',
  3307. subtext: tjrq
  3308. },
  3309. tooltip : {
  3310. trigger: 'axis'
  3311. },
  3312. toolbox: {
  3313. show : true,
  3314. feature : {
  3315. mark : {show: true},
  3316. dataView : {show: true, readOnly: false},
  3317. magicType : {show: true, type: ['line', 'bar']},
  3318. restore : {show: true},
  3319. saveAsImage : {show: true}
  3320. }
  3321. },
  3322. calculable : true,
  3323. xAxis : [
  3324. {
  3325. type : 'category',
  3326. data : ypsz
  3327. }
  3328. ],
  3329. yAxis : [
  3330. {
  3331. type : 'value'
  3332. }
  3333. ],
  3334. series : [
  3335. {
  3336. name:'金额',
  3337. type:'bar',
  3338. data:jesz,
  3339. markPoint : {
  3340. data : [
  3341. {type : 'max', name: '最大值'},
  3342. {type : 'min', name: '最小值'}
  3343. ]
  3344. },
  3345. markLine : {
  3346. data : [
  3347. {type : 'average', name: '平均值'}
  3348. ]
  3349. }
  3350. }
  3351. ]
  3352. };
  3353. myChart.setOption(option);
  3354. }
  3355. );
  3356. }
  3357. ----------------------------------- SOURCE END -------------------------------------
  3358. !STACK 0
  3359. java.lang.NullPointerException
  3360. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:28.942
  3361. !MESSAGE java.lang.NullPointerException
  3362. !STACK 1
  3363. JavaScript Model Exception: java.lang.NullPointerException
  3364. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3365. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3366. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3367. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3368. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3369. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3370. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3371. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3372. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3373. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3374. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3375. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3376. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3377. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3378. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3379. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3380. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3381. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3382. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3383. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3384. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3385. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3386. Caused by: java.lang.NullPointerException
  3387. Caused by: java.lang.NullPointerException
  3388. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:28.942
  3389. !MESSAGE java.lang.NullPointerException
  3390. !STACK 0
  3391. java.lang.NullPointerException
  3392. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:43:09.783
  3393. !MESSAGE Exception occurred during problem detection:
  3394. ----------------------------------- SOURCE BEGIN -------------------------------------
  3395. (function(){WdatePicker();})();
  3396. (function(){WdatePicker();})();
  3397. (function(){search();})();
  3398. (function(){Data.get();})();
  3399. (function(){doPrint();})();
  3400. var Data = {
  3401. "get" : function(){
  3402. var tip = layer.load(2);
  3403. var url = "jyxmcdAjax.do";
  3404. $.ajax({
  3405. "url" : url,
  3406. "data" : {
  3407. "requisition_id" : $("#requisition_id").val(),
  3408. "intpatient_id" : $("#intpatient_id").val(),
  3409. "begDate" : $("#dateBegin").val(),
  3410. "endDate" : $("#dateEnd").val(),
  3411. "department_id": $("#departmentId").val(),
  3412. "searchKey" : $("#searchKey").val()
  3413. },
  3414. "type" : "POST",
  3415. "dataType" : "json",
  3416. "async" : true,
  3417. "success" : function(data) {
  3418. if(data != null && data != ""){
  3419. var html = "";
  3420. for(var i = 0; i < data.length; i++){
  3421. var index = i + 1;
  3422. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  3423. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  3424. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  3425. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  3426. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  3427. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  3428. html += "_$ta";
  3429. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  3430. html += "_$tag____________" + index + "_$tag";
  3431. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  3432. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  3433. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  3434. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  3435. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  3436. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  3437. html += "_$tag";
  3438. }
  3439. $("#dataTable").html(html);
  3440. }
  3441. },
  3442. "complete": function(){
  3443. layer.close(tip);
  3444. }
  3445. });
  3446. }
  3447. }
  3448. Date.prototype.Format = function (fmt) {
  3449. var o = {
  3450. "M+": this.getMonth() + 1, //月份
  3451. "d+": this.getDate(), //日
  3452. "h+": this.getHours(), //小时
  3453. "m+": this.getMinutes(), //分
  3454. "s+": this.getSeconds(), //秒
  3455. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3456. "S": this.getMilliseconds() //毫秒
  3457. };
  3458. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3459. for (var k in o)
  3460. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3461. return fmt;
  3462. }
  3463. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  3464. var distinct="false";
  3465. if (obj.checked == true) {
  3466. if (index ==1) {
  3467. $('#bcprint').append(
  3468. "_$tag__________________________________________"+
  3469. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3470. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3471. "_$tag_________________________________________________________$tag_" +
  3472. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3473. "_$tag__$tag_______________________________$tag_"
  3474. );
  3475. setBrcode(index,requisition_id);
  3476. }else {
  3477. for (i=1;i<index;i++){
  3478. if ($('#selectxm'+i).attr('checked')) {
  3479. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  3480. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  3481. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  3482. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  3483. distinct="true"
  3484. }
  3485. }
  3486. }
  3487. }
  3488. }
  3489. if (distinct =="false"){
  3490. $('#bcprint').append(
  3491. "_$tag__________________________________________________"+
  3492. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3493. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3494. "_$tag____________________________________________________________________$tag_" +
  3495. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3496. "_$tag__$tag_______________________________________$tag_"
  3497. );
  3498. setBrcode(index,requisition_id);
  3499. }
  3500. }
  3501. }else {
  3502. $("#bq"+index).remove();
  3503. if($.trim($("#bcName"+index).html()) == "") {
  3504. $('#tm'+index).remove();
  3505. $('#kb'+index).remove();
  3506. }
  3507. }
  3508. }
  3509. function setBrcode(index,requisition_id){
  3510. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  3511. output:'css', //渲染方式 css/bmp/svg/canvas
  3512. //bgColor: '#ff0000', //条码背景颜色
  3513. color: '#000000', //条码颜色
  3514. barWidth: 1, //单条条码宽度
  3515. barHeight: 50, //单体条码高度
  3516. //moduleSize: 1, //条码大小
  3517. // posX: 10, //条码坐标X
  3518. // posY: 5, //条码坐标Y
  3519. addQuietZone: false //是否添加空白区(内边距)
  3520. });
  3521. }
  3522. function doPrint(){
  3523. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  3524. var foot_str = "_$tag___$tag__"; //生成尾部
  3525. var older = document.body.innerHTML;
  3526. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  3527. var old_str = document.body.innerHTML; //获得原本页面的代码
  3528. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  3529. window.print(); //打印刚才新建的网页
  3530. document.body.innerHTML = older; //将网页还原
  3531. $('#bcprint').html("");
  3532. return false;
  3533. }
  3534. ----------------------------------- SOURCE END -------------------------------------
  3535. !STACK 0
  3536. java.lang.NullPointerException
  3537. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:43:09.784
  3538. !MESSAGE java.lang.NullPointerException
  3539. !STACK 1
  3540. JavaScript Model Exception: java.lang.NullPointerException
  3541. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3542. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3543. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3544. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3545. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3546. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3547. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3548. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3549. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3550. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3551. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3552. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3553. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3554. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3555. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3556. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3557. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3558. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3559. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3560. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3561. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3562. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3563. Caused by: java.lang.NullPointerException
  3564. Caused by: java.lang.NullPointerException
  3565. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:43:09.784
  3566. !MESSAGE java.lang.NullPointerException
  3567. !STACK 0
  3568. java.lang.NullPointerException
  3569. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:44:03.259
  3570. !MESSAGE Exception occurred during problem detection:
  3571. ----------------------------------- SOURCE BEGIN -------------------------------------
  3572. (function(){WdatePicker();})();
  3573. (function(){WdatePicker();})();
  3574. (function(){search();})();
  3575. (function(){Data.get();})();
  3576. (function(){doPrint();})();
  3577. var Data = {
  3578. "get" : function(){
  3579. var tip = layer.load(2);
  3580. var url = "jyxmcdAjax.do";
  3581. $.ajax({
  3582. "url" : url,
  3583. "data" : {
  3584. "requisition_id" : $("#requisition_id").val(),
  3585. "intpatient_id" : $("#intpatient_id").val(),
  3586. "begDate" : $("#dateBegin").val(),
  3587. "endDate" : $("#dateEnd").val(),
  3588. "department_id": $("#departmentId").val(),
  3589. "searchKey" : $("#searchKey").val()
  3590. },
  3591. "type" : "POST",
  3592. "dataType" : "json",
  3593. "async" : true,
  3594. "success" : function(data) {
  3595. if(data != null && data != ""){
  3596. var html = "";
  3597. for(var i = 0; i < data.length; i++){
  3598. var index = i + 1;
  3599. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  3600. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  3601. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  3602. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  3603. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  3604. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  3605. html += "_$ta";
  3606. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  3607. html += "_$tag____________" + index + "_$tag";
  3608. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  3609. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  3610. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  3611. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  3612. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  3613. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  3614. html += "_$tag";
  3615. }
  3616. $("#dataTable").html(html);
  3617. }
  3618. },
  3619. "complete": function(){
  3620. layer.close(tip);
  3621. }
  3622. });
  3623. }
  3624. }
  3625. Date.prototype.Format = function (fmt) {
  3626. var o = {
  3627. "M+": this.getMonth() + 1, //月份
  3628. "d+": this.getDate(), //日
  3629. "h+": this.getHours(), //小时
  3630. "m+": this.getMinutes(), //分
  3631. "s+": this.getSeconds(), //秒
  3632. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3633. "S": this.getMilliseconds() //毫秒
  3634. };
  3635. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3636. for (var k in o)
  3637. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3638. return fmt;
  3639. }
  3640. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  3641. var distinct="false";
  3642. if (obj.checked == true) {
  3643. if (index ==1) {
  3644. $('#bcprint').append(
  3645. "_$tag__________________________________________"+
  3646. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3647. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3648. "_$tag_________________________________________________________$tag_" +
  3649. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3650. "_$tag__$tag_______________________________$tag_"
  3651. );
  3652. setBrcode(index,requisition_id);
  3653. }else {
  3654. for (i=1;i<index;i++){
  3655. if ($('#selectxm'+i).attr('checked')) {
  3656. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  3657. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  3658. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  3659. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  3660. distinct="true"
  3661. }
  3662. }
  3663. }
  3664. }
  3665. }
  3666. if (distinct =="false"){
  3667. $('#bcprint').append(
  3668. "_$tag__________________________________________________"+
  3669. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3670. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3671. "_$tag____________________________________________________________________$tag_" +
  3672. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3673. "_$tag__$tag_______________________________________$tag_"
  3674. );
  3675. setBrcode(index,requisition_id);
  3676. }
  3677. }
  3678. }else {
  3679. $("#bq"+index).remove();
  3680. if($.trim($("#bcName"+index).html()) == "") {
  3681. $('#tm'+index).remove();
  3682. $('#kb'+index).remove();
  3683. }
  3684. }
  3685. }
  3686. function setBrcode(index,requisition_id){
  3687. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  3688. output:'css', //渲染方式 css/bmp/svg/canvas
  3689. //bgColor: '#ff0000', //条码背景颜色
  3690. color: '#000000', //条码颜色
  3691. barWidth: 1, //单条条码宽度
  3692. barHeight: 50, //单体条码高度
  3693. //moduleSize: 1, //条码大小
  3694. // posX: 10, //条码坐标X
  3695. // posY: 5, //条码坐标Y
  3696. addQuietZone: false //是否添加空白区(内边距)
  3697. });
  3698. }
  3699. function doPrint(){
  3700. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  3701. var foot_str = "_$tag___$tag__"; //生成尾部
  3702. var older = document.body.innerHTML;
  3703. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  3704. var old_str = document.body.innerHTML; //获得原本页面的代码
  3705. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  3706. window.print(); //打印刚才新建的网页
  3707. document.body.innerHTML = older; //将网页还原
  3708. $('#bcprint').html("");
  3709. return false;
  3710. }
  3711. ----------------------------------- SOURCE END -------------------------------------
  3712. !STACK 0
  3713. java.lang.NullPointerException
  3714. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:44:03.260
  3715. !MESSAGE java.lang.NullPointerException
  3716. !STACK 1
  3717. JavaScript Model Exception: java.lang.NullPointerException
  3718. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3719. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3720. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3721. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3722. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3723. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3724. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3725. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3726. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3727. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3728. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3729. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3730. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3731. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3732. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3733. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3734. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3735. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3736. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3737. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3738. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3739. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3740. Caused by: java.lang.NullPointerException
  3741. Caused by: java.lang.NullPointerException
  3742. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:44:03.260
  3743. !MESSAGE java.lang.NullPointerException
  3744. !STACK 0
  3745. java.lang.NullPointerException
  3746. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:51:58.966
  3747. !MESSAGE Exception occurred during problem detection:
  3748. ----------------------------------- SOURCE BEGIN -------------------------------------
  3749. (function(){WdatePicker();})();
  3750. (function(){WdatePicker();})();
  3751. (function(){search();})();
  3752. (function(){Data.get();})();
  3753. (function(){doPrint();})();
  3754. var Data = {
  3755. "get" : function(){
  3756. var tip = layer.load(2);
  3757. var url = "jyxmcdAjax.do";
  3758. $.ajax({
  3759. "url" : url,
  3760. "data" : {
  3761. "requisition_id" : $("#requisition_id").val(),
  3762. "intpatient_id" : $("#intpatient_id").val(),
  3763. "begDate" : $("#dateBegin").val(),
  3764. "endDate" : $("#dateEnd").val(),
  3765. "department_id": $("#departmentId").val(),
  3766. "searchKey" : $("#searchKey").val()
  3767. },
  3768. "type" : "POST",
  3769. "dataType" : "json",
  3770. "async" : true,
  3771. "success" : function(data) {
  3772. if(data != null && data != ""){
  3773. var html = "";
  3774. for(var i = 0; i < data.length; i++){
  3775. var index = i + 1;
  3776. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  3777. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  3778. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  3779. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  3780. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  3781. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  3782. html += "_$ta";
  3783. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  3784. html += "_$tag____________" + index + "_$tag";
  3785. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  3786. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  3787. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  3788. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  3789. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  3790. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  3791. html += "_$tag";
  3792. }
  3793. $("#dataTable").html(html);
  3794. }
  3795. },
  3796. "complete": function(){
  3797. layer.close(tip);
  3798. }
  3799. });
  3800. }
  3801. }
  3802. Date.prototype.Format = function (fmt) {
  3803. var o = {
  3804. "M+": this.getMonth() + 1, //月份
  3805. "d+": this.getDate(), //日
  3806. "h+": this.getHours(), //小时
  3807. "m+": this.getMinutes(), //分
  3808. "s+": this.getSeconds(), //秒
  3809. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3810. "S": this.getMilliseconds() //毫秒
  3811. };
  3812. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3813. for (var k in o)
  3814. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3815. return fmt;
  3816. }
  3817. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  3818. var distinct="false";
  3819. if (obj.checked == true) {
  3820. if (index ==1) {
  3821. $('#bcprint').append(
  3822. "_$tag__________________________________________"+
  3823. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3824. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3825. "_$tag_________________________________________________________$tag_" +
  3826. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3827. "_$tag__$tag_______________________________$tag_"
  3828. );
  3829. setBrcode(index,requisition_id);
  3830. }else {
  3831. for (i=1;i<index;i++){
  3832. if ($('#selectxm'+i).attr('checked')) {
  3833. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  3834. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  3835. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  3836. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  3837. distinct="true"
  3838. }
  3839. }
  3840. }
  3841. }
  3842. }
  3843. if (distinct =="false"){
  3844. $('#bcprint').append(
  3845. "_$tag__________________________________________________"+
  3846. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  3847. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  3848. "_$tag____________________________________________________________________$tag_" +
  3849. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  3850. "_$tag__$tag_______________________________________$tag_"
  3851. );
  3852. setBrcode(index,requisition_id);
  3853. }
  3854. }
  3855. }else {
  3856. $("#bq"+index).remove();
  3857. if($.trim($("#bcName"+index).html()) == "") {
  3858. $('#tm'+index).remove();
  3859. $('#kb'+index).remove();
  3860. }
  3861. }
  3862. }
  3863. function setBrcode(index,requisition_id){
  3864. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  3865. output:'css', //渲染方式 css/bmp/svg/canvas
  3866. //bgColor: '#ff0000', //条码背景颜色
  3867. color: '#000000', //条码颜色
  3868. barWidth: 1, //单条条码宽度
  3869. barHeight: 50, //单体条码高度
  3870. //moduleSize: 1, //条码大小
  3871. // posX: 10, //条码坐标X
  3872. // posY: 5, //条码坐标Y
  3873. addQuietZone: false //是否添加空白区(内边距)
  3874. });
  3875. }
  3876. function doPrint(){
  3877. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  3878. var foot_str = "_$tag___$tag__"; //生成尾部
  3879. var older = document.body.innerHTML;
  3880. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  3881. var old_str = document.body.innerHTML; //获得原本页面的代码
  3882. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  3883. window.print(); //打印刚才新建的网页
  3884. document.body.innerHTML = older; //将网页还原
  3885. $('#bcprint').html("");
  3886. return false;
  3887. }
  3888. ----------------------------------- SOURCE END -------------------------------------
  3889. !STACK 0
  3890. java.lang.NullPointerException
  3891. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  3892. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  3893. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  3894. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  3895. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  3896. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  3897. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  3898. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  3899. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  3900. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  3901. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  3902. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  3903. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  3904. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  3905. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  3906. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  3907. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  3908. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  3909. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  3910. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  3911. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  3912. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  3913. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  3914. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  3915. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  3916. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  3917. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  3918. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  3919. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  3920. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  3921. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  3922. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  3923. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  3924. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  3925. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  3926. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  3927. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  3928. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  3929. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  3930. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  3931. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  3932. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  3933. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  3934. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  3935. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  3936. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  3937. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  3938. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  3939. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  3940. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  3941. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  3942. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  3943. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  3944. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  3945. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  3946. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  3947. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  3948. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  3949. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  3950. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  3951. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  3952. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  3953. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  3954. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  3955. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  3956. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3957. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3958. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  3959. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  3960. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  3961. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  3962. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  3963. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  3964. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  3965. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  3966. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  3967. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  3968. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  3969. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  3970. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  3971. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  3972. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  3973. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  3974. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  3975. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  3976. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  3977. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  3978. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  3979. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  3980. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  3981. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  3982. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  3983. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  3984. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  3985. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  3986. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  3987. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  3988. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  3989. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  3990. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  3991. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  3992. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  3993. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  3994. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  3995. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  3996. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  3997. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  3998. at java.lang.reflect.Method.invoke(Unknown Source)
  3999. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  4000. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  4001. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  4002. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  4003. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:51:58.967
  4004. !MESSAGE Error while processing working copy
  4005. !STACK 1
  4006. JavaScript Model Exception: java.lang.NullPointerException
  4007. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4008. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4009. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4010. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4011. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4012. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4013. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4014. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4015. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4016. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4017. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4018. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4019. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4020. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4021. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4022. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4023. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  4024. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  4025. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  4026. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  4027. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  4028. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  4029. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  4030. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  4031. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  4032. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  4033. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  4034. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  4035. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4036. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  4037. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  4038. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  4039. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4040. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  4041. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  4042. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  4043. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  4044. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  4045. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  4046. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  4047. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  4048. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4049. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  4050. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  4051. at java.lang.reflect.Method.invoke(Unknown Source)
  4052. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  4053. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  4054. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  4055. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  4056. Caused by: java.lang.NullPointerException
  4057. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  4058. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  4059. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  4060. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  4061. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  4062. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  4063. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  4064. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  4065. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4066. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4067. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4068. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4069. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4070. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4071. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4072. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4073. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4074. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4075. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4076. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4077. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4078. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4079. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4080. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4081. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4082. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4083. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4084. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4085. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4086. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4087. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4088. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4089. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4090. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4091. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  4092. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4093. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4094. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4095. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4096. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4097. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4098. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  4099. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  4100. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  4101. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4102. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4103. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4104. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4105. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  4106. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4107. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4108. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4109. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4110. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4111. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4112. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4113. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4114. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  4115. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  4116. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  4117. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  4118. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  4119. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  4120. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  4121. ... 48 more
  4122. Caused by: java.lang.NullPointerException
  4123. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  4124. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  4125. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  4126. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  4127. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  4128. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  4129. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  4130. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  4131. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4132. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4133. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4134. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4135. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4136. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4137. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4138. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4139. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4140. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4141. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4142. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4143. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4144. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4145. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4146. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4147. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4148. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4149. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4150. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4151. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4152. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4153. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4154. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4155. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4156. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4157. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  4158. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4159. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4160. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4161. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4162. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4163. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4164. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  4165. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  4166. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  4167. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4168. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4169. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4170. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4171. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  4172. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4173. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4174. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4175. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4176. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4177. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4178. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4179. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4180. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  4181. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  4182. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  4183. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  4184. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  4185. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  4186. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  4187. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4188. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4189. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4190. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4191. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4192. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4193. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4194. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4195. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4196. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4197. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4198. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4199. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4200. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4201. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4202. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  4203. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  4204. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  4205. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  4206. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  4207. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  4208. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  4209. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  4210. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  4211. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  4212. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  4213. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  4214. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4215. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  4216. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  4217. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  4218. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4219. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  4220. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  4221. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  4222. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  4223. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  4224. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  4225. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  4226. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  4227. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4228. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  4229. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  4230. at java.lang.reflect.Method.invoke(Unknown Source)
  4231. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  4232. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  4233. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  4234. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  4235. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:51:58.968
  4236. !MESSAGE java.lang.NullPointerException
  4237. !STACK 0
  4238. java.lang.NullPointerException
  4239. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  4240. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  4241. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  4242. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  4243. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  4244. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  4245. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  4246. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  4247. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4248. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4249. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4250. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4251. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4252. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4253. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4254. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4255. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4256. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4257. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4258. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4259. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4260. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4261. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4262. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4263. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4264. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4265. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4266. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4267. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4268. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4269. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4270. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4271. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4272. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4273. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  4274. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4275. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4276. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4277. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4278. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4279. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4280. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  4281. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  4282. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  4283. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4284. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4285. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4286. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4287. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  4288. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4289. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4290. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4291. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4292. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4293. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4294. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4295. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4296. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  4297. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  4298. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  4299. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  4300. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  4301. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  4302. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  4303. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4304. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4305. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4306. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4307. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4308. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4309. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4310. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4311. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4312. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4313. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4314. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4315. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4316. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4317. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4318. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  4319. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  4320. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  4321. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  4322. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  4323. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  4324. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  4325. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  4326. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  4327. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  4328. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  4329. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  4330. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4331. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  4332. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  4333. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  4334. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4335. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  4336. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  4337. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  4338. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  4339. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  4340. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  4341. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  4342. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  4343. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4344. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  4345. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  4346. at java.lang.reflect.Method.invoke(Unknown Source)
  4347. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  4348. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  4349. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  4350. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  4351. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:00.342
  4352. !MESSAGE Exception occurred during problem detection:
  4353. ----------------------------------- SOURCE BEGIN -------------------------------------
  4354. (function(){WdatePicker();})();
  4355. (function(){WdatePicker();})();
  4356. (function(){search();})();
  4357. (function(){Data.get();})();
  4358. (function(){doPrint();})();
  4359. var Data = {
  4360. "get" : function(){
  4361. var tip = layer.load(2);
  4362. var url = "jyxmcdAjax.do";
  4363. $.ajax({
  4364. "url" : url,
  4365. "data" : {
  4366. "requisition_id" : $("#requisition_id").val(),
  4367. "intpatient_id" : $("#intpatient_id").val(),
  4368. "begDate" : $("#dateBegin").val(),
  4369. "endDate" : $("#dateEnd").val(),
  4370. "department_id": $("#departmentId").val(),
  4371. "searchKey" : $("#searchKey").val()
  4372. },
  4373. "type" : "POST",
  4374. "dataType" : "json",
  4375. "async" : true,
  4376. "success" : function(data) {
  4377. if(data != null && data != ""){
  4378. var html = "";
  4379. for(var i = 0; i < data.length; i++){
  4380. var index = i + 1;
  4381. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  4382. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  4383. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  4384. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  4385. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  4386. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  4387. html += "_$ta";
  4388. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  4389. html += "_$tag____________" + index + "_$tag";
  4390. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  4391. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  4392. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  4393. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  4394. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  4395. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  4396. html += "_$tag";
  4397. }
  4398. $("#dataTable").html(html);
  4399. }
  4400. },
  4401. "complete": function(){
  4402. layer.close(tip);
  4403. }
  4404. });
  4405. }
  4406. }
  4407. Date.prototype.Format = function (fmt) {
  4408. var o = {
  4409. "M+": this.getMonth() + 1, //月份
  4410. "d+": this.getDate(), //日
  4411. "h+": this.getHours(), //小时
  4412. "m+": this.getMinutes(), //分
  4413. "s+": this.getSeconds(), //秒
  4414. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4415. "S": this.getMilliseconds() //毫秒
  4416. };
  4417. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4418. for (var k in o)
  4419. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4420. return fmt;
  4421. }
  4422. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  4423. var distinct="false";
  4424. if (obj.checked == true) {
  4425. if (index ==1) {
  4426. $('#bcprint').append(
  4427. "_$tag__________________________________________"+
  4428. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4429. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4430. "_$tag_________________________________________________________$tag_" +
  4431. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4432. "_$tag__$tag_______________________________$tag_"
  4433. );
  4434. setBrcode(index,requisition_id);
  4435. }else {
  4436. for (i=1;i<index;i++){
  4437. if ($('#selectxm'+i).attr('checked')) {
  4438. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  4439. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  4440. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  4441. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  4442. distinct="true"
  4443. }
  4444. }
  4445. }
  4446. }
  4447. }
  4448. if (distinct =="false"){
  4449. $('#bcprint').append(
  4450. "_$tag__________________________________________________"+
  4451. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4452. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4453. "_$tag____________________________________________________________________$tag_" +
  4454. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4455. "_$tag__$tag_______________________________________$tag_"
  4456. );
  4457. setBrcode(index,requisition_id);
  4458. }
  4459. }
  4460. }else {
  4461. $("#bq"+index).remove();
  4462. if($.trim($("#bcName"+index).html()) == "") {
  4463. $('#tm'+index).remove();
  4464. $('#kb'+index).remove();
  4465. }
  4466. }
  4467. }
  4468. function setBrcode(index,requisition_id){
  4469. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  4470. output:'css', //渲染方式 css/bmp/svg/canvas
  4471. //bgColor: '#ff0000', //条码背景颜色
  4472. color: '#000000', //条码颜色
  4473. barWidth: 1, //单条条码宽度
  4474. barHeight: 50, //单体条码高度
  4475. //moduleSize: 1, //条码大小
  4476. // posX: 10, //条码坐标X
  4477. // posY: 5, //条码坐标Y
  4478. addQuietZone: false //是否添加空白区(内边距)
  4479. });
  4480. }
  4481. function doPrint(){
  4482. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  4483. var foot_str = "_$tag___$tag__"; //生成尾部
  4484. var older = document.body.innerHTML;
  4485. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  4486. var old_str = document.body.innerHTML; //获得原本页面的代码
  4487. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  4488. window.print(); //打印刚才新建的网页
  4489. document.body.innerHTML = older; //将网页还原
  4490. $('#bcprint').html("");
  4491. return false;
  4492. }
  4493. ----------------------------------- SOURCE END -------------------------------------
  4494. !STACK 0
  4495. java.lang.NullPointerException
  4496. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  4497. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  4498. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  4499. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  4500. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  4501. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  4502. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  4503. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  4504. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4505. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4506. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4507. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4508. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4509. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4510. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4511. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4512. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4513. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4514. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4515. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4516. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4517. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4518. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4519. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4520. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  4521. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  4522. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  4523. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  4524. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4525. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4526. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4527. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4528. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4529. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  4530. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  4531. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4532. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4533. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4534. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4535. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4536. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4537. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  4538. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  4539. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  4540. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4541. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4542. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  4543. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  4544. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  4545. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  4546. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  4547. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  4548. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  4549. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  4550. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  4551. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  4552. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  4553. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  4554. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  4555. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  4556. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  4557. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  4558. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  4559. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  4560. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4561. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4562. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4563. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4564. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4565. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1108)
  4566. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:945)
  4567. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findTypes(SearchableEnvironment.java:416)
  4568. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:785)
  4569. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4570. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4571. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4572. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  4573. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  4574. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  4575. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  4576. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  4577. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  4578. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  4579. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  4580. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  4581. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  4582. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  4583. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  4584. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4585. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  4586. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  4587. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  4588. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  4589. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  4590. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  4591. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  4592. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  4593. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  4594. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  4595. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  4596. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  4597. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4598. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  4599. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  4600. at java.lang.reflect.Method.invoke(Unknown Source)
  4601. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  4602. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  4603. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  4604. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  4605. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:33.044
  4606. !MESSAGE Exception occurred during problem detection:
  4607. ----------------------------------- SOURCE BEGIN -------------------------------------
  4608. (function(){WdatePicker();})();
  4609. (function(){WdatePicker();})();
  4610. (function(){search();})();
  4611. (function(){Data.get();})();
  4612. (function(){doPrint();})();
  4613. var Data = {
  4614. "get" : function(){
  4615. var tip = layer.load(2);
  4616. var url = "jyxmcdAjax.do";
  4617. $.ajax({
  4618. "url" : url,
  4619. "data" : {
  4620. "requisition_id" : $("#requisition_id").val(),
  4621. "intpatient_id" : $("#intpatient_id").val(),
  4622. "begDate" : $("#dateBegin").val(),
  4623. "endDate" : $("#dateEnd").val(),
  4624. "department_id": $("#departmentId").val(),
  4625. "searchKey" : $("#searchKey").val()
  4626. },
  4627. "type" : "POST",
  4628. "dataType" : "json",
  4629. "async" : true,
  4630. "success" : function(data) {
  4631. if(data != null && data != ""){
  4632. var html = "";
  4633. for(var i = 0; i < data.length; i++){
  4634. var index = i + 1;
  4635. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  4636. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  4637. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  4638. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  4639. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  4640. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  4641. html += "_$ta";
  4642. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  4643. html += "_$tag____________" + index + "_$tag";
  4644. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  4645. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  4646. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  4647. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  4648. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  4649. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  4650. html += "_$tag";
  4651. }
  4652. $("#dataTable").html(html);
  4653. }
  4654. },
  4655. "complete": function(){
  4656. layer.close(tip);
  4657. }
  4658. });
  4659. }
  4660. }
  4661. Date.prototype.Format = function (fmt) {
  4662. var o = {
  4663. "M+": this.getMonth() + 1, //月份
  4664. "d+": this.getDate(), //日
  4665. "h+": this.getHours(), //小时
  4666. "m+": this.getMinutes(), //分
  4667. "s+": this.getSeconds(), //秒
  4668. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4669. "S": this.getMilliseconds() //毫秒
  4670. };
  4671. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4672. for (var k in o)
  4673. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4674. return fmt;
  4675. }
  4676. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  4677. var distinct="false";
  4678. if (obj.checked == true) {
  4679. if (index ==1) {
  4680. $('#bcprint').append(
  4681. "_$tag__________________________________________"+
  4682. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4683. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4684. "_$tag_________________________________________________________$tag_" +
  4685. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4686. "_$tag__$tag_______________________________$tag_"
  4687. );
  4688. setBrcode(index,requisition_id);
  4689. }else {
  4690. for (i=1;i<index;i++){
  4691. if ($('#selectxm'+i).attr('checked')) {
  4692. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  4693. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  4694. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  4695. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  4696. distinct="true"
  4697. }
  4698. }
  4699. }
  4700. }
  4701. }
  4702. if (distinct =="false"){
  4703. $('#bcprint').append(
  4704. "_$tag__________________________________________________"+
  4705. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4706. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4707. "_$tag____________________________________________________________________$tag_" +
  4708. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4709. "_$tag__$tag_______________________________________$tag_"
  4710. );
  4711. setBrcode(index,requisition_id);
  4712. }
  4713. }
  4714. }else {
  4715. $("#bq"+index).remove();
  4716. if($.trim($("#bcName"+index).html()) == "") {
  4717. $('#tm'+index).remove();
  4718. $('#kb'+index).remove();
  4719. }
  4720. }
  4721. }
  4722. function setBrcode(index,requisition_id){
  4723. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  4724. output:'css', //渲染方式 css/bmp/svg/canvas
  4725. //bgColor: '#ff0000', //条码背景颜色
  4726. color: '#000000', //条码颜色
  4727. barWidth: 1, //单条条码宽度
  4728. barHeight: 50, //单体条码高度
  4729. //moduleSize: 1, //条码大小
  4730. // posX: 10, //条码坐标X
  4731. // posY: 5, //条码坐标Y
  4732. addQuietZone: false //是否添加空白区(内边距)
  4733. });
  4734. }
  4735. function doPrint(){
  4736. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  4737. var foot_str = "_$tag___$tag__"; //生成尾部
  4738. var older = document.body.innerHTML;
  4739. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  4740. var old_str = document.body.innerHTML; //获得原本页面的代码
  4741. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  4742. window.print(); //打印刚才新建的网页
  4743. document.body.innerHTML = older; //将网页还原
  4744. $('#bcprint').html("");
  4745. return false;
  4746. }
  4747. ----------------------------------- SOURCE END -------------------------------------
  4748. !STACK 0
  4749. java.lang.NullPointerException
  4750. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:33.044
  4751. !MESSAGE Error while processing working copy
  4752. !STACK 1
  4753. JavaScript Model Exception: java.lang.NullPointerException
  4754. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4755. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4756. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4757. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4758. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4759. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4760. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4761. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4762. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4763. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4764. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4765. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4766. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4767. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4768. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4769. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4770. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  4771. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  4772. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  4773. Caused by: java.lang.NullPointerException
  4774. Caused by: java.lang.NullPointerException
  4775. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:52:33.044
  4776. !MESSAGE java.lang.NullPointerException
  4777. !STACK 0
  4778. java.lang.NullPointerException
  4779. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:34.340
  4780. !MESSAGE Exception occurred during problem detection:
  4781. ----------------------------------- SOURCE BEGIN -------------------------------------
  4782. (function(){WdatePicker();})();
  4783. (function(){WdatePicker();})();
  4784. (function(){search();})();
  4785. (function(){Data.get();})();
  4786. (function(){doPrint();})();
  4787. var Data = {
  4788. "get" : function(){
  4789. var tip = layer.load(2);
  4790. var url = "jyxmcdAjax.do";
  4791. $.ajax({
  4792. "url" : url,
  4793. "data" : {
  4794. "requisition_id" : $("#requisition_id").val(),
  4795. "intpatient_id" : $("#intpatient_id").val(),
  4796. "begDate" : $("#dateBegin").val(),
  4797. "endDate" : $("#dateEnd").val(),
  4798. "department_id": $("#departmentId").val(),
  4799. "searchKey" : $("#searchKey").val()
  4800. },
  4801. "type" : "POST",
  4802. "dataType" : "json",
  4803. "async" : true,
  4804. "success" : function(data) {
  4805. if(data != null && data != ""){
  4806. var html = "";
  4807. for(var i = 0; i < data.length; i++){
  4808. var index = i + 1;
  4809. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  4810. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  4811. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  4812. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  4813. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  4814. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  4815. html += "_$ta";
  4816. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  4817. html += "_$tag____________" + index + "_$tag";
  4818. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  4819. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  4820. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  4821. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  4822. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  4823. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  4824. html += "_$tag";
  4825. }
  4826. $("#dataTable").html(html);
  4827. }
  4828. },
  4829. "complete": function(){
  4830. layer.close(tip);
  4831. }
  4832. });
  4833. }
  4834. }
  4835. Date.prototype.Format = function (fmt) {
  4836. var o = {
  4837. "M+": this.getMonth() + 1, //月份
  4838. "d+": this.getDate(), //日
  4839. "h+": this.getHours(), //小时
  4840. "m+": this.getMinutes(), //分
  4841. "s+": this.getSeconds(), //秒
  4842. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4843. "S": this.getMilliseconds() //毫秒
  4844. };
  4845. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4846. for (var k in o)
  4847. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4848. return fmt;
  4849. }
  4850. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  4851. var distinct="false";
  4852. if (obj.checked == true) {
  4853. if (index ==1) {
  4854. $('#bcprint').append(
  4855. "_$tag__________________________________________"+
  4856. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4857. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4858. "_$tag_________________________________________________________$tag_" +
  4859. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4860. "_$tag__$tag_______________________________$tag_"
  4861. );
  4862. setBrcode(index,requisition_id);
  4863. }else {
  4864. for (i=1;i<index;i++){
  4865. if ($('#selectxm'+i).attr('checked')) {
  4866. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  4867. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  4868. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  4869. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  4870. distinct="true"
  4871. }
  4872. }
  4873. }
  4874. }
  4875. }
  4876. if (distinct =="false"){
  4877. $('#bcprint').append(
  4878. "_$tag__________________________________________________"+
  4879. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  4880. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  4881. "_$tag____________________________________________________________________$tag_" +
  4882. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  4883. "_$tag__$tag_______________________________________$tag_"
  4884. );
  4885. setBrcode(index,requisition_id);
  4886. }
  4887. }
  4888. }else {
  4889. $("#bq"+index).remove();
  4890. if($.trim($("#bcName"+index).html()) == "") {
  4891. $('#tm'+index).remove();
  4892. $('#kb'+index).remove();
  4893. }
  4894. }
  4895. }
  4896. function setBrcode(index,requisition_id){
  4897. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  4898. output:'css', //渲染方式 css/bmp/svg/canvas
  4899. //bgColor: '#ff0000', //条码背景颜色
  4900. color: '#000000', //条码颜色
  4901. barWidth: 1, //单条条码宽度
  4902. barHeight: 50, //单体条码高度
  4903. //moduleSize: 1, //条码大小
  4904. // posX: 10, //条码坐标X
  4905. // posY: 5, //条码坐标Y
  4906. addQuietZone: false //是否添加空白区(内边距)
  4907. });
  4908. }
  4909. function doPrint(){
  4910. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  4911. var foot_str = "_$tag___$tag__"; //生成尾部
  4912. var older = document.body.innerHTML;
  4913. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  4914. var old_str = document.body.innerHTML; //获得原本页面的代码
  4915. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  4916. window.print(); //打印刚才新建的网页
  4917. document.body.innerHTML = older; //将网页还原
  4918. $('#bcprint').html("");
  4919. return false;
  4920. }
  4921. ----------------------------------- SOURCE END -------------------------------------
  4922. !STACK 0
  4923. java.lang.NullPointerException
  4924. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:46.599
  4925. !MESSAGE Exception occurred during problem detection:
  4926. ----------------------------------- SOURCE BEGIN -------------------------------------
  4927. (function(){WdatePicker();})();
  4928. (function(){WdatePicker();})();
  4929. (function(){search();})();
  4930. (function(){Data.get();})();
  4931. (function(){doPrint();})();
  4932. var Data = {
  4933. "get" : function(){
  4934. var tip = layer.load(2);
  4935. var url = "jyxmcdAjax.do";
  4936. $.ajax({
  4937. "url" : url,
  4938. "data" : {
  4939. "requisition_id" : $("#requisition_id").val(),
  4940. "intpatient_id" : $("#intpatient_id").val(),
  4941. "begDate" : $("#dateBegin").val(),
  4942. "endDate" : $("#dateEnd").val(),
  4943. "department_id": $("#departmentId").val(),
  4944. "searchKey" : $("#searchKey").val()
  4945. },
  4946. "type" : "POST",
  4947. "dataType" : "json",
  4948. "async" : true,
  4949. "success" : function(data) {
  4950. if(data != null && data != ""){
  4951. var html = "";
  4952. for(var i = 0; i < data.length; i++){
  4953. var index = i + 1;
  4954. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  4955. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  4956. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  4957. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  4958. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  4959. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  4960. html += "_$ta";
  4961. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  4962. html += "_$tag____________" + index + "_$tag";
  4963. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  4964. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  4965. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  4966. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  4967. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  4968. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  4969. html += "_$tag";
  4970. }
  4971. $("#dataTable").html(html);
  4972. }
  4973. },
  4974. "complete": function(){
  4975. layer.close(tip);
  4976. }
  4977. });
  4978. }
  4979. }
  4980. Date.prototype.Format = function (fmt) {
  4981. var o = {
  4982. "M+": this.getMonth() + 1, //月份
  4983. "d+": this.getDate(), //日
  4984. "h+": this.getHours(), //小时
  4985. "m+": this.getMinutes(), //分
  4986. "s+": this.getSeconds(), //秒
  4987. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4988. "S": this.getMilliseconds() //毫秒
  4989. };
  4990. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4991. for (var k in o)
  4992. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4993. return fmt;
  4994. }
  4995. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  4996. var distinct="false";
  4997. if (obj.checked == true) {
  4998. if (index ==1) {
  4999. $('#bcprint').append(
  5000. "_$tag__________________________________________"+
  5001. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5002. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5003. "_$tag_________________________________________________________$tag_" +
  5004. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5005. "_$tag__$tag_______________________________$tag_"
  5006. );
  5007. setBrcode(index,requisition_id);
  5008. }else {
  5009. for (i=1;i<index;i++){
  5010. if ($('#selectxm'+i).attr('checked')) {
  5011. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5012. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5013. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5014. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5015. distinct="true"
  5016. }
  5017. }
  5018. }
  5019. }
  5020. }
  5021. if (distinct =="false"){
  5022. $('#bcprint').append(
  5023. "_$tag__________________________________________________"+
  5024. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5025. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5026. "_$tag____________________________________________________________________$tag_" +
  5027. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5028. "_$tag__$tag_______________________________________$tag_"
  5029. );
  5030. setBrcode(index,requisition_id);
  5031. }
  5032. }
  5033. }else {
  5034. $("#bq"+index).remove();
  5035. if($.trim($("#bcName"+index).html()) == "") {
  5036. $('#tm'+index).remove();
  5037. $('#kb'+index).remove();
  5038. }
  5039. }
  5040. }
  5041. function setBrcode(index,requisition_id){
  5042. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5043. output:'css', //渲染方式 css/bmp/svg/canvas
  5044. //bgColor: '#ff0000', //条码背景颜色
  5045. color: '#000000', //条码颜色
  5046. barWidth: 1, //单条条码宽度
  5047. barHeight: 50, //单体条码高度
  5048. //moduleSize: 1, //条码大小
  5049. // posX: 10, //条码坐标X
  5050. // posY: 5, //条码坐标Y
  5051. addQuietZone: false //是否添加空白区(内边距)
  5052. });
  5053. }
  5054. function doPrint(){
  5055. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5056. var foot_str = "_$tag___$tag__"; //生成尾部
  5057. var older = document.body.innerHTML;
  5058. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5059. var old_str = document.body.innerHTML; //获得原本页面的代码
  5060. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5061. window.print(); //打印刚才新建的网页
  5062. document.body.innerHTML = older; //将网页还原
  5063. $('#bcprint').html("");
  5064. return false;
  5065. }
  5066. ----------------------------------- SOURCE END -------------------------------------
  5067. !STACK 0
  5068. java.lang.NullPointerException
  5069. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:46.599
  5070. !MESSAGE Error while processing working copy
  5071. !STACK 1
  5072. JavaScript Model Exception: java.lang.NullPointerException
  5073. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5074. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5075. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5076. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5077. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5078. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5079. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5080. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5081. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5082. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5083. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5084. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5085. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5086. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5087. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5088. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5089. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  5090. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  5091. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  5092. Caused by: java.lang.NullPointerException
  5093. Caused by: java.lang.NullPointerException
  5094. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:52:46.600
  5095. !MESSAGE java.lang.NullPointerException
  5096. !STACK 0
  5097. java.lang.NullPointerException
  5098. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:47.847
  5099. !MESSAGE Exception occurred during problem detection:
  5100. ----------------------------------- SOURCE BEGIN -------------------------------------
  5101. (function(){WdatePicker();})();
  5102. (function(){WdatePicker();})();
  5103. (function(){search();})();
  5104. (function(){Data.get();})();
  5105. (function(){doPrint();})();
  5106. var Data = {
  5107. "get" : function(){
  5108. var tip = layer.load(2);
  5109. var url = "jyxmcdAjax.do";
  5110. $.ajax({
  5111. "url" : url,
  5112. "data" : {
  5113. "requisition_id" : $("#requisition_id").val(),
  5114. "intpatient_id" : $("#intpatient_id").val(),
  5115. "begDate" : $("#dateBegin").val(),
  5116. "endDate" : $("#dateEnd").val(),
  5117. "department_id": $("#departmentId").val(),
  5118. "searchKey" : $("#searchKey").val()
  5119. },
  5120. "type" : "POST",
  5121. "dataType" : "json",
  5122. "async" : true,
  5123. "success" : function(data) {
  5124. if(data != null && data != ""){
  5125. var html = "";
  5126. for(var i = 0; i < data.length; i++){
  5127. var index = i + 1;
  5128. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  5129. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  5130. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  5131. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  5132. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  5133. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  5134. html += "_$ta";
  5135. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  5136. html += "_$tag____________" + index + "_$tag";
  5137. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  5138. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  5139. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  5140. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  5141. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  5142. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  5143. html += "_$tag";
  5144. }
  5145. $("#dataTable").html(html);
  5146. }
  5147. },
  5148. "complete": function(){
  5149. layer.close(tip);
  5150. }
  5151. });
  5152. }
  5153. }
  5154. Date.prototype.Format = function (fmt) {
  5155. var o = {
  5156. "M+": this.getMonth() + 1, //月份
  5157. "d+": this.getDate(), //日
  5158. "h+": this.getHours(), //小时
  5159. "m+": this.getMinutes(), //分
  5160. "s+": this.getSeconds(), //秒
  5161. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5162. "S": this.getMilliseconds() //毫秒
  5163. };
  5164. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5165. for (var k in o)
  5166. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5167. return fmt;
  5168. }
  5169. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  5170. var distinct="false";
  5171. if (obj.checked == true) {
  5172. if (index ==1) {
  5173. $('#bcprint').append(
  5174. "_$tag__________________________________________"+
  5175. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5176. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5177. "_$tag_________________________________________________________$tag_" +
  5178. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5179. "_$tag__$tag_______________________________$tag_"
  5180. );
  5181. setBrcode(index,requisition_id);
  5182. }else {
  5183. for (i=1;i<index;i++){
  5184. if ($('#selectxm'+i).attr('checked')) {
  5185. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5186. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5187. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5188. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5189. distinct="true"
  5190. }
  5191. }
  5192. }
  5193. }
  5194. }
  5195. if (distinct =="false"){
  5196. $('#bcprint').append(
  5197. "_$tag__________________________________________________"+
  5198. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5199. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5200. "_$tag____________________________________________________________________$tag_" +
  5201. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5202. "_$tag__$tag_______________________________________$tag_"
  5203. );
  5204. setBrcode(index,requisition_id);
  5205. }
  5206. }
  5207. }else {
  5208. $("#bq"+index).remove();
  5209. if($.trim($("#bcName"+index).html()) == "") {
  5210. $('#tm'+index).remove();
  5211. $('#kb'+index).remove();
  5212. }
  5213. }
  5214. }
  5215. function setBrcode(index,requisition_id){
  5216. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5217. output:'css', //渲染方式 css/bmp/svg/canvas
  5218. //bgColor: '#ff0000', //条码背景颜色
  5219. color: '#000000', //条码颜色
  5220. barWidth: 1, //单条条码宽度
  5221. barHeight: 50, //单体条码高度
  5222. //moduleSize: 1, //条码大小
  5223. // posX: 10, //条码坐标X
  5224. // posY: 5, //条码坐标Y
  5225. addQuietZone: false //是否添加空白区(内边距)
  5226. });
  5227. }
  5228. function doPrint(){
  5229. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5230. var foot_str = "_$tag___$tag__"; //生成尾部
  5231. var older = document.body.innerHTML;
  5232. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5233. var old_str = document.body.innerHTML; //获得原本页面的代码
  5234. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5235. window.print(); //打印刚才新建的网页
  5236. document.body.innerHTML = older; //将网页还原
  5237. $('#bcprint').html("");
  5238. return false;
  5239. }
  5240. ----------------------------------- SOURCE END -------------------------------------
  5241. !STACK 0
  5242. java.lang.NullPointerException
  5243. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:48.250
  5244. !MESSAGE Exception occurred during problem detection:
  5245. ----------------------------------- SOURCE BEGIN -------------------------------------
  5246. (function(){WdatePicker();})();
  5247. (function(){WdatePicker();})();
  5248. (function(){search();})();
  5249. (function(){Data.get();})();
  5250. (function(){doPrint();})();
  5251. var Data = {
  5252. "get" : function(){
  5253. var tip = layer.load(2);
  5254. var url = "jyxmcdAjax.do";
  5255. $.ajax({
  5256. "url" : url,
  5257. "data" : {
  5258. "requisition_id" : $("#requisition_id").val(),
  5259. "intpatient_id" : $("#intpatient_id").val(),
  5260. "begDate" : $("#dateBegin").val(),
  5261. "endDate" : $("#dateEnd").val(),
  5262. "department_id": $("#departmentId").val(),
  5263. "searchKey" : $("#searchKey").val()
  5264. },
  5265. "type" : "POST",
  5266. "dataType" : "json",
  5267. "async" : true,
  5268. "success" : function(data) {
  5269. if(data != null && data != ""){
  5270. var html = "";
  5271. for(var i = 0; i < data.length; i++){
  5272. var index = i + 1;
  5273. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  5274. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  5275. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  5276. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  5277. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  5278. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  5279. html += "_$ta";
  5280. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  5281. html += "_$tag____________" + index + "_$tag";
  5282. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  5283. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  5284. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  5285. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  5286. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  5287. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  5288. html += "_$tag";
  5289. }
  5290. $("#dataTable").html(html);
  5291. }
  5292. },
  5293. "complete": function(){
  5294. layer.close(tip);
  5295. }
  5296. });
  5297. }
  5298. }
  5299. Date.prototype.Format = function (fmt) {
  5300. var o = {
  5301. "M+": this.getMonth() + 1, //月份
  5302. "d+": this.getDate(), //日
  5303. "h+": this.getHours(), //小时
  5304. "m+": this.getMinutes(), //分
  5305. "s+": this.getSeconds(), //秒
  5306. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5307. "S": this.getMilliseconds() //毫秒
  5308. };
  5309. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5310. for (var k in o)
  5311. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5312. return fmt;
  5313. }
  5314. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  5315. var distinct="false";
  5316. if (obj.checked == true) {
  5317. if (index ==1) {
  5318. $('#bcprint').append(
  5319. "_$tag__________________________________________"+
  5320. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5321. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5322. "_$tag_________________________________________________________$tag_" +
  5323. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5324. "_$tag__$tag_______________________________$tag_"
  5325. );
  5326. setBrcode(index,requisition_id);
  5327. }else {
  5328. for (i=1;i<index;i++){
  5329. if ($('#selectxm'+i).attr('checked')) {
  5330. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5331. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5332. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5333. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5334. distinct="true"
  5335. }
  5336. }
  5337. }
  5338. }
  5339. }
  5340. if (distinct =="false"){
  5341. $('#bcprint').append(
  5342. "_$tag__________________________________________________"+
  5343. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5344. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5345. "_$tag____________________________________________________________________$tag_" +
  5346. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5347. "_$tag__$tag_______________________________________$tag_"
  5348. );
  5349. setBrcode(index,requisition_id);
  5350. }
  5351. }
  5352. }else {
  5353. $("#bq"+index).remove();
  5354. if($.trim($("#bcName"+index).html()) == "") {
  5355. $('#tm'+index).remove();
  5356. $('#kb'+index).remove();
  5357. }
  5358. }
  5359. }
  5360. function setBrcode(index,requisition_id){
  5361. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5362. output:'css', //渲染方式 css/bmp/svg/canvas
  5363. //bgColor: '#ff0000', //条码背景颜色
  5364. color: '#000000', //条码颜色
  5365. barWidth: 1, //单条条码宽度
  5366. barHeight: 50, //单体条码高度
  5367. //moduleSize: 1, //条码大小
  5368. // posX: 10, //条码坐标X
  5369. // posY: 5, //条码坐标Y
  5370. addQuietZone: false //是否添加空白区(内边距)
  5371. });
  5372. }
  5373. function doPrint(){
  5374. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5375. var foot_str = "_$tag___$tag__"; //生成尾部
  5376. var older = document.body.innerHTML;
  5377. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5378. var old_str = document.body.innerHTML; //获得原本页面的代码
  5379. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5380. window.print(); //打印刚才新建的网页
  5381. document.body.innerHTML = older; //将网页还原
  5382. $('#bcprint').html("");
  5383. return false;
  5384. }
  5385. ----------------------------------- SOURCE END -------------------------------------
  5386. !STACK 0
  5387. java.lang.NullPointerException
  5388. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:48.250
  5389. !MESSAGE Error while processing working copy
  5390. !STACK 1
  5391. JavaScript Model Exception: java.lang.NullPointerException
  5392. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5393. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5394. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5395. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5396. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5397. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5398. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5399. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5400. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5401. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5402. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5403. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5404. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5405. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5406. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5407. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5408. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  5409. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  5410. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  5411. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  5412. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  5413. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  5414. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  5415. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  5416. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  5417. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  5418. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  5419. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  5420. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  5421. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  5422. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  5423. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  5424. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  5425. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  5426. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  5427. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  5428. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  5429. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  5430. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  5431. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  5432. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  5433. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  5434. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  5435. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  5436. at java.lang.reflect.Method.invoke(Unknown Source)
  5437. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  5438. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  5439. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  5440. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  5441. Caused by: java.lang.NullPointerException
  5442. Caused by: java.lang.NullPointerException
  5443. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:52:48.251
  5444. !MESSAGE java.lang.NullPointerException
  5445. !STACK 0
  5446. java.lang.NullPointerException
  5447. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:52:49.386
  5448. !MESSAGE Exception occurred during problem detection:
  5449. ----------------------------------- SOURCE BEGIN -------------------------------------
  5450. (function(){WdatePicker();})();
  5451. (function(){WdatePicker();})();
  5452. (function(){search();})();
  5453. (function(){Data.get();})();
  5454. (function(){doPrint();})();
  5455. var Data = {
  5456. "get" : function(){
  5457. var tip = layer.load(2);
  5458. var url = "jyxmcdAjax.do";
  5459. $.ajax({
  5460. "url" : url,
  5461. "data" : {
  5462. "requisition_id" : $("#requisition_id").val(),
  5463. "intpatient_id" : $("#intpatient_id").val(),
  5464. "begDate" : $("#dateBegin").val(),
  5465. "endDate" : $("#dateEnd").val(),
  5466. "department_id": $("#departmentId").val(),
  5467. "searchKey" : $("#searchKey").val()
  5468. },
  5469. "type" : "POST",
  5470. "dataType" : "json",
  5471. "async" : true,
  5472. "success" : function(data) {
  5473. if(data != null && data != ""){
  5474. var html = "";
  5475. for(var i = 0; i < data.length; i++){
  5476. var index = i + 1;
  5477. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  5478. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  5479. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  5480. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  5481. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  5482. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  5483. html += "_$ta";
  5484. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  5485. html += "_$tag____________" + index + "_$tag";
  5486. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  5487. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  5488. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  5489. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  5490. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  5491. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  5492. html += "_$tag";
  5493. }
  5494. $("#dataTable").html(html);
  5495. }
  5496. },
  5497. "complete": function(){
  5498. layer.close(tip);
  5499. }
  5500. });
  5501. }
  5502. }
  5503. Date.prototype.Format = function (fmt) {
  5504. var o = {
  5505. "M+": this.getMonth() + 1, //月份
  5506. "d+": this.getDate(), //日
  5507. "h+": this.getHours(), //小时
  5508. "m+": this.getMinutes(), //分
  5509. "s+": this.getSeconds(), //秒
  5510. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5511. "S": this.getMilliseconds() //毫秒
  5512. };
  5513. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5514. for (var k in o)
  5515. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5516. return fmt;
  5517. }
  5518. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  5519. var distinct="false";
  5520. if (obj.checked == true) {
  5521. if (index ==1) {
  5522. $('#bcprint').append(
  5523. "_$tag__________________________________________"+
  5524. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5525. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5526. "_$tag_________________________________________________________$tag_" +
  5527. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5528. "_$tag__$tag_______________________________$tag_"
  5529. );
  5530. setBrcode(index,requisition_id);
  5531. }else {
  5532. for (i=1;i<index;i++){
  5533. if ($('#selectxm'+i).attr('checked')) {
  5534. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5535. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5536. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5537. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5538. distinct="true"
  5539. }
  5540. }
  5541. }
  5542. }
  5543. }
  5544. if (distinct =="false"){
  5545. $('#bcprint').append(
  5546. "_$tag__________________________________________________"+
  5547. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5548. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5549. "_$tag____________________________________________________________________$tag_" +
  5550. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5551. "_$tag__$tag_______________________________________$tag_"
  5552. );
  5553. setBrcode(index,requisition_id);
  5554. }
  5555. }
  5556. }else {
  5557. $("#bq"+index).remove();
  5558. if($.trim($("#bcName"+index).html()) == "") {
  5559. $('#tm'+index).remove();
  5560. $('#kb'+index).remove();
  5561. }
  5562. }
  5563. }
  5564. function setBrcode(index,requisition_id){
  5565. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5566. output:'css', //渲染方式 css/bmp/svg/canvas
  5567. //bgColor: '#ff0000', //条码背景颜色
  5568. color: '#000000', //条码颜色
  5569. barWidth: 1, //单条条码宽度
  5570. barHeight: 50, //单体条码高度
  5571. //moduleSize: 1, //条码大小
  5572. // posX: 10, //条码坐标X
  5573. // posY: 5, //条码坐标Y
  5574. addQuietZone: false //是否添加空白区(内边距)
  5575. });
  5576. }
  5577. function doPrint(){
  5578. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5579. var foot_str = "_$tag___$tag__"; //生成尾部
  5580. var older = document.body.innerHTML;
  5581. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5582. var old_str = document.body.innerHTML; //获得原本页面的代码
  5583. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5584. window.print(); //打印刚才新建的网页
  5585. document.body.innerHTML = older; //将网页还原
  5586. $('#bcprint').html("");
  5587. return false;
  5588. }
  5589. ----------------------------------- SOURCE END -------------------------------------
  5590. !STACK 0
  5591. java.lang.NullPointerException
  5592. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:53:29.127
  5593. !MESSAGE Exception occurred during problem detection:
  5594. ----------------------------------- SOURCE BEGIN -------------------------------------
  5595. (function(){WdatePicker();})();
  5596. (function(){WdatePicker();})();
  5597. (function(){search();})();
  5598. (function(){Data.get();})();
  5599. (function(){doPrint();})();
  5600. var Data = {
  5601. "get" : function(){
  5602. var tip = layer.load(2);
  5603. var url = "jyxmcdAjax.do";
  5604. $.ajax({
  5605. "url" : url,
  5606. "data" : {
  5607. "requisition_id" : $("#requisition_id").val(),
  5608. "intpatient_id" : $("#intpatient_id").val(),
  5609. "begDate" : $("#dateBegin").val(),
  5610. "endDate" : $("#dateEnd").val(),
  5611. "department_id": $("#departmentId").val(),
  5612. "searchKey" : $("#searchKey").val()
  5613. },
  5614. "type" : "POST",
  5615. "dataType" : "json",
  5616. "async" : true,
  5617. "success" : function(data) {
  5618. if(data != null && data != ""){
  5619. var html = "";
  5620. for(var i = 0; i < data.length; i++){
  5621. var index = i + 1;
  5622. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  5623. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  5624. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  5625. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  5626. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  5627. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  5628. html += "_$ta";
  5629. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  5630. html += "_$tag____________" + index + "_$tag";
  5631. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  5632. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  5633. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  5634. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  5635. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  5636. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  5637. html += "_$tag";
  5638. }
  5639. $("#dataTable").html(html);
  5640. }
  5641. },
  5642. "complete": function(){
  5643. layer.close(tip);
  5644. }
  5645. });
  5646. }
  5647. }
  5648. Date.prototype.Format = function (fmt) {
  5649. var o = {
  5650. "M+": this.getMonth() + 1, //月份
  5651. "d+": this.getDate(), //日
  5652. "h+": this.getHours(), //小时
  5653. "m+": this.getMinutes(), //分
  5654. "s+": this.getSeconds(), //秒
  5655. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5656. "S": this.getMilliseconds() //毫秒
  5657. };
  5658. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5659. for (var k in o)
  5660. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5661. return fmt;
  5662. }
  5663. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  5664. var distinct="false";
  5665. if (obj.checked == true) {
  5666. if (index ==1) {
  5667. $('#bcprint').append(
  5668. "_$tag__________________________________________"+
  5669. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5670. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5671. "_$tag_________________________________________________________$tag_" +
  5672. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5673. "_$tag__$tag_______________________________$tag_"
  5674. );
  5675. setBrcode(index,requisition_id);
  5676. }else {
  5677. for (i=1;i<index;i++){
  5678. if ($('#selectxm'+i).attr('checked')) {
  5679. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5680. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5681. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5682. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5683. distinct="true"
  5684. }
  5685. }
  5686. }
  5687. }
  5688. }
  5689. if (distinct =="false"){
  5690. $('#bcprint').append(
  5691. "_$tag__________________________________________________"+
  5692. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5693. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5694. "_$tag____________________________________________________________________$tag_" +
  5695. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5696. "_$tag__$tag_______________________________________$tag_"
  5697. );
  5698. setBrcode(index,requisition_id);
  5699. }
  5700. }
  5701. }else {
  5702. $("#bq"+index).remove();
  5703. if($.trim($("#bcName"+index).html()) == "") {
  5704. $('#tm'+index).remove();
  5705. $('#kb'+index).remove();
  5706. }
  5707. }
  5708. }
  5709. function setBrcode(index,requisition_id){
  5710. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5711. output:'css', //渲染方式 css/bmp/svg/canvas
  5712. //bgColor: '#ff0000', //条码背景颜色
  5713. color: '#000000', //条码颜色
  5714. barWidth: 1, //单条条码宽度
  5715. barHeight: 50, //单体条码高度
  5716. //moduleSize: 1, //条码大小
  5717. // posX: 10, //条码坐标X
  5718. // posY: 5, //条码坐标Y
  5719. addQuietZone: false //是否添加空白区(内边距)
  5720. });
  5721. }
  5722. function doPrint(){
  5723. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5724. var foot_str = "_$tag___$tag__"; //生成尾部
  5725. var older = document.body.innerHTML;
  5726. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5727. var old_str = document.body.innerHTML; //获得原本页面的代码
  5728. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5729. window.print(); //打印刚才新建的网页
  5730. document.body.innerHTML = older; //将网页还原
  5731. $('#bcprint').html("");
  5732. return false;
  5733. }
  5734. ----------------------------------- SOURCE END -------------------------------------
  5735. !STACK 0
  5736. java.lang.NullPointerException
  5737. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:53:29.127
  5738. !MESSAGE Error while processing working copy
  5739. !STACK 1
  5740. JavaScript Model Exception: java.lang.NullPointerException
  5741. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5742. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5743. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5744. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5745. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5746. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5747. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5748. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5749. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5750. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5751. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5752. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5753. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5754. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5755. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5756. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5757. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  5758. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  5759. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  5760. Caused by: java.lang.NullPointerException
  5761. Caused by: java.lang.NullPointerException
  5762. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:53:29.128
  5763. !MESSAGE java.lang.NullPointerException
  5764. !STACK 0
  5765. java.lang.NullPointerException
  5766. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:53:33.672
  5767. !MESSAGE Exception occurred during problem detection:
  5768. ----------------------------------- SOURCE BEGIN -------------------------------------
  5769. (function(){WdatePicker();})();
  5770. (function(){WdatePicker();})();
  5771. (function(){search();})();
  5772. (function(){Data.get();})();
  5773. (function(){doPrint();})();
  5774. var Data = {
  5775. "get" : function(){
  5776. var tip = layer.load(2);
  5777. var url = "jyxmcdAjax.do";
  5778. $.ajax({
  5779. "url" : url,
  5780. "data" : {
  5781. "requisition_id" : $("#requisition_id").val(),
  5782. "intpatient_id" : $("#intpatient_id").val(),
  5783. "begDate" : $("#dateBegin").val(),
  5784. "endDate" : $("#dateEnd").val(),
  5785. "department_id": $("#departmentId").val(),
  5786. "searchKey" : $("#searchKey").val()
  5787. },
  5788. "type" : "POST",
  5789. "dataType" : "json",
  5790. "async" : true,
  5791. "success" : function(data) {
  5792. if(data != null && data != ""){
  5793. var html = "";
  5794. for(var i = 0; i < data.length; i++){
  5795. var index = i + 1;
  5796. var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
  5797. var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
  5798. var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
  5799. var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
  5800. var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
  5801. var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
  5802. html += "_$ta";
  5803. html += "_$tag____________<input id='selectxm"+index+"' name='selectxm"+index+"' type='checkbox' onclick='showcode(this,\""+index+"\",\""+requisition_id+"\",\""+chinese_name_short+"\",\""+patient_name+"\",\""+requisition_time+"\")'/>_$tag";
  5804. html += "_$tag____________" + index + "_$tag";
  5805. html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
  5806. html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
  5807. html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
  5808. html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
  5809. html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
  5810. html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
  5811. html += "_$tag";
  5812. }
  5813. $("#dataTable").html(html);
  5814. }
  5815. },
  5816. "complete": function(){
  5817. layer.close(tip);
  5818. }
  5819. });
  5820. }
  5821. }
  5822. Date.prototype.Format = function (fmt) {
  5823. var o = {
  5824. "M+": this.getMonth() + 1, //月份
  5825. "d+": this.getDate(), //日
  5826. "h+": this.getHours(), //小时
  5827. "m+": this.getMinutes(), //分
  5828. "s+": this.getSeconds(), //秒
  5829. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5830. "S": this.getMilliseconds() //毫秒
  5831. };
  5832. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5833. for (var k in o)
  5834. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5835. return fmt;
  5836. }
  5837. function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
  5838. var distinct="false";
  5839. if (obj.checked == true) {
  5840. if (index ==1) {
  5841. $('#bcprint').append(
  5842. "_$tag__________________________________________"+
  5843. "_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5844. "_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5845. "_$tag_________________________________________________________$tag_" +
  5846. "_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5847. "_$tag__$tag_______________________________$tag_"
  5848. );
  5849. setBrcode(index,requisition_id);
  5850. }else {
  5851. for (i=1;i<index;i++){
  5852. if ($('#selectxm'+i).attr('checked')) {
  5853. if ($("#patient_name"+i).text() == $("#patient_name"+index).text()){
  5854. if ($("#requisition_time"+i).text() == $("#requisition_time"+index).text()){
  5855. if ($("#unite_flag"+i).text() == $("#unite_flag"+index).text()){
  5856. $("#bcName"+i).html($("#bcName"+i).html() +" "+"_$tag__________________"+ chinese_name_short+"_$tag__");
  5857. distinct="true"
  5858. }
  5859. }
  5860. }
  5861. }
  5862. }
  5863. if (distinct =="false"){
  5864. $('#bcprint').append(
  5865. "_$tag__________________________________________________"+
  5866. "_$tag__$tag________________________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
  5867. "_$tag__________________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
  5868. "_$tag____________________________________________________________________$tag_" +
  5869. "_$tag__$tag__________________________________________________________________________________________$tag___________________"+chinese_name_short+"_$tag___$ta_$tag_"+
  5870. "_$tag__$tag_______________________________________$tag_"
  5871. );
  5872. setBrcode(index,requisition_id);
  5873. }
  5874. }
  5875. }else {
  5876. $("#bq"+index).remove();
  5877. if($.trim($("#bcName"+index).html()) == "") {
  5878. $('#tm'+index).remove();
  5879. $('#kb'+index).remove();
  5880. }
  5881. }
  5882. }
  5883. function setBrcode(index,requisition_id){
  5884. $("#bcTarget"+index).barcode(requisition_id, "code128",{
  5885. output:'css', //渲染方式 css/bmp/svg/canvas
  5886. //bgColor: '#ff0000', //条码背景颜色
  5887. color: '#000000', //条码颜色
  5888. barWidth: 1, //单条条码宽度
  5889. barHeight: 50, //单体条码高度
  5890. //moduleSize: 1, //条码大小
  5891. // posX: 10, //条码坐标X
  5892. // posY: 5, //条码坐标Y
  5893. addQuietZone: false //是否添加空白区(内边距)
  5894. });
  5895. }
  5896. function doPrint(){
  5897. var head_str = "_$tag__$tag__$tag___$tag____$tag___$tag_"; //先生成头部
  5898. var foot_str = "_$tag___$tag__"; //生成尾部
  5899. var older = document.body.innerHTML;
  5900. var new_str = document.getElementById('bcprint').innerHTML; //获取指定打印区域
  5901. var old_str = document.body.innerHTML; //获得原本页面的代码
  5902. document.body.innerHTML = head_str + new_str + foot_str; //构建新网页
  5903. window.print(); //打印刚才新建的网页
  5904. document.body.innerHTML = older; //将网页还原
  5905. $('#bcprint').html("");
  5906. return false;
  5907. }
  5908. ----------------------------------- SOURCE END -------------------------------------
  5909. !STACK 0
  5910. java.lang.NullPointerException
  5911. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:53:33.673
  5912. !MESSAGE Error while processing working copy
  5913. !STACK 1
  5914. JavaScript Model Exception: java.lang.NullPointerException
  5915. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5916. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5917. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5918. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5919. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5920. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5921. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5922. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5923. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5924. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5925. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5926. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5927. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5928. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5929. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5930. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5931. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  5932. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  5933. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  5934. Caused by: java.lang.NullPointerException
  5935. Caused by: java.lang.NullPointerException
  5936. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:53:33.673
  5937. !MESSAGE java.lang.NullPointerException
  5938. !STACK 0
  5939. java.lang.NullPointerException
  5940. !SESSION 2019-06-24 15:30:47.400 -----------------------------------------------
  5941. eclipse.buildId=4.4.2.M20150204-1700
  5942. java.version=1.7.0_80
  5943. java.vendor=Oracle Corporation
  5944. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5945. Framework arguments: -product org.eclipse.epp.package.jee.product
  5946. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5947. !ENTRY org.eclipse.egit.ui 2 0 2019-06-24 15:31:06.593
  5948. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5949. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5950. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5951. EGit might behave differently since they see different configuration options.
  5952. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5953. !SESSION 2019-06-25 08:49:23.069 -----------------------------------------------
  5954. eclipse.buildId=4.4.2.M20150204-1700
  5955. java.version=1.7.0_80
  5956. java.vendor=Oracle Corporation
  5957. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5958. Framework arguments: -product org.eclipse.epp.package.jee.product
  5959. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5960. !ENTRY org.eclipse.egit.ui 2 0 2019-06-25 08:51:40.907
  5961. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5962. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5963. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5964. EGit might behave differently since they see different configuration options.
  5965. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5966. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:01.351
  5967. !MESSAGE Exception occurred during problem detection:
  5968. ----------------------------------- SOURCE BEGIN -------------------------------------
  5969. (function(){Data.getlist('${patnolist.patId}');})();
  5970. var Data = {
  5971. "getlist" : function(patId){
  5972. var tip = layer.load(2);
  5973. var url = "list.do";
  5974. $.ajax({
  5975. "url" : url,
  5976. "data" : {
  5977. "patId" : patId
  5978. },
  5979. "type" : "POST",
  5980. "dataType" : "json",
  5981. "async" : true,
  5982. "success" : function(data) {
  5983. if(data != null && data != ""){
  5984. var html = "";
  5985. var sum =0;
  5986. for(var i = 0; i < data.length; i++){
  5987. var index = i + 1;
  5988. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  5989. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  5990. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  5991. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  5992. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  5993. sum = sum +sum_total;
  5994. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  5995. html += "_$tag____________" + index + "_$tag";
  5996. html += "_$tag____________" + smdatetime + "_$tag";
  5997. html += "_$tag____________" + fdeptname + "_$tag";
  5998. html += "_$tag____________" + fempname + "_$tag";
  5999. html += "_$tag____________" + sum_total +"_$tag";
  6000. html += "_$tag";
  6001. }
  6002. html += "_$ta";
  6003. html += "_$tag______________$tag";
  6004. html += "_$tag______________$tag";
  6005. html += "_$tag______________$tag";
  6006. html += "_$tag_____________总计_$tag";
  6007. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6008. html += "_$tag";
  6009. $("#dataList").html(html);
  6010. }
  6011. },
  6012. "complete": function(){
  6013. layer.close(tip);
  6014. }
  6015. });
  6016. },
  6017. "getlistajax" : function(chgnoteId){
  6018. var tip = layer.load(2);
  6019. var url = "listAjax.do";
  6020. $.ajax({
  6021. "url" : url,
  6022. "data" : {
  6023. "visitId" : chgnoteId
  6024. },
  6025. "type" : "POST",
  6026. "dataType" : "json",
  6027. "async" : true,
  6028. "success" : function(data) {
  6029. if(data != null && data != ""){
  6030. var html = "";
  6031. var sum =0;
  6032. for(var i = 0; i < data.length; i++){
  6033. var index = i + 1;
  6034. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  6035. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  6036. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  6037. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  6038. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  6039. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6040. sum = sum +sum_total;
  6041. html += "_$ta";
  6042. html += "_$tag____________" + index + "_$tag";
  6043. html += "_$tag____________" + itemId + "_$tag";
  6044. html += "_$tag____________" + itemName + "_$tag";
  6045. html += "_$tag____________" + itemStd + "_$tag";
  6046. html += "_$tag____________" + quantity +"_$tag";
  6047. html += "_$tag____________" + quantityUnit +"_$tag";
  6048. html += "_$tag____________" + sum_total +"_$tag";
  6049. html += "_$tag";
  6050. }
  6051. html += "_$ta";
  6052. html += "_$tag______________$tag";
  6053. html += "_$tag______________$tag";
  6054. html += "_$tag______________$tag";
  6055. html += "_$tag______________$tag";
  6056. html += "_$tag______________$tag";
  6057. html += "_$tag_____________总计_$tag";
  6058. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6059. html += "_$tag";
  6060. $("#dataListAjax").html(html);
  6061. }
  6062. },
  6063. "complete": function(){
  6064. layer.close(tip);
  6065. }
  6066. });
  6067. }
  6068. }
  6069. function search(){
  6070. $("#form").submit();
  6071. }
  6072. Date.prototype.Format = function (fmt) {
  6073. var o = {
  6074. "M+": this.getMonth() + 1, //月份
  6075. "d+": this.getDate(), //日
  6076. "h+": this.getHours(), //小时
  6077. "m+": this.getMinutes(), //分
  6078. "s+": this.getSeconds(), //秒
  6079. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6080. "S": this.getMilliseconds() //毫秒
  6081. };
  6082. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6083. for (var k in o)
  6084. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6085. return fmt;
  6086. }
  6087. ----------------------------------- SOURCE END -------------------------------------
  6088. !STACK 0
  6089. java.lang.NullPointerException
  6090. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6091. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6092. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6093. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6094. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6095. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6096. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6097. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6098. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6099. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6100. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6101. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6102. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6103. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6104. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6105. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6106. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6107. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6108. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6109. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6110. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6111. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6112. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6113. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6114. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6115. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6116. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6117. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6118. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6119. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6120. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6121. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6122. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6123. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6124. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6125. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6126. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6127. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6128. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6129. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6130. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6131. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6132. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6133. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6134. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6135. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6136. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6137. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6138. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6139. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6140. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6141. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6142. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6143. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6144. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6145. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6146. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6147. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6148. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6149. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6150. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6151. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6152. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6153. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6154. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6155. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6156. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6157. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6158. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6159. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6160. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6161. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6162. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6163. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6164. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6165. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6166. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6167. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6168. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6169. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6170. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6171. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6172. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6173. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6174. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6175. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-06-25 09:01:01.368
  6176. !MESSAGE java.lang.NullPointerException
  6177. !STACK 1
  6178. JavaScript Model Exception: java.lang.NullPointerException
  6179. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6180. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6181. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6182. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6183. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6184. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6185. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6186. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6187. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6188. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6189. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6190. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6191. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6192. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6193. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6194. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6195. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6196. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6197. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6198. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6199. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6200. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6201. Caused by: java.lang.NullPointerException
  6202. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6203. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6204. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6205. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6206. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6207. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6208. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6209. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6210. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6211. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6212. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6213. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6214. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6215. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6216. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6217. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6218. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6219. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6220. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6221. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6222. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6223. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6224. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6225. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6226. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6227. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6228. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6229. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6230. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6231. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6232. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6233. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6234. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6235. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6236. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6237. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6238. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6239. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6240. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6241. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6242. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6243. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6244. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6245. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6246. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6247. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6248. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6249. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6250. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6251. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6252. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6253. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6254. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6255. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6256. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6257. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6258. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6259. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6260. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6261. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6262. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6263. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6264. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6265. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6266. ... 21 more
  6267. Caused by: java.lang.NullPointerException
  6268. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6269. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6270. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6271. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6272. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6273. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6274. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6275. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6276. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6277. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6278. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6279. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6280. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6281. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6282. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6283. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6284. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6285. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6286. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6287. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6288. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6289. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6290. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6291. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6292. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6293. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6294. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6295. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6296. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6297. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6298. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6299. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6300. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6301. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6302. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6303. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6304. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6305. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6306. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6307. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6308. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6309. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6310. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6311. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6312. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6313. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6314. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6315. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6316. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6317. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6318. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6319. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6320. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6321. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6322. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6323. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6324. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6325. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6326. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6327. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6328. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6329. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6330. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6331. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6332. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6333. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6334. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6335. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6336. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6337. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6338. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6339. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6340. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6341. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6342. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6343. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6344. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6345. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6346. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6347. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6348. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6349. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6350. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6351. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6352. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6353. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:01.392
  6354. !MESSAGE java.lang.NullPointerException
  6355. !STACK 0
  6356. java.lang.NullPointerException
  6357. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6358. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6359. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6360. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6361. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6362. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6363. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6364. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6365. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6366. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6367. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6368. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6369. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6370. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6371. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6372. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6373. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6374. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6375. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6376. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6377. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6378. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6379. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6380. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6381. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6382. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6383. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6384. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6385. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6386. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6387. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6388. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6389. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6390. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6391. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6392. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6393. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6394. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6395. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6396. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6397. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6398. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6399. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6400. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6401. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6402. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6403. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6404. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6405. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6406. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6407. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6408. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6409. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6410. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6411. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6412. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6413. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6414. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6415. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6416. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6417. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6418. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6419. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6420. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6421. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6422. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6423. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6424. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6425. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6426. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6427. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6428. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6429. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6430. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6431. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6432. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6433. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6434. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6435. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6436. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6437. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6438. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6439. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6440. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6441. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6442. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:02.649
  6443. !MESSAGE Exception occurred during problem detection:
  6444. ----------------------------------- SOURCE BEGIN -------------------------------------
  6445. (function(){Data.getlist('${patnolist.patId}');})();
  6446. var Data = {
  6447. "getlist" : function(patId){
  6448. var tip = layer.load(2);
  6449. var url = "list.do";
  6450. $.ajax({
  6451. "url" : url,
  6452. "data" : {
  6453. "patId" : patId
  6454. },
  6455. "type" : "POST",
  6456. "dataType" : "json",
  6457. "async" : true,
  6458. "success" : function(data) {
  6459. if(data != null && data != ""){
  6460. var html = "";
  6461. var sum =0;
  6462. for(var i = 0; i < data.length; i++){
  6463. var index = i + 1;
  6464. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  6465. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  6466. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  6467. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6468. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  6469. sum = sum +sum_total;
  6470. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  6471. html += "_$tag____________" + index + "_$tag";
  6472. html += "_$tag____________" + smdatetime + "_$tag";
  6473. html += "_$tag____________" + fdeptname + "_$tag";
  6474. html += "_$tag____________" + fempname + "_$tag";
  6475. html += "_$tag____________" + sum_total +"_$tag";
  6476. html += "_$tag";
  6477. }
  6478. html += "_$ta";
  6479. html += "_$tag______________$tag";
  6480. html += "_$tag______________$tag";
  6481. html += "_$tag______________$tag";
  6482. html += "_$tag_____________总计_$tag";
  6483. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6484. html += "_$tag";
  6485. $("#dataList").html(html);
  6486. }
  6487. },
  6488. "complete": function(){
  6489. layer.close(tip);
  6490. }
  6491. });
  6492. },
  6493. "getlistajax" : function(chgnoteId){
  6494. var tip = layer.load(2);
  6495. var url = "listAjax.do";
  6496. $.ajax({
  6497. "url" : url,
  6498. "data" : {
  6499. "visitId" : chgnoteId
  6500. },
  6501. "type" : "POST",
  6502. "dataType" : "json",
  6503. "async" : true,
  6504. "success" : function(data) {
  6505. if(data != null && data != ""){
  6506. var html = "";
  6507. var sum =0;
  6508. for(var i = 0; i < data.length; i++){
  6509. var index = i + 1;
  6510. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  6511. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  6512. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  6513. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  6514. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  6515. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6516. sum = sum +sum_total;
  6517. html += "_$ta";
  6518. html += "_$tag____________" + index + "_$tag";
  6519. html += "_$tag____________" + itemId + "_$tag";
  6520. html += "_$tag____________" + itemName + "_$tag";
  6521. html += "_$tag____________" + itemStd + "_$tag";
  6522. html += "_$tag____________" + quantity +"_$tag";
  6523. html += "_$tag____________" + quantityUnit +"_$tag";
  6524. html += "_$tag____________" + sum_total +"_$tag";
  6525. html += "_$tag";
  6526. }
  6527. html += "_$ta";
  6528. html += "_$tag______________$tag";
  6529. html += "_$tag______________$tag";
  6530. html += "_$tag______________$tag";
  6531. html += "_$tag______________$tag";
  6532. html += "_$tag______________$tag";
  6533. html += "_$tag_____________总计_$tag";
  6534. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6535. html += "_$tag";
  6536. $("#dataListAjax").html(html);
  6537. }
  6538. },
  6539. "complete": function(){
  6540. layer.close(tip);
  6541. }
  6542. });
  6543. }
  6544. }
  6545. function search(){
  6546. $("#form").submit();
  6547. }
  6548. Date.prototype.Format = function (fmt) {
  6549. var o = {
  6550. "M+": this.getMonth() + 1, //月份
  6551. "d+": this.getDate(), //日
  6552. "h+": this.getHours(), //小时
  6553. "m+": this.getMinutes(), //分
  6554. "s+": this.getSeconds(), //秒
  6555. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6556. "S": this.getMilliseconds() //毫秒
  6557. };
  6558. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6559. for (var k in o)
  6560. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6561. return fmt;
  6562. }
  6563. ----------------------------------- SOURCE END -------------------------------------
  6564. !STACK 0
  6565. java.lang.NullPointerException
  6566. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6567. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6568. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6569. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6570. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6571. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6572. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6573. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6574. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6575. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6576. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6577. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6578. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6579. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6580. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6581. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6582. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6583. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6584. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6585. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6586. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6587. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6588. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6589. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6590. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6591. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6592. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6593. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6594. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6595. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6596. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6597. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6598. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6599. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6600. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6601. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6602. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6603. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6604. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6605. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6606. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6607. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6608. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6609. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6610. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6611. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6612. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6613. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6614. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6615. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6616. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6617. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6618. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6619. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6620. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6621. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6622. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6623. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6624. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6625. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6626. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6627. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6628. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6629. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6630. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6631. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6632. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6633. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6634. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6635. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6636. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6637. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6638. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6639. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6640. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6641. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6642. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6643. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6644. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6645. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6646. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6647. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6648. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:02.727
  6649. !MESSAGE Error while processing working copy
  6650. !STACK 1
  6651. JavaScript Model Exception: java.lang.NullPointerException
  6652. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6653. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6654. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6655. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6656. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6657. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6658. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6659. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6660. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6661. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6662. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6663. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6664. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6665. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6666. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6667. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6668. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6669. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6670. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6671. Caused by: java.lang.NullPointerException
  6672. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6673. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6674. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6675. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6676. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6677. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6678. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6679. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6680. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6681. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6682. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6683. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6684. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6685. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6686. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6687. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6688. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6689. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6690. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6691. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6692. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6693. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6694. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6695. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6696. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6697. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6698. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6699. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6700. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6701. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6702. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6703. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6704. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6705. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6706. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6707. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6708. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6709. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6710. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6711. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6712. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6713. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6714. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6715. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6716. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6717. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6718. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6719. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6720. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6721. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6722. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6723. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6724. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6725. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6726. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6727. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6728. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6729. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6730. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6731. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6732. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6733. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6734. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6735. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6736. ... 18 more
  6737. Caused by: java.lang.NullPointerException
  6738. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6739. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6740. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6741. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6742. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6743. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6744. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6745. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6746. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6747. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6748. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6749. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6750. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6751. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6752. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6753. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6754. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6755. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6756. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6757. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6758. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6759. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6760. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6761. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6762. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6763. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6764. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6765. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6766. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6767. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6768. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6769. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6770. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6771. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6772. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6773. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6774. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6775. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6776. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6777. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6778. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6779. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6780. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6781. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6782. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6783. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6784. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6785. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6786. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6787. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6788. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6789. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6790. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6791. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6792. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6793. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6794. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6795. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6796. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6797. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6798. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6799. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6800. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6801. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6802. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6803. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6804. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6805. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6806. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6807. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6808. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6809. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6810. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6811. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6812. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6813. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6814. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6815. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6816. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6817. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6818. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6819. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6820. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:02.731
  6821. !MESSAGE java.lang.NullPointerException
  6822. !STACK 0
  6823. java.lang.NullPointerException
  6824. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6825. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6826. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6827. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6828. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6829. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6830. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6831. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6832. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6833. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6834. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6835. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6836. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6837. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6838. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6839. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6840. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6841. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6842. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6843. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6844. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6845. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6846. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6847. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6848. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6849. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6850. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6851. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6852. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6853. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6854. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6855. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6856. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6857. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6858. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6859. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6860. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6861. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6862. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6863. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6864. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6865. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6866. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6867. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6868. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6869. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6870. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6871. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6872. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6873. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6874. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6875. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6876. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6877. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6878. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6879. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6880. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6881. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6882. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6883. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6884. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6885. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6886. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6887. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6888. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6889. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6890. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6891. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6892. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6893. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6894. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6895. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6896. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6897. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6898. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6899. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6900. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6901. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6902. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6903. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6904. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6905. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6906. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:04.959
  6907. !MESSAGE Exception occurred during problem detection:
  6908. ----------------------------------- SOURCE BEGIN -------------------------------------
  6909. (function(){Data.getlist('${patnolist.patId}');})();
  6910. var Data = {
  6911. "getlist" : function(patId){
  6912. var tip = layer.load(2);
  6913. var url = "list.do";
  6914. $.ajax({
  6915. "url" : url,
  6916. "data" : {
  6917. "patId" : patId
  6918. },
  6919. "type" : "POST",
  6920. "dataType" : "json",
  6921. "async" : true,
  6922. "success" : function(data) {
  6923. if(data != null && data != ""){
  6924. var html = "";
  6925. var sum =0;
  6926. for(var i = 0; i < data.length; i++){
  6927. var index = i + 1;
  6928. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  6929. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  6930. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  6931. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6932. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  6933. sum = sum +sum_total;
  6934. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  6935. html += "_$tag____________" + index + "_$tag";
  6936. html += "_$tag____________" + smdatetime + "_$tag";
  6937. html += "_$tag____________" + fdeptname + "_$tag";
  6938. html += "_$tag____________" + fempname + "_$tag";
  6939. html += "_$tag____________" + sum_total +"_$tag";
  6940. html += "_$tag";
  6941. }
  6942. html += "_$ta";
  6943. html += "_$tag______________$tag";
  6944. html += "_$tag______________$tag";
  6945. html += "_$tag______________$tag";
  6946. html += "_$tag_____________总计_$tag";
  6947. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6948. html += "_$tag";
  6949. $("#dataList").html(html);
  6950. }
  6951. },
  6952. "complete": function(){
  6953. layer.close(tip);
  6954. }
  6955. });
  6956. },
  6957. "getlistajax" : function(chgnoteId){
  6958. var tip = layer.load(2);
  6959. var url = "listAjax.do";
  6960. $.ajax({
  6961. "url" : url,
  6962. "data" : {
  6963. "visitId" : chgnoteId
  6964. },
  6965. "type" : "POST",
  6966. "dataType" : "json",
  6967. "async" : true,
  6968. "success" : function(data) {
  6969. if(data != null && data != ""){
  6970. var html = "";
  6971. var sum =0;
  6972. for(var i = 0; i < data.length; i++){
  6973. var index = i + 1;
  6974. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  6975. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  6976. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  6977. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  6978. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  6979. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6980. sum = sum +sum_total;
  6981. html += "_$ta";
  6982. html += "_$tag____________" + index + "_$tag";
  6983. html += "_$tag____________" + itemId + "_$tag";
  6984. html += "_$tag____________" + itemName + "_$tag";
  6985. html += "_$tag____________" + itemStd + "_$tag";
  6986. html += "_$tag____________" + quantity +"_$tag";
  6987. html += "_$tag____________" + quantityUnit +"_$tag";
  6988. html += "_$tag____________" + sum_total +"_$tag";
  6989. html += "_$tag";
  6990. }
  6991. html += "_$ta";
  6992. html += "_$tag______________$tag";
  6993. html += "_$tag______________$tag";
  6994. html += "_$tag______________$tag";
  6995. html += "_$tag______________$tag";
  6996. html += "_$tag______________$tag";
  6997. html += "_$tag_____________总计_$tag";
  6998. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6999. html += "_$tag";
  7000. $("#dataListAjax").html(html);
  7001. }
  7002. },
  7003. "complete": function(){
  7004. layer.close(tip);
  7005. }
  7006. });
  7007. }
  7008. }
  7009. function search(){
  7010. $("#form").submit();
  7011. }
  7012. Date.prototype.Format = function (fmt) {
  7013. var o = {
  7014. "M+": this.getMonth() + 1, //月份
  7015. "d+": this.getDate(), //日
  7016. "h+": this.getHours(), //小时
  7017. "m+": this.getMinutes(), //分
  7018. "s+": this.getSeconds(), //秒
  7019. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7020. "S": this.getMilliseconds() //毫秒
  7021. };
  7022. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7023. for (var k in o)
  7024. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7025. return fmt;
  7026. }
  7027. ----------------------------------- SOURCE END -------------------------------------
  7028. !STACK 0
  7029. java.lang.NullPointerException
  7030. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7031. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7032. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7033. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7034. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7035. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7036. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7037. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7038. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7039. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7040. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7041. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7042. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7043. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7044. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7045. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7046. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7047. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7048. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7049. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7050. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7051. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7052. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7053. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7054. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7055. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7056. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7057. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7058. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7059. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7060. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7061. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7062. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7063. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7064. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7065. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7066. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7067. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7068. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7069. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7070. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7071. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7072. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7073. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7074. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7075. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7076. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7077. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7078. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7079. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7080. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7081. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7082. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7083. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7084. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7085. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7086. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7087. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7088. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7089. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7090. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7091. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7092. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7093. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7094. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  7095. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7096. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7097. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  7098. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  7099. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1108)
  7100. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:945)
  7101. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findTypes(SearchableEnvironment.java:416)
  7102. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:785)
  7103. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  7104. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  7105. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  7106. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  7107. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  7108. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  7109. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:39.957
  7110. !MESSAGE Exception occurred during problem detection:
  7111. ----------------------------------- SOURCE BEGIN -------------------------------------
  7112. (function(){Data.getlist('${patnolist.patId}');})();
  7113. var Data = {
  7114. "getlist" : function(patId){
  7115. var tip = layer.load(2);
  7116. var url = "list.do";
  7117. $.ajax({
  7118. "url" : url,
  7119. "data" : {
  7120. "patId" : patId
  7121. },
  7122. "type" : "POST",
  7123. "dataType" : "json",
  7124. "async" : true,
  7125. "success" : function(data) {
  7126. if(data != null && data != ""){
  7127. var html = "";
  7128. var sum =0;
  7129. for(var i = 0; i < data.length; i++){
  7130. var index = i + 1;
  7131. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7132. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7133. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7134. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7135. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7136. sum = sum +sum_total;
  7137. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7138. html += "_$tag____________" + index + "_$tag";
  7139. html += "_$tag____________" + smdatetime + "_$tag";
  7140. html += "_$tag____________" + fdeptname + "_$tag";
  7141. html += "_$tag____________" + fempname + "_$tag";
  7142. html += "_$tag____________" + sum_total +"_$tag";
  7143. html += "_$tag";
  7144. }
  7145. html += "_$ta";
  7146. html += "_$tag______________$tag";
  7147. html += "_$tag______________$tag";
  7148. html += "_$tag______________$tag";
  7149. html += "_$tag_____________总计_$tag";
  7150. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7151. html += "_$tag";
  7152. $("#dataList").html(html);
  7153. }
  7154. },
  7155. "complete": function(){
  7156. layer.close(tip);
  7157. }
  7158. });
  7159. },
  7160. "getlistajax" : function(chgnoteId){
  7161. var tip = layer.load(2);
  7162. var url = "listAjax.do";
  7163. $.ajax({
  7164. "url" : url,
  7165. "data" : {
  7166. "visitId" : chgnoteId
  7167. },
  7168. "type" : "POST",
  7169. "dataType" : "json",
  7170. "async" : true,
  7171. "success" : function(data) {
  7172. if(data != null && data != ""){
  7173. var html = "";
  7174. var sum =0;
  7175. for(var i = 0; i < data.length; i++){
  7176. var index = i + 1;
  7177. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7178. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7179. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7180. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7181. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7182. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7183. sum = sum +sum_total;
  7184. html += "_$ta";
  7185. html += "_$tag____________" + index + "_$tag";
  7186. html += "_$tag____________" + itemId + "_$tag";
  7187. html += "_$tag____________" + itemName + "_$tag";
  7188. html += "_$tag____________" + itemStd + "_$tag";
  7189. html += "_$tag____________" + quantity +"_$tag";
  7190. html += "_$tag____________" + quantityUnit +"_$tag";
  7191. html += "_$tag____________" + sum_total +"_$tag";
  7192. html += "_$tag";
  7193. }
  7194. html += "_$ta";
  7195. html += "_$tag______________$tag";
  7196. html += "_$tag______________$tag";
  7197. html += "_$tag______________$tag";
  7198. html += "_$tag______________$tag";
  7199. html += "_$tag______________$tag";
  7200. html += "_$tag_____________总计_$tag";
  7201. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7202. html += "_$tag";
  7203. $("#dataListAjax").html(html);
  7204. }
  7205. },
  7206. "complete": function(){
  7207. layer.close(tip);
  7208. }
  7209. });
  7210. }
  7211. }
  7212. function search(){
  7213. $("#form").submit();
  7214. }
  7215. Date.prototype.Format = function (fmt) {
  7216. var o = {
  7217. "M+": this.getMonth() + 1, //月份
  7218. "d+": this.getDate(), //日
  7219. "h+": this.getHours(), //小时
  7220. "m+": this.getMinutes(), //分
  7221. "s+": this.getSeconds(), //秒
  7222. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7223. "S": this.getMilliseconds() //毫秒
  7224. };
  7225. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7226. for (var k in o)
  7227. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7228. return fmt;
  7229. }
  7230. ----------------------------------- SOURCE END -------------------------------------
  7231. !STACK 0
  7232. java.lang.NullPointerException
  7233. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:39.957
  7234. !MESSAGE Error while processing working copy
  7235. !STACK 1
  7236. JavaScript Model Exception: java.lang.NullPointerException
  7237. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7238. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  7239. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7240. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7241. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  7242. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  7243. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  7244. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  7245. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  7246. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  7247. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  7248. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  7249. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  7250. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  7251. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  7252. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  7253. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  7254. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  7255. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  7256. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  7257. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  7258. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  7259. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  7260. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  7261. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  7262. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  7263. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  7264. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  7265. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7266. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  7267. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  7268. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  7269. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7270. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  7271. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  7272. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  7273. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  7274. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  7275. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  7276. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  7277. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  7278. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7279. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  7280. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  7281. at java.lang.reflect.Method.invoke(Unknown Source)
  7282. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  7283. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  7284. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  7285. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  7286. Caused by: java.lang.NullPointerException
  7287. Caused by: java.lang.NullPointerException
  7288. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:39.958
  7289. !MESSAGE java.lang.NullPointerException
  7290. !STACK 0
  7291. java.lang.NullPointerException
  7292. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:41.106
  7293. !MESSAGE Exception occurred during problem detection:
  7294. ----------------------------------- SOURCE BEGIN -------------------------------------
  7295. (function(){Data.getlist('${patnolist.patId}');})();
  7296. var Data = {
  7297. "getlist" : function(patId){
  7298. var tip = layer.load(2);
  7299. var url = "list.do";
  7300. $.ajax({
  7301. "url" : url,
  7302. "data" : {
  7303. "patId" : patId
  7304. },
  7305. "type" : "POST",
  7306. "dataType" : "json",
  7307. "async" : true,
  7308. "success" : function(data) {
  7309. if(data != null && data != ""){
  7310. var html = "";
  7311. var sum =0;
  7312. for(var i = 0; i < data.length; i++){
  7313. var index = i + 1;
  7314. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7315. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7316. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7317. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7318. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7319. sum = sum +sum_total;
  7320. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7321. html += "_$tag____________" + index + "_$tag";
  7322. html += "_$tag____________" + smdatetime + "_$tag";
  7323. html += "_$tag____________" + fdeptname + "_$tag";
  7324. html += "_$tag____________" + fempname + "_$tag";
  7325. html += "_$tag____________" + sum_total +"_$tag";
  7326. html += "_$tag";
  7327. }
  7328. html += "_$ta";
  7329. html += "_$tag______________$tag";
  7330. html += "_$tag______________$tag";
  7331. html += "_$tag______________$tag";
  7332. html += "_$tag_____________总计_$tag";
  7333. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7334. html += "_$tag";
  7335. $("#dataList").html(html);
  7336. }
  7337. },
  7338. "complete": function(){
  7339. layer.close(tip);
  7340. }
  7341. });
  7342. },
  7343. "getlistajax" : function(chgnoteId){
  7344. var tip = layer.load(2);
  7345. var url = "listAjax.do";
  7346. $.ajax({
  7347. "url" : url,
  7348. "data" : {
  7349. "visitId" : chgnoteId
  7350. },
  7351. "type" : "POST",
  7352. "dataType" : "json",
  7353. "async" : true,
  7354. "success" : function(data) {
  7355. if(data != null && data != ""){
  7356. var html = "";
  7357. var sum =0;
  7358. for(var i = 0; i < data.length; i++){
  7359. var index = i + 1;
  7360. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7361. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7362. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7363. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7364. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7365. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7366. sum = sum +sum_total;
  7367. html += "_$ta";
  7368. html += "_$tag____________" + index + "_$tag";
  7369. html += "_$tag____________" + itemId + "_$tag";
  7370. html += "_$tag____________" + itemName + "_$tag";
  7371. html += "_$tag____________" + itemStd + "_$tag";
  7372. html += "_$tag____________" + quantity +"_$tag";
  7373. html += "_$tag____________" + quantityUnit +"_$tag";
  7374. html += "_$tag____________" + sum_total +"_$tag";
  7375. html += "_$tag";
  7376. }
  7377. html += "_$ta";
  7378. html += "_$tag______________$tag";
  7379. html += "_$tag______________$tag";
  7380. html += "_$tag______________$tag";
  7381. html += "_$tag______________$tag";
  7382. html += "_$tag______________$tag";
  7383. html += "_$tag_____________总计_$tag";
  7384. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7385. html += "_$tag";
  7386. $("#dataListAjax").html(html);
  7387. }
  7388. },
  7389. "complete": function(){
  7390. layer.close(tip);
  7391. }
  7392. });
  7393. }
  7394. }
  7395. function search(){
  7396. $("#form").submit();
  7397. }
  7398. Date.prototype.Format = function (fmt) {
  7399. var o = {
  7400. "M+": this.getMonth() + 1, //月份
  7401. "d+": this.getDate(), //日
  7402. "h+": this.getHours(), //小时
  7403. "m+": this.getMinutes(), //分
  7404. "s+": this.getSeconds(), //秒
  7405. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7406. "S": this.getMilliseconds() //毫秒
  7407. };
  7408. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7409. for (var k in o)
  7410. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7411. return fmt;
  7412. }
  7413. ----------------------------------- SOURCE END -------------------------------------
  7414. !STACK 0
  7415. java.lang.NullPointerException
  7416. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.040
  7417. !MESSAGE Exception occurred during problem detection:
  7418. ----------------------------------- SOURCE BEGIN -------------------------------------
  7419. (function(){Data.getlist('${patnolist.patId}');})();
  7420. var Data = {
  7421. "getlist" : function(patId){
  7422. var tip = layer.load(2);
  7423. var url = "list.do";
  7424. $.ajax({
  7425. "url" : url,
  7426. "data" : {
  7427. "patId" : patId
  7428. },
  7429. "type" : "POST",
  7430. "dataType" : "json",
  7431. "async" : true,
  7432. "success" : function(data) {
  7433. if(data != null && data != ""){
  7434. var html = "";
  7435. var sum =0;
  7436. for(var i = 0; i < data.length; i++){
  7437. var index = i + 1;
  7438. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7439. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7440. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7441. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7442. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7443. sum = sum +sum_total;
  7444. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7445. html += "_$tag____________" + index + "_$tag";
  7446. html += "_$tag____________" + smdatetime + "_$tag";
  7447. html += "_$tag____________" + fdeptname + "_$tag";
  7448. html += "_$tag____________" + fempname + "_$tag";
  7449. html += "_$tag____________" + sum_total +"_$tag";
  7450. html += "_$tag";
  7451. }
  7452. html += "_$ta";
  7453. html += "_$tag______________$tag";
  7454. html += "_$tag______________$tag";
  7455. html += "_$tag______________$tag";
  7456. html += "_$tag_____________总计_$tag";
  7457. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7458. html += "_$tag";
  7459. $("#dataList").html(html);
  7460. }
  7461. },
  7462. "complete": function(){
  7463. layer.close(tip);
  7464. }
  7465. });
  7466. },
  7467. "getlistajax" : function(chgnoteId){
  7468. var tip = layer.load(2);
  7469. var url = "listAjax.do";
  7470. $.ajax({
  7471. "url" : url,
  7472. "data" : {
  7473. "visitId" : chgnoteId
  7474. },
  7475. "type" : "POST",
  7476. "dataType" : "json",
  7477. "async" : true,
  7478. "success" : function(data) {
  7479. if(data != null && data != ""){
  7480. var html = "";
  7481. var sum =0;
  7482. for(var i = 0; i < data.length; i++){
  7483. var index = i + 1;
  7484. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7485. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7486. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7487. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7488. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7489. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7490. sum = sum +sum_total;
  7491. html += "_$ta";
  7492. html += "_$tag____________" + index + "_$tag";
  7493. html += "_$tag____________" + itemId + "_$tag";
  7494. html += "_$tag____________" + itemName + "_$tag";
  7495. html += "_$tag____________" + itemStd + "_$tag";
  7496. html += "_$tag____________" + quantity +"_$tag";
  7497. html += "_$tag____________" + quantityUnit +"_$tag";
  7498. html += "_$tag____________" + sum_total +"_$tag";
  7499. html += "_$tag";
  7500. }
  7501. html += "_$ta";
  7502. html += "_$tag______________$tag";
  7503. html += "_$tag______________$tag";
  7504. html += "_$tag______________$tag";
  7505. html += "_$tag______________$tag";
  7506. html += "_$tag______________$tag";
  7507. html += "_$tag_____________总计_$tag";
  7508. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7509. html += "_$tag";
  7510. $("#dataListAjax").html(html);
  7511. }
  7512. },
  7513. "complete": function(){
  7514. layer.close(tip);
  7515. }
  7516. });
  7517. }
  7518. }
  7519. function search(){
  7520. $("#form").submit();
  7521. }
  7522. Date.prototype.Format = function (fmt) {
  7523. var o = {
  7524. "M+": this.getMonth() + 1, //月份
  7525. "d+": this.getDate(), //日
  7526. "h+": this.getHours(), //小时
  7527. "m+": this.getMinutes(), //分
  7528. "s+": this.getSeconds(), //秒
  7529. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7530. "S": this.getMilliseconds() //毫秒
  7531. };
  7532. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7533. for (var k in o)
  7534. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7535. return fmt;
  7536. }
  7537. ----------------------------------- SOURCE END -------------------------------------
  7538. !STACK 0
  7539. java.lang.NullPointerException
  7540. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.041
  7541. !MESSAGE Error while processing working copy
  7542. !STACK 1
  7543. JavaScript Model Exception: java.lang.NullPointerException
  7544. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7545. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  7546. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7547. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7548. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  7549. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  7550. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  7551. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  7552. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  7553. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  7554. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  7555. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  7556. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  7557. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  7558. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  7559. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  7560. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  7561. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  7562. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  7563. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  7564. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  7565. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  7566. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  7567. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  7568. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  7569. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  7570. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  7571. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  7572. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7573. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  7574. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  7575. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  7576. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7577. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  7578. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  7579. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  7580. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  7581. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  7582. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  7583. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  7584. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  7585. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7586. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  7587. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  7588. at java.lang.reflect.Method.invoke(Unknown Source)
  7589. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  7590. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  7591. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  7592. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  7593. Caused by: java.lang.NullPointerException
  7594. Caused by: java.lang.NullPointerException
  7595. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:42.041
  7596. !MESSAGE java.lang.NullPointerException
  7597. !STACK 0
  7598. java.lang.NullPointerException
  7599. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.915
  7600. !MESSAGE Exception occurred during problem detection:
  7601. ----------------------------------- SOURCE BEGIN -------------------------------------
  7602. (function(){Data.getlist('${patnolist.patId}');})();
  7603. var Data = {
  7604. "getlist" : function(patId){
  7605. var tip = layer.load(2);
  7606. var url = "list.do";
  7607. $.ajax({
  7608. "url" : url,
  7609. "data" : {
  7610. "patId" : patId
  7611. },
  7612. "type" : "POST",
  7613. "dataType" : "json",
  7614. "async" : true,
  7615. "success" : function(data) {
  7616. if(data != null && data != ""){
  7617. var html = "";
  7618. var sum =0;
  7619. for(var i = 0; i < data.length; i++){
  7620. var index = i + 1;
  7621. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7622. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7623. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7624. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7625. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7626. sum = sum +sum_total;
  7627. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7628. html += "_$tag____________" + index + "_$tag";
  7629. html += "_$tag____________" + smdatetime + "_$tag";
  7630. html += "_$tag____________" + fdeptname + "_$tag";
  7631. html += "_$tag____________" + fempname + "_$tag";
  7632. html += "_$tag____________" + sum_total +"_$tag";
  7633. html += "_$tag";
  7634. }
  7635. html += "_$ta";
  7636. html += "_$tag______________$tag";
  7637. html += "_$tag______________$tag";
  7638. html += "_$tag______________$tag";
  7639. html += "_$tag_____________总计_$tag";
  7640. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7641. html += "_$tag";
  7642. $("#dataList").html(html);
  7643. }
  7644. },
  7645. "complete": function(){
  7646. layer.close(tip);
  7647. }
  7648. });
  7649. },
  7650. "getlistajax" : function(chgnoteId){
  7651. var tip = layer.load(2);
  7652. var url = "listAjax.do";
  7653. $.ajax({
  7654. "url" : url,
  7655. "data" : {
  7656. "visitId" : chgnoteId
  7657. },
  7658. "type" : "POST",
  7659. "dataType" : "json",
  7660. "async" : true,
  7661. "success" : function(data) {
  7662. if(data != null && data != ""){
  7663. var html = "";
  7664. var sum =0;
  7665. for(var i = 0; i < data.length; i++){
  7666. var index = i + 1;
  7667. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7668. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7669. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7670. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7671. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7672. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7673. sum = sum +sum_total;
  7674. html += "_$ta";
  7675. html += "_$tag____________" + index + "_$tag";
  7676. html += "_$tag____________" + itemId + "_$tag";
  7677. html += "_$tag____________" + itemName + "_$tag";
  7678. html += "_$tag____________" + itemStd + "_$tag";
  7679. html += "_$tag____________" + quantity +"_$tag";
  7680. html += "_$tag____________" + quantityUnit +"_$tag";
  7681. html += "_$tag____________" + sum_total +"_$tag";
  7682. html += "_$tag";
  7683. }
  7684. html += "_$ta";
  7685. html += "_$tag______________$tag";
  7686. html += "_$tag______________$tag";
  7687. html += "_$tag______________$tag";
  7688. html += "_$tag______________$tag";
  7689. html += "_$tag______________$tag";
  7690. html += "_$tag_____________总计_$tag";
  7691. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7692. html += "_$tag";
  7693. $("#dataListAjax").html(html);
  7694. }
  7695. },
  7696. "complete": function(){
  7697. layer.close(tip);
  7698. }
  7699. });
  7700. }
  7701. }
  7702. function search(){
  7703. $("#form").submit();
  7704. }
  7705. Date.prototype.Format = function (fmt) {
  7706. var o = {
  7707. "M+": this.getMonth() + 1, //月份
  7708. "d+": this.getDate(), //日
  7709. "h+": this.getHours(), //小时
  7710. "m+": this.getMinutes(), //分
  7711. "s+": this.getSeconds(), //秒
  7712. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7713. "S": this.getMilliseconds() //毫秒
  7714. };
  7715. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7716. for (var k in o)
  7717. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7718. return fmt;
  7719. }
  7720. ----------------------------------- SOURCE END -------------------------------------
  7721. !STACK 0
  7722. java.lang.NullPointerException
  7723. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:43.462
  7724. !MESSAGE Exception occurred during problem detection:
  7725. ----------------------------------- SOURCE BEGIN -------------------------------------
  7726. (function(){Data.getlist('${patnolist.patId}');})();
  7727. var Data = {
  7728. "getlist" : function(patId){
  7729. var tip = layer.load(2);
  7730. var url = "list.do";
  7731. $.ajax({
  7732. "url" : url,
  7733. "data" : {
  7734. "patId" : patId
  7735. },
  7736. "type" : "POST",
  7737. "dataType" : "json",
  7738. "async" : true,
  7739. "success" : function(data) {
  7740. if(data != null && data != ""){
  7741. var html = "";
  7742. var sum =0;
  7743. for(var i = 0; i < data.length; i++){
  7744. var index = i + 1;
  7745. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7746. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7747. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7748. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7749. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7750. sum = sum +sum_total;
  7751. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7752. html += "_$tag____________" + index + "_$tag";
  7753. html += "_$tag____________" + smdatetime + "_$tag";
  7754. html += "_$tag____________" + fdeptname + "_$tag";
  7755. html += "_$tag____________" + fempname + "_$tag";
  7756. html += "_$tag____________" + sum_total +"_$tag";
  7757. html += "_$tag";
  7758. }
  7759. html += "_$ta";
  7760. html += "_$tag______________$tag";
  7761. html += "_$tag______________$tag";
  7762. html += "_$tag______________$tag";
  7763. html += "_$tag_____________总计_$tag";
  7764. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7765. html += "_$tag";
  7766. $("#dataList").html(html);
  7767. }
  7768. },
  7769. "complete": function(){
  7770. layer.close(tip);
  7771. }
  7772. });
  7773. },
  7774. "getlistajax" : function(chgnoteId){
  7775. var tip = layer.load(2);
  7776. var url = "listAjax.do";
  7777. $.ajax({
  7778. "url" : url,
  7779. "data" : {
  7780. "visitId" : chgnoteId
  7781. },
  7782. "type" : "POST",
  7783. "dataType" : "json",
  7784. "async" : true,
  7785. "success" : function(data) {
  7786. if(data != null && data != ""){
  7787. var html = "";
  7788. var sum =0;
  7789. for(var i = 0; i < data.length; i++){
  7790. var index = i + 1;
  7791. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7792. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7793. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7794. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7795. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7796. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7797. sum = sum +sum_total;
  7798. html += "_$ta";
  7799. html += "_$tag____________" + index + "_$tag";
  7800. html += "_$tag____________" + itemId + "_$tag";
  7801. html += "_$tag____________" + itemName + "_$tag";
  7802. html += "_$tag____________" + itemStd + "_$tag";
  7803. html += "_$tag____________" + quantity +"_$tag";
  7804. html += "_$tag____________" + quantityUnit +"_$tag";
  7805. html += "_$tag____________" + sum_total +"_$tag";
  7806. html += "_$tag";
  7807. }
  7808. html += "_$ta";
  7809. html += "_$tag______________$tag";
  7810. html += "_$tag______________$tag";
  7811. html += "_$tag______________$tag";
  7812. html += "_$tag______________$tag";
  7813. html += "_$tag______________$tag";
  7814. html += "_$tag_____________总计_$tag";
  7815. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7816. html += "_$tag";
  7817. $("#dataListAjax").html(html);
  7818. }
  7819. },
  7820. "complete": function(){
  7821. layer.close(tip);
  7822. }
  7823. });
  7824. }
  7825. }
  7826. function search(){
  7827. $("#form").submit();
  7828. }
  7829. Date.prototype.Format = function (fmt) {
  7830. var o = {
  7831. "M+": this.getMonth() + 1, //月份
  7832. "d+": this.getDate(), //日
  7833. "h+": this.getHours(), //小时
  7834. "m+": this.getMinutes(), //分
  7835. "s+": this.getSeconds(), //秒
  7836. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7837. "S": this.getMilliseconds() //毫秒
  7838. };
  7839. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7840. for (var k in o)
  7841. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7842. return fmt;
  7843. }
  7844. ----------------------------------- SOURCE END -------------------------------------
  7845. !STACK 0
  7846. java.lang.NullPointerException
  7847. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:43.463
  7848. !MESSAGE Error while processing working copy
  7849. !STACK 1
  7850. JavaScript Model Exception: java.lang.NullPointerException
  7851. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7852. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  7853. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7854. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7855. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  7856. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  7857. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  7858. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  7859. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  7860. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  7861. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  7862. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  7863. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  7864. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  7865. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  7866. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  7867. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  7868. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  7869. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  7870. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  7871. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  7872. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  7873. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  7874. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  7875. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  7876. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  7877. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  7878. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  7879. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7880. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  7881. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  7882. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  7883. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  7884. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  7885. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  7886. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  7887. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  7888. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  7889. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  7890. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  7891. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  7892. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7893. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  7894. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  7895. at java.lang.reflect.Method.invoke(Unknown Source)
  7896. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  7897. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  7898. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  7899. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  7900. Caused by: java.lang.NullPointerException
  7901. Caused by: java.lang.NullPointerException
  7902. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:43.463
  7903. !MESSAGE java.lang.NullPointerException
  7904. !STACK 0
  7905. java.lang.NullPointerException
  7906. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:44.543
  7907. !MESSAGE Exception occurred during problem detection:
  7908. ----------------------------------- SOURCE BEGIN -------------------------------------
  7909. (function(){Data.getlist('${patnolist.patId}');})();
  7910. var Data = {
  7911. "getlist" : function(patId){
  7912. var tip = layer.load(2);
  7913. var url = "list.do";
  7914. $.ajax({
  7915. "url" : url,
  7916. "data" : {
  7917. "patId" : patId
  7918. },
  7919. "type" : "POST",
  7920. "dataType" : "json",
  7921. "async" : true,
  7922. "success" : function(data) {
  7923. if(data != null && data != ""){
  7924. var html = "";
  7925. var sum =0;
  7926. for(var i = 0; i < data.length; i++){
  7927. var index = i + 1;
  7928. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  7929. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  7930. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  7931. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7932. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  7933. sum = sum +sum_total;
  7934. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  7935. html += "_$tag____________" + index + "_$tag";
  7936. html += "_$tag____________" + smdatetime + "_$tag";
  7937. html += "_$tag____________" + fdeptname + "_$tag";
  7938. html += "_$tag____________" + fempname + "_$tag";
  7939. html += "_$tag____________" + sum_total +"_$tag";
  7940. html += "_$tag";
  7941. }
  7942. html += "_$ta";
  7943. html += "_$tag______________$tag";
  7944. html += "_$tag______________$tag";
  7945. html += "_$tag______________$tag";
  7946. html += "_$tag_____________总计_$tag";
  7947. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7948. html += "_$tag";
  7949. $("#dataList").html(html);
  7950. }
  7951. },
  7952. "complete": function(){
  7953. layer.close(tip);
  7954. }
  7955. });
  7956. },
  7957. "getlistajax" : function(chgnoteId){
  7958. var tip = layer.load(2);
  7959. var url = "listAjax.do";
  7960. $.ajax({
  7961. "url" : url,
  7962. "data" : {
  7963. "visitId" : chgnoteId
  7964. },
  7965. "type" : "POST",
  7966. "dataType" : "json",
  7967. "async" : true,
  7968. "success" : function(data) {
  7969. if(data != null && data != ""){
  7970. var html = "";
  7971. var sum =0;
  7972. for(var i = 0; i < data.length; i++){
  7973. var index = i + 1;
  7974. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  7975. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  7976. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  7977. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  7978. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  7979. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7980. sum = sum +sum_total;
  7981. html += "_$ta";
  7982. html += "_$tag____________" + index + "_$tag";
  7983. html += "_$tag____________" + itemId + "_$tag";
  7984. html += "_$tag____________" + itemName + "_$tag";
  7985. html += "_$tag____________" + itemStd + "_$tag";
  7986. html += "_$tag____________" + quantity +"_$tag";
  7987. html += "_$tag____________" + quantityUnit +"_$tag";
  7988. html += "_$tag____________" + sum_total +"_$tag";
  7989. html += "_$tag";
  7990. }
  7991. html += "_$ta";
  7992. html += "_$tag______________$tag";
  7993. html += "_$tag______________$tag";
  7994. html += "_$tag______________$tag";
  7995. html += "_$tag______________$tag";
  7996. html += "_$tag______________$tag";
  7997. html += "_$tag_____________总计_$tag";
  7998. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7999. html += "_$tag";
  8000. $("#dataListAjax").html(html);
  8001. }
  8002. },
  8003. "complete": function(){
  8004. layer.close(tip);
  8005. }
  8006. });
  8007. }
  8008. }
  8009. function search(){
  8010. $("#form").submit();
  8011. }
  8012. Date.prototype.Format = function (fmt) {
  8013. var o = {
  8014. "M+": this.getMonth() + 1, //月份
  8015. "d+": this.getDate(), //日
  8016. "h+": this.getHours(), //小时
  8017. "m+": this.getMinutes(), //分
  8018. "s+": this.getSeconds(), //秒
  8019. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8020. "S": this.getMilliseconds() //毫秒
  8021. };
  8022. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8023. for (var k in o)
  8024. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8025. return fmt;
  8026. }
  8027. ----------------------------------- SOURCE END -------------------------------------
  8028. !STACK 0
  8029. java.lang.NullPointerException
  8030. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:45.012
  8031. !MESSAGE Exception occurred during problem detection:
  8032. ----------------------------------- SOURCE BEGIN -------------------------------------
  8033. (function(){Data.getlist('${patnolist.patId}');})();
  8034. var Data = {
  8035. "getlist" : function(patId){
  8036. var tip = layer.load(2);
  8037. var url = "list.do";
  8038. $.ajax({
  8039. "url" : url,
  8040. "data" : {
  8041. "patId" : patId
  8042. },
  8043. "type" : "POST",
  8044. "dataType" : "json",
  8045. "async" : true,
  8046. "success" : function(data) {
  8047. if(data != null && data != ""){
  8048. var html = "";
  8049. var sum =0;
  8050. for(var i = 0; i < data.length; i++){
  8051. var index = i + 1;
  8052. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8053. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8054. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8055. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8056. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8057. sum = sum +sum_total;
  8058. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8059. html += "_$tag____________" + index + "_$tag";
  8060. html += "_$tag____________" + smdatetime + "_$tag";
  8061. html += "_$tag____________" + fdeptname + "_$tag";
  8062. html += "_$tag____________" + fempname + "_$tag";
  8063. html += "_$tag____________" + sum_total +"_$tag";
  8064. html += "_$tag";
  8065. }
  8066. html += "_$ta";
  8067. html += "_$tag______________$tag";
  8068. html += "_$tag______________$tag";
  8069. html += "_$tag______________$tag";
  8070. html += "_$tag_____________总计_$tag";
  8071. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8072. html += "_$tag";
  8073. $("#dataList").html(html);
  8074. }
  8075. },
  8076. "complete": function(){
  8077. layer.close(tip);
  8078. }
  8079. });
  8080. },
  8081. "getlistajax" : function(chgnoteId){
  8082. var tip = layer.load(2);
  8083. var url = "listAjax.do";
  8084. $.ajax({
  8085. "url" : url,
  8086. "data" : {
  8087. "visitId" : chgnoteId
  8088. },
  8089. "type" : "POST",
  8090. "dataType" : "json",
  8091. "async" : true,
  8092. "success" : function(data) {
  8093. if(data != null && data != ""){
  8094. var html = "";
  8095. var sum =0;
  8096. for(var i = 0; i < data.length; i++){
  8097. var index = i + 1;
  8098. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8099. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8100. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8101. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8102. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8103. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8104. sum = sum +sum_total;
  8105. html += "_$ta";
  8106. html += "_$tag____________" + index + "_$tag";
  8107. html += "_$tag____________" + itemId + "_$tag";
  8108. html += "_$tag____________" + itemName + "_$tag";
  8109. html += "_$tag____________" + itemStd + "_$tag";
  8110. html += "_$tag____________" + quantity +"_$tag";
  8111. html += "_$tag____________" + quantityUnit +"_$tag";
  8112. html += "_$tag____________" + sum_total +"_$tag";
  8113. html += "_$tag";
  8114. }
  8115. html += "_$ta";
  8116. html += "_$tag______________$tag";
  8117. html += "_$tag______________$tag";
  8118. html += "_$tag______________$tag";
  8119. html += "_$tag______________$tag";
  8120. html += "_$tag______________$tag";
  8121. html += "_$tag_____________总计_$tag";
  8122. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8123. html += "_$tag";
  8124. $("#dataListAjax").html(html);
  8125. }
  8126. },
  8127. "complete": function(){
  8128. layer.close(tip);
  8129. }
  8130. });
  8131. }
  8132. }
  8133. function search(){
  8134. $("#form").submit();
  8135. }
  8136. Date.prototype.Format = function (fmt) {
  8137. var o = {
  8138. "M+": this.getMonth() + 1, //月份
  8139. "d+": this.getDate(), //日
  8140. "h+": this.getHours(), //小时
  8141. "m+": this.getMinutes(), //分
  8142. "s+": this.getSeconds(), //秒
  8143. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8144. "S": this.getMilliseconds() //毫秒
  8145. };
  8146. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8147. for (var k in o)
  8148. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8149. return fmt;
  8150. }
  8151. ----------------------------------- SOURCE END -------------------------------------
  8152. !STACK 0
  8153. java.lang.NullPointerException
  8154. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:45.013
  8155. !MESSAGE Error while processing working copy
  8156. !STACK 1
  8157. JavaScript Model Exception: java.lang.NullPointerException
  8158. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8159. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  8160. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8161. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8162. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  8163. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  8164. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  8165. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  8166. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  8167. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  8168. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  8169. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  8170. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  8171. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  8172. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  8173. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  8174. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  8175. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  8176. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  8177. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  8178. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  8179. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  8180. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  8181. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  8182. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  8183. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  8184. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  8185. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  8186. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  8187. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  8188. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  8189. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  8190. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  8191. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  8192. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  8193. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  8194. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  8195. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  8196. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  8197. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  8198. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  8199. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  8200. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  8201. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  8202. at java.lang.reflect.Method.invoke(Unknown Source)
  8203. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  8204. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  8205. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  8206. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  8207. Caused by: java.lang.NullPointerException
  8208. Caused by: java.lang.NullPointerException
  8209. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:45.013
  8210. !MESSAGE java.lang.NullPointerException
  8211. !STACK 0
  8212. java.lang.NullPointerException
  8213. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:46.006
  8214. !MESSAGE Exception occurred during problem detection:
  8215. ----------------------------------- SOURCE BEGIN -------------------------------------
  8216. (function(){Data.getlist('${patnolist.patId}');})();
  8217. var Data = {
  8218. "getlist" : function(patId){
  8219. var tip = layer.load(2);
  8220. var url = "list.do";
  8221. $.ajax({
  8222. "url" : url,
  8223. "data" : {
  8224. "patId" : patId
  8225. },
  8226. "type" : "POST",
  8227. "dataType" : "json",
  8228. "async" : true,
  8229. "success" : function(data) {
  8230. if(data != null && data != ""){
  8231. var html = "";
  8232. var sum =0;
  8233. for(var i = 0; i < data.length; i++){
  8234. var index = i + 1;
  8235. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8236. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8237. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8238. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8239. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8240. sum = sum +sum_total;
  8241. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8242. html += "_$tag____________" + index + "_$tag";
  8243. html += "_$tag____________" + smdatetime + "_$tag";
  8244. html += "_$tag____________" + fdeptname + "_$tag";
  8245. html += "_$tag____________" + fempname + "_$tag";
  8246. html += "_$tag____________" + sum_total +"_$tag";
  8247. html += "_$tag";
  8248. }
  8249. html += "_$ta";
  8250. html += "_$tag______________$tag";
  8251. html += "_$tag______________$tag";
  8252. html += "_$tag______________$tag";
  8253. html += "_$tag_____________总计_$tag";
  8254. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8255. html += "_$tag";
  8256. $("#dataList").html(html);
  8257. }
  8258. },
  8259. "complete": function(){
  8260. layer.close(tip);
  8261. }
  8262. });
  8263. },
  8264. "getlistajax" : function(chgnoteId){
  8265. var tip = layer.load(2);
  8266. var url = "listAjax.do";
  8267. $.ajax({
  8268. "url" : url,
  8269. "data" : {
  8270. "visitId" : chgnoteId
  8271. },
  8272. "type" : "POST",
  8273. "dataType" : "json",
  8274. "async" : true,
  8275. "success" : function(data) {
  8276. if(data != null && data != ""){
  8277. var html = "";
  8278. var sum =0;
  8279. for(var i = 0; i < data.length; i++){
  8280. var index = i + 1;
  8281. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8282. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8283. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8284. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8285. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8286. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8287. sum = sum +sum_total;
  8288. html += "_$ta";
  8289. html += "_$tag____________" + index + "_$tag";
  8290. html += "_$tag____________" + itemId + "_$tag";
  8291. html += "_$tag____________" + itemName + "_$tag";
  8292. html += "_$tag____________" + itemStd + "_$tag";
  8293. html += "_$tag____________" + quantity +"_$tag";
  8294. html += "_$tag____________" + quantityUnit +"_$tag";
  8295. html += "_$tag____________" + sum_total +"_$tag";
  8296. html += "_$tag";
  8297. }
  8298. html += "_$ta";
  8299. html += "_$tag______________$tag";
  8300. html += "_$tag______________$tag";
  8301. html += "_$tag______________$tag";
  8302. html += "_$tag______________$tag";
  8303. html += "_$tag______________$tag";
  8304. html += "_$tag_____________总计_$tag";
  8305. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8306. html += "_$tag";
  8307. $("#dataListAjax").html(html);
  8308. }
  8309. },
  8310. "complete": function(){
  8311. layer.close(tip);
  8312. }
  8313. });
  8314. }
  8315. }
  8316. function search(){
  8317. $("#form").submit();
  8318. }
  8319. Date.prototype.Format = function (fmt) {
  8320. var o = {
  8321. "M+": this.getMonth() + 1, //月份
  8322. "d+": this.getDate(), //日
  8323. "h+": this.getHours(), //小时
  8324. "m+": this.getMinutes(), //分
  8325. "s+": this.getSeconds(), //秒
  8326. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8327. "S": this.getMilliseconds() //毫秒
  8328. };
  8329. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8330. for (var k in o)
  8331. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8332. return fmt;
  8333. }
  8334. ----------------------------------- SOURCE END -------------------------------------
  8335. !STACK 0
  8336. java.lang.NullPointerException
  8337. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:50.071
  8338. !MESSAGE Exception occurred during problem detection:
  8339. ----------------------------------- SOURCE BEGIN -------------------------------------
  8340. (function(){Data.getlist('${patnolist.patId}');})();
  8341. var Data = {
  8342. "getlist" : function(patId){
  8343. var tip = layer.load(2);
  8344. var url = "list.do";
  8345. $.ajax({
  8346. "url" : url,
  8347. "data" : {
  8348. "patId" : patId
  8349. },
  8350. "type" : "POST",
  8351. "dataType" : "json",
  8352. "async" : true,
  8353. "success" : function(data) {
  8354. if(data != null && data != ""){
  8355. var html = "";
  8356. var sum =0;
  8357. for(var i = 0; i < data.length; i++){
  8358. var index = i + 1;
  8359. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8360. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8361. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8362. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8363. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8364. sum = sum +sum_total;
  8365. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8366. html += "_$tag____________" + index + "_$tag";
  8367. html += "_$tag____________" + smdatetime + "_$tag";
  8368. html += "_$tag____________" + fdeptname + "_$tag";
  8369. html += "_$tag____________" + fempname + "_$tag";
  8370. html += "_$tag____________" + sum_total +"_$tag";
  8371. html += "_$tag";
  8372. }
  8373. html += "_$ta";
  8374. html += "_$tag______________$tag";
  8375. html += "_$tag______________$tag";
  8376. html += "_$tag______________$tag";
  8377. html += "_$tag_____________总计_$tag";
  8378. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8379. html += "_$tag";
  8380. $("#dataList").html(html);
  8381. }
  8382. },
  8383. "complete": function(){
  8384. layer.close(tip);
  8385. }
  8386. });
  8387. },
  8388. "getlistajax" : function(chgnoteId){
  8389. var tip = layer.load(2);
  8390. var url = "listAjax.do";
  8391. $.ajax({
  8392. "url" : url,
  8393. "data" : {
  8394. "visitId" : chgnoteId
  8395. },
  8396. "type" : "POST",
  8397. "dataType" : "json",
  8398. "async" : true,
  8399. "success" : function(data) {
  8400. if(data != null && data != ""){
  8401. var html = "";
  8402. var sum =0;
  8403. for(var i = 0; i < data.length; i++){
  8404. var index = i + 1;
  8405. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8406. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8407. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8408. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8409. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8410. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8411. sum = sum +sum_total;
  8412. html += "_$ta";
  8413. html += "_$tag____________" + index + "_$tag";
  8414. html += "_$tag____________" + itemId + "_$tag";
  8415. html += "_$tag____________" + itemName + "_$tag";
  8416. html += "_$tag____________" + itemStd + "_$tag";
  8417. html += "_$tag____________" + quantity +"_$tag";
  8418. html += "_$tag____________" + quantityUnit +"_$tag";
  8419. html += "_$tag____________" + sum_total +"_$tag";
  8420. html += "_$tag";
  8421. }
  8422. html += "_$ta";
  8423. html += "_$tag______________$tag";
  8424. html += "_$tag______________$tag";
  8425. html += "_$tag______________$tag";
  8426. html += "_$tag______________$tag";
  8427. html += "_$tag______________$tag";
  8428. html += "_$tag_____________总计_$tag";
  8429. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8430. html += "_$tag";
  8431. $("#dataListAjax").html(html);
  8432. }
  8433. },
  8434. "complete": function(){
  8435. layer.close(tip);
  8436. }
  8437. });
  8438. }
  8439. }
  8440. function search(){
  8441. $("#form").submit();
  8442. }
  8443. Date.prototype.Format = function (fmt) {
  8444. var o = {
  8445. "M+": this.getMonth() + 1, //月份
  8446. "d+": this.getDate(), //日
  8447. "h+": this.getHours(), //小时
  8448. "m+": this.getMinutes(), //分
  8449. "s+": this.getSeconds(), //秒
  8450. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8451. "S": this.getMilliseconds() //毫秒
  8452. };
  8453. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8454. for (var k in o)
  8455. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8456. return fmt;
  8457. }
  8458. ----------------------------------- SOURCE END -------------------------------------
  8459. !STACK 0
  8460. java.lang.NullPointerException
  8461. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:50.071
  8462. !MESSAGE Error while processing working copy
  8463. !STACK 1
  8464. JavaScript Model Exception: java.lang.NullPointerException
  8465. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8466. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  8467. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8468. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8469. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  8470. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  8471. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  8472. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  8473. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  8474. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  8475. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  8476. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  8477. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  8478. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  8479. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  8480. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  8481. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  8482. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  8483. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  8484. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  8485. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  8486. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  8487. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  8488. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  8489. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  8490. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  8491. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  8492. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  8493. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  8494. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  8495. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  8496. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  8497. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  8498. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  8499. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  8500. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  8501. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  8502. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  8503. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  8504. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  8505. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  8506. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  8507. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  8508. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  8509. at java.lang.reflect.Method.invoke(Unknown Source)
  8510. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  8511. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  8512. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  8513. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  8514. Caused by: java.lang.NullPointerException
  8515. Caused by: java.lang.NullPointerException
  8516. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:50.072
  8517. !MESSAGE java.lang.NullPointerException
  8518. !STACK 0
  8519. java.lang.NullPointerException
  8520. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:51.122
  8521. !MESSAGE Exception occurred during problem detection:
  8522. ----------------------------------- SOURCE BEGIN -------------------------------------
  8523. (function(){Data.getlist('${patnolist.patId}');})();
  8524. var Data = {
  8525. "getlist" : function(patId){
  8526. var tip = layer.load(2);
  8527. var url = "list.do";
  8528. $.ajax({
  8529. "url" : url,
  8530. "data" : {
  8531. "patId" : patId
  8532. },
  8533. "type" : "POST",
  8534. "dataType" : "json",
  8535. "async" : true,
  8536. "success" : function(data) {
  8537. if(data != null && data != ""){
  8538. var html = "";
  8539. var sum =0;
  8540. for(var i = 0; i < data.length; i++){
  8541. var index = i + 1;
  8542. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8543. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8544. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8545. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8546. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8547. sum = sum +sum_total;
  8548. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8549. html += "_$tag____________" + index + "_$tag";
  8550. html += "_$tag____________" + smdatetime + "_$tag";
  8551. html += "_$tag____________" + fdeptname + "_$tag";
  8552. html += "_$tag____________" + fempname + "_$tag";
  8553. html += "_$tag____________" + sum_total +"_$tag";
  8554. html += "_$tag";
  8555. }
  8556. html += "_$ta";
  8557. html += "_$tag______________$tag";
  8558. html += "_$tag______________$tag";
  8559. html += "_$tag______________$tag";
  8560. html += "_$tag_____________总计_$tag";
  8561. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8562. html += "_$tag";
  8563. $("#dataList").html(html);
  8564. }
  8565. },
  8566. "complete": function(){
  8567. layer.close(tip);
  8568. }
  8569. });
  8570. },
  8571. "getlistajax" : function(chgnoteId){
  8572. var tip = layer.load(2);
  8573. var url = "listAjax.do";
  8574. $.ajax({
  8575. "url" : url,
  8576. "data" : {
  8577. "visitId" : chgnoteId
  8578. },
  8579. "type" : "POST",
  8580. "dataType" : "json",
  8581. "async" : true,
  8582. "success" : function(data) {
  8583. if(data != null && data != ""){
  8584. var html = "";
  8585. var sum =0;
  8586. for(var i = 0; i < data.length; i++){
  8587. var index = i + 1;
  8588. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8589. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8590. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8591. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8592. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8593. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8594. sum = sum +sum_total;
  8595. html += "_$ta";
  8596. html += "_$tag____________" + index + "_$tag";
  8597. html += "_$tag____________" + itemId + "_$tag";
  8598. html += "_$tag____________" + itemName + "_$tag";
  8599. html += "_$tag____________" + itemStd + "_$tag";
  8600. html += "_$tag____________" + quantity +"_$tag";
  8601. html += "_$tag____________" + quantityUnit +"_$tag";
  8602. html += "_$tag____________" + sum_total +"_$tag";
  8603. html += "_$tag";
  8604. }
  8605. html += "_$ta";
  8606. html += "_$tag______________$tag";
  8607. html += "_$tag______________$tag";
  8608. html += "_$tag______________$tag";
  8609. html += "_$tag______________$tag";
  8610. html += "_$tag______________$tag";
  8611. html += "_$tag_____________总计_$tag";
  8612. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8613. html += "_$tag";
  8614. $("#dataListAjax").html(html);
  8615. }
  8616. },
  8617. "complete": function(){
  8618. layer.close(tip);
  8619. }
  8620. });
  8621. }
  8622. }
  8623. function search(){
  8624. $("#form").submit();
  8625. }
  8626. Date.prototype.Format = function (fmt) {
  8627. var o = {
  8628. "M+": this.getMonth() + 1, //月份
  8629. "d+": this.getDate(), //日
  8630. "h+": this.getHours(), //小时
  8631. "m+": this.getMinutes(), //分
  8632. "s+": this.getSeconds(), //秒
  8633. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8634. "S": this.getMilliseconds() //毫秒
  8635. };
  8636. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8637. for (var k in o)
  8638. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8639. return fmt;
  8640. }
  8641. ----------------------------------- SOURCE END -------------------------------------
  8642. !STACK 0
  8643. java.lang.NullPointerException
  8644. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:23.780
  8645. !MESSAGE Exception occurred during problem detection:
  8646. ----------------------------------- SOURCE BEGIN -------------------------------------
  8647. (function(){Data.getlist('${patnolist.patId}');})();
  8648. var Data = {
  8649. "getlist" : function(patId){
  8650. var tip = layer.load(2);
  8651. var url = "list.do";
  8652. $.ajax({
  8653. "url" : url,
  8654. "data" : {
  8655. "patId" : patId
  8656. },
  8657. "type" : "POST",
  8658. "dataType" : "json",
  8659. "async" : true,
  8660. "success" : function(data) {
  8661. if(data != null && data != ""){
  8662. var html = "";
  8663. var sum =0;
  8664. for(var i = 0; i < data.length; i++){
  8665. var index = i + 1;
  8666. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8667. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8668. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8669. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8670. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8671. sum = sum +sum_total;
  8672. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8673. html += "_$tag____________" + index + "_$tag";
  8674. html += "_$tag____________" + smdatetime + "_$tag";
  8675. html += "_$tag____________" + fdeptname + "_$tag";
  8676. html += "_$tag____________" + fempname + "_$tag";
  8677. html += "_$tag____________" + sum_total +"_$tag";
  8678. html += "_$tag";
  8679. }
  8680. html += "_$ta";
  8681. html += "_$tag______________$tag";
  8682. html += "_$tag______________$tag";
  8683. html += "_$tag______________$tag";
  8684. html += "_$tag_____________总计_$tag";
  8685. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8686. html += "_$tag";
  8687. $("#dataList").html(html);
  8688. }
  8689. },
  8690. "complete": function(){
  8691. layer.close(tip);
  8692. }
  8693. });
  8694. },
  8695. "getlistajax" : function(chgnoteId){
  8696. var tip = layer.load(2);
  8697. var url = "listAjax.do";
  8698. $.ajax({
  8699. "url" : url,
  8700. "data" : {
  8701. "visitId" : chgnoteId
  8702. },
  8703. "type" : "POST",
  8704. "dataType" : "json",
  8705. "async" : true,
  8706. "success" : function(data) {
  8707. if(data != null && data != ""){
  8708. var html = "";
  8709. var sum =0;
  8710. for(var i = 0; i < data.length; i++){
  8711. var index = i + 1;
  8712. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8713. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8714. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8715. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8716. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8717. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8718. sum = sum +sum_total;
  8719. html += "_$ta";
  8720. html += "_$tag____________" + index + "_$tag";
  8721. html += "_$tag____________" + itemId + "_$tag";
  8722. html += "_$tag____________" + itemName + "_$tag";
  8723. html += "_$tag____________" + itemStd + "_$tag";
  8724. html += "_$tag____________" + quantity +"_$tag";
  8725. html += "_$tag____________" + quantityUnit +"_$tag";
  8726. html += "_$tag____________" + sum_total +"_$tag";
  8727. html += "_$tag";
  8728. }
  8729. html += "_$ta";
  8730. html += "_$tag______________$tag";
  8731. html += "_$tag______________$tag";
  8732. html += "_$tag______________$tag";
  8733. html += "_$tag______________$tag";
  8734. html += "_$tag______________$tag";
  8735. html += "_$tag_____________总计_$tag";
  8736. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8737. html += "_$tag";
  8738. $("#dataListAjax").html(html);
  8739. }
  8740. },
  8741. "complete": function(){
  8742. layer.close(tip);
  8743. }
  8744. });
  8745. }
  8746. }
  8747. function search(){
  8748. $("#form").submit();
  8749. }
  8750. Date.prototype.Format = function (fmt) {
  8751. var o = {
  8752. "M+": this.getMonth() + 1, //月份
  8753. "d+": this.getDate(), //日
  8754. "h+": this.getHours(), //小时
  8755. "m+": this.getMinutes(), //分
  8756. "s+": this.getSeconds(), //秒
  8757. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8758. "S": this.getMilliseconds() //毫秒
  8759. };
  8760. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8761. for (var k in o)
  8762. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8763. return fmt;
  8764. }
  8765. ----------------------------------- SOURCE END -------------------------------------
  8766. !STACK 0
  8767. java.lang.NullPointerException
  8768. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:23.781
  8769. !MESSAGE Error while processing working copy
  8770. !STACK 1
  8771. JavaScript Model Exception: java.lang.NullPointerException
  8772. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8773. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  8774. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8775. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8776. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  8777. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  8778. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  8779. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  8780. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  8781. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  8782. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  8783. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  8784. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  8785. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  8786. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  8787. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  8788. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  8789. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  8790. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  8791. Caused by: java.lang.NullPointerException
  8792. Caused by: java.lang.NullPointerException
  8793. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:02:23.781
  8794. !MESSAGE java.lang.NullPointerException
  8795. !STACK 0
  8796. java.lang.NullPointerException
  8797. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:24.782
  8798. !MESSAGE Exception occurred during problem detection:
  8799. ----------------------------------- SOURCE BEGIN -------------------------------------
  8800. (function(){Data.getlist('${patnolist.patId}');})();
  8801. var Data = {
  8802. "getlist" : function(patId){
  8803. var tip = layer.load(2);
  8804. var url = "list.do";
  8805. $.ajax({
  8806. "url" : url,
  8807. "data" : {
  8808. "patId" : patId
  8809. },
  8810. "type" : "POST",
  8811. "dataType" : "json",
  8812. "async" : true,
  8813. "success" : function(data) {
  8814. if(data != null && data != ""){
  8815. var html = "";
  8816. var sum =0;
  8817. for(var i = 0; i < data.length; i++){
  8818. var index = i + 1;
  8819. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8820. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8821. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8822. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8823. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8824. sum = sum +sum_total;
  8825. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8826. html += "_$tag____________" + index + "_$tag";
  8827. html += "_$tag____________" + smdatetime + "_$tag";
  8828. html += "_$tag____________" + fdeptname + "_$tag";
  8829. html += "_$tag____________" + fempname + "_$tag";
  8830. html += "_$tag____________" + sum_total +"_$tag";
  8831. html += "_$tag";
  8832. }
  8833. html += "_$ta";
  8834. html += "_$tag______________$tag";
  8835. html += "_$tag______________$tag";
  8836. html += "_$tag______________$tag";
  8837. html += "_$tag_____________总计_$tag";
  8838. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8839. html += "_$tag";
  8840. $("#dataList").html(html);
  8841. }
  8842. },
  8843. "complete": function(){
  8844. layer.close(tip);
  8845. }
  8846. });
  8847. },
  8848. "getlistajax" : function(chgnoteId){
  8849. var tip = layer.load(2);
  8850. var url = "listAjax.do";
  8851. $.ajax({
  8852. "url" : url,
  8853. "data" : {
  8854. "visitId" : chgnoteId
  8855. },
  8856. "type" : "POST",
  8857. "dataType" : "json",
  8858. "async" : true,
  8859. "success" : function(data) {
  8860. if(data != null && data != ""){
  8861. var html = "";
  8862. var sum =0;
  8863. for(var i = 0; i < data.length; i++){
  8864. var index = i + 1;
  8865. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8866. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8867. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8868. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8869. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8870. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8871. sum = sum +sum_total;
  8872. html += "_$ta";
  8873. html += "_$tag____________" + index + "_$tag";
  8874. html += "_$tag____________" + itemId + "_$tag";
  8875. html += "_$tag____________" + itemName + "_$tag";
  8876. html += "_$tag____________" + itemStd + "_$tag";
  8877. html += "_$tag____________" + quantity +"_$tag";
  8878. html += "_$tag____________" + quantityUnit +"_$tag";
  8879. html += "_$tag____________" + sum_total +"_$tag";
  8880. html += "_$tag";
  8881. }
  8882. html += "_$ta";
  8883. html += "_$tag______________$tag";
  8884. html += "_$tag______________$tag";
  8885. html += "_$tag______________$tag";
  8886. html += "_$tag______________$tag";
  8887. html += "_$tag______________$tag";
  8888. html += "_$tag_____________总计_$tag";
  8889. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8890. html += "_$tag";
  8891. $("#dataListAjax").html(html);
  8892. }
  8893. },
  8894. "complete": function(){
  8895. layer.close(tip);
  8896. }
  8897. });
  8898. }
  8899. }
  8900. function search(){
  8901. $("#form").submit();
  8902. }
  8903. Date.prototype.Format = function (fmt) {
  8904. var o = {
  8905. "M+": this.getMonth() + 1, //月份
  8906. "d+": this.getDate(), //日
  8907. "h+": this.getHours(), //小时
  8908. "m+": this.getMinutes(), //分
  8909. "s+": this.getSeconds(), //秒
  8910. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8911. "S": this.getMilliseconds() //毫秒
  8912. };
  8913. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8914. for (var k in o)
  8915. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8916. return fmt;
  8917. }
  8918. ----------------------------------- SOURCE END -------------------------------------
  8919. !STACK 0
  8920. java.lang.NullPointerException
  8921. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:03:39.079
  8922. !MESSAGE Exception occurred during problem detection:
  8923. ----------------------------------- SOURCE BEGIN -------------------------------------
  8924. (function(){Data.getlist('${patnolist.patId}');})();
  8925. var Data = {
  8926. "getlist" : function(patId){
  8927. var tip = layer.load(2);
  8928. var url = "list.do";
  8929. $.ajax({
  8930. "url" : url,
  8931. "data" : {
  8932. "patId" : patId
  8933. },
  8934. "type" : "POST",
  8935. "dataType" : "json",
  8936. "async" : true,
  8937. "success" : function(data) {
  8938. if(data != null && data != ""){
  8939. var html = "";
  8940. var sum =0;
  8941. for(var i = 0; i < data.length; i++){
  8942. var index = i + 1;
  8943. var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
  8944. var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
  8945. var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
  8946. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8947. var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
  8948. sum = sum +sum_total;
  8949. html += "<tr onClick='Data.getlistajax(\""+chgnoteId+"\")'>";
  8950. html += "_$tag____________" + index + "_$tag";
  8951. html += "_$tag____________" + smdatetime + "_$tag";
  8952. html += "_$tag____________" + fdeptname + "_$tag";
  8953. html += "_$tag____________" + fempname + "_$tag";
  8954. html += "_$tag____________" + sum_total +"_$tag";
  8955. html += "_$tag";
  8956. }
  8957. html += "_$ta";
  8958. html += "_$tag______________$tag";
  8959. html += "_$tag______________$tag";
  8960. html += "_$tag______________$tag";
  8961. html += "_$tag_____________总计_$tag";
  8962. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8963. html += "_$tag";
  8964. $("#dataList").html(html);
  8965. }
  8966. },
  8967. "complete": function(){
  8968. layer.close(tip);
  8969. }
  8970. });
  8971. },
  8972. "getlistajax" : function(chgnoteId){
  8973. var tip = layer.load(2);
  8974. var url = "listAjax.do";
  8975. $.ajax({
  8976. "url" : url,
  8977. "data" : {
  8978. "visitId" : chgnoteId
  8979. },
  8980. "type" : "POST",
  8981. "dataType" : "json",
  8982. "async" : true,
  8983. "success" : function(data) {
  8984. if(data != null && data != ""){
  8985. var html = "";
  8986. var sum =0;
  8987. for(var i = 0; i < data.length; i++){
  8988. var index = i + 1;
  8989. var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
  8990. var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
  8991. var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
  8992. var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
  8993. var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
  8994. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8995. sum = sum +sum_total;
  8996. html += "_$ta";
  8997. html += "_$tag____________" + index + "_$tag";
  8998. html += "_$tag____________" + itemId + "_$tag";
  8999. html += "_$tag____________" + itemName + "_$tag";
  9000. html += "_$tag____________" + itemStd + "_$tag";
  9001. html += "_$tag____________" + quantity +"_$tag";
  9002. html += "_$tag____________" + quantityUnit +"_$tag";
  9003. html += "_$tag____________" + sum_total +"_$tag";
  9004. html += "_$tag";
  9005. }
  9006. html += "_$ta";
  9007. html += "_$tag______________$tag";
  9008. html += "_$tag______________$tag";
  9009. html += "_$tag______________$tag";
  9010. html += "_$tag______________$tag";
  9011. html += "_$tag______________$tag";
  9012. html += "_$tag_____________总计_$tag";
  9013. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  9014. html += "_$tag";
  9015. $("#dataListAjax").html(html);
  9016. }
  9017. },
  9018. "complete": function(){
  9019. layer.close(tip);
  9020. }
  9021. });
  9022. }
  9023. }
  9024. function search(){
  9025. $("#form").submit();
  9026. }
  9027. Date.prototype.Format = function (fmt) {
  9028. var o = {
  9029. "M+": this.getMonth() + 1, //月份
  9030. "d+": this.getDate(), //日
  9031. "h+": this.getHours(), //小时
  9032. "m+": this.getMinutes(), //分
  9033. "s+": this.getSeconds(), //秒
  9034. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  9035. "S": this.getMilliseconds() //毫秒
  9036. };
  9037. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  9038. for (var k in o)
  9039. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  9040. return fmt;
  9041. }
  9042. ----------------------------------- SOURCE END -------------------------------------
  9043. !STACK 0
  9044. java.lang.NullPointerException
  9045. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-06-25 09:03:39.079
  9046. !MESSAGE java.lang.NullPointerException
  9047. !STACK 1
  9048. JavaScript Model Exception: java.lang.NullPointerException
  9049. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  9050. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9051. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9052. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9053. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9054. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9055. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9056. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9057. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9058. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9059. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9060. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9061. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9062. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9063. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9064. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9065. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9066. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9067. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9068. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9069. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9070. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9071. Caused by: java.lang.NullPointerException
  9072. Caused by: java.lang.NullPointerException
  9073. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:03:39.079
  9074. !MESSAGE java.lang.NullPointerException
  9075. !STACK 0
  9076. java.lang.NullPointerException
  9077. !SESSION 2019-06-26 08:41:24.308 -----------------------------------------------
  9078. eclipse.buildId=4.4.2.M20150204-1700
  9079. java.version=1.7.0_80
  9080. java.vendor=Oracle Corporation
  9081. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  9082. Framework arguments: -product org.eclipse.epp.package.jee.product
  9083. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  9084. !ENTRY org.eclipse.egit.ui 2 0 2019-06-26 08:42:13.020
  9085. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  9086. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  9087. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  9088. EGit might behave differently since they see different configuration options.
  9089. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  9090. !SESSION 2019-06-26 15:32:00.467 -----------------------------------------------
  9091. eclipse.buildId=4.4.2.M20150204-1700
  9092. java.version=1.7.0_80
  9093. java.vendor=Oracle Corporation
  9094. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  9095. Framework arguments: -product org.eclipse.epp.package.jee.product
  9096. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  9097. !ENTRY org.eclipse.egit.ui 2 0 2019-06-26 15:32:25.683
  9098. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  9099. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  9100. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  9101. EGit might behave differently since they see different configuration options.
  9102. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  9103. !SESSION 2019-07-08 09:30:37.236 -----------------------------------------------
  9104. eclipse.buildId=4.4.2.M20150204-1700
  9105. java.version=1.7.0_80
  9106. java.vendor=Oracle Corporation
  9107. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  9108. Framework arguments: -product org.eclipse.epp.package.jee.product
  9109. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  9110. !ENTRY org.eclipse.egit.ui 2 0 2019-07-08 09:32:57.921
  9111. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  9112. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  9113. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  9114. EGit might behave differently since they see different configuration options.
  9115. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  9116. !ENTRY org.eclipse.jst.server.tomcat.core 4 0 2019-07-08 09:33:25.561
  9117. !MESSAGE Port 8081 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
  9118. !SESSION 2019-07-08 09:38:35.084 -----------------------------------------------
  9119. eclipse.buildId=4.4.2.M20150204-1700
  9120. java.version=1.7.0_80
  9121. java.vendor=Oracle Corporation
  9122. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  9123. Framework arguments: -product org.eclipse.epp.package.jee.product
  9124. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  9125. !ENTRY org.eclipse.egit.ui 2 0 2019-07-08 09:39:21.986
  9126. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  9127. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  9128. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  9129. EGit might behave differently since they see different configuration options.
  9130. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.