Commit 080a25ab by wuwenlong

front edit user opt;

parent d3707f83
...@@ -35,9 +35,6 @@ import share.system.service.SConsumerService; ...@@ -35,9 +35,6 @@ import share.system.service.SConsumerService;
public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer> implements SConsumerService public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer> implements SConsumerService
{ {
@Autowired @Autowired
private SConsumerMapper sConsumerMapper;
@Autowired
private FrontTokenComponent tokenComponet; private FrontTokenComponent tokenComponet;
@Autowired @Autowired
...@@ -52,7 +49,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -52,7 +49,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public SConsumer selectSConsumerById(Long id) public SConsumer selectSConsumerById(Long id)
{ {
return sConsumerMapper.selectSConsumerById(id); return baseMapper.selectSConsumerById(id);
} }
/** /**
...@@ -64,7 +61,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -64,7 +61,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public List<SConsumer> selectSConsumerList(SConsumer sConsumer) 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 ...@@ -76,7 +73,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public int insertSConsumer(SConsumer sConsumer) public int insertSConsumer(SConsumer sConsumer)
{ {
return sConsumerMapper.insertSConsumer(sConsumer); return baseMapper.insertSConsumer(sConsumer);
} }
/** /**
...@@ -88,7 +85,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -88,7 +85,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public int updateSConsumer(SConsumer sConsumer) public int updateSConsumer(SConsumer sConsumer)
{ {
return sConsumerMapper.updateSConsumer(sConsumer); return baseMapper.updateSConsumer(sConsumer);
} }
/** /**
...@@ -100,7 +97,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -100,7 +97,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public int deleteSConsumerByIds(Long[] ids) public int deleteSConsumerByIds(Long[] ids)
{ {
return sConsumerMapper.deleteSConsumerByIds(ids); return baseMapper.deleteSConsumerByIds(ids);
} }
/** /**
...@@ -112,7 +109,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -112,7 +109,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public int deleteSConsumerById(Long id) public int deleteSConsumerById(Long id)
{ {
return sConsumerMapper.deleteSConsumerById(id); return baseMapper.deleteSConsumerById(id);
} }
/** /**
...@@ -133,7 +130,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -133,7 +130,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override @Override
public SConsumer getByPhone(String phone) { 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; return user;
} }
...@@ -208,7 +205,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer ...@@ -208,7 +205,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
*/ */
@Override @Override
public List<SConsumer> selectAllocatedList(SConsumerVo sConsumer) { 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 ...@@ -216,6 +213,6 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
*/ */
@Override @Override
public List<SConsumer> selectUnallocatedList(SConsumerVo sConsumer) { 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