库存修改联动 单据数量

This commit is contained in:
liuhanqing
2026-01-23 17:24:11 +08:00
parent 695a065dc0
commit 7393f62e0b
4 changed files with 33 additions and 5 deletions

View File

@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and locked = 'N'
and warehouse_id = #{warehouseId}
and roadway_id = #{roadwayId}
<if test="cargoHight !=null and cargoHight != ''">and cargo_hight = #{cargoHight}</if>"
<if test="cargoHight !=null and cargoHight != ''">and cargo_hight = #{cargoHight}</if>
<if test="thePlatoon != null">and the_platoon = #{thePlatoon}</if>
<if test="rule1 != null and theFloor != null">and the_floor &lt; #{theFloor}</if>
<if test="rule2 != null and theFloor != null">and the_floor &gt;= #{theFloor}</if>

View File

@@ -98,7 +98,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bs.spare1, --用途
bs.distribution, --用途
bs.model, --用途
bcs.the_type as net_weight --重量
bcs.the_type as net_weight, --重量
bs.stockin_detail_id --入库子单
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