Commit bcd039b0 by xiehongfei

Merge branch 'feature/20250618-erqian' into developer

parents 3aa4669c bf07eba7
......@@ -449,17 +449,16 @@ public class LoginController extends WebBaseController {
if(null != loginUser) {
logger.info("当前登录信息={}", JSON.toJSON(loginUser));
vo = EntityUtil.changeEntityByOrika(WebLoginVO.class, loginUser);
String clerkId = loginUser.getClerkId();
ClerkDTO clerkDTO = clerkService.getClerkByClerkId(clerkId);
vo.setHasAllStorePermission(0);
if (null != clerkDTO) {
vo.setHasAllStorePermission(isAdminAuthStore(loginUser.getEnterpriseId(), clerkDTO) ? 1:0);
}
}
String gicHost = this.getGicHost();
vo.setGicHost(gicHost);
String clerkId = loginUser.getClerkId();
ClerkDTO clerkDTO = clerkService.getClerkByClerkId(clerkId);
vo.setHasAllStorePermission(0);
if (null != clerkDTO) {
vo.setHasAllStorePermission(isAdminAuthStore(loginUser.getEnterpriseId(), clerkDTO) ? 1:0);
}
return this.success(vo);
}
......
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