Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xxmp
Project
Project
Details
Activity
Releases
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
chan
xxmp
Commits
6d27c3ea
Commit
6d27c3ea
authored
Apr 30, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改简称
parent
3fb55eb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
goodsedit.inc.php
addons/longbing_company/inc/web/manage/goodsedit.inc.php
+1
-1
No files found.
addons/longbing_company/inc/web/manage/goodsedit.inc.php
View file @
6d27c3ea
...
...
@@ -23,7 +23,7 @@ if (function_exists('longbing_check_redis')) {
}
}
function
getCompanys
(
$good_id
){
$sql
=
"SELECT c.id,c.name FROM"
.
tablename
(
'longbing_company_company'
)
.
" c LEFT JOIN "
.
tablename
(
'longbing_company_goods_company'
)
.
" g
$sql
=
"SELECT c.id,c.
short_name
name FROM"
.
tablename
(
'longbing_company_company'
)
.
" c LEFT JOIN "
.
tablename
(
'longbing_company_goods_company'
)
.
" g
ON c.id=g.company_id WHERE g.good_id=
$good_id
and g.isdel=0 and c.status=1"
;
$list
=
pdo_fetchall
(
$sql
);
return
$list
;
...
...
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