优化
This commit is contained in:
@@ -103,7 +103,7 @@ public class LpkCustomerService extends MybatisBaseService<LpkCustomerMapper, Lp
|
||||
newCustomer.setCreateTime(new Date());
|
||||
newCustomer.setPhoto("headImage.png");
|
||||
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);
|
||||
// return rb.setData(newCustomer).setCode("110");
|
||||
StpUtil.login(newCustomer.getId());
|
||||
|
||||
Reference in New Issue
Block a user