Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
pms-ci-test
Commits
2fafce1a
提交
2fafce1a
authored
5月 20, 2023
作者:
张小凤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
web
上级
1f92d1d2
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
0 行删除
+7
-0
GoodsInfoDO.java
src/main/java/com/mmc/pms/entity/GoodsInfoDO.java
+1
-0
GoodsInfoListDTO.java
src/main/java/com/mmc/pms/model/dto/GoodsInfoListDTO.java
+3
-0
WebProductMallDao.xml
src/main/resources/mapper/WebProductMallDao.xml
+3
-0
没有找到文件。
src/main/java/com/mmc/pms/entity/GoodsInfoDO.java
浏览文件 @
2fafce1a
...
@@ -71,6 +71,7 @@ public class GoodsInfoDO implements Serializable {
...
@@ -71,6 +71,7 @@ public class GoodsInfoDO implements Serializable {
.
imgUrl
(
this
.
mainImg
)
.
imgUrl
(
this
.
mainImg
)
.
directoryId
(
this
.
sortTypeId
)
.
directoryId
(
this
.
sortTypeId
)
.
directoryName
(
this
.
directoryName
)
.
directoryName
(
this
.
directoryName
)
.
goodsDesc
(
this
.
goodsDesc
)
.
goodsOneLevelTypeName
(
this
.
goodsMasterType
.
getTypeName
())
.
goodsOneLevelTypeName
(
this
.
goodsMasterType
.
getTypeName
())
.
goodsTwoLevelTypeName
(
this
.
goodsSlaveType
.
getTypeName
())
.
goodsTwoLevelTypeName
(
this
.
goodsSlaveType
.
getTypeName
())
.
isCoupons
(
this
.
isCoupons
)
.
isCoupons
(
this
.
isCoupons
)
...
...
src/main/java/com/mmc/pms/model/dto/GoodsInfoListDTO.java
浏览文件 @
2fafce1a
...
@@ -47,4 +47,7 @@ public class GoodsInfoListDTO implements Serializable {
...
@@ -47,4 +47,7 @@ public class GoodsInfoListDTO implements Serializable {
@ApiModelProperty
(
value
=
"是否有优惠券 0表示没有 有就返回数字"
)
@ApiModelProperty
(
value
=
"是否有优惠券 0表示没有 有就返回数字"
)
private
Integer
isCoupons
;
private
Integer
isCoupons
;
@ApiModelProperty
(
value
=
"描述"
)
private
String
goodsDesc
;
}
}
src/main/resources/mapper/WebProductMallDao.xml
浏览文件 @
2fafce1a
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<resultMap
id=
"resultMapGoodsInfo"
type=
"com.mmc.pms.entity.GoodsInfoDO"
>
<resultMap
id=
"resultMapGoodsInfo"
type=
"com.mmc.pms.entity.GoodsInfoDO"
>
<id
property=
"id"
column=
"id"
/>
<id
property=
"id"
column=
"id"
/>
<result
property=
"goodsName"
column=
"goods_name"
/>
<result
property=
"goodsName"
column=
"goods_name"
/>
<result
property=
"goodsDesc"
column=
"goods_desc"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"shelfStatus"
column=
"shelf_status"
/>
<result
property=
"shelfStatus"
column=
"shelf_status"
/>
<result
property=
"masterTypeId"
column=
"master_type_id"
/>
<result
property=
"masterTypeId"
column=
"master_type_id"
/>
...
@@ -78,6 +79,7 @@
...
@@ -78,6 +79,7 @@
gi.parts_id,
gi.parts_id,
gi.mode_id,
gi.mode_id,
gi.quality_id,
gi.quality_id,
gd.goods_desc,
img.img_url,
img.img_url,
gt.type_name AS master_type_name,
gt.type_name AS master_type_name,
gty.type_name AS slave_type_name,
gty.type_name AS slave_type_name,
...
@@ -90,6 +92,7 @@
...
@@ -90,6 +92,7 @@
LEFT JOIN goods_type gt ON gt.id = gi.master_type_id
LEFT JOIN goods_type gt ON gt.id = gi.master_type_id
LEFT JOIN goods_type gty ON gty.id = gi.slave_type_id
LEFT JOIN goods_type gty ON gty.id = gi.slave_type_id
LEFT JOIN sort_type st ON st.id = gi.sort_type_id
LEFT JOIN sort_type st ON st.id = gi.sort_type_id
LEFT JOIN goods_detail gd ON gd.goods_info_id = gi.id
<where>
<where>
gi.is_deleted = 0
gi.is_deleted = 0
<if
test=
"districtId != null"
>
<if
test=
"districtId != null"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论