Added a function lotw_last_qsl_date() to return the last LoTW QSL received date recorded in the DB. We use that information to only pull back a LoTW report from ARRL that has QSLs since the last QSL (inclusive, unfortunately).

这个提交包含在:
Corby Krick 2013-02-23 13:17:38 -06:00
父节点 8b86756498
当前提交 a7857d316b
共有 8 个文件被更改,包括 12 次插入220465 次删除

查看文件

@ -585,6 +585,18 @@ class Logbook_model extends CI_Model {
return "Updated"; return "Updated";
} }
function lotw_last_qsl_date() {
$this->db->select('COL_LOTW_QSLRDATE');
$this->db->where('COL_LOTW_QSLRDATE IS NOT NULL');
$this->db->order_by("COL_LOTW_QSLRDATE", "desc");
$this->db->limit(1);
$query = $this->db->get($this->config->item('table_name'));
$row = $query->row();
return $row->COL_LOTW_QSLRDATE;
}
function import($record) { function import($record) {
// Join date+time // Join date+time

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异

文件差异内容过多而无法显示 加载差异