Commit 7f82cbf8 authored by hujun's avatar hujun

业绩统计

parent 71ccfa82
......@@ -48,7 +48,10 @@ class TAgentTotalModel extends Model
{
Db::startTrans();
try {
$this->saveAll($params);
foreach ($params as $k=>$v) {
$this->db_->table($this->table)->update($v);
}
// $this->saveAll($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