|
@@ -3,7 +3,7 @@
|
|
|
<mapper namespace="com.tourism.webadmin.back.dao.TourProjectGroupPurchaseDetailMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.tourism.webadmin.back.model.TourProjectGroupPurchaseDetail">
|
|
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
|
|
- <result column="group_purchase_id" jdbcType="BIGINT" property="groupPurchaseId"/>
|
|
|
+ <result column="group_purchase_code" jdbcType="BIGINT" property="groupPurchaseCode"/>
|
|
|
<result column="create_user_id" jdbcType="BIGINT" property="createUserId"/>
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
<result column="update_user_id" jdbcType="BIGINT" property="updateUserId"/>
|
|
@@ -18,7 +18,7 @@
|
|
|
<insert id="insertList">
|
|
|
INSERT INTO tour_project_group_purchase_detail
|
|
|
(id,
|
|
|
- group_purchase_id,
|
|
|
+ group_purchase_code,
|
|
|
create_user_id,
|
|
|
create_time,
|
|
|
update_user_id,
|
|
@@ -31,7 +31,7 @@
|
|
|
VALUES
|
|
|
<foreach collection="list" index="index" item="item" separator="," >
|
|
|
(#{item.id},
|
|
|
- #{item.groupPurchaseId},
|
|
|
+ #{item.groupPurchaseCode},
|
|
|
#{item.createUserId},
|
|
|
#{item.createTime},
|
|
|
#{item.updateUserId},
|
|
@@ -54,8 +54,8 @@
|
|
|
<!-- 这里仅包含调用接口输入的主表过滤条件 -->
|
|
|
<sql id="inputFilterRef">
|
|
|
<if test="tourProjectGroupPurchaseDetailFilter != null">
|
|
|
- <if test="tourProjectGroupPurchaseDetailFilter.groupPurchaseId != null">
|
|
|
- AND tour_project_group_purchase_detail.group_purchase_id = #{tourProjectGroupPurchaseDetailFilter.groupPurchaseId}
|
|
|
+ <if test="tourProjectGroupPurchaseDetailFilter.groupPurchaseCode != null">
|
|
|
+ AND tour_project_group_purchase_detail.group_purchase_code = #{tourProjectGroupPurchaseDetailFilter.groupPurchaseCode}
|
|
|
</if>
|
|
|
<if test="tourProjectGroupPurchaseDetailFilter.adultPriceStart != null">
|
|
|
AND tour_project_group_purchase_detail.adult_price >= #{tourProjectGroupPurchaseDetailFilter.adultPriceStart}
|