Commit 9a95a88d authored by hujun's avatar hujun

锁定记录

parent 3c2b0397
......@@ -81,14 +81,14 @@ class Report extends Basic
$field = 'b.id as order_id,a.user_name,a.user_phone,a.create_time,a.report_agent_name,c.internal_title,a.predict_see_time';
$field .= ',a.id,b.order_no';
// try {
try {
$list = $m_report->getReportList($pageNo, $pageSize, 'a.id desc', $field, $where);
$data['data']['total'] = $m_report->getAddReportListTotal($where);
$data['data']['list'] = $list;
// } catch (\Exception $e) {
// $data['code'] = 101;
// $data['code'] = '内部错误:' . $e->getMessage();
// }
} catch (\Exception $e) {
$data['code'] = 101;
$data['code'] = '内部错误:' . $e->getMessage();
}
return $this->response($data['code'], $data['msg'], $data['data']);
}
......
......@@ -441,7 +441,7 @@ class BrokerService
*/
private function rootDOLog($id, $status)
{
$agent_status =[0=>'正常',1=>'长假',2=>'离职',3=>'转勤'];
$agent_status =[0=>'正常',1=>'长假',2=>'离职',3=>'转勤',4=>'锁定'];
$records = new GOperatingRecords();
$remark = '修改为 '.$agent_status[$status];
$result = $records->record(0, 7, $remark, '',$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