admin
2023-04-12 651f2856e9ae10aacbfb8327d967aacbb6d58333
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemConfigMapper.java
@@ -1,14 +1,13 @@
package com.yeshi.fanli.dao.mybatis;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.entity.system.SystemConfig;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.system.SystemConfig;
public interface SystemConfigMapper extends BaseMapper<SystemConfig> {
public interface SystemConfigMapper extends BaseMapper<SystemConfig>{
   SystemConfig getByKey(@Param("key") String key);
   SystemConfig getByKeyAndSystemId(@Param("key") String key, @Param("systemId") Long systemId);
    public SystemConfig selectByKeyAndSystem(@Param("key") String key,@Param("system") SystemEnum system);
}