| | |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.devmanage.DevModelDO; |
| | | 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 |
| | |
| | | .orderByDesc(DevModelDO::getId)); |
| | | } |
| | | |
| | | @Select("select distinct brand from lihu.device_model where category=#{category}") |
| | | List<String> getBrandByCategory(@Param("category") String category); |
| | | |
| | | @Select("select model from lihu.device_model where category=#{category} and brand=#{brand}") |
| | | List<String> getModelByCategoryBrand(@Param("category") String category, @Param("brand") String brand); |
| | | |
| | | } |