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