|
|
|
@ -5,10 +5,10 @@ |
|
|
|
select round(isnull(scheduling_size,0),3) from so_scheduled_list |
|
|
|
<where> |
|
|
|
<if test="site != null and site != ''"> |
|
|
|
site=#{site} |
|
|
|
and site=#{site} |
|
|
|
</if> |
|
|
|
<if test="orderNo != null and orderNo != ''"> |
|
|
|
order_no=#{orderNo} |
|
|
|
and order_no=#{orderNo} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
@ -16,10 +16,10 @@ |
|
|
|
select id,order_no,round(scheduling_size,3),site,part_no from so_scheduled_list |
|
|
|
<where> |
|
|
|
<if test="site != null and site != ''"> |
|
|
|
site=#{site} |
|
|
|
and site=#{site} |
|
|
|
</if> |
|
|
|
<if test="orderNo != null and orderNo != ''"> |
|
|
|
order_no=#{orderNo} |
|
|
|
and order_no=#{orderNo} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|