|
|
@@ -214,10 +214,12 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryPageOrder" resultType="com.ydtech.modules.order.entity.InsOrders">
|
|
|
- select io.*,ifa.auditstatus,ifa.audittime from
|
|
|
+ select
|
|
|
+ io.*
|
|
|
+ from
|
|
|
ins_orders io
|
|
|
- left JOIN ins_area_company iac on iac.orderno = io.orderno
|
|
|
- left JOIN ins_fee_audit ifa on ifa.orderno = iac.orderno
|
|
|
+ left JOIN
|
|
|
+ ins_area_company iac on iac.orderno = io.orderno
|
|
|
<where>
|
|
|
<if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
|
|
|
and io.orderno = #{orderNo}
|
|
|
@@ -243,9 +245,6 @@
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and io.company_id = #{orderQueryVo.companyId}
|
|
|
</if>
|
|
|
- <if test="orderQueryVo.auditStatus != null and orderQueryVo.auditStatus != ''">
|
|
|
- and ifa.auditstatus = #{orderQueryVo.auditStatus}
|
|
|
- </if>
|
|
|
<if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and isCdy">
|
|
|
and io.operatorid = #{orderQueryVo.userId}
|
|
|
</if>
|