Commit 58438bad authored by zhuwei's avatar zhuwei

1

parent 7635b85d
......@@ -268,7 +268,7 @@ class AmercementService
$conditions =[];
$conditions["id"] = $id;
$field = "id,status,type,money,submit_agent_id,agent_id,remarks,create_time";
$field = "id,status,type,money,submit_agent_id,agent_id,remarks,create_time,operation_id,operation_time";
$result = $this->m_amercement->getAmercementInfo($conditions, $field);
if(!$result){
......@@ -291,6 +291,11 @@ class AmercementService
$result['forfeit_penalty'] = $forfeit_penalty;
$result['money_sum'] = $forfeit_penalty + $result['money'];
$result['pay_time'] = '';
$result['operation_name'] = '';
if($result['operation_id']){
$agent_data = $redis_cache->getRedisCache(2, $result['operation_id']);
$result['operation_name'] = $agent_data['name'];
}
}
$result['img'] = $this->getAmercementImage($result['id']);
......
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