|
@@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="chargingType" column="charging_type"/>
|
|
|
<result property="orderFrom" column="order_from"/>
|
|
|
<result property="status" column="status"/>
|
|
|
+ <result property="periodStatus" column="period_status"/>
|
|
|
|
|
|
<result property="goodsName" column="goods_name"/>
|
|
|
<result property="goodsId" column="goods_id"/>
|
|
@@ -321,9 +322,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
<select id="selectListApp" parameterType="com.zhongzheng.modules.order.bo.OrderQueryBo" resultMap="OrderResultVo">
|
|
|
SELECT
|
|
|
- o.*
|
|
|
+ o.*,
|
|
|
+ ogr.period_status
|
|
|
FROM
|
|
|
- `order` o where 1=1
|
|
|
+ `order` o LEFT JOIN order_goods_refund ogr on o.order_sn = ogr.order_sn
|
|
|
+ where 1=1
|
|
|
<if test="userId != null">
|
|
|
AND o.user_id = #{userId}
|
|
|
</if>
|