| | |
| | | import com.ruoyi.system.domain.TBatteryGroup; |
| | | import com.ruoyi.system.domain.TBatteryGroupBattery; |
| | | import com.ruoyi.system.domain.TBatteryGroupRelationField; |
| | | import com.ruoyi.system.domain.TBatteryGroupTemplate; |
| | | |
| | | /** 电池组 Mapper。 */ |
| | | public interface TBatteryGroupMapper |
| | |
| | | TBatteryGroup selectBatteryGroupByName(@Param("groupName") String groupName); |
| | | List<TBatteryGroupBattery> selectBatteries(Long groupId); |
| | | List<TBatteryGroupRelationField> selectRelationFields(Long groupId); |
| | | TBatteryGroup selectTemplate(@Param("templateId") Long templateId); |
| | | TBatteryGroupTemplate selectTemplate(@Param("templateId") Long templateId); |
| | | List<Long> selectTemplateFieldIds(@Param("templateId") Long templateId); |
| | | List<TBatteryGroupRelationField> selectValidTemplateFields(@Param("templateId") Long templateId, @Param("fieldIds") List<Long> fieldIds); |
| | | TBatteryGroupBattery selectBatteryByNo(@Param("batteryNo") String batteryNo, @Param("groupId") Long groupId); |