From 526cae8e258706d69fe288c70d7c0c533707c28f Mon Sep 17 00:00:00 2001 From: SangYeong Park Date: Tue, 15 Oct 2024 00:03:31 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=EA=B0=80=EA=B2=A9=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=EC=A0=80=EC=9E=A5=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/controller/TextController.class | Bin 1783 -> 1783 bytes .../swdc/server/domain/storage/Product.class | Bin 1279 -> 1279 bytes .../swdc/server/service/PriceService.class | Bin 7156 -> 7266 bytes .../com/swdc/server/service/TextService.class | Bin 2819 -> 2786 bytes .../stash-dir/PriceController.class.uniqueId0 | Bin 0 -> 2720 bytes .../stash-dir/PriceService.class.uniqueId1 | Bin 0 -> 7156 bytes .../stash-dir/Product.class.uniqueId3 | Bin 0 -> 1279 bytes ...iqueId0 => TextController.class.uniqueId2} | Bin .../stash-dir/TextService.class.uniqueId1 | Bin 2939 -> 0 bytes .../stash-dir/TextService.class.uniqueId4 | Bin 0 -> 2819 bytes .../compileJava/previous-compilation-data.bin | Bin 87786 -> 87786 bytes .../com/swdc/server/service/PriceService.java | 28 +++++++----------- 12 files changed, 10 insertions(+), 18 deletions(-) create mode 100644 server/build/tmp/compileJava/compileTransaction/stash-dir/PriceController.class.uniqueId0 create mode 100644 server/build/tmp/compileJava/compileTransaction/stash-dir/PriceService.class.uniqueId1 create mode 100644 server/build/tmp/compileJava/compileTransaction/stash-dir/Product.class.uniqueId3 rename server/build/tmp/compileJava/compileTransaction/stash-dir/{TextController.class.uniqueId0 => TextController.class.uniqueId2} (100%) delete mode 100644 server/build/tmp/compileJava/compileTransaction/stash-dir/TextService.class.uniqueId1 create mode 100644 server/build/tmp/compileJava/compileTransaction/stash-dir/TextService.class.uniqueId4 diff --git a/server/build/classes/java/main/com/swdc/server/controller/TextController.class b/server/build/classes/java/main/com/swdc/server/controller/TextController.class index ca29b8fba070bf9ec8a44308fb9e500dd5b3ebe6..ce19d047c79f90be8d6b7aec7e5ae96685235f45 100644 GIT binary patch delta 35 rcmey)`<-{gJ61-a$?sVs1r-@M7?c>e8I&1#7*rSp7*r=mvdsekxBmzp delta 35 rcmey)`<-{gJ61-%$?sVs1;rRR7{nR486+5Z7$g}47^Eggvdsekw8#hJ diff --git a/server/build/classes/java/main/com/swdc/server/domain/storage/Product.class b/server/build/classes/java/main/com/swdc/server/domain/storage/Product.class index ca62fa85e215c94e38778a8dfcb0f8022e9dc0aa..23a04c209e55505211d238cae22d3c93eeb8665e 100644 GIT binary patch delta 51 zcmey*`JZz`3iIT(%p#LtvG7f9V^(LBn7ocTkWqLNOB{$0pIpY0Fgb-;iCv9>fq{uZ F9RRov4W|GA delta 43 xcmey*`JZz`3iIS^EJ~BxnAInzFpEq+$ZW?bIEf_=M2Jr=V@Y5XntYu_0{~6O4R`04&^ zP>D4b8ZnlfmiBZespA9kjC-^Z$2tq^ahVKxYQ*Jop=Xl+N?fI5gN3W{LAlK{dr}jc zEo{V80bgq}yE>W4BwCYUxUk7W1T6wFxx*4YGErpLKk>$ZCkJ#J9S)ZVHb7_%#zarmD2KVG`exU zg%9Bdnf1O;$W!o9dpZZKw<2h<5aB{0=F z;b9{(^&rZ1JRlHqj@3?(qm7%|k}cUV3>@$yh(i`Wi_ghdjjGZwSoosKn~_bg%XXzY zT6KI$&NIh*4_o*Oj>v1wdjG?CM8{DJy?9g}HP?E-YT+^T_ZdDZTw13*HzsM_sJ_u1{;dPt|;S3pJ#VE1xC;T}iA}sJR z!BL7e+QO^&eMpqcJw>*s$q-}ZW8q3MPQDbL>zO1lSuQFWCm$%*-MXlh3rnI62iaD#tMlFtp>OUF5rv$KzaojcYI8Pw=ht{Un~E>}hUorB)Fj>STY(yqt*nY`q^9 zSH{di?6b}Aw0=~@{I=g+Yx_O5c|?JjW&5?-0o2w76h9WUjX{*zhNG)dPpj?6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V7vM$9!o`A4u}qg!taPEy(XM(n5JHYtzP&RZ z!KVi(xEyZiK>|#0vern`VKmoYQ`Xks03p8~a+Dd!6=ZIH+K!5vnZqcooizkC-LC2# zI~>N%uzg`Uc3{|^n*LPZtPxD6KL`K~URn1L7`JnVMqUDJfUQ(_(6tj;Y~*|-P>OESeFs_7Lu&6NB)dr2 z>v0usz$V;Cuie%5+^4Yb2@A88jO(VaMxt~^$vHv z+@*%x<+$^4vkHg2l8xQ!P}akQ4mp%{GiyaXNw_0j%1`2A7EA}MaVp|cZ?la;jqin9Wr*=2M89kh%0ZoG_D*wF8%@GnaA;2 zLE79cFe8Z^4Z;_X&@i@PTAkXAPcLv9nFQoo{868Uae1AN#+^$i-B;!e_oMjoF#7*D zR?C>?Gx28z04x0lJJ)GA=VsKw&1^A@uMJ{Acdr=Jy_3m`za*%1aTLFQJHE;9zwy6< zQ}Z<4-*%qwI?wlgs diff --git a/server/build/classes/java/main/com/swdc/server/service/TextService.class b/server/build/classes/java/main/com/swdc/server/service/TextService.class index c2750453c480790d5d310d1e9169dba45e1bf0e7..b456b458eb0277306ef37752a804ec3b77cfdf7a 100644 GIT binary patch delta 89 zcmZn`dnCG{hgnEWKR2&LzbLgJzX(cg-p?G)$|}OZ!XPnOnsbAy5(6iLGJ_z4DuWz@ m8iP8627?iU7K0swHiH*~4nq)-oxz|x`2*)YM)Aq#xl8~P;1sU_ delta 122 zcmaDP+AOxAhuPR%KeRZts93)^F)zI`H9s#sz96wETi@AL-#I_8B(=CiKP@vSHNLpA zxFj`KKfko3pmg&*=5SV4eg+l>;mN-^HmHg*a59K92r@`A$T3JUs58hg7y(&!4Dt+K Y3-};9-eb3n#0)(0L13CBieV*sNEPwy|`=0>rpfZ913|ffTh+>H0S|Hb* zWk6`vvsHMD`lk!!btBo92?uL*t#Btol37ljYy6yR% zy2~&)l~~mW<2EL6n&FiAUPcOguR9nMtp6#s>ypInooV9Td zlMIuFvF`7CyFd6Q3|7-JtF?x2mqmOCcRM@RbZ|R0K|5daju7 ztSK|8a$KSFl?KYp?B2(^jOZwQ*}g~Geu`TbKC>~4Ife`UJYqOXRgjlKwdJY>p}3Lz zdA9)VeCVQn;7(#6&}vZUp6@hOAo+S5uK{|;#$DWFIJeKePT-)W=D8BBk9F}(25lk>L{#wA$>g~9%_R^gyog&*Ck)G->MCMJdk7YeyEVt?vAxpec zqeO^j1DDrUx%Bk9y&0i;rxKaor~SbhM%gh;xvtg%SvQH_?ua^#`(wutYlKNt_Nugy z)KMR=>Apq6R%l_`SEmb|aof=>`}8#^Z&8TLP0`?zQ(`cT?m8w5IYBv4&C_{ZP#+_D zNgjQpnRrC+UpT5Ph z@#uJD8>eQ6#)sbE%&$1FXYr|cavRgLR`O?DzcOxJ-Nww1WN-iv>30G{^m`tM>8o`H z7cfmiT+lefip}(Z*@4tIvipK`G7$*GGGwp$l!i7PYs&Ufewlg%L#l%wsn~9 zk`h{rSn@6IC$Id1>p#&d)HuWvH&{-Dx4N+CpfiIYN_CDSct#KPldp||Z_Mv=gDFmr M%e4NMPD7RWf2EE0!~g&Q literal 0 HcmV?d00001 diff --git a/server/build/tmp/compileJava/compileTransaction/stash-dir/PriceService.class.uniqueId1 b/server/build/tmp/compileJava/compileTransaction/stash-dir/PriceService.class.uniqueId1 new file mode 100644 index 0000000000000000000000000000000000000000..5552753600cd24f1d3e2df902f35eb13e3642a96 GIT binary patch literal 7156 zcmcIpdwd*K75?sKH?zB$v}xM3o$_daP@2A$mbR8nDfC4fnzW@U0m`FHHj{Ll&CW7A zo3;pwpoqMrC|I9>s8s}{pdkbiM6HVW0^cCM6%`+dFI0%%y)(O+O}4fC;g4qL&Yg45 zJ@=gNeCOWFldlbb4!~*Rcnu+erj*^E$nWY-CGwUtU^(iMPFab~4u3n?$43-lfr*L! zteeQ0u3K=j>1?ltYJs|)=75>VnAzS$hwHF6jwoUp;yP-e3rtquvuQiglg?17>F&r2 zRP|b}K+Ej5v7=iq7~j?Gb(QI8slfzH)KI5m66yu&$4?`m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NX+wOqDIu~j5Wj>wA(Rdj#1s9m2=qm zJ|o<|e`N3cgE)b+lE02lhWRqtd(o2-BWy$@dxgnfbsHJU{liJ|GvnxF1Tn$fwZ)n>Ai;(bQz<21*zpt*p4gF zg{vra4F-6lv5>dL$EQC?wsb;++X)XEWXBNy0~(mD?-xwJ z+Xd#RGB}72-@^|<%=IbHO!Wq+jF2m7!0+TrsFvFnU+pQBk;shAVa|Va2>ZvX+8Kav z41b^k(9M4&_7!AR!I#Qo^A@{LS5fi%Ks`XoSqFyve8B)FcHN;WWByY=e*eQ-iOdKO-isNAX7g7|K AdH?_b literal 0 HcmV?d00001 diff --git a/server/build/tmp/compileJava/compileTransaction/stash-dir/Product.class.uniqueId3 b/server/build/tmp/compileJava/compileTransaction/stash-dir/Product.class.uniqueId3 new file mode 100644 index 0000000000000000000000000000000000000000..ca62fa85e215c94e38778a8dfcb0f8022e9dc0aa GIT binary patch literal 1279 zcmbtUYj4vq6g_UcmXwTjSyvw8{TSVl$agv>AtYds!L*`%MQ&nc9<5V3P7(hKBoGoG z_yPPV#LZ)Bo9@E|ij??XU!Qx7vfOiJ!-(M!qSR|FeR$O|u^*+7~Zmx^Z@~>yOiuhdXp=ZMqi~dgwZ2BRaugSk1-` zWf|7crulWsxD+w^E^U7U`;wJ(=v~i}ZCs|YofqH=u2OWZnBAZ+!*$$1bpfbR2I`yv zl=Hb+0=$LW1>loR15w$2^d0OgwX0xCZ8byeP%b5#Q%gswW=1ZMB1S>01b-LzP|Nsw zv+#`+zIqP$+{*h@ox4(}--9!4Xi>vl*Mm}H`Z-X;dB=a?Vp*1RhEem5Z&L3H9{vR% CWD55H literal 0 HcmV?d00001 diff --git a/server/build/tmp/compileJava/compileTransaction/stash-dir/TextController.class.uniqueId0 b/server/build/tmp/compileJava/compileTransaction/stash-dir/TextController.class.uniqueId2 similarity index 100% rename from server/build/tmp/compileJava/compileTransaction/stash-dir/TextController.class.uniqueId0 rename to server/build/tmp/compileJava/compileTransaction/stash-dir/TextController.class.uniqueId2 diff --git a/server/build/tmp/compileJava/compileTransaction/stash-dir/TextService.class.uniqueId1 b/server/build/tmp/compileJava/compileTransaction/stash-dir/TextService.class.uniqueId1 deleted file mode 100644 index b7d46377ed54254958a8f5bfad96e94e547aed17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2939 zcmb7GX>KKeXuKldN?OYM6n0fNS&d7jL@bLO0L&-$MG_rH(-0B{jMM$v*+4Iv$EXcy>M zFqcfDXxekewb=!k^99-mEZg!21zNkhvl_wzr*cloD43ov-IY?&STJ*oo?{z%(>G@= zJ71SfndP!{qtMVA!8Yg`w(EEeI|Pm@d2czNGd$@oNjF%moHR0W#ZQyOy@2in2GrCD z^d?{7)I=CN1){^AWg2PeREkmT!fp+Fbi9teYi{~hNgB5tTTbK!TAYHwiLT^E0Mfo| z*>j2R8mWOf5k(yPHN2tY0NxbX8^{Cs*0#M|B*-aVD?EC2*n9h8K#~tqSsAcV8v& zq>e6h3xr*1<}3 zRv>aoU{8~5bZ27(oXa{!F~*K5nTwJNbEdBX%AMz%w(mXT!{!cb^g$gru46(S*A~P= zQ9jU-R4CS#D>|OkFe$KWqn|VLuCr{;7FjrJJ4^Z7&LAW@S-*oh&Y9*pr!4N&TMqA z5glHng*6iyn@En%Obutonb7C!o!+fQHmDS~&j=eyU`Nuj}*ol{H;U zz1N8$f8JtBjt6DE1zyvduxBnw1>rF)Oi6#<$xoTCS(3y9#w|RME7nJ6H0@N}oK(F=)`l_Hr>cb!xL&ap zvSlsLV*H0~+wsldNP(`TK>hBR~~b;_X#j{TcCot-jOy!*MMhuHsr;`||;f8zP)$2$oqoewS-&V0I4; z2k%i4?8Q#rggP0Ble`I?iF@YAe8i<)_L%Trd zf?SeTSvqsp?U@Bt3e8ORyi zDK#X=Wwolj1PruxU>YxyuVy3TE6m@lou{`QCWGl668qYUchui1L|r7 z`m%3uY9@}|0*OK2mR3%=wQ>S`u-Cvo6Z>&s-Oa$RDC@rKsIihji#scDx;wiGKrZlX zXD-uICqmuY%KYg9#4>lUGm2J484 zqc|q8Q;UqaUPT53Ti|5Gmf4VOtsl0*6jcUVtXT?7`>U+CisjYH=<}|b z7{Yadwh#<~eNE2oDQM0S6E}22X)BgpUl|w^*t1z$`FYP>mNR9Baul~rWHHWUm!(p! zR;_x<_Z2JhU{v{rM5d<@$8Bm`<*#piysuO`Iy#!JRMNhmz$dt4AZH?vy8_2I>+*FO zFVNx6PKMRxY!*q>?P#ICPD_SrM#i$k)02bwQAYaJ)T4Lnh=(b}OdeuR3+&3;j+&@d zW|WuLfM{vmLkiNf^?QRD3+8Qx>QvYSw`rZUChp56rMoGcpw6Cpx(V#9Tec+$$!>V+ zQH_}zt!;@O)ZGtMsovb;3ypFXIKN$UeyNsu=8jsG14ET`PoVBxz$wCBANp&+ zUhmP7P|%m*m7=N!HgnfNc|D`(&DiaYFBBYC!Mt0Vl%A|8RvB@NUn!OwQ!J5lYhF?5 zA|z{M;`HlmAp&=5j&3pq+qa4TpyRlK438A(&br>5=oh5gX^5Mv-SLui>2Chf8pQ3fp zV5}=0l}@Rw{F7PNU943zuclpuvPCdYW1Fx)i10V*W(^fXvRuxweR0Ts#knaGoYiBF zqr9QAWaTn6-!fBQ@vWK32EG^Q`hQjqvATaa#>v>imez_xC}0W#pYp8*m-)_d$$e5^ zFhUM?9<-C=9^VEiA-Hz-K7r_c4&&Yvbo`FQW71l1pHF=Y0wrU-COqKItn=d`KI5Cf z=eSNC)Fmd#(?Ob@?0kykQyd&W_Y1n#aD1ZoHzdxk;q+hVO~+EP9*&%crST5_5|s4d#XLv_Kf#0tYI+KzJ}qSkxCnlotciOj8uFLH&e!+k7?QfZsHC* zWu7KHVV1Nu%u)IVVlSxPFtEeGyn$5s>9?gRe6#MgXFaQ6+q!w*RP2P$v=dH?_b literal 0 HcmV?d00001 diff --git a/server/build/tmp/compileJava/previous-compilation-data.bin b/server/build/tmp/compileJava/previous-compilation-data.bin index cae2ccc87b517e0d4a473a8bf9e8a323fcd8bf1f..4345e6bc8ec16a55eb3c2a87ef8fd36012c2d3d8 100644 GIT binary patch delta 98 zcmV-o0G1+Yp15Du2thK#V|NySmmC*zSLH1C92i{=vOzgDC>HDFOk( ERK-Xvv;Y7A delta 98 zcmV-o0G1+Yp15Ze(UNj=CDRRAR?3aj2NUXxk@Ef6#cP7s9tI3lE4m57WBvgDC>HDFOk( ERIAY_E&u=k diff --git a/server/src/main/java/com/swdc/server/service/PriceService.java b/server/src/main/java/com/swdc/server/service/PriceService.java index 34670e3..8826f93 100644 --- a/server/src/main/java/com/swdc/server/service/PriceService.java +++ b/server/src/main/java/com/swdc/server/service/PriceService.java @@ -42,6 +42,8 @@ public class PriceService { * * file system에서 "{fileSystemPath}/platform/category_name/product_id.txt"에 해당하는 product의 가격 정보를 반환 * + * 가격이 변경되는 시점 & 하루가 바뀌는 시점의 가격 정보만 가져옴 + * */ public Price getProductDetails(String platform, String category_name, String product_id) { Path fileSystemPath = Paths.get(BASE_PATH); @@ -52,28 +54,24 @@ public Price getProductDetails(String platform, String category_name, String pro try (BufferedReader bufferedReader = Files.newBufferedReader(productPath)) { String previousLine = null; String currentLine; + String previousDate = null; while ((currentLine = bufferedReader.readLine()) != null) { String[] parts = currentLine.split(","); String dateTime = parts[0] + "," + parts[1]; int currentPrice = Integer.parseInt(parts[2]); + String currentDate = parts[0]; - // 이전 라인의 가격 정보와 비교 - if (previousLine != null) { - String[] prevParts = previousLine.split(","); - int previousPrice = Integer.parseInt(prevParts[2]); - - // 가격이 달라졌을 때만 기록 - if (previousPrice != currentPrice) { - prices.add(Map.of(dateTime, currentPrice)); - } - } else { - // 첫 번째 라인은 비교할 이전 가격이 없으므로 기록 + if (previousLine == null || !previousLine.split(",")[2].equals(parts[2])) { + prices.add(Map.of(dateTime, currentPrice)); + } + + if (previousDate != null && !currentDate.equals(previousDate) && parts[1].equals("00:00")) { prices.add(Map.of(dateTime, currentPrice)); } - // 현재 라인을 이전 라인으로 업데이트 previousLine = currentLine; + previousDate = currentDate; } } catch (FileNotFoundException e) { System.err.println("File not found: " + productPath + ". Error: " + e.getMessage()); @@ -101,7 +99,6 @@ public Price getProductDetailsWithoutCategory(String platform, String product_id List> allPrices = new ArrayList<>(); try { - // Traverse all directories and files under the platform directory Files.walk(basePath) .filter(Files::isRegularFile) .filter(path -> path.getFileName().toString().equals(product_id + ".txt")) @@ -116,21 +113,16 @@ public Price getProductDetailsWithoutCategory(String platform, String product_id String dateTime = parts[0] + "," + parts[1]; int currentPrice = Integer.parseInt(parts[2]); - // 이전 라인의 가격과 비교 if (previousLine != null) { String[] prevParts = previousLine.split(","); int previousPrice = Integer.parseInt(prevParts[2]); - // 가격이 변동되었을 때만 기록 if (previousPrice != currentPrice) { allPrices.add(Map.of(dateTime, currentPrice)); } } else { - // 첫 번째 라인은 비교 대상이 없으므로 기록 allPrices.add(Map.of(dateTime, currentPrice)); } - - // 현재 라인을 이전 라인으로 설정 previousLine = currentLine; } } catch (IOException e) {