|
|
|
@ -4,6 +4,7 @@ import cn.iocoder.mall.admin.dataobject.DataDictDO;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
@Repository
|
|
|
|
@Repository
|
|
|
|
@ -11,8 +12,16 @@ public interface DataDictMapper {
|
|
|
|
|
|
|
|
|
|
|
|
DataDictDO selectById(@Param("id") Integer id);
|
|
|
|
DataDictDO selectById(@Param("id") Integer id);
|
|
|
|
|
|
|
|
|
|
|
|
DataDictDO selectByEnumValueAndValue(@Param("enumValue") String enumValue,
|
|
|
|
DataDictDO selectByEnumValueAndValue(
|
|
|
|
@Param("value") String value);
|
|
|
|
@Param("enumValue") String enumValue,
|
|
|
|
|
|
|
|
@Param("value") String value
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<DataDictDO> selectByEnumValueAndValues(
|
|
|
|
|
|
|
|
@Param("enumValue") String enumValue,
|
|
|
|
|
|
|
|
@Param("values") Collection<String> values
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<DataDictDO> selectList();
|
|
|
|
List<DataDictDO> selectList();
|
|
|
|
|
|
|
|
|
|
|
|
|