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
f53eab4c
Commit
f53eab4c
authored
Sep 02, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c9e6fac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
BargainService.php
application/api_broker/service/BargainService.php
+13
-8
OBargainModel.php
application/model/OBargainModel.php
+0
-0
No files found.
application/api_broker/service/BargainService.php
View file @
f53eab4c
...
...
@@ -14,15 +14,18 @@ use think\Log;
*/
class
BargainService
{
/**
* 获取成交报告列表
/**获取成交报告列表
* @param $pageNo
* @param $pageSize
* @param $submit_agent_id
* @param $status
* @param $is_my_correlation
* @param $keyword
* @return array|false|\PDOStatement|string|\think\Collection
* @param $bargain_id
* @return mixed
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
getBargainList
(
$pageNo
,
$pageSize
,
$submit_agent_id
,
$status
,
$is_my_correlation
,
$keyword
,
$bargain_id
)
{
...
...
@@ -32,7 +35,8 @@ class BargainService
$aService
=
new
VerifyService
();
$ids
=
$aService
->
getAgentsByAgentId
(
$submit_agent_id
);
$condition
[
"ids"
]
=
$ids
;
$condition
[
"ids"
]
=
$ids
;
$condition
[
"submit_agent_id"
]
=
$submit_agent_id
;
}
else
{
$condition
[
"father_id"
]
=
0
;
}
...
...
@@ -51,7 +55,7 @@ class BargainService
$condition
[
"status"
]
=
21
;
break
;
case
5
://
调账
->
搜成交报告
不包括
待撤销和已撤销
$condition
[
"status"
]
=
array
(
'not in'
,
'20,21'
);
$condition
[
"status"
]
=
array
(
'not in'
,
'20,21'
);
break
;
default
:
}
...
...
@@ -74,7 +78,7 @@ class BargainService
return
$convertResult
;
}
public
function
getBargainListV2
(
$pageNo
,
$pageSize
,
$submit_agent_id
,
$status
,
$is_my_correlation
,
$keyword
,
$bargain_id
,
$type
)
public
function
getBargainListV2
(
$pageNo
,
$pageSize
,
$submit_agent_id
,
$status
,
$is_my_correlation
,
$keyword
,
$bargain_id
,
$type
)
{
$condition
=
[];
...
...
@@ -82,7 +86,8 @@ class BargainService
$aService
=
new
VerifyService
();
$ids
=
$aService
->
getAgentsByAgentId
(
$submit_agent_id
);
$condition
[
"ids"
]
=
$ids
;
$condition
[
"ids"
]
=
$ids
;
$condition
[
"submit_agent_id"
]
=
$submit_agent_id
;
}
else
{
$condition
[
"father_id"
]
=
0
;
}
...
...
@@ -101,7 +106,7 @@ class BargainService
$condition
[
"status"
]
=
21
;
break
;
case
5
://
调账
->
搜成交报告
不包括
待撤销和已撤销
$condition
[
"status"
]
=
array
(
'not in'
,
'20,21'
);
$condition
[
"status"
]
=
array
(
'not in'
,
'20,21'
);
break
;
default
:
}
...
...
application/model/OBargainModel.php
View file @
f53eab4c
This diff is collapsed.
Click to expand it.
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