提交 2fafce1a 作者: 张小凤

web

上级 1f92d1d2
......@@ -71,6 +71,7 @@ public class GoodsInfoDO implements Serializable {
.imgUrl(this.mainImg)
.directoryId(this.sortTypeId)
.directoryName(this.directoryName)
.goodsDesc(this.goodsDesc)
.goodsOneLevelTypeName(this.goodsMasterType.getTypeName())
.goodsTwoLevelTypeName(this.goodsSlaveType.getTypeName())
.isCoupons(this.isCoupons)
......
......@@ -47,4 +47,7 @@ public class GoodsInfoListDTO implements Serializable {
@ApiModelProperty(value = "是否有优惠券 0表示没有 有就返回数字")
private Integer isCoupons;
@ApiModelProperty(value = "描述")
private String goodsDesc;
}
......@@ -6,6 +6,7 @@
<resultMap id="resultMapGoodsInfo" type="com.mmc.pms.entity.GoodsInfoDO">
<id property="id" column="id"/>
<result property="goodsName" column="goods_name"/>
<result property="goodsDesc" column="goods_desc"/>
<result property="createTime" column="create_time"/>
<result property="shelfStatus" column="shelf_status"/>
<result property="masterTypeId" column="master_type_id"/>
......@@ -78,6 +79,7 @@
gi.parts_id,
gi.mode_id,
gi.quality_id,
gd.goods_desc,
img.img_url,
gt.type_name AS master_type_name,
gty.type_name AS slave_type_name,
......@@ -90,6 +92,7 @@
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 sort_type st ON st.id = gi.sort_type_id
LEFT JOIN goods_detail gd ON gd.goods_info_id = gi.id
<where>
gi.is_deleted = 0
<if test="districtId != null">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论