Commit 0dc10b10 by 朱继来

添加备注

parent 1283ab75
Showing with 7 additions and 1 deletions
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment