Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
9a95a88d
Commit
9a95a88d
authored
Feb 28, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
锁定记录
parent
3c2b0397
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Report.php
application/index/controller/Report.php
+5
-5
BrokerService.php
application/index/service/BrokerService.php
+1
-1
No files found.
application/index/controller/Report.php
View file @
9a95a88d
...
...
@@ -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'
]);
}
...
...
application/index/service/BrokerService.php
View file @
9a95a88d
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment