mid:准备开始改造mybatis->mybatisplus

1.准备基本类,基本服务--恢复服务
pull/180/head
Layne Cai 4 years ago
parent f8fd0a05e4
commit 70ed74905a

@ -1,7 +1,7 @@
package com.ruoyi.system.mapper; package com.ruoyi.system.mapper;
import java.util.List; import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.common.core.domain.CommonMapper;
import com.ruoyi.system.domain.SysConfig; import com.ruoyi.system.domain.SysConfig;
/** /**
@ -9,7 +9,7 @@ import com.ruoyi.system.domain.SysConfig;
* *
* @author ruoyi * @author ruoyi
*/ */
public interface SysConfigMapper extends BaseMapper<SysConfig> public interface SysConfigMapper extends CommonMapper<SysConfig>
{ {
/** /**
* *

@ -10,7 +10,7 @@ import com.ruoyi.system.domain.SysConfig;
* *
* @author ruoyi * @author ruoyi
*/ */
public interface ISysConfigService extends IService<SysConfig> public interface ISysConfigService
{ {
/** /**
* *

@ -210,48 +210,4 @@ public class SysConfigServiceImpl implements ISysConfigService
return Constants.SYS_CONFIG_KEY + configKey; return Constants.SYS_CONFIG_KEY + configKey;
} }
@Override
public boolean saveBatch(Collection<SysConfig> entityList, int batchSize) {
return false;
}
@Override
public boolean saveOrUpdateBatch(Collection<SysConfig> entityList, int batchSize) {
return false;
}
@Override
public boolean updateBatchById(Collection<SysConfig> entityList, int batchSize) {
return false;
}
@Override
public boolean saveOrUpdate(SysConfig entity) {
return false;
}
@Override
public SysConfig getOne(Wrapper<SysConfig> queryWrapper, boolean throwEx) {
return null;
}
@Override
public Map<String, Object> getMap(Wrapper<SysConfig> queryWrapper) {
return null;
}
@Override
public <V> V getObj(Wrapper<SysConfig> queryWrapper, Function<? super Object, V> mapper) {
return null;
}
@Override
public BaseMapper<SysConfig> getBaseMapper() {
return null;
}
@Override
public Class<SysConfig> getEntityClass() {
return null;
}
} }

Loading…
Cancel
Save