物联配置工具直接从库中取数据
This commit is contained in:
parent
34e2b61151
commit
e669b38354
|
@ -40,9 +40,9 @@ public class TumsApi {
|
|||
* @return
|
||||
*/
|
||||
public TumsClient createTumsClient(){
|
||||
if(this.tumsClient==null){
|
||||
// if(this.tumsClient==null){
|
||||
login();
|
||||
}
|
||||
// }
|
||||
return this.tumsClient;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,13 +27,13 @@ public class TqApi {
|
|||
private ISysConfigApi sysConfigApi;
|
||||
|
||||
private void initTqConfig(){
|
||||
if(tqConfig==null){
|
||||
// if(tqConfig==null){
|
||||
tqConfig = tqConfigMapper.getConfig();
|
||||
if(tqConfig==null){
|
||||
getConfigByApi();
|
||||
tqConfig = tqConfigMapper.getConfig();
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
private void getConfigByApi(){
|
||||
|
|
|
@ -25,13 +25,13 @@ public class YiweilianApi {
|
|||
private ISysConfigApi sysConfigApi;
|
||||
|
||||
private void initYiweilianConfig(){
|
||||
if(yiweilianConfig==null){
|
||||
// if(yiweilianConfig==null){
|
||||
yiweilianConfig = yiweilianConfigMapper.getConfig();
|
||||
if(yiweilianConfig==null){
|
||||
getConfigByApi();
|
||||
yiweilianConfig = yiweilianConfigMapper.getConfig();
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
private void getConfigByApi(){
|
||||
|
|
Loading…
Reference in New Issue