|
|
|
@@ -23,13 +23,15 @@ |
|
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
|
<result column="pay_status" jdbcType="INTEGER" property="payStatus"/> |
|
|
|
<result column="pay_from" jdbcType="INTEGER" property="payFrom"/> |
|
|
|
<result column="refund_status" jdbcType="INTEGER" property="refundStatus"/> |
|
|
|
<result column="refund_remark" jdbcType="VARCHAR" property="refundRemark"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`card_id`,`owner_id`,`pay_type`,`merchant_id`,`order_id`,`pos_order_id`, |
|
|
|
`deduction_amount`,`payment`,`real_payment`,`subsidy`, `card_remain_amount`, |
|
|
|
`card_before_amount`,`card_remain_real_amount`,`card_before_real_amount`, |
|
|
|
`create_date`, `update_date`, `pay_status`, `pay_from` |
|
|
|
`create_date`, `update_date`, `pay_status`, `pay_from`, `refund_status`, `refund_remark` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -94,6 +96,9 @@ |
|
|
|
<if test=" null != payFrom "> |
|
|
|
and `pay_from` = #{payFrom} |
|
|
|
</if> |
|
|
|
<if test=" null != refundStatus "> |
|
|
|
and `refund_status` = #{refundStatus} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != startdate"> |
|
|
|
and `create_date` >= #{startdate} |
|
|
|
|