admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemConfigMapper.java
@@ -1,14 +1,13 @@
package com.yeshi.fanli.dao.mybatis;
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>{
   SystemConfig getByKey(@Param("key") String key);
   SystemConfig getByKeyAndSystemId(@Param("key") String key, @Param("systemId") Long systemId);
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;
public interface SystemConfigMapper extends BaseMapper<SystemConfig> {
    public SystemConfig selectByKeyAndSystem(@Param("key") String key,@Param("system") SystemEnum system);
}