|
@@ -8,9 +8,9 @@
|
|
|
<!-- 保存线上退费信息 add by wuxw 2018-07-03 -->
|
|
<!-- 保存线上退费信息 add by wuxw 2018-07-03 -->
|
|
|
<insert id="saveOnlinePayRefundInfo" parameterType="Map">
|
|
<insert id="saveOnlinePayRefundInfo" parameterType="Map">
|
|
|
insert into online_pay_refund(
|
|
insert into online_pay_refund(
|
|
|
- refund_fee,busi_id,pay_id,state,message,refund_id
|
|
|
|
|
|
|
+ refund_fee,busi_id,pay_id,state,message,refund_id,community_id
|
|
|
) values (
|
|
) values (
|
|
|
- #{refundFee},#{busiId},#{payId},#{state},#{message},#{refundId}
|
|
|
|
|
|
|
+ #{refundFee},#{busiId},#{payId},#{state},#{message},#{refundId},#{communityId}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -18,7 +18,7 @@
|
|
|
<!-- 查询线上退费信息 add by wuxw 2018-07-03 -->
|
|
<!-- 查询线上退费信息 add by wuxw 2018-07-03 -->
|
|
|
<select id="getOnlinePayRefundInfo" parameterType="Map" resultType="Map">
|
|
<select id="getOnlinePayRefundInfo" parameterType="Map" resultType="Map">
|
|
|
select t.refund_fee,t.refund_fee refundFee,t.busi_id,t.busi_id busiId,t.status_cd,t.status_cd
|
|
select t.refund_fee,t.refund_fee refundFee,t.busi_id,t.busi_id busiId,t.status_cd,t.status_cd
|
|
|
- statusCd,t.pay_id,t.pay_id payId,t.state,t.message,t.refund_id,t.refund_id refundId
|
|
|
|
|
|
|
+ statusCd,t.pay_id,t.pay_id payId,t.state,t.message,t.refund_id,t.refund_id refundId,t.community_id communityId
|
|
|
from online_pay_refund t
|
|
from online_pay_refund t
|
|
|
where 1 =1
|
|
where 1 =1
|
|
|
<if test="refundFee !=null and refundFee != ''">
|
|
<if test="refundFee !=null and refundFee != ''">
|
|
@@ -42,6 +42,9 @@
|
|
|
<if test="refundId !=null and refundId != ''">
|
|
<if test="refundId !=null and refundId != ''">
|
|
|
and t.refund_id= #{refundId}
|
|
and t.refund_id= #{refundId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="communityId !=null and communityId != ''">
|
|
|
|
|
+ and t.community_id= #{communityId}
|
|
|
|
|
+ </if>
|
|
|
order by t.create_time desc
|
|
order by t.create_time desc
|
|
|
<if test="page != -1 and page != null ">
|
|
<if test="page != -1 and page != null ">
|
|
|
limit #{page}, #{row}
|
|
limit #{page}, #{row}
|
|
@@ -75,6 +78,9 @@
|
|
|
<if test="refundId !=null and refundId != ''">
|
|
<if test="refundId !=null and refundId != ''">
|
|
|
and t.refund_id= #{refundId}
|
|
and t.refund_id= #{refundId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="communityId !=null and communityId != ''">
|
|
|
|
|
+ and t.community_id= #{communityId}
|
|
|
|
|
+ </if>
|
|
|
|
|
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
@@ -104,6 +110,9 @@
|
|
|
<if test="refundId !=null and refundId != ''">
|
|
<if test="refundId !=null and refundId != ''">
|
|
|
and t.refund_id= #{refundId}
|
|
and t.refund_id= #{refundId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="communityId !=null and communityId != ''">
|
|
|
|
|
+ and t.community_id= #{communityId}
|
|
|
|
|
+ </if>
|
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
</select>
|