package com.sundot.airport.ledger.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sundot.airport.ledger.domain.LedgerUnsafeEvent;
import com.sundot.airport.ledger.domain.vo.CountQueryReqVO;
import com.sundot.airport.ledger.domain.vo.UnsafeItemVO;
import com.sundot.airport.ledger.domain.vo.UnsafePositionVO;
import com.sundot.airport.ledger.domain.vo.UnsafeTypeVO;

public interface ILedgerUnsafeEventService extends IService<LedgerUnsafeEvent> {
    List<LedgerUnsafeEvent> selectList(LedgerUnsafeEvent query);
    int batchInsert(List<LedgerUnsafeEvent> list);

    /**
     * 功能描述：不安全事件物品分布
     *
     * @param countQueryReq 查询参数
     * @return List<UnsafeItemVO>
     * @method countSeizureStatsItem
     * @author PanHu Sun
     * @date 2026/5/20 16:41
     */
    List<UnsafeItemVO> countSeizureStatsItem(CountQueryReqVO countQueryReq);

    /**
     * 功能描述：countSeizureStatsType
     *
     * @param countQueryReq 查询参数
     * @return List<UnsafeTypeVO>
     * @method countSeizureStatsType
     * @author PanHu Sun
     * @date 2026/5/20 17:09
     */
    List<UnsafeTypeVO> countSeizureStatsType(CountQueryReqVO countQueryReq);

    /**
     * 功能描述：不安全事件岗位分布
     *
     * @param countQueryReq 查询参数
     * @return List<UnsafePositionVO>
     * @method countSeizureStatsPost
     * @author PanHu Sun
     * @date 2026/5/20 17:20
     */
    List<UnsafePositionVO> countSeizureStatsPost(CountQueryReqVO countQueryReq);
}
