|
|
|
@@ -49,7 +49,7 @@ |
|
|
|
<if test=" null != shareFeeAmount "> |
|
|
|
and `share_fee_amount` = #{shareFeeAmount} |
|
|
|
</if> |
|
|
|
<if test=" null != remaingShareFeeAmount "> |
|
|
|
<if test=" null != remainingShareFeeAmount "> |
|
|
|
and `remaining_share_fee_amount` = #{remainingShareFeeAmount} |
|
|
|
</if> |
|
|
|
<if test=" null != createDate "> |
|
|
|
@@ -98,6 +98,7 @@ |
|
|
|
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" /> |
|
|
|
<result column="owner_id" jdbcType="BIGINT" property="ownerId" /> |
|
|
|
<result column="expired_time" jdbcType="TIMESTAMP" property="expiredTime" /> |
|
|
|
<result column="status" jdbcType="INTEGER" property="status"/> |
|
|
|
|
|
|
|
<result column="c_nick_name" jdbcType="VARCHAR" property="cNickName"/> |
|
|
|
<result column="o_nick_name" jdbcType="VARCHAR" property="oNickName"/> |
|
|
|
@@ -108,9 +109,9 @@ |
|
|
|
<sql id="allVoColumns"> |
|
|
|
ci.`id`,ci.`tenant_id`,ci.`coupon_id`,ci.`transaction_id`,ci.`amount`,ci.`sale_amount`,ci.`remaining_amount`,ci.`service_fee_amount`,ci.`share_fee_amount`,ci.`remaining_share_fee_amount`, |
|
|
|
ci.`create_date`,ci.`update_date`, |
|
|
|
c.`cover_img`, c.`title`, c.`sub_title`, c.`detail`, c.`unit`, c.`remark`, c.`sale_price`, c.`price`, c.`status` |
|
|
|
co.`c_user_id`, co.`owner_id`, co.`expired_time`, |
|
|
|
cu.`nick_name` as c_nick_name, ow.`nick_name` as o_nick_name, ow.`phone` as o_phone |
|
|
|
c.`cover_img`, c.`title`, c.`sub_title`, c.`detail`, c.`unit`, c.`remark`, c.`sale_price`, c.`price`, |
|
|
|
co.`c_user_id`, co.`owner_id`, co.`expired_time`, co.`coupon_order_status` as status, |
|
|
|
cu.`nick_name` as c_nick_name, ou.`nick_name` as o_nick_name, ou.`phone` as o_phone |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicVoWhereConditions"> |
|
|
|
@@ -142,7 +143,7 @@ |
|
|
|
<if test=" null != shareFeeAmount "> |
|
|
|
and ci.`share_fee_amount` = #{shareFeeAmount} |
|
|
|
</if> |
|
|
|
<if test=" null != remaingShareFeeAmount "> |
|
|
|
<if test=" null != remainingShareFeeAmount "> |
|
|
|
and ci.`remaining_share_fee_amount` = #{remainingShareFeeAmount} |
|
|
|
</if> |
|
|
|
<if test=" null != createDate "> |
|
|
|
@@ -152,13 +153,13 @@ |
|
|
|
and ci.`update_date` = #{updateDate} |
|
|
|
</if> |
|
|
|
<if test=" null != status "> |
|
|
|
and `status` = #{status} |
|
|
|
and status = #{status} |
|
|
|
</if> |
|
|
|
<if test=" null != oPhone "> |
|
|
|
and o_phone = #{oPhone} |
|
|
|
</if> |
|
|
|
<if test=" null != statusS "> |
|
|
|
and `status` in in |
|
|
|
and status in |
|
|
|
<foreach collection="statusS" index="index" item="sItem" open="(" separator="," close=")"> |
|
|
|
#{sItem} |
|
|
|
</foreach> |
|
|
|
|