|
@@ -237,7 +237,7 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
|
|
|
|
|
|
|
|
|
@Override
|
|
|
- public JSONObject costDetail(String skuNick, Integer dataType, Long date) {
|
|
|
+ public JSONObject costDetail(String skuNick, Integer dataType, Long date, Integer count) {
|
|
|
JSONObject returnJSon = new JSONObject();
|
|
|
|
|
|
try {
|
|
@@ -344,7 +344,10 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
|
|
|
log.info("{},suk数据处理完成", skuNick);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
- this.send("快手小店成本数据清洗失败,请处理,序号:1");
|
|
|
+ this.send("快手小店成本数据清洗失败,请处理,序号:1,失败次数:" + count + "sukId:" + skuNick + " ," + e.getMessage());
|
|
|
+ if (count <= 3) {
|
|
|
+ costDetail(skuNick,dataType, date,count + 1);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return returnJSon;
|