zhubaomin
2025-04-15 70b2c7a1f5b54cf9157d8fce4d6a9b0f2fadaebe
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDictItemMapper.java
New file
@@ -0,0 +1,37 @@
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);
}