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

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.sz.scpz.entity.CxcScdtJldxx;
import org.gyk.modules.sz.scpz.entity.CxcScdtScpz;
import org.gyk.modules.sz.scpz.entity.CxcSssjSzScsz;

import java.util.List;

@Mapper
public interface ScszMapper extends BaseMapper<CxcSssjSzScsz> {
    @Select(" select * from cxc_sssj_sz_scsz ")
    public List<CxcSssjSzScsz> getAllScpz( );

    @Select("select * from cxc_scdt_scpz where sclb = #{lb}")
    public List<CxcScdtScpz> getScpzByLb(@Param("lb") String lb);

    @Select("select * from cxc_scdt_jldxx")
    public List<CxcScdtJldxx> getScdtJldId();
}
