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
6aeae1c8
Commit
6aeae1c8
authored
Apr 24, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into branch
parents
805f09dc
594df1f2
Show 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 @
6aeae1c8
...
...
@@ -73,7 +73,9 @@ public class MallProduct {
private
BigDecimal
bargainPrice
;
@ApiModelProperty
(
"是否开启特价 1-是 2否"
)
private
Integer
isBargainPrice
;
private
String
serialCategoryName
;
private
String
modelName
;
@TableField
(
exist
=
false
)
private
List
<
MallCategory
>
mallCategoryList
;
...
...
src/main/resources/mapper/product/BaseFeaturesMapper.xml
View file @
6aeae1c8
...
...
@@ -6,7 +6,7 @@
<select
id=
"queryServeFeatures"
resultType=
"com.gogirl.domain.product.serve.BaseFeatures"
>
select t1.* from base_features t1
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
<if
test=
"serveTypeId != null"
>
and bs.type_id=#{serveTypeId}
...
...
src/main/resources/mapper/product/BaseProduceMapper.xml
View file @
6aeae1c8
...
...
@@ -99,6 +99,7 @@
<if
test=
"colorSystemId !=null "
>
and t3.color_system_id =#{colorSystemId}
</if>
and t1.`status` =1
<choose>
<when
test=
"sort == 1 "
>
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