Commit bb84d4e3 authored by clone's avatar clone

1

parent 0d62550c
......@@ -4086,7 +4086,7 @@ class Finance extends Basic
$m_daily = new ODaily();
$m_store = new AStore();
$field = 'a.id,a.agent_id,a.create_time,a.daily_date,a.store_id,a.status,a.agent_name';
$field = 'a.id,a.agent_id,a.create_time,a.daily_date,a.store_id,a.status,a.agent_name,a.back_‭img';
$list = $m_daily->getDailyLogList($pageNo, $pageSize, 'id desc', $field, $where);
foreach ($list as $k=>$v) {
$store_name = $m_store->getStoreKeyById('store_name', ['id'=>$v['store_id']]);
......
......@@ -84,7 +84,7 @@ class ODaily extends BaseModel
{
Db::startTrans();
try {
$this->db_->where($where)->update($params);
$this->where($where)->update($params);
Db::commit();
return 1;
} catch (\Exception $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment