|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoBa.BaClientType; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoBa.BaRole; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  | public interface BaClientTypeMapper extends BaseMapper<BaClientType> { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通过ID得到类型名称 | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @param id 主键 | 
|---|
|  |  |  | * @return 名称 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String selectNameById(Long id) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param record the record | 
|---|
|  |  |  | * @return insert count | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int insert(BaClientType record); | 
|---|
|  |  |  | int putin(BaClientType record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * insert record to table selective | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通过ID删除 | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @param id 主键 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void deleteByPrimaryKey(Long id) ; | 
|---|
|  |  |  | } | 
|---|