缓存
来源:互联网 发布:mac百度云下载没反应 编辑:程序博客网 时间:2024/05/16 08:08
List<DbDictionaryLangInfoModel> modelLangList = dictionaryLangInfoService.selectByModel(modelLang);
if(modelLangList.size() > 0){
modelLang = modelLangList.get(0);
DbDictionaryInfoModel model = new DbDictionaryInfoModel();
model = dbDictionaryInfoDao.selectById(id);
if(null != model){
model.setValue(modelLang.getValue());
model.setDescription(modelLang.getDescription());
return model;
}else{
return null;
}
}else{
DbDictionaryInfoModel model = new DbDictionaryInfoModel();
model = dbDictionaryInfoDao.selectById(Long.valueOf(keys[1]));
if(null != model){
model.setValue("");
model.setDescription("");
return model;
}else{
return null;
}
}
if(modelLangList.size() > 0){
modelLang = modelLangList.get(0);
DbDictionaryInfoModel model = new DbDictionaryInfoModel();
model = dbDictionaryInfoDao.selectById(id);
if(null != model){
model.setValue(modelLang.getValue());
model.setDescription(modelLang.getDescription());
return model;
}else{
return null;
}
}else{
DbDictionaryInfoModel model = new DbDictionaryInfoModel();
model = dbDictionaryInfoDao.selectById(Long.valueOf(keys[1]));
if(null != model){
model.setValue("");
model.setDescription("");
return model;
}else{
return null;
}
}
0 0
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- 缓存
- [POJ 2376] Cleaning Shifts (区间贪心)
- HDU 3635 并查集
- logback取代 log4j的理由
- 明朝那些事儿里的王守仁
- HDU 1173.采矿【不水的水题】【中位数】【5月26】
- 缓存
- 51nod 1130
- xcode 删除文件后编译会出现*** is missing from working copy
- H5相关小动画代码(个人笔记)
- Warning: Multiple build commands for output file /Users/XXXX/Library/Developer/Xcode/DerivedData/XXX
- 通过eclipse手工生成osgi-bundle的jar包
- [POJ 1328] Radar Installation (区间贪心)
- PHP error_reporting() 错误控制函数功能详解
- Html中的下拉列表Select