class GoodsExecute implements EveryDayExecute {
    /**
     * 会员评价
     */
    @Autowired
    private MemberEvaluationService memberEvaluationService;
    /**
     * 商品
     */
    @Autowired
    private GoodsService goodsService;

    /**
     * 查询已上架的商品的评价数量并赋值
     */
    @Override
    public void execute() {<FILL_FUNCTION_BODY>}
}


        //查询上次统计到本次的评价数量
        List<Map<String, Object>> list = memberEvaluationService.memberEvaluationNum(DateUtil.yesterday(), new DateTime());

        for (Map<String, Object> map : list) {
            goodsService.addGoodsCommentNum(Convert.toInt(map.get("num").toString()), map.get("goods_id").toString());
        }

    
<no_super_class>