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
097a0212
Commit
097a0212
authored
Aug 09, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pay_log agent_id
parent
d81982f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PayLogOpen.php
application/index/controller/PayLogOpen.php
+3
-3
No files found.
application/index/controller/PayLogOpen.php
View file @
097a0212
...
...
@@ -168,7 +168,7 @@ class PayLogOpen extends Basic
}
$where
[
'a.is_del'
]
=
0
;
$fields
=
'a.id,a.create_time,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.status,a.house_address,c.name
,c.store_id
'
;
$fields
=
'a.id,a.create_time,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.status,a.house_address,c.name'
;
$list
=
$this
->
m_pay_open
->
getListCheck
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$fields
,
$where
);
...
...
@@ -197,13 +197,13 @@ class PayLogOpen extends Basic
$list
[
$k
][
'agent_name'
]
=
$v
[
'name'
];
//跳转财务日报页面数据
$pay_data
=
$m_pay
->
selectPayLogByOrderNo
(
'agent_id,create_time,type'
,
[
'id'
=>
$v
[
'pay_log_id'
]]);
$agent_data
=
$redis
->
getRedisCache
(
2
,
$pay_data
[
0
][
'agent_id'
]);
$daily_where
[
'daily_date'
]
=
date
(
'Y-m-d'
,
strtotime
(
$pay_data
[
0
][
'create_time'
]));
$daily_where
[
'store_id'
]
=
$
v
[
'store_id'
];
$daily_where
[
'store_id'
]
=
$
agent_data
[
'store_id'
];
$daily_where
[
'is_del'
]
=
0
;
$num
=
$m_daily
->
getTotal
(
$daily_where
);
//是否提交财务日报
if
(
$num
)
{
$list
[
$k
][
'daily_date'
]
=
date
(
'Y-m-d'
,
strtotime
(
$pay_data
[
0
][
'create_time'
]));
$agent_data
=
$redis
->
getRedisCache
(
2
,
$pay_data
[
0
][
'agent_id'
]);
$list
[
$k
][
'store_id'
]
=
$agent_data
[
'store_id'
];
$list
[
$k
][
'store_name'
]
=
$agent_data
[
'store_name'
];
unset
(
$agent_data
);
...
...
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