Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
Overview
Overview
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
huluobin
gogirl-miniapp-backend
Commits
594df1f2
Commit
594df1f2
authored
Apr 24, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
17581c57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
MallProduct.java
...main/java/com/gogirl/domain/product/mall/MallProduct.java
+2
-0
BaseFeaturesMapper.xml
src/main/resources/mapper/product/BaseFeaturesMapper.xml
+1
-1
BaseProduceMapper.xml
src/main/resources/mapper/product/BaseProduceMapper.xml
+1
-0
No files found.
src/main/java/com/gogirl/domain/product/mall/MallProduct.java
View file @
594df1f2
...
@@ -73,7 +73,9 @@ public class MallProduct {
...
@@ -73,7 +73,9 @@ public class MallProduct {
private
BigDecimal
bargainPrice
;
private
BigDecimal
bargainPrice
;
@ApiModelProperty
(
"是否开启特价 1-是 2否"
)
@ApiModelProperty
(
"是否开启特价 1-是 2否"
)
private
Integer
isBargainPrice
;
private
Integer
isBargainPrice
;
private
String
serialCategoryName
;
private
String
serialCategoryName
;
private
String
modelName
;
private
String
modelName
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
List
<
MallCategory
>
mallCategoryList
;
private
List
<
MallCategory
>
mallCategoryList
;
...
...
src/main/resources/mapper/product/BaseFeaturesMapper.xml
View file @
594df1f2
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<select
id=
"queryServeFeatures"
resultType=
"com.gogirl.domain.product.serve.BaseFeatures"
>
<select
id=
"queryServeFeatures"
resultType=
"com.gogirl.domain.product.serve.BaseFeatures"
>
select t1.* from base_features t1
select t1.* from base_features t1
INNER JOIN features_mapping t2 on t1.id = t2.features_id
INNER JOIN features_mapping t2 on t1.id = t2.features_id
left join base_serve bs on t2.data_id = bs.id
left join base_serve bs on t2.data_id = bs.id
and bs.`status` =1
where t2.data_type = 1
where t2.data_type = 1
<if
test=
"serveTypeId != null"
>
<if
test=
"serveTypeId != null"
>
and bs.type_id=#{serveTypeId}
and bs.type_id=#{serveTypeId}
...
...
src/main/resources/mapper/product/BaseProduceMapper.xml
View file @
594df1f2
...
@@ -99,6 +99,7 @@
...
@@ -99,6 +99,7 @@
<if
test=
"colorSystemId !=null "
>
<if
test=
"colorSystemId !=null "
>
and t3.color_system_id =#{colorSystemId}
and t3.color_system_id =#{colorSystemId}
</if>
</if>
and t1.`status` =1
<choose>
<choose>
<when
test=
"sort == 1 "
>
<when
test=
"sort == 1 "
>
order by t1.sales_num desc
order by t1.sales_num desc
...
...
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