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);

View File

@ -8,6 +8,7 @@ import com.ycwl.basic.model.pc.video.resp.VideoRespVO;
import lombok.NonNull;
import org.apache.ibatis.annotations.Mapper;
import java.util.Date;
import java.util.List;
/**
@ -45,4 +46,6 @@ public interface VideoMapper {
MemberVideoEntity queryUserVideo(Long userId, Long videoId);
int updateRelationWhenTaskSuccess(Long taskId, Long videoId, int isBuy);
List<MemberVideoEntity> listRelationByCreateTime(Date startTime, Date endTime);
}