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
f52e8332
Commit
f52e8332
authored
Aug 08, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩明细
parent
ba81d115
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
.DS_Store
.DS_Store
+0
-0
OBargainModel.php
application/model/OBargainModel.php
+22
-0
route.php
application/route.php
+2
-0
No files found.
.DS_Store
View file @
f52e8332
No preview for this file type
application/model/OBargainModel.php
View file @
f52e8332
...
@@ -1228,4 +1228,25 @@ class OBargainModel extends Model
...
@@ -1228,4 +1228,25 @@ class OBargainModel extends Model
return
$result
;
return
$result
;
}
}
public
function
performancelInfo
(
$where
,
$filed
,
$pageSize
,
$pageNo
){
$result
=
$this
->
db_
->
field
(
$filed
)
->
alias
(
"Obargain"
)
->
join
(
"o_report Oreport"
,
"Obargain.report_id = Oreport.id"
,
"left"
)
->
join
(
"o_order Oorder"
,
"Obargain.order_id = Oorder.id"
,
"left"
)
->
join
(
"g_houses Houses"
,
"Oorder.house_id = Houses.id"
,
"left"
)
->
join
(
"a_agents Agent"
,
"Obargain.agent_id = Agent.id"
,
"left"
)
->
join
(
'a_store Store'
,
'Agent.store_id = Store.id'
,
'left'
)
->
join
(
'a_district District'
,
'Agent.district_id = District.id'
,
'left'
)
->
where
(
$where
)
->
order
(
"Obargain.create_time desc"
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
select
();
// echo $this->db_->getLastSql();
return
$result
;
}
}
}
\ No newline at end of file
application/route.php
View file @
f52e8332
...
@@ -239,6 +239,8 @@ Route::group('index', [
...
@@ -239,6 +239,8 @@ Route::group('index', [
'addReceiptImg'
=>
[
'index/Collection/addReceiptImg'
,
[
'method'
=>
'post|get'
]
],
//收款图片信息保存
'addReceiptImg'
=>
[
'index/Collection/addReceiptImg'
,
[
'method'
=>
'post|get'
]
],
//收款图片信息保存
'deleteReceiptImg'
=>
[
'index/Collection/deleteReceiptImg'
,
[
'method'
=>
'post|get'
]
],
//删除收款图片
'deleteReceiptImg'
=>
[
'index/Collection/deleteReceiptImg'
,
[
'method'
=>
'post|get'
]
],
//删除收款图片
'receiptImgList'
=>
[
'index/Collection/receiptImgList'
,
[
'method'
=>
'post|get'
]
],
//收款列表-收款图片列表
'receiptImgList'
=>
[
'index/Collection/receiptImgList'
,
[
'method'
=>
'post|get'
]
],
//收款列表-收款图片列表
'performanceInfo'
=>
[
'index/PerformanceInfo/performanceInfo'
,
[
'method'
=>
'get'
]
],
//业绩明细
'getTaxesById'
=>
[
'index/Finance/getTaxesById'
,
[
'method'
=>
'POST|GET'
]
],
//财务结单
'getTaxesById'
=>
[
'index/Finance/getTaxesById'
,
[
'method'
=>
'POST|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