|
|
|
@@ -9,6 +9,7 @@ |
|
|
|
<result column="sharing_order_id" jdbcType="BIGINT" property="sharingOrderId" /> |
|
|
|
<result column="sharing_receiver_id" jdbcType="BIGINT" property="sharingReceiverId" /> |
|
|
|
<result column="pay_amount" jdbcType="INTEGER" property="payAmount" /> |
|
|
|
<result column="is_private" jdbcType="INTEGER" property="isPrivate" /> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
|
<result column="sharing_status" jdbcType="INTEGER" property="sharingStatus" /> |
|
|
|
@@ -18,7 +19,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`merchant_id`,`sharing_order_id`,`sharing_receiver_id`,`pay_amount`,`update_time`,`create_time`,`sharing_status`,`finish_time`,`failed_reason`,`description` |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`merchant_id`,`sharing_order_id`,`sharing_receiver_id`,`pay_amount`,`is_private`,`update_time`,`create_time`,`sharing_status`,`finish_time`,`failed_reason`,`description` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -54,8 +55,12 @@ |
|
|
|
<if test=" null != payAmount "> |
|
|
|
and `pay_amount` = #{payAmount} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
</if> |
|
|
|
<if test=" null != isPrivate "> |
|
|
|
and `is_private` = #{isPrivate} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != updateTime "> |
|
|
|
and `update_time` = #{updateTime} |
|
|
|
|
|
|
|
|