|
@@ -653,9 +653,6 @@
|
|
|
<if test="lOrderId != null and lOrderId != ''">
|
|
<if test="lOrderId != null and lOrderId != ''">
|
|
|
and kwo.l_order_id = #{lOrderId, jdbcType=BIGINT}
|
|
and kwo.l_order_id = #{lOrderId, jdbcType=BIGINT}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="lOrderIds != null and lOrderIds != ''">
|
|
|
|
|
- and kwo.l_order_id in ( #{lOrderIds, jdbcType=VARCHAR} )
|
|
|
|
|
- </if>
|
|
|
|
|
<if test="driverId != null and driverId != ''">
|
|
<if test="driverId != null and driverId != ''">
|
|
|
and kwo.driver_id = #{driverId, jdbcType=BIGINT}
|
|
and kwo.driver_id = #{driverId, jdbcType=BIGINT}
|
|
|
</if>
|
|
</if>
|
|
@@ -674,6 +671,14 @@
|
|
|
<if test="busStatus != null and busStatus == 4">
|
|
<if test="busStatus != null and busStatus == 4">
|
|
|
and kwo.status in (7, 8, 9, 10, 12, 13)
|
|
and kwo.status in (7, 8, 9, 10, 12, 13)
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <choose>
|
|
|
|
|
+ <when test="lOrderIds != null and lOrderIds != '' and lOrderIds.size() > 0">
|
|
|
|
|
+ and kwo.l_order_id in
|
|
|
|
|
+ <foreach collection="lOrderIds" item="lOrderId" open="(" close=")" separator=",">
|
|
|
|
|
+ #{lOrderId,jdbcType=BIGINT}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </when>
|
|
|
|
|
+ </choose>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectInvalidWaybillOrderCarListGroupByTruckNo" resultType="com.sckw.transport.model.dto.OrderCarDTO">
|
|
<select id="selectInvalidWaybillOrderCarListGroupByTruckNo" resultType="com.sckw.transport.model.dto.OrderCarDTO">
|