记得上下班打卡 | git大法好,push需谨慎

Commit f48655a6 authored by 胡佳晨's avatar 胡佳晨

修改 nft商品列表定时任务

parent 9f259e05
......@@ -46,7 +46,6 @@ public class GoblinNftJobServiceImpl {
IGoblinGoodsAnticipateMgService goblinGoodsAnticipateMgService;
public ResponseDto<Boolean> goodsList() {
LocalDateTime now = LocalDateTime.now();
// mongo初始条件
Query query1 = Query.query(
Criteria.where("skuType").is(1).and("delFlg").is("0")
......@@ -88,7 +87,7 @@ public class GoblinNftJobServiceImpl {
jobVoArrayList.addAll(startSkuInfoVos);
for (GoblinNftGoodsSkuListJobVo info : jobVoArrayList) {
HashMap<String, Object> mapData = goblinRedisUtils.getGoodsSkuInfoVo(now, info.getSkuId());
HashMap<String, Object> mapData = goblinRedisUtils.getGoodsSkuInfoVo(nowTime, info.getSkuId());
GoblinGoodsSkuInfoVo skuInfoVo = (GoblinGoodsSkuInfoVo) mapData.get("vo");
String listId = (String) mapData.get("listId");
info.setSaleStartTime(skuInfoVo.getSaleStartTime());
......
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