|
|
@@ -262,7 +262,7 @@
|
|
|
and wo.type = #{param.orderType}
|
|
|
</if>
|
|
|
left join tms_work_cycle wc on truck.truck_id = wc.truck_id and wc.status = 1
|
|
|
- WHERE truck.org_id = #{param.orgId} and wo.id is null
|
|
|
+ WHERE truck.org_id = #{param.orgId} and two.id is null
|
|
|
<if test="param.orderType == 1">
|
|
|
and ( wc.jing_weight = 0 or wc.jing_weight is null )
|
|
|
</if>
|