优化
This commit is contained in:
@@ -103,7 +103,7 @@ public class LpkCustomerService extends MybatisBaseService<LpkCustomerMapper, Lp
|
|||||||
newCustomer.setCreateTime(new Date());
|
newCustomer.setCreateTime(new Date());
|
||||||
newCustomer.setPhoto("headImage.png");
|
newCustomer.setPhoto("headImage.png");
|
||||||
LpkCustomer lpkCustomer1 = baseMapper.selectOwn();
|
LpkCustomer lpkCustomer1 = baseMapper.selectOwn();
|
||||||
newCustomer.setNick("小主000"+ Integer.valueOf(lpkCustomer1.getId()).intValue() +1);
|
newCustomer.setNick("小主000"+ (Integer.valueOf(lpkCustomer1.getId()).intValue() +1));
|
||||||
baseMapper.insert(newCustomer);
|
baseMapper.insert(newCustomer);
|
||||||
// return rb.setData(newCustomer).setCode("110");
|
// return rb.setData(newCustomer).setCode("110");
|
||||||
StpUtil.login(newCustomer.getId());
|
StpUtil.login(newCustomer.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user