Commit 0b7f3e95 by zhengnw@sobot.com

common 1.3.3 插入数据库 先清理数据

parent 0aa4d5d6
......@@ -13,7 +13,7 @@ ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon' //项目名
// PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION = '1.3.2' //版本号
PUBLISH_VERSION = '1.3.3' //版本号
}
......
......@@ -70,6 +70,7 @@ public class HostManager extends SobotCommonDao<HostModel> {
}
public void saveHost(HostModel host) {
deleteAll();
insert(host);
}
......
......@@ -93,6 +93,7 @@ public class ServiceInfoManager extends SobotCommonDao<SobotServiceInfoModel> {
}
public void saveInfo(SobotServiceInfoModel host) {
deleteAll();
insert(host);
}
......
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