feat: 1:调用携程退款接口 2:新增携程订单查询页面 3:新增携程退款订单页面
This commit is contained in:
@@ -8,20 +8,17 @@
|
||||
<result column="refund_id" property="refundId" jdbcType="BIGINT"/>
|
||||
<result column="item_id" property="itemId" jdbcType="VARCHAR"/>
|
||||
<result column="plu" property="plu" jdbcType="VARCHAR"/>
|
||||
<result column="amount" property="amount" jdbcType="DECIMAL"/>
|
||||
<result column="amount_currency" property="amountCurrency" jdbcType="VARCHAR"/>
|
||||
<result column="refund_amount" property="refundAmount" jdbcType="DECIMAL"/>
|
||||
<result column="currency" property="currency" jdbcType="VARCHAR"/>
|
||||
<result column="create_time" property="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/>
|
||||
<result column="create_by" property="createBy" jdbcType="VARCHAR"/>
|
||||
<result column="update_by" property="updateBy" jdbcType="VARCHAR"/>
|
||||
<result column="remark" property="remark" jdbcType="VARCHAR"/>
|
||||
<result column="tenant_id" property="tenantId" jdbcType="VARCHAR"/>
|
||||
<result column="deleted" property="deleted" jdbcType="INTEGER"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 基础字段 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, refund_id, item_id, plu, amount, amount_currency,
|
||||
create_time, update_time, create_by, update_by, remark, tenant_id
|
||||
id, refund_id, item_id, plu, refund_amount, currency,
|
||||
create_time, update_time, deleted
|
||||
</sql>
|
||||
|
||||
<!-- 根据退款ID查询退款项列表 -->
|
||||
@@ -30,6 +27,17 @@
|
||||
<include refid="Base_Column_List"/>
|
||||
FROM t_ctrip_refund_item
|
||||
WHERE refund_id = #{refundId,jdbcType=BIGINT}
|
||||
AND (deleted = 0 OR deleted IS NULL)
|
||||
ORDER BY create_time ASC
|
||||
</select>
|
||||
|
||||
<!-- 根据订单项编号查询退款项 -->
|
||||
<select id="selectByItemId" parameterType="string" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List"/>
|
||||
FROM t_ctrip_refund_item
|
||||
WHERE item_id = #{itemId,jdbcType=VARCHAR}
|
||||
AND (deleted = 0 OR deleted IS NULL)
|
||||
ORDER BY create_time ASC
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user