|
@@ -10,7 +10,6 @@
|
|
|
<result property="isRead" column="isRead"/>
|
|
<result property="isRead" column="isRead"/>
|
|
|
<result property="sourceName" column="source_name"/>
|
|
<result property="sourceName" column="source_name"/>
|
|
|
<result property="externalOrderNo" column="external_order_no"/>
|
|
<result property="externalOrderNo" column="external_order_no"/>
|
|
|
- <result property="externalOriginOrderNo" column="external_origin_order_no"/>
|
|
|
|
|
<result property="routePlanId" column="route_plan_id"/>
|
|
<result property="routePlanId" column="route_plan_id"/>
|
|
|
<result property="routePlanName" column="route_plan_name"/>
|
|
<result property="routePlanName" column="route_plan_name"/>
|
|
|
<result property="visitorType" column="visitor_type"/>
|
|
<result property="visitorType" column="visitor_type"/>
|
|
@@ -61,7 +60,6 @@
|
|
|
<result property="isRead" column="isRead"/>
|
|
<result property="isRead" column="isRead"/>
|
|
|
<result property="sourceName" column="source_name"/>
|
|
<result property="sourceName" column="source_name"/>
|
|
|
<result property="externalOrderNo" column="external_order_no"/>
|
|
<result property="externalOrderNo" column="external_order_no"/>
|
|
|
- <result property="externalOriginOrderNo" column="external_origin_order_no"/>
|
|
|
|
|
<result property="routePlanId" column="route_plan_id"/>
|
|
<result property="routePlanId" column="route_plan_id"/>
|
|
|
<result property="routePlanName" column="route_plan_name"/>
|
|
<result property="routePlanName" column="route_plan_name"/>
|
|
|
<result property="visitorType" column="visitor_type"/>
|
|
<result property="visitorType" column="visitor_type"/>
|
|
@@ -318,10 +316,6 @@
|
|
|
</otherwise>
|
|
</otherwise>
|
|
|
</choose>
|
|
</choose>
|
|
|
|
|
|
|
|
- <if test="vo.externalOriginOrderNo != null and vo.externalOriginOrderNo != ''">
|
|
|
|
|
- AND td.external_origin_order_no = #{vo.externalOriginOrderNo}
|
|
|
|
|
- </if>
|
|
|
|
|
-
|
|
|
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
|
AND td.member_id = #{vo.memberId}
|
|
AND td.member_id = #{vo.memberId}
|
|
|
</if>
|
|
</if>
|
|
@@ -529,10 +523,6 @@
|
|
|
</otherwise>
|
|
</otherwise>
|
|
|
</choose>
|
|
</choose>
|
|
|
|
|
|
|
|
- <if test="vo.externalOriginOrderNo != null and vo.externalOriginOrderNo != ''">
|
|
|
|
|
- AND td.external_origin_order_no = #{vo.externalOriginOrderNo}
|
|
|
|
|
- </if>
|
|
|
|
|
-
|
|
|
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
|
AND td.member_id = #{vo.memberId}
|
|
AND td.member_id = #{vo.memberId}
|
|
|
</if>
|
|
</if>
|
|
@@ -710,10 +700,6 @@
|
|
|
</otherwise>
|
|
</otherwise>
|
|
|
</choose>
|
|
</choose>
|
|
|
|
|
|
|
|
- <if test="vo.externalOriginOrderNo != null and vo.externalOriginOrderNo != ''">
|
|
|
|
|
- AND td.external_origin_order_no = #{vo.externalOriginOrderNo}
|
|
|
|
|
- </if>
|
|
|
|
|
-
|
|
|
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
<if test="vo.memberId != null and vo.memberId != ''">
|
|
|
AND td.member_id = #{vo.memberId}
|
|
AND td.member_id = #{vo.memberId}
|
|
|
</if>
|
|
</if>
|
|
@@ -1033,7 +1019,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getPdaOrderInfo" resultMap="MiddleWareDtoResultMap2">
|
|
<select id="getPdaOrderInfo" resultMap="MiddleWareDtoResultMap2">
|
|
|
- SELECT td.id,td.is_read isRead,td.pay_amount,td.order_no,td.external_order_no,td.external_origin_order_no,td.route_plan_id,rt.name route_plan_name,td.visitor_type,td.travel_date,td.sell_method,td.source_id,td.source_name,td.store_id,td.seller_id,td.member_id,td.amount,td.order_status,td.remark,td.share_name,td.create_time,td.is_bind,td.area_manager_id,td.is_marketing,td.is_marketing_use,
|
|
|
|
|
|
|
+ SELECT td.id,td.is_read isRead,td.pay_amount,td.order_no,td.external_order_no,td.route_plan_id,rt.name route_plan_name,td.visitor_type,td.travel_date,td.sell_method,td.source_id,td.source_name,td.store_id,td.seller_id,td.member_id,td.amount,td.order_status,td.remark,td.share_name,td.create_time,td.is_bind,td.area_manager_id,td.is_marketing,td.is_marketing_use,
|
|
|
tou.contact_name contactName,tou.credential_no credentialNo,tou.mobile,tou.county,tou.province,tou.city,td.is_change_order,td.agency_group_id,
|
|
tou.contact_name contactName,tou.credential_no credentialNo,tou.mobile,tou.county,tou.province,tou.city,td.is_change_order,td.agency_group_id,
|
|
|
top.id payId,top.pay_amount payAmount,top.pay_status,top.payment_type,top.payment_date,top.payment_no,
|
|
top.id payId,top.pay_amount payAmount,top.pay_status,top.payment_type,top.payment_date,top.payment_no,
|
|
|
td.store_name,td.dispatch_status,td.is_invoice, td.confirm_type, td.travel_status, tr.refund_amount,td.finish_status,
|
|
td.store_name,td.dispatch_status,td.is_invoice, td.confirm_type, td.travel_status, tr.refund_amount,td.finish_status,
|