Commit b1ab963e authored by 赵啸非's avatar 赵啸非

添加定时汇总考勤

parent 6b0ae7ac
...@@ -112,7 +112,8 @@ public class AuthTokenServiceImpl implements IAuthTokenService { ...@@ -112,7 +112,8 @@ public class AuthTokenServiceImpl implements IAuthTokenService {
localuserEntity.setToken(token); localuserEntity.setToken(token);
return localuserEntity; return localuserEntity;
} }
userEntity.setToken(token); // userEntity.setId(localuserEntity.getId());
localuserEntity.setToken(token);
return userEntity; return userEntity;
}else{ }else{
userStr = cacheService.get(userKey); userStr = cacheService.get(userKey);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<select id="getListByUserId" parameterType="paramDto" resultMap="ResourceEntity-Map"> <select id="getListByUserId" parameterType="paramDto" resultMap="ResourceEntity-Map">
select <include refid="_columns"/> select <include refid="_columns"/>
from mortals_xhx_resource as a from mortals_xhx_resource as a
where a.authType in(0,1,2,3) or a.id IN where a.authType in(0,1,2) or a.id IN
(select resourceId (select resourceId
from mortals_xhx_role_auth as b from mortals_xhx_role_auth as b
left join mortals_xhx_role_user as c left join mortals_xhx_role_user as c
......
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