package tech.glinfo.enbao.modules.sh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import tech.glinfo.enbao.common.utils.R;
import tech.glinfo.enbao.modules.sh.entity.ShDevicePowerEntity;

import java.util.Map;

/**
 * 智能开关电量表
 *
 * @author linzhenjie
 * @email linzhenjie@gltech.com
 * @date 2020-05-18 15:37:05
 */
public interface OtherShDevicePowerService extends IService<ShDevicePowerEntity> {

    R powerQuery(Map<String, Object> params);

    R saveOrUpdateByTime(Integer deviceId, Integer totalDuration, Integer totalPower);
}

