|
@@ -7,8 +7,10 @@ import com.chuanghai.travelbigdata.disease.command.entity.WarningOfSmokeRecordEn
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 冒烟警告记录
|
|
* 冒烟警告记录
|
|
@@ -23,4 +25,8 @@ public interface WarningOfSmokeRecordDao extends BaseMapper<WarningOfSmokeRecord
|
|
|
IPage<WarningOfSmokeRecordEntity> getRecords(@Param("page") IPage<WarningOfSmokeRecordEntity> page, @Param("queryDTO") WarningOfSmokeQueryDTO queryDTO);
|
|
IPage<WarningOfSmokeRecordEntity> getRecords(@Param("page") IPage<WarningOfSmokeRecordEntity> page, @Param("queryDTO") WarningOfSmokeQueryDTO queryDTO);
|
|
|
|
|
|
|
|
List<WarningOfSmokePushRecordEntity> getPushRecords(@Param("recordId") Long recordId);
|
|
List<WarningOfSmokePushRecordEntity> getPushRecords(@Param("recordId") Long recordId);
|
|
|
|
|
+
|
|
|
|
|
+ @Select("insert into warning_of_smoke_video (id,video,images) values \n" +
|
|
|
|
|
+ "(uuid(),#{video},#{pic})")
|
|
|
|
|
+ Integer insertVideoByPic(@Param("video") String video,@Param("pic") String pic);
|
|
|
}
|
|
}
|