Commit 080a25ab by wuwenlong

front edit user opt;

parent d3707f83
......@@ -35,9 +35,6 @@ import share.system.service.SConsumerService;
public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer> implements SConsumerService
{
@Autowired
private SConsumerMapper sConsumerMapper;
@Autowired
private FrontTokenComponent tokenComponet;
@Autowired
......@@ -52,7 +49,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public SConsumer selectSConsumerById(Long id)
{
return sConsumerMapper.selectSConsumerById(id);
return baseMapper.selectSConsumerById(id);
}
/**
......@@ -64,7 +61,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public List<SConsumer> selectSConsumerList(SConsumer sConsumer)
{
return sConsumerMapper.selectSConsumerList(sConsumer);
return baseMapper.selectSConsumerList(sConsumer);
}
/**
......@@ -76,7 +73,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public int insertSConsumer(SConsumer sConsumer)
{
return sConsumerMapper.insertSConsumer(sConsumer);
return baseMapper.insertSConsumer(sConsumer);
}
/**
......@@ -88,7 +85,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public int updateSConsumer(SConsumer sConsumer)
{
return sConsumerMapper.updateSConsumer(sConsumer);
return baseMapper.updateSConsumer(sConsumer);
}
/**
......@@ -100,7 +97,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public int deleteSConsumerByIds(Long[] ids)
{
return sConsumerMapper.deleteSConsumerByIds(ids);
return baseMapper.deleteSConsumerByIds(ids);
}
/**
......@@ -112,7 +109,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public int deleteSConsumerById(Long id)
{
return sConsumerMapper.deleteSConsumerById(id);
return baseMapper.deleteSConsumerById(id);
}
/**
......@@ -133,7 +130,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public SConsumer getByPhone(String phone) {
SConsumer user = sConsumerMapper.selectOne(new LambdaQueryWrapper<SConsumer>().eq(SConsumer::getPhone, phone));
SConsumer user = baseMapper.selectOne(new LambdaQueryWrapper<SConsumer>().eq(SConsumer::getPhone, phone));
return user;
}
......@@ -208,7 +205,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
*/
@Override
public List<SConsumer> selectAllocatedList(SConsumerVo sConsumer) {
return sConsumerMapper.selectAllocatedList(sConsumer);
return baseMapper.selectAllocatedList(sConsumer);
}
/**
......@@ -216,6 +213,6 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
*/
@Override
public List<SConsumer> selectUnallocatedList(SConsumerVo sConsumer) {
return sConsumerMapper.selectUnallocatedList(sConsumer);
return baseMapper.selectUnallocatedList(sConsumer);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment