//pObjects.add(MailStatus.COMPLETE.toString());
//pObjects.add(MailStatus.FAILURE.toString());
pObjects.add(MailStatus.NOSEND.toString());
SqlCommand sqlCommand = new SqlCommand(Context.getDbConnection());
Pagination pagination = Context.getProcessEngineConfiguration().getDbConfig().getPagination();
String sqlText=pagination.getPaginationSql("SELECT * FROM FIXFLOW_MAIL WHERE MAIL_STATUS=?", 1, 10, "*", null);
List<Map<String, Object>> dataList = sqlCommand.queryForList(sqlText, pObjects);
for (Map<String, Object> mapData : dataList) {