This commit is contained in:
dimengzhe
2024-01-19 14:58:29 +08:00
parent bb608a0085
commit f33443b337

View File

@@ -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());