|
@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="userId" column="user_id"/>
|
|
<result property="userId" column="user_id"/>
|
|
<result property="orderFrom" column="order_from"/>
|
|
<result property="orderFrom" column="order_from"/>
|
|
<result property="orderGoodsId" column="order_goods_id"/>
|
|
<result property="orderGoodsId" column="order_goods_id"/>
|
|
|
|
+ <result property="goodsRefund" column="goods_refund"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderInputQueryBo" resultMap="OrderInputVoResult">
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderInputQueryBo" resultMap="OrderInputVoResult">
|
|
@@ -52,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
any_value ( cet.education_name ) education_name,
|
|
any_value ( cet.education_name ) education_name,
|
|
any_value ( cpt.project_name ) project_name,
|
|
any_value ( cpt.project_name ) project_name,
|
|
any_value ( cb.business_name ) business_name,
|
|
any_value ( cb.business_name ) business_name,
|
|
|
|
+ (select sum(og.goods_received) from order_goods og LEFT JOIN `order` o on o.order_sn = og.order_sn where o.input_order_sn = u.input_order_sn and og.refund_status = 2) goods_refund,
|
|
sum( og.goods_received ) goods_received,
|
|
sum( og.goods_received ) goods_received,
|
|
sum(u.order_price ) order_price,
|
|
sum(u.order_price ) order_price,
|
|
sum(u.pay_price) pay_price,
|
|
sum(u.pay_price) pay_price,
|