|
|
@@ -28,18 +28,18 @@
|
|
|
<collection property="contentList" ofType="com.sqx.modules.lovers.vo.LoversSetContentVO">
|
|
|
<result column="contentId" property="contentId"/>
|
|
|
<result column="sort" property="sort"/>
|
|
|
- <result column="content_name" property="contentName"/>
|
|
|
+ <result column="contentName" property="contentName"/>
|
|
|
|
|
|
<!-- 详情列表映射 -->
|
|
|
<collection property="contentDetailList" ofType="com.sqx.modules.lovers.vo.LoversSetContentDetailVO">
|
|
|
- <result column="content_detail_id" property="contentDetailId"/>
|
|
|
+ <result column="contentDetailId" property="contentDetailId"/>
|
|
|
<result column="goods_id" property="goodsId"/>
|
|
|
<result column="goods_name" property="goodsName"/>
|
|
|
<result column="shop_id" property="shopId"/>
|
|
|
<result column="shop_name" property="shopName"/>
|
|
|
<result column="num" property="num"/>
|
|
|
- <result column="detail_price" property="price"/>
|
|
|
- <result column="detail_original_price" property="originalPrice"/>
|
|
|
+ <result column="detailPrice" property="detailPrice"/>
|
|
|
+ <result column="detailOriginalPrice" property="detailOriginalPrice"/>
|
|
|
</collection>
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
@@ -74,8 +74,8 @@
|
|
|
scd.shop_id,
|
|
|
scd.shop_name,
|
|
|
scd.num,
|
|
|
- scd.price,
|
|
|
- scd.original_price
|
|
|
+ scd.price as detailPrice,
|
|
|
+ scd.original_price as detailOriginalPrice
|
|
|
FROM
|
|
|
lovers_set s
|
|
|
left join lovers_set_rule r on r.id = s.rule_id
|