|
|
|
@@ -22,20 +22,26 @@ |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/> |
|
|
|
<result column="html" jdbcType="VARCHAR" property="html"/> |
|
|
|
|
|
|
|
<result column="produce_type" jdbcType="INTEGER" property="produceType"/> |
|
|
|
<result column="produce_id" jdbcType="BIGINT" property="produceId"/> |
|
|
|
<result column="page_path" jdbcType="BIGINT" property="pagePath"/> |
|
|
|
<result column="page_scene" jdbcType="BIGINT" property="pageScene"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`sub_title`,`use_price`,`discount_price`,`detail`,`valid_start_date`,`valid_end_date`,`img_detail`,`type`,`coupon_ids`, |
|
|
|
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time`,`html` |
|
|
|
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time`,`html`, |
|
|
|
`produce_type`,`produce_id`,`page_path`,`page_scene` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="allCHeadColumns"> |
|
|
|
`id`,`tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`type`,`sort_num` |
|
|
|
`id`,`tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`type`,`sort_num`,`page_path` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="allAHeadColumns"> |
|
|
|
`id`,`tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`sub_title`,`use_price`,`discount_price`,`detail`,`valid_start_date`,`valid_end_date`,`img_detail`,`type`,`coupon_ids`, |
|
|
|
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time` |
|
|
|
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time`,`page_path` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -43,7 +49,6 @@ |
|
|
|
|
|
|
|
<if test=" null != id "> |
|
|
|
and `id` = #{id} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != tenantId "> |
|
|
|
|