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
c0179ad8
Commit
c0179ad8
authored
Sep 25, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分佣提成明细表修改
parent
f13f82fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
OPartialCommission.php
application/model/OPartialCommission.php
+4
-3
No files found.
application/model/OPartialCommission.php
View file @
c0179ad8
...
...
@@ -36,7 +36,7 @@ class OPartialCommission extends BaseModel
->
join
(
'o_order c'
,
'b.order_id = c.id'
,
'left'
)
->
join
(
'g_houses d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'a_agents e'
,
'b.agent_id = e.id'
,
'left'
)
->
join
(
'o_real_income f'
,
'
b.id = f.bargain_
id'
,
'left'
)
->
join
(
'o_real_income f'
,
'
a.real_income_id = f.
id'
,
'left'
)
->
where
(
$where
)
->
order
(
$order_
)
->
limit
(
$pageSize
)
...
...
@@ -144,7 +144,7 @@ class OPartialCommission extends BaseModel
->
join
(
'o_order c'
,
'b.order_id = c.id'
,
'left'
)
->
join
(
'g_houses d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'a_agents e'
,
'b.agent_id = e.id'
,
'left'
)
->
join
(
'o_real_income f'
,
'
f.bargain
_id = f.id'
,
'left'
)
->
join
(
'o_real_income f'
,
'
a.real_income
_id = f.id'
,
'left'
)
->
where
(
$where
)
->
count
();
}
...
...
@@ -153,7 +153,8 @@ class OPartialCommission extends BaseModel
* 增加和编辑实收佣金
*
* @param $data
* @return int|string
* @return array|false
* @throws \Exception
*/
public
function
addCommission
(
$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