private XinWen initXinWen(ResultSet rs) throws SQLException {
        XinWen xinWen = new XinWen();
        xinWen.setId(rs.getString("ID") == null ? "" : rs.getString("ID"));
        xinWen.setTitle(rs.getString("TITLE") == null ? "" : rs.getString("TITLE"));
        xinWen.setEntitle(rs.getString("ENTITLE") == null ? "" : rs.getString("ENTITLE"));
        xinWen.setContent(rs.getString("CONTENT") == null ? "" : rs.getString("CONTENT"));
        xinWen.setEncontent(rs.getString("ENCONTENT") == null ? "" : rs.getString("ENCONTENT"));
//        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
//        Date createdDate = rs.getTimestamp("createddate");
//        sdf.format(createdDate);
        xinWen.setCreatedDate(rs.getTimestamp("CREATEDDATE"));
        xinWen.setCreatedBy(rs.getString("CREATEDBY") == null ? "" : rs.getString("CREATEDBY"));
        xinWen.setUpdatedDate(rs.getTimestamp("UPDATEDDATE"));
        xinWen.setUpdatedBy(rs.getString("UPDATEDBY") == null ? "" : rs.getString("UPDATEDBY"));
        xinWen.setLink(rs.getString("LINK") == null ? "" : rs.getString("LINK"));
        return xinWen;
    }