Skip to content

Commit

Permalink
2.12.6-fix3
Browse files Browse the repository at this point in the history
  • Loading branch information
niels1286 committed Apr 12, 2022
1 parent 6742999 commit 9e1483a
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import io.nuls.poc.model.bo.config.ConfigBean;
import io.nuls.poc.model.bo.config.ConfigItem;
import io.nuls.poc.storage.ConfigService;
import io.nuls.core.core.ioc.SpringLiteContext;

import java.lang.reflect.Field;
Expand Down Expand Up @@ -53,11 +52,11 @@ public static ConfigBean initManager(List<ConfigItem> items) throws Exception{
保存配置信息到数据库
Save configuration information to database
*/
ConfigService configService = SpringLiteContext.getBean(ConfigService.class);
boolean saveSuccess = configService.save(bean,bean.getChainId());
if(saveSuccess){
// ConfigService configService = SpringLiteContext.getBean(ConfigService.class);
// boolean saveSuccess = configService.save(bean,bean.getChainId());
// if(saveSuccess){
return bean;
}
return null;
// }
// return null;
}
}

0 comments on commit 9e1483a

Please sign in to comment.