DevicePowerMapper.java
554 Bytes
package cn.com.glsx.app.modules.mapper;
import cn.com.glsx.app.modules.entity.DevicePower;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DevicePowerMapper extends CommonBaseMapper<DevicePower> {
/**
* 根据设备号获取
*
* @param sn 设备号
* @param vdId 车辆设备绑定关系
* @return 电量信息
*/
DevicePower selectBySn(@Param("sn") String sn, @Param("vdId") Long vdId);
}