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).
这个提交包含在:
父节点
8b86756498
当前提交
a7857d316b
共有 8 个文件被更改,包括 12 次插入 和 220465 次删除
|
|
@ -585,6 +585,18 @@ class Logbook_model extends CI_Model {
|
|||
|
||||
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) {
|
||||
// Join date+time
|
||||
|
|
|
|||
31495
uploads/lotwreport.adi
31495
uploads/lotwreport.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport1.adi
31495
uploads/lotwreport1.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport2.adi
31495
uploads/lotwreport2.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport3.adi
31495
uploads/lotwreport3.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport4.adi
31495
uploads/lotwreport4.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport5.adi
31495
uploads/lotwreport5.adi
文件差异内容过多而无法显示
加载差异
31495
uploads/lotwreport6.adi
31495
uploads/lotwreport6.adi
文件差异内容过多而无法显示
加载差异
正在加载…
在新工单中引用