package com.hzs.report.order.provider;

import com.hzs.common.core.domain.R;
import com.hzs.report.order.IPerformanceSummaryServiceApi;
import com.hzs.report.order.service.ICuMemberPerformanceSummaryService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * 销售业绩统计
 */
@DubboService
@Slf4j
public class PerformanceSummaryProvider implements IPerformanceSummaryServiceApi {
    @Resource
    ICuMemberPerformanceSummaryService iCuMemberPerformanceSummaryService;
    @Override
    public R<Boolean> createDataByDay(String day) {
        iCuMemberPerformanceSummaryService.createDataByDay(day);
        return R.ok();
    }
}
