|
|
@@ -53,26 +53,26 @@ public class TsbDaumReviewEp extends TsbAbstractJob<Collection<GoodsEp>, Collect
|
|
|
if (goodsEpList != null && !goodsEpList.isEmpty()) {
|
|
|
StringBuilder sb = new StringBuilder();
|
|
|
sb.append("<<<tocnt>>>").append(goodsEpList.size());
|
|
|
-
|
|
|
+
|
|
|
for (GoodsEp goodsEp : goodsEpList) {
|
|
|
this.setEpInfo(sb, goodsEp);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
String uploadPath = GagaFileUtil.getConcatenationPath(env.getProperty("ep.file.path"), "iStyle24ProductFeed_DaumBest100_new.txt");
|
|
|
log.info("다음 상품평EP 파일 경로: {}", uploadPath);
|
|
|
-
|
|
|
- BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(uploadPath)), "UTF-8"));
|
|
|
+
|
|
|
+ BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(uploadPath)), "EUC-KR"));
|
|
|
bw.write(sb.toString());
|
|
|
bw.flush();
|
|
|
bw.close();
|
|
|
}
|
|
|
*/
|
|
|
-
|
|
|
+
|
|
|
if (goodsEpList != null && !goodsEpList.isEmpty()) {
|
|
|
-
|
|
|
+
|
|
|
String uploadPath = GagaFileUtil.getConcatenationPath(env.getProperty("ep.file.path"), "iStyle24ProductFeed_DaumBest100_new.txt");
|
|
|
log.info("다음 상품평EP 파일 경로: {}", uploadPath);
|
|
|
- BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(uploadPath)), "UTF-8"));
|
|
|
+ BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(uploadPath)), "EUC-KR"));
|
|
|
|
|
|
StringBuilder sb = new StringBuilder();
|
|
|
sb.append("<<<tocnt>>>").append(goodsEpList.size());
|
|
|
@@ -83,7 +83,7 @@ public class TsbDaumReviewEp extends TsbAbstractJob<Collection<GoodsEp>, Collect
|
|
|
this.setEpInfo(sb, goodsEp);
|
|
|
bw.append(sb.toString());
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
bw.write(sb.toString());
|
|
|
bw.flush();
|
|
|
bw.close();
|