物联配置工具直接从库中取数据
This commit is contained in:
parent
18c6fe8682
commit
533e0635e8
|
|
@ -27,9 +27,9 @@ public class TumsApi {
|
|||
* @return
|
||||
*/
|
||||
public TumsClient createTumsClient(){
|
||||
if(this.tumsClient==null){
|
||||
// if(this.tumsClient==null){
|
||||
login();
|
||||
}
|
||||
// }
|
||||
return this.tumsClient;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ public class TqApi {
|
|||
TqConfigMapper tqConfigMapper;
|
||||
|
||||
private void initTqConfig(){
|
||||
if(tqConfig==null){
|
||||
// if(tqConfig==null){
|
||||
tqConfig = tqConfigMapper.getConfig();
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
public TqConfig getTqConfig(){
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ public class YiweilianApi {
|
|||
YiweilianConfigMapper yiweilianConfigMapper;
|
||||
|
||||
private void initYiweilianConfig(){
|
||||
if(yiweilianConfig==null){
|
||||
// if(yiweilianConfig==null){
|
||||
yiweilianConfig = yiweilianConfigMapper.getConfig();
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
public YiweilianConfig getYiweilianConfig(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue