|
|
@ -245,9 +245,7 @@ |
|
|
<if test="orderNo != null and orderNo != ''"> |
|
|
<if test="orderNo != null and orderNo != ''"> |
|
|
AND a.OrderNo LIKE #{orderNo} |
|
|
AND a.OrderNo LIKE #{orderNo} |
|
|
</if> |
|
|
</if> |
|
|
<!-- <if test="status !=null and status != ''">--> |
|
|
|
|
|
<!-- AND a.Status IN ${status}--> |
|
|
|
|
|
<!-- </if>--> |
|
|
|
|
|
|
|
|
and a.status in ('已下达','已发料','已入库','已开工','已排产') |
|
|
<if test="startDate1 != null "> |
|
|
<if test="startDate1 != null "> |
|
|
AND a.EnterDate >= #{startDate1} |
|
|
AND a.EnterDate >= #{startDate1} |
|
|
</if> |
|
|
</if> |
|
|
|