|
@@ -149,6 +149,7 @@ class Agreement
|
|
$where['aid'] = $account['id'];
|
|
$where['aid'] = $account['id'];
|
|
$where['agreement_id'] = $agreement['id'];
|
|
$where['agreement_id'] = $agreement['id'];
|
|
$where['jiaofu_total'] = $total;
|
|
$where['jiaofu_total'] = $total;
|
|
|
|
+ $where['jiaofu_date'] = $date;
|
|
|
|
|
|
$info = Dever::db('option/agreement')->find($where);
|
|
$info = Dever::db('option/agreement')->find($where);
|
|
|
|
|
|
@@ -169,8 +170,6 @@ class Agreement
|
|
$where['status'] = 1;
|
|
$where['status'] = 1;
|
|
$where['audit'] = 2;
|
|
$where['audit'] = 2;
|
|
|
|
|
|
- $where['jiaofu_date'] = $date;
|
|
|
|
-
|
|
|
|
$method = 'content_' . $agreement['type'];
|
|
$method = 'content_' . $agreement['type'];
|
|
|
|
|
|
if ($info) {
|
|
if ($info) {
|