提交 a3620167 编写于 作者: Q qiaozhanwei 提交者: lgcareer

signOut error update and install.sh echo error update (#999)

* add ConnectionFactoryTest and ConnectionFactory read datasource from appliction.yml

* .escheduler_env.sh to dolphinscheduler_env.sh

* dao yml assembly to conf directory

* table name modify

* entity title table  name modify

* logback log name modify

* running through the big process

* running through the big process error modify

* logback log name modify

* data_source.properties rename

* logback log name modify

* install.sh optimization

* install.sh optimization

* command count modify

* command state update

* countCommandState sql update

* countCommandState sql update

* remove application.yml file

* master.properties modify

* install.sh modify

* install.sh modify

* api server startup modify

* the current user quits and the session is completely emptied. bug fix

* remove pom package resources

* checkQueueNameExist method update

* checkQueueExist

* install.sh error output update

* signOut error update
上级 ee7a05af
......@@ -137,12 +137,16 @@ public class SessionService extends BaseService{
* @param loginUser
*/
public void signOut(String ip, User loginUser) {
/**
* query session by user id and ip
*/
Session session = sessionMapper.queryByUserIdAndIp(loginUser.getId(),ip);
try {
/**
* query session by user id and ip
*/
Session session = sessionMapper.queryByUserIdAndIp(loginUser.getId(),ip);
//delete session
sessionMapper.deleteById(session.getId());
//delete session
sessionMapper.deleteById(session.getId());
}catch (Exception e){
}
}
}
......@@ -464,7 +464,7 @@ if [ $? -eq 0 ]
then
echo 'scp copy completed'
else
echo 'sc copy failed to exit'
echo 'scp copy failed to exit'
exit -1
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册