Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
php_frq_api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0dc10b10
authored
Apr 02, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加备注
parent
1283ab75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
app/Model/InquiryModel.php
app/Model/InquiryModel.php
View file @
0dc10b10
...
...
@@ -281,7 +281,13 @@ class InquiryModel extends Model
}
}
if
(
$type
==
1
)
{
// 询价池需过滤已关闭、已确认、指定和领取的询价
/**
* 询价池展示条件:
* 1. 询价单启用状态;
* 2. 询价明细需过滤已关闭、已确认和被指定的类型
* 3. 询价明细分配表需过滤当前用户或不存在的(未指定或领取的)
*/
if
(
$type
==
1
)
{
$query
->
where
(
'a.status'
,
1
)
->
whereNotIn
(
'b.status'
,
[
-
1
,
5
])
->
where
(
'b.assign_type'
,
2
)
...
...
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