66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
package com.sercurityControl.proteam.dutyTask.mapper;
|
|
|
|
import com.sercurityControl.proteam.domain.ty.MqImageVo;
|
|
import com.sercurityControl.proteam.dutyTask.domain.VoiWarnEntity;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 违章库-数据库访问层
|
|
*/
|
|
@Repository(value = "VoiPhotoLibraryMapper")
|
|
public interface VoiPhotoLibraryMapper {
|
|
/**
|
|
* @return java.util.List<com.sercurityControl.proteam.dutyTask.domain.VoiWarnEntity>
|
|
* @author cw chen
|
|
* @description 违章库照片
|
|
* @Param entity
|
|
* @date 2022-12-26 14:11
|
|
*/
|
|
List<VoiWarnEntity> getVoiPhotoLibraryList(VoiWarnEntity entity);
|
|
|
|
/**
|
|
* @return int
|
|
* @author cw chen
|
|
* @description 违章照片库数量
|
|
* @Param entity
|
|
* @date 2022-12-26 14:43
|
|
*/
|
|
int getVoiPhotoCount(VoiWarnEntity entity);
|
|
|
|
/**
|
|
* @return void
|
|
* @author cw chen
|
|
* @description 确认违章库照片
|
|
* @Param entity
|
|
* @date 2022-12-26 18:23
|
|
*/
|
|
void confirmVoiImg(VoiWarnEntity entity);
|
|
|
|
List<MqImageVo> getWzList(VoiWarnEntity entity);
|
|
|
|
/**
|
|
* 是否被确认
|
|
* @param id
|
|
* @return
|
|
*/
|
|
int getIsConfirm(String id);
|
|
/**
|
|
* 新增数据
|
|
* @param entity
|
|
*/
|
|
void insertConfirm(VoiWarnEntity entity);
|
|
|
|
/**
|
|
* 刪除数据
|
|
* @param entity
|
|
* @return
|
|
*/
|
|
void deleteImage(@Param("time") String time);
|
|
|
|
void deleteTicket(@Param("key")String key);
|
|
|
|
}
|