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
e33cda4c
Commit
e33cda4c
authored
Jul 03, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daily_date
parent
04a8a82d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
PayLogOpen.php
application/index/controller/PayLogOpen.php
+11
-0
OPayLogModel.php
application/model/OPayLogModel.php
+4
-0
route.php
application/route.php
+1
-1
No files found.
application/index/controller/PayLogOpen.php
View file @
e33cda4c
...
...
@@ -171,6 +171,7 @@ class PayLogOpen extends Basic
$list
=
$this
->
m_pay_open
->
getListCheck
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$fields
,
$where
);
if
(
$this
->
params
[
'excel'
]
==
0
)
{
$m_pay
=
new
OPayLogModel
();
foreach
(
$list
as
$k
=>
$v
)
{
$log_where
[
'open_id'
]
=
$v
[
'id'
];
$log_where
[
'is_del'
]
=
0
;
...
...
@@ -185,6 +186,16 @@ class PayLogOpen extends Basic
$list
[
$k
][
'check_time'
]
=
''
;
}
$list
[
$k
][
'agent_name'
]
=
$v
[
'name'
];
//跳转财务日报页面数据
$pay_data
=
$m_pay
->
getPayLogByUserId
(
'b.report_store_id,a.create_time'
,
[
'id'
=>
$v
[
'pay_log_id'
]]);
if
(
$pay_data
)
{
$list
[
$k
][
'daily_date'
]
=
date
(
'Y-m-d'
,
strtotime
(
$pay_data
[
'create_time'
]));
$list
[
$k
][
'store_id'
]
=
$pay_data
[
'report_store_id'
];
}
else
{
$list
[
$k
][
'daily_date'
]
=
''
;
$list
[
$k
][
'store_id'
]
=
''
;
}
}
$data
[
'list'
]
=
$list
;
$data
[
'total'
]
=
$this
->
m_pay_open
->
getListCheckTotal
(
$where
);
...
...
application/model/OPayLogModel.php
View file @
e33cda4c
...
...
@@ -618,6 +618,10 @@ class OPayLogModel extends Model
if
(
isset
(
$params
[
"type"
]))
{
$where_
[
"a.type"
]
=
$params
[
"type"
];
}
if
(
isset
(
$params
[
'id'
]))
{
$where_
[
'a.id'
]
=
$params
[
'id'
];
}
$where_
[
"a.is_del"
]
=
0
;
return
$this
->
db_
->
field
(
$field
)
...
...
application/route.php
View file @
e33cda4c
...
...
@@ -168,7 +168,7 @@ Route::group('index', [
'saveAgentIndex'
=>
[
'index/broker/saveAgentIndex'
,
[
'method'
=>
'get'
]],
//编辑列表列表界面
'AgentList'
=>
[
'index/broker/AgentList'
,
[
'method'
=>
'get'
]],
//首页列表【接口】
'saveAgent'
=>
[
'index/broker/saveAgentV2'
,
[
'method'
=>
'get|post'
]],
//修改经纪人【接口】
'updatePhone'
=>
[
'index/broker/updatePhone'
,
[
'method'
=>
'post
|get
'
]],
//修改手机号
'updatePhone'
=>
[
'index/broker/updatePhone'
,
[
'method'
=>
'post'
]],
//修改手机号
'updateStatus'
=>
[
'index/broker/updateStatusV2'
,
[
'method'
=>
'post'
]],
//状态修改【接口】
'updatePosition'
=>
[
'index/broker/updatePosition'
,
[
'method'
=>
'post'
]],
//职称【接口】
'updateRole'
=>
[
'index/broker/updateRole'
,
[
'method'
=>
'post'
]],
//经纪人角色修改【接口】
...
...
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