package com.junmp.jyzb.mapper;

import com.junmp.jyzb.api.bean.dto.TjDto.FinalTjOrgPoliceDto;
import com.junmp.jyzb.api.bean.dto.TjDto.TjOrgPoliceDto;
import com.junmp.jyzb.api.bean.query.TjReq.TjOrgPoliceReq;
import com.junmp.jyzb.entity.PoliceEquipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lxh专属坐骑
* @description 针对表【base_police_equipment】的数据库操作Mapper
* @createDate 2023-08-10 13:13:20
* @Entity com.junmp.jyzb.entity.PoliceEquipment
*/
public interface PoliceEquipmentMapper extends BaseMapper<PoliceEquipment> {

    int getCount(@Param("req") TjOrgPoliceReq req);

    List<TjOrgPoliceDto> TjOrgPolice(@Param("req") TjOrgPoliceReq req,@Param("pageNo") Long pageNo,@Param("pageSize") Long pageSize);

    FinalTjOrgPoliceDto TjOrgPoliceSum(@Param("req") TjOrgPoliceReq req);

//    int TjOrgPoliceDetailSum(@Param("req") TjOrgPoliceReq req);

    List<TjOrgPoliceDto> TjOrgPoliceDetail(@Param("req") TjOrgPoliceReq req,@Param("pageNo") Long pageNo,@Param("pageSize") Long pageSize);
}




