提交 53814425 编写于 作者: Q qiaozhanwei 提交者: Tboy

revert #1686 (#1840)

* remove LogViewServiceGrpc.java file and pom modify

* remove kazoo

* remove kazoo

* remove kazoo

* remove common monitor package

* add license

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* install.sh remove python kazoo

* add system param whether repeat running

* remove kazoo modify

* BusinessTimeUtils remove whther repeat running inner param

* add AccessTokenMapperTest UT

* CI UT yml modify,start postgresql and zookeeper by default

* add AlertGroupMapperTest UT in github action

* Conflicts reslove

* AlertMappert UT modify

* AlertMappert UT modify

* AlertMappert UT modify

* CommandMapperTest UT modify

* DataSourceMapperTest UT modify

* fix #1775 bug,delete process definition when process instance is running

* verifyTenantIsNull remove process definnition id print log

* revert #1686

* revert #1686
上级 5739afb9
...@@ -139,12 +139,16 @@ public class SessionService extends BaseService{ ...@@ -139,12 +139,16 @@ public class SessionService extends BaseService{
* @param loginUser login user * @param loginUser login user
*/ */
public void signOut(String ip, User loginUser) { public void signOut(String ip, User loginUser) {
/** try {
* query session by user id and ip /**
*/ * query session by user id and ip
Session session = sessionMapper.queryByUserIdAndIp(loginUser.getId(),ip); */
Session session = sessionMapper.queryByUserIdAndIp(loginUser.getId(),ip);
//delete session //delete session
sessionMapper.deleteById(session.getId()); sessionMapper.deleteById(session.getId());
}catch (Exception e){
logger.warn("userId : {} , ip : {} , find more one session",loginUser.getId(),ip);
}
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册