Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / mapper / TermiteMapper.java
@xiongkai xiongkai on 4 Jul 1 KB 功能测试
package com.newfiber.termite.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newfiber.termite.domain.Termite;
import com.newfiber.termite.domain.dto.UnitInfoDto;
import com.newfiber.termite.domain.request.DeviceInfoUpdateRequest;
import com.newfiber.termite.domain.request.TermiteHistoryQueryRequest;
import com.newfiber.termite.domain.request.TermiteInfoQueryRequest;
import com.newfiber.termite.domain.response.DataUpResponse;
import com.newfiber.termite.domain.response.TermiteInfoResponse;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TermiteMapper extends BaseMapper<Termite> {

   List<TermiteInfoResponse> querytermiteData(@Param("request") TermiteInfoQueryRequest request);

   void updateMonitorDevice(@Param("request") DeviceInfoUpdateRequest request);

   List<TermiteInfoResponse> queryhistoryData(@Param("request")TermiteHistoryQueryRequest request);

   String querynewphoto(@Param("sn")String sn);

   void updateModlefirstData(@Param("sn")String sn,@Param("newphoto")String newphoto);

   DataUpResponse queryDataUpResponse(@Param("sn")String sn);

   UnitInfoDto queryUnitdata();
}