Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
bom_server
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
3e477f1e
authored
Jun 18, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复空goods_name
parent
1a1d7b62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
internal/logic/match.go
internal/logic/match.go
View file @
3e477f1e
...
@@ -227,9 +227,9 @@ func search(index string, bomId int, bomItems []model.BomItem, deliveryType, sor
...
@@ -227,9 +227,9 @@ func search(index string, bomId int, bomItems []model.BomItem, deliveryType, sor
//如果是模糊查询,还要去截取字符串
//如果是模糊查询,还要去截取字符串
if
!
rawSearch
{
if
!
rawSearch
{
bom
.
GoodsName
=
common
.
SubKeyWordStr
(
bom
.
GoodsName
)
bom
.
GoodsName
=
common
.
SubKeyWordStr
(
bom
.
GoodsName
)
if
bom
.
GoodsName
==
""
{
}
continue
if
bom
.
GoodsName
==
""
{
}
continue
}
}
//经过了最前面的参数匹配
//经过了最前面的参数匹配
//如果型号还是为空,则用参数去匹配,因为有可能参数里面填了型号
//如果型号还是为空,则用参数去匹配,因为有可能参数里面填了型号
...
...
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