|
|
@@ -19,6 +19,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="applyImgs" column="apply_imgs"/>
|
|
|
<result property="type" column="type"/>
|
|
|
<result property="orderGoodsId" column="order_goods_id"/>
|
|
|
+ <result property="periodStatus" column="period_status"/>
|
|
|
+ <result property="periodReason" column="period_reason"/>
|
|
|
+ <result property="periodReviewReason" column="period_review_reason"/>
|
|
|
+ <result property="periodUsername" column="period_username"/>
|
|
|
+ <result property="periodReviewUsername" column="period_review_username"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.order.vo.OrderGoodsRefundVo" id="OrderGoodsRefundVoResult">
|
|
|
@@ -37,6 +42,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="applyImgs" column="apply_imgs"/>
|
|
|
<result property="type" column="type"/>
|
|
|
<result property="orderGoodsId" column="order_goods_id"/>
|
|
|
+ <result property="periodStatus" column="period_status"/>
|
|
|
+ <result property="periodReason" column="period_reason"/>
|
|
|
+ <result property="periodReviewReason" column="period_review_reason"/>
|
|
|
+ <result property="periodUsername" column="period_username"/>
|
|
|
+ <result property="periodReviewUsername" column="period_review_username"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderGoodsRefundQueryBo" resultMap="OrderGoodsRefundVoResult">
|
|
|
@@ -51,6 +61,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null">
|
|
|
AND gr.user_id = #{userId}
|
|
|
</if>
|
|
|
+ <if test="type != null">
|
|
|
+ AND gr.type = #{type}
|
|
|
+ </if>
|
|
|
+ <if test="periodStatus != null">
|
|
|
+ AND gr.period_status = #{periodStatus}
|
|
|
+ </if>
|
|
|
ORDER BY gr.refund_id DESC
|
|
|
</select>
|
|
|
</mapper>
|