|
|
@@ -26,10 +26,11 @@ |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
<result column="business" jdbcType="INTEGER" property="business"/> |
|
|
<result column="business" jdbcType="INTEGER" property="business"/> |
|
|
|
|
|
<result column="support_transfer" jdbcType="INTEGER" property="supportTransfer"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
<sql id="allColumns"> |
|
|
`id`,`tenant_id`,`type`,`cover_img`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`send_type`,`valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`unit`,`remain_inventory`,`inventory`,`remark`,`status`,`create_date`,`update_date`,`business` |
|
|
|
|
|
|
|
|
`id`,`tenant_id`,`type`,`cover_img`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`send_type`,`valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`unit`,`remain_inventory`,`inventory`,`remark`,`status`,`create_date`,`update_date`,`business`,`support_transfer` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -131,6 +132,10 @@ |
|
|
and `business` = #{business} |
|
|
and `business` = #{business} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != supportTransfer "> |
|
|
|
|
|
and `support_transfer` = #{supportTransfer} |
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
<if test=" null != ids "> |
|
|
and id in |
|
|
and id in |
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
@@ -172,6 +177,7 @@ |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
<result column="business" jdbcType="INTEGER" property="business"/> |
|
|
<result column="business" jdbcType="INTEGER" property="business"/> |
|
|
|
|
|
<result column="support_transfer" jdbcType="INTEGER" property="supportTransfer"/> |
|
|
|
|
|
|
|
|
<collection column="{productId=id}" property="merchantVoList" |
|
|
<collection column="{productId=id}" property="merchantVoList" |
|
|
ofType="com.iformall.domain.vo.WxMerchantVo" |
|
|
ofType="com.iformall.domain.vo.WxMerchantVo" |
|
|
|