|
@@ -165,7 +165,7 @@ class AccountLogic extends BaseLogic
|
|
|
return $rs ? json_show(CommonModel::$success, '删除成功') : json_show(CommonModel::$error_param, '删除失败,该账户不存在或不允许删除');
|
|
|
}
|
|
|
|
|
|
- //列表
|
|
|
+ //添加账户列表
|
|
|
public static function batchLog(array $data = []): Json
|
|
|
{
|
|
|
$where = [];
|
|
@@ -184,7 +184,7 @@ class AccountLogic extends BaseLogic
|
|
|
->leftJoin('company b', 'b.id=a.company_id AND b.is_del=' . CommonModel::$del_normal)
|
|
|
->leftJoin('card c', 'c.id=a.card_id AND c.is_del=' . CommonModel::$del_normal)
|
|
|
->where($where)
|
|
|
- ->field('a.id,b.title company_title,c.title card_title,a.username_prefix,a.username_year,a.starttime,a.expiretime')
|
|
|
+ ->field('a.id,b.title company_title,c.title card_title,a.username_prefix,a.username_year,a.starttime,a.expiretime,a.addtime')
|
|
|
->order('a.id', 'desc')
|
|
|
->page($data['page'], $data['size'])
|
|
|
->select()
|