Commit 230d5445 by huluobin

fix

parent d5981676
...@@ -57,7 +57,7 @@ public class SessionHandlerInterceptor implements HandlerInterceptor { ...@@ -57,7 +57,7 @@ public class SessionHandlerInterceptor implements HandlerInterceptor {
storeTechnician.setTechnicianId(storeTechnician.getId()); storeTechnician.setTechnicianId(storeTechnician.getId());
StoreManage storeManage = storeManageMapper.selectById(gogirlToken.getDepartmentId()); StoreManage storeManage = storeManageMapper.selectById(gogirlToken.getDepartmentId());
if (StringUtils.isEmpty(storeTechnician.getJobs())) { if (StringUtils.isEmpty(storeTechnician.getJobs())) {
StoreUser storeUser = storeUserMapper.selectById(storeTechnician.getId()); StoreUser storeUser = storeUserMapper.selectById(storeTechnician.getUserId());
storeTechnician.setJobs(storeUser.getJobs()); storeTechnician.setJobs(storeUser.getJobs());
storeTechnicianMapper.updateById(storeTechnician); storeTechnicianMapper.updateById(storeTechnician);
} }
......
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