This commit is contained in:
2025-01-16 18:28:04 +08:00
parent 0bba613001
commit bbcbdd2839
24 changed files with 436 additions and 111 deletions

View File

@ -19,6 +19,7 @@ import java.util.List;
@Mapper
public interface DeviceMapper {
List<DeviceRespVO> list(DeviceReqQuery deviceReqQuery);
List<DeviceEntity> listAll();
DeviceRespVO getById(Long id);
int add(DeviceAddOrUpdateReq deviceReqQuery);
int deleteById(Long id);
@ -26,7 +27,7 @@ public interface DeviceMapper {
int updateStatus(Long id);
DeviceEntity getByDeviceId(Long deviceId);
List<DeviceRespVO> listByScenicId(Long scenicId);
List<DeviceRespVO> listByScenicIdWithWVP(Long scenicId);
ScenicDeviceCountVO deviceCountByScenicId(@Param("scenicId") Long scenicId,@Param("userId") Long userId);