Helius
2022-07-05 121b0c399ab5fadd9cb3a46509d68fe1ba476c95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.xcong.farmer.cms.modules.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xcong.farmer.cms.modules.system.entity.DataDictionaryCustom;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface DataDictionaryCustomMapper extends BaseMapper<DataDictionaryCustom> {
 
    List<DataDictionaryCustom> selectDicByType(String type);
 
    DataDictionaryCustom selectDicDataByTypeAndCode(@Param("type") String type, @Param("code") String code);
 
    int updateDicValueByTypeAndCode(@Param("type") String type, @Param("code") String code, @Param("value") String value);
}