| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.daoBa; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoBa.BaDictItem; | 
 |  |  | import com.dy.pipIrrGlobal.voBa.VoDictItem; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-06-26 20:14 | 
 |  |  |  * @LastEditTime 2024-06-26 20:14 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Mapper | 
 |  |  | public interface BaDictItemMapper extends BaseMapper<BaDictItem> { | 
 |  |  |     int deleteByPrimaryKey(Integer id); | 
 |  |  |  | 
 |  |  |     int insert(BaDictItem record); | 
 |  |  |  | 
 |  |  |     int insertSelective(BaDictItem record); | 
 |  |  |  | 
 |  |  |     BaDictItem selectByPrimaryKey(Integer id); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKeySelective(BaDictItem record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(BaDictItem record); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据字典Code获取字典项 | 
 |  |  |      * @param dictCode | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoDictItem> getDictItemsByDictCode(String dictCode); | 
 |  |  | } |