xiaoyong931011
2021-06-30 60471f5ff134cd036495cd33249d757a1f9a351a
gc-shop/src/main/java/com/xzx/gc/shop/service/GoodsService.java
@@ -216,6 +216,7 @@
        objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
//        ScoreGoods scoreGoods = objectMapper.convertValue(model, ScoreGoods.class);
        ScoreGoods scoreGoods = BeanUtil.copyProperties(model, ScoreGoods.class);
        log.info("抢购时间:{}, {}", scoreGoods.getQgStartTime(), scoreGoods.getQgEndTime());
        scoreGoodsMapper.updateByPrimaryKey(scoreGoods);
        //轮播图