Commit d6d272e5 authored by 曲欣亮's avatar 曲欣亮

小BUG

parent 46da17a7
......@@ -48,7 +48,7 @@ public class LanguageServiceImpl implements LanguageService {
args.add("sParentID = ?");
objs.add(sNodeID);
}
String sql = "select sNodeID, sTopID from t_lang_tree" + StringUtil.join(" and ", " where ", args);
String sql = "select * from t_lang_tree" + StringUtil.join(" and ", " where ", args);
List<T_lang_tree> list = jdbcTemplate.queryForBeans(sql, T_lang_tree.class, objs.toArray());
if(list.size() == 0) {
if(ifNullCreate) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment