import com.blogger.tcuri.appserver.resolution.Resolution;
public class CrudLogic {
public static Resolution read() throws SQLException {
SqlBuilder sql = new SqlBuilder(
"select id,content,formatdatetime(updatetime, 'yyyy-MM-dd HH:mm:ss') as updatetime from messages order by id desc");
List<Map<String, Object>> messageList = DbUtils.selectList(sql,
MapHandler.INSTANCE);