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
a3c0c928
Commit
a3c0c928
authored
Mar 18, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
excel
parent
b5aa7b10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
Finance.php
application/index/controller/Finance.php
+0
-0
OPayLogModel.php
application/model/OPayLogModel.php
+18
-0
route.php
application/route.php
+1
-0
No files found.
application/index/controller/Finance.php
View file @
a3c0c928
This diff is collapsed.
Click to expand it.
application/model/OPayLogModel.php
View file @
a3c0c928
...
...
@@ -348,6 +348,24 @@ class OPayLogModel extends Model
->
select
();
}
public
function
getAddPayLogOrderListLimitExcel
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
'id desc'
,
$field
=
''
,
$params
=
''
)
{
$params
[
"a.is_del"
]
=
0
;
return
$this
->
db_
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
"o_report c"
,
"a.report_id = c.id"
,
"left"
)
->
join
(
'g_houses d'
,
'b.house_id = d.id'
,
'left'
)
->
join
(
'a_agents e'
,
'a.agent_id=e.id'
,
'left'
)
->
join
(
'a_store f'
,
'e.store_id=f.id'
,
'left'
)
->
join
(
'a_district g'
,
'e.district_id=g.id'
,
'left'
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
order
(
$order_
)
->
where
(
$params
)
->
select
();
}
/**
* 收款记录总数
*
...
...
application/route.php
View file @
a3c0c928
...
...
@@ -260,6 +260,7 @@ Route::group('index', [
'getTallAgeList'
=>
[
'index/Finance/getTallAgeList'
,
[
'method'
=>
'GET'
]],
//税费承担明细表
'getCommissionTotalList'
=>
[
'index/Finance/getCommissionTotalList'
,
[
'method'
=>
'GET'
]],
//分佣提成汇总表
'getCollection'
=>
[
'index/Finance/getCollection'
,
[
'method'
=>
'post|get'
]],
//收款记录
'getCollectionExcel'
=>
[
'index/Finance/getCollectionExcel'
,
[
'method'
=>
'post|get'
]],
//收款记录
'addRealMoney'
=>
[
'index/Finance/addRealMoney'
,
[
'method'
=>
'post|get'
]],
//新增实收
'visitShop'
=>
[
'index/Supervise/visitShop'
,
[
'method'
=>
'get'
]],
//门店拜访
'carryOut'
=>
[
'index/Supervise/carryOut'
,
[
'method'
=>
'get'
]],
//监督执行
...
...
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