|
|
|
@ -503,6 +503,9 @@
|
|
|
|
|
LEFT JOIN basic_corp bc ON io.fromCorp = bc.erpId
|
|
|
|
|
LEFT JOIN io_order_detail_code dc ON io.billNo = dc.orderIdFk
|
|
|
|
|
<where>
|
|
|
|
|
<if test="confirmStatus != null and confirmStatus != ''">
|
|
|
|
|
AND io.checkStatus = #{confirmStatus}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="id != null and id != ''">
|
|
|
|
|
AND io.id = #{id}
|
|
|
|
|
</if>
|
|
|
|
@ -630,7 +633,7 @@
|
|
|
|
|
order by ${orderBy} ${sort}
|
|
|
|
|
</when>
|
|
|
|
|
<otherwise>
|
|
|
|
|
order by updateTime desc
|
|
|
|
|
order by checkStatus asc,updateTime desc
|
|
|
|
|
</otherwise>
|
|
|
|
|
</choose>
|
|
|
|
|
</select>
|
|
|
|
|