package com.centreproject.system.mapper.kpi;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.centreproject.system.domain.kpi.digitalGx.KpiDigitalGx;

/**
 * @author zhonglei.xu
 * @description 数字Gx KPI 数据层
 */
@DS("master")
public interface KpiDigitalGxMapper extends BaseMapper<KpiDigitalGx> {

    /**
     * 获取最近60天的数字Gx KPI数据
     * @return
     */
    KpiDigitalGx getKpiDigitalGxLast60Days();

    void batchInsertOrUpdate(KpiDigitalGx gx);
}
