Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
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
曲欣亮
shop
Commits
8a9c8d01
Commit
8a9c8d01
authored
Oct 14, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
edfbbd0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
BrandServiceImpl.java
...in/java/com/egolm/shop/service/impl/BrandServiceImpl.java
+1
-1
CategoryServiceImpl.java
...java/com/egolm/shop/service/impl/CategoryServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/shop/service/impl/BrandServiceImpl.java
View file @
8a9c8d01
...
@@ -93,7 +93,7 @@ public class BrandServiceImpl implements BrandService {
...
@@ -93,7 +93,7 @@ public class BrandServiceImpl implements BrandService {
+
"b.sLogoUrl, "
+
"b.sLogoUrl, "
+
"b.nSort "
+
"b.nSort "
+
"ORDER BY "
+
"ORDER BY "
+
"b.nSort, "
+
"b.nSort
desc
, "
+
"b.sPinyinCode "
;
+
"b.sPinyinCode "
;
return
jdbcTemplate
.
queryForList
(
sql
,
orgNo
);
return
jdbcTemplate
.
queryForList
(
sql
,
orgNo
);
}
}
...
...
src/main/java/com/egolm/shop/service/impl/CategoryServiceImpl.java
View file @
8a9c8d01
...
@@ -69,7 +69,7 @@ public class CategoryServiceImpl implements CategoryService {
...
@@ -69,7 +69,7 @@ public class CategoryServiceImpl implements CategoryService {
if
(
level
==
null
)
{
if
(
level
==
null
)
{
level
=
jdbcTemplate
.
queryForInt
(
"select GoodsCategoryLevel = isnull((select Convert(int,sValue1) from tSystemCtrl where sCode = 'GoodsCategoryLevel'),0)"
);
level
=
jdbcTemplate
.
queryForInt
(
"select GoodsCategoryLevel = isnull((select Convert(int,sValue1) from tSystemCtrl where sCode = 'GoodsCategoryLevel'),0)"
);
}
}
String
three
=
"select sCategoryNO, sCategoryDesc, sUpCategoryNO from tOrgCategory where sOrgNO = ? and nCategoryLevel = ? order by nSort"
;
String
three
=
"select sCategoryNO, sCategoryDesc, sUpCategoryNO from tOrgCategory where sOrgNO = ? and nCategoryLevel = ? order by nSort
desc
"
;
List
<
Map
<
String
,
Object
>>
list3
=
jdbcTemplate
.
queryForList
(
three
,
orgNO
,
level
);
List
<
Map
<
String
,
Object
>>
list3
=
jdbcTemplate
.
queryForList
(
three
,
orgNO
,
level
);
return
list3
;
return
list3
;
}
}
...
...
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