Commit c17019f2 by yinyong

百伦分类修复接口返回数据为空

parent df59f15e
...@@ -51,8 +51,8 @@ public class BailunCategoryJob implements SimpleJob { ...@@ -51,8 +51,8 @@ public class BailunCategoryJob implements SimpleJob {
dcBaseBailuncategory.setGmtModified(startTime); dcBaseBailuncategory.setGmtModified(startTime);
mapper.upsertSelective(dcBaseBailuncategory); mapper.upsertSelective(dcBaseBailuncategory);
} }
mapper.deleteByExample(DcBaseBailuncategoryExample.newAndCreateCriteria().andGmtModifiedLessThan(startTime.minusHours(1L)).example());
} }
mapper.deleteByExample(DcBaseBailuncategoryExample.newAndCreateCriteria().andGmtModifiedLessThan(startTime).example());
} }
} else { } else {
throw new RuntimeException("调用百伦分类接口返回错误"); throw new RuntimeException("调用百伦分类接口返回错误");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment