| | |
| | | import com.sandu.ximon.dao.bo.LightBo; |
| | | import com.sandu.ximon.dao.domain.Light; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.sandu.ximon.dao.domain.LightReportData; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | @Mapper |
| | | public interface LightMapper extends BaseMapper<Light> { |
| | | |
| | | /** |
| | | * 服务器获取路灯列表 |
| | | * |
| | | * @param clientId 客户id |
| | | * @param keyword 关键字 |
| | | * @param keyword 关键字 |
| | | * @return 路灯列表 |
| | | */ |
| | | List<LightBo> listLight(Long clientId, String keyword); |
| | | |
| | | /** |
| | | * 获取用户所拥有的灯杆上的路灯code |
| | | * |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<String> listCode(Long userId, String keyword, String deviceCode); |
| | | |
| | | |
| | | /*** |
| | | * 用在绑定设备 |
| | | * @param clientId |
| | | * @param keyword |
| | | * @return |
| | | */ |
| | | List<LightBo> listLightOnBinding(Long clientId, String keyword); |
| | | } |
| | | |
| | | |