package org.gyk.modules.lssj.bjls.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.gyk.modules.lssj.bjls.entity.CxcSssjLssjBjlsjl;

import java.util.List;
@Mapper
public interface BjMapper  extends BaseMapper<CxcSssjLssjBjlsjl> {
    int insertBatch( List<CxcSssjLssjBjlsjl> vips);

    //获取未处置的报警信息
    @Select(" select * from cxc_sssj_lssj_bjlsjl where bj_id = #{bjId} and zt = '1'")
    public List<CxcSssjLssjBjlsjl> getWczBjxx(@Param("bjId") String bjId);
}
