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
f229cd48
Commit
f229cd48
authored
Jul 25, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8e9bad04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
FApplyForFee.php
application/model/FApplyForFee.php
+9
-2
No files found.
application/model/FApplyForFee.php
View file @
f229cd48
...
@@ -88,15 +88,22 @@ class FApplyForFee extends BaseModel
...
@@ -88,15 +88,22 @@ class FApplyForFee extends BaseModel
* @throws \think\exception\DbException
* @throws \think\exception\DbException
*/
*/
public
function
getApplyForFeeList
(
$field
,
$params
){
public
function
getApplyForFeeList
(
$field
,
$params
){
$result
=
$this
->
db_
$result
1
=
$this
->
db_
->
field
(
$field
)
->
field
(
$field
)
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
"f_office c"
,
"a.office_id = c.id"
,
"left"
)
->
join
(
"f_office c"
,
"a.office_id = c.id"
,
"left"
)
->
join
(
"a_store b"
,
"b.office_id = c.id"
,
"left"
)
->
join
(
"a_store b"
,
"b.office_id = c.id"
,
"left"
)
->
where
(
$params
)
->
where
(
$params
)
->
select
();
->
select
();
$result2
=
$this
->
db_
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
"f_apply_for_fee b"
,
"a.store_id = b.id"
,
"left"
)
->
select
();
array_merge
(
$result1
,
$result2
);
//echo $this->db_->getLastSql();
//echo $this->db_->getLastSql();
return
$result
;
return
$result
1
;
}
}
/**
/**
...
...
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