手持机功能修改
This commit is contained in:
@@ -219,9 +219,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="stockStatus != null and stockStatus != ''"> and bs.stock_status = #{stockStatus}</if>
|
||||
</select>
|
||||
<select id="selectPlatByWeight" resultType="java.lang.Double">
|
||||
select sum(CAST(ISNULL(bs.net_weight, 0) AS FLOAT))
|
||||
select sum(CAST(ISNULL(bcs.the_type, 0) AS FLOAT))
|
||||
from bas_cargo_space bcs
|
||||
LEFT join bas_stock bs on bcs.cargo_space_id = bs.cargo_space_id
|
||||
where bcs.warehouse_id = #{warehouseId}
|
||||
and bcs.roadway_id = #{roadwayId}
|
||||
and bcs.the_platoon = #{thePlatoon}
|
||||
|
||||
@@ -96,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
bs.spare4, --来源
|
||||
bs.spare1, --用途
|
||||
bs.distribution, --用途
|
||||
bs.net_weight --重量
|
||||
bcs.the_type as net_weight --重量
|
||||
from bas_stock bs
|
||||
left join bas_product bp on bs.product_id = bp.product_id
|
||||
left join bas_warehouse bw on bs.warehouse_id = bw.warehouse_id
|
||||
|
||||
Reference in New Issue
Block a user