//package com.yeejoin.amos.fas.business.dao.repository;
//
//import com.yeejoin.amos.fas.dao.entity.WaterResource;
//
//import java.util.Optional;
//
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.stereotype.Repository;
//
//@Repository("iWaterResourceDao")
//public interface IWaterResourceDao extends BaseDao<WaterResource, Long> {
//
//	Optional<WaterResource> findById(Long id);
//
//	@Query(value = "SELECT count(1) FROM `f_water_resource_equipment` WHERE fire_equipment_id in ?1", nativeQuery = true)
//	int countAssociatedEquipWaterByIds(String[] ids);
//}
