|
|
@@ -934,7 +934,7 @@
|
|
|
) x WHERE x.rn = 1
|
|
|
) ioa1 ON io.id = ioa1.order_no
|
|
|
<where>
|
|
|
- and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr !=3
|
|
|
+ and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr NOT IN (1,2,3,4,5)
|
|
|
<if test="insOrdersParam.jzgInfoId != null and insOrdersParam.jzgInfoId != ''">
|
|
|
and io.real_quote_user_id in (select bbb.mobile from sys_user bbb where bbb.id in ( select ss.user_id
|
|
|
from sys_user_jzg_info ss where 1 =1 and (ss.leader_id = #{insOrdersParam.jzgInfoId} or ss.id
|
|
|
@@ -1123,7 +1123,7 @@
|
|
|
) x WHERE x.rn = 1
|
|
|
) ioa1 ON io.id = ioa1.order_no
|
|
|
<where>
|
|
|
- and io.is_delete = 0 and sujis.type_attr !=3
|
|
|
+ and io.is_delete = 0 and sujis.type_attr NOT IN (1,2,3,4,5)
|
|
|
<if test="insOrdersParam.orderNo != null and insOrdersParam.orderNo != ''">
|
|
|
AND io.id = #{insOrdersParam.orderNo}
|
|
|
</if>
|
|
|
@@ -1331,7 +1331,7 @@
|
|
|
) x WHERE x.rn = 1
|
|
|
) ioa1 ON io.id = ioa1.order_no
|
|
|
<where>
|
|
|
- and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr !=3
|
|
|
+ and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr NOT IN (1,2,3,4,5)
|
|
|
<if test="insOrdersParam.jzgInfoId != null and insOrdersParam.jzgInfoId != ''">
|
|
|
and io.real_quote_user_id in (select bbb.mobile from sys_user bbb where bbb.id in ( select ss.user_id
|
|
|
from sys_user_jzg_info ss where 1 =1 and (ss.leader_id = #{insOrdersParam.jzgInfoId} or ss.id
|
|
|
@@ -1544,7 +1544,7 @@
|
|
|
) x WHERE x.rn = 1
|
|
|
) ioa1 ON io.id = ioa1.order_no
|
|
|
<where>
|
|
|
- and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr !=3
|
|
|
+ and io.is_delete = 0 and io.parent_id != '0' and sujis.type_attr NOT IN (1,2,3,4,5)
|
|
|
<if test="insOrdersParam.jzgInfoId != null and insOrdersParam.jzgInfoId != ''">
|
|
|
and io.real_quote_user_id in (select bbb.mobile from sys_user bbb where bbb.id in ( select ss.user_id
|
|
|
from sys_user_jzg_info ss where 1 =1 and (ss.leader_id = #{insOrdersParam.jzgInfoId} or ss.id
|