|
@ -102,6 +102,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
where shipping_device_id = #{shippingDeviceId} |
|
|
where shipping_device_id = #{shippingDeviceId} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="sumOutOrderQuantityByMakeNo" parameterType="String" resultType="int"> |
|
|
|
|
|
select sum(out_order_sum) as totalQuantity |
|
|
|
|
|
from warehouse_out_order |
|
|
|
|
|
where make_no = #{makeNo} and warehouse_out_status = '7' |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
<insert id="insertWarehouseOutOrder" parameterType="WarehouseOutOrder" useGeneratedKeys="true" keyProperty="outOrderId"> |
|
|
<insert id="insertWarehouseOutOrder" parameterType="WarehouseOutOrder" useGeneratedKeys="true" keyProperty="outOrderId"> |
|
|
insert into warehouse_out_order |
|
|
insert into warehouse_out_order |
|
|