PropertyDAO null 처리 수정

This commit is contained in:
25W0104
2025-12-03 11:21:53 +09:00
parent d2aaea2df4
commit c4b2b10a32
@@ -54,7 +54,7 @@ public class PropertyDAO extends BaseDAO implements PropertyQuery
previous = current; previous = current;
} }
group.addProperty(rs.getString(2),rs.getString(3)); group.addProperty(StringUtil.nvlTrim(rs.getString(2)),StringUtil.nvlTrim(rs.getString(3)));
} }
return groups; return groups;
@@ -87,7 +87,7 @@ public class PropertyDAO extends BaseDAO implements PropertyQuery
PropGroupVO vo = new PropGroupVO(); PropGroupVO vo = new PropGroupVO();
vo.setName(grpNm); vo.setName(grpNm);
while(rs.next()) { while(rs.next()) {
vo.addProperty(rs.getString(1), rs.getString(2)); vo.addProperty(StringUtil.nvlTrim(rs.getString(1)), StringUtil.nvlTrim(rs.getString(2)));
} }
return vo; return vo;
} catch(Exception e) { } catch(Exception e) {