package org.gyk.modules.sz.bjpz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.gyk.modules.sssj.entity.YasuojiBjCanshu;
import org.gyk.modules.sz.bjpz.entity.CxcSssjSzBjsz;

import java.util.List;

@Mapper
public interface CxcSssjSzBjszMapper extends BaseMapper<CxcSssjSzBjsz> {
    @Select(" select a.gykbz,b.baojing_di,b.baojing_gao,b.tingji_di,b.tingji_gao from cxc_sssj_sz_jldxx a,cxc_sssj_yasuoji_bj b\n" +
            "where a.ssgx1=b.xinghao and a.ssgx2=b.canshu")
    public List<YasuojiBjCanshu> getYasuojBjCanshu();
}
