Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
23d4650b
authored
Feb 12, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
导出去掉订单类型
parent
e429e1b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
app/Model/OrderModel.php
app/Model/OrderModel.php
View file @
23d4650b
...
@@ -162,11 +162,11 @@ class OrderModel extends Model
...
@@ -162,11 +162,11 @@ class OrderModel extends Model
$query
->
where
(
'o.order_source'
,
'like'
,
'%ptag='
.
$map
[
'order_source_ptag'
]
.
'%'
);
$query
->
where
(
'o.order_source'
,
'like'
,
'%ptag='
.
$map
[
'order_source_ptag'
]
.
'%'
);
}
}
})
})
->
where
(
function
(
$query
)
use
(
$map
)
{
//
->where(function ($query) use ($map) {
if
(
$map
[
'order_type_filter'
])
{
// 自营获取线上、京东、象牙宝订单
//
if ($map['order_type_filter']) { // 自营获取线上、京东、象牙宝订单
$query
->
whereIn
(
'o.order_type'
,
$map
[
'order_type_filter'
]);
//
$query->whereIn('o.order_type', $map['order_type_filter']);
}
//
}
})
//
})
->
where
(
function
(
$query
)
use
(
$map
)
{
->
where
(
function
(
$query
)
use
(
$map
)
{
// 同步状态
// 同步状态
if
(
!
empty
(
$map
[
'erp_order_id'
]))
{
if
(
!
empty
(
$map
[
'erp_order_id'
]))
{
...
...
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