jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devmanage/DeviceMapper.java
@@ -8,6 +8,8 @@ import cn.lihu.jh.module.ecg.dal.dataobject.devmanage.DeviceDO; import org.apache.ibatis.annotations.Mapper; import cn.lihu.jh.module.ecg.controller.admin.devmanage.vo.*; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; /** * 设备 Mapper @@ -28,4 +30,7 @@ .orderByDesc(DeviceDO::getId)); } @Select("select * from lihu.device where dev_id=#{devId}") DeviceDO getDeviceByDevId(@Param("devId") String devId); }