|
|
@@ -53,22 +53,6 @@ public class TsbNaverAllEp extends TsbAbstractJob<String, String, String> {
|
|
|
|
|
|
@Override
|
|
|
public String write(String goodsEpList) throws Exception {
|
|
|
-// if (goodsEpList != null && !goodsEpList.isEmpty()) {
|
|
|
-// StringBuilder sb = new StringBuilder();
|
|
|
-// this.setEpTitle(sb);
|
|
|
-//
|
|
|
-// for (GoodsEp goodsEp : goodsEpList) {
|
|
|
-// this.setEpInfo(sb, goodsEp);
|
|
|
-// }
|
|
|
-//
|
|
|
-// String uploadPath = GagaFileUtil.getConcatenationPath(env.getProperty("ep.file.path"), "iStyle24ProductFeed_NaverEp_new.txt");
|
|
|
-// log.info("네이버 전체EP 파일 경로: {}", uploadPath);
|
|
|
-//
|
|
|
-// BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(uploadPath)), "UTF-8"));
|
|
|
-// bw.write(sb.toString());
|
|
|
-// bw.flush();
|
|
|
-// bw.close();
|
|
|
-// }
|
|
|
|
|
|
int totalCount = naverEpService.getNaverEpListCount();
|
|
|
if (totalCount < 1 ) {
|